.coin-wallet{border:1px solid #d0b77b65!important;background:#181b20ed!important;color:#f1d99b!important;border-radius:20px!important;padding:8px 13px!important;font-size:14px!important;white-space:nowrap;cursor:pointer}.coin-notice{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:15;max-width:min(620px,90vw);background:#121722ee;color:#f2deaa;border:1px solid #d4b86e4a;border-radius:10px;padding:8px 14px;font-size:13px;line-height:1.5;pointer-events:none;text-align:center}.coin-notice:empty{display:none}.coin-shop{color:#f2f0e7;background:#101722;border:1px solid #8293aa55;border-radius:18px;width:min(900px,94vw);max-height:88dvh;padding:28px;box-sizing:border-box;overflow:auto}.coin-shop::backdrop{background:#000c;backdrop-filter:blur(8px)}.coin-shop h2{font-size:30px;margin:10px 0}.coin-shop p{line-height:1.6;color:#b8c6d9}.coin-shop button,.coin-shop a{font:inherit}.coin-shop button{cursor:pointer;background:#dac18a;color:#151c27;border:0;padding:10px 16px;border-radius:8px}.coin-shop button:disabled{opacity:.4;cursor:not-allowed}.coin-shop a{color:#b8dcff}.coin-close{float:right;background:transparent!important;color:#fff!important;font-size:24px!important}.coin-balance{display:block;font-size:27px;color:#f3d68f}.coin-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.coin-product{overflow:hidden;border:1px solid #8192aa3d;border-radius:12px;background:#192331;padding:0 0 16px}.coin-product img{width:100%;height:170px;object-fit:cover;background:#07111c}.coin-product h3,.coin-product p,.coin-product strong,.coin-product button{margin:12px 16px}.coin-product h3{font-size:20px}.coin-product p{font-size:14px;min-height:42px}.coin-product strong{display:block;font-size:17px;color:#f3d68f}.coin-product button{width:calc(100% - 32px)}.coin-history{padding-left:20px;font-size:14px;line-height:1.9;color:#b8c6d9}.coin-shop small{font-size:13px;line-height:1.7;color:#aab8c9}.coin-shop #coin-status{min-height:24px;color:#f1d99b;font-size:15px}
html[data-coin-theme="celestial"] body{background:#060e20 url('/assets/shop/celestial.webp') center/cover fixed!important}html[data-coin-theme="ember"] body{background:#170e0a url('/assets/shop/ember.webp') center/cover fixed!important}html[data-coin-theme]:not([data-coin-theme=""]) .world-light,html[data-coin-theme]:not([data-coin-theme=""]) .ambient,html[data-coin-theme]:not([data-coin-theme=""]) #resonance-scene{opacity:.12!important}html[data-coin-theme]:not([data-coin-theme=""]) .shell,html[data-coin-theme]:not([data-coin-theme=""]) .rift-shell{background:#0810199c;border-radius:12px}html[data-coin-theme]:not([data-coin-theme=""]) .game-layout{background:#07101a80;border-radius:14px}
@media(max-width:650px){.coin-shop{padding:18px}.coin-products{gap:10px}.coin-product img{height:105px}.coin-product h3{font-size:17px}.coin-product h3,.coin-product p,.coin-product strong,.coin-product button{margin:10px}.coin-product button{width:calc(100% - 20px)}.coin-notice{bottom:auto;top:4px;font-size:12px;opacity:.94}.coin-wallet{font-size:12px!important;padding:7px 9px!important}.coin-shop h2{font-size:25px}.coin-product p{min-height:65px}}
.coin-shop{position:fixed;inset:0;margin:auto;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}html[data-coin-theme="celestial"] body{background-image:linear-gradient(#050c1780,#050c1780),url('/assets/shop/celestial.webp')!important}html[data-coin-theme="ember"] body{background-image:linear-gradient(#10090780,#10090780),url('/assets/shop/ember.webp')!important}html[data-coin-theme]:not([data-coin-theme=""]) .story-layout{background:#08101973;border-radius:14px}html[data-coin-theme]:not([data-coin-theme=""]) .story-header,html[data-coin-theme]:not([data-coin-theme=""]) .story-account-bar{background:#081019a1}.coin-notice{max-height:64px;overflow:hidden}
.coin-shop{inset:16px auto auto 50%;transform:translateX(-50%);margin:0;width:min(900px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 32px)}
.coin-shop{left:50vw}@media(max-width:650px){.header-actions{flex-wrap:wrap;max-width:100%}.clear-focus .site-header{height:auto!important;min-height:92px;padding-block:12px!important;gap:8px}.clear-focus .header-actions{justify-content:flex-end;gap:8px!important}.clear-focus .header-actions .icon-button{font-size:12px}.story-header .header-actions{gap:8px}}
@media(max-width:650px){.coin-notice{top:auto;bottom:10px}}
/* Reserve a full mobile header row for the shop, theme and game controls. */
@media(max-width:650px){html[data-theme] .clear-focus .site-header{flex-wrap:wrap;align-content:center}html[data-theme] .clear-focus .header-actions{width:100%;max-width:100%;flex-shrink:1;justify-content:flex-end}}
.clear-focus .theme-option{row-gap:2px}.theme-option .theme-access-label{grid-column:3/-1;grid-row:2;font-size:12px;line-height:1.4;text-align:left;opacity:.8}.theme-option[data-locked="true"] .theme-access-label::before{content:'◈ ';color:var(--accent)}.clear-focus .theme-option[data-theme="celestial"]{--swatch-a:#c6afff;--swatch-b:#192b63}.clear-focus .theme-option[data-theme="ember"]{--swatch-a:#f3b45e;--swatch-b:#53261e}
.coin-product:focus{outline:2px solid #f3d68f;outline-offset:3px}.coin-legacy-story{padding:12px 14px;border:1px solid #9cb6d444;border-radius:8px;font-size:14px}.coin-theme-art{height:170px;display:grid;place-items:center;font-size:70px;font-weight:800}.coin-theme-art-paper{background:repeating-linear-gradient(0deg,#eee9de 0 25px,#ddd5c5 26px 27px);color:#353a3e}.coin-theme-art-kinetic{background:repeating-conic-gradient(#e9b73a 0 90deg,#252726 90deg 180deg) 0/70px 70px;color:#faf5df}.coin-theme-art-resonance{background:radial-gradient(circle at 60% 35%,#93ecf754,transparent 45%),linear-gradient(130deg,#0a132a,#155465);color:#b4f5ff}
@media(max-width:650px){.coin-theme-art{height:105px;font-size:50px}.theme-option .theme-access-label{font-size:12px}}
