/* Source section: style.css */
:root{font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;color:#e8ece9;background:#121212;font-synthesis:none;font-weight:400;color-scheme:dark;--muted:#898989;--line:#2b2b2b;--accent:#cacaca}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button{border:0;background:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}input,textarea,select{min-width:0}input,textarea{outline:none}button{transition:background .18s,transform .18s}button:hover:not(:disabled){filter:brightness(1.09)}.app-shell{min-height:100vh}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:35px 22px 24px;background:#151515;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:2px;padding:0 10px;margin-bottom:46px}.brand-icon{background:var(--accent);color:#191919;display:grid;place-items:center;width:32px;height:36px;border-radius:10px;transform:rotate(-7deg)}.brand-icon svg{transform:rotate(7deg)}.brand-en{font-size:10px;letter-spacing:1px;color:#999999;align-self:flex-end;margin-bottom:4px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#6f6f6f;padding:0 13px;margin:10px 0 18px}nav button{display:flex;align-items:center;gap:13px;width:100%;padding:14px 13px;border-radius:7px;color:#9e9e9e;font-size:13px;margin-bottom:7px}nav button.active{background:#282828;color:var(--accent)}.nav-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;margin-left:auto}.nav-divider{height:1px;background:var(--line);margin:28px 12px}.creator-promo{margin-top:auto;background:linear-gradient(135deg,#292929,#1d1d1d);border:1px solid #373737;padding:19px 17px;border-radius:10px}.small-icon{color:var(--accent)}.creator-promo h3{font-size:14px;margin:11px 0 8px}.creator-promo p{font-size:11px;line-height:1.9;color:#979797}.creator-promo button{display:flex;align-items:center;justify-content:space-between;background:#cfcfcf;color:#282828;width:100%;font-size:11px;font-weight:600;padding:10px;border-radius:5px;margin-top:19px}.sidebar-bottom{font-size:10px;color:#777777;margin-top:27px;padding-left:5px}.sidebar-bottom>span:last-child{display:block;margin:10px 0 0 12px;color:#545454;font-size:9px}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b1b1b1;margin-right:8px}.main-shell{margin-left:222px}.topbar{height:88px;border-bottom:1px solid var(--line);padding:0 43px;display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:14px;color:#7e7e7e;font-size:11px;white-space:nowrap}.breadcrumb strong{color:#c7c7c7;font-weight:400}.top-actions{display:flex;align-items:center;gap:24px}.search{display:flex;align-items:center;gap:9px;color:#747474;background:#1e1e1e;border:1px solid #2c2c2c;padding:9px 12px;border-radius:7px}.search input{border:0;background:none;color:#d3dbd4;font-size:11px;width:166px}.search>span{color:#787878;font-size:16px}.login-button{font-size:11px;display:flex;align-items:center;gap:10px;color:#d5d5d5;white-space:nowrap}.user-chip{font-size:12px;display:flex;gap:8px;align-items:center}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:8px;color:#afafaf;border-radius:5px}.icon-button:hover{background:#353535}main{max-width:1510px;margin:0 auto;padding:34px 43px 0}.page-heading{position:relative;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#9c9c9c;margin-bottom:12px;font-weight:500}h1{font-size:29px;font-weight:600;letter-spacing:1px;line-height:1.5}h1>span{color:var(--accent)}.page-heading p{font-size:11px;color:#8a8a8a;margin-top:11px;line-height:1.9}.curated{position:absolute;right:0;bottom:4px;font-size:10px;color:#a2a2a2}.hero{height:356px;border-radius:11px;overflow:hidden;position:relative;border:1px solid #3a3a3a;background-size:cover;background-position:center;background-color:#293e39}.mountain-scene{position:absolute;inset:0;background:linear-gradient(110deg,#1e1e1e 0%,#3e645e 50%,#acacac 100%);overflow:hidden}.sun{width:150px;height:150px;background:#d4d4d4;border-radius:50%;position:absolute;right:16%;top:8%;opacity:.3;filter:blur(4px)}.ridge{position:absolute;width:95%;height:95%;right:-18%;bottom:-22%;clip-path:polygon(0 100%,0 62%,13% 37%,18% 46%,32% 4%,40% 20%,46% 12%,56% 44%,64% 35%,76% 63%,83% 51%,100% 70%,100% 100%)}.ridge-back{background:linear-gradient(150deg,#7c7c7c,#294e49);bottom:0;right:-12%;opacity:.7}.ridge-mid{background:linear-gradient(130deg,#858585 0%,#454545 40%,#1c3d35 100%);right:-29%;bottom:-18%;transform:scaleX(-1)}.ridge-front{background:linear-gradient(150deg,#484848,#1a1a1a);right:-40%;bottom:-49%;width:100%}.mist{position:absolute;inset:0 0 auto;height:calc(100% * 2 / 3);background:linear-gradient(90deg,rgba(6,19,14,.94),rgba(6,19,14,.75) 29%,transparent 75%),linear-gradient(0deg,#13131380,transparent 45%)}.hero-content{position:relative;padding:30px 36px;max-width:580px}.hero-label{display:inline-flex;gap:6px;align-items:center;background:#cdcdcd17;border:1px solid #b3b3b333;color:#cecece;font-size:9px;border-radius:4px;padding:5px 9px}.hero-kicker{font-size:10px;color:#acacac;margin-top:25px;letter-spacing:2px}.hero h2{font-size:46px;letter-spacing:7px;font-weight:500;margin:7px 0 11px}.hero p{color:#aeaeae;font-size:11px;line-height:1.9;max-width:350px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hero-meta{display:flex;gap:11px;align-items:center;color:#b5b5b5;font-size:9px;margin:15px 0 22px}.hero-meta i{width:2px;height:2px;background:#a2a2a2;border-radius:50%}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:6px;font-size:12px;font-weight:500}.primary{color:#272727;background:var(--accent)}.secondary{background:#2a2a2a;border:1px solid #424242;color:#d5d5d5}.hero-index{position:absolute;bottom:27px;right:31px;color:#c3c3c3;font-size:10px;letter-spacing:2px}.hero-index>span{font-size:18px;color:#ececec}.hero-index div{height:2px;background:linear-gradient(90deg,#d4d4d4 25%,#bcbcbc4d 25%);width:104px;margin-top:11px}.discovery{margin-top:35px}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading h2{font-size:18px;font-weight:500}.section-heading h2 span{font-size:9px;margin-left:14px;color:#747474;font-weight:400}.muted{color:var(--muted);font-size:12px;line-height:1.9}.filter-row{display:flex;justify-content:space-between;align-items:center;margin:22px 0}.tabs{display:flex;gap:10px;flex-wrap:wrap}.tabs button{font-size:11px;padding:7px 17px;border-radius:5px;color:#9b9b9b;border:1px solid transparent}.tabs button.selected{background:#d1d1d1;color:#272727}.tabs button:hover{border-color:#5a5a5a}.sort-label{font-size:10px;color:#828282;white-space:nowrap}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.film-card{text-align:left;padding:0;min-width:0}.poster{aspect-ratio:1.35;position:relative;overflow:hidden;border-radius:8px;isolation:isolate;background:#3e3e3e}.poster img{width:100%;height:100%;object-fit:cover}.art-mountain.poster{background:linear-gradient(160deg,#8d8d8d,#393939 58%,#212121)}.poster-shape{position:absolute;inset:0;z-index:-1}.art-mountain .poster-shape{clip-path:polygon(0 80%,30% 15%,44% 44%,66% 0,100% 85%,100% 100%,0 100%);background:linear-gradient(120deg,#313131,#898989 48%,#292929 51%);transform:translateY(10%)}.poster-type{position:absolute;top:16px;left:15px;font-size:6px;letter-spacing:2px;color:#dfdfdfb0}.poster-title{position:absolute;top:37%;left:8%;width:84%;text-align:center;font-size:26px;font-weight:500;letter-spacing:6px;color:#faf5e8;text-shadow:0 2px 18px #0006}.poster-title small{display:block;font-size:5px;letter-spacing:2px;margin-top:8px}.art-city{background:linear-gradient(150deg,#182938,#704234 75%,#151b21)}.art-city .poster-shape{background:repeating-linear-gradient(90deg,transparent 0 17%,#101b2bb0 17% 23%),repeating-linear-gradient(0deg,transparent 0 12%,#182437 12% 18%);transform:perspective(100px) rotateY(-8deg);inset:5% 13% -30% 5%}.art-city .poster-title{color:#f8b5a0;text-shadow:0 0 15px #f1856b;letter-spacing:4px}.art-food{background:radial-gradient(ellipse at 67% 48%,#817348 0 17%,#d8c8a4 18% 24%,#515151 25% 27%,transparent 28%),linear-gradient(120deg,#343434,#99916e)}.art-food .poster-shape{background:repeating-linear-gradient(90deg,#19191914 0 12%,#c2ac731f 12% 13%);transform:rotate(-15deg) scale(1.4)}.art-food .poster-title{font-family:serif;left:7%;top:30%;width:35%;line-height:1.5;text-align:left;letter-spacing:8px}.art-food .poster-title small{display:none}.art-sea{background:linear-gradient(170deg,#c8c8c8 0 30%,#4c9294 31% 42%,#c5c5c5 43% 44%,#367878 45% 55%,#b7b7b7 56% 59%,#c5b791 60%)}.art-sea .poster-shape{inset:20% -20% -20%;background:repeating-linear-gradient(173deg,transparent 0 19%,#e8e8e842 20% 21%,transparent 22% 28%);transform:rotate(-10deg)}.art-sea .poster-title{color:#f6f0da}.free-badge{position:absolute;left:11px;bottom:11px;background:#d8d8d8;color:#2e2e2e;padding:4px 7px;border-radius:3px;font-size:8px}.episode-badge{position:absolute;right:10px;bottom:12px;color:#f1f1e3;background:#18181870;padding:4px 6px;border-radius:3px;font-size:8px}.poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#cccccc;color:#2b2b2b;opacity:0;transition:.2s}.film-card:hover .poster-play{opacity:1}.card-title{display:flex;justify-content:space-between;align-items:center;margin-top:14px;color:#d3d3d3}.card-title h3{font-size:14px;font-weight:500}.card-title svg{color:#767676}.card-meta{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#7e7e7e;margin-top:8px;line-height:1.6;flex-wrap:wrap}.tiny-dot{margin:0 3px}.price{color:#c7c7c7;font-size:11px}.price small{color:#7d7d7d;font-size:8px}.value-strip{border:1px solid #2e2e2e;border-radius:8px;display:grid;grid-template-columns:repeat(3,1fr);margin:37px 0 32px;padding:24px 20px;background:#1a1a1a}.value-strip>div{display:flex;align-items:center;justify-content:center;gap:14px;border-right:1px solid #2f2f2f}.value-strip>div:last-child{border:0}.value-icon{color:#a7a7a7;display:flex}.value-icon svg{width:24px;height:24px;stroke-width:1.3}.value-strip h3{font-size:11px;font-weight:500}.value-strip p{font-size:9px;color:#787878;margin-top:5px}footer{border-top:1px solid var(--line);padding:21px 0;display:flex;gap:22px;font-size:9px;color:#656565;margin-top:32px}footer>span:last-child{margin-left:auto}.footer-brand{letter-spacing:2px;color:#a4a4a4}.connection-banner{font-size:11px;padding:10px 14px;border:1px solid #554c31;background:#2a281e;border-radius:6px;color:#bfba98;margin-bottom:23px;display:flex;justify-content:space-between;gap:10px}.connection-banner button{color:var(--accent);white-space:nowrap}.empty{padding:65px 20px;text-align:center;color:#878787;font-size:13px;border:1px dashed #373737;border-radius:8px;display:flex;align-items:center;flex-direction:column;gap:16px}.back-button{font-size:12px;color:#9f9f9f;display:flex;align-items:center;gap:6px;margin-bottom:23px;padding:0}.detail-heading h1{margin:12px 0}.detail-heading p{font-size:13px;line-height:1.9;color:#969696;max-width:800px;white-space:pre-wrap}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;margin:28px 0}.player{background:#070707;border-radius:9px;overflow:hidden;align-self:start;border:1px solid var(--line)}.player video{display:block;width:100%;aspect-ratio:16/9;background:black}.player-placeholder{aspect-ratio:16/9;display:flex;justify-content:center;align-items:center;flex-direction:column;background:radial-gradient(ellipse at top,#313131,#0b0b0b);gap:15px}.play-orb{background:#cfcfcf20;color:#cccccc;border:1px solid #5c5c5c;border-radius:50%;width:75px;height:75px;display:grid;place-items:center}.player-placeholder h2{font-size:20px;font-weight:400}.player-placeholder p{color:#8a8a8a;font-size:11px}.player-caption{padding:16px;font-size:12px;color:#b8b8b8}.episode-panel{background:#1b1b1b;border:1px solid var(--line);padding:20px;border-radius:8px;max-height:550px;overflow:auto}.episode-panel h3{font-size:16px;font-weight:500;display:flex;justify-content:space-between}.episode-panel h3 span{color:#7f7f7f;font-size:11px}.episode-panel>.muted{font-size:10px;margin:10px 0 20px}.episode-row{display:flex;align-items:center;gap:12px;padding:13px 9px;border:1px solid #2f2f2f;border-radius:5px;width:100%;margin:9px 0;text-align:left}.episode-row.current{border-color:#a1a1a1;background:#2f2f2f;color:#d0d0d0}.episode-number{font-size:15px;color:#909090}.episode-name{font-size:12px;flex:1}.episode-name small{display:block;font-size:10px;color:#8d8d8d;margin-top:6px}.studio-heading{display:flex;align-items:center;justify-content:space-between}.studio-row,.order-row{display:flex;align-items:center;gap:22px;padding:25px;background:#1c1c1c;border:1px solid var(--line);border-radius:8px;margin-bottom:14px}.studio-art{width:65px;height:65px;border-radius:7px;background:linear-gradient(135deg,#515151,#272727);display:grid;place-items:center;color:#bbbbbb}.studio-row h3,.order-row h3{font-size:16px;font-weight:500}.studio-row p,.order-row p{font-size:12px;color:#8e8e8e;margin-top:8px}.studio-row button{margin-left:auto}.order-row>div{flex:1}.order-row small{font-size:10px;color:#6e6e6e;display:block;margin-top:8px}.order-row strong{font-size:16px;color:#c2c2c2}.status{font-size:10px;color:#c7b982;background:#393525;padding:5px 9px;border-radius:4px;white-space:nowrap}.status.green{color:#b8b8b8;background:#2f2f2f}.editor-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.editor-heading>div{display:flex;align-items:center;gap:16px}.editor-heading h2{font-size:22px;font-weight:500}.editor-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.panel{background:#1c1c1c;border:1px solid var(--line);padding:24px;border-radius:8px}.panel>h3{font-size:15px;font-weight:500;display:flex;align-items:center;gap:10px;margin-bottom:12px}.panel>.muted{font-size:11px;margin-bottom:22px}.episode-editor{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.episode-editor>input{flex:1;width:40%}.episode-editor input{font-size:11px;padding:9px}.episode-editor .price-input{display:flex;align-items:center;gap:2px;max-width:95px;font-size:12px;color:#a0a0a0;margin:0}.price-input input{width:78px}.panel form>label,.modal form>label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#b4b4b4;margin:17px 0}.panel form small,.modal form small{color:#7a7a7a;font-size:10px;line-height:1.6}input,select,textarea{background:#141414;border:1px solid #383838;border-radius:5px;padding:11px 12px;color:#dddddd;width:100%;font-size:13px}textarea{resize:vertical}input[type=file]{font-size:11px;padding:18px 10px;border-style:dashed}input::placeholder,textarea::placeholder{color:#5b5b5b}.full{width:100%;margin-top:12px}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#070707cf;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:450px;max-width:100%;max-height:90vh;overflow:auto;background:#202020;border:1px solid #454545;border-radius:14px;padding:29px;box-shadow:0 30px 120px #0009;outline:none}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modal-heading h2{font-size:22px;font-weight:500}.text-button{font-size:12px;display:block;margin:20px auto 0;color:#bababa}.toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translateX(-50%);z-index:100;display:flex;align-items:center;gap:22px;max-width:80vw;padding:16px 21px;background:#d7d7d7;color:#292929;border-radius:8px;box-shadow:0 10px 35px #0006;font-size:12px}.toast button{padding:0;display:flex}.checkout-summary{text-align:center;padding:20px 0}.checkout-summary h3{font-size:18px;font-weight:500;margin:15px 0 9px}.checkout-summary p{color:#929292;font-size:12px}.checkout-summary strong{font-size:40px;font-weight:500;display:block;color:#d0d0d0;margin-top:20px}.payment-note{padding:15px;background:#2f2f2f;color:#b5b5b5;border-radius:6px;font-size:11px;line-height:1.8;margin:12px 0}.upload-progress{display:flex;flex-direction:column;gap:8px}progress{width:100%;accent-color:var(--accent)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1500px){main{padding-top:43px}.hero{height:420px}.hero-content{padding:43px}.hero h2{font-size:57px}.hero-kicker{margin-top:30px}.hero p{font-size:13px}.hero-meta{margin-top:19px;margin-bottom:27px}.poster{aspect-ratio:1.38}.poster-title{font-size:34px}.card-title h3{font-size:16px}.card-meta{font-size:11px}.value-strip{padding:28px}.value-strip h3{font-size:13px}}
@media(max-width:1150px){.sidebar{width:190px;padding-left:16px;padding-right:16px}.main-shell{margin-left:190px}.topbar{padding:0 25px}main{padding:28px 25px 0}.curated{display:none}.card-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.poster{aspect-ratio:1.6}.hero-content{padding:27px}.hero h2{font-size:40px}.top-actions{gap:13px}.search input{width:125px}.watch-layout{grid-template-columns:minmax(0,1fr)}.episode-panel{max-height:none}.editor-layout{grid-template-columns:1fr}.value-strip{padding:20px 10px;gap:10px}.value-strip>div{gap:8px}.value-icon svg{width:19px}.value-strip p{font-size:8px}.order-row{flex-wrap:wrap}.order-row>div{min-width:50%}}
@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto;padding:16px 20px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:23px;margin:0 0 17px;padding:0}.brand-icon{height:29px;width:28px}.sidebar>.nav-label,.nav-label,.nav-divider,.creator-promo,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:10px}.sidebar nav button{width:auto;padding:9px;font-size:11px;gap:6px;margin:0;flex:1;justify-content:center;white-space:nowrap}.sidebar nav button svg{width:15px}.nav-dot{display:none}.main-shell{margin:0}.topbar{height:67px;padding:0 20px;gap:10px}.breadcrumb{display:none}.top-actions{width:100%;justify-content:space-between;gap:10px}.search{flex:1;max-width:260px}.search input{width:100%}.search>span{display:none}.login-button{font-size:10px}main{padding:25px 20px 0}h1{font-size:23px}.eyebrow{font-size:8px;letter-spacing:2px}.page-heading p{font-size:10px;max-width:320px}.hero{height:340px}.hero-content{padding:23px}.hero h2{font-size:37px;letter-spacing:4px}.hero-kicker{margin-top:25px}.hero p{max-width:240px;font-size:10px}.hero-meta{font-size:8px;gap:7px}.hero-index{right:16px;bottom:18px;font-size:8px}.hero-index div{width:55px}.hero-index span{font-size:13px}.hero .primary{font-size:10px;padding:11px 14px}.section-heading h2{font-size:16px}.section-heading h2 span{display:none}.tabs{gap:2px}.tabs button{font-size:10px;padding:7px 10px}.sort-label{display:none}.filter-row{margin:18px 0}.card-grid{gap:22px 13px}.poster{aspect-ratio:.9}.poster-title{font-size:23px;letter-spacing:4px}.poster-type{font-size:5px;left:9px;letter-spacing:1px}.poster-title small{font-size:4px;letter-spacing:1px}.card-title h3{font-size:13px}.card-meta{font-size:9px}.card-meta .price{width:100%;font-size:10px}.free-badge{left:7px;font-size:7px;padding:4px}.episode-badge{right:6px;font-size:7px;padding:4px}.value-strip{grid-template-columns:1fr;padding:20px;gap:21px}.value-strip>div{border:0;justify-content:flex-start;gap:16px}.value-strip h3{font-size:12px}.value-strip p{font-size:10px}.value-icon svg{width:25px;height:25px}footer{gap:14px;flex-wrap:wrap;font-size:8px}footer>span:last-child{display:none}.connection-banner{font-size:10px}.toast{left:50%;max-width:90vw;width:max-content;font-size:11px}.modal{padding:22px}.studio-heading{align-items:flex-start;gap:10px}.studio-heading .primary{padding:10px;font-size:10px;white-space:nowrap}.studio-row{padding:17px;gap:13px;flex-wrap:wrap}.studio-art{width:45px;height:45px}.studio-row h3{font-size:14px}.studio-row p{font-size:10px}.studio-row button{font-size:10px}.order-row{padding:17px;gap:14px}.order-row h3{font-size:14px}.order-row small{font-size:8px}.player-placeholder h2{font-size:16px}.player-placeholder p{font-size:9px}.play-orb{width:50px;height:50px}.player-placeholder{gap:12px;padding:20px}.editor-heading h2{font-size:17px}.editor-heading{gap:10px}.editor-heading .primary{font-size:10px;padding:10px;white-space:nowrap}.panel{padding:17px}.episode-editor{gap:6px}.episode-editor .price-input{max-width:80px}.price-input input{width:65px}.user-chip{font-size:10px;max-width:95px;overflow:hidden;white-space:nowrap}}


