:root{--bg:#0b0b0f;--surface:#16161d;--surface-2:#22222b;--surface-3:#2e2e3a;--border:#252531;--text:#f3f3f6;--muted:#9898a6;--accent:#fe2c55;--accent-soft:#3a121c;--ok:#23c07f;--warn:#f0b429;--danger:#ff5d5d;--radius:14px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body,html{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;overscroll-behavior-y:contain}body{min-height:100vh}a{color:inherit;text-decoration:none}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:rgba(11,11,15,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #1b1b24}.topbar h1{flex:1 1;margin:0;font-size:16.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-btn{position:relative;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:11px;background:var(--surface-2);color:var(--text);cursor:pointer;flex:none}.icon-btn:active{transform:scale(.94)}.icon-btn.accent{background:var(--accent);color:#fff}.icon-btn.ok{color:var(--ok)}.icon-btn.warn:after{content:"";position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;background:var(--warn)}.container{max-width:680px;margin:0 auto;padding:14px 12px calc(72px + env(safe-area-inset-bottom))}.btn{border:0;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;color:var(--text);background:var(--surface-2);display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn:active{transform:scale(.97)}.btn.primary{background:var(--accent);color:#fff}.btn.ghost{background:var(--surface-2)}.btn.danger{background:transparent;color:var(--danger);border:1px solid #3a2126}.btn:disabled{opacity:.45;cursor:default}.panel{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);margin-bottom:12px}.panel h2{margin:0;font-size:16px}.field{width:100%;padding:11px 13px;border-radius:10px;border:1px solid #2f2f3c;background:#101016;color:var(--text);font-size:14.5px;font-family:inherit;resize:vertical}.field:focus{outline:none;border-color:var(--accent)}.hint{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}.error-box{border-radius:10px;background:#2c1518;border:1px solid #4a2026;color:#ffb3b3;font-size:13px}.error-box,.notice{padding:10px 12px;line-height:1.45}.notice{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;border-radius:12px;background:#1e1912;border:1px solid #3f3018;font-size:12.5px;color:#e8cf9b}.notice .btn{padding:7px 12px;font-size:12.5px;flex:none}.auth-wrap{max-width:420px;margin:7vh auto 0;padding:0 14px}.auth-brand{text-align:center;margin-bottom:20px}.auth-brand h1{margin:10px 0 4px;font-size:22px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;padding:4px;border-radius:11px;background:#101016}.auth-tab{border:0;border-radius:8px;padding:9px;background:transparent;color:var(--muted);font-weight:600;font-family:inherit;cursor:pointer}.auth-tab.active{background:var(--surface-2);color:var(--text)}.pwd-wrap{position:relative;display:flex;align-items:center}.pwd-wrap .field{padding-right:58px}.pwd-toggle{position:absolute;right:8px;border:0;border-radius:7px;padding:5px 9px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:600;font-family:inherit;cursor:pointer}.strength-box{display:flex;flex-direction:column;gap:8px}.strength-bar{height:4px;border-radius:99px;background:var(--surface-2);overflow:hidden}.strength-bar i{display:block;height:100%;transition:width .2s,background .2s;background:var(--danger)}.strength-bar i[data-level="3"],.strength-bar i[data-level="4"]{background:var(--warn)}.strength-bar i[data-level="5"]{background:var(--ok)}.checklist{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted)}.checklist li.ok{color:var(--ok)}.divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.divider:after,.divider:before{content:"";flex:1 1;height:1px;background:var(--border)}.btn-google{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:10px 14px;border-radius:10px;border:1px solid #353545;background:#1d1d26;color:var(--text);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer}.btn-google:active{background:var(--surface-2)}.empty{margin:12vh auto 0;max-width:340px;text-align:center;color:var(--muted);line-height:1.55}.empty h2{color:var(--text);font-size:19px;margin:0 0 8px}.card-list{display:flex;flex-direction:column;gap:10px}.card{display:flex;gap:12px;padding:10px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border)}.card:active{background:var(--surface-2)}.card img{width:66px;height:90px;border-radius:9px;object-fit:cover;background:var(--surface-3);flex:none}.card-body{flex:1 1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px}.card-title{font-weight:700;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta{font-size:12.5px;color:var(--muted)}.card-progress{height:3px;border-radius:2px;background:var(--surface-3);overflow:hidden}.card-progress i{display:block;height:100%;background:var(--accent)}.vplayer-root{position:fixed;inset:0;z-index:70;height:100vh;height:100dvh;width:100%;background:#000;display:flex;flex-direction:column;overflow:hidden}.vplayer-top{flex:none;display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:linear-gradient(180deg,rgba(11,11,15,.96),rgba(11,11,15,.78));border-bottom:1px solid #1b1b24;z-index:2}.vplayer-meta{flex:1 1;min-width:0}.vplayer-title{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vplayer-sub{font-size:11.5px;color:var(--muted)}.vplayer-icon{position:relative;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.08);color:var(--text);cursor:pointer;flex:none}.vplayer-icon:active{transform:scale(.94)}.vplayer-icon.ok{color:var(--ok)}.vplayer-icon.warn:after{content:"";position:absolute;top:6px;right:6px;width:6px;height:6px;border-radius:50%;background:var(--warn)}.vplayer-float{position:absolute;top:calc(10px + env(safe-area-inset-top));right:12px;z-index:5;display:flex;gap:6px}.vplayer-pill{border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:6px 11px;background:rgba(12,12,18,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer}.vplayer-stage{flex:1 1;min-height:0;overflow:hidden}.vplayer-frame,.vplayer-stage{width:100%;display:flex;align-items:center;justify-content:center;background:#000;position:relative}.vplayer-frame{height:100%}@media (min-width:680px){.vplayer-frame{max-width:min(100%,560px)}}.vplayer-frame video{width:100%;height:100%;object-fit:contain;background:#000;display:block}.stage-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;text-align:center;background:rgba(8,8,12,.86)}.vplayer-err-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.spinner{width:32px;height:32px;border:3px solid #2e2e3a;border-top:3px solid var(--accent);border-radius:50%;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.vplayer-bottom{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(14,14,20,.96);border-top:1px solid #1e1e28;z-index:2}.chip-btn{border:0;border-radius:8px;padding:7px 10px;background:var(--surface-2);color:var(--text);font-size:12.5px;font-weight:600;font-family:inherit;cursor:pointer;flex:none}.chip-btn:disabled{opacity:.35;cursor:default}.vplayer-chip,.vplayer-ep-trigger{min-height:36px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.vplayer-ep-trigger{flex:1 1;min-width:0;gap:7px;background:var(--surface-3);color:#fff;border:1px solid rgba(255,255,255,.1)}.vplayer-ep-trigger span{overflow:hidden;text-overflow:ellipsis}@media (min-width:680px){.vplayer-bottom{justify-content:center}.vplayer-ep-trigger{flex:0 1 240px}}.ep-drawer-backdrop{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.64);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ep-drawer-sheet{width:100%;max-width:560px;max-height:74dvh;background:var(--surface);border-radius:20px 20px 0 0;border-top:1px solid var(--border);padding:10px 14px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;animation:sheetUp .18s ease-out}@keyframes sheetUp{0%{transform:translateY(24px);opacity:.7}to{transform:translateY(0);opacity:1}}.ep-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.ep-drawer-head h3{margin:0 0 2px;font-size:16px}.ep-drawer-body{overflow-y:auto;overscroll-behavior:contain;padding-bottom:4px}.drama-head{display:flex;gap:13px;margin-bottom:16px}.drama-poster{width:92px;height:124px;border-radius:10px;overflow:hidden;background:var(--surface-2);flex:none}.drama-poster img{width:100%;height:100%;object-fit:cover;display:block}.drama-info{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:6px}.drama-info h2{margin:0;font-size:17.5px;line-height:1.3}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-block;padding:3px 8px;border-radius:6px;background:var(--surface-2);color:#c5c5d1;font-size:11.5px;font-weight:600}.synopsis{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}.synopsis.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.more-btn{align-self:flex-start;padding:0;border:0;background:transparent;color:var(--text);font-size:12.5px;font-weight:600;font-family:inherit;cursor:pointer}.actions-row{display:flex;gap:8px;margin-bottom:16px}.actions-row .btn:first-child{flex:1 1}.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}.section-head h3{margin:0;font-size:16px}.section-head span{font-size:12.5px;color:var(--muted)}.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{flex:1 0 auto;min-width:88px;padding:8px 12px;border:0;border-radius:8px;background:var(--surface);color:var(--muted);font-size:13.5px;font-weight:600;font-family:inherit;cursor:pointer}.tab.active{background:#5a5a64;color:#fff}.grid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:8px;gap:8px}@media (min-width:560px){.grid{grid-template-columns:repeat(8,1fr)}}.ep{position:relative;aspect-ratio:1/1.1;border:1px solid transparent;border-radius:8px;background:var(--surface-2);color:var(--text);font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:3px;padding:0}.ep.playing{background:var(--accent-soft);color:var(--accent);border-color:rgba(254,44,85,.35)}.ep.error{background:#2c1518;color:var(--danger)}.eq-bars{display:inline-flex;align-items:flex-end;gap:2px;height:11px}.eq-bars i{display:block;width:2px;background:var(--accent);border-radius:1px;animation:eq .75s ease-in-out infinite alternate}.eq-bars i:first-child{height:5px;animation-delay:0s}.eq-bars i:nth-child(2){height:11px;animation-delay:.2s}.eq-bars i:nth-child(3){height:7px;animation-delay:.4s}@keyframes eq{0%{transform:scaleY(.45)}to{transform:scaleY(1)}}.ep i.watch{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.08);display:block}.ep i.fill{display:block;height:100%;background:var(--accent)}.modal{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.68)}.sheet{width:100%;max-width:540px;background:var(--surface);border-radius:20px 20px 0 0;padding:12px 16px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:11px}.sheet-handle{width:38px;height:4px;border-radius:99px;background:var(--surface-3);margin:0 auto 4px}.qr-box{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px;border-radius:12px;background:#101016;text-align:center}.qr-box img.qr-square{width:210px;height:210px;object-fit:contain;border-radius:10px;background:#fff;padding:8px}.qr-box img.qr-interactive{width:100%;max-width:520px;height:auto;border-radius:10px;border:1px solid var(--border);background:#000;cursor:pointer}