:root{--bg:#07090e;--panel:#101624;--panel2:#151c2e;--line:#242d40;--text:#f5f7fb;--muted:#9299a8;--gold:#ffca28;--gold2:#ffe38a;--green:#43d39e;--danger:#ff5f65;--radius:8px;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{background:#111}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0}a{color:inherit;text-decoration:none}button,input{font:inherit}.mobile-shell{width:100%;max-width:720px;min-height:100vh;margin:0 auto;background:var(--bg);position:relative;padding-bottom:calc(78px + var(--safe-bottom));box-shadow:0 0 40px #0006}.topbar{height:68px;padding:10px 14px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:20;background:rgba(9,12,20,.96);border-bottom:1px solid #1a2130;backdrop-filter:blur(14px)}.brand{color:var(--gold);font-size:29px;line-height:1;font-weight:1000;width:38px;text-align:center}.search{height:42px;min-width:0;flex:1;border:1px solid #2a3040;background:#111520;border-radius:23px;display:flex;align-items:center;padding:0 13px;gap:9px}.search svg{width:18px;color:var(--muted);flex:none}.search input{min-width:0;width:100%;border:0;outline:0;background:none;color:#fff;font-size:15px}.search input::placeholder{color:#888f9e}.icon-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid #2b3243;border-radius:50%;color:var(--gold);flex:none}.icon-button svg{width:20px}.coin-button{height:42px;padding:0 13px;display:flex;align-items:center;gap:6px;border:1px solid #5d5a47;border-radius:22px;background:#3b3a34;color:var(--gold);font-weight:800;white-space:nowrap}.coin-button svg{width:18px}.page-content{padding-bottom:18px}.category-strip{display:flex;gap:9px;overflow:auto;scrollbar-width:none;padding:10px 14px 12px}.category-strip::-webkit-scrollbar{display:none}.category-strip a,.segmented a{white-space:nowrap;padding:9px 17px;border:1px solid #2a3142;border-radius:20px;color:#acb2be;background:#111520;font-weight:650}.category-strip a.active,.segmented a.active{color:#251900;border-color:var(--gold);background:linear-gradient(135deg,var(--gold),#ffe585)}.hero{height:194px;margin:0 14px 18px;border-radius:var(--radius);background-size:cover;background-position:center;overflow:hidden;position:relative;border:1px solid #2c2a22}.hero:after,.wide-promo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,5,9,.95) 0,rgba(3,5,9,.58) 48%,rgba(3,5,9,.1) 100%)}.hero-copy{position:absolute;z-index:1;left:20px;top:20px;max-width:60%}.hero-copy .eyebrow{font-size:12px;color:var(--gold);font-weight:800}.hero-copy h1{font-size:26px;line-height:1.12;margin:7px 0}.hero-copy p{color:#d0d3da;font-size:13px;line-height:1.6;margin:0 0 14px}.hero-copy a{display:inline-flex;align-items:center;gap:5px;background:var(--gold);color:#191100;font-weight:800;border-radius:18px;padding:8px 16px;font-size:13px}.hero-copy a svg{width:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 14px 12px}.section-heading>div{display:flex;align-items:center;gap:9px}.section-heading>div>span{width:5px;height:24px;overflow:hidden;color:transparent;background:var(--gold);border-radius:3px}.section-heading h2{margin:0;font-size:19px}.section-heading>a{font-size:13px;color:#759dff;display:flex;align-items:center}.section-heading>a svg{width:15px}.section-heading em{font-size:13px;color:var(--muted);font-style:normal}.drama-grid{padding:0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.poster{display:block;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;position:relative;background:#171b24}.poster:after{content:"";position:absolute;left:0;right:0;bottom:0;height:30%;background:linear-gradient(transparent,#08090dbd)}.poster img{width:100%;height:100%;object-fit:cover;display:block}.corner-badge{position:absolute;z-index:2;top:0;left:0;background:#ff7d24;padding:5px 9px;border-radius:0 0 8px 0;font-weight:800}.hot{position:absolute;z-index:2;bottom:9px;left:8px;font-size:12px;font-weight:750;text-shadow:0 1px 4px #000;display:flex;align-items:center;gap:3px}.hot svg{width:14px;height:14px;color:var(--gold);fill:var(--gold)}.drama-card h3{font-size:16px;margin:8px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{display:flex;gap:6px}.meta span{font-size:11px;color:#929292;background:#292a2e;border-radius:3px;padding:3px 6px}.segmented{display:flex;gap:9px;padding:9px 14px}.mini-tabs{display:flex;gap:25px;padding:0 20px 12px;color:#888f9b;font-size:16px}.mini-tabs b{color:#fff;position:relative}.mini-tabs b:after{content:"";position:absolute;left:4px;right:4px;bottom:-8px;height:3px;border-radius:2px;background:var(--gold)}.wide-promo{height:164px;margin:10px 14px 18px;border-radius:var(--radius);background-size:cover;background-position:center;position:relative;overflow:hidden}.wide-promo>div{position:absolute;z-index:1;left:18px;bottom:20px;display:flex;flex-direction:column}.wide-promo small{color:var(--gold)}.wide-promo strong{font-size:25px;margin:3px 0}.wide-promo span{font-size:13px;color:#d2d5dd}.wish-hero{margin:14px;border:1px solid #26334a;background:linear-gradient(145deg,#101b2c,#09111e);border-radius:var(--radius);overflow:hidden}.wish-title{min-height:200px;padding:24px;background:linear-gradient(115deg,#09101dd9,#09101d80),url('../images/banner.jpg') center/cover}.wish-title>span{color:var(--gold);font-weight:800}.wish-title h1{font-size:27px;margin:6px 0}.wish-title p{font-size:13px;color:#d0d4df;max-width:330px;line-height:1.6}.wish-title a{display:inline-block;background:linear-gradient(90deg,var(--gold),var(--gold2));color:#281c00;font-weight:900;padding:9px 27px;border-radius:22px}.stats{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:7px}.stats div{min-height:76px;border:1px solid #253049;background:#141b2e;border-radius:var(--radius);display:grid;grid-template-columns:40px 1fr;grid-template-rows:1fr 1fr;align-items:center;padding:10px}.stats svg{grid-row:1/3;width:29px;color:#5e83ff}.stats div:nth-child(2) svg{color:#ff5268}.stats div:nth-child(3) svg{color:#42b7ff}.stats div:nth-child(4) svg{color:#ff5d88}.stats span{font-size:12px;color:#858da0}.stats strong{font-size:21px}.rank-categories{margin-bottom:10px}.rank-list{display:flex;flex-direction:column;gap:12px;padding:0 14px}.rank-item{min-height:140px;display:grid;grid-template-columns:48px 76px minmax(0,1fr) 70px;align-items:center;gap:10px;border:1px solid #263044;border-radius:var(--radius);background:#101725;padding:12px}.rank-number{font-size:30px;text-align:center;color:#aeb7d0}.rank-item:nth-child(1) .rank-number{color:var(--gold)}.rank-item:nth-child(2) .rank-number{color:#b888ff}.rank-item:nth-child(3) .rank-number{color:#49d7a6}.rank-item>img{width:76px;height:108px;object-fit:cover;border-radius:6px}.rank-copy{min-width:0}.rank-copy h3{font-size:16px;margin:0 0 7px}.rank-copy p{color:#a1a9ba;line-height:1.45;font-size:12px;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vote{text-align:center}.vote strong{display:block;color:#6b91ff;font-size:17px}.vote small{display:block;color:#7e8798;font-size:10px;margin:4px 0 8px}.vote button{border:0;background:var(--gold);color:#201500;border-radius:18px;padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer}.page-title{padding:24px 16px}.page-title span{font-size:12px;color:var(--gold);font-weight:800}.page-title h1{font-size:27px;margin:5px 0}.page-title p{color:var(--muted);margin:6px 0}.category-section{margin-bottom:24px}.horizontal-list{display:flex;gap:10px;overflow-x:auto;padding:0 14px 5px;scrollbar-width:none}.horizontal-list a{width:130px;flex:none}.horizontal-list img{display:block;width:130px;aspect-ratio:3/4;object-fit:cover;border-radius:var(--radius)}.horizontal-list strong,.horizontal-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.horizontal-list strong{font-size:14px;margin-top:7px}.horizontal-list small{font-size:11px;color:var(--muted);margin-top:4px}.profile-head{height:112px;padding:20px;display:flex;align-items:center;gap:14px;background:radial-gradient(circle at 100% 0,#46173a 0,transparent 42%),radial-gradient(circle at 0 0,#0d4149 0,transparent 42%)}.profile-head img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid #fff}.profile-head div{flex:1}.profile-head h1{font-size:24px;margin:0 0 5px}.profile-head p{margin:0;color:#9299a5}.profile-head>a{color:var(--gold)}.wallet{margin:0 14px 16px;background:#171d2d;border:1px solid #303a53;border-radius:var(--radius);display:grid;grid-template-columns:1fr auto 1px 1fr auto;align-items:center;gap:12px;padding:18px}.wallet span,.wallet strong,.wallet small{display:block}.wallet span{font-weight:800}.wallet strong{font-size:23px;color:var(--gold);margin:6px 0}.wallet small{color:#8f97aa;font-size:11px}.wallet button{border:0;border-radius:7px;background:var(--gold);color:#281d00;font-weight:800;padding:9px 13px}.wallet .divider{height:64px;background:#42495c}.task-banner{height:76px;margin:0 14px 20px;padding:14px 16px;display:flex;align-items:center;gap:13px;background:#151c30;border:1px solid #2c3650;border-radius:var(--radius)}.task-banner>svg:first-child{background:#5ed8c7;color:#071b1a;padding:10px;width:44px;height:44px;border-radius:9px}.task-banner div{flex:1}.task-banner b,.task-banner span{display:block}.task-banner span{color:#929aab;font-size:12px;margin-top:4px}.profile-tabs{padding-left:24px;font-size:18px}.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-grid .poster{aspect-ratio:2/3}.compact-grid h3{font-size:14px}.compact-grid .meta{display:none}.login-panel{margin:40px 16px;padding:32px 24px;text-align:center;background:#121827;border:1px solid #2a3449;border-radius:var(--radius)}.login-panel>svg{width:52px;height:52px;color:var(--gold)}.login-panel h1{margin:12px 0 6px}.login-panel p,.login-panel small{color:var(--muted)}.login-panel form{display:flex;flex-direction:column;gap:10px;margin:24px 0 12px}.login-panel input{height:46px;border:1px solid #2e384d;background:#0c111c;border-radius:6px;color:#fff;padding:0 13px;outline:0}.login-panel button{height:46px;border:0;border-radius:6px;background:var(--gold);font-weight:900;color:#271c00}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:30;width:100%;max-width:720px;height:calc(74px + var(--safe-bottom));padding:9px 7px var(--safe-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(7,9,14,.97);border:1px solid #191e29;border-radius:8px 8px 0 0;backdrop-filter:blur(14px)}.bottom-nav a{height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#9da2ad;font-size:11px}.bottom-nav svg{width:24px;height:24px}.bottom-nav a.active{color:var(--gold);font-weight:800}.toast{position:fixed;z-index:60;left:50%;bottom:95px;transform:translate(-50%,20px);padding:10px 18px;border-radius:6px;background:#f4f4f4;color:#151515;font-size:13px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
.watch-shell{max-width:720px;margin:0 auto;min-height:100vh;background:#07090e}.watch-topbar{height:56px;padding:0 14px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;position:sticky;top:0;z-index:20;background:rgba(7,9,14,.97);border-bottom:1px solid #1b2130}.watch-topbar h1{margin:0;text-align:center;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.watch-back,.topbar-spacer{width:38px;height:38px}.watch-back{display:grid;place-items:center;border-radius:50%;color:#fff}.watch-back:hover{background:#171d2a}.watch-back svg{width:24px;height:24px}.player{aspect-ratio:16/10;background:#0c1018;position:relative;display:grid;place-items:center;overflow:hidden}.player>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.62}.player:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#07090e)}.play-button{position:relative;z-index:2;width:68px;height:68px;border-radius:50%;border:1px solid #ffffff88;background:#ffffff22;color:#fff;display:grid;place-items:center}.play-button svg{width:30px;fill:#fff}.watch-info{position:relative;margin-top:-22px;z-index:2;padding:0 16px}.watch-info h1{font-size:25px;margin:0}.watch-info .subtitle{color:#c6cad4;margin:7px 0}.watch-actions{display:flex;gap:10px;margin:16px 0}.watch-actions button{flex:1;height:43px;border:1px solid #313949;border-radius:6px;background:#131923;color:#fff;display:flex;align-items:center;justify-content:center;gap:6px}.watch-actions button.primary{background:var(--gold);border-color:var(--gold);color:#221800;font-weight:800}.watch-actions svg{width:18px}.description{color:#a4aab5;font-size:14px;line-height:1.7}.episode-panel{padding:6px 16px 30px}.episode-panel h2{font-size:18px}.episodes{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.episodes button{aspect-ratio:1;border:1px solid #293142;background:#121722;color:#c4c8d1;border-radius:6px}.episodes button.active{background:var(--gold);border-color:var(--gold);color:#211800;font-weight:800}
@media(max-width:520px){.coin-button span{display:none}.coin-button{width:42px;padding:0;justify-content:center}.hero{height:170px}.hero-copy h1{font-size:22px}.rank-item{grid-template-columns:35px 65px minmax(0,1fr) 57px;padding:9px;gap:8px}.rank-item>img{width:65px;height:94px}.rank-copy p{display:none}.vote button{padding:6px 8px}.wallet{grid-template-columns:1fr auto;gap:8px}.wallet .divider{display:none}.wallet button{padding:8px}.stats strong{font-size:18px}}
@media(min-width:900px){body{background:#11151d}.mobile-shell,.watch-shell{border-left:1px solid #242a36;border-right:1px solid #242a36}}
.more-heading{margin-top:24px}
.player video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;z-index:1}
.player.has-video:after{display:none}.video-error{display:none;position:absolute;z-index:2;inset:0;background:#080b12e8;align-items:center;justify-content:center;flex-direction:column;text-align:center}.video-error.show{display:flex}.video-error svg{width:34px;height:34px;color:#ffca28;margin-bottom:8px}.video-error strong{font-size:16px}.video-error span{font-size:12px;color:#aeb5c2;margin-top:5px}
