:root{color-scheme:light;font-family:"Microsoft YaHei",system-ui,sans-serif;color:#273b43;background:#f3f5f4;font-size:14px;--accent:#267461;--line:#dfe6e3}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #d5ded9;background:white;color:#304a42;padding:9px 14px;border-radius:7px;white-space:nowrap}button:hover{background:#eff5f1;border-color:#93b9a8}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8cbaa9;outline-offset:3px}.primary{background:var(--accent);border-color:var(--accent);color:white;font-weight:600}.primary:hover{background:#1e5f50;color:white}.wide{width:100%}.big{font-size:17px;padding:15px}.text-button,.link-button{border:0;background:transparent;color:var(--accent)}.link-button{padding:0;text-align:left;font-weight:600}input,textarea,select{width:100%;border:1px solid #cfdad4;background:#fff;border-radius:6px;padding:10px;color:#273b43;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #9ac4b2;outline-offset:1px}textarea{resize:vertical;min-height:74px}label{display:block;font-size:13px;color:#50635b}label input,label textarea{margin-top:7px}h1,h2,h3,p{margin-top:0}h1{font-size:18px;margin-bottom:0}h2{font-size:25px;margin-bottom:16px}h3{font-size:17px;margin-bottom:14px}p{line-height:1.75}small,.muted,.prob{color:#75847d;font-size:12px}.muted{line-height:1.8}.center{text-align:center}[hidden]{display:none!important}header{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffed}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit}.brand>span{display:grid;place-items:center;width:36px;height:36px;background:#e6f0e9;color:#39765c;border-radius:9px;font-size:18px;font-weight:700}.brand small:empty{display:none}#accountBar{display:flex;gap:18px;align-items:center}main{max-width:1500px;margin:auto;padding:28px 36px 100px}.panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px}.heading h2{margin:0}.inline{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.inline h3{margin:0;margin-right:auto}.inline input{width:200px}.balance strong{font-size:26px;margin-left:10px;color:#245f4a}.player-theme{background:linear-gradient(#f4f6f0c7,#f3f5f4 670px),url('/background.webp?v=6eb21d5354954bf23fd79ef286588533b02878648ca365226ba7c1b85e1adf17') center top/cover fixed}.player-grid{display:grid;grid-template-columns:245px minmax(330px,1fr) 240px;gap:24px;align-items:start}.player-grid aside{margin-top:30px}.player-grid aside:first-child{background:#ffffffeb}.group{padding:15px 0;border-bottom:1px solid #e8ece9}.group:last-child{border-bottom:0}.group strong{display:block;font-size:14px;margin-bottom:9px}.chip{display:inline-block;margin:3px 10px 3px 0;color:#607169;font-size:13px}.wheel-stage{max-width:570px;width:100%;margin:auto}.wheel-stage>button{display:block;width:80%;margin:0 auto 12px}#wheelBox{position:relative;width:100%}canvas{width:100%;height:auto;display:block}.pointer{position:absolute;left:50%;top:11%;transform:translateX(-50%);width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:30px solid #263e36;filter:drop-shadow(0 2px 1px #fff)}.hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:62px;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#faf7e9;border:3px solid #314f41;color:#314f41;font-weight:bold;font-size:18px}.hub span{font-size:11px;font-weight:400}.progress{margin:18px 0}.progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.bar{height:5px;background:#e9efeb;border-radius:4px;margin-top:8px;overflow:hidden}.bar span{display:block;height:100%;background:#5e947c}.rule-help{border-top:1px solid var(--line);padding-top:15px;font-size:12px}summary{cursor:pointer;color:#546c60}.player-nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--line);box-shadow:0 4px 20px #26382b0d;padding:6px;display:flex;gap:8px;border-radius:12px;z-index:5}.player-nav button{border:0;min-width:125px;background:transparent}.player-nav button.active{background:#e8f1eb;color:#246b51;font-weight:bold}.spaced{margin-top:24px}.reward-filters{margin-bottom:24px}.reward-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.reward-item{border:1px solid var(--line);padding:20px;display:flex;align-items:center;justify-content:space-between;border-radius:8px;gap:12px}.reward-item h3{margin:12px 0 4px}.reward-item p{margin:0}.reward-item>span{font-size:12px;color:#75847d}.reward-status{background:#fff1d9;color:#8b642e;border-radius:4px;padding:4px 7px;font-size:12px}.reward-status.done{background:#eaf3eb;color:#407252}.account-page{max-width:640px;margin:20px auto}.account-page dl{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:24px 0;border-block:1px solid var(--line)}dd{margin:0;text-align:right;font-weight:bold}.auth{display:grid;grid-template-columns:1fr 400px;max-width:970px;margin:7vh auto;gap:90px;align-items:center}.auth-story h2{font-size:32px;line-height:1.5}.auth-story>p{color:#63766b}#authForm{padding:32px}#authForm label{margin:20px 0}#switchAuth{width:100%;margin-top:12px}#authPrizes{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.merchant-theme .auth-story #authPrizes{display:none}.merchant-theme{background:#f5f6f8;--accent:#345f82}.merchant-theme header{background:#fff}.merchant-theme .brand>span{background:#edf1f6;color:#3a5e7c}.merchant-theme main:has(#admin:not([hidden])){padding-left:228px;max-width:1700px}.admin-nav{position:fixed;top:76px;left:0;bottom:0;width:195px;padding:32px 16px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:10px}.admin-nav button{text-align:left;border:0;padding:13px 12px;background:transparent}.admin-nav .active{background:#edf2f7;color:#345f82;font-weight:bold}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}#grantForm{position:sticky;top:20px}#grantForm label{margin:18px 0 10px}#selectedUser{font-size:14px;color:#456b85;background:#f1f5f8;padding:10px;border-radius:6px}.segments{display:flex;gap:3px;background:#f0f3f4;padding:4px;border-radius:7px;width:max-content;max-width:100%}.segments button{border:0;background:transparent;padding:8px 15px}.segments button.active{background:#fff;box-shadow:0 1px 4px #0000000d;color:var(--accent);font-weight:bold}#creditModes{width:100%}#creditModes button{flex:1}.quick-values,.note-presets,.row-actions{display:flex;gap:5px;flex-wrap:wrap}.quick-values button,.row-actions button{padding:6px 9px;font-size:12px}.quick-values .chosen{background:#e9f0f6;border-color:#7696af;color:#345f82}.note-presets button{border:0;padding:5px 8px;background:#f3f5f7;font-size:12px;color:#657481}.grant-preview{background:#eef4f8;padding:12px;margin-top:20px;font-size:13px;color:#365d79;border-radius:6px}#grantForm>p:last-child{margin-top:12px;margin-bottom:0}.table-wrap{overflow:auto;max-height:65vh}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:15px 12px;text-align:left;border-bottom:1px solid #e9edf0;white-space:nowrap}th{color:#788690;font-weight:400;background:#f8f9fb;position:sticky;top:0;z-index:1}tbody tr:hover{background:#fafcfd}td button{font-size:12px}.empty{padding:35px 15px;color:#8b969e;text-align:center}.pool-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pool-head{display:grid;grid-template-columns:1fr 100px;gap:16px}.reward-row,.reward-labels{display:grid;grid-template-columns:minmax(80px,1fr) 84px 40px 34px;gap:8px;align-items:center}.reward-labels{font-size:12px;color:#84918a;margin-bottom:8px}.reward-row input[type=color]{padding:3px;height:38px}.reward-row button{padding:7px}.prob{margin:6px 0 15px;font-size:11px}.form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;margin-top:24px}.span-all{grid-column:1/-1}.rule-row{display:flex;gap:12px;margin-bottom:12px}.rule-row input{width:110px}.rule-row select{max-width:320px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}.probability-toolbar{margin:28px 0 12px}.toggle{display:flex;align-items:center;gap:8px}.toggle input{width:auto;margin:0}.settings-savebar{position:sticky;top:0;z-index:3;background:#fff;padding:12px 0}#tab-rules>.panel:first-child{display:contents}.form-grid{background:#fff;border:1px solid var(--line);padding:22px;border-radius:8px;margin-top:12px}.config-preview{margin-top:20px}.config-preview canvas{max-width:440px;margin:auto}.record-filters{display:inline-flex;margin-left:12px}.detail-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:580px;max-width:95vw;height:100vh;max-height:100vh;text-align:left;border-radius:0;padding:28px;overflow:auto}.detail-drawer h3{margin-top:28px}.detail-drawer table{font-size:12px}.detail-drawer td{white-space:normal;overflow-wrap:anywhere}.detail-totals{display:flex;gap:18px;margin-top:25px}.detail-totals>div{flex:1;background:#f3f6f8;padding:18px;font-size:12px;color:#607688}.detail-totals strong{display:block;font-size:28px;color:#294c65;margin-top:10px}dialog{border:1px solid var(--line);border-radius:14px;background:#fff;color:#273b43;max-width:calc(100vw - 32px);padding:32px;text-align:center}dialog::backdrop{background:#102b245e}#result{width:420px}#result h2{font-size:28px;margin:20px 0}#resultInfo{font-size:13px;color:#7a8981}#result button{margin:5px}#result #spinAgain{display:block;width:100%;margin:12px 0 6px}#alert{background:#fff0ec;border:1px solid #e8baab;color:#964c3f;padding:14px;margin-bottom:20px;border-radius:7px}#toast{position:fixed;left:50%;bottom:98px;transform:translateX(-50%);background:#263c33;color:white;padding:13px 22px;border-radius:8px;z-index:100;max-width:90vw;box-shadow:0 4px 20px #0002}
@media(min-width:1600px){.player-grid{grid-template-columns:280px minmax(400px,1fr) 270px}}
@media(max-width:1150px){.player-grid{grid-template-columns:200px minmax(280px,1fr)}.player-grid>aside:last-child{grid-column:1/-1;margin-top:0}.player-grid>aside:last-child #progress{display:flex;gap:24px;align-items:center}.player-grid .progress{flex:1}.admin-grid{grid-template-columns:1fr}.merchant-theme main:has(#admin:not([hidden])){padding-left:215px}#grantForm{position:static}.pool-grid{grid-template-columns:1fr}}
@media(max-width:700px){header{height:64px;padding:0 16px}h1{font-size:15px}.brand{gap:9px}.brand>span{width:30px;height:30px;font-size:15px}.brand small{font-size:10px}#accountBar{gap:8px;font-size:11px}#accountBar button{font-size:11px;padding:7px}.player-theme #accountBar #logout{display:none}main{padding:20px 16px 100px}.heading{align-items:flex-start;margin-bottom:12px}.heading h2{font-size:20px}.heading .inline{gap:8px}.balance{font-size:12px}.balance strong{font-size:20px;margin-left:5px}#refreshBalance{padding:6px 8px;font-size:11px}.player-grid{display:flex;flex-direction:column;gap:16px}.wheel-stage{order:-1;max-width:420px}.player-grid aside{width:100%;margin:0!important}.panel{padding:20px}.player-grid>aside:last-child #progress{display:block}#prizeList{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.player-nav{bottom:0;width:100%;border-radius:0;justify-content:space-around;padding:9px 6px max(9px,env(safe-area-inset-bottom))}.player-nav button{min-width:0;flex:1;padding:12px}.wheel-stage>button{width:90%}.wheel-stage>p{font-size:11px;margin-bottom:0}.auth{display:block;margin:12px auto;max-width:420px}.auth-story h2{font-size:22px;margin-bottom:8px}.auth-story #authPrizes{display:none}.auth-story>p{font-size:12px;margin-bottom:20px}#authForm{padding:24px}.reward-list{grid-template-columns:1fr}.reward-item{padding:16px}.merchant-theme main:has(#admin:not([hidden])){padding:20px 14px 85px}.admin-nav{top:auto;bottom:0;width:100%;height:66px;flex-direction:row;padding:8px;border-top:1px solid var(--line);z-index:5}.admin-nav button{flex:1;text-align:center;padding:9px 3px;font-size:12px}.inline{gap:10px}.inline input{width:150px}.admin-grid>.panel{padding:16px}.form-grid{grid-template-columns:1fr 1fr}.form-grid label:first-child{grid-column:1/-1}.settings-savebar{gap:8px}.settings-savebar h3{display:none}.settings-savebar button{padding:9px;font-size:12px}.pool-head{grid-template-columns:1fr 90px}.reward-row,.reward-labels{grid-template-columns:minmax(70px,1fr) 65px 35px 28px;gap:6px}.reward-row input{padding:8px}.record-filters{margin:10px 0}.detail-drawer{padding:20px}.detail-drawer .inline h2{font-size:20px}.player-theme main:has(#auth:not([hidden])){padding-bottom:28px}.reward-item>span{white-space:nowrap}}
.promo-screen{position:relative;background:linear-gradient(110deg,#e2eee5,#f6f4df);border:1px solid #cdddcf;border-radius:12px;margin:0 0 12px;padding:20px 120px 20px 24px;min-height:130px;overflow:hidden}
#promoContent>a,#promoContent>div{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:#2d5041;animation:promoEnter .45s ease}
.promo-kicker{font-size:11px;color:#718576;letter-spacing:1px}#promoContent strong{font-size:21px;font-weight:600}.promo-description{font-size:13px;color:#667e70;overflow-wrap:anywhere}.promo-visit{font-size:12px;color:#31705a}.promo-controls{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:flex;gap:4px}.promo-controls button{padding:7px 9px;background:#ffffff9c;font-size:12px}.promo-edit{display:grid;grid-template-columns:1fr 2fr;gap:12px;border-top:1px solid #e0e5e2;padding:18px 0}.promo-edit button{justify-self:end;align-self:end}.promo-edit label:nth-child(3){grid-column:1}
@keyframes promoEnter{from{opacity:.2;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:700px){.promo-screen{padding:16px 16px 42px;min-height:132px}#promoContent strong{font-size:18px}.promo-controls{top:auto;bottom:8px;right:12px;transform:none}.promo-controls button{padding:4px 8px}.promo-edit{grid-template-columns:1fr}.promo-edit label:nth-child(3){grid-column:auto}}
@media(prefers-reduced-motion:reduce){#promoContent>a,#promoContent>div{animation:none}}

/* Login and registration show account access only. */
#authPrizes{display:none!important}


/* Login activity window with three slide selectors. */
.player-theme .auth{max-width:1320px;grid-template-columns:minmax(0,1fr) 360px;gap:48px;margin:5vh auto;align-items:center}
.player-theme .auth-story{min-width:0}
.login-showcase{width:100%}
.login-window{position:relative;overflow:hidden;border-radius:14px;box-shadow:0 20px 50px #214f4220;background:#344f48;touch-action:pan-y}
#loginTrack{display:flex;transition:transform .65s cubic-bezier(.22,.68,.2,1)}
.login-slide{position:relative;flex:0 0 100%;min-width:0;min-height:460px;display:flex;align-items:flex-end;background:url('/background.webp?v=6eb21d5354954bf23fd79ef286588533b02878648ca365226ba7c1b85e1adf17') center/cover}
.login-slide.slide-1{background-position:30% center}
.login-slide.slide-2{background-position:80% center}
.slide-shade{position:absolute;inset:0;background:linear-gradient(0deg,#102c2bef,#163c3150 70%,#264f3210)}
.slide-1 .slide-shade{background:linear-gradient(0deg,#172f53ed,#314c7055 80%)}
.slide-2 .slide-shade{background:linear-gradient(0deg,#46331deb,#775d3450 80%)}
.login-slide-copy{position:relative;z-index:1;padding:50px;color:white;width:100%}
.login-slide-copy .slide-number{font-size:12px;letter-spacing:3px;color:#e3eade}
.player-theme .login-slide-copy h2{font-size:34px;line-height:1.45;margin:20px 0 12px;color:#fff;overflow-wrap:anywhere}
.login-slide-copy p{color:#e4eae3;font-size:15px;margin:0 0 24px;min-height:26px}
.login-slide-copy a{color:#fff;text-decoration:none;border-bottom:1px solid #ffffff80;padding:8px 0;display:inline-flex;gap:45px}
.slide-note{font-size:12px;color:#d2ddd3;letter-spacing:2px}
.login-arrow{position:absolute;top:45%;border:0;border-radius:50%;width:32px;height:40px;background:#132e3933;color:#fff;font-size:26px;padding:0}
.login-arrow:hover{background:#173a4266;color:white}.login-arrow.prev{left:10px}.login-arrow.next{right:10px}
.login-pagination{display:flex;gap:22px;align-items:center;margin-top:22px}
.login-pagination>button[data-login-slide]{flex:1;text-align:left;border:0;background:transparent;padding:8px 0;color:#82938a;font-size:11px}
.login-rail{height:3px;display:block;background:#cbd7cf;overflow:hidden;margin-bottom:9px}
.login-rail i{display:block;width:0;height:100%;background:#315f4f;transition:width .5s}
.login-pagination .active .login-rail i{width:100%}
.login-pagination>button.active{color:#254c3d}
#loginPause{font-size:11px;border:0;background:transparent;padding:8px;color:#607569}
@media(max-width:1000px){.player-theme .auth{gap:28px;grid-template-columns:minmax(0,1fr) 320px}.login-slide{min-height:420px}.login-slide-copy{padding:40px}.player-theme .login-slide-copy h2{font-size:27px}}
@media(max-width:700px){.player-theme .auth{display:flex;flex-direction:column;margin:0 auto;gap:24px;max-width:440px}.player-theme .auth-story,.player-theme #authForm{width:100%}.login-slide{min-height:260px}.login-slide-copy{padding:30px}.player-theme .login-slide-copy h2{font-size:23px;margin:12px 0 8px}.login-slide-copy p{font-size:12px;margin-bottom:14px}.login-slide-copy .slide-number{font-size:10px}.login-pagination{margin-top:10px;gap:16px}.login-window{border-radius:10px}}
@media(prefers-reduced-motion:reduce){#loginTrack,.login-rail i{transition:none}}
/* Display the supplied activity artwork in full, without text overlays. */
.login-window{background:#eee9db}
.login-slide,.login-slide.slide-1,.login-slide.slide-2{background:#eee9db;min-height:0;aspect-ratio:1.8;align-items:center}
.activity-image-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.activity-image-link img{display:block;width:100%;height:100%;object-fit:contain}
.login-arrow{top:50%;transform:translateY(-50%)}
@media(max-width:700px){.login-slide{min-height:0;aspect-ratio:1.8}}

/* Activity landing: full artwork, editorial heading, focused player access. */
body.player-theme:has(#auth:not([hidden])){
 background:#102b28 url('/background.webp?v=6eb21d5354954bf23fd79ef286588533b02878648ca365226ba7c1b85e1adf17') center center/cover fixed;
 color:#f5f4e9;min-height:100vh;isolation:isolate
}
body.player-theme:has(#auth:not([hidden]))::before{
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,rgba(7,27,26,.78),rgba(7,27,26,.3) 52%,rgba(7,27,26,.64)),linear-gradient(0deg,rgba(4,19,21,.86),transparent 70%);
}
.player-theme:has(#auth:not([hidden])) header{height:88px;background:transparent;border-bottom:1px solid #ffffff24;padding:0 max(36px,calc((100vw - 1320px)/2));color:#fff}
.player-theme:has(#auth:not([hidden])) .brand>span{background:transparent;border:1px solid #d8c394;color:#e6d1a3;border-radius:50%;width:38px;height:38px}
.player-theme:has(#auth:not([hidden])) .brand h1{font-size:17px;letter-spacing:1px}
.landing-nav{display:none}
.player-theme:has(#auth:not([hidden])) .landing-nav{display:flex;align-items:center;gap:36px}
.landing-nav a{font-size:13px;color:#e1e8df;text-decoration:none;transition:color .2s}
.landing-nav a:hover{color:#f4d898}.landing-nav a:last-child{border-left:1px solid #ffffff35;padding-left:30px}.landing-nav a span{margin-left:14px}
.player-theme:has(#auth:not([hidden])) main{max-width:1392px;padding:34px 36px 38px}
.player-theme .auth{grid-template-columns:minmax(0,1fr) 350px;gap:28px 72px;max-width:1320px;margin:0 auto;align-items:end}
.auth-intro{grid-column:1/-1;padding:0 0 8px}
.landing-eyebrow{display:flex;align-items:center;gap:12px;letter-spacing:5px;font-size:12px;color:#e4d4b0;margin:0 0 15px}
.landing-eyebrow>span{display:inline-block;width:28px;height:1px;background:#e4d4b0}
.auth-intro h2{font-size:clamp(38px,4.5vw,66px);font-weight:700;letter-spacing:3px;line-height:1.1;margin:0 0 16px}
.auth-intro h2 span{font-size:.73em;font-weight:400;margin-left:24px;color:#efe2c5}
.landing-intro{font-size:14px;letter-spacing:1px;color:#d2ddd5;margin:0}
.showcase-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.showcase-heading h3{font-size:16px;letter-spacing:2px;font-weight:500;margin:0}
.showcase-heading>span{font-size:11px;color:#bbcbbf}
.player-theme .login-window{border:1px solid #e1dbc745;box-shadow:0 14px 40px #03140e45;border-radius:4px}
.player-theme .login-slide{aspect-ratio:2.25;background:#e9e4d6}
.player-theme .login-arrow{background:#152b277d;width:30px;height:42px;border-radius:2px;border:1px solid #fff3}
.player-theme .login-arrow:hover{background:#213a33d9}
.player-theme .login-pagination{gap:24px;margin-top:16px}
.player-theme .login-pagination>button[data-login-slide]{color:#b5c3bb;padding:8px 0 0;white-space:normal;line-height:1.7}
.player-theme .login-rail{height:2px;background:#ffffff36;margin-bottom:10px}
.player-theme .login-rail i{background:#e1c387}
.slide-tab-label{display:flex;align-items:baseline;gap:12px;text-align:left;font-size:12px}
.slide-tab-label b{font-size:12px;font-weight:400;color:#aabdb0}
.player-theme .login-pagination>button.active,.player-theme .login-pagination>button.active b{color:#f4e0b4}
.player-theme:has(#auth:not([hidden])) #authForm{background:#102a27ed;border:1px solid #c5d5c636;box-shadow:0 20px 45px #06191440;border-radius:5px;padding:30px 30px 22px;backdrop-filter:blur(12px);align-self:end}
.player-theme:has(#auth:not([hidden])) #authForm h2{color:#f7f3e8;font-size:24px;font-weight:500;letter-spacing:2px;margin-bottom:8px}
.player-theme:has(#auth:not([hidden])) #authForm #formHint{font-size:12px;color:#b3c5b9;margin-bottom:20px}
.player-theme:has(#auth:not([hidden])) #authForm label{color:#cad6cd;font-size:12px;margin:16px 0}
.player-theme:has(#auth:not([hidden])) #authForm input{border:1px solid #b5cbbb45;background:#081d1c99;color:#fff;border-radius:3px;height:44px;padding:11px 12px}
.player-theme:has(#auth:not([hidden])) #authForm input::placeholder{color:#899e93;font-size:12px}
.player-theme:has(#auth:not([hidden])) #authForm input:focus{outline:1px solid #dcc389;border-color:#dcc389}
.player-theme:has(#auth:not([hidden])) #submitAuth{background:#e5c98c;border-color:#e5c98c;color:#29392c;border-radius:3px;height:45px;font-size:15px;letter-spacing:5px;margin-top:6px;transition:background .2s}
.player-theme:has(#auth:not([hidden])) #submitAuth:hover{background:#f2dca8;border-color:#f2dca8}
.player-theme:has(#auth:not([hidden])) #switchAuth{color:#d8decf;font-size:12px;margin-top:9px}
.player-theme:has(#auth:not([hidden])) #switchAuth:hover{background:#ffffff0a}
.login-service-note{font-size:11px;line-height:1.9;color:#97ada0;text-align:center;border-top:1px solid #ffffff16;margin:13px 0 0;padding-top:16px}
.player-theme:has(#auth:not([hidden])) #alert{background:#43291fe8;color:#ffe3ce;border-color:#916a48}
@media(min-width:1500px){.player-theme:has(#auth:not([hidden])) main{padding-top:5vh}.auth-intro{padding-bottom:28px}.player-theme .auth{row-gap:36px}.player-theme .login-slide{aspect-ratio:2.15}}
@media(max-width:1050px){.player-theme .auth{grid-template-columns:minmax(0,1fr) 310px;gap:26px}.player-theme .login-slide{aspect-ratio:1.8}.player-theme:has(#auth:not([hidden])) #authForm{padding:24px}.slide-tab-label{gap:6px;font-size:11px}.auth-intro h2{font-size:43px}.auth-intro h2 span{margin-left:16px}.player-theme .login-pagination{gap:12px}}
@media(max-width:700px){
 .player-theme:has(#auth:not([hidden])) header{height:68px;padding:0 20px}
 .player-theme:has(#auth:not([hidden])) .brand h1{font-size:13px;letter-spacing:0}
 .player-theme:has(#auth:not([hidden])) .brand>span{width:30px;height:30px}
 .player-theme:has(#auth:not([hidden])) .landing-nav{gap:0}
 .landing-nav a:first-child{display:none}.landing-nav a:last-child{padding-left:0;border:0;font-size:11px}.landing-nav a span{margin-left:6px}
 .player-theme:has(#auth:not([hidden])) main{padding:30px 20px 34px}
 .player-theme .auth{display:flex;flex-direction:column;gap:28px;max-width:440px;align-items:stretch}
 .auth-intro{padding:0}.landing-eyebrow{font-size:10px;letter-spacing:3px;margin-bottom:14px}
 .auth-intro h2{font-size:38px;line-height:1.3;margin-bottom:13px}.auth-intro h2 span{display:block;margin-left:0;font-size:30px;letter-spacing:6px}
 .landing-intro{font-size:12px;letter-spacing:0}
 .showcase-heading h3{font-size:14px}.showcase-heading>span{font-size:10px}
 .player-theme .login-slide{aspect-ratio:1.9}
 .player-theme .login-pagination{margin-top:10px;gap:14px}
 .slide-tab-label{display:block;font-size:10px}.slide-tab-label b{display:block;font-size:10px}
 .player-theme:has(#auth:not([hidden])) #authForm{padding:26px 24px 20px;align-self:stretch}
 body.player-theme:has(#auth:not([hidden])){background-position:58% top}
 body.player-theme:has(#auth:not([hidden]))::before{background:linear-gradient(0deg,#061e22f2,#10291a50),linear-gradient(90deg,#071e28a8,transparent)}
}
@media(max-width:700px){
 body.player-theme:has(#auth:not([hidden])){position:relative;background-attachment:scroll;background-size:auto 1100px;background-repeat:no-repeat;background-color:#0b2524}
 body.player-theme:has(#auth:not([hidden]))::before{position:absolute}
}

@font-face{font-family:MaodouTitle;src:url('/maodou-title.ttf?v=2657f2df81a0ed04151c9f396b3f1083261d50488966c48d40d886f15a76e47a') format('truetype');font-style:normal;font-weight:400;font-display:swap}
body .brand h1,body.player-theme:has(#auth:not([hidden])) .brand h1{font-family:MaodouTitle,"Microsoft YaHei",sans-serif;font-size:30px;font-weight:400;letter-spacing:3px}
body .brand>span,body.player-theme:has(#auth:not([hidden])) .brand>span{width:62px;height:62px;border:0;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:center}
.maodou-mascot{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 3px #08232940)}
body .brand{gap:10px}
body.player-theme .auth-intro h2.maodou-wordmark{font-family:MaodouTitle,"Microsoft YaHei",sans-serif;font-weight:400;font-size:clamp(58px,7vw,94px);letter-spacing:8px;line-height:1.12;margin-bottom:18px;color:#fff8e8}
@media(max-width:700px){
 body .brand h1,body.player-theme:has(#auth:not([hidden])) .brand h1{font-size:25px;letter-spacing:2px}
 body .brand>span,body.player-theme:has(#auth:not([hidden])) .brand>span{width:48px;height:48px}
 body.player-theme .auth-intro h2.maodou-wordmark{font-size:58px;letter-spacing:5px}
}

/* Player workspace: wheel first, individual progress, expandable live catalog. */
body.player-theme:has(#player:not([hidden])){background:#102c28 url('/background.webp?v=6eb21d5354954bf23fd79ef286588533b02878648ca365226ba7c1b85e1adf17') center top/cover fixed;color:#f7f4e6;isolation:isolate;min-height:100vh}
body.player-theme:has(#player:not([hidden]))::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#071f29c9,#143e2a99),linear-gradient(0deg,#081f24e8,transparent)}
.player-theme:has(#player:not([hidden])) header{background:#102c277a;border-color:#ffffff24;color:#f7f3e9}
.player-theme:has(#player:not([hidden])) #logout{background:transparent;color:#d8e5d5;border-color:#ffffff35}
.player-theme:has(#player:not([hidden])) main{max-width:1220px;padding-top:24px}
#player-draw>.heading{margin-bottom:22px;align-items:center}
#player-draw>.heading h2{font-size:29px;font-weight:500;letter-spacing:3px;margin:0}
#intro{font-size:12px;color:#d3c79f;letter-spacing:1px;margin:0 0 8px;line-height:1.6}
#player-draw .balance{color:#d5dfd3;font-size:12px}
#player-draw .balance strong{color:#f1d596;font-size:32px}
#player-draw #refreshBalance{background:transparent;border-color:#ffffff36;color:#d9e4d8;font-size:12px}
#player-draw .player-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}
#player-draw .wheel-stage{max-width:none;padding:20px 26px 16px;background:#14372fdc;border:1px solid #bbcfb236;border-radius:10px}
.wheel-caption{display:flex;justify-content:space-between;font-size:11px;color:#c7d8c6;letter-spacing:1px}
.wheel-caption span:last-child{color:#a3bcab;letter-spacing:0}
#player-draw #wheelBox{max-width:470px;margin:-18px auto -18px}
#player-draw #spin{max-width:350px;background:#e3c58a;border-color:#e3c58a;color:#263a2c;border-radius:5px;padding:13px;font-size:16px;letter-spacing:1px}
#player-draw #spin:hover{background:#f1daa8}
#player-draw .wheel-stage>p{color:#a8beb0;font-size:11px;margin:10px 0 0}
#player-draw .pity-panel{margin:0!important;grid-column:auto;background:#f7f6ef;border-color:#ece8d5;border-radius:10px;padding:24px;color:#284135}
#player-draw .pity-panel h3{font-size:16px;font-weight:600}
#player-draw .pity-panel #progress{display:block}
#player-draw .pity-panel #progress>p:first-child{font-size:12px;color:#667c6c;margin-bottom:22px}
#player-draw .pity-panel #progress>p:first-child strong{font-size:22px;color:#31533a;margin:0 5px}
#player-draw .progress{margin:22px 0}
#player-draw .progress>div:first-child{font-size:12px}
#player-draw .bar{height:6px;background:#e2e8dc;margin-top:10px}
#player-draw .bar span{background:#769776}
.recent-personal{border-top:1px solid #dfe3d7;margin-top:24px;padding-top:24px}
.recent-personal h3{margin-bottom:14px}
.recent-prize{padding:10px 0;border-bottom:1px solid #e4e7db}
.recent-prize strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}
.recent-prize span{display:block;font-size:11px;color:#899382;margin-top:4px}
#openMyRewards{font-size:12px;padding:12px 0 0}
#player-draw .prize-catalog{margin-top:24px;padding:24px;background:#f7f6ef;color:#284135;border-color:#ece8d5;border-radius:10px}
.prize-catalog h3{display:inline-block;margin:0;font-size:17px}
.catalog-meta{display:flex;gap:12px;justify-content:space-between;color:#7d8b77;font-size:11px;margin:10px 0 20px}
#catalogStatus{color:#638068}
#player-draw #prizeList{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pool-card{border:1px solid #dbe2d2;background:#ffffff85;border-radius:6px;overflow:hidden;min-width:0}
.pool-card summary{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px;cursor:pointer;color:#364d39}
.pool-card summary::-webkit-details-marker{display:none}
.pool-card summary::after{content:"＋";margin-left:auto;font-size:14px;color:#8b987f}
.pool-card[open] summary::after{content:"−"}
.pool-index{font-size:10px;color:#8d9e7c}
.pool-card strong{font-size:13px;font-weight:500}
.pool-count{font-size:10px;color:#96a089}
.pool-rewards{padding:0 14px 10px;max-height:190px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b5c1a6 transparent}
.catalog-reward{display:flex;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #e9ecdf;font-size:12px;line-height:1.6}
.catalog-reward i{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.catalog-reward span{overflow-wrap:anywhere}
.prize-catalog>p.muted{margin:18px 0 0;font-size:11px;color:#8e9885}
#player-draw #promoScreen{padding:12px 130px 12px 18px;min-height:0;background:#eff0dc12;border-color:#c1ccb32b;color:#e1e7d6}
#player-draw #promoContent a,#player-draw #promoContent>div{gap:4px;color:#e1e7d6}
#player-draw #promoContent strong{font-size:14px}
#player-draw .promo-kicker{font-size:10px;color:#b2c2a4}
#player-draw .promo-description{color:#adbea5;font-size:11px}
#player-draw .promo-visit{color:#d7d7a6}
#player-draw .promo-controls button{background:#ffffff12;border-color:#ffffff28;color:#cad7bd}
body.player-theme:has(#player:not([hidden])) .player-nav{background:#102c28f5;border-color:#c2c9aa45;box-shadow:0 8px 25px #061b2666}
body.player-theme:has(#player:not([hidden])) .player-nav button{color:#bfcdb9}
body.player-theme:has(#player:not([hidden])) .player-nav button.active{background:#e5c889;color:#29442f;border-radius:6px}
#player-rewards,#player-account{color:#284135;background:#f7f6ef}
@media(max-width:900px){
 #player-draw .player-grid{grid-template-columns:minmax(0,1fr) 260px;gap:16px}
 #player-draw .wheel-stage{padding:16px}
 #player-draw #prizeList{grid-template-columns:repeat(2,minmax(0,1fr))}
 #player-draw .pity-panel{padding:20px}
}
@media(max-width:700px){
 body.player-theme:has(#player:not([hidden])){background-attachment:scroll;background-position:55% top;position:relative}
 body.player-theme:has(#player:not([hidden]))::before{position:absolute}
 .player-theme:has(#player:not([hidden])) main{padding:20px 16px 110px}
 #player-draw>.heading h2{font-size:24px;letter-spacing:2px}
 #player-draw .balance strong{font-size:25px}
 #player-draw>.heading>.inline{gap:8px}
 #intro{font-size:11px}
 #player-draw .player-grid{display:flex;flex-direction:column;gap:16px}
 #player-draw .wheel-stage{padding:16px 12px;width:100%;order:0}
 .wheel-caption{font-size:10px}
 #player-draw #wheelBox{margin:-10px auto -8px}
 #player-draw .pity-panel{width:100%;order:1}
 #player-draw .prize-catalog{padding:20px;margin-top:16px}
 #player-draw #prizeList{gap:10px}
 .pool-card summary{padding:12px;gap:5px}
 .pool-count{width:100%;padding-left:18px}
 .pool-card summary::after{position:absolute;right:10px;top:11px}
 .pool-card summary{position:relative}
 .pool-rewards{padding:0 10px 8px;max-height:180px}
 #player-draw #promoScreen{padding:12px 16px;margin-bottom:16px}
 #player-draw .promo-controls{position:static;transform:none;margin-top:8px}
}
body.player-theme:has(#player:not([hidden])){position:relative;background-attachment:scroll}
body.player-theme:has(#player:not([hidden]))::before{position:absolute}

/* Keep the prize catalog focused on rewards. */
#player-draw .prize-catalog .catalog-meta,
#player-draw .prize-catalog > p.muted{display:none}
#player-draw .prize-catalog > h3{margin-bottom:18px}

/* Moonlit player scene; the login forest stays separate. */
body.player-theme:has(#player:not([hidden])){
 background-color:#14182e;background-image:url('/player-moon-background.webp?v=ecd1e46c85f6410ee515355d57942f788e910db2a16b40f0e1c3b5b97a5f7c0a');
 background-position:center top;background-size:100% auto;background-repeat:no-repeat;background-attachment:scroll
}
body.player-theme:has(#player:not([hidden]))::before{background:linear-gradient(180deg,#12172a25,#11172c55 55%,#14182ee8)}
.player-theme:has(#player:not([hidden])) header{background:#11182a80;border-color:#d5d0f12b}
#player-draw .wheel-stage{background:#171e3bb0;border-color:#bdb6e14a;backdrop-filter:blur(3px)}
#player-draw .wheel-caption{color:#d5d1e7}
#player-draw .wheel-caption span:last-child,#player-draw .wheel-stage>p{color:#b1abc8}
#player-draw .pity-panel,#player-draw .prize-catalog,#player-rewards,#player-account{background:#f6f3f3ed;color:#393a55;border-color:#ddd8e6}
#player-draw .bar{background:#e2deeb}
#player-draw .bar span{background:#9890b9}
.pool-card{background:#ffffffa3;border-color:#ded9e8}
.pool-card summary{color:#45425d}
.pool-rewards{scrollbar-color:#b2a9c6 transparent}
.catalog-reward,.recent-prize{border-color:#e5e0eb}
#player-draw .pity-panel #progress>p:first-child strong{color:#5b507c}
.recent-personal,.rule-help{border-color:#dcd5e5}
body.player-theme:has(#player:not([hidden])) .player-nav{background:#1a2038f5;border-color:#c2b8e54d}
body.player-theme:has(#player:not([hidden])) .player-nav button{color:#cbc6db}
body.player-theme:has(#player:not([hidden])) .player-nav button.active{background:#e5ca92;color:#353143}
#player-draw #promoScreen{background:#29213e85;border-color:#c2b8e535}
@media(max-width:700px){
 body.player-theme:has(#player:not([hidden])){background-size:auto 1000px;background-position:center top}
 #player-draw #wheelBox{margin:0 auto}
}

@media(max-width:700px){
body.player-theme:has(#auth:not([hidden])){background-image:url('/background-mobile.webp?v=0969c27ef788b6ff50fbe8bca554174ffcd4dadeead260e5f999cac17d696b00')}
body.player-theme:has(#player:not([hidden])){background-image:url('/player-moon-background-mobile.webp?v=9a5e88d629fa4bdc57318b682a8d11ba9063789df0345849376833f950b892f2')}
}

body.player-theme:has(#auth[hidden]):has(#player[hidden]){background-image:none}
/* Unified reward reveal: one dialog, with actions outside the artwork. */
#result.reward-showcase{width:min(760px,96vw);max-width:96vw;max-height:96dvh;padding:0 24px 24px;border:1px solid #cdb98466;border-radius:22px;overflow:auto;background:radial-gradient(ellipse at 50% 25%,#2a424b,#0c1720 76%);color:#f7ecd4;box-shadow:0 28px 110px #000b;text-align:center}#result.reward-showcase::backdrop{background:#030a12bc;backdrop-filter:blur(7px)}#result.reward-showcase>p:first-of-type{margin:10px 0 8px;color:#dacda9;font-size:13px;letter-spacing:3px}#result.reward-showcase .reward-visual{height:min(49dvh,420px);position:relative;display:grid;place-items:center;margin:0 -24px;overflow:hidden;background:radial-gradient(ellipse,#29444b33,transparent)}#result.reward-showcase .reward-visual iframe{width:100%;height:100%;border:0;display:block}#result.reward-showcase .reward-visual>img{width:min(230px,58%);height:80%;object-fit:contain;filter:drop-shadow(0 0 23px #b6edff55);animation:reward-pop .45s ease-out both}#result.reward-showcase .reward-symbol{font-size:110px;color:#f4d995;text-shadow:0 0 32px #ead69d77}#result.reward-showcase #resultName{font-size:clamp(21px,4vw,29px);color:#fff0d1;margin:10px 0}#result.reward-showcase #resultInfo{color:#a9d3c7;margin:6px 0;font-size:13px}#result.reward-showcase #resultCredits{color:#8fa5ad;font-size:12px;margin:7px 0 18px}#result.reward-showcase>button{margin:5px;border-radius:9px;border:1px solid #bba87966;padding:11px 18px;background:#23363e;color:#f7edda;animation:reward-actions .35s .7s both}#result.reward-showcase #spinAgain{background:#d9c08a;color:#24323a;border-color:#e7d19f}#result.reward-showcase button:disabled{opacity:.45;cursor:default}#result.reward-fragment .reward-visual{height:min(35dvh,270px)}@keyframes reward-pop{from{opacity:0;transform:scale(.65) translateY(15px)}to{opacity:1;transform:none}}@keyframes reward-actions{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(max-width:600px){#result.reward-showcase{padding-bottom:17px}#result.reward-showcase .reward-visual{height:43dvh}#result.reward-showcase>button{padding:10px 12px;font-size:13px}}@media(prefers-reduced-motion:reduce){#result.reward-showcase>button,#result.reward-showcase .reward-visual>img{animation:none}}
#result.reward-showcase #spinAgain:disabled{background:#344249;border-color:#68747755;color:#92a1a6;opacity:.6!important;cursor:not-allowed}@media(max-width:600px){#result.reward-fragment .reward-visual{height:min(33dvh,270px)}}
#result.reward-showcase{background:transparent!important;border:0!important;box-shadow:none!important;outline:0;padding:0 16px 18px;overflow:visible;color:#fff}#result.reward-showcase::backdrop{background:transparent!important;backdrop-filter:none!important}#result.reward-showcase .reward-visual{background:transparent!important;margin:0 -16px}#result.reward-showcase>p,#result.reward-showcase #resultInfo,#result.reward-showcase #resultCredits,#result.reward-showcase #spinAgain,#result.reward-showcase #viewReward{display:none!important}#result.reward-showcase #resultName{color:#fff!important;background:transparent!important;border:0;box-shadow:none;font-weight:600;font-size:25px;text-shadow:0 2px 8px #0009;margin:8px 0 22px}#result.reward-showcase #closeResult{display:inline-block;background:#17252ddb;border:1px solid #ffffff66;color:#fff;box-shadow:none;animation:none;padding:10px 30px;margin:0;border-radius:8px}#result.reward-showcase .reward-visual iframe{background:transparent}#result.reward-showcase{animation:none!important}
#result.reward-showcase .reward-visual iframe{color-scheme:normal!important;background:transparent!important}

#result.reward-collectible .reward-visual{height:min(49dvh,420px)}
#result.reward-collectible.reward-fragment .reward-visual{height:min(38dvh,300px)}
#result.reward-collectible .reward-visual iframe{width:100%;height:100%;border:0;background:transparent;color-scheme:normal}

#result.reward-collectible.reward-fragment .reward-visual{height:min(46dvh,370px)}

/* Inventory and exchange pages */
.player-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:700px}
.bag-page{max-width:1160px;margin:10px auto 90px;color:#e9edf8}
.bag-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0}
.bag-heading h2{font-size:36px;letter-spacing:2px;margin:4px 0 10px;color:#f9f7ff}
.bag-eyebrow{color:#bda5ec;font-size:13px;letter-spacing:3px;margin:0}
.bag-subtitle{color:#b8bfd5;margin:0;line-height:1.7}
.bag-heading>button,.bag-toolbar button{border-color:#ffffff28;color:#e6e5f4;background:#11192dad}
.bag-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}
.bag-toolbar .segments{background:#141b30;border:1px solid #ffffff20;border-radius:12px;padding:4px}
.bag-toolbar .segments button{padding:10px 26px;background:transparent;border:0;box-shadow:none;color:#abb5ce}
.bag-toolbar .segments button.active{background:#8e74bc;color:white;border-radius:8px}
.bag-grid,.exchange-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bag-card{position:relative;border:1px solid #bfa5f633;border-radius:22px;padding:28px;background:linear-gradient(145deg,#35304cdd,#182036ed);overflow:hidden;box-shadow:0 16px 35px #0002;min-width:0}
.bag-card.blue{background:linear-gradient(145deg,#263b59dd,#182036ed);border-color:#91c9fb33}
.bag-card.mint{background:linear-gradient(145deg,#234a4cdd,#182036ed);border-color:#9cfad033}
.bag-card.gold{background:linear-gradient(145deg,#464035dd,#182036ed);border-color:#edcc7633}
.bag-gem{color:#ba97f4;width:94px;height:100px;filter:drop-shadow(0 8px 15px #ad7eff44)}
.bag-gem svg{display:block;width:100%;height:100%}
.bag-gem.blue{color:#83c4ff;filter:drop-shadow(0 8px 15px #56adff44)}
.bag-gem.mint{color:#7be0c1;filter:drop-shadow(0 8px 15px #46cfab44)}
.bag-gem.gold{color:#efcf8a;filter:drop-shadow(0 8px 15px #ecc36844)}
.bag-quantity{position:absolute;top:32px;right:26px;font-size:25px;color:#e9dafa;font-variant-numeric:tabular-nums}
.bag-kind{font-size:11px;letter-spacing:3px;color:#aeb7d0;margin:22px 0 8px}
.bag-card h3{font-size:21px;color:#f5f1ff;margin:0 0 24px;overflow-wrap:anywhere;line-height:1.5}
.bag-progress{height:5px;background:#ffffff13;border-radius:10px;overflow:hidden;margin-top:20px}
.bag-progress i{display:block;height:100%;background:#b29ae7;border-radius:10px}
.blue .bag-progress i{background:#85c3f3}.mint .bag-progress i{background:#84d6c2}
.bag-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#aab5cf;margin:10px 0 22px}
.bag-progress-label span{color:#ddd6f0}.bag-card>button{width:100%;background:#ffffff09;border:1px solid #ffffff26;border-radius:10px;color:#ece7f7;padding:11px}
.bag-card>button:hover{background:#ffffff16}.bag-section{margin-top:30px;border-radius:18px;padding:24px;background:#141d32ed;border:1px solid #ffffff1a}
.bag-section h3,.bag-section summary{color:#d9deec;font-size:17px;margin:0 0 12px}.bag-section summary{cursor:pointer;margin:0}
.bag-empty{grid-column:1/-1;padding:35px 22px;color:#aeb8cf;text-align:center;background:#162036bb;border:1px dashed #ffffff22;border-radius:16px;line-height:1.8}
.bag-claim-row,.bag-ledger-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:17px 0;border-bottom:1px solid #ffffff12}
.bag-claim-row:last-child,.bag-ledger-row:last-child{border-bottom:0}.bag-claim-row h4{color:#edf0f8;margin:0 0 8px}.bag-claim-row p{font-size:12px;color:#a6b3cb;margin:5px 0;overflow-wrap:anywhere}
.bag-state{flex-shrink:0;border-radius:20px;padding:5px 12px;font-size:12px;background:#bc9a4f22;color:#ead09c}.bag-state.done{background:#5ac4a922;color:#8cdec8}.bag-state.cancelled{color:#a9b4cc;background:#ffffff0c}
.bag-ledger-row{color:#cbd3e4;font-size:13px;align-items:center}.bag-ledger-row small{display:block;font-size:11px;color:#889ab9;margin-top:6px}.bag-ledger-row strong{color:#a7b0c5;white-space:nowrap}.bag-ledger-row .positive{color:#90d6c3}
.bag-ledger>div{max-height:360px;overflow:auto}.bag-ledger .muted{color:#91a1bd}
.exchange-card{border:1px solid #ffffff20;border-radius:22px;overflow:hidden;background:#1b243bea;min-width:0}
.exchange-art{height:184px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 105%,#8c67be70,transparent 65%),linear-gradient(135deg,#403452,#222c45)}
.exchange-art .bag-gem{width:115px;height:122px;transform:rotate(12deg)}.blue .exchange-art{background:radial-gradient(ellipse at 50% 105%,#528fc770,transparent 65%),#273e57}.mint .exchange-art{background:radial-gradient(ellipse at 50% 105%,#4c9c8a70,transparent 65%),#234648}
.exchange-art>span{position:absolute;top:18px;left:20px;font-size:11px;color:#e0d7ee;letter-spacing:2px}
.exchange-body{padding:24px}.exchange-body h3{font-size:21px;color:#f4f0fa;margin:0 0 15px;overflow-wrap:anywhere}.exchange-body>p{font-size:13px;color:#b2bfd4;line-height:1.8}.exchange-body>p strong{color:#fff;font-size:19px;margin:0 4px}
.exchange-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#a5b5d1;margin:14px 0 24px}.exchange-body .primary{background:#baa2e0;color:#211c32;border:0}.exchange-body .primary:disabled{background:#ffffff0b;color:#929eb6;opacity:1;cursor:default}
.exchange-body .exchange-footnote{font-size:11px;color:#8697b4;text-align:center;margin:12px 0 0}
.bag-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.bag-admin-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}.bag-admin-intro h3{margin:0}.bag-admin-intro #bagAdminHint{width:100%;margin:0;color:#746041;font-size:13px}
.bag-offer-editor .bag-gem{width:45px;height:52px;filter:none;flex-shrink:0}.bag-offer-editor h3{font-size:17px;line-height:1.5}.bag-offer-editor .form-grid{grid-template-columns:1fr 1fr;gap:12px}.bag-toggle{display:flex;align-items:center;gap:8px}.bag-toggle input{width:18px;height:18px}
.bag-prize-binding{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:10px;padding:5px 0 12px}.bag-prize-binding label,.bag-add-label{font-size:11px;color:#65736c}.bag-prize-binding select,.bag-prize-binding input,.bag-add-label select{font-size:12px;padding:8px;min-width:0}.bag-add-label{display:block;margin-top:12px}.bag-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #d2cadc;border-radius:20px;padding:28px;background:#fffaf4;color:#263940}.bag-dialog h2{font-size:22px}.bag-dialog p{line-height:1.8}.bag-dialog #bagActionError{color:#a53737;font-size:13px}.bag-dialog form>.inline{justify-content:flex-end}.bag-dialog::backdrop{background:#0b122bbd;backdrop-filter:blur(5px)}
@media(max-width:850px){.bag-grid,.exchange-grid{gap:14px}.bag-card{padding:20px}.bag-card h3,.exchange-body h3{font-size:18px}.exchange-body{padding:18px}.bag-admin-grid{grid-template-columns:1fr}.bag-prize-binding{grid-template-columns:minmax(0,1fr) 70px}}
@media(max-width:600px){.bag-page{margin-top:0}.bag-heading{margin:22px 0;gap:10px}.bag-heading h2{font-size:28px}.bag-subtitle{font-size:12px}.bag-eyebrow{font-size:10px;letter-spacing:2px}.bag-heading>button{padding:8px 12px;font-size:12px;white-space:nowrap}.bag-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bag-card{padding:17px;border-radius:16px}.bag-card h3{font-size:16px;min-height:48px;margin-bottom:12px}.bag-card .bag-gem{width:65px;height:75px}.bag-quantity{font-size:19px;top:24px;right:17px}.bag-kind{margin-top:18px}.bag-progress-label{flex-wrap:wrap;gap:4px;font-size:11px}.bag-toolbar .segments button{padding:8px 19px}.bag-toolbar .text-button{font-size:12px;padding:5px}.exchange-grid{grid-template-columns:1fr}.exchange-art{height:165px}.exchange-body{padding:22px}.bag-section{padding:18px}.bag-claim-row{gap:10px}.player-nav button{padding:10px 0!important;font-size:13px!important;min-width:0}.bag-admin-intro>.inline{width:100%;flex-wrap:wrap}.bag-dialog{padding:22px}.bag-admin-grid .form-grid{grid-template-columns:1fr 1fr}}
/* Shared warehouse: 6 x 4 slots per page, details alongside. */
body:has(#player-bag:not([hidden])) #player>.dual-tabs,body:has(#player-exchange:not([hidden])) #player>.dual-tabs{display:none}
.warehouse-page{max-width:1240px}.warehouse-page .bag-heading{margin-bottom:24px}.warehouse-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 18px}.warehouse-toolbar .segments{background:#111d32cc;border:1px solid #ffffff22;border-radius:12px;padding:4px;display:flex}.warehouse-toolbar .segments button{padding:9px 25px;color:#a9b8d0;background:transparent;border:0;box-shadow:none;font-size:13px}.warehouse-toolbar .segments button.active{background:#ddc697;color:#2a2c37;border-radius:8px}.warehouse-search{margin:0;width:220px}.warehouse-search input{background:#142138dd!important;border-color:#ffffff26!important;color:#dce5f3!important;border-radius:10px;font-size:13px}.warehouse-search input::placeholder{color:#899ab5}.warehouse-search .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.warehouse-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.warehouse-storage{background:linear-gradient(140deg,#26334cef,#162136f5);border:1px solid #a9bde02e;border-radius:20px;padding:22px;box-shadow:0 16px 40px #050a1726}.warehouse-storage-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;color:#cbd6e8;font-size:14px}.warehouse-storage-head span:last-child{font-size:12px;color:#8c9bb6;font-variant-numeric:tabular-nums}
#player-bag .warehouse-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;min-width:0}
#player-bag .warehouse-slot{position:relative;aspect-ratio:1/1.12;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:10px 6px 24px;background:linear-gradient(145deg,#55608440,#25324d99);border:1px solid #a5b3d32e;border-radius:10px;box-shadow:inset 0 1px 8px #00000012;color:#d8e1f0;overflow:hidden;transition:background .15s,border-color .15s}
#player-bag button.warehouse-slot:hover{background:#667ca74d;border-color:#c9d9f275}#player-bag .warehouse-slot.selected{border:2px solid #edcd8b;box-shadow:0 0 0 2px #d1ad6230,inset 0 0 18px #ecc7840e;background:linear-gradient(145deg,#82745844,#3b405166)}
#player-bag .warehouse-slot.empty{background:#0f1a2c55;border:1px solid #91a7c918;justify-content:center;padding:0}#player-bag .warehouse-slot.empty>span{color:#8499be15;font-size:23px;font-weight:200}
#player-bag .warehouse-slot .bag-gem,#player-bag .warehouse-slot .warehouse-reward-icon{width:52%;height:auto;aspect-ratio:1;flex-shrink:0;filter:drop-shadow(0 5px 7px #080e2244);margin:0 auto 3px}.warehouse-reward-icon{color:#dcbc80;width:110px;height:110px;filter:drop-shadow(0 8px 16px #080d2244)}.warehouse-reward-icon svg{display:block;width:100%;height:100%}.warehouse-reward-icon.violet{color:#bd9bdc}.warehouse-reward-icon.blue{color:#81bcdc}.warehouse-reward-icon.mint{color:#80c8b3}
.warehouse-slot-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.35;white-space:normal;width:100%;text-align:center;color:#d5dff0;word-break:break-all}.warehouse-stack{position:absolute;bottom:6px;right:7px;color:#fff0cf;font-size:13px;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000}.warehouse-single{position:absolute;bottom:5px;right:6px;color:#9eacc4;font-size:9px;letter-spacing:1px}
.warehouse-pager{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0 0;color:#acbdd5;font-size:13px;font-variant-numeric:tabular-nums}.warehouse-pager button{border:1px solid #ffffff24;background:#ffffff08;color:#cfdbeb;padding:0;width:32px;height:30px;font-size:22px;border-radius:7px}.warehouse-pager button:disabled{opacity:.25;cursor:default}#warehouseEmptyHint{color:#a0afc8;font-size:13px;text-align:center;margin:16px 0 0;line-height:1.7}#warehouseEmptyHint:empty{display:none}
.warehouse-details{background:linear-gradient(160deg,#28344ded,#182338f7);border:1px solid #a2b7d533;border-radius:20px;padding:24px;min-height:420px;color:#dbe3f1;position:sticky;top:24px;overflow:hidden;scroll-margin-top:20px}.warehouse-detail-art{height:136px;border-radius:14px;background:radial-gradient(ellipse at 50% 70%,#9b77c735,transparent 70%);display:flex;align-items:center;justify-content:center;margin-bottom:20px}.warehouse-detail-art.blue{background:radial-gradient(ellipse at 50% 70%,#529bc135,transparent 70%)}.warehouse-detail-art.mint{background:radial-gradient(ellipse at 50% 70%,#56bf9b35,transparent 70%)}.warehouse-detail-art.gold{background:radial-gradient(ellipse at 50% 70%,#b4984b35,transparent 70%)}.warehouse-detail-art .bag-gem{width:103px;height:112px}.warehouse-item-type{color:#a9b3c9;font-size:11px;letter-spacing:2px;margin:0 0 8px}#warehouseDetails h3{font-size:21px;line-height:1.5;margin:0 0 18px;color:#f2ead9;overflow-wrap:anywhere}.warehouse-item-meta{margin:0;padding:13px 0;border-top:1px solid #ffffff16;border-bottom:1px solid #ffffff16}.warehouse-item-meta>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0;font-size:12px}.warehouse-item-meta dt{color:#93a5c1}.warehouse-item-meta dd{margin:0;color:#dce3ee}.warehouse-description{font-size:12px;line-height:1.85;color:#acbad0;margin:17px 0}.warehouse-recipe{padding-top:15px;margin-top:12px;border-top:1px solid #ffffff16}.warehouse-recipe>span{font-size:11px;color:#9caccc}.warehouse-recipe h4{font-size:16px;line-height:1.5;color:#e3dded;margin:8px 0 16px;overflow-wrap:anywhere}.warehouse-materials{display:flex;justify-content:space-between;font-size:12px;color:#abbad2;gap:12px}.warehouse-materials strong{color:#e6d2a8}.warehouse-recipe .bag-progress{margin-top:10px}.warehouse-recipe>p{color:#a3b3cc;font-size:12px;margin:12px 0 18px}.warehouse-details .primary{background:#dfc591!important;color:#292a35!important;border:0;box-shadow:none;border-radius:10px;font-size:14px;padding:12px}.warehouse-details .primary:disabled{background:#ffffff0c!important;color:#8292ae!important;opacity:1;cursor:default}.warehouse-claim{width:100%;margin-top:10px}.warehouse-detail-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:365px}.warehouse-detail-empty>span{font-size:65px;font-weight:200;color:#91a6c750;margin-bottom:20px}.warehouse-detail-empty h3{color:#b7c6dd!important;font-size:17px!important}.warehouse-detail-empty p{font-size:12px;color:#8599b8;line-height:1.8;max-width:190px}.warehouse-claims>summary{cursor:pointer}.warehouse-claims[open]>summary{margin-bottom:16px}
@media(max-width:1000px){.warehouse-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.warehouse-storage{padding:16px}#player-bag .warehouse-grid{gap:7px}#player-bag .warehouse-slot{padding:7px 4px 21px;aspect-ratio:1/1.35}.warehouse-slot-name{font-size:10px}.warehouse-details{padding:20px}.warehouse-toolbar .segments button{padding:9px 20px}}
@media(max-width:760px){.warehouse-layout{grid-template-columns:1fr}.warehouse-details{position:static;min-height:0}.warehouse-toolbar{gap:10px;flex-wrap:wrap}.warehouse-search{width:100%;order:2}.warehouse-toolbar .segments{width:100%;justify-content:space-between}.warehouse-toolbar .segments button{flex:1}#player-bag .warehouse-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}#player-bag .warehouse-slot{aspect-ratio:1/1.12;padding:8px 4px 19px}.warehouse-slot-name{font-size:10px}#player-bag .warehouse-slot .bag-gem,#player-bag .warehouse-slot .warehouse-reward-icon{width:48%}.warehouse-storage{border-radius:16px;padding:16px}.warehouse-storage-head{font-size:13px;margin-bottom:16px}.warehouse-details{border-radius:16px}.warehouse-detail-art{height:110px;margin-bottom:10px}.warehouse-detail-empty{min-height:210px}.warehouse-item-meta{display:flex;gap:28px;justify-content:space-between}.warehouse-item-meta>div{display:grid;gap:6px}.warehouse-details .warehouse-claim{max-width:none}.warehouse-page .bag-heading h2{font-size:28px}.warehouse-storage+.warehouse-details{margin-top:4px}}
body:has(#player-rewards:not([hidden])) #player>.dual-tabs{display:none}
#player-rewards.claim-progress-page{background:#18253dec!important;border:1px solid #9eafcc30;color:#dbe4f1;border-radius:20px;padding:28px;min-height:340px;margin-top:24px}#player-rewards .claim-progress-heading{justify-content:space-between}#player-rewards .claim-progress-heading h3{color:#f0e7d6;font-size:26px;margin:0}.claim-progress-help{font-size:13px;color:#a2b3cd;line-height:1.8}.claim-filters{display:flex;gap:6px;margin:20px 0;background:#ffffff08;border-radius:12px;padding:5px;max-width:430px}.claim-filters button{border:0;background:transparent;color:#a9b9ce;padding:9px 18px;box-shadow:none}.claim-filters button.active{background:#dcc28f;color:#252d3e;border-radius:8px}#refreshClaimProgress{background:#ffffff08;border:1px solid #ffffff26;color:#cad6e6}.archive-search{align-items:flex-end;flex-wrap:wrap;margin:18px 0}.archive-search label{flex:1;min-width:150px}.archive-pagination{justify-content:center;margin-top:18px;font-size:13px}.archive-pagination button:disabled{opacity:.4}
@media(max-width:600px){#player-rewards.claim-progress-page{padding:18px}.claim-filters{gap:0}.claim-filters button{flex:1;padding:8px;font-size:12px}#player-rewards .claim-progress-heading h3{font-size:23px}}
#playerNav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body:has(#player-account:not([hidden])) #player>.dual-tabs,body:has(#player-account:not([hidden])) #accountBar{display:none!important}
#player-account.account-page{max-width:500px;margin:55px auto 100px;padding:30px;background:linear-gradient(140deg,#27354cee,#172339f5);border:1px solid #aebdd733;border-radius:20px;color:#dae4f1;box-shadow:0 18px 45px #050b1e26}#player-account h2{font-size:25px;margin:0 0 25px;color:#f1e7d3}.simple-account-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 0;border-bottom:1px solid #ffffff15;font-size:14px}.simple-account-row>span{color:#abbdd4}.simple-account-row>strong{color:#edf1f7;font-size:16px;overflow-wrap:anywhere;text-align:right;min-width:0}.simple-account-counts{justify-content:flex-start;gap:38px;padding:22px 0}.simple-account-counts strong{color:#eed3a1;font-size:21px;margin-left:8px;font-variant-numeric:tabular-nums}#player-account #profileLogout{display:block;width:100%;margin-top:25px;padding:12px;border:1px solid #ffffff2c;background:#ffffff07;color:#dce6f3;border-radius:10px;box-shadow:none}#player-account #profileLogout:hover{background:#ffffff12}
@media(max-width:600px){#player-account.account-page{margin-top:30px;padding:24px}.simple-account-counts{gap:22px;font-size:13px}.simple-account-counts strong{font-size:19px;margin-left:5px}}
#player-draw #intro{display:none!important}

.warehouse-slot .warehouse-cutout{width:68%;height:62%;object-fit:contain;filter:drop-shadow(0 4px 5px #0004);pointer-events:none}.warehouse-detail-art .warehouse-cutout{width:150px;height:150px;max-width:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #0004)}

#player #refreshBalance,#player [data-bag-refresh],#player #refreshClaimProgress{display:none!important}
#playerSyncNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid #e8c88b55;background:#332d29;color:#f0dfbd;border-radius:10px;font-size:13px}#playerSyncNotice button{flex-shrink:0}
.admin-bag-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-bag-preview article{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;background:#f2f5fa;border-radius:10px;font-size:12px}.admin-bag-preview img,.free-tier-card>.warehouse-cutout,.bag-offer-editor .warehouse-cutout,#adminGrantArt img{width:64px;height:64px;object-fit:contain}.admin-bag-preview .warehouse-reward-icon,.admin-bag-preview .bag-gem{width:50px;height:50px}#adminItemGrant{display:grid;gap:12px;padding:18px;border:1px solid #d4dce7;border-radius:12px}#adminGrantArt{min-height:64px;text-align:center}.bag-offer-editor .inline{align-items:center}.free-tier-card>.warehouse-cutout{float:right}.detail-drawer #adminWarehouse{margin-bottom:24px}#adminGrantMessage{margin:0;color:#8d4835}
.record-workspace{background:#fff;border:1px solid #dde4eb;border-radius:16px;padding:24px}.record-view-tabs{display:flex;gap:6px;border-bottom:1px solid #e4e9ef;padding-bottom:14px;margin-bottom:20px;flex-wrap:wrap}.record-view-tabs button{border:0;background:transparent;padding:10px 18px;color:#71808f}.record-view-tabs button.active{background:#eaf1f7;color:#254d72;font-weight:700}.record-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:12px}.record-search{display:flex;gap:8px;flex:1;max-width:480px}.record-toolbar select{width:150px}.record-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:#7a8793;font-size:12px}.record-footer button{margin-left:8px}.record-status{display:inline-block;padding:5px 10px;border-radius:20px;font-size:12px;background:#eff2f5;color:#687888}.record-status.pending{background:#fff2d9;color:#956018}.record-status.done{background:#e3f3eb;color:#307652}.record-status.fragment{background:#eaf0fb;color:#4c6ba2}.record-status.cancelled{background:#f3eaf0;color:#87536c}.record-positive{color:#297c60}.record-note{font-size:12px;white-space:normal;min-width:70px;max-width:260px}.record-note summary{cursor:pointer;color:#53749a}.record-note p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.record-actions{display:flex;gap:6px;margin-top:8px}.record-actions button{padding:6px 9px}.record-empty{text-align:center;padding:70px 16px;color:#8a98a5}#recordsTable{max-height:65vh}#recordsTable td{vertical-align:top}#recordsScope{margin-bottom:16px}@media(max-width:700px){.record-workspace{padding:14px}.record-toolbar{flex-wrap:wrap}.record-search{flex-basis:100%}.record-view-tabs button{padding:9px}.record-footer{gap:8px}.record-toolbar select{flex:1}}
.record-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#admin:has(#tab-records:not([hidden]))>.dual-admin-context{display:none}
#adminSettingsNav{display:flex;gap:8px;margin-bottom:20px}#adminSettingsNav button.active{background:#eaf1f7;color:#254d72;border-color:#9cb8cf}.personal-pity,#personalRecords{margin:20px 0;padding:16px;background:#f4f7fa;border-radius:10px}.personal-pity summary,#personalRecords summary{cursor:pointer;font-weight:600}.personal-record-filters{display:flex;gap:8px;margin:16px 0}#personalRecords>button{margin:12px 8px 0 0}.bag-admin-intro h3{margin-bottom:8px}

.dual-tabs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 28px}.dual-tabs button{display:flex;align-items:center;gap:14px;text-align:left;padding:18px 24px;border:1px solid #ffffff24;border-radius:16px;background:#172439d9;color:#a9b9d0;box-shadow:none}.dual-tabs button>span:nth-child(2){display:grid;gap:6px}.dual-tabs strong{font-size:19px;font-weight:700}.dual-tabs small{font-size:11px;color:#94a7c2}.dual-tabs button b{margin-left:auto;color:#d9e6f3;white-space:nowrap;font-size:16px}.dual-tab-symbol{font-size:32px;line-height:1;color:#9daeca}.dual-tabs button.active{border-color:#ebcd8d8f;background:linear-gradient(120deg,#4d433bee,#252a3cee);color:#f3dbac}.dual-tabs button.active .dual-tab-symbol{color:#f0d097}.wheel-free .dual-tabs button.active{border-color:#87dec58f;background:linear-gradient(120deg,#22453fee,#202f40ee);color:#a2e5d0}.wheel-free .dual-tabs button.active .dual-tab-symbol{color:#9edcca}.dual-tabs button:hover{filter:brightness(1.1)}.merchant-theme .dual-tabs{margin:4px 0 12px;max-width:840px}.merchant-theme .dual-tabs button{background:#fff;color:#415868;border-color:#d5dee4;padding:15px 20px}.merchant-theme .dual-tabs button.active{background:#eff5f2;border-color:#84bba3;color:#215843}.merchant-theme .dual-tabs button.active .dual-tab-symbol{color:#478870}.merchant-theme .dual-tabs small{color:#6e7f85}.dual-admin-context{color:#62747c;font-size:13px;margin:0 0 20px;line-height:1.8}.grant-wheel-label{padding:12px;background:#edf5f2;color:#366252;border-radius:10px}.other-balance{display:block;color:#7b8994;font-size:11px;margin-top:6px;white-space:nowrap}.dual-account-balances{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.dual-account-balances>div{background:#ffffff0c;padding:16px;border-radius:12px;display:grid;gap:10px}.dual-account-balances strong{font-size:24px;color:#e8d2a1}.free-tier-catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.free-tier-catalog article{padding:18px;border-radius:12px;border:1px solid #ffffff20;background:#ffffff06;display:flex;align-items:center;gap:16px}.free-tier-catalog span{color:#859ebc;font-size:12px}.free-tier-catalog strong{color:#d7e7e4;font-size:16px}.wheel-free #tab-rules>:not(#freeSettings){display:none!important}.free-savebar{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:75px;z-index:5}.free-savebar h3{margin:0 0 8px}.free-savebar p,.free-savebar span{font-size:12px;color:#6b7d83;margin:0}.free-savebar .inline{flex-shrink:0}.free-tier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.free-tier-card .inline{justify-content:space-between}.free-tier-number{font-size:26px;font-weight:700;color:#9eb6b3}.free-tier-card .form-grid{grid-template-columns:1fr 1fr;gap:14px}.free-tier-card label{font-size:12px}.free-tier-card input[type=color]{width:100%;height:43px;padding:5px}.free-probability-hint{font-size:13px;color:#6d7d82;margin:20px 0}.free-tier-card{min-width:0}#freePreview{display:block;width:min(100%,500px);height:auto;margin:auto}.wheel-free .hub{border-color:#92d1bd}.wheel-free #spin.primary{background:linear-gradient(110deg,#8ed4bc,#c2e6d4);color:#193f35}.wheel-free #playerNav{border-color:#5f9a8a55}.wheel-free .free-tier-catalog{margin-top:16px}
@media(max-width:650px){.dual-tabs{gap:8px;margin:12px 0 24px}.dual-tabs button{padding:12px 10px;gap:8px;flex-wrap:wrap;border-radius:12px}.dual-tabs strong{font-size:16px}.dual-tabs small{font-size:10px}.dual-tab-symbol{font-size:23px}.dual-tabs button b{font-size:12px;width:100%;margin-left:31px}.merchant-theme .dual-tabs button{padding:12px}.merchant-theme .dual-tabs button b:empty{display:none}.free-tier-catalog{grid-template-columns:1fr 1fr;gap:8px}.free-tier-catalog article{padding:14px;gap:10px}.free-tier-grid{grid-template-columns:1fr}.free-savebar{position:static;flex-wrap:wrap;padding:18px}.free-savebar>.inline{width:100%;justify-content:flex-end}.dual-admin-context{font-size:12px}.dual-account-balances{font-size:12px}}
.wheel-free #prizeList:has(>.free-tier-catalog){display:block!important}.wheel-free #player .prize-catalog{background:#19263ce8!important;border:1px solid #89b6bd30}.wheel-free #player .prize-catalog>h3{color:#dcebe7!important}.wheel-free #player .free-tier-catalog{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.wheel-free #player .free-tier-catalog article{background:#ffffff06;min-width:0}.wheel-free #player .free-tier-catalog strong{color:#d4e7df;overflow-wrap:anywhere}.wheel-free #player #spin{background:linear-gradient(110deg,#8ed4bc,#c2e6d4)!important;color:#193f35!important;box-shadow:0 6px 24px #6db29520}
@media(max-width:650px){.wheel-free #player .free-tier-catalog{grid-template-columns:1fr 1fr}.free-tier-catalog strong{font-size:14px}}
/* Local reward cards: art first, complete names remain available in the catalogue. */
.wheel-free #player .free-tier-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wheel-free #player .free-tier-catalog article{display:flex;flex-direction:column;gap:8px;padding:10px 6px;border:1px solid #d3c09526;background:linear-gradient(145deg,#ffffff09,#ffffff02);border-radius:12px;text-align:center}
.wheel-free #player .free-tier-catalog strong{font-size:12px;line-height:1.6;font-weight:500}
.reward-art-thumb{width:64px;height:64px;object-fit:cover;border-radius:10px;box-shadow:0 3px 12px #0003}
@media(max-width:650px){.wheel-free #player .free-tier-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.reward-art-thumb{width:70px;height:70px}}
.wheel-free #player-draw .wheel-stage{background:radial-gradient(ellipse at 50% 43%,#33405c65,transparent 60%),#11182cdd;border:1px solid #d4c49b30;border-radius:22px;box-shadow:0 18px 55px #050b2333}
.wheel-free .hub{width:64px;height:64px;background:radial-gradient(circle at 35% 25%,#425477,#162139);border:2px solid #dcc69c;box-shadow:0 0 0 5px #111b30,0 0 0 6px #bdac7b66,0 6px 20px #0006}
.wheel-free .hub img{width:53px;height:53px;object-fit:contain;filter:drop-shadow(0 2px 3px #0005)}
.wheel-free .pointer{border-top-color:#f1d6a0;filter:drop-shadow(0 3px 4px #050a21);z-index:2}
