/* The film and the panda use the same transparent artboard, including at narrow sizes. */
@layer lx {
  #panel-home .home-hero-robot-parallax { position:relative; isolation:isolate; }
  #panel-home .home-film-layer,#panel-home .home-film-sheen,#panel-home .home-film-stars { position:absolute; inset:0; display:block; pointer-events:none; }
  #panel-home .home-film-layer { background-position:right center; background-repeat:no-repeat; background-size:contain; }
  #panel-home .home-film-back { z-index:0; background-image:url('/web/shared/releases/20261119-web-video-cloud-r2-feature-sync/assets/home-hero/film-back.webp'); }
  #panel-home .home-film-front { z-index:1; background-image:url('/web/shared/releases/20261119-web-video-cloud-r2-feature-sync/assets/home-hero/film-front.webp'); }
  #panel-home .home-film-sheen { z-index:2; }
  @supports ((mask-size:contain) or (-webkit-mask-size:contain)) {
    #panel-home .home-film-sheen { background:linear-gradient(105deg,transparent 35%,#ffe9ad70 48%,#fff0ba 50%,transparent 60%) 100% center / 260% 100% no-repeat; -webkit-mask:url('/web/shared/releases/20261119-web-video-cloud-r2-feature-sync/assets/home-hero/film-front.webp') right center / contain no-repeat; mask:url('/web/shared/releases/20261119-web-video-cloud-r2-feature-sync/assets/home-hero/film-front.webp') right center / contain no-repeat; opacity:.52; animation:homeFilmSheen 9s ease-in-out infinite paused; }
  }
  #panel-home .home-hero-robot-parallax>.home-hero-robot { position:relative; z-index:3; }
  #panel-home .home-film-stars {z-index:4;}
  #panel-home .home-film-stars i {position:absolute;width:clamp(7px,1vw,15px);aspect-ratio:1;left:16%;top:48%;opacity:.82;filter:drop-shadow(0 0 4px #d99537);animation:homeFilmStar 4.6s ease-in-out infinite alternate paused;}
  #panel-home .home-film-stars i::before {content:'';display:block;width:100%;height:100%;background:#ffe5a2;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 57%,50% 100%,41% 60%,0 50%,39% 41%);}
  #panel-home .home-film-stars i:nth-child(2) {left:70%;top:13%;width:9px;animation-delay:-1.4s;}
  #panel-home .home-film-stars i:nth-child(3) {left:87%;top:36%;width:12px;animation-delay:-3s;}
  #panel-home .home-film-stars i:nth-child(4) {left:74%;top:83%;width:8px;animation-delay:-2s;}
  #panel-home .home-film-stars i:nth-child(5) {left:29%;top:22%;width:6px;animation-delay:-.8s;}
  #panel-home .home-hero-v6[data-motion-state=playing] :is(.home-film-stars i,.home-film-sheen) {animation-play-state:running;}
  #panel-home .home-hero-v6 .home-hero-stage { min-height:440px!important; padding:35px 48px 108px!important; }
  #panel-home .home-hero-v6 .home-hero-eyebrow {margin-bottom:17px!important;}
  #panel-home .home-hero-v6 .home-hero-actions {margin-top:23px!important;}
  #panel-home .home-hero-v6 .lx-hero-quick {margin-top:18px!important;}
  #panel-home .home-hero-v6 .home-hero-art {bottom:74px!important;}
  #panel-home .home-hero-v6 .home-hero-features { height:74px!important; }
  #panel-home #desktopToolDirectory { margin-top:22px!important; }
  #panel-home #desktopToolDirectory .directory-kicker {display:none!important;}
  #panel-home #desktopToolDirectory .directory-cover-spotlight {margin-top:16px!important;}
  @container home-hero (min-width:1200px) {
    #panel-home .home-hero-v6 .home-hero-stage {min-height:476px!important;padding:44px 54px 108px!important;}
  }
  @container home-hero (max-width:980px) {
    #panel-home .home-hero-v6 .home-hero-stage {padding:30px 32px 100px!important;min-height:408px!important;}
  }
  @container home-hero (max-width:760px) {
    #panel-home .home-hero-v6 .home-hero-stage {padding:23px 24px 0!important;min-height:0!important;}
    #panel-home .home-hero-v6 .home-hero-art {inset:auto!important;height:205px!important;flex:0 0 205px!important;min-height:0!important;}
    #panel-home .home-hero-v6 .home-hero-features {height:auto!important;margin:0 -24px!important;}
    #panel-home .home-film-stars i:nth-child(n+4) {display:none;}
  }
  @container home-hero (min-width:600px) and (max-width:760px) {
    #panel-home .home-hero-v6 .home-hero-stage {display:grid!important;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)!important;align-items:center;column-gap:4px; padding:24px 20px 0!important;}
    #panel-home .home-hero-v6 .home-hero-copy {grid-area:1/1;min-width:0;}
    #panel-home .home-hero-v6 .home-hero-title {font-size:34px!important;}
    #panel-home .home-hero-v6 .home-hero-description {font-size:13px!important;line-height:1.65!important;margin-top:12px!important;}
    #panel-home .home-hero-v6 .home-hero-art {grid-area:1/2;align-self:center;height:235px!important;width:calc(100% + 20px)!important;margin:0 -10px!important;}
    #panel-home .home-hero-v6 .home-hero-features {grid-column:1/-1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:20px -20px 0!important;padding:12px 3px!important;width:auto!important;}
    #panel-home .home-hero-v6 .home-hero-features>li {min-width:0;padding:0 7px!important;gap:5px!important;}
    #panel-home .home-hero-v6 .home-hero-feature-icon {width:27px!important;height:29px!important;flex:0 0 27px!important;}
    #panel-home .home-hero-v6 .home-hero-features b {font-size:12px!important;}
    #panel-home .home-hero-v6 .home-hero-features small {font-size:10px!important;}
    #panel-home .home-hero-v6 .lx-hero-quick {gap:4px!important;margin-top:12px!important;}
    #panel-home .home-hero-v6 .lx-hero-quick .home-hero-tile.hv-chip {height:27px!important;font-size:11px!important;padding:0 8px!important;gap:4px!important;}
  }
  @media (min-width:721px) and (max-width:1100px) {
    body:has(:is(#panel-oral-guide,#panel-home).active) header.topbar.has-studio-toolbar {padding:0 14px!important;row-gap:0!important;align-content:center!important;}
  }
  @media (prefers-reduced-motion:reduce) {
    #panel-home :is(.home-film-sheen,.home-film-stars i) {animation:none!important;}
  }
}
@keyframes homeFilmSheen {0%,18% {background-position:100% center;} 57%,100% {background-position:0% center;}}
@keyframes homeFilmStar {from{opacity:.38;transform:scale(.72);}to{opacity:.9;transform:scale(1.04);}}
@layer app-dialogs {
  @container home-hero (min-width:600px) and (max-width:760px) {
    #panel-home .home-hero-v6 .home-hero-actions {gap:7px!important;}
    #panel-home .home-hero-v6 .home-hero-actions .home-hero-primary,#panel-home .home-hero-v6 .home-tutorial-button {min-width:118px!important;width:auto!important;min-height:44px!important;padding:6px 12px!important;}
    #panel-home .home-hero-v6 .home-tutorial-button-copy strong {font-size:13px!important;}
  }
}

/* Carry the hero's light into the directory while keeping the text on a dark field. */
@layer lx {
  #panel-home #desktopToolDirectory { position:relative; isolation:isolate; margin-top:19px!important; }
  #panel-home #desktopToolDirectory::before { content:'';position:absolute;z-index:-1;pointer-events:none;inset:-24px -14px auto;height:clamp(190px,21vw,265px);background:radial-gradient(65% 70% at 76% 38%,#ad7e3928,transparent 78%),url('/web/shared/releases/20261119-web-video-cloud-r2-feature-sync/assets/home-hero/workspace-light.webp') 50% 20% / 100% 100% no-repeat; mask-image:linear-gradient(180deg,transparent,#000 13%,#000 75%,transparent); }
  #panel-home #desktopToolDirectory .hv-sec-head { padding:16px 4px 11px!important; margin:0 0 9px!important; }
  #panel-home #desktopToolDirectory .hv-sec-head::after {opacity:.55;}
  #panel-home .home-hero-v6 .home-hero-features { border:1px solid #ae884446!important; border-radius:16px!important; background:radial-gradient(ellipse at 92% 105%,#b08b423b,transparent 35%),linear-gradient(103deg,#443523a6,transparent 18%,#27231c66 54%,#3b3122a8),#181718!important; box-shadow:inset 0 1px 0 #ead6b522,inset 0 -1px 0 #c7a46817!important; }
  #panel-home .home-hero-v6 .home-hero-features .home-hero-feature-icon { border-color:#b498613b!important;color:#e6cb90!important; background:linear-gradient(150deg,#453a29,#201e1b)!important; }
  #panel-home #desktopToolDirectory .directory-category { --card-glow:82% 0%; background:radial-gradient(85% 75% at var(--card-glow),#a37e3f1f,transparent 80%),linear-gradient(155deg,#252321e8,#171719 75%)!important;border-color:#cbb47e24!important; }
  #panel-home #desktopToolDirectory .directory-category:nth-child(2n) {--card-glow:23% 0%;}
  #panel-home #desktopToolDirectory .directory-category:hover,#panel-home #desktopToolDirectory .directory-category:focus-visible {border-color:#b69a645e!important;}
  #panel-home #desktopToolDirectory .directory-category-top {position:relative;}
  #panel-home #desktopToolDirectory .directory-category-top>small {display:none!important;}
  #panel-home #desktopToolDirectory .directory-category-top>svg {background:linear-gradient(140deg,#493e2c,#28251f)!important;color:#e8ce92!important;border-color:#c1a36b3b!important;}
  #panel-home #desktopToolDirectory .directory-category>div {border-color:#c9b6831f!important;}
  #panel-home #desktopToolDirectory .directory-cover-spotlight {background:radial-gradient(55% 100% at 95% 25%,#9e7d3d22,transparent 72%),#1b1a1a!important;}
  #panel-home .home-launcher { position:relative; overflow:hidden; background:radial-gradient(58% 95% at 100% 0,#9b733222,transparent 73%),linear-gradient(135deg,#211f1d,#171718 53%)!important; border-color:#b9a5702e!important; }
  #panel-home .home-launcher-head {margin-bottom:13px!important;}
  #panel-home .home-launcher .hv-inputbar.link-analyzer {display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:54px!important;height:auto!important;padding:5px 6px 5px 13px!important;background:#101012!important;border:1px solid #86734d70!important;border-radius:13px!important;box-shadow:inset 0 1px 3px #0005!important;}
  #panel-home .home-launcher .hv-inputbar.link-analyzer:focus-within {border-color:#c6aa6d!important;box-shadow:0 0 0 2px #c6a15d24!important;}
  #panel-home .home-launcher .hv-in-ico {display:grid!important;place-items:center;width:28px!important;height:28px!important;color:#dac082!important;}
  #panel-home .home-launcher .hv-in-ico svg {width:19px!important;height:19px!important;}
  #panel-home .home-launcher .hv-inputbar #linkAnalyzerInput,#panel-home .home-launcher .hv-inputbar #linkAnalyzerInput:focus-visible {border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:0!important;margin:0!important;color:#efe8d8!important;font-size:14px!important;line-height:1.45!important;}
  #panel-home .home-launcher #linkAnalyzerInput::placeholder {color:#aba496!important;opacity:1!important;}
  #panel-home .home-launcher .hv-inputbar #linkAnalyzerBtn {height:40px!important;min-height:40px!important;margin:0!important;padding:0 16px!important;border-radius:9px!important;line-height:1.3!important;}
  #panel-home .home-launcher #linkAnalyzerBtn:focus-visible {outline:2px solid #fff0be!important;outline-offset:2px!important;}
  #panel-home .home-launcher .hv-chips {margin-top:12px!important;gap:7px!important;flex-wrap:wrap!important;}
  @media(max-width:850px) {
    #panel-home #desktopToolDirectory::before {inset-inline:0;opacity:.82;}
    #panel-home .home-launcher .hv-inputbar.link-analyzer {grid-template-columns:20px minmax(0,1fr) auto!important;gap:6px!important;padding-left:8px!important;}
    #panel-home .home-launcher #linkAnalyzerBtn {padding-inline:9px!important;}
  }
  @media(forced-colors:active) {#panel-home .home-launcher .hv-inputbar.link-analyzer:focus-within {outline:2px solid Highlight!important;}}
}

@layer lx {
  #panel-home #desktopToolDirectory::before { mask-image:linear-gradient(180deg,transparent,#000 13%,#000 74%,transparent),linear-gradient(90deg,transparent,#000 5%,#000 90%,transparent);mask-composite:intersect; }
  #panel-home #desktopToolDirectory .directory-cover-spotlight::before {display:none!important;}
}
