/* ============================== yoru v39 — phone watch flow, lighter rendering, fuller glass menu ============================== */

/* ---------- phones/tablets: the player scrolls with the page (no sticky video) ---------- */
@media (max-width:900px){
  body[data-page="watch"] .watch .player,body[data-route="watch"] .watch .player,.watch .player{position:relative!important;top:auto!important;z-index:1!important}
}

/* show info on phones: the alternate title repeats the main one, so drop it */
@media (max-width:640px){.watch #wi .alt{display:none!important}}

/* ---------- Continue watching bar — sits exactly where the tab bar was ---------- */
.cw39{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:120;display:flex;align-items:center;gap:12px;height:64px;padding:8px 8px 8px 8px;
  border-radius:22px;border:1px solid rgba(255,255,255,.16);color:#fff;text-align:left;
  background:rgba(28,28,32,.72);-webkit-backdrop-filter:blur(28px) saturate(1.6);backdrop-filter:blur(28px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 40px -12px rgba(0,0,0,.8);
  transform:translateY(140%);opacity:0;pointer-events:none;transition:transform .45s cubic-bezier(.2,.9,.3,1.1),opacity .3s ease}
.cw39.on{transform:none;opacity:1;pointer-events:auto}
.cw39:active{transform:scale(.98)}
.cw39-th{position:relative;flex:none;width:84px;height:48px;border-radius:12px;overflow:hidden;background:#111}
.cw39-th img{width:100%;height:100%;object-fit:cover;display:block}
.cw39-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.25)}
.cw39-bar b{display:block;height:100%;width:0;background:#fff}
.cw39-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cw39-t small{font:600 11.5px var(--sf);letter-spacing:.02em;color:rgba(255,255,255,.6);text-transform:uppercase}
.cw39-t b{font:650 15px/1.2 var(--sf);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw39-go{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#000;box-shadow:0 6px 16px -6px rgba(0,0,0,.6)}
.cw39-go svg{margin-left:2px}
html.cw39-on .tabbar{transform:translateY(160%)!important;opacity:0!important;pointer-events:none!important}
@media (min-width:901px){.cw39{display:none}}

/* ---------- lighter rendering on touch devices (smooth scrolling) ---------- */
@media (hover:none),(max-width:760px){
  /* frosted blur is expensive while scrolling: keep it only on the floating chrome */
  #app *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  /* (content-visibility on sections was removed: it stopped lazy-loaded posters from ever loading) */
  /* the home hero's WebGL layer is hidden behind the poster on phones — don't composite it */
  #hero.h37.has-tall canvas{display:none!important}
  /* hover-only effects never run on touch */
  .gc-flash,.pc-tr,.card-episode-preview{display:none!important}
}

/* ---------- menu: a filled glass list over a see-through, blurred page ---------- */
.sheet{background:rgba(0,0,0,.42)!important;-webkit-backdrop-filter:blur(26px) saturate(1.4)!important;backdrop-filter:blur(26px) saturate(1.4)!important}
.sheet nav{background:rgba(38,38,42,.86)!important;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 24px 60px -20px rgba(0,0,0,.8)}
.sheet nav a{border-bottom-color:rgba(255,255,255,.09)!important}
#menuBtn,#sx{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important}

/* ---------- hero round buttons: both the same filled, translucent glass ---------- */
#hero .cta .ib.big{width:52px!important;height:52px!important;border-radius:50%!important;color:#fff!important;
  background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.24)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 20px -10px rgba(0,0,0,.7)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.5)!important;backdrop-filter:blur(18px) saturate(1.5)!important}
#hero .cta .ib.big.on{background:rgba(255,255,255,.3)!important}