/* Source section: upgrades.css */
/* Portrait posters: the same 4:5 shape on every device. */
.hero-cover{height:100%;width:100%;object-fit:cover;object-position:center}
.poster{aspect-ratio:4/5!important}
.poster img{object-fit:cover;object-position:center}
.poster-title{font-size:clamp(21px,2.3vw,36px);line-height:1.65;overflow-wrap:anywhere}
.poster-type{top:20px}.poster-title small{line-height:2.4}
.free-badge,.episode-badge{font-size:10px;bottom:14px}
.card-title h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-meta{line-height:1.8}.card-meta .price{font-size:12px}
.drama-summary{display:flex;gap:32px;padding:25px;background:linear-gradient(115deg,#2a2a2a,#191919);border:1px solid #373737;border-radius:12px;align-items:center}
.detail-poster{width:152px;flex:none;border:1px solid #595959}
.detail-poster .poster-title{font-size:24px;letter-spacing:3px}
.detail-heading{flex:1;min-width:0}.detail-heading h1{overflow-wrap:anywhere}
.detail-heading p{max-width:760px;max-height:150px;overflow:auto;font-size:12px}
.drama-facts{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:11px;color:#a5a5a5;margin-bottom:17px}
.free-text{color:#cacaca!important}.detail-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:22px}
.detail-actions>.muted{font-size:10px}
.watch-layout{grid-template-columns:minmax(0,1fr) 340px}.episode-row{gap:10px;padding:15px 10px;min-height:72px}
.episode-name{min-width:0;overflow-wrap:anywhere;line-height:1.6}
.episode-cost{font-size:12px;color:#edcb93;display:flex;flex-direction:column;align-items:center;gap:8px;flex-shrink:0}
.episode-panel{max-height:620px}.episode-panel>.muted{line-height:1.8}
.checkout-summary>p:first-of-type{margin-top:14px}.upload-progress[hidden]{display:none}
@media(max-width:1150px){.watch-layout{grid-template-columns:1fr}.episode-panel{max-height:none}.episode-row{padding:16px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card-meta .price{width:100%}.poster-title{font-size:25px}.free-badge,.episode-badge{font-size:8px}.detail-poster{width:140px}}
@media(max-width:760px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.poster-title{font-size:26px}.drama-summary{padding:18px;gap:17px;align-items:flex-start}.detail-poster{width:95px}.detail-poster .poster-title{font-size:18px;letter-spacing:2px}.detail-heading h1{font-size:22px;margin:7px 0 12px}.detail-heading .eyebrow{font-size:8px;letter-spacing:1px}.drama-facts{font-size:10px;gap:7px 12px;margin-bottom:12px}.detail-heading p{font-size:10px;max-height:85px}.detail-actions{margin-top:16px;gap:10px}.detail-actions>.muted{font-size:9px}.detail-actions .primary{font-size:10px;padding:10px 12px}.episode-panel{padding:17px}.episode-row{min-height:77px}.episode-cost{font-size:13px}.free-badge,.episode-badge{font-size:9px}}


/* Source section: wallet.css */
.wallet-chip{padding:8px 12px;border-radius:20px;border:1px solid #66582e;background:#302c1d;color:#edd38c;font-size:11px;white-space:nowrap}
.wallet-balance{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #695c35;border-radius:12px;padding:30px;background:linear-gradient(120deg,#3c3824,#232323)}
.wallet-balance>div>span{font-size:12px;color:#bcb28d}.wallet-balance strong{display:block;color:#f6da91;font-size:38px;font-weight:600;letter-spacing:1px;margin:10px 0}.wallet-balance p{color:#aaaaaa;font-size:11px}
.recharge-section{margin:30px 0}.recharge-section h2{font-size:19px;font-weight:500;margin-bottom:10px}.package-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}
.package-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px 18px;border:1px solid #524d33;background:linear-gradient(140deg,#2d2d2d,#1e1e1e);border-radius:10px;text-align:left;min-width:0}
.package-card:hover{border-color:#dfc079;transform:translateY(-3px)}.package-label{font-size:10px;color:#9f9f9f;letter-spacing:1px}.package-card strong{font-size:clamp(15px,1.6vw,23px);font-weight:500;color:#efda9e;white-space:nowrap}.package-price{font-size:25px;font-weight:600;color:#f0eee2}.package-card small{font-size:10px;color:#9c9c9c}
.wallet-history{margin:22px 0}.wallet-history h3{display:flex;justify-content:space-between}.wallet-history h3 small{font-size:10px;color:#848484;font-weight:400}
.wallet-row{display:flex;align-items:center;gap:20px;padding:18px 0;border-top:1px solid #323232;font-size:12px}.wallet-row>div{flex:1;min-width:0}.wallet-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.wallet-row small{color:#838383;font-size:10px}.wallet-row>div small{display:block;margin-top:8px}.wallet-row>span{white-space:nowrap}.ticket-debit{color:#ebc082}
.exchange-balance{display:flex;justify-content:space-between;gap:15px;padding:15px;background:#282828;border-radius:6px;font-size:12px;color:#b2b2b2}.exchange-balance strong{color:#ebd28b}.checkout-summary strong{font-size:32px;overflow-wrap:anywhere;color:#ebd28b}.pending-exchange{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.episode-cost{white-space:nowrap;font-size:11px}.episode-editor .price-input{max-width:120px}.price-input input{width:100px}
@media(max-width:1150px){.package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-actions{gap:10px}.wallet-chip{font-size:10px;padding:7px 10px}.search input{width:100px}}
@media(max-width:760px){.sidebar nav{flex-wrap:wrap;gap:6px}.sidebar nav button{flex:1 1 calc(50% - 6px)}.topbar{height:auto;min-height:70px;padding:14px 20px}.top-actions{flex-wrap:wrap;justify-content:flex-start}.search{max-width:none;flex:1 1 130px}.user-chip{max-width:80px}.wallet-chip{font-size:10px}.wallet-balance{padding:22px}.wallet-balance strong{font-size:27px}.wallet-balance .secondary{font-size:10px;padding:10px}.package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.package-card{padding:20px 16px}.package-card strong{font-size:20px}.package-price{font-size:23px}.wallet-row{gap:12px;flex-wrap:wrap}.wallet-row>div{flex:1 1 100%}.wallet-row .secondary{font-size:10px;padding:8px 11px}.checkout-summary strong{font-size:27px}.episode-editor .price-input{max-width:105px}.price-input input{width:85px}}


/* Source section: account.css */
.account-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#272727;border:1px solid #474747;border-radius:8px;padding:13px 17px;margin-bottom:22px;font-size:11px;color:#bebebe;line-height:1.9}.account-notice strong{color:#dfdfdf}.account-notice .secondary{font-size:11px;white-space:nowrap;padding:9px 14px}.account-card{max-width:750px}.account-card h2{font-size:22px;margin:15px 0}.account-avatar{display:grid;place-items:center;width:62px;height:62px;background:#3a3a3a;border-radius:16px;color:#cbcbcb}.account-fields{margin:24px 0}.account-fields>div{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #373737;font-size:13px}.account-fields dt{color:#929292}.account-fields dd{margin:0;color:#d2d2d2;overflow-wrap:anywhere}.account-actions{display:flex;flex-wrap:wrap;gap:13px;margin:20px 0}.account-card .muted{font-size:12px}.account-link{cursor:pointer}.account-fields .account-id{font-family:monospace;letter-spacing:1px}.auth-explanation{font-size:11px;color:#9b9b9b;line-height:1.8;padding:12px;background:#292929;border-radius:5px;margin:14px 0}
@media(max-width:760px){.account-notice{align-items:flex-start;flex-direction:column;font-size:10px}.account-notice .secondary{padding:8px 13px}.sidebar nav button{flex:1 1 30%}.account-fields>div{font-size:11px;gap:12px}.account-actions .secondary,.account-actions .primary{font-size:11px}}


/* Source section: mobile.css */
/* One mobile layout at every viewport size. Wider screens keep the phone-width interface. */
:root{--mobile-width:520px;--bottom-nav-height:45px;-webkit-tap-highlight-color:transparent}html{scroll-padding-top:85px}body{background:#0a0a0a;overscroll-behavior-y:contain}.app-shell{max-width:var(--mobile-width);margin:0 auto;min-height:100dvh;background:#151515;box-shadow:0 0 80px #0004}.main-shell{margin:0}.mobile-header{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:10px;height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;background:#161616ee;backdrop-filter:blur(16px);border-bottom:1px solid #2d2d2d}.mobile-logo{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:700;letter-spacing:2px}.mobile-logo .brand-icon{width:27px;height:29px;border-radius:8px}.mobile-logo small{font-size:8px;color:#8e8e8e;letter-spacing:1px;align-self:flex-end;margin-bottom:4px}.mobile-title{font-size:16px;font-weight:500;position:absolute;left:50%;transform:translateX(-50%);pointer-events:none}.mobile-header .wallet-chip{font-size:10px;padding:7px 10px;max-width:170px;overflow:hidden;text-overflow:ellipsis}.mobile-header .icon-button{min-width:38px;min-height:40px}.mobile-search{padding:10px 24px 0}.mobile-search .search{max-width:none;width:100%;padding:7px 12px;border-radius:20px;gap:8px}.mobile-search .search input{width:100%;padding:2px 0;font-size:13px;line-height:20px}.mobile-search .search>svg{width:16px;height:16px;flex-shrink:0}.mobile-search .search>span{display:none}main{max-width:none;padding:23px 18px calc(var(--bottom-nav-height) + 33px + env(safe-area-inset-bottom));margin:0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,var(--mobile-width));height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding:0 32px env(safe-area-inset-bottom);display:grid;grid-template-columns:1fr 1fr;gap:60px;z-index:35;background:#1c1c1cf5;backdrop-filter:blur(20px);border-top:1px solid #3d3d3d}.bottom-nav button{display:flex;align-items:center;justify-content:center;margin:0;padding:0;color:#888888;font-size:12px;min-height:0;height:100%;border-radius:8px}.bottom-nav button.active{color:#d3d3d3}.bottom-nav button.active:before{content:'';width:28px;height:3px;position:absolute;top:0;border-radius:0 0 4px 4px;background:#c6c6c6}.page-heading{margin-bottom:22px}h1{font-size:24px;line-height:1.5}.eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:9px}.page-heading p{font-size:11px;line-height:1.8;max-width:none;margin-top:9px}.curated{display:none}.hero{height:280px;border-radius:13px}.hero-content{padding:18px 20px;max-width:none}.hero-label{font-size:9px}.hero-kicker{margin-top:10px;font-size:10px}.hero h2{font-size:32px;line-height:1.3;margin:6px 0 8px;letter-spacing:4px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero p{font-size:11px;line-height:1.65;max-width:270px}.hero-meta{font-size:9px;line-height:1.5;gap:6px;flex-wrap:wrap;margin:10px 0 12px}.hero .primary{font-size:11px;padding:10px 14px}.hero-index{right:18px;bottom:18px}.hero-index div{width:55px}.hero-index>span{font-size:14px}.discovery{margin-top:28px}.section-heading h2{font-size:17px}.section-heading h2>span{display:none}.section-heading>.muted{font-size:10px}.filter-row{margin:17px 0}.tabs{flex-wrap:nowrap;overflow:auto;gap:5px;scrollbar-width:none;width:100%;padding-bottom:5px}.tabs button{white-space:nowrap;flex:none;font-size:11px;padding:8px 13px;border-radius:17px}.sort-label{display:none}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.poster{aspect-ratio:4/5!important;border-radius:10px}.poster-title{font-size:20px;letter-spacing:2px}.poster-title small{font-size:5px}.poster-type{font-size:6px;letter-spacing:1px;left:10px}.card-title{margin-top:8px;gap:4px}.card-title h3{font-size:12px;min-width:0}.card-title svg{width:13px;height:13px;flex-shrink:0}.card-meta{font-size:9px;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}.card-meta .price{width:100%;font-size:10px}.free-badge,.episode-badge{font-size:9px;padding:4px 5px;bottom:10px}.free-badge{left:7px}.episode-badge{right:7px}.value-strip{grid-template-columns:1fr;gap:19px;padding:20px;margin:29px 0 0}.value-strip>div{border:0;justify-content:flex-start;gap:15px}.value-strip h3{font-size:12px}.value-strip p{font-size:10px}.value-icon svg{width:25px;height:25px}footer{display:none}.connection-banner{font-size:11px;line-height:1.7;align-items:flex-start}.account-notice{flex-direction:row;align-items:center;padding:12px;font-size:10px;line-height:1.7;gap:10px;margin-bottom:20px}.account-notice .secondary{font-size:10px;padding:9px;white-space:nowrap}.account-notice br{display:none}.back-button{font-size:12px;margin-bottom:18px}.drama-summary{padding:17px;gap:16px;align-items:flex-start}.detail-poster{width:98px}.detail-poster .poster-title{font-size:19px;letter-spacing:2px}.detail-heading h1{font-size:23px;margin:6px 0 12px}.detail-heading p{font-size:11px;max-height:105px}.drama-facts{font-size:10px;gap:7px 11px;margin-bottom:12px}.detail-actions{gap:10px;margin-top:14px}.detail-actions .primary{font-size:10px;padding:10px 12px}.detail-actions>.muted{font-size:9px}.watch-layout{grid-template-columns:1fr;gap:18px;margin:20px 0}.player-placeholder{padding:20px;gap:13px}.player-placeholder h2{font-size:18px}.player-placeholder p{font-size:10px}.play-orb{width:57px;height:57px}.episode-panel{max-height:none;padding:18px}.episode-row{min-height:75px;padding:14px 10px}.episode-name{font-size:13px}.episode-cost{font-size:12px}.profile-head{display:flex;align-items:center;gap:16px;padding:12px 0 25px}.profile-head .account-avatar{width:65px;height:65px;border-radius:22px;background:linear-gradient(130deg,#686868,#343434)}.profile-head h1{font-size:21px;font-weight:600;overflow-wrap:anywhere}.profile-head p{color:#959595;font-size:12px;margin-top:6px;font-family:monospace;letter-spacing:1px}.profile-head small{display:inline-block;font-size:10px;color:#b8b8b8;background:#2f2f2f;padding:4px 8px;border-radius:10px;margin-top:8px}.profile-wallet{display:flex;align-items:center;justify-content:space-between;padding:24px 21px;background:linear-gradient(110deg,#363636,#272727);border:1px solid #5e5e5e;border-radius:14px;margin-bottom:20px}.profile-wallet span{font-size:11px;color:#b5b5b5}.profile-wallet strong{display:block;font-size:30px;color:#e6e6a6;margin-top:8px}.profile-wallet .primary{font-size:12px;padding:11px 16px;border-radius:22px}.profile-menu{background:#1f1f1f;border:1px solid #383838;border-radius:13px;overflow:hidden;margin:18px 0}.profile-menu button{display:flex;align-items:center;gap:13px;width:100%;padding:18px 17px;text-align:left;border-bottom:1px solid #313131;font-size:13px;min-height:61px}.profile-menu button:last-child{border:0}.profile-menu button>svg:first-child{color:#b4b4b4;width:19px}.profile-menu .menu-content{flex:1}.profile-menu small{display:block;color:#868686;font-size:10px;margin-top:5px;line-height:1.6}.profile-menu .chevron{color:#7d7d7d;font-size:19px}.profile-note{color:#818181;font-size:10px;line-height:1.9;margin:20px 3px}.profile-note summary{cursor:pointer;color:#aaaaaa;padding:6px 0}.profile-account-summary{padding:15px;background:#242424;border-radius:9px;color:#a5a5a5;font-size:11px;line-height:1.8}.wallet-balance{padding:23px 19px}.wallet-balance strong{font-size:28px}.package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.package-card{padding:20px 15px;gap:12px}.package-card strong{font-size:20px}.package-price{font-size:23px}.recharge-section h2{font-size:18px}.wallet-row{flex-wrap:wrap;gap:12px}.wallet-row>div{flex:1 1 100%}.wallet-row .secondary{font-size:10px;padding:9px 12px}.wallet-row small{font-size:10px}.order-row,.studio-row{padding:18px;gap:14px;flex-wrap:wrap}.order-row>div{min-width:100%}.order-row h3,.studio-row h3{font-size:15px}.order-row small{font-size:10px;overflow-wrap:anywhere}.order-row .secondary{margin-left:auto}.studio-art{width:45px;height:55px}.studio-row p{font-size:11px}.studio-row .secondary{font-size:11px;padding:10px 13px}.studio-heading{align-items:center;gap:10px}.studio-heading .primary{padding:10px 13px;font-size:11px;white-space:nowrap}.studio-heading h1{font-size:23px}.editor-layout{grid-template-columns:1fr;gap:18px}.editor-heading h2{font-size:20px}.editor-heading>div{gap:10px;flex-wrap:wrap}.editor-heading .primary{font-size:11px;padding:11px;white-space:nowrap}.panel{padding:18px}.episode-editor{gap:6px}.episode-editor input{padding:10px 6px;font-size:12px}.episode-editor .price-input{max-width:98px}.price-input input{width:79px}.modal-backdrop{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));align-items:center;justify-content:center;height:100dvh}.modal{width:100%;max-width:420px;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;border-radius:14px;padding:16px;box-shadow:0 16px 70px #0007}.modal-heading h2{font-size:22px}.modal form>label,.panel form>label{font-size:13px;gap:9px}.modal input,.modal select,.modal textarea,.panel input,.panel select,.panel textarea{font-size:16px}.modal .primary{min-height:47px}.checkout-summary strong{font-size:29px}.toast{left:50%;bottom:calc(var(--bottom-nav-height) + 17px + env(safe-area-inset-bottom));max-width:calc(min(100vw,520px) - 30px);width:max-content;padding:14px 17px;font-size:12px}.empty{padding:45px 18px;font-size:12px}.primary,.secondary{min-height:40px}.payment-note{font-size:11px;line-height:1.8}.user-chip{max-width:none}.full{min-height:45px}@media(max-width:350px){main{padding-left:13px;padding-right:13px}.mobile-header{padding-left:13px;padding-right:13px}.hero-content{padding:16px}.hero h2{font-size:30px}.card-grid{gap:16px 8px}.poster-title{font-size:18px}.free-badge,.episode-badge{font-size:8px}.account-notice{flex-direction:column;align-items:flex-start}.profile-wallet{padding:20px 16px}.profile-wallet strong{font-size:25px}.detail-poster{width:80px}.detail-heading h1{font-size:20px}.package-card strong{font-size:17px}.bottom-nav{gap:35px}}

/* Recommendations are independent of the published catalog below. */
.recommendation-carousel{min-width:0}.recommendation-carousel .hero[hidden]{display:none}.recommendation-carousel .hero p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 0}.carousel-controls button{min-height:40px;padding:8px 10px;font-size:11px;color:#c6c6c6;border-radius:8px;background:#262626}.carousel-position{font-size:11px;color:#a5a5a5}.carousel-controls button:focus-visible{outline:2px solid #c6c6c6;outline-offset:2px}

/* Detail page: summary and episodes only, with a fixed play action. */
.detail-episodes{margin:22px 0 75px;max-height:none}.episode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.episode-tile{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:76px;border:1px solid #444444;background:#252525;border-radius:10px;padding:12px 5px}.episode-tile strong{font-size:13px}.episode-tile small{font-size:10px;color:#c6c6c6}.detail-play-bar{position:fixed;bottom:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(100%,520px);padding:10px 18px;background:#1c1c1cf5;z-index:34;border-top:1px solid #383838}.detail-play-bar .full{margin:0;justify-content:center}.detail-heading p{max-height:none}
/* Full viewport portrait playback; keep the whole 9:16 frame visible. */
body.watching-portrait{overflow:hidden;background:#000}body.watching-portrait #root{max-width:none}.portrait-player{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;background:#000;z-index:40;color:#fff}.portrait-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:contain;touch-action:auto}.portrait-stage video{display:block;width:100%;height:100%;object-fit:contain;background:#000}.portrait-locked{width:min(100%,340px);max-height:100%;overflow:auto;text-align:center;padding:20px;display:flex;flex-direction:column;align-items:center;gap:13px}.portrait-locked .locked-poster{width:90px;aspect-ratio:4/5;object-fit:cover;border-radius:9px}.portrait-locked h2{font-size:22px}.portrait-locked p{font-size:12px;color:#b5b5b5}.portrait-locked>strong{color:#c9c9c9;font-size:24px}.portrait-locked .primary{justify-content:center}.watching-portrait .modal-backdrop{z-index:60}.watching-portrait .toast{z-index:100}

/* Compact badges and titles for three-column 4:5 posters. */
.card-grid .free-badge{left:4px;right:auto;bottom:6px;font-size:7px;padding:3px}
.card-grid .episode-badge{left:auto;right:4px;bottom:6px;font-size:7px;padding:3px}
.card-grid .poster-type{top:8px;left:7px;right:7px;font-size:5px;letter-spacing:.5px}
.card-grid .poster-play{width:36px;height:36px}

/* Compact account layout, scoped to the My page. */
.profile-page{padding-top:14px;padding-bottom:calc(var(--bottom-nav-height) + 15px + env(safe-area-inset-bottom))}
.profile-page .profile-head{gap:12px;padding:2px 0 14px}
.profile-page .profile-head>div{min-width:0}
.profile-page .account-avatar{width:52px;height:52px;border-radius:16px;flex-shrink:0}
.profile-page .profile-head h1{font-size:19px;line-height:1.35}
.profile-page .profile-head p{font-size:11px;margin-top:3px}
.profile-page .profile-head small{margin-top:5px;padding:3px 7px}
.profile-page .profile-wallet{padding:15px 14px;margin-bottom:12px;gap:10px;border-radius:11px}
.profile-page .profile-wallet>div{min-width:0;overflow-wrap:anywhere}
.profile-page .profile-wallet strong{font-size:25px;margin-top:4px;line-height:1.25}
.profile-page .profile-wallet .primary{padding:8px 12px;font-size:11px;flex-shrink:0}
.profile-page .profile-menu{margin:12px 0;border-radius:11px}
.profile-page .profile-menu button{padding:11px 13px;gap:10px;min-height:48px;font-size:12px}
.profile-page .profile-menu .menu-content{min-width:0}
.profile-page .profile-menu small{margin-top:3px;line-height:1.4}
.profile-page .profile-account-summary{padding:10px 12px;line-height:1.6;overflow-wrap:anywhere}
.profile-page .profile-note{margin:12px 2px;line-height:1.6}
.profile-page .profile-note summary{padding:4px 0}

.card-grid .poster-title{top:27%;font-size:18px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-grid .poster-title small{display:none}

/* Compact secondary pages; long content remains scrollable. */
.compact-page{padding-top:14px;padding-bottom:calc(var(--bottom-nav-height) + 16px + env(safe-area-inset-bottom))}
.compact-page .page-heading{margin-bottom:14px}
.compact-page .page-heading .eyebrow{display:none}
.compact-page .page-heading h1{font-size:20px;line-height:1.35}
.compact-page .page-heading p{font-size:10px;line-height:1.5;margin-top:5px}
.compact-page .primary,.compact-page .secondary{min-height:36px;padding:8px 11px;font-size:11px;gap:6px}
.compact-page .panel{padding:12px;border-radius:9px}
.compact-page .panel>h3{font-size:13px;margin-bottom:8px}
.compact-page .panel>.muted{font-size:10px;line-height:1.5;margin-bottom:10px}
.compact-page .payment-note{padding:9px 11px;margin:10px 0;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.compact-page .empty{padding:24px 12px;gap:10px;font-size:11px}
.compact-page .back-button{margin-bottom:12px;font-size:11px}
/* Smaller episode tiles show four columns on phones, five when space permits. */
.detail-page{padding-bottom:calc(var(--bottom-nav-height) + 68px + env(safe-area-inset-bottom))}
.detail-page .drama-summary{padding:12px;gap:12px;border-radius:10px}
.detail-page .detail-poster{width:76px}
.detail-page .detail-heading h1{font-size:19px;line-height:1.35;margin:4px 0 7px}
.detail-page .detail-heading .eyebrow{font-size:8px;letter-spacing:1px}
.detail-page .drama-facts{font-size:9px;gap:4px 8px;margin-bottom:7px}
.detail-page .detail-heading p{font-size:10px;line-height:1.6;max-height:80px;overflow:auto}
.detail-page .detail-episodes{margin:14px 0 0;padding:12px;border-radius:10px}
.detail-page .episode-panel h3{font-size:14px}
.detail-page .episode-panel>.muted{font-size:10px;line-height:1.5;margin:6px 0 10px}
.detail-page .episode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}
.detail-page .episode-tile{min-height:48px;padding:6px 3px;gap:3px;border-radius:6px;min-width:0}
.detail-page .episode-tile strong{font-size:11px;font-weight:500}
.detail-page .episode-tile small{font-size:9px;line-height:1.3;overflow-wrap:anywhere;max-width:100%}
.detail-page .detail-play-bar{padding:7px 18px}
.detail-page .detail-play-bar .full{min-height:36px}
/* Recharge choices fit into two rows; history opens on demand. */
.wallet-page .wallet-balance{padding:13px 14px;gap:10px;border-radius:10px}
.wallet-page .wallet-balance>div{min-width:0}
.wallet-page .wallet-balance>div>span{font-size:10px}
.wallet-page .wallet-balance strong{font-size:25px;margin:5px 0;overflow-wrap:anywhere}
.wallet-page .wallet-balance p{font-size:10px;line-height:1.4}
.wallet-page .wallet-balance .secondary{flex-shrink:0}
.wallet-page .recharge-section{margin:15px 0 12px}
.wallet-page .recharge-section h2{font-size:14px;margin-bottom:4px}
.wallet-page .recharge-section>.muted{font-size:10px;line-height:1.5}
.wallet-page .package-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.wallet-page .package-card{padding:11px 6px;gap:6px;align-items:center;text-align:center;border-radius:8px;min-height:70px}
.wallet-page .package-card strong{font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.wallet-page .package-price{font-size:19px;line-height:1.2;overflow-wrap:anywhere;max-width:100%}
.wallet-page .wallet-history{margin:9px 0;padding:0}
.wallet-history>summary{cursor:pointer;padding:12px;font-size:12px;line-height:1.5;color:#d2d2d2}
.wallet-history>summary small{float:right;font-size:10px;color:#929292}
.wallet-history>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.wallet-history-content{padding:0 12px 10px}
.wallet-history-content>.muted{font-size:10px}
.wallet-page .wallet-row{padding:10px 0;gap:7px;font-size:11px}
.wallet-page .wallet-row>div{flex:1 1 130px}
.wallet-page .wallet-row strong{font-size:11px}
.wallet-page .wallet-row>div small{margin-top:4px;font-size:9px}
.wallet-page .wallet-row .secondary{min-height:32px;padding:6px 9px;font-size:10px}
/* Record lists and creator forms retain all content with less whitespace. */
.compact-page .order-row,.compact-page .studio-row{padding:12px;gap:8px 10px;margin-bottom:9px;border-radius:9px}
.compact-page .order-row h3,.compact-page .studio-row h3{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.compact-page .order-row p,.compact-page .studio-row p{font-size:10px;line-height:1.5;margin-top:4px}
.compact-page .order-row small{font-size:9px;line-height:1.4;margin-top:4px}
.compact-page .order-row>strong{font-size:12px;overflow-wrap:anywhere}
.compact-page .status{font-size:9px;padding:4px 6px}
.history-page .order-row>div{flex:1 1 150px;min-width:0}
.compact-page .studio-art{width:34px;height:42px;flex-shrink:0}
.compact-page .studio-row>div{flex:1;min-width:0}
.compact-page .editor-heading{margin:14px 0;gap:8px}
.compact-page .editor-heading h2{font-size:17px;overflow-wrap:anywhere}
.compact-page .editor-heading>div{min-width:0}
.compact-page .editor-layout{gap:12px}
.compact-page .panel form>label{gap:5px;margin:11px 0;font-size:11px}
.compact-page .panel input,.compact-page .panel select,.compact-page .panel textarea{padding:8px 9px}
.compact-page .panel input[type=file]{padding:10px 8px;font-size:11px}
.compact-page .episode-editor{padding:9px 0}
.compact-page .panel form small{line-height:1.4}
@media(min-width:420px){.detail-page .episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Creator workspace categories and compact metrics. */
.studio-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 15px;padding:4px;background:#1f1f1f;border:1px solid #383838;border-radius:9px}
.studio-tabs button{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;margin:0;padding:10px 2px;font-size:11px;color:#9e9e9e;border-radius:6px;min-height:38px}
.studio-tabs button.selected,.studio-filters button.selected{background:#cdcdcd;color:#272727}
.studio-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.studio-filters button{font-size:10px;padding:8px 9px;background:#262626;border-radius:6px;min-height:34px}
.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
.metric-grid>div{min-width:0;padding:13px;background:#202020;border:1px solid #383838;border-radius:9px}
.metric-grid span{font-size:10px;color:#a1a1a1}.metric-grid strong{display:block;font-size:23px;color:#d2d2d2;margin-top:5px;overflow-wrap:anywhere}
.studio-income{margin:12px 0}.studio-income>strong{font-size:22px;color:#edda99}.studio-income .muted{margin:6px 0 0!important;font-size:10px}
.studio-page .studio-row{margin-top:9px}.studio-actions{display:flex;flex-wrap:wrap;gap:6px;flex:0 1 auto!important}
.studio-page .upload-entry{margin-bottom:16px}.studio-page .section-heading{margin:14px 0 10px}.studio-page .section-heading h2{font-size:14px}
.creator-apply-message{font-size:15px;line-height:1.8;padding:14px 0;overflow-wrap:anywhere}

/* Creator work management entry and shared episode upload. */
.studio-title { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.studio-add-episode { margin-top: 12px; border-style: dashed; }
.studio-tabs button:disabled { opacity: .45; cursor: not-allowed; }

/* Spacious creator work and episode cards. */
.studio-work-grid,.studio-episode-list{display:grid;gap:14px;margin-top:16px}
.studio-work-card,.studio-episode-card{padding:16px;border:1px solid #3e3e3e;border-radius:12px;background:#202020;min-width:0}
.studio-work-top,.studio-episode-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.studio-work-top>div,.studio-episode-heading>div{min-width:0;flex:1}
.studio-work-top h3,.studio-episode-heading h3{margin:0 0 6px;font-size:15px;overflow-wrap:anywhere}
.studio-work-top .status,.studio-episode-heading .status{flex:none;font-size:10px;white-space:nowrap}
.studio-work-actions{display:flex;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #393939}
.studio-work-actions button{flex:1;min-height:38px}
.studio-episode-heading p{margin:4px 0 0;overflow-wrap:anywhere}
.studio-episode-price{border-top:1px solid #393939;margin-top:14px;padding-top:14px}
.studio-episode-price label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.studio-episode-price label span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.studio-episode-price input{width:106px;margin:0;text-align:center}
.studio-episode-card>.secondary{margin-top:12px}
.studio-page .studio-add-episode{min-height:46px;margin-top:18px}
.toast{position:fixed;left:50%;top:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 40px);text-align:center;justify-content:center;padding:16px 22px;z-index:10000;pointer-events:none;box-shadow:0 12px 40px #0008;border-radius:12px}

/* Compact episode management and work category tabs. */
.studio-create-card{display:flex;width:100%;align-items:center;gap:13px;text-align:left;padding:18px;border:1px solid #555555;border-radius:12px;background:linear-gradient(120deg,#2d2d2d,#222222);color:#d9d9d9;margin-bottom:18px}
.studio-create-plus{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#cdcdcd;color:#272727;font-size:26px}
.studio-create-card>span:nth-child(2){flex:1}.studio-create-card strong{display:block;font-size:15px}.studio-create-card small{display:block;color:#a0a0a0;font-size:11px;margin-top:5px}
.studio-filters.studio-category-tabs{display:flex;flex-wrap:nowrap;gap:0;border-bottom:1px solid #3e3e3e;margin-bottom:14px;overflow-x:auto}
.studio-category-tabs button{position:relative;flex:1;white-space:nowrap;border:0;border-radius:0;background:transparent;padding:12px 5px;color:#959595;font-size:11px}
.studio-filters.studio-category-tabs button.selected{background:transparent;color:#d5d5d5}
.studio-category-tabs button.selected:after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:3px;border-radius:3px;background:#cdcdcd}
.studio-page .studio-episode-list{gap:9px;margin-top:10px}
.studio-page .studio-episode-card{padding:12px;border-radius:10px}
.studio-page .studio-episode-heading h3{font-size:13px;margin-bottom:3px}.studio-page .studio-episode-heading p{font-size:11px;margin:0}
.studio-page .studio-episode-price{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding-top:8px}
.episode-price-button{display:flex;align-items:center;gap:12px;padding:6px 10px;border:1px solid #434343;border-radius:7px;color:#d5d5d5;background:#272727;font-size:12px}
.studio-page .studio-add-episode{min-height:38px;margin-top:10px}

/* Inline viewport player with persistent return and tap controls. */
.player-back{position:absolute;z-index:3;top:calc(14px + env(safe-area-inset-top));left:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#0008;color:white;border:1px solid #ffffff30}







/* Consistent compact spacing across pages and centered dialogs. */
.panel,.compact-page .panel{padding:10px}
.panel>h3,.compact-page .panel>h3{margin-bottom:6px;gap:6px}
.panel>.muted,.compact-page .panel>.muted{margin-bottom:7px}
.panel form>label,.compact-page .panel form>label,.modal form>label{margin:9px 0;gap:4px}
.modal-heading{gap:8px;margin-bottom:8px}.modal-heading h2{font-size:19px}
.modal input,.modal select,.modal textarea{padding:8px 10px}
.modal .primary{min-height:40px;padding:9px 12px}
.modal .text-button{margin-top:8px}
.checkout-summary{padding:8px 0}.checkout-summary h3{margin:8px 0 5px;font-size:16px}
.checkout-summary>p:first-of-type{margin-top:7px}.checkout-summary strong{margin-top:9px;font-size:26px}
.exchange-balance{padding:10px;gap:8px}
.payment-note,.compact-page .payment-note{padding:8px 10px;margin:8px 0;line-height:1.5}
.creator-apply-message{padding:8px 0;line-height:1.6}
.account-notice{padding:9px 10px;gap:7px;margin-bottom:12px}
.hero-content{padding:12px 14px}
.detail-page .drama-summary{padding:10px;gap:9px}
.detail-page .detail-episodes{padding:10px;margin-top:10px}
.detail-page .episode-panel>.muted{margin:5px 0 7px}
.detail-page .episode-grid{gap:6px;margin-top:7px}
.profile-page .profile-head{gap:10px;margin-bottom:12px}
.profile-page .profile-wallet{padding:11px;gap:8px;margin-bottom:9px}
.profile-page .profile-menu{margin:9px 0}.profile-page .profile-menu button{padding:8px 10px;gap:8px;min-height:44px}
.profile-page .profile-account-summary{padding:8px 10px}.profile-page .profile-note{margin:8px 2px}
.wallet-page .wallet-balance{padding:10px;gap:8px}
.wallet-page .recharge-section{margin:10px 0}.wallet-page .package-grid{gap:6px;margin:8px 0}
.wallet-page .package-card{padding:8px 5px;gap:4px;min-height:62px}
.wallet-history>summary{padding:9px 10px}.wallet-history-content{padding:0 10px 8px}
.wallet-page .wallet-row{padding:8px 0;gap:6px}
.compact-page .order-row,.compact-page .studio-row{padding:9px 10px;gap:6px 8px;margin-bottom:7px}
.compact-page .editor-heading{margin:10px 0;gap:7px}
.metric-grid{gap:7px;margin-bottom:10px}.metric-grid>div{padding:10px}.metric-grid strong{margin-top:3px}
.studio-tabs{margin-bottom:10px;gap:3px;padding:3px}.studio-tabs button{padding:8px 2px;min-height:36px}
.studio-create-card{padding:12px;gap:10px;margin-bottom:12px}.studio-create-plus{width:36px;height:36px;font-size:23px}
.studio-filters.studio-category-tabs{margin-bottom:10px}.studio-category-tabs button{padding:9px 4px}
.studio-work-grid,.studio-page .studio-episode-list{gap:8px;margin-top:9px}
.studio-work-card,.studio-page .studio-episode-card{padding:10px}
.studio-work-top,.studio-episode-heading{gap:8px}
.studio-work-top h3{margin-bottom:4px}.studio-work-actions{gap:8px;margin-top:10px;padding-top:9px}
.studio-work-actions button{min-height:36px}
.studio-page .studio-episode-price{margin-top:7px;padding-top:6px}.studio-episode-card>.secondary{margin-top:8px}
.compact-page .empty{padding:18px 10px;gap:8px}

/* Fixed app shell: only the content pane scrolls. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
#root{height:100%;height:100dvh;overflow:hidden}
.app-shell{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.app-shell>.mobile-header{position:relative;top:auto;flex-shrink:0}
.app-shell>.mobile-search{flex-shrink:0}
.app-shell>main{position:relative;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:none;-webkit-overflow-scrolling:touch;padding-bottom:16px}
.app-shell>.bottom-nav{position:relative;left:auto;bottom:auto;transform:none;width:100%;flex-shrink:0}
.app-shell>main.detail-page{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
.detail-page .detail-play-bar{bottom:0;padding-bottom:calc(7px + env(safe-area-inset-bottom))}
.pull-refresh{height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#b5b5b5;font-size:12px;flex-shrink:0}

/* Custom player controls and locked-episode poster. */
.playback-controls{position:absolute;bottom:0;left:0;right:0;z-index:4;padding:24px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#000e);color:#fff}
.playback-controls input[type=range]{display:block;width:100%;margin:0 0 8px;padding:0;accent-color:#cdcdcd;height:24px}
.playback-toolbar{display:flex;align-items:center;gap:12px}.playback-toolbar button{display:grid;place-items:center;min-width:36px;min-height:36px;background:#ffffff18;color:white;border-radius:7px}
.playback-toolbar label{display:flex;align-items:center;gap:7px;margin:0 0 0 auto;font-size:12px}.playback-toolbar select{width:auto;margin:0;padding:6px;color:#fff;background:#222;border:1px solid #ffffff40;font-size:12px}
#playback-time{font-size:11px;font-variant-numeric:tabular-nums}#playback-sound{font-size:11px;padding:4px 7px}#playback-sound[hidden]{display:none}
.player-poster-backdrop{position:absolute;inset:0;pointer-events:none}.player-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.system-player-poster{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:30px;background:radial-gradient(ellipse at 20% 20%,#686868,#2b2b2b 50%,#121212);color:#dbdbdb;text-align:center}
.system-player-poster span{letter-spacing:5px;font-size:13px}.system-player-poster strong{font-size:28px;overflow-wrap:anywhere}
.portrait-stage .portrait-locked{position:relative;z-index:1;background:#0c0c0cb8;border:1px solid #ffffff25;border-radius:14px}

/* Adjacent episode sheets move with the finger, then snap into place. */
.episode-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#000;will-change:transform}
.episode-current{z-index:1}.episode-preview{z-index:2;pointer-events:none}
.portrait-stage .episode-preview-video{position:absolute;inset:0;object-fit:contain;background:transparent}
.episode-preview-label{position:absolute;bottom:calc(85px + env(safe-area-inset-bottom));left:20px;right:20px;color:#fff;text-shadow:0 2px 8px #000;font-size:15px;z-index:2}

/* App gestures: permit scrolling without double-tap or pinch page zoom. */
html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
button,a,summary,label{touch-action:pan-x pan-y}
img,video{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
input,textarea,select,[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;touch-action:pan-x pan-y}
input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select,.mobile-search .search input,.compact-page .panel input,.compact-page .panel select,.compact-page .panel textarea{font-size:16px}
.portrait-stage{touch-action:none}
.playback-controls input[type=range]{touch-action:pan-x}

/* Compact navigation, work favorites and bottom comment sheet. */
:root{--bottom-nav-height:34px}
.app-shell>.bottom-nav{height:calc(34px + env(safe-area-inset-bottom));padding-top:0;padding-left:24px;padding-right:24px;gap:40px}
.bottom-nav button{height:34px;min-height:34px;margin:0;padding:0;border-radius:6px}
.bottom-nav button.active{background:transparent}.bottom-nav button.active:before{display:none}
.detail-page .detail-social-bar{display:flex;align-items:center;gap:12px;padding-top:6px;padding-left:14px;padding-right:14px}
.detail-social-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:52px;min-height:42px;padding:0 4px;color:#bdbdbd}
.detail-social-action small{font-size:10px;white-space:nowrap}.detail-social-action.is-favorite{color:#f2d26a}.detail-social-action.is-favorite svg{fill:currentColor}
.detail-social-bar .detail-play-button{margin-left:0;flex:1;min-width:0;min-height:36px;justify-content:center;border-radius:7px}
.favorite-row{display:flex;align-items:center;gap:12px;padding:12px;background:#202020;border:1px solid #393939;border-radius:10px;margin-bottom:9px}
.favorite-row>div:first-child{flex:1;min-width:0}.favorite-row h3{font-size:14px;margin:0 0 6px;overflow-wrap:anywhere}.favorite-actions{display:flex;flex-direction:column;gap:6px;align-items:center}
.favorite-actions .text-button{font-size:11px;padding:4px}.favorite-row small{font-size:10px}
.modal-backdrop.comments-backdrop{align-items:flex-end;padding:0}
.comments-backdrop .modal{display:flex;flex-direction:column;width:100%;max-width:var(--mobile-width);height:70dvh;max-height:90%;padding:14px 14px calc(10px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow:hidden}
.comments-backdrop .modal-heading{flex-shrink:0}.comments-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 2px}
.comment-row{padding:10px 0;border-bottom:1px solid #373737}.comment-row strong{font-size:12px;color:#c5c5c5}.comment-row p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5;margin:5px 0}.comment-row small{font-size:10px;color:#898989}
.comment-compose{display:flex;gap:8px;flex-shrink:0;align-items:flex-end;border-top:1px solid #383838;padding-top:10px;margin-top:8px}.comment-compose textarea{flex:1;min-width:0;resize:none;height:40px;min-height:40px;max-height:40px;line-height:22px;margin:0;overflow-y:auto}.comment-compose .primary{flex-shrink:0;height:40px;min-height:40px;max-height:40px}

/* Icon-only navigation and quiet search focus. */
.bottom-nav button svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}
.bottom-nav button.active svg{fill:currentColor}
.mobile-search .search,.mobile-search .search:focus-within{outline:none;box-shadow:none;border-color:var(--line)}
.mobile-search .search input,.mobile-search .search input:focus,.mobile-search .search input:focus-visible{outline:none;box-shadow:none;border:0}

/* Reference player: minimal playback, paused toolbar and persistent episode/comment sheet. */
.portrait-player{background:#08090b}
.portrait-stage{width:100%;max-width:560px;align-self:center;background:#000;outline:none}
.episode-slide{contain:layout paint}
.portrait-player .player-back{left:8px;top:calc(8px + env(safe-area-inset-top));width:40px;height:40px;border:0;background:transparent;z-index:5;filter:drop-shadow(0 1px 3px #000)}
.player-bottom{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:50px 0 env(safe-area-inset-bottom);background:linear-gradient(transparent,#0009 45%,#000c);pointer-events:none}
.player-bottom>*{pointer-events:auto}
.player-caption{padding:0 64px 8px 10px;color:#fff;text-shadow:0 1px 4px #000}
.player-caption>strong{display:block;font-size:14px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px}
.player-description-entry{display:flex;gap:8px;align-items:center;width:100%;padding:0;min-height:20px;color:#ddd;text-align:left;font-size:12px;background:none}
.player-description-entry>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-description-entry>small{flex-shrink:0;color:#aaa;font-size:11px}
.player-description-body{overflow:auto;overscroll-behavior:contain;padding:20px 0;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.player-description-body h3{font-size:18px;margin-bottom:12px}.player-description-body p{font-size:14px;color:#b5b8c2}
.player-episode-entry{display:flex;align-items:center;gap:7px;width:100%;min-height:38px;padding:7px 11px;background:#ffffff0c;color:#fff;border-top:1px solid #ffffff0b;font-size:12px;text-align:left}
.player-chevron{margin-left:auto;font-size:24px;line-height:1}
.player-bottom .playback-controls{position:relative;display:flex;align-items:center;gap:10px;height:40px;padding:0 22px 6px;background:#000;color:#fff;touch-action:none}
.playback-controls .playback-detail{display:none}
.portrait-stage[data-paused=true] .playback-detail,.portrait-stage[data-seeking=true] .playback-detail{display:flex;flex-shrink:0;align-items:center;justify-content:center}
.playback-controls input[type=range]{appearance:none;display:block;flex:1;min-width:32px;width:0;height:32px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;cursor:pointer;--played:0%}
.playback-controls input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:linear-gradient(to right,#ffcf24 0%,#ffcf24 var(--played),transparent var(--played)),var(--buffered,none),#ffffff30}
.playback-controls input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-3.5px;border-radius:50%;background:#fff;border:0}
.playback-controls input[type=range]::-moz-range-track{height:5px;border-radius:4px;background:var(--buffered,none),#ffffff30}
.playback-controls input[type=range]::-moz-range-progress{height:5px;background:#ffcf24}
.playback-controls input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#fff}
.playback-controls #playback-time,.playback-controls #playback-duration{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.playback-controls #playback-bottom-toggle,.playback-controls #playback-fullscreen{padding:0;width:24px;height:36px;background:none;color:#fff}
#playback-bottom-toggle svg{fill:currentColor}#playback-bottom-toggle svg:has(path[d="M8 5v14M16 5v14"]){stroke-width:4}
.playback-controls .playback-rate-label{margin:0;gap:0;width:34px}
.playback-controls #playback-rate{width:34px;height:22px;min-height:0;margin:0;padding:0;border:0;border-radius:12px;appearance:none;background:#303030;color:#eee;text-align:center;font-size:12px;font-weight:600;cursor:pointer}
.playback-sound-prompt{position:absolute;right:12px;bottom:calc(139px + env(safe-area-inset-bottom));align-items:center;gap:5px;color:white;background:#0008;border-radius:18px;padding:7px 10px}
.playback-sound-prompt:not([hidden]){display:flex}
.playback-center{position:absolute;z-index:3;left:50%;top:46%;transform:translate(-50%,-50%);width:84px;height:84px;display:grid;place-items:center;color:#fffc;opacity:0;pointer-events:none;filter:drop-shadow(0 2px 8px #0006)}
.playback-center svg{fill:currentColor;stroke-width:1}
.portrait-stage[data-paused=true] .playback-center,.playback-center:focus-visible{opacity:1;pointer-events:auto}
.playback-feedback{position:absolute;top:calc(46% + 52px);left:50%;transform:translateX(-50%);z-index:3;pointer-events:none;border-radius:20px;padding:7px 12px;background:#0008;color:#ddd;font-size:11px;white-space:nowrap}
.playback-feedback:empty{display:none}

.episode-preview-label{bottom:calc(90px + env(safe-area-inset-bottom));font-size:14px}
.player-sheet-backdrop{align-items:flex-end;padding:0;background:#0006;backdrop-filter:none;-webkit-backdrop-filter:none}
.player-sheet-backdrop .modal{display:flex;flex-direction:column;width:100%;max-width:560px;height:60dvh;max-height:85dvh;padding:0 16px calc(16px + env(safe-area-inset-bottom));border:1px solid #ffffff16;border-bottom:0;border-radius:18px 18px 0 0;background:#15171e;color:#f4f4f5;overflow:hidden;animation:player-sheet-in .2s ease-out}
.player-sheet-backdrop .modal-heading{flex-shrink:0;margin:0 -16px;padding:0 12px 0 18px;min-height:42px;border-bottom:1px solid #ffffff15}
.player-sheet-tabs{display:flex;align-items:stretch;gap:24px;align-self:stretch}.player-sheet-tabs button{position:relative;color:#999;padding:0;font-size:15px;font-weight:600}.player-sheet-tabs button.active{color:#fff}.player-sheet-tabs button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#ffcf24}
.player-sheet-summary{margin:14px 0 12px;font-size:12px;color:#a4a8b3;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.player-sheet-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-content:start;overflow-y:auto;overscroll-behavior:contain;padding:18px 0 12px}
.player-sheet-episode{position:relative;min-height:44px;border-radius:9px;background:#22252e;color:#d8d9df;border:1px solid transparent}
.player-sheet-episode strong{font-size:14px}.player-sheet-episode svg{position:absolute;top:5px;right:5px;color:#9499a6}.player-sheet-episode[aria-current=true]{background:#4e2b11;border-color:#945020;color:#ffd323}
.player-sheet-backdrop .comments-list{padding-top:10px}.player-sheet-backdrop .comment-row{border-color:#ffffff12}.player-sheet-backdrop .comment-compose{border-color:#ffffff15}
.portrait-player button:focus-visible,.portrait-player select:focus-visible,.portrait-player input:focus-visible{outline:2px solid #d0d0d0;outline-offset:2px}
@keyframes player-sheet-in{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:768px){.portrait-stage{max-width:min(560px,calc(100dvh * .68));box-shadow:0 0 80px #0008}}
@media(max-height:500px){.player-caption>strong{margin-bottom:2px}.player-caption{padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){.episode-slide{will-change:auto}.player-sheet-backdrop .modal{animation:none}.playback-toolbar{transition:none}}



.episode-entry-play{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#fff;color:#555}.episode-entry-play svg{fill:currentColor}
.player-sheet-panel{display:flex;flex-direction:column;flex:1;min-height:0}.player-sheet-panel[hidden]{display:none!important}
.player-sheet-footer{display:flex;justify-content:center;padding:10px 0 0;flex-shrink:0}
.player-sheet-favorite{display:flex;align-items:center;justify-content:center;gap:6px;width:150px;height:36px;border-radius:9px;background:linear-gradient(100deg,#ffca08,#ffe8a0);color:#352615;font-size:12px}
.player-sheet-favorite small{font-size:12px}.player-sheet-favorite.is-favorite svg{fill:currentColor}
.player-sheet-backdrop .modal{background:#15161f;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.player-sheet-tabs [role=tab]{min-height:42px}.player-sheet-panel .comments-list{min-height:0}
.portrait-stage:fullscreen{max-width:none;width:100%;height:100%}
@media(max-width:360px){.player-bottom .playback-controls{padding-left:12px;padding-right:12px;gap:5px}.playback-controls #playback-time,.playback-controls #playback-duration{font-size:12px}}

.portrait-stage:not([data-paused=true]):not([data-seeking=true]) #playback-progress{transform:translateY(-4px)}

.player-description-entry[aria-expanded=true]{display:block;max-height:28dvh;overflow:auto;overscroll-behavior:contain;line-height:18px}
.player-description-entry[aria-expanded=true]>span{display:block;white-space:normal;overflow-wrap:anywhere}
.player-description-entry[aria-expanded=true]>small{display:block;margin-top:2px;color:#ddd}

/* Keep the recommendation card compact, including its background overlay. */
.recommendation-carousel .hero{height:calc(280px * 2 / 3)}
.recommendation-carousel .hero-content{padding:10px 14px}
.recommendation-carousel .hero-kicker{display:inline-block;margin:0 0 0 8px;font-size:9px;letter-spacing:1px}
.recommendation-carousel .hero h2{font-size:26px;line-height:1.2;margin:5px 0;letter-spacing:2px}
.recommendation-carousel .hero p{-webkit-line-clamp:1;font-size:10px;line-height:1.5}
.recommendation-carousel .hero-meta{font-size:8px;gap:5px;margin:6px 0}
.recommendation-carousel .hero .primary{font-size:10px;padding:8px 12px}
.recommendation-carousel .hero-index{right:14px;bottom:12px}

.comment-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.comment-delete{font-size:11px;color:#a6aaa7;padding:6px 0 6px 12px;flex-shrink:0}

/* Home header: icon, flexible search field, balance. */
.mobile-header .mobile-logo{flex:0 0 32px;justify-content:center;padding:0;min-height:40px}
.mobile-header .mobile-search{flex:1 1 0;min-width:0;padding:0}
.mobile-header .mobile-search .search{min-width:0;padding:5px 9px;gap:6px}
.mobile-header .mobile-search .search input{flex:1 1 0;min-width:0;width:0;text-overflow:ellipsis}
.mobile-header .wallet-chip{flex:0 0 auto;max-width:38%}

/* Compact home category bar and poster corners. */
#app-content.discover-page{padding-top:8px}
.discover-page .discovery{margin-top:0}
.discover-page .filter-row{margin:0 0 10px}
.discover-page .filter-row .tabs{padding-bottom:0;gap:5px}
.discover-page .filter-row .tabs button{padding:4px 8px;font-size:15px;font-weight:700;line-height:22px;border-radius:10px}
.discover-page .card-grid .poster{border-radius:4px}

.heat-badge{position:absolute;right:6px;top:6px;z-index:2;padding:3px 6px;border-radius:5px;background:rgba(0,0,0,.65);color:#ffe3a1;font-size:11px;font-weight:700;line-height:16px;white-space:nowrap;pointer-events:none}
#app-content.profile-page{padding-top:calc(16px + env(safe-area-inset-top))}

/* Shared in-app confirmation dialog, above existing sheets without replacing them. */
.confirm-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.65);overscroll-behavior:contain}
.confirm-modal{box-sizing:border-box;width:min(100%,360px);max-height:85dvh;overflow:auto;padding:22px;border:1px solid #3b3b3b;border-radius:16px;background:#1c1c1c;color:#e8ece9;box-shadow:0 16px 60px #0008}
.confirm-modal h2{margin:0 0 14px;font-size:18px;line-height:1.4}
.confirm-modal p{margin:0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.confirm-actions{display:flex;gap:12px;margin-top:22px}
.confirm-actions button{flex:1;min-height:42px;padding:10px;border:1px solid #474747;border-radius:9px;background:#2a2a2a;color:#e8ece9;font:inherit;cursor:pointer}
.confirm-actions button[data-confirm=accept]{background:#cacaca;border-color:#cacaca;color:#1e1e1e;font-weight:700}
.confirm-actions button:focus-visible{outline:2px solid #cacaca;outline-offset:3px}

/* Compact gutters preserve room between content and the screen edge. */
#app-content{padding-left:12px;padding-right:12px;margin-left:0;margin-right:0}
.comment-pending{color:var(--muted);font-size:12px;margin-left:4px}

/* Cinema theme: black surfaces, quiet gray type, red actions and warm ticket accents. */
:root{--accent:#ed2939;--muted:#949494;--line:#292929;--surface:#141414;--gold:#f2ce97;color:#f5f5f5;background:#000}
html,body,#root{background:#000;color:#f5f5f5}
.app-shell{background:radial-gradient(ellipse 100% 220px at 85% 0,rgba(114,19,28,.19),transparent),#000}
.mobile-header{background:#000;border-bottom:0;padding-left:12px;padding-right:12px;backdrop-filter:none}
.mobile-logo .brand-icon,.brand-icon{background:linear-gradient(135deg,#ff2857,#ed2527);color:#fff;transform:none;border-radius:8px}
.mobile-logo .brand-icon svg{transform:none}
.mobile-header .mobile-search .search{background:#292628;border:1px solid #474044;border-radius:8px;color:#aaa;padding:7px 9px}
.mobile-search input,.search input{color:#f5f5f5}
input::placeholder,textarea::placeholder{color:#898989;opacity:1}
.mobile-header .wallet-chip{background:linear-gradient(120deg,#38281b,#17110d);border:1px solid #705035;color:#f6d5a4;border-radius:6px}
.bottom-nav{background:#050505;border-top:1px solid #191919;backdrop-filter:none}
.bottom-nav button{color:#858585}
.bottom-nav button.active{color:#fff}
.primary{background:#ed2939;color:#fff;font-weight:600}
.secondary{background:#242424;border-color:#3b3b3b;color:#eee}
.primary:active,.secondary:active{transform:scale(.98)}
.icon-button{color:#b8b8b8}
.icon-button:hover,.icon-button:active{background:#242424}
.discover-page .filter-row .tabs{gap:6px}
.discover-page .filter-row .tabs button{color:#909090;border-color:transparent;border-radius:5px;font-size:16px;padding:4px 7px}
.discover-page .filter-row .tabs button.selected{color:#fff;background:#242122}
.card-title h3{color:#eee;font-weight:500}
.card-meta,.card-meta span,.card-meta .price{color:#929292}
.heat-badge{background:rgba(0,0,0,.66);color:#fff;font-weight:600}
.free-badge{background:#e52937;color:#fff}
.episode-badge{background:rgba(0,0,0,.65);color:#eee}
.panel,.studio-row,.order-row,.studio-work-card,.studio-episode-card,.profile-account-summary{background:var(--surface);border-color:var(--line);color:#ededed}
.drama-summary{background:linear-gradient(125deg,#21181a,#111);border-color:#30272a}
.detail-poster{border-color:#333}
.drama-facts,.detail-heading p,.muted{color:var(--muted)}
.detail-play-bar{background:#111;border-color:#292929}
.episode-tile{background:#202020;border-color:#363636}
.episode-tile small,.episode-cost{color:var(--gold)}
.tabs button.selected,.studio-tabs button.selected{background:#353033;color:#fff}
.studio-filters.studio-category-tabs button.selected{background:transparent;color:#fff}
.studio-category-tabs button.selected:after{background:var(--accent)}
.studio-create-card{background:linear-gradient(120deg,#29171b,#151313);border-color:#4b2b30;color:#f4e8ea}
.studio-create-plus{background:var(--accent);color:#fff}
.studio-create-card small,.studio-row p,.order-row p{color:var(--muted)}
#app-content.profile-page{background:radial-gradient(ellipse 95% 180px at 5% 0,rgba(104,14,47,.25),transparent);padding-top:calc(24px + env(safe-area-inset-top))}
.profile-page .profile-head{padding:8px 4px 22px;gap:16px;margin-bottom:0}
.profile-page .profile-head .account-avatar{width:60px;height:60px;border-radius:50%;background:#252525;color:#858585}
.profile-page .profile-head h1{font-size:22px;font-weight:600}
.profile-head p,.profile-head small{color:#999}
.profile-head small{background:#242424;border-radius:4px}
.profile-page .profile-wallet{padding:20px 16px;margin-bottom:16px;border:1px solid #edca94;border-radius:10px;background:linear-gradient(110deg,#efca90,#ffecd1);color:#48240f}
.profile-wallet span,.profile-wallet strong{color:#48240f}
.profile-page .profile-wallet strong{font-size:30px;margin-top:6px}
.profile-page .profile-wallet .primary{background:#ed2939;color:#fff;border-radius:6px;padding:10px 16px;font-size:12px}
.profile-page .profile-menu{background:#111;border:1px solid #242424;border-radius:9px;margin:9px 0}
.profile-page .profile-menu button{padding:9px 12px;min-height:46px;gap:10px;border-color:#252525;font-size:13px}
.profile-menu button>svg:first-child{color:#d85a68}
.profile-menu small,.profile-menu .chevron,.profile-note,.profile-note summary{color:#929292}
.wallet-balance{background:linear-gradient(120deg,#34261b,#181310);border-color:#745335}
.wallet-balance strong,.wallet-balance>div>span,.ticket-debit{color:var(--gold)}
.wallet-balance p{color:#b6a696}
.package-card{background:linear-gradient(145deg,#241c17,#131313);border-color:#4a3829}
.package-label,.package-card small{color:#ac9e91}
.package-card strong{color:#f3d2a3}
.package-card:hover{border-color:#e7bb7c;transform:none}
.free-text{color:#f2ce97!important}
.modal,.confirm-modal,.player-sheet-backdrop .modal{background:#171717;border-color:#353535;color:#f4f4f4}
.modal input,.modal textarea,.modal select,.panel input,.panel textarea,.panel select{background:#232323;border-color:#3b3b3b;color:#f1f1f1}
.comment-row{border-color:#2c2c2c}
.comment-row strong{color:#eee}
.comment-row p{color:#ccc}
.comment-compose textarea{background:#272727;border-color:#3a3a3a;color:#fff}
.comment-compose .primary{background:var(--accent);color:#fff}
.confirm-actions button{background:#292929;border-color:#3c3c3c;color:#eee}
.confirm-actions button[data-confirm=accept]{background:var(--accent);border-color:var(--accent);color:#fff}
.confirm-actions button:focus-visible{outline-color:var(--accent)}
.player-sheet-tabs button.active:after{background:var(--accent)}
.player-sheet-favorite{background:linear-gradient(100deg,#edca90,#ffecd1);color:#48240f}
.toast{background:#f2f2f2;color:#181818;border-color:#ddd}
@media(max-width:350px){#app-content{padding-left:10px;padding-right:10px}.mobile-header{padding-left:10px;padding-right:10px}.profile-page .profile-wallet{padding:16px 12px}}

.profile-page .profile-head .profile-phone{margin-top:5px;font-family:inherit;letter-spacing:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.settings-panel{padding:18px 4px}
.settings-panel h1{font-size:21px;margin-bottom:10px}
.settings-panel>p{font-size:12px;line-height:1.7}
.language-options{margin-top:22px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.language-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:17px 14px;text-align:left;border-bottom:1px solid var(--line);color:#ccc;font-size:14px}
.language-option:last-child{border-bottom:0}
.language-option[aria-pressed=true]{color:#fff;background:#292124}
.language-option svg{color:var(--accent);flex-shrink:0}
html[lang=en-US] .profile-menu .menu-content,html[lang=en-US] .studio-work-actions button{overflow-wrap:anywhere}
html[lang=en-US] .studio-work-actions{flex-wrap:wrap}
html[lang=en-US] .studio-work-actions button{flex:1 1 100px}
html[lang=en-US] .card-grid .free-badge,html[lang=en-US] .card-grid .episode-badge{font-size:6px;max-width:49%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[lang=en-US] .mobile-title{font-size:15px}

/* Equal-height home controls; the balance never takes space from the search. */
.mobile-header{--header-control-height:40px;align-items:center}
.mobile-header .mobile-logo{flex:0 0 var(--header-control-height);height:var(--header-control-height);min-height:var(--header-control-height)}
.mobile-header .mobile-logo .brand-icon{width:var(--header-control-height);height:var(--header-control-height);margin:0}
.mobile-header .mobile-search{height:var(--header-control-height)}
.mobile-header .mobile-search .search{height:100%;margin:0;padding:0 9px;box-sizing:border-box}
.mobile-header .mobile-search .search input{height:100%;padding:0;line-height:normal}
.mobile-header .wallet-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;flex:0 0 80px;width:80px;max-width:80px;min-width:0;height:var(--header-control-height);padding:3px 6px;overflow:hidden;border-radius:8px}
.wallet-chip-amount,.wallet-chip-label{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.wallet-chip-amount{font-size:12px;font-weight:700;line-height:16px;font-variant-numeric:tabular-nums}
.wallet-chip-large .wallet-chip-amount{font-size:10px}
.wallet-chip-label{font-size:10px;line-height:12px;font-weight:400}
.mobile-header .mobile-logo{position:relative;flex-basis:88px;width:88px;overflow:hidden;border-radius:4px;background:#000}
/* Frame the supplied wordmark, trimming only its surrounding black space. */
.mobile-header .mobile-logo-image{position:absolute;left:50%;top:50%;width:130%;max-width:none;height:auto;display:block;transform:translate(-50%,-50%);pointer-events:none}
.mobile-header .search-entry{display:flex;align-items:center;width:100%;text-align:left;font-size:14px;color:#949494}
.search-entry span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-entry svg,.site-search-form svg{flex-shrink:0}
.mobile-header .site-search-form{display:flex;gap:8px;align-items:center}
.mobile-header .site-search-form .search{flex:1;min-width:0}
.search-submit{flex:none;height:40px;padding:0 4px;font-size:13px;color:#eee}
.search-scope{color:var(--muted);font-size:12px;margin:0 0 14px}
.search-page .card-grid .poster{border-radius:4px}
.referral-card{margin:18px 0}
.referral-card h2,.wallet-history h3{font-size:17px}
.referral-card>p{margin-top:12px;font-size:12px;line-height:1.7}
.invite-code{display:block;font-family:monospace;font-size:24px;letter-spacing:2px;color:var(--gold);margin:8px 0 18px;overflow-wrap:anywhere}
.referral-totals{display:grid;gap:10px;font-size:12px}
.referral-totals>span{display:flex;justify-content:space-between;gap:12px}
.referral-card label{display:block;font-size:12px;margin-top:16px}
.referral-card .invite-link{display:block;width:100%;margin-top:8px;font-size:12px;padding:10px;border:1px solid var(--line);border-radius:6px;color:#ddd;background:#222}

/* Membership center */
.membership-card{background:linear-gradient(120deg,#392817,#17120c);border:1px solid #7c5c30;color:#f5dfb9}.membership-card h2{font-size:24px}.membership-card h2 span{color:#e9bd76}.membership-card p{line-height:1.65}.membership-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.membership-plans .panel{min-width:0;display:flex;flex-direction:column;gap:10px}.membership-plans h3{overflow-wrap:anywhere}.membership-plans button{margin-top:auto}.membership-page .wallet-row{overflow-wrap:anywhere}

/* Membership identity and landscape video controls */
.membership-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid #555;border-radius:6px;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}.membership-badge.is-vip{color:#42280c;border-color:#e9c17e;background:linear-gradient(110deg,#edbf71,#ffe5ae)}.membership-badge.is-standard{color:#bbb;background:#262626;border-color:#505050}.profile-head .membership-badge{margin:7px 0 3px}.profile-vip .account-avatar{border:2px solid #edbf71;color:#f3cf8f;background:#342719;box-shadow:0 0 0 4px #d9ae5420}.membership-card.is-standard{background:#171717;color:#ccc;border-color:#444}.membership-card.is-standard h2 span{color:#aaa}
.playback-controls #playback-fullscreen{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;flex-shrink:0;width:auto;min-width:56px;height:36px;padding:0 5px;font-size:12px;white-space:nowrap;color:#fff;background:#ffffff12;border-radius:5px}
.portrait-player:fullscreen{width:100%;height:100%;background:#000}.portrait-stage.landscape-mode{position:absolute;inset:0;width:100%;height:100%;max-width:none;box-shadow:none}.portrait-stage.landscape-rotated{inset:auto;left:50%;top:50%;width:var(--landscape-width);height:var(--landscape-height);transform:translate(-50%,-50%) rotate(90deg)}
.landscape-mode .episode-current{height:100%;width:100%}.landscape-mode .episode-current video{width:100%;height:100%;object-fit:contain}.landscape-mode .player-caption,.landscape-mode .player-episode-entry{display:none}.landscape-mode .player-bottom{position:absolute;bottom:0;left:0;right:0;z-index:5;background:transparent;padding:0}.landscape-mode .player-bottom .playback-controls{height:52px;padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:linear-gradient(transparent,#000c)}.landscape-mode .playback-detail{display:flex;align-items:center;justify-content:center;flex-shrink:0}.landscape-mode .player-back{display:none}.landscape-mode #playback-progress{transform:none!important}

/* Compact account identity and focused ticket wallet */
.profile-head.profile-vip,.profile-head.profile-standard{display:block;padding:20px 6px 16px;margin:0;background:none;border:0;min-height:0}.profile-identity{display:flex;align-items:center;gap:12px;min-width:0}.profile-page .profile-head .profile-identity .account-avatar{width:46px;height:46px;flex:0 0 46px}.profile-identity-copy{flex:1;min-width:0}.profile-head .profile-identity h1{font-size:19px;line-height:1.35;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.profile-account-kind{display:block;font-size:10px;color:#888;margin-top:4px}.profile-head .membership-badge{flex-shrink:0;margin:0;padding:5px 8px;cursor:pointer}.profile-head .profile-contact{margin:8px 0 0 58px;display:flex;flex-direction:column;gap:3px}.profile-head .profile-contact p{font-family:inherit;letter-spacing:0;margin:0;font-size:11px;line-height:1.5;color:#999}.profile-head .profile-contact .profile-phone{font-size:11px}.membership-badge:focus-visible{outline:2px solid #e4bf7c;outline-offset:3px}
.wallet-page{display:flex;flex-direction:column;gap:16px}.wallet-page .wallet-balance-card{display:block;margin:0;padding:22px;border:1px solid #79613b;border-radius:16px;background:radial-gradient(ellipse at top right,#674d2b55,transparent 65%),linear-gradient(135deg,#292217,#121212);box-shadow:0 12px 32px #0004}.wallet-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.wallet-card-top>span{display:flex;align-items:center;gap:7px;color:#dfc697;font-size:13px}.wallet-refresh{display:flex;align-items:center;gap:4px;padding:6px;color:#a99c87;font-size:11px;background:transparent}.wallet-page .wallet-amount{display:flex;align-items:baseline;gap:10px;margin:20px 0 8px;min-width:0}.wallet-page .wallet-amount strong{font-size:clamp(24px,7.5vw,42px);font-weight:750;line-height:1.1;color:#ffe2a8;overflow-wrap:anywhere}.wallet-page .wallet-amount>span{font-size:12px;color:#c8b38d}.wallet-page .wallet-balance-card>p{font-size:11px;color:#a29787;margin:0}.wallet-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid #d4b47820}.wallet-shortcut{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 0;font-size:12px;color:#f4d59b;background:transparent}
.wallet-page .recharge-section{padding:4px 0;margin:0}.wallet-page .recharge-section h2{font-size:17px;margin:0 0 6px}.wallet-page .recharge-section>.muted{font-size:11px;color:#888;margin:0 0 14px}.wallet-page .package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wallet-page .package-card{padding:16px;gap:9px;border:1px solid #383028;border-radius:12px;background:linear-gradient(145deg,#24201b,#161616);box-shadow:none}.wallet-page .package-card:hover{border-color:#d1aa6d;transform:none}.wallet-page .package-card:focus-visible{outline:2px solid #e2ba7c;outline-offset:2px}.package-coin{color:#dab378}.wallet-page .package-card strong{display:flex;align-items:baseline;gap:5px;font-size:23px;font-weight:700;color:#f3dfb6}.wallet-page .package-card strong small{font-size:10px;color:#afa18b}.wallet-page .package-price{font-size:17px;color:#eee}.package-action{display:flex;justify-content:space-between;align-items:center;align-self:stretch;color:#e6ba82;padding-top:10px;border-top:1px solid #ffffff0b;font-size:11px}.wallet-page .payment-note{font-size:11px;border-radius:9px;background:#181818;color:#999}.wallet-page .wallet-history,.wallet-page .wallet-invitations{margin:0;border-radius:12px;background:#151515;border:1px solid #292929;padding:16px}.wallet-invitations>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;list-style:none}.wallet-invitations>summary>span{margin-left:auto}.wallet-invitations[open]>summary{margin-bottom:16px}.wallet-invitations .referral-card{margin:0 0 12px}.wallet-page .wallet-row>div{flex:1 1 140px;min-width:0}.wallet-page .wallet-row{gap:8px}.wallet-page .wallet-row small{overflow-wrap:anywhere}
@media(max-width:360px){.profile-identity{gap:9px}.profile-head .profile-identity h1{font-size:17px}.profile-head .membership-badge{font-size:10px;padding:5px 6px}.profile-page .profile-head .profile-identity .account-avatar{width:40px;height:40px;flex-basis:40px}.profile-head .profile-contact{margin-left:49px}.wallet-page .wallet-balance-card{padding:18px}.wallet-page .package-card{padding:14px}}
/* Niceflix visual system — shared surfaces, spacing and interaction states. */
:root{--accent:#f03950;--muted:#9a9aa3;--line:#ffffff12;--surface:#141416;--gold:#eac78e;--bottom-nav-height:58px;--radius-card:16px;--radius-control:10px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.app-shell{background:#000}
#app-content{padding-left:14px;padding-right:14px}
.mobile-header{padding-left:14px;padding-right:14px;background:#000;border-bottom:0;backdrop-filter:none;gap:10px}
.mobile-header .mobile-search .search{border-radius:var(--radius-control);background:#18181b;border:1px solid #ffffff10;padding:0 11px}
.mobile-header .search-entry{font-size:12px;color:#a1a1aa}
.mobile-header .search-entry>span{display:block;font-size:12px;color:#a1a1aa}
.mobile-header .wallet-chip{border:1px solid #eac78e30;background:#211c15;color:#efd4a5;border-radius:var(--radius-control);flex-basis:72px;width:72px;max-width:72px}
.mobile-title{font-weight:650;letter-spacing:.2px}
.mobile-header .icon-button{border:1px solid #ffffff0d;background:#151517;border-radius:12px}
.primary,.secondary{min-height:42px;border-radius:var(--radius-control);font-size:13px;font-weight:600;line-height:1.4;gap:8px}
.primary{background:var(--accent);color:#fff;box-shadow:inset 0 1px #ffffff16}
.secondary{background:#222225;border:1px solid #ffffff14;color:#ededf0}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #f97888;outline-offset:3px}
button:active:not(:disabled){filter:brightness(.9)}
.app-shell>.bottom-nav{height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding-left:32px;padding-right:32px;background:#09090bf5;border-top:1px solid #ffffff10;gap:32px}
.bottom-nav button{position:relative;height:var(--bottom-nav-height);min-height:44px;flex-direction:column;gap:3px;font-size:10px;font-weight:500;color:#8b8b94}
.bottom-nav button svg{width:22px;height:22px;stroke-width:1.65}
.bottom-nav button.active{color:#fafafa;background:transparent}
.bottom-nav button.active:before{display:block;width:18px;height:2px;top:0;background:var(--accent);border-radius:0 0 3px 3px}
.bottom-nav button.active svg{color:#ff5367;fill:none}
.discover-page .filter-row{margin-bottom:14px}
.discover-page .filter-row .tabs{gap:8px;padding:2px 0 6px}
.discover-page .filter-row .tabs button{position:relative;padding:5px 9px;border:0;border-radius:8px;background:transparent;color:#96969f;font-size:15px;font-weight:700;line-height:24px}
.discover-page .filter-row .tabs button.selected{background:#2b141a;color:#ff6072}
.card-grid{gap:22px 10px}
.card-grid .poster{aspect-ratio:2/3!important;border-radius:6px!important;box-shadow:inset 0 0 0 1px #ffffff0c;background-color:#18181b}
.card-grid .poster:after{content:"";position:absolute;inset:55% 0 0;pointer-events:none;background:linear-gradient(transparent,#0009);z-index:0}
.card-grid .poster img{display:block}
.card-grid .poster-title{font-size:20px;letter-spacing:1px;line-height:1.5}
.card-grid .free-badge,.card-grid .episode-badge{z-index:1;border-radius:4px;background:#09090bc9;color:#e6e6eb;font-size:8px;padding:3px 4px;bottom:6px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-grid .free-badge{color:#f8d6a6}
.heat-badge{border:1px solid #ffffff18;border-radius:5px;background:#0b0b0dc9;color:#fff0d5;padding:2px 5px;font-size:10px;font-weight:600;line-height:16px;font-variant-numeric:tabular-nums}
.card-title{margin-top:9px}
.card-title h3{font-size:13px;line-height:1.5;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#f0f0f3}
.card-title>svg{display:none}
.card-meta{margin-top:4px;color:#93939c;font-size:10px;gap:3px}
.card-meta .price{color:#aaaab3;font-size:10px}
.card-meta .price small{font-size:9px}
.panel,.order-row,.favorite-row,.studio-work-card,.studio-episode-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card)}
.panel{padding:20px}
.panel h3{font-weight:600}
.empty{border:1px solid #ffffff0e;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#28171c66,transparent 70%),#111113;color:#a7a7b0;line-height:1.8;padding:52px 24px}
.page-heading h1,.settings-panel h1{font-size:23px;font-weight:650;letter-spacing:0}
.page-heading p,.search-scope{color:var(--muted);line-height:1.7}
#app-content.profile-page{padding-top:calc(12px + env(safe-area-inset-top))}
.profile-page .profile-head{padding:14px 4px 18px}
.profile-page .profile-head .account-avatar{border-radius:15px;background:#222228;border:1px solid #ffffff18;color:#c5c5cf;box-shadow:none}
.profile-page .profile-vip .account-avatar{background:linear-gradient(140deg,#493921,#211c16);color:#f0cd92;border-width:2px;border-color:#d4b07860;box-shadow:0 0 0 3px #d4b0780b}
.profile-head .profile-account-kind{color:#92929e;font-size:11px}
.profile-head .profile-contact p{color:#9999a4}
.membership-badge{border-radius:7px}
.membership-badge.is-vip{background:linear-gradient(115deg,#e5bd7e,#f9dfb1);color:#49351a;border-color:#f7dda7}
.membership-badge.is-standard{color:#b3b3bf;background:#202025;border-color:#ffffff18}
.profile-page .profile-wallet{padding:18px;border-radius:16px;border:1px solid #eac78e30;background:radial-gradient(ellipse at 100% 0,#a7843926,transparent 70%),#1d1914;margin-bottom:16px}
.profile-page .profile-wallet>div>span{color:#c7b695;font-size:11px}
.profile-page .profile-wallet strong{font-size:28px;color:#f2dbb3;font-variant-numeric:tabular-nums;letter-spacing:-.7px}
.profile-page .profile-wallet strong span{font-size:10px;color:#bdaa89;letter-spacing:0}
.profile-page .profile-wallet .primary{min-height:36px;border-radius:9px;background:#eaca97;color:#382715;box-shadow:none}
.profile-page .profile-menu{border:1px solid #ffffff0d;border-radius:16px;overflow:hidden;background:#121214;margin:12px 0}
.profile-page .profile-menu button{padding:10px 13px;min-height:57px;gap:12px;font-size:13px;border-color:#ffffff09}
.menu-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#242027;color:#d6b6c0}
.menu-icon-wallet,.menu-icon-crown,.menu-icon-ticket{background:#2a241b;color:#e3c08b}
.menu-icon-history,.menu-icon-bookmark{background:#1e242e;color:#b0bfd7}
.menu-icon-invite{background:#27202b;color:#d4b6df}
.menu-icon-settings,.menu-icon-lock,.menu-icon-user,.menu-icon-logout{background:#232328;color:#aaaab7}
.profile-page .profile-menu small{font-size:10px;line-height:1.5;color:#92929d;margin-top:3px}
.profile-menu .chevron{display:flex;color:#686874}
.profile-note{font-size:11px;color:#8f8f9b}
.wallet-page{gap:18px}
.wallet-page .wallet-balance-card{border-radius:20px;padding:22px;border-color:#eac78e30;background:radial-gradient(ellipse at 110% -10%,#be94523b,transparent 65%),linear-gradient(140deg,#262018,#141313);box-shadow:none}
.wallet-page .wallet-amount strong{font-variant-numeric:tabular-nums;letter-spacing:-1px;font-weight:650}
.wallet-shortcuts{border-color:#eac78e19}
.wallet-shortcut{color:#e8d1a9}
.wallet-page .package-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:10px;padding:17px;border-radius:14px;border-color:#eac78e20;background:#181719;text-align:left}
.wallet-page .package-coin{grid-column:2;grid-row:1;align-self:center;color:#caa776}
.wallet-page .package-card strong{grid-column:1;grid-row:1;font-size:22px;flex-wrap:wrap}
.wallet-page .package-price{grid-column:1/-1;font-size:17px;color:#ece9e3}
.wallet-page .package-action{grid-column:1/-1;font-size:11px;margin-top:2px;color:#cbb491}
.wallet-page .wallet-history,.wallet-page .wallet-invitations{padding:17px;border-color:#ffffff0d;border-radius:14px;background:#131315}
.wallet-history summary,.wallet-invitations summary{font-size:13px;font-weight:550;cursor:pointer}
.wallet-history summary small{color:#8e8e99;font-weight:400}
.wallet-row{border-color:#ffffff0c;padding-top:14px;padding-bottom:14px}
.wallet-row strong{font-weight:550}
.wallet-row small{color:#93939e;line-height:1.7}
.membership-page{display:flex;flex-direction:column;gap:18px}
.membership-page .membership-card{position:relative;overflow:hidden;border-radius:20px;padding:24px;border-color:#eac78e35;background:radial-gradient(ellipse at top right,#aa824430,transparent 70%),#211b14;color:#c8bca7}
.membership-page .membership-card h2{font-size:28px;letter-spacing:-.5px;margin:18px 0 12px;color:#fff2dd}
.membership-card p{font-size:12px;margin-top:12px;color:#b9ac99}
.membership-card>strong{font-size:13px;color:#eacb98}
.membership-card.is-standard{background:linear-gradient(125deg,#232023,#141416);border-color:#ffffff1a}
.membership-card.is-standard h2 span{color:#eac78e}
.membership-plans{gap:12px}
.membership-plans .panel{padding:18px 14px;background:#171619;border-color:#eac78e20;border-radius:14px}
.membership-plans h3{font-size:16px;line-height:1.5}
.membership-plans p{font-size:12px;color:#96929b}
.membership-plans strong{font-size:19px;color:#edd0a0;overflow-wrap:anywhere}
.membership-plans .primary{font-size:12px}
.referral-card{border-radius:16px}
.invitation-qr{display:flex;flex-direction:column;align-items:center;gap:16px;margin:22px 0 0;padding:22px 0 4px;border-top:1px solid var(--line);text-align:center}.invitation-qr-image{padding:8px;background:#fff;border-radius:14px;max-width:100%;box-sizing:border-box}.invitation-qr-image img{display:block;width:228px;height:auto;max-width:100%;image-rendering:pixelated}.invitation-qr figcaption{display:flex;flex-direction:column;gap:7px;max-width:280px}.invitation-qr figcaption strong{font-size:15px;color:#f0d3a3}.invitation-qr figcaption span{font-size:12px;line-height:1.6;color:#969696}
.theater-intro{display:flex;align-items:center;gap:14px;padding:24px 8px}.theater-intro h1{font-size:24px;margin:5px 0}.theater-intro p{color:#a9a3b7;font-size:12px;margin:6px 0}.theater-intro span{color:#c4a0ef;font-size:10px;letter-spacing:2px}.interactive-pill{display:inline-block;padding:5px 10px;border:1px solid #9878bf55;border-radius:20px;background:#30213d;color:#ddc5fa;font-size:11px}.interactive-editor-heading{padding:14px 0}.interactive-editor-heading h2{margin:10px 0;overflow-wrap:anywhere}.interactive-editor-actions,.interactive-node-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.interactive-node-actions button{font-size:12px;padding:9px 12px}.interactive-node{border:1px solid #3a3044;border-radius:12px;padding:15px;margin-top:14px;background:linear-gradient(140deg,#201925,#161616)}.interactive-node-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.interactive-node-heading strong{font-size:14px;overflow-wrap:anywhere}.interactive-node-heading .status{white-space:nowrap}.interactive-node-path{color:#c4a0ef;font-size:12px;overflow-wrap:anywhere}.interactive-node-fields{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:16px}.interactive-node-fields label{display:block}.interactive-waiting .player-bottom,.interactive-waiting .playback-center,.interactive-waiting .player-back{visibility:hidden!important}.interactive-choice-layer{position:absolute;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:24px 16px max(24px,env(safe-area-inset-bottom));background:linear-gradient(transparent 15%,#0009 65%,#000d);box-sizing:border-box;overflow:auto}.interactive-choice-card{width:min(100%,460px);max-height:85%;overflow:auto;padding:22px;border:1px solid #ad86c640;border-radius:22px;background:#19151ee8;box-shadow:0 12px 50px #0007;backdrop-filter:blur(12px)}.interactive-choice-card h2{font-size:20px;line-height:1.5;margin:14px 0 18px}.interactive-choice-list{display:grid;gap:10px}.interactive-choice{display:grid;grid-template-columns:1fr auto;gap:5px 14px;text-align:left;width:100%;border:1px solid #8b699c6b;border-radius:12px;background:#31223d;padding:14px 16px;color:#fff}.interactive-choice span{font-size:15px;overflow-wrap:anywhere}.interactive-choice small{grid-column:1;color:#c8afda;font-size:11px}.interactive-choice b{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;color:#d7b0ec}.interactive-choice:focus-visible{outline:2px solid #f4d08a;outline-offset:2px}.interactive-choice-footer{display:flex;gap:10px;margin-top:18px}.interactive-choice-footer button{flex:1;font-size:12px}.interactive-choice-card .muted{font-size:13px;line-height:1.6}
@media(orientation:landscape) and (max-height:600px){.interactive-choice-layer{align-items:center;padding:12px}.interactive-choice-card{max-height:100%;padding:14px 20px}.interactive-choice-card h2{margin:8px 0;font-size:17px}.interactive-choice-list{grid-template-columns:repeat(2,minmax(0,1fr))}.interactive-choice-footer{margin-top:10px}}
.invite-code{padding:14px;border:1px dashed #eac78e40;border-radius:10px;background:#211c15;font-size:25px;text-align:center}
.referral-totals{gap:14px}
.language-options{border-radius:14px;border-color:#ffffff10;background:#141416}
.language-option{min-height:60px;border-color:#ffffff0b;padding:18px 16px;font-size:13px}
.language-option[aria-pressed=true]{background:#2a171e}
.metric-grid{gap:10px}
.metric-grid>div{border-radius:14px;background:#171719;border:1px solid #ffffff0e;padding:18px 14px}
.metric-grid strong{font-variant-numeric:tabular-nums;color:#f1e0c4}
.studio-tabs,.studio-filters{gap:6px}
.studio-tabs button,.studio-filters button{border-radius:9px}
.studio-work-card,.studio-episode-card{padding:18px;margin-bottom:12px}
.studio-create-card{border-radius:16px;border-color:#f0395040;background:#24151a}
.studio-work-actions .primary,.studio-work-actions .secondary{min-height:38px;font-size:12px}
.panel input,.panel textarea,.panel select,.modal input,.modal textarea,.modal select{border-radius:10px;background:#101012;border:1px solid #ffffff20;padding:12px;color:#f1f1f5}
.panel form>label,.modal form>label{color:#bebec8;font-size:12px;gap:9px;margin:18px 0}
.modal-backdrop{background:#000b;backdrop-filter:blur(4px);padding:18px}
.modal,.confirm-modal{background:#19191d;border:1px solid #ffffff18;border-radius:22px;box-shadow:0 24px 80px #0009;padding:24px;overscroll-behavior:contain}
.modal-heading{margin-bottom:20px;gap:16px}
.modal-heading h2{font-size:20px;font-weight:650;letter-spacing:0}
.modal-heading .icon-button{flex-shrink:0;border-radius:50%;background:#ffffff08;color:#aaaab5;width:32px;height:32px;padding:6px}
.checkout-summary{padding:14px 0 22px}
.checkout-summary>svg{color:#e6c18a;width:36px;height:36px}
.checkout-summary h3{font-weight:600;font-size:18px;line-height:1.6}
.checkout-summary strong{font-size:36px;color:#f0d5a7;font-variant-numeric:tabular-nums}
.payment-note{border:1px solid #ffffff0a;background:#ffffff04;color:#aaaab5;border-radius:10px;padding:13px;font-size:11px;line-height:1.8}
.confirm-modal{width:min(100%,380px);padding:26px}
.confirm-modal h2{font-size:19px;font-weight:650;margin-bottom:12px}
.confirm-modal p{font-size:13px;color:#bdbdc7;line-height:1.8}
.confirm-actions{gap:10px;margin-top:24px}
.confirm-actions button{min-height:44px;border-radius:11px;background:#28282e;border-color:#ffffff10;font-size:13px}
.confirm-actions button[data-confirm=accept]{background:var(--accent);border-color:transparent;font-weight:600}
.player-sheet-backdrop{padding:0;background:#0007;backdrop-filter:none}
.player-sheet-backdrop .modal{background:#18181c;border-color:#ffffff18;border-radius:22px 22px 0 0;box-shadow:0 -12px 48px #0004}
.player-sheet-backdrop .modal-heading{min-height:54px;border-color:#ffffff0e}
.player-sheet-tabs button{font-size:15px}
.player-sheet-tabs button.active:after{height:3px;border-radius:3px 3px 0 0;background:var(--accent)}
.player-sheet-episode{border-radius:10px;background:#25252c;color:#c5c5cf;min-height:44px}
.player-sheet-episode[aria-current=true]{background:#3b1d26;border-color:#e8516880;color:#ff9eac}
.player-sheet-summary{color:#a0a0ad}
.player-sheet-favorite{border-radius:10px;background:linear-gradient(110deg,#e9c38a,#f7dfb6);color:#493318}
.comment-row{border-color:#ffffff0d;padding-top:15px;padding-bottom:15px}
.comment-row strong{font-size:12px;font-weight:600}
.comment-row p{font-size:13px;line-height:1.75;color:#d3d3dc}
.comment-compose textarea{border-radius:12px;background:#25252b;border-color:#ffffff10}
.comment-compose .primary{border-radius:11px}
.toast{background:#26262d;color:#f2f2f6;border:1px solid #ffffff20;border-radius:12px;box-shadow:0 12px 40px #0007}
@media(max-width:360px){
  #app-content{padding-left:10px;padding-right:10px}
  .mobile-header{padding-left:10px;padding-right:10px;gap:8px}
  .mobile-header .mobile-logo{flex-basis:76px;width:76px}
  .mobile-header .wallet-chip{flex-basis:64px;width:64px;max-width:64px}
  .card-grid{gap:18px 8px}
  .card-title h3{font-size:12px}
  .profile-page .profile-menu button{padding:9px 11px;gap:10px}
  .wallet-page .package-card{padding:14px;gap:8px}
  .wallet-page .package-card strong{font-size:20px}
  .modal,.confirm-modal{padding:20px}
  .player-sheet-backdrop .modal{padding:0 16px calc(12px + env(safe-area-inset-bottom))}
}
@media(hover:hover){
  .film-card:hover .poster{box-shadow:0 0 0 1px #ffffff32}
  .profile-menu button:hover{background:#ffffff04}
  .package-card:hover{background:#211d1b}
}
@media(prefers-reduced-motion:reduce){
  button,.poster-play,.modal{transition:none!important;animation:none!important}
}

/* Account hub: balance and four money-related destinations in one card. */
.profile-toolbar{display:flex;justify-content:flex-end;height:38px;margin-bottom:0}
.profile-settings{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#b7b7c2;background:#161619;border:1px solid #ffffff12}
.profile-page .profile-head{padding-top:4px;padding-bottom:18px}
.profile-page .profile-wallet{display:block;padding:0;overflow:hidden;margin:0 0 12px;background:radial-gradient(ellipse at 100% 0,#a7843929,transparent 65%),linear-gradient(130deg,#241f18,#171513)}
.profile-balance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 18px 20px}
.profile-balance-copy{flex:1;min-width:0}
.profile-balance-copy>span{font-size:12px;color:#c7b695}
.profile-page .profile-wallet .profile-balance-copy strong{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;font-size:clamp(24px,6.7vw,32px);line-height:1.3;margin-top:9px;overflow-wrap:anywhere}
.profile-balance-copy strong small{font-size:10px;font-weight:400;letter-spacing:0;color:#bdaa89}
.profile-page .profile-wallet .primary{flex-shrink:0;padding:10px 14px;min-height:38px;font-size:12px}
.profile-wallet-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #eac78e1c;background:#00000014;padding:15px 6px 17px;gap:2px}
.profile-wallet-link{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;padding:3px 2px;border-radius:8px;color:#dfc499}
.profile-wallet-link span{font-size:11px;color:#d6c9b5;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.profile-wallet-link svg{flex-shrink:0}
.profile-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.profile-library-button{display:flex;align-items:center;gap:8px;padding:17px 12px;border-radius:14px;background:#141417;border:1px solid #ffffff0e;min-width:0;text-align:left}
.profile-library-button>span:not(.menu-icon){font-size:12px;font-weight:550;line-height:1.5;flex:1;min-width:0;overflow-wrap:anywhere}
.profile-library-button>svg{flex:0 0 12px;color:#686874}
.profile-library-button .menu-icon{width:30px;height:30px;flex-basis:30px;background:transparent}
@media(max-width:360px){
  .profile-balance-row{padding:18px 14px;gap:8px}
  .profile-page .profile-wallet .primary{padding:9px 10px;font-size:11px}
  .profile-wallet-link span{font-size:10px}
  .profile-library{gap:8px}
  .profile-library-button{padding:15px 9px;gap:6px}
}

.settings-version{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:18px 4px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.settings-version strong{color:#d2d2dc;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet-records-page{display:flex;flex-direction:column;gap:16px}
.wallet-records-page .wallet-history{margin:0;padding:18px;border-radius:16px;background:#141416}
.wallet-records-page .wallet-row{gap:10px;flex-wrap:wrap}
.wallet-records-page .wallet-row>div{flex:1 1 140px;min-width:0}
.wallet-records-page .wallet-row small{overflow-wrap:anywhere}

.profile-page .account-avatar{overflow:hidden}
.profile-page .account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.settings-account-actions{margin-top:20px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#141416}
.settings-account-row{display:flex;align-items:center;gap:12px;width:100%;padding:17px 14px;text-align:left;border-bottom:1px solid var(--line)}
.settings-account-row:last-child{border-bottom:0}
.settings-action-copy{flex:1;min-width:0;font-size:13px;line-height:1.5}
.settings-action-copy small{display:block;margin-top:4px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.settings-account-row>svg{flex-shrink:0;color:#787885}
.settings-linked{color:#b9c9b9;font-size:11px;flex-shrink:0}

/* Dimensional account illustrations and a single aligned identity block. */
.rich-icon{display:block;flex-shrink:0;object-fit:contain;filter:drop-shadow(0 3px 3px #0003);pointer-events:none}
.profile-page .profile-head .profile-identity{align-items:center;gap:18px}
.profile-page .profile-head .profile-identity .account-avatar{width:80px;height:80px;flex:0 0 80px;border-radius:23px}
.profile-page .profile-head .profile-identity-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.profile-head .profile-identity h1{max-width:100%;font-size:21px;line-height:1.4}
.profile-head .profile-account-kind{margin:0;font-size:11px}
.profile-page .profile-head .profile-uid,.profile-page .profile-head .profile-phone{font-family:inherit;letter-spacing:0;line-height:1.5;margin:0;font-size:11px;color:#a5a5b1;overflow-wrap:anywhere}
.profile-head .profile-identity-copy .membership-badge{margin:3px 0 0}
.profile-page .profile-menu .menu-icon,.profile-library-button .menu-icon,.settings-account-row .menu-icon{background:none;width:36px;height:36px;flex-basis:36px;border-radius:0}
.profile-wallet-link .rich-icon{width:38px;height:38px}
.profile-wallet-links{padding-top:13px;padding-bottom:16px}
.profile-settings{width:40px;height:40px;background:#17171b;border-radius:13px}
.profile-settings .rich-icon{width:30px;height:30px}
.settings-language-entry{border:1px solid var(--line);border-radius:14px;background:#141416;overflow:hidden}
.settings-language-entry .settings-account-row{gap:10px}
.current-language{max-width:43%;font-size:12px;line-height:1.5;color:#a8a8b4;text-align:right;overflow-wrap:anywhere}
.language-options .language-option{min-height:56px}
.language-option>span{flex:1;min-width:0}
@media(max-width:360px){
 .profile-page .profile-head .profile-identity{gap:13px}
 .profile-page .profile-head .profile-identity .account-avatar{width:70px;height:70px;flex-basis:70px;border-radius:20px}
 .profile-head .profile-identity h1{font-size:19px}
 .profile-library-button .menu-icon{width:32px;flex-basis:32px}
 .settings-language-entry .settings-account-row{gap:8px;padding:15px 11px}
 .current-language{font-size:11px}
}

/* Compact account identity with membership above the portrait. */
.profile-avatar-column{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 94px;min-width:0}
.profile-avatar-column .membership-badge{max-width:100%;font-size:10px;white-space:normal;justify-content:center;padding:4px 6px;min-height:25px;margin:0;text-align:center}
.profile-avatar-column .membership-badge svg{flex-shrink:0;width:12px;height:12px}
.profile-page .profile-head .profile-identity{align-items:flex-end;gap:16px}
.profile-page .profile-head .profile-identity-copy{gap:7px;padding-bottom:6px;flex:1}
.profile-creator-space{height:18px;flex-shrink:0;width:100%}
.profile-page .profile-head .profile-phone,.profile-page .profile-head .profile-account-kind{font-size:12px;line-height:18px}
.profile-wallet-links{padding:8px 6px 9px}
.profile-wallet-link{gap:4px;padding:2px}
.profile-wallet-link .rich-icon{width:32px;height:32px}

/* Navigation uses the same dimensional artwork; selection is also marked by shape. */
.app-shell>.bottom-nav{--bottom-nav-height:64px}
:root{--bottom-nav-height:64px}
.bottom-nav button{gap:1px;font-size:10px}
.bottom-nav button .rich-icon{width:29px;height:29px;padding:1px;box-sizing:content-box;filter:grayscale(.72) saturate(.45);opacity:.6}
.bottom-nav button.active{font-weight:700;color:#ffe3ba}
.bottom-nav button.active .rich-icon{filter:drop-shadow(0 2px 4px #0005);opacity:1;background:#e7bb751a;border-radius:10px}
.bottom-nav button.active:before{height:3px;width:23px;background:#eac78e;display:block}

/* Membership: status, duration and price first; supplementary information collapsed. */
.membership-page{gap:14px}
.membership-page .membership-card{padding:21px;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#9d752b30,transparent 65%),linear-gradient(135deg,#30271b,#171512)}
.membership-hero-line{display:flex;justify-content:space-between;align-items:center;gap:16px}
.membership-hero-line>div{min-width:0}
.membership-hero-line>.rich-icon{width:68px;height:68px;flex-shrink:0}
.membership-brand{font-size:10px;font-weight:650;letter-spacing:2px;color:#c5ab7f}
.membership-page .membership-card h2{font-size:25px;line-height:1.4;margin:7px 0 9px;letter-spacing:0}
.membership-state{font-size:12px;font-weight:500;color:#eac78e}
.membership-page .membership-expiry{font-size:11px;margin:14px 0 0;color:#b7aa96}
.membership-benefit{display:flex;align-items:center;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid #eac78e20;font-size:12px;color:#eddbbd}
.membership-benefit svg{color:#dfb874;flex-shrink:0}
.membership-balance-line{display:flex;align-items:center;gap:9px;padding:4px 2px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.membership-balance-line strong{color:#e4d0ad;font-weight:600;overflow-wrap:anywhere}
.membership-topup{margin-left:auto;color:#e8ca96;padding:8px 12px;border:1px solid #eac78e26;border-radius:8px;font-size:11px}
.membership-page .membership-plans{gap:10px}
.membership-page .membership-plans .panel{padding:17px 14px;gap:8px}
.membership-plans h3{font-size:15px;font-weight:600}
.membership-plans .membership-duration{font-size:12px;color:#a6a0a7;margin:0}
.membership-plans strong{font-size:21px;line-height:1.4}
.membership-plans .primary{min-height:40px;margin-top:7px;background:linear-gradient(110deg,#dfb879,#f4d9a8);color:#3b2915;box-shadow:none}
.membership-brief{font-size:10px;color:#92909a;line-height:1.6;text-align:center;margin:0}
.membership-page .membership-details{padding:16px;border-radius:13px}
.membership-details summary{cursor:pointer;font-size:12px;color:#b7b4bf}
.membership-details>p{margin-top:12px;font-size:11px;line-height:1.8;color:var(--muted)}
.membership-details .wallet-row{font-size:12px}
@media(max-width:360px){
 .profile-avatar-column{flex-basis:82px}
 .profile-page .profile-head .profile-identity{gap:12px}
 .profile-avatar-column .membership-badge{font-size:9px}
 .membership-page .membership-card{padding:18px}
 .membership-page .membership-card h2{font-size:22px}
 .membership-hero-line>.rich-icon{width:58px;height:58px}
}

/* Bare controls keep their keyboard focus outline. */
.bottom-nav button.active .rich-icon{background:transparent;border:0;box-shadow:none}
.profile-settings,.profile-settings:hover{background:transparent;border:0;box-shadow:none}

/* Stable two-panel cinema sheet. */
.player-sheet-backdrop .modal{height:62dvh;max-height:85dvh;background:linear-gradient(160deg,#202024,#151518 45%);border-radius:22px 22px 0 0;padding:0 14px calc(12px + env(safe-area-inset-bottom))}
.sheet-handle{width:30px;height:3px;border-radius:4px;background:#ffffff24;margin:8px auto 4px;flex-shrink:0}
.player-sheet-backdrop .modal-heading{margin:0 -14px;padding:0 12px 0 14px;min-height:49px;border-bottom:1px solid #ffffff0c}
.player-sheet-tabs{gap:20px}
.player-sheet-tabs button{display:flex;align-items:center;gap:6px;font-size:14px;color:#94949f}
.player-sheet-tabs button .rich-icon{opacity:.65;filter:saturate(.6)}
.player-sheet-tabs button.active .rich-icon{opacity:1;filter:drop-shadow(0 2px 2px #0004)}
.player-sheet-tabs button.active:after{background:#eac78e;height:2px;left:32px}
.player-sheet-tabs small{font-size:10px;font-weight:500;color:#a7a1ad;background:#ffffff07;padding:2px 5px;border-radius:5px}
.player-sheet-backdrop .modal-heading .icon-button{background:transparent;width:36px;height:36px;border:0}
.sheet-series-title{font-size:11px;line-height:1.5;color:#9b97a2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;padding:10px 1px 0}
.player-sheet-grid{gap:8px;padding:12px 0;grid-template-columns:repeat(6,minmax(0,1fr))}
.player-sheet-episode{min-height:43px;border-radius:9px;background:#25252b;border:1px solid #ffffff09;color:#c6c4cf}
.player-sheet-episode strong{font-size:13px;font-weight:550}
.player-sheet-episode>.rich-icon{position:absolute;right:2px;top:2px;width:14px;height:14px}
.player-sheet-episode[aria-current=true]{background:linear-gradient(140deg,#473722,#2c241b);border-color:#d4ae6b88;color:#f8dbab}
.player-sheet-episode[aria-current=true] strong{font-weight:750}
.player-sheet-footer{padding:10px 0 0;border-top:1px solid #ffffff09}
.player-sheet-favorite{width:150px;height:38px;gap:7px;background:#29242a;border:1px solid #f296b730;color:#e2becd;border-radius:11px}
.player-sheet-favorite.is-favorite{background:#3d2732;border-color:#e99bb96b;color:#ffe0ec}
.player-sheet-favorite:not(.is-favorite) .rich-icon{filter:saturate(.6)}
.player-sheet-backdrop .comments-list{padding:4px 2px 0}
.player-sheet-backdrop .comment-row{padding:12px 0;border-bottom:1px solid #ffffff0b}
.player-sheet-backdrop .comment-row strong{font-size:12px;color:#e5d9cb;font-weight:600}
.player-sheet-backdrop .comment-row p{margin:5px 0 7px;font-size:13px;line-height:1.65;color:#d1ced8}
.player-sheet-backdrop .comment-footer small{font-size:10px;color:#7f7d8b}
.player-sheet-backdrop .comment-delete{font-size:10px;color:#b79ba7;padding:4px 0 4px 10px}
.player-sheet-backdrop .comment-compose{margin-top:8px;padding-top:10px;gap:8px;align-items:center}
.player-sheet-backdrop .comment-compose textarea{height:42px;min-height:42px;max-height:42px;border-radius:11px;padding:9px 11px;line-height:22px;background:#242329;border-color:#ffffff0c}
.player-sheet-backdrop .comment-compose .primary{height:42px;min-height:42px;max-height:42px;padding:0 10px;background:#23313d;border:1px solid #83b5da30;color:#d7ebff;gap:4px;font-size:12px;box-shadow:none}
.player-sheet-backdrop .empty{padding:30px 16px;margin:12px 0;border:0;background:transparent;font-size:12px;line-height:1.8}
@media(max-width:360px){.player-sheet-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.player-sheet-tabs{gap:14px}}
@media(max-height:500px){.player-sheet-backdrop .modal{height:82dvh}.sheet-series-title{padding-top:5px}.player-sheet-grid{padding-top:8px}}
/* Compact account and checkout dialogs share the dimensional icon family. */
.polished-modal {padding:20px; border-radius:24px; border:1px solid #363039; background:radial-gradient(ellipse at top left,#362a32a8,transparent 60%),#17171b; box-shadow:0 24px 80px #0009;}
.polished-modal .modal-heading {gap:10px; margin-bottom:16px; align-items:center;}
.polished-modal .modal-heading h2 {flex:1; min-width:0; font-size:19px; line-height:1.35; overflow-wrap:anywhere;}
.polished-modal .modal-heading>.rich-icon {flex-shrink:0;}
.polished-modal .modal-heading .icon-button {flex-shrink:0; border:0; background:none;}
.polished-modal form {gap:12px;}
.polished-modal label {gap:6px; font-size:13px;}
.polished-modal input {min-width:0; padding:11px 12px; border-radius:12px; background:#0c0d11;}
.polished-modal .muted,.polished-modal .payment-note,.polished-modal .auth-explanation {font-size:12px; line-height:1.65; margin:10px 0; overflow-wrap:anywhere;}
.polished-modal .primary {min-height:46px; height:auto; padding:12px 14px; white-space:normal; line-height:1.4; border-radius:13px;}
.polished-modal .checkout-summary {padding:16px 12px; border:1px solid #d9b87825; background:linear-gradient(135deg,#3d3024a0,#202026); border-radius:16px; margin-bottom:14px; overflow-wrap:anywhere;}
.polished-modal .checkout-summary .small-icon {background:none; border:0; width:auto; height:auto;}
.polished-modal .checkout-summary h3 {font-size:18px; margin:8px 0;}
.polished-modal .checkout-summary strong {font-size:26px; line-height:1.4;}
.polished-modal .checkout-summary p {font-size:12px; margin:5px 0;}
.subtitle-picker {display:grid; grid-template-columns:28px minmax(0,1fr); align-items:center; gap:6px 10px; margin:0 0 14px; padding:10px; border:1px solid #ffffff10; border-radius:13px; background:#ffffff05; flex-shrink:0;}
.subtitle-picker label {display:grid; gap:5px; min-width:0; font-size:11px; color:#bdb8c1;}
.subtitle-picker select {width:100%; min-width:0; max-width:100%; padding:8px 26px 8px 10px; font-size:14px; background-color:#111216; border:1px solid #ffffff15; border-radius:8px; color:#f1e6d2; text-overflow:ellipsis;}
.subtitle-picker small {grid-column:2; font-size:11px; color:#e7be80;}
.subtitle-picker small:empty {display:none;}
#portrait-stage video::cue {color:white; background:transparent; text-shadow:none; -webkit-text-stroke:0; font-size:clamp(14px,3.5vw,24px);}
@media(max-width:360px) {.polished-modal {padding:16px;}.polished-modal .modal-heading h2 {font-size:17px;}}

.polished-modal .checkout-summary>.rich-icon {display:block;margin:0 auto 8px;}

/* Subtitle controls and unobstructed playback. */
.subtitle-picker {display:flex;flex-direction:column;align-items:stretch;gap:9px;margin-bottom:4px;}
.subtitle-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;}
.subtitle-heading>span {display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;color:#d8d0c5;}
.subtitle-sizes {display:flex;gap:3px;padding:3px;background:#090a0d;border-radius:9px;}
.subtitle-sizes button {min-width:32px;min-height:30px;padding:4px 7px;border-radius:6px;font-size:12px;color:#a49da9;}
.subtitle-sizes button[aria-pressed=true] {background:#e3c38e;color:#2c2115;font-weight:700;}
#portrait-stage[data-subtitle-size=small] video::cue {font-size:clamp(14px,3.5vw,24px);}
#portrait-stage[data-subtitle-size=medium] video::cue {font-size:clamp(18px,4.5vw,30px);}
#portrait-stage[data-subtitle-size=large] video::cue {font-size:clamp(22px,5.5vw,38px);}
.player-bottom {transition:opacity .22s ease,visibility .22s;}
.portrait-stage[data-controls-hidden=true] .player-bottom {opacity:0;visibility:hidden;pointer-events:none;}
.portrait-stage[data-controls-hidden=true] .player-bottom>* {pointer-events:none;}
@media(prefers-reduced-motion:reduce){.player-bottom{transition:none;}}

/* Three primary destinations and plain source subtitle text. */
.app-shell>.bottom-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-left:12px;padding-right:12px;}
.bottom-nav button {min-width:0;justify-content:center;}
.bottom-nav button>span {max-width:100%;font-size:10px;line-height:1.2;text-align:center;overflow-wrap:anywhere;}
.theater-page {display:block;}
.theater-page .discovery{margin-top:0;width:100%;}
.theater-page .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px;}
.theater-placeholder {width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:36px 16px;}
.theater-placeholder h1 {font-size:22px;line-height:1.4;letter-spacing:0;color:#eee6dc;}
.theater-placeholder p {padding:7px 18px;border:1px solid #eac78e25;border-radius:20px;background:#eac78e0a;color:#c6ae89;font-size:13px;}
#portrait-stage video::cue {background-color:transparent;background-image:none;text-shadow:none;-webkit-text-stroke-width:0;}

/* Stable loading surface: no page teardown while requests are pending. */
.app-loading {position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#08080bea;pointer-events:none;}
.loading-indicator {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:100px;color:#c9b89d;font-size:12px;line-height:1.5;text-align:center;}
.loading-reel {position:relative;display:flex;align-items:center;justify-content:center;gap:6px;width:64px;height:64px;border:1px solid #eac78e35;border-radius:20px;background:linear-gradient(145deg,#332b23,#17171c);box-shadow:0 8px 28px #0004;}
.loading-reel i {display:block;width:6px;height:20px;background:linear-gradient(#ffe2ad,#b98350);border-radius:4px;animation:loading-wave 1s ease-in-out infinite;}
.loading-reel i:nth-child(2){animation-delay:.13s}.loading-reel i:nth-child(3){animation-delay:.26s}
.page-loading {display:grid;place-items:center;min-height:180px;padding:24px;}
.page-loading .loading-indicator {animation:loading-reveal .15s both;}
@keyframes loading-wave {0%,100%{transform:scaleY(.5);opacity:.5}50%{transform:scaleY(1.25);opacity:1}}
@keyframes loading-reveal {from{opacity:0}to{opacity:1}}
.subtitle-episode-context {font-size:11px;color:#b8a58b;line-height:1.4;}
.episode-subtitle-summary {display:grid;gap:5px;padding-top:10px;border-top:1px solid #ffffff0d;font-size:11px;color:#aaa2b2;overflow-wrap:anywhere;}
.episode-subtitle-summary strong {font-size:11px;color:#d1ba95;}
@media(prefers-reduced-motion:reduce){.loading-reel i,.page-loading .loading-indicator{animation:none}}

.boot-loading{min-height:100vh;min-height:100dvh;display:grid;place-items:center;background:#000}

#subtitle-status[data-loading=true]::before,.playback-feedback[data-loading=true]::before {content:"";display:inline-block;vertical-align:middle;width:12px;height:12px;margin-right:7px;border:2px solid #eac78e35;border-top-color:#eac78e;border-radius:50%;animation:loading-spin .8s linear infinite;}
@keyframes loading-spin {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#subtitle-status[data-loading=true]::before,.playback-feedback[data-loading=true]::before{animation:none}}

/* Loading always sits at viewport center, including loading inside a bottom sheet. */
.loading-indicator {min-height:0;gap:20px;font-size:14px;}
.loading-reel {width:84px;height:84px;gap:8px;border-radius:25px;}
.loading-reel i {width:8px;height:28px;}
.inline-loading {position:fixed;inset:0;z-index:91;display:grid;place-items:center;background:#08080bd9;pointer-events:none;animation:loading-reveal .15s both;}
.page-loading>.loading-indicator {visibility:hidden;animation:none;}
#subtitle-status[data-loading=true]::before,.playback-feedback[data-loading=true]::before {display:none;}
@media(prefers-reduced-motion:reduce){.inline-loading{animation:none}}

/* Media loading never creates a second, full-screen data-loading mask. */
.playback-feedback[data-loading=true]{top:50%;transform:translate(-50%,-50%);padding:0;border-radius:0;background:transparent;white-space:normal;text-align:center}
.playback-feedback[data-loading=true] .loading-indicator{animation:none}
#subtitle-status[data-loading=true]::before{display:inline-block}

/* Compact catalog metadata and wallet surfaces. */
.film-card .card-meta{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:0 4px;line-height:1.6}
.film-card .card-meta .price{width:auto;flex:0 1 auto;min-width:0}
.film-card .card-meta .tiny-dot{flex:none;margin:0;color:#696974}
.film-card .card-category{min-width:0}
.wallet-page{gap:12px}
.wallet-page .wallet-balance-card{padding:15px;border-radius:14px}
.wallet-page .wallet-card-top>span{font-size:12px;gap:6px}
.wallet-page .wallet-card-top .rich-icon{width:26px;height:26px}
.wallet-page .wallet-amount{margin:12px 0 6px;gap:7px}
.wallet-page .wallet-amount strong{font-size:clamp(24px,6.5vw,32px)}
.wallet-page .wallet-shortcuts{margin-top:12px;padding-top:8px;gap:6px}
.wallet-page .wallet-shortcut{padding:5px 0;gap:5px;font-size:11px;min-height:36px}
.wallet-page .wallet-shortcut .rich-icon{width:26px;height:26px}
.wallet-page .recharge-section{padding:0}
.wallet-page .recharge-section h2{font-size:15px;margin-bottom:4px}
.wallet-page .recharge-section>.muted{margin-bottom:9px}
.wallet-page .package-grid{gap:8px;margin:8px 0}
.wallet-page .package-card{padding:12px;gap:6px;border-radius:10px}
.wallet-page .package-card strong{font-size:19px;gap:4px}
.wallet-page .package-coin .rich-icon{width:26px;height:26px}
.wallet-page .package-price{font-size:15px}
.wallet-page .package-action{padding-top:7px;margin-top:0;font-size:10px}
.wallet-page .payment-note{padding:9px 11px;margin-top:8px;line-height:1.6}
.wallet-page .wallet-history,.wallet-page .wallet-invitations{padding:12px;border-radius:10px}
.wallet-page .wallet-invitations>summary{font-size:12px;gap:6px}
.wallet-page .wallet-invitations>summary .rich-icon{width:26px;height:26px}
.wallet-page .wallet-invitations[open]>summary{margin-bottom:10px}
.wallet-page .referral-card{padding:12px;margin:0 0 8px;border-radius:10px}
.wallet-page .referral-card h2,.wallet-page .wallet-history h3{font-size:14px}
.wallet-page .referral-card>p{margin-top:8px;font-size:11px}
.wallet-page .invite-code{padding:9px;font-size:21px;border-radius:8px;margin:8px 0}
.wallet-page .referral-totals{gap:8px;font-size:11px}
.wallet-page .referral-card label{margin-top:10px;font-size:11px}
.wallet-page .referral-card .invite-link{margin-top:6px;padding:8px;font-size:12px}
.wallet-page .referral-card .full{min-height:38px;padding:8px 10px;font-size:11px}

/* Story map: connections belong to the parent, main branch is first and gold. */
.interactive-tree{min-width:0;padding:16px 12px;overflow:hidden}
.story-map{max-width:100%;overflow:auto;overscroll-behavior:contain;padding:16px 4px 20px;background:radial-gradient(#ad86c61c 1px,transparent 1px) 0 0/16px 16px;border-radius:12px;margin-top:12px;max-height:70vh}
.story-tree,.story-tree ul{list-style:none;margin:0;padding:0;display:flex;align-items:flex-start;width:max-content;min-width:100%}
.story-tree ul{padding-top:28px;position:relative}
.story-tree ul:before{content:"";position:absolute;top:0;left:50%;height:28px;border-left:2px solid #78658e}
.story-tree-item{position:relative;display:flex;flex-direction:column;align-items:center;padding:28px 10px 0;flex:1}
.story-tree-item:before,.story-tree-item:after{content:"";position:absolute;top:0;width:50%;height:28px;border-top:2px solid #78658e}
.story-tree-item:before{right:50%;border-right:2px solid #78658e}
.story-tree-item:after{left:50%}
.story-tree-item:first-child:before,.story-tree-item:last-child:after{border-top:0}
.story-tree-item:only-child:before{border-right:2px solid #78658e}
.story-tree>.story-tree-item{padding-top:0}
.story-tree>.story-tree-item:before,.story-tree>.story-tree-item:after{display:none}
.story-edge-label{font-size:11px;color:#c6a8e9;background:#292031;border:1px solid #574365;border-radius:20px;padding:4px 12px;z-index:1}
.is-main>.story-edge-label{color:#f8d59e;background:#352b21;border-color:#83623b}
.is-main>.interactive-node{border-color:#83623b}
.story-map .interactive-node{width:236px;margin-top:8px;padding:12px;flex-shrink:0;box-shadow:0 6px 18px #0003}
.story-map .interactive-node-heading{align-items:flex-start;gap:6px}
.story-map .interactive-node-heading strong{font-size:13px;min-width:0}
.story-map .interactive-node-heading .status{font-size:10px;padding:3px 6px}
.story-map .interactive-node-actions{gap:6px;margin:10px 0 0}
.story-map .interactive-node-actions button{padding:8px;font-size:11px;flex:1 1 44%;overflow-wrap:anywhere}
.story-map .interactive-node-path{margin:8px 0;line-height:1.6}
/* Size to the stage itself, including portrait devices using CSS rotation. */
.interactive-choice-layer{overflow:hidden}
.interactive-choice-card{display:flex;flex-direction:column;min-height:0;max-height:100%;overflow:hidden;flex-shrink:1}
.interactive-choice-card>.interactive-pill{align-self:flex-start;flex-shrink:0}
.interactive-choice-card h2,.interactive-choice-footer{flex-shrink:0}
.interactive-choice-list{min-height:0;overflow:auto;overscroll-behavior:contain;padding:3px;align-content:start}
.interactive-choice{min-width:0}
.landscape-mode .interactive-choice-layer{align-items:center;padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))}
.landscape-mode .interactive-choice-card{width:min(100%,680px);max-height:100%;padding:12px 18px;border-radius:16px}
.landscape-mode .interactive-choice-card h2{font-size:17px;margin:6px 0 10px}
.landscape-mode .interactive-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.landscape-mode .interactive-choice{padding:10px 12px}
.landscape-mode .interactive-choice-footer{margin-top:10px}
@media(orientation:landscape) and (max-height:600px){
 .interactive-choice-card{width:min(100%,680px)}
 .interactive-choice{padding:10px 12px}
}

/* Creator work types and event-driven, pannable story canvas. */
.work-type-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:10px;line-height:1.4;margin-bottom:7px;font-weight:600}
.work-type-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.work-type-badge.is-interactive{background:#382249;color:#d9b1fa;border:1px solid #79508e}
.work-type-badge.is-standard{background:#202f3d;color:#aed2ed;border:1px solid #3c5b70}
.studio-type-filters{display:flex;gap:8px;margin:16px 0 12px}
.studio-type-filters button{flex:1;min-width:0;border:1px solid #353039;border-radius:9px;background:#18171c;color:#a6a1ae;padding:10px 6px;font-size:12px}
.studio-type-filters button.selected{color:#efd9ff;border-color:#9364ac;background:#302039}
.story-map-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px}
.story-map-toolbar button{border:1px solid #53435f;border-radius:7px;background:#251e2d;color:#e1cbea;padding:7px 10px;min-height:34px;font-size:11px}
.story-map-scale{font-size:11px;color:#c2afce;min-width:36px;text-align:center;font-variant-numeric:tabular-nums}
.story-map{position:relative;height:clamp(360px,65vh,680px);max-height:none;overflow:hidden;padding:0;touch-action:none;cursor:grab;user-select:none;isolation:isolate}
.story-map.is-dragging,.story-map.is-dragging button{cursor:grabbing}
.story-map>.story-tree{position:absolute;left:0;top:0;min-width:0;transform-origin:0 0;will-change:auto}
.story-map:focus-visible{outline:2px solid #c99be8;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.story-map button{transition:none}}

/* A single animation survives transitions between request, sheet and video waiting. */
#centered-loading{animation:none}
.playback-loading-surface{position:absolute;inset:0;z-index:35;display:grid;place-items:center;background:transparent;pointer-events:none}
.playback-loading-surface .loading-indicator{animation:none}

/* Keep the artwork until actual playback, including the gap before the first frame. */
.player-loading-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none;filter:brightness(.65)}
.portrait-stage[data-has-frame=true] .player-loading-poster{display:none}
.has-loading-poster{background:transparent}
.loading-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55);z-index:-1}
.has-loading-poster{isolation:isolate}
.landscape-mode .player-caption{display:block;padding:8px 16px 3px;max-width:75%}
.landscape-mode .player-caption>strong{font-size:13px;margin-bottom:2px}
.landscape-mode .player-episode-entry{display:flex;width:auto;max-width:75%;min-height:28px;margin-left:6px;padding:3px 10px;background:transparent;border:0}
.landscape-mode .player-bottom{background:linear-gradient(transparent,#000a)}
.portrait-stage>.player-sheet-backdrop{position:absolute;inset:0}
.landscape-mode>.player-sheet-backdrop .modal{height:90%;max-height:100%;width:min(680px,100%)}
#portrait-video::-webkit-media-controls-fullscreen-button{display:none!important}

/* Local loading remains inside the sheet, including rotated landscape playback. */
.player-sheet-backdrop .modal{position:relative}
.modal-loading-surface{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:#17151de6;border-radius:inherit;pointer-events:none;overflow:hidden}
.modal-loading-surface .loading-indicator{animation:none}
.theater-intro{gap:10px;padding:10px 8px}
.theater-intro>div{min-width:0}
.theater-intro h1{font-size:18px;line-height:1.25;margin:2px 0}
.theater-intro p{font-size:11px;line-height:1.4;margin:2px 0}
.theater-intro span{font-size:9px;letter-spacing:1px}

.player-sheet-tabs{min-width:0;gap:12px}
.player-sheet-tabs button{min-width:0}
.player-sheet-tabs button>span:not(.rich-icon){overflow-wrap:anywhere}
.player-sheet-backdrop .modal-heading .icon-button{flex-shrink:0}
@media(max-width:360px){.player-sheet-tabs{gap:8px}.player-sheet-tabs button{gap:4px;font-size:12px}.player-sheet-tabs button .rich-icon{width:22px;height:22px}}

/* Theater has no header: start at the safe-area edge rather than the shared main inset. */
#app-content.theater-page{padding-top:calc(env(safe-area-inset-top) + 4px)}
.theater-intro{padding:0 0 6px;gap:8px}
.theater-intro h1{font-size:17px;margin:0;line-height:1.3}
.theater-intro p{margin:2px 0 0;font-size:10px;line-height:1.3}
.settings-cache{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:#141416;overflow:hidden}
.settings-cache .settings-account-row{padding:14px 12px;gap:9px;border:0}
.system-cache-size{flex-shrink:0;font-size:11px;color:#c8b087;max-width:32%;overflow-wrap:anywhere;text-align:right}
.settings-cache-note{padding:0 12px 12px;font-size:10px;line-height:1.5;color:var(--muted)}

/* Content directory and server-managed application copy. */
.directory-role{font-size:11px;color:var(--muted);line-height:1.4}
.creator-apply-message{white-space:pre-wrap;overflow-wrap:anywhere;max-height:50dvh;overflow:auto}

/* Logo stays visible until the actual cover has loaded and decoded. */
.poster-image{position:absolute;inset:0;display:block;overflow:hidden;background:#141416;pointer-events:none}
.poster-image .poster-logo{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at center,#252024,#111114 75%)}
.poster-image .poster-logo img{position:static!important;inset:auto!important;width:48%!important;height:auto!important;max-width:100px;object-fit:contain!important;opacity:.75}
.poster-image .poster-source{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.poster-image.poster-ready .poster-source{opacity:1}
.poster-image.poster-ready .poster-logo{visibility:hidden}
.player-poster-backdrop .poster-image .poster-source,.player-loading-poster .poster-source{object-fit:contain}

/* Independent developer content console. */
.developer-console{background:#101114;color:#eceef3;overflow:auto;touch-action:auto}.developer-console *{box-sizing:border-box}.dev-top{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:18px 4vw;background:#17181df5;border-bottom:1px solid #30313a}.dev-top strong{font-size:22px}.dev-top small{font-size:12px;color:#aaaebc;margin-left:12px}.dev-top nav{display:flex;align-items:center;gap:20px;font-size:13px}.developer-console button{background:#292b34;border:1px solid #40434f;border-radius:8px;padding:10px 14px;font-size:13px}.developer-console button.primary{background:#d6b782;color:#241b10;border-color:#d6b782;font-weight:700}.developer-console button:disabled{opacity:.5}.developer-console .panel{background:#1a1b21;border:1px solid #30323c;border-radius:14px;padding:22px;margin-bottom:18px}.developer-console label{display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:12px;color:#c5c8d2}.developer-console input,.developer-console textarea,.developer-console select{background:#121318;border-color:#383b47;color:#eee;min-width:0}.developer-console p{font-size:12px;line-height:1.8;color:#9fa5b6;margin:10px 0}.developer-console h1{font-size:26px}.developer-console h2{font-size:18px;margin:0}.developer-console a{color:#d9bf94}.dev-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}#dev-app{max-width:1540px;margin:0 auto;padding:30px 4vw 80px}.dev-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}.dev-catalog{align-self:start;position:sticky;top:90px;max-height:calc(100dvh - 120px);overflow:auto}.dev-catalog form{display:flex;gap:8px}.dev-catalog form input{width:100%;min-width:0}.dev-works{display:grid;gap:9px;margin-top:18px}.developer-console .dev-work{text-align:left;width:100%;background:#202129;border:1px solid #31343f}.developer-console .dev-work.selected{border-color:#c2a473;background:#302b23}.dev-work strong,.dev-work small{display:block;overflow-wrap:anywhere}.dev-work small{font-size:11px;color:#9fa5b6;margin-top:6px}.dev-main{min-width:0}.dev-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.dev-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.dev-cover-edit{display:flex;align-items:center;gap:22px}.dev-cover-edit>img{width:90px;height:125px;object-fit:cover;border-radius:8px}.dev-cover-edit>div{flex:1;min-width:0}.dev-table{overflow:auto;max-height:520px;margin-top:16px}.dev-table table{border-collapse:collapse;width:100%;min-width:580px;text-align:left;font-size:12px}.dev-table td,.dev-table th{padding:12px;border-bottom:1px solid #30323c}.dev-table th{color:#a8aebc;font-weight:500}.dev-table small{display:block;color:#8e95a6;margin-top:5px}.dev-task{padding:18px 0;border-bottom:1px solid #363843}.dev-task header{display:flex;justify-content:space-between;gap:12px;font-size:13px;overflow-wrap:anywhere}.dev-task header span{color:#d6b782}.dev-login{max-width:420px;margin:8vh auto}.developer-console .dev-notice{padding:12px 16px;border-left:2px solid #b79562;background:#28241d;color:#d0ba95}#dev-message{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:100;max-width:90vw;background:#e0c497;color:#241d14;padding:12px 20px;border-radius:10px;font-size:13px;box-shadow:0 8px 30px #0006}#dev-message:empty{display:none}#dev-editor{scroll-margin-top:95px}.developer-console .confirm-modal{color:#eee}
@media(max-width:850px){.dev-layout{grid-template-columns:minmax(0,1fr)}.dev-catalog{position:static;max-height:330px}.dev-fields{grid-template-columns:minmax(0,1fr)}.dev-top small{display:block;margin:2px 0 0}.dev-top nav{gap:10px}#dev-app{padding:20px 14px 80px}.developer-console .panel{padding:16px}.dev-task header{flex-direction:column}.dev-heading{align-items:flex-start}.dev-cover-edit{gap:12px}}

html.developer-document{height:auto;overflow:auto;overscroll-behavior:auto;background:#101114}.developer-console{height:auto;min-height:100vh;user-select:text;-webkit-user-select:text}.dev-top nav a,.developer-console button{white-space:nowrap}.dev-catalog form button{flex-shrink:0}
.dev-eyebrow{display:block;color:#d5b67f;font-size:10px;letter-spacing:2px;margin-bottom:8px}.dev-storage{background:linear-gradient(120deg,#24231f,#1a1b21)!important}.dev-bucket{border-top:1px solid #3b3b40;padding-top:16px;margin-top:12px}.dev-bucket>.dev-heading{margin-bottom:14px}.dev-bucket>.dev-heading>strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.dev-count{display:inline-block;padding:4px 8px;border:1px solid #746449;border-radius:6px;color:#dfc18e;font-size:10px;white-space:nowrap}.dev-storage-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dev-storage-metrics>div{padding:14px 16px;background:#11121880;border:1px solid #37373c;border-radius:10px}.dev-storage-metrics small{display:block;color:#a7a8b2;font-size:11px;margin-bottom:10px}.dev-storage-metrics strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dev-storage-note{font-size:11px!important}.dev-media-panel{min-width:0}.dev-media-row{padding:14px 0;border-top:1px solid #343640;min-width:0}.dev-media-label{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:10px}.dev-media-label strong{overflow-wrap:anywhere;min-width:0}.dev-media-label span{font-size:10px;color:#bda783;white-space:nowrap}.dev-link-controls{display:flex;gap:8px;align-items:center}.dev-link-controls input{flex:1;width:0;font:12px monospace;padding:10px;min-width:0}.dev-link-controls a{font-size:12px;white-space:nowrap}.dev-link-controls button{padding:8px 10px;font-size:11px}.dev-media-row>small{display:block;overflow-wrap:anywhere;color:#929aaa;font-size:10px;margin-top:8px}.dev-media-panel{max-height:620px;overflow:auto}
@media(max-width:650px){.dev-storage-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dev-storage-metrics>div{padding:12px}.dev-storage-metrics strong{font-size:17px}.dev-link-controls{flex-wrap:wrap}.dev-link-controls input{flex-basis:100%;width:100%}.dev-media-label{align-items:flex-start}.dev-storage .dev-heading{gap:8px}}
/* Fixed notice board: transparent interaction shield, no backdrop tint or blur. */
.home-popup-gate .boot-loading {visibility:hidden}
.home-popup-open {overflow:hidden}
.home-popup-overlay {position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:16px;background:transparent}
.home-popup-notice {display:flex;flex-direction:column;align-items:center;gap:16px}
.home-popup-card {position:relative;isolation:isolate;box-sizing:border-box;width:min(240px,calc(100vw - 32px));height:min(307px,calc(100vh - 100px));height:min(307px,calc(100dvh - 100px));border:1px solid #ffffff30;border-radius:8px;background:#171719;color:#f5f5f7;box-shadow:0 calc(var(--stack)*5px) 0 -2px #343438,0 12px 36px #0006;overflow:hidden;display:flex;flex-direction:column}
.home-popup-content {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
.home-popup-footer {height:36px;display:flex;justify-content:center;align-items:center}
.home-popup-close {display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffff45;border-radius:50%;background:transparent;color:white;font-size:25px;line-height:1;cursor:pointer}
.home-popup-close:focus-visible,.home-popup-link:focus-visible,.home-popup-content:focus-visible {outline:2px solid #f2cb91;outline-offset:-3px}
.home-popup-text {padding:24px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:16px}
.home-popup-image {display:block;width:100%;height:100%;object-fit:contain}
.home-popup-link {display:block;width:100%;height:100%}
.home-popup-content>p {padding:24px}

/* Developer bucket browser: bounded lists, readable long object paths. */
.dev-file-filter{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,2fr) auto;gap:12px;align-items:end;margin:16px 0}
.dev-file-filter label{min-width:0}.dev-file-filter input,.dev-file-filter select{width:100%}
.dev-file-list{border-top:1px solid var(--line,#333);margin:16px 0}
.dev-file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line,#333)}
.dev-file-row>div:first-child{min-width:0;flex:1}.dev-file-row strong{display:block;overflow-wrap:anywhere;font-size:13px}.dev-file-row small{display:block;opacity:.65;margin-top:5px}
.dev-file-row .dev-actions{flex-shrink:0;margin:0}.dev-file-delete{color:#ff8585!important}.dev-file-row a{white-space:nowrap}
@media(max-width:600px){.dev-file-filter{grid-template-columns:1fr}.dev-file-row{align-items:flex-start;flex-direction:column;gap:8px}}

.card-redemption input[name=code]{font-family:ui-monospace,monospace;letter-spacing:.1em;font-size:18px;text-align:center}.card-redemption input[name=code]::placeholder{font-family:inherit;letter-spacing:0;font-size:12px}.card-redemption{margin-bottom:14px}

.crypto-checkout dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin:24px 0}.crypto-checkout dt{color:#999}.crypto-checkout dd{margin:0;text-align:right;overflow-wrap:anywhere}.crypto-checkout .full{margin-top:12px}.crypto-pay-link{display:flex;justify-content:center;text-decoration:none;padding:14px;border-radius:10px}

.crypto-transfer{padding:16px;border:1px solid #333;border-radius:14px;text-align:center;background:#141414}.crypto-transfer>img{display:block;max-width:100%;height:auto;margin:16px auto;border-radius:8px}.crypto-transfer p{font-size:13px;color:#aaa;overflow-wrap:anywhere}.crypto-transfer label{display:block;text-align:left;font-size:13px}.crypto-transfer input{width:100%;min-width:0;margin-top:8px;font-family:monospace}.crypto-transfer strong{color:#f4d297}

.crypto-checkout{max-width:460px;margin:0 auto;padding:20px 16px}.crypto-summary{text-align:center}.crypto-summary>span:first-child{font-size:13px;color:#aaa}.crypto-summary>strong{display:block;font-size:34px;margin:10px 0 4px}.crypto-summary>strong small{font-size:14px;color:#aaa}.crypto-summary p{margin:4px 0 10px}.crypto-status{font-size:13px;color:#ebcd92}.crypto-checkout .crypto-transfer{background:none;border:0;padding:0}.crypto-checkout .crypto-transfer>img{width:196px;margin:16px auto 12px}.crypto-checkout .crypto-transfer input{font-size:12px;padding:10px}.crypto-checkout .crypto-transfer p{font-size:11px;line-height:1.5;margin:10px 0}.crypto-checkout .crypto-transfer .full{margin-top:8px}.crypto-feedback{font-size:13px;line-height:1.6;color:#edcf9b;overflow-wrap:anywhere}.crypto-feedback:not(:empty){padding:10px 0}.crypto-checkout .crypto-pay-link{font-size:13px;padding:10px;color:#bbb}.crypto-details{margin-top:12px;border-top:1px solid #292929;padding-top:12px;font-size:12px}.crypto-details summary{cursor:pointer;color:#aaa}.crypto-checkout .crypto-details dl{gap:8px;margin:12px 0}.crypto-checkout .text-button{font-size:13px;color:#aaa}

.crypto-feedback small{display:block;color:#aaa;margin-top:4px}

.region-screen{margin:0;min-height:100svh;overflow:auto;display:grid;place-items:center;padding:20px;box-sizing:border-box;background-color:#071219;background-image:radial-gradient(ellipse at 55% 30%,#12404780,transparent 65%),linear-gradient(#328a9615 1px,transparent 1px),linear-gradient(90deg,#328a9615 1px,transparent 1px);background-size:auto,32px 32px,32px 32px;color:#eaf8fb;font-family:system-ui,sans-serif}
.region-terminal{width:min(100%,540px);box-sizing:border-box;padding:clamp(24px,5vw,44px);text-align:center;border:1px solid #27525b;border-top:3px solid #65e1d1;border-radius:12px;background:#0b1b24;box-shadow:0 24px 64px #02080980}
.region-brand,.region-terminal footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font:11px/1.5 monospace;letter-spacing:.08em;color:#a0bec4}.region-brand b{color:#f1fffd;font-size:16px;letter-spacing:.14em}.region-orbit{width:min(240px,80%);margin:28px auto 4px;color:#72e4d0}.region-code{font:12px monospace;letter-spacing:.16em;color:#72e4d0}.region-terminal h1{font-size:clamp(23px,5vw,34px);margin:14px 0}.region-terminal h1+p{color:#b8cdd2;font-size:14px}.region-terminal footer{margin-top:36px;padding-top:16px;border-top:1px solid #254049;flex-wrap:wrap}.region-terminal a{color:#a4c3c9}

/* Compact wallet header and naturally sized membership sections. */
.profile-page .profile-member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;margin:0;border-bottom:1px solid #eac78e18}
.profile-member-row>span{display:flex;align-items:center;gap:7px;min-width:0}
.profile-page .profile-member-row strong{margin:0;font-size:13px;line-height:1.4;letter-spacing:0;color:#f2d39b}
.profile-member-row .rich-icon{width:25px;height:25px;flex-shrink:0}
.profile-member-row .membership-topup{margin:0;min-height:32px;max-width:58%;padding:5px 10px;font-size:11px;line-height:1.4;white-space:normal;text-align:center}
.profile-page .profile-balance-row{padding:12px 14px;gap:10px}
.profile-page .profile-wallet .profile-balance-copy strong{margin-top:3px;font-size:26px;line-height:1.2;letter-spacing:-.4px}
.profile-page .profile-wallet .primary{min-height:34px;padding:7px 12px}
.profile-page .profile-wallet-links{padding:7px 6px 8px}
.membership-page{gap:10px}
.membership-page> *{flex-shrink:0}
.membership-page .membership-card{padding:18px;border-radius:16px;min-width:0;overflow:visible}
.membership-page .membership-card h2{font-size:24px;margin:5px 0 6px;line-height:1.3}
.membership-hero-line{gap:12px}
.membership-hero-line>.rich-icon{width:56px;height:56px;flex-shrink:0}
.membership-page .membership-plans{align-items:start;gap:8px}
.membership-page .membership-plans .panel{padding:12px 10px;gap:4px;margin:0;border-radius:12px}
.membership-plans h3{font-size:14px;line-height:1.4;margin:0}
.membership-plan-option{display:flex;flex-direction:column;gap:5px;padding-top:7px;min-width:0}
.membership-plan-option+.membership-plan-option{margin-top:4px;padding-top:9px;border-top:1px solid #ffffff10}
.membership-page .membership-plan-option strong{font-size:18px;line-height:1.3;margin:0}
.membership-page .membership-plan-option.is-tickets strong{font-size:14px;color:#bdb5a8}
.membership-page .membership-plan-option button{min-height:36px;padding:7px 8px;margin:0;font-size:12px;line-height:1.4;white-space:normal}
.membership-page .membership-details{padding:12px;border-radius:12px;margin:0}
@media(max-width:350px){.profile-page .profile-member-row,.profile-page .profile-balance-row{padding-left:12px;padding-right:12px}.membership-page .membership-card{padding:15px}.membership-page .membership-card h2{font-size:22px}.membership-hero-line>.rich-icon{width:48px;height:48px}}

/* Isolated, read-only organization portal. */
body.org-portal{background:#0d1017;color:#e8ebf1;overflow:auto}.org-portal .org-top{display:flex;justify-content:space-between;align-items:center;padding:20px 4vw;border-bottom:1px solid #ffffff15}.org-top small{font-size:12px;color:#939bad;margin-left:12px}.org-portal #org-app{max-width:1200px;margin:auto;padding:28px 20px}.org-portal .panel{background:#171b25;border:1px solid #ffffff12;border-radius:14px;padding:22px}.org-portal .org-login{max-width:400px;margin:8vh auto}.org-login p,.org-heading p,.org-note{font-size:12px;color:#939bad;line-height:1.8}.org-login form{display:grid;gap:16px;margin-top:24px}.org-portal label{display:grid;gap:8px;font-size:12px}.org-portal input,.org-portal select{width:100%;min-width:0;background:#10141d;color:#eee;border:1px solid #384052;border-radius:8px;padding:10px}.org-portal button{padding:9px 14px;border-radius:8px;background:#262d3d;color:#eee}.org-portal button.primary{background:#e5c08a;color:#302414}.org-portal button:disabled{opacity:.4}.org-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0}.org-metrics article{padding:20px;background:#171b25;border:1px solid #ffffff12;border-radius:12px}.org-metrics span,.org-metrics small{display:block;font-size:12px;color:#939bad}.org-metrics strong{display:block;font-size:26px;margin:10px 0}.org-tabs{display:flex;gap:10px;margin-bottom:16px}.org-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.org-filter label{min-width:160px;flex:1}.org-table{overflow:auto}.org-table table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.org-table td,.org-table th{text-align:left;padding:14px 12px;border-bottom:1px solid #ffffff12}.org-table td small{display:block;margin-top:5px;color:#939bad}.org-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;font-size:12px}.org-note{margin-top:20px}.org-portal #org-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#343c4e;border-radius:10px;padding:12px 18px;max-width:90vw;z-index:100;font-size:13px}.org-portal #org-message:empty{display:none}@media(max-width:540px){.org-portal #org-app{padding:20px 12px}.org-portal .panel{padding:16px}.org-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.org-metrics article{padding:14px}.org-pagination{gap:8px}.org-pagination button{padding:8px}.org-top small{display:block;margin:4px 0 0}}

.org-filter [hidden]{display:none!important}.org-filter input[type=date]{min-width:0;max-width:100%}.org-metrics small{overflow-wrap:anywhere}
