:root{color-scheme:dark;--yellow:#f7dc16;--bg:#101010;--muted:#888}*{box-sizing:border-box}body{margin:0;background:#080808;color:#eee;font:14px/1.5 system-ui,-apple-system,'Microsoft YaHei',sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.shell{max-width:520px;margin:auto;background:var(--bg);min-height:100vh;padding-bottom:78px}header{height:76px;display:flex;align-items:center;gap:12px;padding:12px 14px;background:#101010;position:sticky;top:0;z-index:5}.logo{display:flex;align-items:center;flex-shrink:0;gap:4px;font-size:20px;font-style:italic;line-height:1.1}.logo>span{color:var(--yellow);font-size:30px}.logo small{display:block;font-size:10px;letter-spacing:1px;color:var(--yellow)}#searchForm{min-width:0;flex:1}.search{display:flex;background:#191919;border:1px solid #292719;border-radius:24px;padding:9px 12px;align-items:center}.search input{min-width:0;width:100%;border:0;background:transparent;outline:none;color:white;font-size:13px}.search span{color:#aaa;font-size:20px}.header-action{padding:0;flex-shrink:0;color:#aaa;font-size:11px}.header-action b{display:block;border:1px solid #5a5012;border-radius:50%;width:31px;height:31px;line-height:28px;color:var(--yellow);font-size:21px;margin:auto}.top-categories{display:flex;gap:8px;overflow:auto;padding:4px 14px 14px;scrollbar-width:none;position:sticky;top:76px;background:#101010;z-index:4}.top-categories button{white-space:nowrap;border-radius:24px;padding:8px 16px;font-size:17px;font-weight:650;background:#1c1c1c;color:#aaa}.top-categories button.active{background:var(--yellow);color:#151300}main{padding:0 14px}.bar-title,.section-heading h2{font-size:19px;margin:12px 0 14px;line-height:1.2;border-left:4px solid var(--yellow);padding-left:8px}.hero{height:228px;position:relative;border:1px solid #504715;overflow:hidden;border-radius:14px;background:#1b1b17}.hero>img{width:100%;height:100%;object-fit:cover;opacity:.6}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.3) 80%)}.hero-copy{position:absolute;inset:15px 17px}.hero h1{font-size:24px;margin:0 0 7px;color:#fff}.hero-tags{font-size:12px;color:#e7d95a}.hero-copy p{max-width:82%;font-size:13px;color:#ddd;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0 13px}.primary{background:var(--yellow);color:#171500;border-radius:22px;padding:9px 22px;font-weight:700}.hero-label{position:absolute;right:10px;top:10px;background:#242013;color:#f6df68;padding:3px 8px;border-radius:5px;font-size:11px}.slider-dots{display:flex;justify-content:center;gap:6px;padding:11px}.slider-dots button{height:5px;width:5px;border-radius:10px;background:#4c4c4c;padding:0}.slider-dots button.active{width:17px;background:var(--yellow)}.section-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow,.section-heading h2 span{display:none}.sort-label{font-size:11px;color:#888}.sort-label select{background:#171717;border:0;color:#aaa;font-size:11px}.filters{display:flex;gap:6px;overflow:auto;margin:2px 0 10px}.filter{padding:5px 10px;color:#888;white-space:nowrap}.filter.active{color:var(--yellow);background:#29250b;border-radius:15px}.notice{color:#999;font-size:11px;padding:9px 10px;background:#191919;border-radius:7px;margin:0 0 13px}.notice>span{color:#d8c558;margin-right:7px}.notice button{display:none}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.cover{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:10px;background:#222}.cover-link{padding:0;width:100%;height:100%;text-align:left;position:relative}.cover-link:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8))}.cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.cover-link:hover img{transform:scale(1.04)}.badge{position:absolute;top:0;left:0;background:var(--yellow);color:#252000;padding:3px 8px;border-radius:0 0 8px 0;font-size:11px;z-index:1}.cover-title{position:absolute;bottom:16px;left:10px;right:10px;font-size:23px;letter-spacing:2px;font-weight:800;color:#fff;z-index:1}.save{position:absolute;right:7px;top:7px;background:#0008;border-radius:50%;font-size:20px;width:29px;height:29px;line-height:27px}.save.saved{color:var(--yellow)}.card-info h3{font-size:14px;margin:7px 0 3px}.card-line>span{display:none}.card-info p{font-size:11px;color:#888;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;background:#141414f5;border-top:1px solid #292929;display:flex;z-index:6;padding:7px 5px max(7px,env(safe-area-inset-bottom))}.nav{width:20%;font-size:11px;color:#888}.nav b{display:block;font-size:25px;line-height:28px;font-weight:400}.nav.active{color:var(--yellow)}.back-top{position:fixed;bottom:95px;right:max(16px,calc((100vw - 520px)/2 + 16px));background:var(--yellow);color:#171717;border-radius:50%;width:39px;height:39px;box-shadow:0 3px 12px #0006;font-size:21px}footer{text-align:center;font-size:11px;color:#666;padding:26px}.empty{text-align:center;padding:45px 15px}.empty h3{font-size:18px}.empty p{color:#888}.secondary{border:1px solid #635817;border-radius:22px;padding:8px 17px;color:#ebd95a}.empty>span{font-size:30px;color:var(--yellow)}dialog{color:#eee;background:#151515;border:1px solid #383322;border-radius:16px;width:min(480px,94vw);max-height:90vh;padding:0}dialog::backdrop{background:#000b}.close{position:absolute;right:12px;top:12px;border-radius:50%;background:#0009;z-index:2;width:32px;height:32px;font-size:25px}.detail-cover{height:180px;background-size:cover;background-position:center}.detail-content{padding:20px}.detail-content h2{margin:0 0 10px}.detail-content p{color:#aaa;font-size:13px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.episodes button{padding:8px 14px;background:#292929;border-radius:8px;color:#888}.episodes button:disabled{cursor:default}.detail-content video{width:100%;margin-top:20px}.availability,.credit{font-size:11px!important}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#eee;color:#171717;padding:10px 18px;border-radius:24px;max-width:90%;width:max-content;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}@media(min-width:700px){.shell{border-inline:1px solid #252525}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Reference layout measurements: 390px viewport, 68px header, 223px feature. */
:root{--yellow:#ffe033;--bg:#0a0a0a;--accent-gradient:linear-gradient(135deg,#ffe033,#f0b800)}body{background:#8e8e8e}.shell{max-width:506.25px;background:#0a0a0a;border:0;padding-bottom:140px}header{height:68.36px;padding:0 7.6px;gap:7.6px;background:#0a0a0a}.logo{width:119px;font-size:20px;gap:3px}.logo>span{width:29px;height:30px;line-height:30px;border-radius:50% 45% 45% 15%;background:var(--yellow);color:#171700;font-size:20px;text-align:center;transform:rotate(-8deg)}.logo small{letter-spacing:1.4px}.search{height:40px;padding:6px 11px}.search input{font-size:15px}.header-action{font-size:12px;width:45px}.header-action b{height:34px;width:34px;font-size:22px}.top-categories{height:60.75px;top:68.36px;padding:10.12px 12.66px;gap:10.13px;background:#0a0a0a}.top-categories button{height:40.5px;font-size:19px;padding:0 15.2px;line-height:40.5px;background:#151515;color:#bfbfbf;font-weight:700}.top-categories button.active{background:var(--accent-gradient);color:#0f172a}main{padding:19px 12.66px 0}.bar-title,.section-heading h2{height:32px;line-height:32px;font-size:21.53px;border:0;position:relative;padding-left:12px;margin:0}.bar-title:before,.section-heading h2:before{content:'';position:absolute;left:0;top:6.5px;height:19px;width:4px;border-radius:3px;background:linear-gradient(#ffe033,#84cc16)}.hero{display:flex;gap:12.66px;height:222.81px;margin-top:12.9px;padding:12.66px;border-radius:15.2px;border:1px solid #4a421a;background:linear-gradient(145deg,#1c1b18,#10100e 52%,#84cc1612)}.hero-copy{position:static;display:flex;flex-direction:column;min-width:0;flex:1}.hero h1{font-size:19px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}.hero-tags{margin-top:5px;line-height:22px;font-size:13px;color:#b0cf67}.hero-copy p{max-width:none;margin:5px 0 0;line-height:1.35;font-size:15.2px;-webkit-line-clamp:2;color:#ffffffb8}.hero-copy .primary{margin-top:auto;align-self:flex-start;padding:3.8px 12.66px;font-size:15.2px;line-height:22px;background:var(--accent-gradient);color:#0f172a}.hero-poster{position:relative;flex:0 0 42%;max-width:141.78px;height:187.36px;margin-top:2.53px;overflow:hidden;border-radius:7.6px}.hero-poster img{width:100%;height:100%;object-fit:cover}.hero-label{left:0;right:auto;top:0;border-radius:7px 0;padding:1px 7px;background:#df2c2c;color:white;font-size:13px}.poster-foot{position:absolute;bottom:0;left:0;width:100%;padding:5px 7px;font-size:12px;background:linear-gradient(transparent,#000b)}.slider-dots{height:15.2px;gap:6px;padding:5px 0}.slider-dots button{height:6.33px;width:6.33px}.slider-dots button.active{width:17.7px}.collection{margin-top:19px}.section-heading{height:32px;margin-bottom:19px}.sort-label,.filters,.notice{display:none!important}.grid{column-gap:12.66px;row-gap:19px}.cover{aspect-ratio:9/16;border-radius:10px}.cover-title{font-size:27px;bottom:50px;font-weight:800;text-shadow:0 2px 8px #0008}.cover-title:after{content:'故事封面 · 占位素材';display:block;font-size:10px;letter-spacing:1px;font-weight:400;margin-top:8px}.badge{font-size:14px;padding:2.5px 10px;border-radius:0 10px 0 10px;background:var(--accent-gradient)}.save{top:auto;bottom:8px;font-size:19px}.card-info h3{font-size:17.7px;line-height:1.35;margin:7.6px 0 5px}.card-info p{display:inline-block;font-size:12.6px;padding:1px 6px;background:#282820;color:#9ca3af;border-radius:3px}.bottom-nav{height:65.83px;max-width:506.25px;padding:7px 0 5px;background:#0a0a0af5}.nav{font-size:13px}.nav b{font-size:26px;line-height:30px}.download-guide{position:fixed;bottom:65.83px;left:50%;transform:translateX(-50%);width:100%;max-width:506.25px;height:54px;background:#191919f5;display:flex;align-items:center;gap:8px;padding:0 12px 0 8px;z-index:6;border-bottom:1px solid #292929}.download-guide>span:not(.app-icon){flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;color:#aaa}.download-guide>button:first-child{font-size:25px;color:#888;padding:0}.app-icon{background:var(--yellow);color:#181900;border-radius:50% 45% 45% 15%;width:28px;height:28px;line-height:28px;text-align:center}.download-guide>button:last-child{background:var(--accent-gradient);color:#131800;padding:5px 14px;border-radius:22px;font-size:14px;white-space:nowrap}.support{position:fixed;bottom:136px;right:max(24px,calc((100vw - 506.25px)/2 + 24px));height:61px;width:61px;border-radius:50%;background:var(--accent-gradient);color:#111;font-size:27px;z-index:5}.back-top{display:none}.download-closed .support{bottom:84px}.download-closed .shell{padding-bottom:88px}#toast{bottom:145px}footer{font-size:11px}@media(min-width:507px){header{height:73px}.top-categories{top:73px}.hero-poster{max-width:165px;height:213px}.hero{height:249px}.hero-copy p{-webkit-line-clamp:3}}@media(max-width:359px){.logo{width:100px;font-size:17px}.header-action{width:37px}.hero-poster{height:170px}.hero{padding:10px;gap:10px}.hero-copy p{font-size:14px}}

/* Live catalog */
.cover-title:after{content:none}.cover img{object-fit:cover}.card-info h3{font-size:15px}.hero-copy h1{font-size:24px}.hero-copy p{font-size:14px}.hero-poster img{object-fit:cover}#loadMore{display:block;margin:24px auto;min-width:160px}#loadMore[hidden]{display:none}#listStatus{font-size:13px;color:#aaa;margin:12px 0}.episodes button.active{background:#cee44a;color:#111}.detail-cover{overflow:hidden}.top-categories button{white-space:nowrap}#player{width:100%;max-height:65vh}.hero[hidden],#hero[hidden]{display:none}
