:root{color-scheme:dark;font-family:Segoe UI,system-ui,sans-serif;font-size:14px;background:#0c1321;color:#e6edf7}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;border-radius:8px;padding:8px 11px}button{background:#5685ff;color:white;border:0;cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:wait}input,select{border:1px solid #344057;background:#111b2b;color:inherit;min-width:0}input:focus,button:focus-visible{outline:2px solid #93b3ff;outline-offset:2px}p{line-height:1.45;margin:8px 0}h1{font-size:22px;margin:5px 0}h2{font-size:16px;margin:0 0 12px}h3{font-size:14px;margin:18px 0 9px}.muted,.eyebrow{color:#93a4bf}.eyebrow{font-size:11px;letter-spacing:2px;margin:0}.brand{font-size:22px;font-weight:800;letter-spacing:1px}.brand span{font-size:11px;color:#93a4bf;letter-spacing:2px}.login-card{width:min(390px,92vw);padding:26px;background:#152033;border:1px solid #26354c;border-radius:16px}.login-card label{display:grid;gap:8px;margin:18px 0}.login-card button{width:100%}#login{min-height:100vh;display:grid;place-items:center}#workspace{display:grid;grid-template-columns:195px 1fr;min-height:100vh}[hidden]{display:none!important}aside{padding:20px 12px;background:#111b2b;border-right:1px solid #26354c}aside .brand{margin-bottom:24px}nav{display:grid;gap:5px}nav button{text-align:left;background:transparent;color:#aab8ce}nav .active{background:#203659;color:#bcd1ff}#logout{margin-top:24px;background:#26354c}main{padding:20px 24px;min-width:0;max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.badge{padding:6px 10px;border-radius:30px;background:#203659;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.metric,article{border:1px solid #26354c;background:#152033;border-radius:10px;padding:16px}.metric strong{display:block;font-size:26px;margin-top:6px}.metric span{color:#93a4bf;font-size:13px}article{margin-bottom:14px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row input:not([type=checkbox]){flex:1}.row h2{margin:0 auto 0 0}table{border-collapse:collapse;width:100%;font-size:14px}td,th{padding:9px 8px;text-align:left;border-bottom:1px solid #26354c}th{color:#93a4bf;font-weight:500}.table-wrap{overflow:auto}.details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.details span{color:#93a4bf;display:block;font-size:12px;margin-bottom:3px}.danger{background:#b43f52}.secondary{background:#344057}.inline{display:flex;gap:8px;align-items:center;font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0b1220;padding:12px;border-radius:8px;max-height:420px;overflow:auto;font:12px/1.5 Consolas,monospace}#logs{height:320px}canvas{display:block;width:100%}#notice:empty{display:none}#notice{background:#203659;padding:9px 12px;border-radius:8px}#loginError{color:#ff9ea9}@media(max-width:900px){#workspace{grid-template-columns:1fr}aside{padding:14px}aside .brand{margin-bottom:15px}nav{display:flex;flex-wrap:wrap}#logout{margin-top:15px}main{padding:18px 14px}.metrics{grid-template-columns:repeat(2,1fr)}.details{grid-template-columns:repeat(2,1fr)}header{gap:14px}}

.details>div{min-width:0;overflow-wrap:anywhere}.row input:not([type=checkbox]){min-width:150px}.inline input{flex-shrink:0}
textarea{font:inherit;color:inherit;border:1px solid #344057;border-radius:8px;padding:8px 11px;background:#111b2b;resize:vertical;max-width:100%}.club-members{max-height:460px;margin-top:10px}.club-members th{position:sticky;top:0;background:#152033}.club-actions{white-space:nowrap}.club-actions button+button{margin-left:6px}#clubMemberFilter{width:100%;margin:4px 0}#clubResults{max-height:300px}#clubCard .section-heading{margin:16px 0 8px}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-grid label{display:grid;gap:5px;color:#93a4bf}.profile-grid input,.profile-grid select{width:100%;color:#e6edf7}.profile-grid button{justify-self:start}#statisticsForm{margin-top:12px}#statisticField{max-width:100%;flex:2}@media(max-width:600px){.profile-grid{grid-template-columns:1fr}}
.account-search h2{margin:0}.account-heading,.dialog-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-heading h2{font-size:20px;margin:5px 0}.account-heading p{margin:0}.account-details{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;background:#111b2b;border-radius:8px;padding:12px;margin:16px 0}.account-details b{font-size:14px}.account-nav{display:flex;gap:4px;border-bottom:1px solid #344057;margin:0 0 16px;padding-bottom:8px;flex-wrap:wrap}.account-nav button{background:transparent;color:#aab8ce;padding:8px 14px}.account-nav .active{background:#203659;color:#bcd1ff}.account-grid,.statistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-block{min-width:0;border:1px solid #344057;border-radius:8px;padding:14px}.account-block h3,.section-heading h3{margin:0 0 10px}.compact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}.compact-form label{display:grid;gap:6px;color:#93a4bf;font-size:12px}.compact-form label.full{grid-column:1/-1}.compact-form input,.compact-form select{width:100%;font-size:14px}.compact-form button{align-self:end}.section-heading p{margin:0 0 10px;font-size:12px}.statistics-grid{margin-top:0;align-items:start}.statistics-grid details{min-width:0}.table-action{font-size:12px;padding:6px 10px;background:#203659;color:#bcd1ff;white-space:nowrap}.table-action:hover{background:#2b4878}.inventory td:last-child,.inventory th:last-child{width:1%;text-align:right}.dialog-heading{margin-bottom:16px}.dialog-heading h2{margin:0}.dialog-heading .eyebrow{margin:0 0 5px}.dialog-error{color:#ff9a9a}.dialog-error:empty{display:none}#profileDialog{width:min(560px,calc(100% - 32px))}#profileDialog .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#profileDialog .profile-grid .dialog-error,#profileApply{grid-column:1/-1}#profileApply{width:100%}#statisticsForm{display:grid;gap:12px;margin:0}#statisticsForm input,#statisticsForm select{width:100%}#statisticsDialog>p,#profileDialog>p{font-size:12px;margin-top:12px}@media(max-width:950px){.account-details{grid-template-columns:repeat(3,minmax(0,1fr))}.account-grid,.statistics-grid{grid-template-columns:1fr}}@media(max-width:600px){.account-heading,.section-heading{align-items:flex-start;flex-direction:column}.account-details{grid-template-columns:repeat(2,minmax(0,1fr))}.account-nav button{flex:1;padding:8px}.account-heading>button{width:100%}#profileDialog .profile-grid{grid-template-columns:1fr}.account-block{padding:12px}}
@media(max-width:480px){.metrics{gap:8px}.metric,article{padding:12px}.row{align-items:stretch}.row input:not([type=checkbox]){flex-basis:100%}header{align-items:flex-start}.badge{max-width:145px}nav button{min-height:40px}#logs{height:280px}}
.inventory{display:grid;gap:8px;margin-top:18px}.inventory details{border:1px solid #344057;border-radius:8px;padding:0 12px}.inventory summary{cursor:pointer;padding:11px 0;font-weight:600}.inventory summary:focus-visible{outline:2px solid #93b3ff;outline-offset:3px}.inventory-count{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:12px;background:#203659;color:#bcd1ff;font-size:12px;font-weight:500}.inventory .table-wrap{max-height:300px;overflow:auto;margin-bottom:10px}.inventory th{position:sticky;top:0;background:#152033}.inventory p{font-size:12px;color:#93a4bf}
dialog{color:inherit;background:#142038;border:1px solid #344560;border-radius:12px;width:min(520px,calc(100% - 32px));padding:20px;max-height:90vh;overflow:auto}dialog::backdrop{background:rgba(0,0,0,.65)}dialog form{display:grid;gap:12px}dialog label{display:grid;gap:6px}dialog .row{justify-content:space-between}dialog h2{margin:0;font-size:18px}dialog p{margin:0}#inventoryError{color:#ff9a9a}.inventory-item{background:transparent;color:#9bb8ff;text-align:left;padding:4px 0;white-space:normal}.inventory-item:hover{text-decoration:underline}#inventoryFilter{flex:1}
#profileColorState{grid-column:1/-1;font-size:12px}.profile-grid input[type=checkbox]{width:auto;justify-self:start;accent-color:#5685ff}
/* Shop administration and static native-client preview. */
.shop-editor{display:grid;grid-template-columns:minmax(340px,1fr) minmax(300px,1fr);gap:20px;align-items:start}.shop-editor article{min-width:0}.shop-preview-column{position:sticky;top:20px}.offer-item-editor{border:1px solid #334155;border-radius:12px;padding:12px;margin:10px 0;display:flex;flex-wrap:wrap;gap:10px;align-items:end}.offer-item-editor>label{flex:1;min-width:180px}.offer-item-fields{display:flex;flex-wrap:wrap;gap:10px;flex:2}.offer-item-fields label{flex:1;min-width:120px}.offer-item-fields input,.offer-item-fields select{width:100%}.game-offer{position:relative;isolation:isolate;overflow:hidden;border:3px solid #101b39;border-radius:8px;color:white;min-height:340px;padding:22px 18px 12px;text-align:center;text-shadow:1px 2px 2px #000, -1px -1px 1px #000;background:#168ed2;display:flex;flex-direction:column;max-width:370px;margin:auto}.game-offer-bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:fill}.game-offer h3{font-size:clamp(18px,2vw,25px);text-transform:uppercase;margin:0 0 15px;font-weight:900;overflow-wrap:anywhere}.game-rewards{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));flex:1;align-items:center}.game-reward{display:flex;flex-direction:column;align-items:center;min-width:0;gap:4px;font-size:13px}.game-reward img{width:80px;height:80px;object-fit:contain;filter:drop-shadow(0 3px 3px #0005)}.game-reward strong{font-size:22px}.game-price{align-self:end;background:#00dba1;padding:8px 20px;border:2px solid #12253f;font-size:23px;margin-top:15px}.game-price del{font-size:15px}.game-offer-wide{max-width:none;min-height:300px;aspect-ratio:1.85;background:#ffd843}.game-offer-wide .game-rewards{grid-template-columns:42% 1fr 1fr;grid-template-rows:1fr 1fr}.game-offer-wide .featured{grid-row:1/3;grid-column:1}.game-offer-wide .featured img{width:115px;height:140px}.game-offer-wide .game-reward:not(.featured) img{width:60px;height:60px}.game-offer-wide .game-reward b{font-size:11px}.shop-editor .dialog-error{color:#ff9aa7}#offerList td{max-width:300px;overflow-wrap:anywhere}@media(max-width:1150px){.shop-editor{grid-template-columns:1fr}.shop-preview-column{position:static}}@media(max-width:480px){.game-offer-wide{padding:12px 8px}.game-offer-wide .featured img{width:85px;height:100px}.game-offer-wide .game-reward:not(.featured) img{width:45px;height:45px}}
#offerForm>.full,#promoForm>.full{grid-column:1/-1}.game-rewards>.game-reward:only-child{grid-column:1/-1}.game-offer-wide .game-rewards>.featured:only-child{grid-column:1;grid-row:1/3}.offer-item-editor label{min-width:0}.offer-item-editor>label{min-width:min(180px,100%)}@media(max-width:600px){#offerForm,#promoForm{grid-template-columns:minmax(0,1fr)}.shop-editor{grid-template-columns:minmax(0,1fr)}.offer-item-fields{min-width:0}.offer-item-editor>label{width:100%}}
.game-rewards{min-height:0}.game-offer-wide{padding-bottom:52px}.game-offer-wide .game-price{position:absolute;right:12px;bottom:8px;margin:0;padding:4px 16px;font-size:21px}.game-offer-wide .game-rewards{grid-template-rows:repeat(2,minmax(0,1fr))}
/* Full-bleed artwork: native decorative strips are removed by the extractor. */
.game-offer{min-height:410px;max-width:350px;padding:24px 20px 18px;border:3px solid #102139;border-radius:16px;box-shadow:0 10px 25px #0004;gap:12px;background:#1796d3}.game-offer-bg{object-fit:cover}.game-offer:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#0002,transparent 30%,transparent 65%,#0002)}.game-offer h3{font-size:22px;line-height:1.15;margin:0;letter-spacing:.2px;text-shadow:0 2px 0 #15223a,2px 0 0 #15223a,-2px 0 0 #15223a,0 -2px 0 #15223a}.game-rewards{gap:18px 12px;padding:8px 0}.game-reward{gap:9px}.game-reward img{width:110px;height:110px}.game-reward.hero-reward img{border-radius:18px;border:3px solid #ffffffb0;background:#10213944;box-shadow:0 6px 12px #0004}.game-reward b{font-size:16px;line-height:1.2}.game-reward strong{font-size:23px}.game-offer[data-rewards="1"] .game-reward img{width:164px;height:164px}.game-price{display:flex;align-items:center;justify-content:center;gap:8px;min-width:116px;border-radius:8px;border:2px solid #12253f;box-shadow:0 3px 0 #12253f;text-shadow:0 2px 1px #123c34;padding:8px 14px;margin:0;align-self:end}.game-price img{width:32px;height:28px;object-fit:contain}.game-offer-wide{max-width:none;min-height:330px;padding:22px 18px 60px;aspect-ratio:1.7}.game-offer-wide .game-reward img{width:76px;height:76px}.game-offer-wide .featured img,.game-offer-wide[data-rewards="1"] .featured img{width:130px;height:130px}.game-offer-wide .game-reward b{font-size:13px}.game-offer-wide .game-price{display:flex;bottom:14px;right:16px}.game-offer-wide .game-rewards{gap:10px}.game-offer-wide .game-reward strong{font-size:20px}@media(max-width:480px){.game-offer{min-height:370px}.game-offer h3{font-size:20px}.game-offer-wide{min-height:320px;padding:18px 12px 60px}.game-offer-wide .featured img{width:100px;height:100px}.game-offer-wide .game-reward:not(.featured) img{width:54px;height:54px}}
.game-offer-wide[data-rewards="2"] .game-rewards,.game-offer-wide[data-rewards="3"] .game-rewards{grid-template-columns:42% 1fr}.game-offer-wide[data-rewards="2"] .game-reward:not(.featured){grid-row:1/3}.game-offer-wide[data-rewards="1"] .featured{grid-column:1/-1}

.game-offer-badge{position:absolute;right:10px;bottom:78px;width:88px;height:88px;background:#e93465;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;clip-path:polygon(50% 0,64% 10%,82% 7%,89% 25%,100% 37%,94% 54%,98% 73%,80% 81%,70% 97%,51% 92%,33% 100%,23% 83%,5% 75%,9% 55%,0 39%,14% 25%,18% 7%,37% 11%);filter:drop-shadow(0 3px 2px #0007);text-shadow:0 2px 1px #962444}.game-offer-badge strong{font-size:25px;line-height:1}.game-offer-badge span{font-size:10px;font-weight:900}.game-offer-wide .game-offer-badge{bottom:66px}

.game-pin-offer .game-reward img{filter:drop-shadow(0 5px 7px #0005)}
.game-pin-offer[data-rewards="1"] .game-reward>img{width:185px;height:185px;object-fit:contain}
.pin-bundle-samples{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;max-width:240px}
.game-pin-offer .game-reward .pin-bundle-samples img{width:35px;height:35px;object-fit:contain;filter:none}
.game-pin-offer[data-rewards="1"] .game-rewards{padding-top:2px;gap:8px}
.game-pin-offer .game-reward{gap:7px}

.game-pin-offer .game-reward .pin-bundle-samples img{width:62px;height:62px}.pin-bundle-samples{align-items:center;min-height:130px;margin:8px auto}.pin-bundle-samples>span{font-weight:800;font-size:22px}
