    :root{
      --bg:#000;--panel:#1a1a1a;--line:rgba(255,255,255,.08);--text:#fff;--muted:rgba(255,255,255,.45);
      --accent:#20c6b7;--accent-h:#34d3c4;--accent-ink:#04201c;--gold:#e8b84a;
      --safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);
      --hh:56px;--nav:57px;--max:1280px;--poster-w:128px;--poster-h:171px;--poster-r:6px;--poster-gap:8px;
      --discover-gap-x:6px;--discover-gap-y:20px;
    }
    *{box-sizing:border-box} html,body{margin:0;background:var(--bg);color:var(--text);overflow-x:hidden;max-width:100%}
    body{font-family:Inter,system-ui,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}
    a{color:inherit;text-decoration:none} button,input{font:inherit;color:inherit}
    img{display:block;max-width:100%} button{cursor:pointer}
    .app{min-height:100vh;padding-bottom:calc(var(--nav) + var(--safe-b));position:relative;overflow-x:clip;max-width:100%}
    .app.is-immersive{padding-bottom:0}

    /* Mobile top */
    .m-top{
      position:fixed;top:0;left:0;right:0;z-index:40;height:calc(var(--hh) + var(--safe-t));
      padding:var(--safe-t) 12px 0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;column-gap:8px;
      background:#000;
    }
    .app.has-mtop{padding-top:calc(var(--hh) + var(--safe-t))}
    .icon-btn{width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.12);display:grid;place-items:center;color:#fff;flex:0 0 auto}
    .icon-btn svg{width:24px;height:24px}
    .brand{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;min-width:0;max-width:100%;flex-wrap:nowrap;white-space:nowrap}
    .m-top .brand{
      justify-self:center;align-self:center;width:max-content;max-width:100%;gap:8px;line-height:1
    }
    .m-top .brand > span:not(.brand-mark){
      min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center
    }
    .brand-mark{
      width:36px;height:36px;border-radius:10px;flex:0 0 auto;
      background:linear-gradient(135deg,#34d3c4 0%,#20c6b7 52%,#0f766e 100%);
      color:#fff;display:grid;place-items:center;font-weight:800;font-size:16px;line-height:1;
      box-shadow:0 4px 12px rgba(32,198,183,.35);
    }
    .brand b{font-size:18px;font-weight:700;color:rgba(255,255,255,.95);line-height:1}
    .brand em{font-style:normal;color:rgba(255,255,255,.45);font-weight:500;line-height:1;margin-left:1px}
    .m-top .brand b{display:block}

    /* Desktop top */
    .d-top{display:none}
    .d-inner{max-width:var(--max);margin:0 auto;height:64px;display:flex;align-items:center;gap:18px;padding:0 24px}
    .d-nav{display:flex;gap:4px;flex:1;min-width:0}
    .d-nav a{padding:8px 10px;color:rgba(255,255,255,.95);font-weight:700;font-size:19px;white-space:nowrap}
    .d-nav a:hover{color:#fff}
    .d-nav a.on{color:var(--accent)}
    .d-actions{display:flex;align-items:center;gap:8px}
    .pill{
      border:0;background:transparent;border-radius:999px;
      padding:0 14px;height:40px;font-size:15px;color:#fff;display:inline-flex;align-items:center;gap:6px
    }
    .pill.accent{background:var(--accent);border-color:transparent;color:#fff;font-weight:600;width:116px;justify-content:center}
    .pill.ghost{background:transparent;color:rgba(255,255,255,.9)}
    .d-search{
      display:none;height:40px;width:220px;align-items:center;gap:8px;padding:0 6px 0 14px;
      border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff
    }
    .d-search input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:14px}
    .d-search button{border:0;height:28px;padding:0 12px;border-radius:999px;background:var(--accent);color:#fff;font-weight:600;font-size:13px}
    .avatar-btn{
      width:34px;height:34px;border-radius:999px;border:0;background:#2a2a2a;color:rgba(255,255,255,.7);
      display:grid;place-items:center;overflow:hidden
    }
    .avatar-btn svg{width:22px;height:22px}

    .panel{display:none}.panel.on{display:block}
    .sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
    .sec-head h2{margin:0;font-size:16px;font-weight:700;color:rgba(255,255,255,.8);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .sec-head .all{color:rgba(255,255,255,.5);font-size:13px;display:inline-flex;align-items:center;gap:2px;flex:0 0 auto}
    .sec-head .all svg{width:16px;height:16px}

    /* Chips */
    .chips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px;scrollbar-width:none;max-width:100%;min-width:0;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
    .chips::-webkit-scrollbar{display:none}
    .chips::before,.chips::after{content:"";flex:0 0 23px}
    .chip{
      flex:0 0 auto;border:0;background:rgba(255,255,255,.15);border-radius:999px;
      height:26px;padding:0 12px;font-size:12.5px;color:rgba(255,255,255,.9);
      display:inline-flex;align-items:center;font-weight:500;max-width:70vw;
      overflow:hidden;text-overflow:ellipsis;white-space:nowrap
    }
    .chip.on{background:var(--accent);color:#fff;font-weight:500}

    /* Posters — HotPlot sizes: mobile 128×171 r6; desktop up to 236×315 r8 */
    .poster{display:flex;flex-direction:column;gap:6px;text-align:left;width:var(--poster-w);min-width:0;max-width:var(--poster-w)}
    .poster .thumb{
      width:100%;height:var(--poster-h);border-radius:var(--poster-r);
      overflow:hidden;background:#141414;position:relative
    }
    .poster .thumb img{width:100%;height:100%;object-fit:cover}
    .poster .title{
      font-size:12px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;
      -webkit-box-orient:vertical;overflow:hidden;min-height:2.5em;color:#fff
    }
    .poster .meta{color:rgba(255,255,255,.45);font-size:11px;margin-top:-2px}

    /* Home hero — desktop only (HotPlot featured banner) */
    .hero-banner{display:none}
    .home-search{padding:14px 23px 10px;max-width:100%;min-width:0}
    .home-search form{
      display:flex;align-items:center;height:48px;background:#1a1a1a;border:1px solid rgba(255,255,255,.1);
      border-radius:999px;padding:0 6px 0 14px;max-width:100%;min-width:0
    }
    .home-search .ico{color:rgba(255,255,255,.45);display:grid;place-items:center;margin-right:8px;flex:0 0 auto}
    .home-search .ico svg{width:18px;height:18px}
    .home-search input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:15px}
    .home-search button{
      border:0;background:var(--accent);color:#fff;font-weight:600;font-size:14px;
      height:36px;padding:0 16px;border-radius:999px;flex:0 0 auto
    }
    .home-body{padding-top:24px;display:grid;gap:32px;max-width:100%;min-width:0;overflow-x:clip}
    .rail-sec{padding:0;max-width:100%;min-width:0;overflow-x:clip}
    .rail-sec .sec-head{padding:0 23px;margin-bottom:12px;min-width:0}
    .poster-rail-wrap{position:relative;max-width:100%;min-width:0;overflow:hidden}
    .poster-rail{
      display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);
      grid-auto-columns:var(--poster-w);gap:16px var(--poster-gap);justify-content:start;
      overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;min-width:0;
      padding:0 23px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain
    }
    .poster-rail::-webkit-scrollbar{display:none}

    /* Discover */
    .sort-row{display:flex;align-items:center;gap:4px;padding:12px 23px 12px;color:rgba(255,255,255,.45);font-size:13px;font-weight:400;overflow-x:auto;max-width:100%;min-width:0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
    .sort-row::-webkit-scrollbar{display:none}
    .sort-row a{
      color:rgba(255,255,255,.45);height:32px;padding:0 10px;border-radius:999px;
      display:inline-flex;align-items:center;font-weight:400
    }
    .sort-row a.on{color:#fff}
    .sort-row .count{margin-left:auto;font-weight:500;font-size:12px;color:rgba(255,255,255,.35)}
    .discover-head{display:none}
    .discover-head h1{margin:0;font-size:22px;font-weight:700}
    .discover-grid{
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
      gap:var(--discover-gap-y) var(--discover-gap-x);padding:4px 23px 24px
    }
    .discover-grid .poster{width:auto}
    .discover-grid .poster .thumb{width:100%;height:var(--poster-h)}
    .pager{
      display:flex;align-items:center;justify-content:center;gap:16px;
      padding:8px 23px 28px;margin-top:16px
    }
    .pager .pg-btn{
      height:40px;padding:0 20px;border-radius:999px;font-size:14px;font-weight:500;
      display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#000
    }
    .pager .pg-btn:hover{background:rgba(255,255,255,.85)}
    .pager .pg-btn.is-disabled{
      background:rgba(255,255,255,.04);color:rgba(255,255,255,.25);pointer-events:none
    }
    .pager .pg-meta{font-size:14px;color:rgba(255,255,255,.55);font-variant-numeric:tabular-nums}

    /* For You */
    .fy-feed{
      height:100vh;height:100dvh;overflow-y:scroll;scroll-snap-type:y mandatory;
      -webkit-overflow-scrolling:touch;background:#000;overscroll-behavior-y:contain
    }
    .fy-slide{height:100vh;height:100dvh;scroll-snap-align:start;scroll-snap-stop:always}
    .fy-ui{position:absolute;inset:0;z-index:3;pointer-events:none}
    .fy-ui *{pointer-events:auto}
    .fy-meta{position:absolute;left:14px;right:78px;bottom:calc(92px + var(--safe-b))}
    .fy-meta h2{margin:0 0 4px;font-size:17px;line-height:1.25;text-shadow:0 1px 4px rgba(0,0,0,.5)}
    .fy-meta .ep-label{color:#d0d4d8;font-size:13px}
    .md-playback-bar{
      position:absolute;left:12px;right:72px;bottom:calc(58px + var(--safe-b));
      display:flex;align-items:center;gap:10px;z-index:5;pointer-events:auto
    }
    .md-speed{
      flex:0 0 auto;min-width:40px;height:28px;padding:0 10px;border:0;border-radius:999px;
      background:rgba(0,0,0,.45);color:#fff;font-size:13px;font-weight:700;
      letter-spacing:.02em;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)
    }
    .fy-progress,.md-playback-bar .watch-progress{
      position:relative;left:auto;right:auto;bottom:auto;flex:1;min-width:0;
      height:28px;display:flex;align-items:center;background:transparent;border-radius:99px;overflow:visible;z-index:4
    }
    .fy-progress::before{
      content:"";position:absolute;left:0;right:0;height:3px;border-radius:99px;background:rgba(255,255,255,.18)
    }
    .fy-progress > i{
      position:relative;display:block;height:3px;width:0;max-width:100%;background:var(--accent);border-radius:99px
    }
    .app.is-feed .m-top{background:linear-gradient(rgba(0,0,0,.55),transparent)}
    .app.is-feed .tabs{background:rgba(12,12,15,.95)}
    .watch-rail{position:absolute;right:6px;bottom:calc(100px + var(--safe-b));display:grid;gap:14px;justify-items:center;z-index:5}
    .rail-btn{
      width:56px;display:grid;gap:4px;justify-items:center;background:none;border:0;color:#fff;
      font-size:11px;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.65)
    }
    .rail-btn i{
      width:48px;height:48px;border-radius:999px;background:rgba(255,255,255,.06);
      display:grid;place-items:center;color:#fff;font-style:normal;font-size:0;line-height:0;
      filter:drop-shadow(0 1px 3px rgba(0,0,0,.45));
      box-shadow:none;backdrop-filter:none
    }
    .rail-btn i svg{
      width:26px;height:26px;display:block;stroke:currentColor;fill:none;
      stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round
    }
    .rail-btn.accent i{
      background:rgba(32,198,183,.16);color:#fff;
      box-shadow:0 0 12px rgba(32,198,183,.2)
    }
    .rail-btn.on i{background:rgba(32,198,183,.22);color:#fff}
    .rail-btn.on i svg.heart{fill:currentColor;stroke:currentColor}

    /* Watch */
    .watch{position:relative;min-height:100vh;background:#000;color:#fff;padding:0}
    .watch-feed{
      height:100vh;height:100dvh;overflow-y:scroll;scroll-snap-type:y mandatory;
      -webkit-overflow-scrolling:touch;background:#000;overscroll-behavior-y:contain
    }
    /* Shared player shell (watch + For You) */
    .md-player{position:relative;background:#000;overflow:hidden}
    .md-player > video{
      position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000;
      z-index:1;opacity:0;transition:opacity .25s
    }
    .md-player.is-playing > video,
    .md-player.has-source > video,
    .watch-slide.is-active > video{opacity:1 !important}

    .watch-slide{height:100vh;height:100dvh;scroll-snap-align:start;scroll-snap-stop:always}
    .watch-desk{display:none;position:relative}
    .watch-player-col{position:relative}
    .watch-back{display:none}
    .watch-side{display:none}
    .watch-desk-ctrl{display:none}
    .watch-stage{height:calc(100vh - var(--safe-t) - 58px - var(--safe-b));cursor:pointer}
    .app.is-watch .m-top.watch-m-head{background:linear-gradient(rgba(0,0,0,.55),transparent)}
    .watch-mobile-ui{position:absolute;inset:0;z-index:5;pointer-events:none}
    .watch-mobile-ui .watch-rail{
      top:calc(var(--hh) + 20px);
      bottom:calc(88px + var(--safe-b));
      align-content:end;
      gap:12px;
    }
    .watch-mobile-ui .watch-rail,
    .watch-mobile-ui .watch-meta,
    .watch-mobile-ui .md-playback-bar,
    .watch-mobile-ui .swipe-tip{
      transition:opacity .28s ease,transform .28s ease
    }
    .watch-mobile-ui .watch-rail,.watch-mobile-ui .watch-rail *,
    .watch-mobile-ui .md-playback-bar{pointer-events:auto}
    .watch-mobile-ui.is-hidden .watch-rail,
    .watch-mobile-ui.is-hidden .watch-meta,
    .watch-mobile-ui.is-hidden .swipe-tip{
      opacity:0;transform:translateY(10px);pointer-events:none
    }
    .watch-mobile-ui.is-hidden .watch-rail *{pointer-events:none}
    .watch-mobile-ui.is-hidden .md-playback-bar{opacity:1;transform:none;pointer-events:auto}
    .watch-tap-icon{
      position:absolute;left:50%;top:48%;transform:translate(-50%,-50%) scale(.9);
      width:72px;height:72px;border-radius:999px;
      background:linear-gradient(145deg,#4ad9cb 0%,var(--accent) 55%,#14b3a5 100%);
      display:grid;place-items:center;z-index:8;opacity:0;pointer-events:none;color:#fff;
      box-shadow:
        0 0 18px 6px rgba(32,198,183,.28),
        0 0 36px 12px rgba(32,198,183,.14),
        0 6px 16px rgba(0,0,0,.22);
      transition:opacity .18s,transform .18s
    }
    .fy-slide > .watch-tap-icon{z-index:6}
    .watch-tap-icon.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
    .watch-tap-icon svg{width:32px;height:32px;fill:currentColor;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12))}
    .swipe-tip{
      position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);
      background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.15);
      border-radius:999px;padding:10px 16px;font-size:13px;pointer-events:none;opacity:.9;transition:opacity .4s;z-index:5
    }
    .watch-meta{position:absolute;left:14px;right:72px;bottom:calc(56px + var(--safe-b));z-index:5}
    .watch-meta h1{margin:0 0 4px;font-size:18px;line-height:1.25}
    .watch-meta .ep{color:#cfd3d8;font-size:13px}
    .watch-progress{
      position:relative;left:auto;right:auto;bottom:auto;z-index:7;
      height:28px;display:flex;align-items:center;touch-action:none;cursor:pointer;
      background:transparent;border-radius:99px;flex:1;min-width:0
    }
    .watch-slide .md-playback-bar{
      left:12px;right:72px;bottom:calc(10px + var(--safe-b))
    }
    .watch-progress::before{
      content:"";position:absolute;left:0;right:0;height:3px;border-radius:99px;
      background:rgba(255,255,255,.18)
    }
    .watch-progress > i{
      position:relative;display:block;height:3px;width:0;max-width:100%;
      background:#fff;border-radius:99px;pointer-events:none
    }
    .watch-progress.is-scrubbing::before{height:4px;background:rgba(255,255,255,.28)}
    .watch-progress.is-scrubbing > i{height:4px;background:var(--accent)}
    .lock-banner{position:absolute;inset:0;display:none;place-items:center;background:rgba(0,0,0,.55);z-index:6;padding:20px;text-align:center}
    .lock-banner.on{display:grid}
    .lock-banner .box{background:#151515;border:1px solid #2a2a2a;border-radius:16px;padding:18px;max-width:280px}
    .btn{border:0;border-radius:12px;padding:12px 14px;background:var(--accent);color:var(--accent-ink);font-weight:700}
    .btn.ghost{background:#1a1a1a;color:#fff;border:1px solid #2a2a2a}
    .btn.block{display:flex;width:100%;align-items:center;justify-content:center;height:44px;border-radius:999px}
    .watch-crumb{margin:0;font-size:13px;color:rgba(255,255,255,.45)}
    .watch-crumb a:hover{color:#fff}
    .watch-side-title{margin:12px 0 0;font-size:26px;font-weight:700;line-height:1.25;color:#fff}
    .watch-syn-label{margin:18px 0 0;font-size:14px;font-weight:600;color:rgba(255,255,255,.9)}
    .watch-syn-body{margin:8px 0 0;font-size:13px;line-height:1.55;color:rgba(255,255,255,.55);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
    .watch-syn-body.is-open{-webkit-line-clamp:unset;display:block}
    .watch-more{margin-top:6px;border:0;background:none;padding:0;color:rgba(255,255,255,.8);font-size:13px}
    .watch-more:hover{color:#fff}
    .watch-actions{display:flex;gap:0;margin-top:18px}
    .watch-act{
      flex:1;min-width:0;border:0;background:none;color:rgba(255,255,255,.8);
      display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0;font-size:12px
    }
    .watch-act:hover{color:#fff}
    .watch-act i{
      width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.08);
      display:grid;place-items:center;font-size:0;font-style:normal;color:#fff
    }
    .watch-act i svg{
      width:20px;height:20px;display:block;stroke:currentColor;fill:none;
      stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round
    }
    .watch-act.on i{background:rgba(32,198,183,.28);color:#fff}
    .watch-act.on i svg.heart{fill:currentColor;stroke:currentColor}
    .watch-ep-ranges{display:flex;align-items:center;gap:14px;margin-top:22px;flex-wrap:wrap}
    .watch-ep-ranges button{
      border:0;background:none;padding:0;font-size:14px;color:rgba(255,255,255,.45);font-weight:500
    }
    .watch-ep-ranges button.on{color:var(--accent);font-weight:700}
    .watch-ep-ranges .all{margin-left:auto;color:rgba(255,255,255,.55)}
    .watch-ep-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
    .watch-ep-grid button{
      height:48px;border:0;border-radius:10px;background:#2a2a2a;color:rgba(255,255,255,.9);
      font-size:14px;font-weight:500
    }
    .watch-ep-grid button.on{background:var(--accent);color:#fff}
    .watch-ep-grid button.lock{opacity:.55}
    .desk-ctrl-bar{
      position:absolute;left:0;right:0;bottom:0;z-index:6;padding:10px 12px 12px;
      background:linear-gradient(transparent,rgba(0,0,0,.72));
      display:flex;align-items:center;gap:8px
    }
    .desk-ctrl-btn{
      width:36px;height:36px;border:0;border-radius:999px;background:rgba(255,255,255,.18);
      color:#fff;display:grid;place-items:center;flex:0 0 auto
    }
    .desk-ctrl-btn.svg-only svg{width:18px;height:18px;display:block;fill:currentColor}
    .desk-ctrl-speed{width:auto;padding:0 10px;font-size:13px;font-weight:600;background:transparent}
    .desk-scrub{flex:1;min-width:0;height:24px;display:flex;align-items:center;cursor:pointer}
    .desk-scrub-track{width:100%;height:3px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
    .desk-scrub-track > i{display:block;height:100%;width:0;background:#fff}

    /* Library / Me */
    .lib{padding:16px 23px 28px}
    .lib-layout{display:block}
    .lib-side{margin-bottom:22px}
    .signin-row{display:flex;align-items:center;gap:14px;margin-bottom:16px}
    .signin-row .ava{
      width:64px;height:64px;border-radius:999px;background:#2a2a2a;color:rgba(255,255,255,.7);
      display:grid;place-items:center;flex:0 0 auto
    }
    .signin-row .ava svg{width:44px;height:44px}
    .signin-row h2{margin:0;font-size:18px;font-weight:600}
    .signin-row p{margin:2px 0 0;font-size:12px;color:rgba(255,255,255,.4)}
    .balance{
      border-radius:16px;background:#1a1a1a;border:1px solid rgba(255,255,255,.08);padding:16px
    }
    .balance .label{font-size:13px;color:rgba(255,255,255,.45);margin:0 0 12px}
    .balance .grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .balance .grid > div:first-child{border-right:1px solid rgba(255,255,255,.1);padding-right:12px}
    .balance .grid > div:last-child{padding-left:12px}
    .balance .num{display:flex;align-items:center;gap:6px;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}
    .balance .num svg{width:20px;height:20px;flex:0 0 auto}
    .balance .sub{margin-top:4px;font-size:12px;color:rgba(255,255,255,.45)}
    .balance .topup{margin-top:16px}
    .menu{margin-top:18px;display:grid}
    .menu a,.menu button{
      height:52px;padding:0 4px;border:0;background:transparent;border-radius:12px;
      display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.9);font-size:16px;text-align:left;width:100%
    }
    .menu a:hover,.menu button:hover{background:rgba(255,255,255,.05)}
    .menu .ico{width:22px;display:grid;place-items:center;flex:0 0 auto}
    .menu .chev{margin-left:auto;color:rgba(255,255,255,.25)}
    .lib-main h1{margin:0 0 14px;font-size:22px;font-weight:700}
    .lib-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;scrollbar-width:none}
    .lib-tabs::-webkit-scrollbar{display:none}
    .lib-tabs button{
      flex:0 0 auto;border:0;background:transparent;color:rgba(255,255,255,.45);font-weight:600;
      padding:8px 12px;border-radius:999px;font-size:14px
    }
    .lib-tabs button.on{background:rgba(255,255,255,.08);color:#fff}
    .hist-list{display:grid;gap:12px}
    .hist-row{
      display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;
      padding:10px;border-radius:14px;background:#121212;border:1px solid rgba(255,255,255,.06)
    }
    .hist-row .cover{width:72px;height:96px;border-radius:8px;overflow:hidden;background:#1a1a1a}
    .hist-row .cover img{width:100%;height:100%;object-fit:cover}
    .hist-row h3{margin:0;font-size:14px;line-height:1.3}
    .hist-row p{margin:4px 0 0;font-size:12px;color:rgba(255,255,255,.45)}
    .hist-row .resume{
      border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:600
    }
    .fav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
    .fav-grid .poster{width:auto}.fav-grid .poster .thumb{width:100%;height:auto;aspect-ratio:3/4}

    /* Auth */
    .auth-page{min-height:calc(100vh - var(--hh) - var(--safe-t));padding:16px 22px 48px;display:flex;flex-direction:column}
    .auth-page .back{width:40px;height:40px;border:0;background:transparent;color:#fff;display:grid;place-items:center;margin:0 0 8px -8px}
    .auth-page .back svg{width:22px;height:22px}
    .auth-brand{display:flex;justify-content:center;margin-bottom:14px}
    .auth-page h1{margin:0;text-align:center;font-size:26px;font-weight:700;color:#fff;letter-spacing:-.02em}
    .auth-page .lead{margin:10px 0 24px;text-align:center;color:rgba(255,255,255,.62);font-size:14px;line-height:1.5}
    .auth-stack{display:grid;gap:14px;max-width:420px;width:100%;margin:0 auto}
    .auth-btn{
      height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:#1a1a1a;
      display:flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:15px;color:rgba(255,255,255,.94)
    }
    .auth-btn:disabled{
      opacity:1;color:rgba(255,255,255,.4);border-color:rgba(255,255,255,.08);background:#121212
    }
    .auth-btn.auth-lang{
      margin-top:2px;background:transparent;border-color:rgba(255,255,255,.16);
      color:rgba(255,255,255,.78);font-weight:500
    }
    .auth-or{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.52);font-size:13px;margin:4px 0 2px}
    .auth-or:before,.auth-or:after{content:"";flex:1;height:1px;background:rgba(255,255,255,.16)}
    .auth-fields{display:grid;gap:12px}
    .auth-fields input{
      width:100%;height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.2);
      background:#1a1a1a;padding:0 16px;outline:none;color:#fff;font-size:15px
    }
    .auth-fields input::placeholder{color:rgba(255,255,255,.42)}
    .auth-fields input:focus{
      border-color:var(--accent);background:#1f1f1f;
      box-shadow:0 0 0 3px rgba(32,198,183,.18)
    }
    .auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
    .auth-code-row .auth-send{
      height:52px;min-width:112px;padding:0 16px;border-radius:14px;border:1px solid rgba(255,255,255,.22);
      background:#262626;color:#fff;font-weight:600;font-size:14px;white-space:nowrap
    }
    .auth-code-row .auth-send:disabled{color:rgba(255,255,255,.45);border-color:rgba(255,255,255,.1);background:#171717}
    .auth-stack > .btn.block{
      height:52px;border-radius:14px;font-size:16px;margin-top:2px;
      display:flex;align-items:center;justify-content:center
    }

    /* Sheets */
    .sheet-mask{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:60;display:none}
    .sheet-mask.on{display:block}
    .sheet{
      position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;max-height:75vh;overflow:auto;
      background:#111;border-radius:18px 18px 0 0;z-index:61;padding:16px 12px calc(16px + var(--safe-b));display:none
    }
    .sheet.on{display:block}
    .sheet h3{margin:0 0 14px;text-align:center}
    .lang-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
    .lang-item{position:relative;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:14px 12px;text-align:left}
    .lang-item.on{border-color:var(--accent)}
    .lang-item .check{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--accent);display:none}
    .lang-item.on .check{display:inline}
    .ep-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
    .ep-grid .ep{background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;padding:12px 0;text-align:center}
    .ep-grid .ep.on{border-color:var(--accent);color:var(--accent)}
    .ep-grid .ep.lock{opacity:.55}
    .share-grid{
      display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:4px 4px 8px
    }
    .share-item{
      display:flex;flex-direction:column;align-items:center;gap:8px;
      padding:14px 8px;border-radius:14px;background:#1a1a1a;border:1px solid rgba(255,255,255,.08);
      color:#fff;font-size:12px;font-weight:500;text-align:center
    }
    .share-item:hover{background:#222;border-color:rgba(255,255,255,.16)}
    .share-item .si{
      width:44px;height:44px;border-radius:999px;display:grid;place-items:center;font-size:18px;font-weight:700
    }
    .share-item .si.wa{background:#25D366;color:#fff}
    .share-item .si.tg{background:#229ED9;color:#fff}
    .share-item .si.fb{background:#1877F2;color:#fff}
    .share-item .si.x{background:#111;color:#fff;border:1px solid rgba(255,255,255,.2)}
    .share-item .si.rd{background:#FF4500;color:#fff}
    .share-item .si.mail{background:#5B6B7C;color:#fff}
    .share-top-row{
      display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;margin:0 0 12px
    }
    .share-top-row.has-code{grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr)}
    .share-copy{
      margin:0;width:100%;height:44px;border:0;border-radius:12px;
      background:var(--accent);color:#fff;font-weight:700;font-size:14px
    }
    .share-code-box{
      margin:0;padding:6px 10px;border-radius:12px;min-width:0;
      background:rgba(32,198,183,.12);border:1px solid rgba(32,198,183,.35);
      display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px
    }
    .share-code-box .lbl{font-size:10px;color:rgba(255,255,255,.5);margin:0;line-height:1.2;white-space:nowrap}
    .share-code-box .code{
      display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
      font-size:15px;font-weight:800;letter-spacing:.06em;color:var(--accent);line-height:1.2;text-align:center
    }
    .share-reward-tip{margin:0 4px 12px;font-size:12px;color:rgba(255,255,255,.55)}
    .toast{
      position:fixed;left:50%;bottom:calc(88px + var(--safe-b));transform:translateX(-50%) translateY(12px);
      z-index:80;padding:10px 16px;border-radius:999px;background:rgba(20,20,20,.92);
      border:1px solid rgba(255,255,255,.12);color:#fff;font-size:13px;font-weight:600;
      opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:86vw;text-align:center
    }
    .toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
    .toast.ok{border-color:rgba(32,198,183,.45)}
    .rail-btn.on i,.watch-act.on i{background:rgba(32,198,183,.28);color:#fff}
    .empty{padding:48px 16px;text-align:center;color:var(--muted)}
    .muted{color:var(--muted)}
    @media (min-width:900px){
      .toast{bottom:28px}
    }

    /* Footer */
    .site-footer{padding:28px 23px 20px;border-top:1px solid rgba(255,255,255,.1);margin-top:24px;color:rgba(255,255,255,.45);font-size:12px}
    .site-footer .links{display:flex;flex-wrap:wrap;gap:10px 14px;margin-bottom:12px}
    .site-footer a{color:rgba(255,255,255,.55)}
    .site-footer .copy{line-height:1.5}

    /* Tabs */
    .tabs{
      position:fixed;left:0;right:0;bottom:0;z-index:50;
      display:grid;grid-template-columns:repeat(5,1fr);height:calc(56px + var(--safe-b));
      background:rgba(12,12,15,.95);backdrop-filter:blur(12px);border-top:1px solid rgba(255,255,255,.08);
      padding:0 0 var(--safe-b);align-items:stretch
    }
    .tabs a{
      display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
      color:rgba(255,255,255,.6);font-size:11px;font-weight:500;line-height:1
    }
    .tabs a svg{width:24px;height:24px}
    .tabs a.on{color:#fff;font-weight:600}
    .tabs a.center{color:rgba(255,255,255,.6)}
    .tabs a.center .fy-ico{
      width:46px;height:30px;border-radius:10px;
      background:var(--accent);display:grid;place-items:center;
      box-shadow:0 4px 14px rgba(32,198,183,.38)
    }
    .tabs a.center svg{width:18px;height:18px;color:#fff}
    .tabs a.center.on{color:#fff}
    .tabs a.center.on .fy-ico{background:var(--accent)}

    /* Wallet page */
    .invite-box{padding:4px 2px 8px}
    .invite-tip{margin:0 0 12px;font-size:13px;color:rgba(255,255,255,.55);line-height:1.5}
    .invite-stat{margin:0 0 12px;font-size:14px;color:rgba(255,255,255,.8)}
    .invite-stat b{color:var(--accent);font-size:18px;margin-left:4px}
    .invite-url{
      margin:0 0 14px;padding:12px;border-radius:12px;background:#141414;border:1px solid rgba(255,255,255,.1);
      font-size:12px;line-height:1.45;word-break:break-all;color:rgba(255,255,255,.75)
    }
    .wallet-page{padding:16px 23px 40px;max-width:720px;margin:0 auto}
    .wallet-page h1{margin:0 0 6px;font-size:24px;font-weight:700}
    .wallet-page .lead{margin:0 0 18px;color:rgba(255,255,255,.45);font-size:13px}
    .wallet-sec{margin:0 0 22px}
    .wallet-sec h2{margin:0 0 12px;font-size:15px;color:rgba(255,255,255,.7);font-weight:600}
    .pay-grid{display:grid;gap:10px}
    .pay-item{
      display:flex;align-items:center;justify-content:space-between;gap:12px;
      background:#1a1a1a;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;cursor:pointer;text-align:left;width:100%
    }
    .pay-item.on{border-color:var(--accent);background:rgba(32,198,183,.08)}
    .pay-item b{display:block;font-size:15px}
    .pay-item span{display:block;font-size:12px;color:rgba(255,255,255,.45);margin-top:2px}
    .pay-methods{display:grid;gap:8px}
    .pay-method{
      display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;
      border:1px solid rgba(255,255,255,.1);background:#141414;cursor:pointer;width:100%;text-align:left
    }
    .pay-method.on{border-color:var(--accent)}
    .pay-method input{accent-color:var(--accent)}
    .order-box{
      margin-top:16px;padding:16px;border-radius:14px;background:#141414;border:1px solid rgba(255,255,255,.1)
    }
    .order-box .status{color:var(--accent);font-weight:700;margin-bottom:8px}
    .order-box p{margin:4px 0;font-size:13px;color:rgba(255,255,255,.7)}

    @media (min-width:960px){
      :root{--poster-w:180px;--poster-h:240px;--poster-r:8px;--poster-gap:18px;--hh:64px;--discover-gap-x:22px;--discover-gap-y:36px}
      .m-top,.tabs{display:none}
      .app{padding-bottom:40px;padding-top:0 !important}
      .app.is-immersive{padding-bottom:0}
      .d-top{display:block;position:sticky;top:0;z-index:40;background:rgba(0,0,0,.8);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
      .d-top .brand{gap:12px;align-items:center}
      .d-top .brand > span:not(.brand-mark){display:inline-flex;align-items:baseline;white-space:nowrap}
      .brand-mark{width:32px;height:32px;border-radius:9px;font-size:15px}
      .brand b{font-size:25px;display:inline;font-weight:800;letter-spacing:.2px}
      .brand em{font-size:23px;font-weight:600}
      .d-nav{gap:18px;margin-left:8px}
      .d-search{display:flex;width:220px}
      .d-actions .pill.ghost[href*="catalog"]{display:none}
      .avatar-btn{width:40px;height:40px}
      .home-search{display:none}
      .chips,.sort-row,.discover-grid,.discover-head,.lib,.site-footer,.rail-sec .sec-head,.hero-banner,.wallet-page,.home-body{max-width:var(--max);margin-left:auto;margin-right:auto}
      .hero-banner{
        display:block;position:relative;margin:12px auto 0;border-radius:18px;overflow:hidden;
        height:424px;background:#000;width:calc(100% - 48px)
      }
      .hero-banner::after{
        content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
        background:
          radial-gradient(80% 80% at 22% 45%, rgba(32,198,183,.20), transparent 62%),
          linear-gradient(rgba(0,0,0,.26) 0%, rgba(0,0,0,.52) 58%, #000 99%);
      }
      .hero-banner-bg{
        position:absolute;inset:-10% -10%;z-index:0;overflow:hidden;pointer-events:none
      }
      .hero-banner-bg img{
        width:100%;height:100%;object-fit:cover;
        filter:blur(46px) saturate(1.35) brightness(.72);opacity:.42
      }
      .hero-banner-bg::after{
        content:"";position:absolute;inset:0;
        background:linear-gradient(rgba(0,0,0,.55) 0%, rgba(0,0,0,.82) 62%, #000 100%)
      }
      .hero-banner-inner{
        position:relative;z-index:2;display:flex;gap:36px;align-items:stretch;
        height:100%;padding:28px 40px;box-sizing:border-box
      }
      .hero-banner-art{
        flex:0 0 auto;width:245px;height:368px;border-radius:14px;overflow:hidden;
        box-shadow:0 18px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.10)
      }
      .hero-banner-art a,.hero-banner-art img{display:block;width:100%;height:100%;object-fit:cover}
      .hero-banner-copy{flex:1 1 auto;min-width:0;padding-top:76px}
      .hero-banner-kicker{
        margin:0;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.02em
      }
      .hero-banner-title{
        margin:8px 0 0;font-size:48px;font-weight:800;line-height:1.12;letter-spacing:-.02em;
        display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
      }
      .hero-banner-synopsis{
        margin:12px 0 0;max-width:378px;color:rgba(255,255,255,.62);font-size:13px;line-height:1.55;
        display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
      }
      .hero-banner-cta{display:flex;align-items:center;gap:12px;margin-top:18px}
      .hero-banner-play{
        display:inline-flex;align-items:center;justify-content:center;gap:7px;
        height:46px;padding:0 28px;border-radius:999px;background:#fff;color:#000;
        font-size:15px;font-weight:700
      }
      .hero-banner-play svg{width:16px;height:16px}
      .hero-banner-all{color:rgba(255,255,255,.6);font-size:14px;display:inline-flex;align-items:center;gap:2px}
      .hero-banner-all:hover{color:#fff}
      .hero-banner-thumbs{
        position:absolute;right:40px;bottom:26px;z-index:3;display:flex;gap:10px;
        margin:0;padding:0;list-style:none
      }
      .hero-banner-thumb{
        width:64px;height:96px;padding:0;border:0;border-radius:8px;overflow:hidden;
        background:#141414;cursor:pointer;display:block;transition:transform .2s,box-shadow .2s
      }
      .hero-banner-thumb img{width:100%;height:100%;object-fit:cover;display:block}
      .hero-banner-thumb.is-on{
        transform:translateY(-6px) scale(1.04);
        box-shadow:0 0 0 2px #fff, 0 10px 22px rgba(0,0,0,.5)
      }
      .home-body{gap:40px;padding-top:32px}
      .discover-head{display:block;padding:24px 24px 16px;margin-bottom:0}
      .discover-head h1{margin:0;font-size:28px;font-weight:700;letter-spacing:-0.02em}
      .sec-head .all{font-size:14px}
      .poster-rail{
        max-width:var(--max);margin:0 auto;padding-left:24px;padding-right:24px;
        grid-template-rows:repeat(2,auto); /* PC 保持双排横滑 */
        gap:16px 18px;
      }
      .poster-rail .poster{width:var(--poster-w)}
      .chips{padding-left:0;padding-right:0}
      .chips::before,.chips::after{flex-basis:24px}
      .sort-row{padding-left:24px;padding-right:24px}
      .discover-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--discover-gap-y) var(--discover-gap-x);padding:8px 24px 40px}
      .discover-grid .poster .thumb{height:var(--poster-h)}
      .sec-head h2{font-size:24px}
      .lib-layout{display:flex;align-items:flex-start;gap:40px;max-width:var(--max);margin:0 auto;padding:32px 24px}
      .lib-side{width:300px;flex:0 0 auto;position:sticky;top:88px;margin:0}
      .lib-main{flex:1;min-width:0}
      .menu a,.menu button{height:48px;font-size:15px}
      .fav-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
      .fy-feed{max-width:420px;margin:0 auto;border-left:1px solid #151515;border-right:1px solid #151515}
      .app.is-watch{padding-bottom:0}
      .watch{
        max-width:none;margin:0;border:0;min-height:calc(100vh - 64px);
        padding:0
      }
      .watch-feed{display:none !important}
      .watch-m-head{display:none !important}
      .watch-mobile-ui{display:none !important}
      .watch-desk{
        display:flex !important;align-items:flex-start;gap:32px;
        min-height:calc(100vh - 64px);padding:24px 40px 48px;box-sizing:border-box
      }
      .watch-player-col{
        flex:1;min-width:0;display:flex;align-items:flex-start;justify-content:center;gap:12px;
        position:sticky;top:88px
      }
      .watch-back{
        display:grid;place-items:center;width:40px;height:40px;border-radius:999px;
        background:rgba(255,255,255,.1);color:#fff;flex:0 0 auto;margin-top:8px
      }
      .watch-back:hover{background:rgba(255,255,255,.2)}
      .watch-back svg{width:22px;height:22px}
      .watch-stage{
        width:100%;max-width:calc(min(78vh, 100dvh - 128px) * 0.5625);
        height:auto;aspect-ratio:9/16;border-radius:8px;overflow:hidden;background:#000
      }
      .watch-stage.md-player > video{object-fit:contain}
      .watch-desk-ctrl{display:block}
      .watch-side{display:block;width:min(360px,32vw);flex:0 0 auto;padding-top:0;max-height:calc(100vh - 96px);overflow-y:auto}
      .sheet{max-width:480px;bottom:4vh;border-radius:18px}
      .auth-page{max-width:480px;margin:0 auto}
      .wallet-page{padding:28px 24px 60px}
      .pay-grid{grid-template-columns:1fr 1fr}
    }
    @media (min-width:1280px){
      :root{--poster-w:236px;--poster-h:315px;--poster-gap:18px}
      .discover-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
      .d-search{width:300px}
      .watch-desk{padding-left:64px;padding-right:64px;gap:48px}
      .watch-side{width:400px}
      .watch-ep-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
    }
