/* StreamCloud premium layer. Loaded after the inline <style> blocks in index.html. */
:root{--sc-bg:#09090b;--sc-s1:#121216;--sc-s2:#1b1b21;--sc-line:rgba(255,255,255,.08);--sc-line2:rgba(255,255,255,.18);--sc-red:#ff3b45;--sc-text:#f5f5f7;--sc-dim:#a1a1aa;--sc-r:16px;--sc-ease:cubic-bezier(.22,1,.36,1)}
body{background:radial-gradient(900px 520px at 85% -6%,rgba(229,9,20,.16),transparent 60%),radial-gradient(700px 420px at -6% 32%,rgba(255,59,69,.06),transparent 60%),var(--sc-bg)}

/* Navigation, tabs, chips */
nav.solid{background:rgba(9,9,11,.8);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--sc-line);box-shadow:none}
.mode-switch{background:var(--sc-s1);border:1px solid var(--sc-line2);border-radius:999px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.mode{border-radius:999px;color:var(--sc-dim)}
.mode:hover{color:#fff}
.mode.active{background:#fff;color:#09090b;box-shadow:none}
.filter-chip,.sc-chip,.sc-seg button,.sc-reset{border:1px solid var(--sc-line2);background:var(--sc-s1);color:#d4d4d8;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:700;transition:background .25s,color .25s,border-color .25s,transform .15s}
.filter-chip:hover,.sc-chip:hover,.sc-seg button:hover,.sc-reset:hover{border-color:#fff;color:#fff}
.filter-chip.active,.sc-chip.on,.sc-seg button[aria-pressed=true]{background:#fff;color:#09090b;border-color:#fff}
.filter-chip:active,.sc-chip:active,.sc-seg button:active,.sc-reset:active{transform:scale(.96)}
.sc-seg{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--sc-line2);border-radius:999px;background:var(--sc-s1)}
.sc-seg button{border:0;padding:6px 12px}
.sc-reset[hidden]{display:none}
.catalog-selects select{background:var(--sc-s1);border-color:var(--sc-line2);border-radius:999px;padding:9px 14px}

/* Section heads and grid */
.row-head{margin-bottom:6px}
.row h2{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.01em}
.track{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:18px!important;padding:12px 4% 48px!important}
@media(max-width:640px){.track{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:12px!important}}

/* Cards: shared surface */
main .card{flex:none;aspect-ratio:auto!important;display:flex!important;flex-direction:column;align-items:stretch!important;overflow:hidden!important;border-radius:var(--sc-r);background:linear-gradient(180deg,var(--sc-s2),var(--sc-s1))!important;border:1px solid var(--sc-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 28px rgba(0,0,0,.4);transition:transform .35s var(--sc-ease),border-color .3s,box-shadow .35s var(--sc-ease)}
main .card.live:hover,main .card.live:focus-within,main .card:hover,main .card:focus-visible{transform:translateY(-4px)!important;border-color:var(--sc-line2);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 48px rgba(0,0,0,.6),0 0 0 1px rgba(255,59,69,.25)}

/* Website cards */
.card.logo-card>img,.card.logo-card>.initials{position:static!important;display:grid;place-items:center;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:16/10;object-fit:contain!important;padding:24px!important;margin:0!important;border-radius:0!important;box-shadow:none!important;background:radial-gradient(circle at 50% 38%,#26262e,#0b0b0e)!important}
.card.logo-card .cap{position:static!important;display:block!important;background:none!important;padding:14px 16px 2px;font-size:15px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.card.logo-card .more,.card.live:hover .more,.card.live:focus-within .more{position:static!important;display:flex!important;flex-direction:column;gap:6px;opacity:1!important;pointer-events:auto!important;transform:none!important;background:none!important;box-shadow:none!important;padding:0 16px 16px!important}
.card.logo-card .more b{display:none}
.card.logo-card .more p{color:var(--sc-dim);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card.logo-card .more .lang{color:#8b8b95;font-size:11px;-webkit-line-clamp:1}
.card.logo-card .more .actions{display:flex!important;order:3;gap:8px;margin:10px 0 0}
.round{width:36px;height:36px;background:var(--sc-s2);border-color:var(--sc-line2);transition:background .2s,border-color .2s,transform .15s}
.round:hover{border-color:#fff}.round:active{transform:scale(.92)}
.round.go{width:auto;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;gap:7px;background:#fff;color:#09090b}
.round.go::after{content:"Visit";font-size:12px;font-weight:800}
.fav[aria-pressed=true],.fav[data-on="1"]{background:var(--sc-red);border-color:var(--sc-red);color:#fff}
.card .badge,.card .ad{top:10px;border-radius:999px;padding:4px 9px;backdrop-filter:blur(6px)}
.card .badge{left:10px}.card .ad{right:10px}
.status-flag{top:38px!important;left:10px!important;border-radius:999px!important}

/* App cards */
main .app-card{padding:18px!important;gap:12px}
.app-card .app-icon,.app-card .movie-logo{width:56px;height:56px;flex:none;border-radius:14px;background:#0b0b0e;display:grid;place-items:center;overflow:hidden;border:1px solid var(--sc-line)}
.app-card .app-icon img{width:100%;height:100%;object-fit:contain;padding:6px}
.app-card h3{font-size:17px;margin:0;display:flex;justify-content:space-between;align-items:center;gap:8px}
.app-card p{color:var(--sc-dim);font-size:13px;line-height:1.55;margin:0}
.app-card .card-footer{margin-top:auto}
.movie-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.open-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:800;transition:transform .15s,background .2s,border-color .2s}
.open-link:active{transform:scale(.96)}
.download-link{background:#fff;color:#09090b}
.secondary-link{background:transparent;color:var(--sc-text);border:1px solid var(--sc-line2)}
.secondary-link:hover{border-color:#fff}

/* List view */
.list-view .track{grid-template-columns:1fr!important;gap:10px!important}
.list-view main .card.logo-card{flex-direction:row;align-items:center!important}
.list-view .card.logo-card>img,.list-view .card.logo-card>.initials{width:112px!important;flex:none;aspect-ratio:1;padding:14px!important}
.list-view .card.logo-card .cap{flex:0 0 190px}
.list-view .card.logo-card .more{flex:1;flex-direction:row;align-items:center}
.list-view .card.logo-card .more p{flex:1}
.list-view .card.logo-card .more .actions{margin:0}
@media(max-width:640px){.list-view main .card.logo-card{flex-wrap:wrap}.list-view .card.logo-card .cap{flex:1}.list-view .card.logo-card .more{flex:1 0 100%}}
.sc-hide{display:none!important}

/* Recently visited */
.sc-recent{margin:0 4% 22px;padding:14px 16px;border:1px solid var(--sc-line);border-radius:var(--sc-r);background:var(--sc-s1)}
.sc-recent[hidden]{display:none}
.sc-recent-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.sc-recent-head h2{margin:0;font-size:15px;font-weight:700}
.sc-recent-head button{background:none;border:0;color:var(--sc-dim);font-size:12px;text-decoration:underline;cursor:pointer}
.sc-recent ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin}
.sc-recent a{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border:1px solid var(--sc-line);border-radius:999px;background:var(--sc-s2);white-space:nowrap;transition:border-color .2s,transform .2s}
.sc-recent a:hover{border-color:#fff;transform:translateY(-1px)}
.sc-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--sc-red);font-size:11px;font-weight:800}
.sc-recent small{color:var(--sc-dim);font-size:11px}

/* Dialogs and dropdown: animate open AND close */
.detail-modal,.wl-modal{display:flex!important;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s ease,visibility 0s linear .25s}
.detail-modal.open,.wl-modal.open{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .25s ease}
.detail-panel,.wl-panel{border-radius:22px;border-color:var(--sc-line2);animation:none!important;transform:translateY(16px) scale(.98);transition:transform .4s var(--sc-ease)}
.detail-panel{background:linear-gradient(160deg,#1d1d24,#101013)}
.detail-modal.open .detail-panel,.wl-modal.open .wl-panel{transform:none}
#acList{display:block!important;visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .25s var(--sc-ease),visibility 0s linear .2s}
#acList.open{visibility:visible;opacity:1;transform:none;transition:opacity .2s,transform .25s var(--sc-ease)}
#toast{border-radius:999px}

@media(prefers-reduced-motion:reduce){main .card,.detail-panel,.wl-panel,#acList,.detail-modal,.wl-modal{transition:none!important}main .card:hover{transform:none!important}}

/* Touch and responsiveness polish */
button,.card,.mode,.filter-chip,.open-link{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
main .card:active{transform:scale(.985)}
@media(hover:none){main .card:hover{transform:none}}


/* StreamCloud category switcher — cleaner glass surface with compact category symbols. */
.mode-wrap{gap:6px;margin-top:-76px;margin-bottom:8px}
.mode-wrap::before{content:"EXPLORE BY CATEGORY";display:block;color:#777783;font-size:9px;font-weight:800;letter-spacing:.24em;text-align:center;line-height:1.4}
.mode-switch{position:relative;width:min(100%,700px);padding:6px;gap:5px;border:1px solid rgba(255,255,255,.14);border-radius:19px;background:linear-gradient(155deg,rgba(35,35,43,.96),rgba(13,13,17,.96));box-shadow:0 18px 42px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.mode-switch .mode{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;flex:1 1 0;min-width:0;min-height:49px;padding:11px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:#a3a3ad;font-size:clamp(10px,1vw,12px);font-weight:850;letter-spacing:.045em;line-height:1.15;white-space:nowrap;transition:color .25s ease,transform .25s ease,border-color .25s ease}
.mode-switch .mode::before{display:inline-grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);font-size:15px;line-height:1;color:#b7b7c0;transition:color .25s,background .25s,border-color .25s,transform .3s}
.mode-switch .mode[data-mode="sites"]::before{content:"▤"}
.mode-switch .mode[data-mode="apps"]::before{content:"▶";font-size:12px}
.mode-switch .mode[data-mode="music"]::before{content:"♫";font-size:16px}
.mode-switch .mode:hover{color:#fff}
.mode-switch .mode:hover::before{transform:translateY(-1px);border-color:rgba(255,255,255,.2)}
.mode-switch .mode.active{color:#fff!important;background:transparent!important;border-color:rgba(255,255,255,.07);box-shadow:none!important}
.mode-switch .mode.active::before{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.mode-switch .mode-thumb{position:absolute;z-index:0;top:6px;bottom:6px;left:0;border:1px solid rgba(255,95,101,.42);border-radius:13px;background:linear-gradient(135deg,rgba(235,25,36,.95),rgba(139,5,12,.96));box-shadow:0 6px 20px rgba(229,9,20,.28),inset 0 1px 0 rgba(255,255,255,.13);pointer-events:none;transition:transform .52s cubic-bezier(.22,1,.36,1),width .52s cubic-bezier(.22,1,.36,1)}
.card.logo-card>img.source-thumbnail{object-fit:cover!important;padding:0!important;background:#101014!important}
.card.logo-card .site-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px 15px;color:#92929d;font-size:11px;min-width:0}
.card.logo-card .site-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card.logo-card .site-open{flex:none;border:1px solid rgba(229,9,20,.3);border-radius:999px;padding:5px 9px;color:#ff9ba0;background:rgba(229,9,20,.09);font-size:10px;font-weight:850;letter-spacing:.025em;transition:background .2s,border-color .2s,color .2s}
.card.logo-card:hover .site-open{background:#e50914;border-color:#e50914;color:#fff}
main .app-card{min-height:270px;background:radial-gradient(ellipse at 100% 0,rgba(255,255,255,.045),transparent 43%),linear-gradient(155deg,#202027,#111114)!important;border-color:rgba(255,255,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 36px rgba(0,0,0,.3)}
main .app-card .app-icon{width:62px;height:62px;border-radius:17px;background:linear-gradient(145deg,#292932,#0b0b0f);box-shadow:0 8px 20px rgba(0,0,0,.22);border-color:rgba(255,255,255,.13)}
main .app-card .kind{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:5px 8px;color:#b9b9c4;background:rgba(255,255,255,.035);font-size:9px;font-weight:850;letter-spacing:.08em}
main .app-card h3{margin-top:2px;letter-spacing:-.015em}
main .app-card p{min-height:40px}
@media(max-width:760px){
 .mode-wrap{margin:-60px 4% 8px;gap:6px}
 .mode-switch{padding:5px;gap:3px;border-radius:15px}
 .mode-switch .mode{flex-direction:column;gap:5px;min-height:62px;padding:7px 3px;border-radius:11px;font-size:9px;letter-spacing:.015em;white-space:normal}
 .mode-switch .mode::before{width:24px;height:24px;font-size:14px}
 .mode-switch .mode[data-mode="apps"]::before{font-size:11px}
 .mode-switch .mode-thumb{top:5px;bottom:5px;border-radius:11px}
 .card.logo-card .site-meta{padding:7px 10px 12px;font-size:10px}
 .card.logo-card .site-open{padding:4px 7px}
 main .app-card{min-height:255px}
 main .app-card .app-icon{width:54px;height:54px}
}
@media(prefers-reduced-motion:reduce){.mode-switch .mode,.mode-switch .mode::before,.mode-switch .mode-thumb,.card.logo-card .site-open{transition:none!important}}

/* Keep a single Download action visible when no verified direct APK link exists. */
.download-unavailable{font:inherit;border:0;opacity:.42;cursor:not-allowed;pointer-events:none}
.unavailable-tag{opacity:.65}

/* Mobile/tablet fit: keep cards and controls inside the device viewport without disabling pinch zoom. */
@media(max-width:760px){
  html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  body{min-width:0}
  .hero,.hero-in,.mode-wrap,.mode-switch,main,.row-section,.track,.finale,.finale-in,footer{min-width:0;max-width:100%}
  .hero{padding-left:16px!important;padding-right:16px!important}
  .hero-in{width:100%}
  .mode-wrap{width:calc(100% - 24px);margin-left:auto!important;margin-right:auto!important}
  .mode-switch{width:100%;max-width:560px}
  .mode-switch .mode{flex:1 1 0;min-width:0;padding-left:clamp(4px,1.4vw,12px);padding-right:clamp(4px,1.4vw,12px);white-space:normal;overflow-wrap:anywhere}
  main .track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(8px,2.5vw,12px)!important;padding-left:12px!important;padding-right:12px!important}
  main .card{min-width:0;max-width:100%}
  main .card .cap,main .card h3,main .card p{overflow-wrap:anywhere}
  .card.logo-card .site-meta{min-width:0;gap:6px}
  .card.logo-card .site-meta>span:first-child{min-width:0}
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font-size:16px}
}
@media(max-width:360px){
  .mode-switch .mode{letter-spacing:0;font-size:clamp(8px,2.5vw,10px)}
  main .card.logo-card .cap{padding-left:10px;padding-right:10px;font-size:13px}
  main .track{gap:8px!important;padding-left:8px!important;padding-right:8px!important}
}



/* Cross-browser viewport safety for phones and tablets. Keeps the layout inside the visual width
   while preserving normal browser zoom and pinch-to-zoom accessibility. */
html,body{width:100%;max-width:100%;min-width:0}
body{min-height:100vh;min-height:100dvh}
@media(max-width:899px){
  html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .hero,.hero-in,.mode-wrap,.mode-switch,main,.row-section,.track,.finale,.finale-in,footer{min-width:0;max-width:100%}
  .hero-in,.mode-wrap,.mode-switch,main .track{box-sizing:border-box}
  main .track{width:100%}
  .mode-switch{max-width:100%}
}


/* Scroll performance: stop animating the hidden fallback layer once WebGL is running. */
.gl-ready .cinema-fallback:after { animation-play-state: paused; }

/* During active scrolling, keep the browser focused on native scroll/compositing instead of
   animating card shadows, tilt and sticky glass effects frame-by-frame. */
.is-scrolling nav,
.is-scrolling .mode-wrap,
.is-scrolling .card.live,
.is-scrolling .card.live:after,
.is-scrolling .row-head,
.is-scrolling .finale-in > * {
  transition-duration: 0s !important;
}

/* StreamCloud mobile catalogue repair:
   equalize card rows and keep homepage-preview images in normal document flow on phones. */
main .track {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
main .track > .card {
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  main .track {
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
  }
  main .track > .card {
    height: 100% !important;
    min-height: 0;
  }
  main .card.logo-card img.homepage-preview,
  main .card.logo-card img.source-thumbnail {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  main .card.logo-card .cap {
    flex: 0 0 auto;
    min-height: 46px;
    display: flex !important;
    align-items: center;
    line-height: 1.35;
  }
  main .card.logo-card .site-meta {
    margin-top: auto;
    min-height: 42px;
  }
  main .app-card {
    height: 100% !important;
    min-height: 280px;
  }
  main .app-card .card-top {
    min-height: 64px;
  }
  main .app-card h3 {
    min-height: 42px;
    align-items: flex-start;
  }
  main .app-card p {
    flex: 1 0 auto;
    min-height: 54px;
  }
  main .app-card .movie-app-tags {
    min-height: 32px;
    align-content: start;
  }
  main .app-card .card-footer {
    margin-top: auto;
  }
}


/* Mobile fix: keep each app card's download action inside the card instead of clipping it.
   The generic grid-card sizing rule must not force app cards to a shorter fixed row height. */
@media (max-width: 760px) {
  #appsView .track > .app-card,
  #musicView .track > .app-card {
    height: auto !important;
    min-height: 320px !important;
    align-self: stretch;
  }

  #appsView .app-card .card-footer,
  #musicView .app-card .card-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin-top: auto !important;
  }

  #appsView .app-card .movie-card-actions,
  #musicView .app-card .movie-card-actions {
    display: flex !important;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }

  #appsView .app-card .download-link,
  #musicView .app-card .download-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
  }
}

/* --------------------------------------------------------------------------
   Motion/UX polish v2
   Keep the existing StreamCloud look; reduce blur/paint work and shorten
   interaction timing so navigation feels immediate on desktop and phones.
   -------------------------------------------------------------------------- */
:root{
  --sc-motion-fast:150ms;
  --sc-motion-base:210ms;
  --sc-motion-enter:280ms;
  --sc-motion-ease:cubic-bezier(.2,.75,.25,1);
}
@media (prefers-reduced-motion:no-preference){
  .view.active{
    animation:sc-view-enter-v2 240ms var(--sc-motion-ease) both!important;
    transform-origin:center top;
  }
  @keyframes sc-view-enter-v2{
    from{opacity:0;transform:translate3d(0,6px,0)}
    to{opacity:1;transform:translate3d(0,0,0)}
  }

  .card.live{
    animation:sc-card-enter-v2 var(--sc-motion-enter) var(--sc-motion-ease) both!important;
    filter:none!important;
  }
  @keyframes sc-card-enter-v2{
    from{opacity:0;transform:translate3d(0,9px,0) scale(.99)}
    to{opacity:1;transform:translate3d(0,0,0) scale(1)}
  }

  main .card{
    transition:
      transform 220ms var(--sc-motion-ease),
      border-color 180ms ease,
      box-shadow 220ms var(--sc-motion-ease),
      background-color 180ms ease!important;
  }
  main .card.live:hover,
  main .card.live:focus-within,
  main .card:focus-visible{
    transform:translate3d(0,-3px,0)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 30px rgba(0,0,0,.46),0 0 0 1px rgba(255,59,69,.16)!important;
  }
  .card:after{transition:opacity 160ms ease!important}
  .card.logo-card img,
  .app-card .app-icon img,
  .app-card .movie-logo img{
    transition:transform 240ms var(--sc-motion-ease),opacity 180ms ease!important;
  }

  .mode-switch .mode,
  .mode-switch .mode::before{
    transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease,transform 180ms var(--sc-motion-ease)!important;
  }
  .mode-switch .mode-thumb,
  .mode-thumb{
    transition:transform 360ms var(--sc-motion-ease),width 360ms var(--sc-motion-ease)!important;
    will-change:transform,width;
  }
  .mode-switch .mode:active,
  .filter-chip:active,
  .sc-chip:active,
  .sc-reset:active,
  .open-link:active,
  .modal-action:active{
    transform:scale(.975);
    transition-duration:90ms!important;
  }

  .search,
  .search input,
  .search button{
    transition:
      width 260ms var(--sc-motion-ease),
      opacity 160ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms var(--sc-motion-ease)!important;
  }
  .search.open{transform:none!important}
  #acList{
    transition:opacity 150ms ease,transform 180ms var(--sc-motion-ease),visibility 0s linear 150ms!important;
  }
  #acList.open{
    transition:opacity 150ms ease,transform 180ms var(--sc-motion-ease),visibility 0s!important;
  }

  .detail-modal,.wl-modal{
    transition:opacity 180ms ease,visibility 0s linear 180ms!important;
  }
  .detail-modal.open,.wl-modal.open{
    transition:opacity 180ms ease,visibility 0s!important;
  }
  .detail-panel,.wl-panel{
    transition:transform 240ms var(--sc-motion-ease),opacity 180ms ease!important;
    transform:translate3d(0,8px,0) scale(.99)!important;
    filter:none!important;
  }
  .detail-modal.open .detail-panel,
  .wl-modal.open .wl-panel{transform:translate3d(0,0,0) scale(1)!important}
  .detail-modal .modal-scrim,.wl-scrim{
    transition:opacity 180ms ease!important;
  }

  .t-poster{transition:transform 220ms var(--sc-motion-ease),box-shadow 220ms ease!important}
  .t-poster img{transition:opacity 220ms ease!important}
  .t-tab{transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease!important}

  :where(button,a,[role="button"],[role="link"],input,select,textarea){
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  :where(button,a,[role="button"],[role="link"]):focus-visible{
    outline:2px solid rgba(255,255,255,.9);
    outline-offset:3px;
  }

  /* Let native scrolling/compositing take priority over cinematic blur and card depth. */
  .is-scrolling nav,
  .is-scrolling .mode-wrap,
  .is-scrolling .card.live,
  .is-scrolling .card.live:after,
  .is-scrolling .row-head,
  .is-scrolling .finale-in>*{
    transition-duration:0s!important;
  }
  .is-scrolling nav.solid,
  .is-scrolling .mode-switch{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}
@media(hover:none){
  main .card.live:hover:not(:focus-within){
    transform:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 28px rgba(0,0,0,.4)!important;
  }
  main .card.live:active{transform:scale(.985)!important;transition-duration:90ms!important}
  .mode-switch .mode:hover::before{transform:none}
}
@media(max-width:760px){
  .view.active{animation-duration:200ms!important}
  .card.live{animation-duration:240ms!important}
  .mode-switch .mode-thumb,.mode-thumb{transition-duration:260ms!important}
  .detail-panel,.wl-panel{max-height:calc(100dvh - 20px)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .view.active,.card.live,.detail-modal .detail-panel,.wl-modal .wl-panel,
  .t-card,.t-poster,.t-poster img{animation:none!important;transition:none!important;filter:none!important}
  .card.live:hover,.card.live:focus-within,.card.live:active,
  .mode-switch .mode:active,.search.open{transform:none!important}
  nav.solid,.mode-switch,.modal-scrim,.wl-scrim{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  .mode-switch .mode-thumb,.mode-thumb{will-change:auto}
}
