/* Gold/charcoal shell and compact bounty HUD. Static metal artwork adds no
   runtime loop. Snake pigments and terrain keep their existing palette. */
.home,.modal{--lime:#ffcc65;--line:rgba(218,180,106,.18);--muted:#a69e90;--ink:#f5efe3}
/* Guests get a single living preview. Detailed collections remain account-only. */
.entry-skins[data-mode=guest] .account-detail,.entry-skins[data-mode=account] .guest-only{display:none}
.entry-skins[data-mode=guest]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:12px;padding:20px 0;justify-items:center}
.entry-skins[data-mode=guest] .entry-stage{width:min(860px,100%)}
.entry-skins[data-mode=guest] .entry-options{width:min(620px,100%);max-width:none;display:flex;align-items:center;gap:20px}
.entry-skins[data-mode=guest] .play-form{flex:1.4}.entry-skins[data-mode=guest] .entry-save{flex:1;padding:0;min-height:44px;width:auto}
.guest-arrow{position:absolute;top:calc(48% - 32px);width:54px;height:64px;border:1px solid #d6b77545;border-radius:16px;background:#252119a8;color:#ffe0a0;font:300 44px/1 var(--text);touch-action:manipulation}
.guest-arrow:hover{background:#5b452955;border-color:#ffcc65}.guest-arrow:focus-visible,#guest-custom:focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}
.guest-arrow{z-index:3}#entry-preview,#guest-custom-preview{pointer-events:none}
#guest-prev{left:10%}#guest-next{right:10%}
.guest-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px 18px;flex:none;border-top:1px solid #d6b7751e;background:#151a1c90}
.guest-caption h2{font:600 30px/1.1 var(--display);color:#f9e5bd;margin:3px 0 0}.guest-caption h2:focus{outline:none}.guest-caption span{font:9px var(--mono);color:#b7a17d;letter-spacing:2px}
#guest-custom{display:flex;align-items:center;gap:18px;min-height:44px;padding:10px 20px;border:1px solid #d6b77560;border-radius:9px;color:#ffdb88;background:#98703518;font-size:13px}#guest-custom span{color:#ffdb88;font-size:21px}
.guest-custom-modal.panel-shell{width:760px}.guest-custom-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:26px;height:340px}
.guest-custom-stage{min-height:0;border:1px solid #d6b77530;border-radius:12px;background:radial-gradient(ellipse,#58452430,#101719);overflow:hidden}
#guest-custom-preview{display:block;width:100%;height:100%;min-height:0}
.guest-custom-options{display:flex;flex-direction:column;justify-content:center;gap:15px;min-width:0}.guest-custom-options h2{font:600 32px/1.1 var(--display);color:#ffe0a0;margin:0}
.guest-palettes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.guest-palettes button{height:40px;border-radius:8px;border:2px solid #ffffff25;background:linear-gradient(130deg,var(--body) 49%,var(--mark) 51%)}
.guest-palettes button[aria-pressed=true]{outline:2px solid #ffdc8b;outline-offset:2px}
.guest-patterns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.guest-patterns button{min-height:40px;border:1px solid #dab97533;border-radius:7px;background:#242729;color:#c7c3ba;font-size:11px;padding:5px}
.guest-patterns button[aria-pressed=true]{border-color:#ffcc65;color:#ffe2a8;background:#59452c80}
.guest-pigments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.guest-pigments label{font:10px var(--text);color:#b9b2a5}.guest-pigments input{display:block;width:100%;height:36px;margin-top:5px;padding:3px;border:1px solid #ccb17040;border-radius:6px;background:#1c2325;cursor:pointer}.guest-pigments input:disabled{opacity:.4}
@media(orientation:landscape) and (max-height:600px){
 .entry-skins[data-mode=guest]{padding:8px 0;gap:7px}.entry-skins[data-mode=guest] .entry-stage{width:min(720px,100%)}.entry-skins[data-mode=guest] .entry-options{width:min(580px,100%);gap:16px}
 .guest-arrow{top:calc(48% - 24px);width:46px;height:48px;font-size:36px;border-radius:11px}.guest-caption{padding:5px 14px;min-height:46px}.guest-caption h2{font-size:23px}.guest-caption span{font-size:7px}#guest-custom{padding:6px 14px;min-height:36px;font-size:11px;gap:10px}
 .guest-custom-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1fr);height:max(128px,min(300px,calc(100dvh - 150px)));gap:16px}.guest-custom-options{gap:8px}.guest-custom-options h2{font-size:23px;margin:0}.guest-palettes button{height:30px}.guest-patterns{grid-template-columns:repeat(4,minmax(0,1fr))}.guest-patterns button{min-height:32px;font-size:10px}.guest-pigments input{height:28px;margin-top:3px}.guest-pigments label{font-size:9px}
}
@media(orientation:landscape) and (max-height:340px){
 .entry-skins[data-mode=guest]{padding:5px 0;gap:5px}.entry-skins[data-mode=guest] .entry-stage-top{min-height:30px;height:30px}.entry-skins[data-mode=guest] .entry-back{min-height:30px;padding:5px 0}
 .guest-caption{min-height:38px;padding:3px 12px}.guest-caption h2{font-size:20px;margin:0}#guest-custom{min-height:32px;padding:3px 12px}.guest-arrow{top:calc(48% - 22px);height:44px;width:44px}.entry-skins[data-mode=guest] .entry-save{min-height:40px}
 .guest-custom-options{gap:4px}.guest-custom-options h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.guest-palettes button{height:28px}.guest-patterns{gap:4px}.guest-patterns button{min-height:28px;font-size:9px;padding:3px}.guest-pigments{gap:7px}.guest-pigments input{height:26px;margin-top:1px}.guest-pigments label{font-size:8px}
}
.home .topbar{border-color:#d6b67923}
/* Plain gold lettering in the header, never on the login card. No filters,
   molten decoration or animated text; it stays crisp at every screen size. */
.header-wordmark{display:flex;align-items:center;gap:10px;flex-shrink:0;white-space:nowrap;color:#f3d18a;font:700 25px/1.1 var(--text);letter-spacing:-.7px}
.header-wordmark svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wordmark-domain{color:#bb9b60;font-weight:500}
@media(orientation:landscape) and (max-height:600px){.header-wordmark{font-size:19px;gap:7px;letter-spacing:-.5px}.header-wordmark svg{width:23px;height:23px}}
@media(max-width:700px){.header-wordmark{font-size:18px;gap:7px;letter-spacing:-.5px}.header-wordmark svg{width:22px;height:22px}}
@media(max-width:520px){.header-wordmark{font-size:16px;gap:5px}.header-wordmark svg{width:20px;height:20px}.home .topbar{gap:8px}.home .topbar .header-right{gap:5px}}
.golden-wallet{display:flex;align-items:center;gap:9px;flex-shrink:0;color:#ffda83;font-variant-numeric:tabular-nums}
.golden-wallet>span:last-child{display:grid;gap:2px}.golden-wallet small{font:8px var(--mono);letter-spacing:1.5px;color:#bda56d}.golden-wallet strong{font-size:16px;font-weight:600}
.golden-coin{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:2px solid #f6d889;background:linear-gradient(135deg,#ffe9a2,#b67a25 55%,#f8ce73);box-shadow:inset 0 0 0 2px #70480970;color:#6e460f;font-size:20px}
.account-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.account-stats strong{overflow-wrap:anywhere}
.compact-radar.wanted-hud{width:194px;padding:4px 10px 8px;border-color:#dab66b40;background:#0e151ac4;color:#e3d3b5}
.wanted-hud .radar-header{color:#d3b46f;font:700 10px var(--mono);letter-spacing:1.2px;height:36px}.wanted-hud .radar-header small{display:block;font:7px var(--mono);letter-spacing:.5px;color:#9c9484;margin-top:3px}
.wanted-hud .icon-button{color:#e4cda0}.wanted-hud ol{list-style:none;margin:0;padding:0;display:grid;gap:3px}
.wanted-hud li{display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:21px;padding:2px 4px;font-size:11px;border-radius:4px;color:#ccc6bb}
.wanted-hud .rank-number{font:10px var(--mono);color:#827c6e}.wanted-hud .rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wanted-hud .rank-score{font:10px var(--mono);font-variant-numeric:tabular-nums;font-weight:400;color:#d7c6a4}
.wanted-hud li[data-wanted=true]{color:#ffda83;background:#bd86351c}.wanted-hud li[data-wanted=true] .rank-number{color:#ffda83;font-size:14px}.wanted-hud li[data-you=true] .rank-name{font-weight:700;color:#fff0cf}
.wanted-purse{display:flex;justify-content:space-between;margin:5px 0 3px;padding:5px 4px;border-top:1px solid #d5b05c26;color:#e5bb65;font:8px var(--mono);letter-spacing:1px}.wanted-purse b{font-size:11px}
.wanted-hud .radar-stats{color:#c4baa5;font-size:9px}.wanted-hud .radar-stats>span>span{color:#dcb86e}.wanted-hud .radar-boost{background:#c19c4e25;margin:5px 2px 0}.wanted-hud .radar-boost i{background:#c5a35e}.wanted-hud .radar-boost[data-active=true] i{background:#ffe5a5}
.round-golden{display:flex;justify-content:space-between;padding:3px 2px 0;font:8px var(--mono);color:#b9a374}.round-golden b{font-size:10px;color:#ffdb82}
.wanted-self{position:absolute;left:50%;top:var(--panel-top);transform:translateX(-50%);padding:7px 15px;border:1px solid #ffcb644f;border-radius:8px;background:linear-gradient(120deg,#382a19d9,#14191dd1);color:#ffce70;text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}
.wanted-self>span{display:block;font:8px var(--mono);letter-spacing:1.8px}.wanted-self>strong{display:block;font-size:12px;margin-top:3px;font-weight:500}.wanted-self b{font-weight:700}
.wanted-guide{position:absolute;left:var(--panel-left);top:calc(var(--panel-top) + 53px);width:48px;height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#e6c58a;opacity:.48;pointer-events:none;user-select:none}
.wanted-guide svg{width:29px;height:29px;fill:#d7b36d55;stroke:#f4d594;stroke-width:1.5;stroke-linejoin:round;transform-origin:center;transition:transform .18s linear}.wanted-guide span{font:6px var(--mono);letter-spacing:1px}
@media(prefers-reduced-motion:reduce){.wanted-guide svg{transition:none}}
.wanted-hud .radar-powers{position:static;gap:5px;color:#ffda83;margin:5px 2px 0;font:8px var(--mono)}.wanted-hud .radar-powers svg{width:18px;height:18px;fill:#cf9b36;stroke:#ffe5a2;stroke-width:1.2}.wanted-hud #power-magnet{color:#ffda83}.wanted-hud #magnet-seconds{margin-left:auto}
.arena-menu-button{border-color:#c6a55c40;background:#14191de0;color:#dfc993}
@media(pointer:coarse),(max-height:540px){
 .compact-radar.wanted-hud{width:164px;padding:2px 7px 5px}.wanted-hud .radar-header{height:36px;font-size:9px;letter-spacing:.5px}.wanted-hud .icon-button{width:44px;height:44px}.wanted-hud li{min-height:16px;font-size:10px;padding:0 2px;gap:4px}.wanted-hud ol{gap:1px}.rank-score{font-size:9px}.wanted-purse{padding:3px 2px;margin:3px 0 1px;font-size:7px}.wanted-purse b{font-size:10px}.round-golden{padding-top:2px}.wanted-hud .radar-powers{position:absolute;right:calc(100% + 8px);top:50px;white-space:nowrap;background:#14191dbd;padding:5px;border-radius:5px}.wanted-self{padding:6px 10px}.wanted-self>span{font-size:7px;letter-spacing:1px}.wanted-self>strong{font-size:11px}
 .golden-wallet{gap:6px}.golden-wallet strong{font-size:12px}.golden-wallet small{font-size:7px;letter-spacing:.8px}.golden-coin{width:24px;height:24px;font-size:17px}
}
@media(max-width:620px){.home .topbar{gap:9px}.home .topbar nav{gap:10px;margin-right:0}.home .nav-link{font-size:10px}.golden-wallet strong{font-size:11px}.golden-wallet{gap:5px}.golden-coin{width:22px;height:22px}.home .menu-music-toggle span{display:none}}
@media(orientation:landscape) and (max-height:300px){.compact-radar.wanted-hud{width:150px}.wanted-hud li{min-height:13px;font-size:9px}.wanted-hud .radar-header{height:30px}.wanted-hud .rank-score{font-size:8px}.wanted-hud .radar-stats,.wanted-hud .radar-boost{display:none}.wanted-hud .wanted-purse{padding:2px}}
.home .nav-link,.home .icon-button{color:#c5bdad}
.home .icon-button{background:#1b1c1c;border-color:#d3b77528}
.home .player-dot{background:#ffcc65;box-shadow:0 0 0 4px #ffcc6515}
.home .entry-options h2{color:#f5efe3}
.home .entry-number,.entry-stage-top,.entry-back,.entry-difficulty,.entry-collection,.entry-save{color:#c3b28b}
.entry-stage{border-color:#d6b77535;background:radial-gradient(ellipse at 50% 48%,#55402650,#131719de 72%)}
.entry-badge{border-color:#d6b77545;color:#dfc486}
.entry-stage .skin-preview{background:#252119d9;border-color:#b38e483d}
.skin-icon{background:#493820;color:#ffcc65}
.skin-preview small{color:#bdaa86}.skin-preview strong{color:#f0e0c2}
.starter-card{background:#1b1d1e;border-color:#84704950}
.starter-card strong{color:#e4d8c4}
.starter-card[aria-pressed=true]{border-color:#ffcc65;background:#4b38247a}
.home .play-button,.modal .play-button{color:#291d0c;background:linear-gradient(110deg,#ffdb88,#ecad36);box-shadow:0 6px 26px #eab33919}
.name-status[data-state=available]{color:#f0cd82}
.modal{color:#f5efe3;background:#181b1d;border-color:#82643d}
.modal h2,.modal h3{color:#f5efe3}
.modal .modal-intro,.modal .small-note,.modal .cosmetic-note{color:#b1a89a}
.account-form input{color:#f5efe3;background:#111619;border-color:#89714375}
.account-form label,.account-form small,.account-stats span,.entry-text-button,.account-switches button{color:#c2b497}
.account-message{color:#ecd49c}.account-message[data-error=true]{color:#ffb5aa}
.dialog-menu-button,.dialog-actions>.secondary-button{background:#2b251c;color:#ead3a0;border-color:#a986454c}
.dialog-actions,.result-score,.result-adventure,.setting-row,.power-guide{border-color:#b6995b35}
.modal .setting-row{border-color:#a78a4b38}
#menu-effects-mode{flex-shrink:0;max-width:42%;min-height:36px;padding:6px 9px;border:1px solid #a9864560;border-radius:6px;background:#2b251c;color:#ead3a0;font:12px var(--text)}
.setting-row strong,.help-list strong{color:#e5d8bd}
.setting-row small,.local-note,.help-list p,.secondary-button,.result-score>span:first-child,.result-stats span{color:#ada18b}
.switch{background:#37342f;border-color:#70634d}.switch:after{background:#a69c89}
.setting-row input:checked+.switch{background:#705522;border-color:#c79439}
.setting-row input:checked+.switch:after{background:#ffcf70}
.local-note svg{stroke:#c2a56a}
.mode{background:#211e19;border-color:#77613c;color:#c6b592}
.mode.active{background:#55412680;border-color:#c99d50;color:#ffe3a3}
.rivals-label{color:#b5a888}
.head-showcase{border-color:#846838;background:radial-gradient(ellipse at 50% 30%,#76572455,transparent 60%),linear-gradient(160deg,#25211c,#11191e)}
.showcase-label{color:#bfa476}.showcase-copy{background:linear-gradient(0deg,#191c1e 60%,transparent)}.showcase-copy p,.gaze-hint{color:#c7b58c}
.head-categories button,.head-card,.color-choice,.signature-grid button,.pattern-grid button,.pigment-controls label{background:#221f1b;border-color:#79613c75;color:#cfbf9e}
.head-categories button[aria-pressed=true],.head-card[aria-pressed=true],.color-choice[aria-pressed=true],.signature-grid button[aria-pressed=true],.pattern-grid button[aria-pressed=true]{border-color:#ffcc65;background:#503b2580;color:#ffdb8a}
.head-card strong,.head-card[aria-pressed=true] strong{color:#efdbb4}
.head-card .check{background:#ffcc6522;color:#ffcc65}
.customizer-label,.customizer-label>span:last-child,.color-label>span:last-child,.look-actions button,.look-actions button:last-child{color:#c1ae88}
.model-filters button{background:#211e1b;color:#c8b695;border-color:#81663866}
.model-filters button[aria-pressed=true]{background:#59412680;color:#ffdf98;border-color:#caa25b}
.model-status{color:#bbae93}

/* Five-second coronation: reveal, slow metallic light pass, a few drifting
   embers, then settle. No flashing, fullscreen blur or new JavaScript loop. */
.launch-intro{background:radial-gradient(ellipse at 50% 43%,#392a19 0,#141719 48%,#080c10 100%);color:#fff1d5}
.launch-grid{opacity:.3;background-image:linear-gradient(#b68b4418 1px,transparent 1px),linear-gradient(90deg,#b68b4418 1px,transparent 1px)}
.launch-intro:after{background:linear-gradient(90deg,transparent,#ffd7860a,transparent);animation-duration:5s}
.launch-kicker{color:#d9b46c}.launch-tagline,.launch-footer{color:#a4906c}
.launch-status{color:#d0bd99}
.launch-emblem{width:226px;height:196px;margin:23px auto 25px}
.launch-emblem .launch-crown{width:220px;height:179px;fill:none;transform:none;animation:crown-arrive 5s ease-out both}
.launch-crown-art{position:absolute;inset:-15% -12%;width:124%;height:130%;object-fit:contain;pointer-events:none;visibility:hidden;animation:crown-arrive 5s ease-out both}
.launch-emblem[data-art-ready=true] .launch-crown-art{visibility:visible}
.launch-emblem[data-art-ready=true] .launch-crown{visibility:hidden}
.launch-emblem[data-art-ready=true]::after{content:'';position:absolute;inset:-15% -12%;pointer-events:none;background:linear-gradient(110deg,transparent 40%,#fff3d24a 48%,#fff7de70 50%,transparent 58%);background-size:300% 100%;mask:url('./assets/crown-intro-v1.png') center/contain no-repeat;animation:crown-arrive 5s ease-out both,crown-polish 5s ease-in-out both}
.launch-emblem circle{fill:inherit}
.launch-ring{inset:-5px 7px;border-color:#d0a24e1b;border-top-color:#f6d18b8a;border-right-color:#a379362e;box-shadow:0 0 36px #f4b9430c,inset 0 0 28px #f4b94306;animation-duration:22s}
.launch-ring-inner{inset:8px 20px;border-color:#b78e4223;animation-duration:30s}
.launch-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,5vw,44px);font-weight:700;letter-spacing:1px;color:#fce7b1;text-shadow:0 2px #7a4b13,0 4px 12px #0008}
.launch-title span{color:#e9b94f}
.launch-track{background:#ffcd6518;height:2px}
.launch-track i{width:100%;background:linear-gradient(90deg,#85551b,#f7c55e,#fff2ba);transform-origin:left;animation:crown-loading 5s cubic-bezier(.2,.6,.4,1) both}
.launch-fullscreen{border-color:#b68d4e55;background:#2b241c;color:#ead5aa}
.launch-retry{background:#efc061;color:#291c0b;border-color:#dfb15d}
.crown-glint{animation:crown-glint 4.8s ease-in-out both}
.launch-embers{position:absolute;inset:0;pointer-events:none}
.launch-embers i{position:absolute;left:8%;top:75%;width:2px;height:3px;border-radius:50%;background:#ffda84;box-shadow:0 0 8px #ffbb4966;opacity:0;animation:crown-ember 4s .5s ease-out both}
.launch-embers i:nth-child(2){left:90%;top:63%;animation-delay:1.2s}
.launch-embers i:nth-child(3){left:18%;top:35%;animation-delay:1.8s;width:1px;height:2px}
.launch-embers i:nth-child(4){left:79%;top:88%;animation-delay:.8s;width:1px;height:2px}
.launch-intro[data-phase=error] .launch-crown,.launch-intro[data-phase=error] .launch-crown-art,.launch-intro[data-phase=error] .crown-glint,.launch-intro[data-phase=error] .launch-embers i{animation:none}
.orientation-dialog{background:radial-gradient(ellipse at center,#33291d,#0b1014 72%);color:#f6e6c6}
.orientation-phone{color:#ffcc65}.orientation-phone i{border-color:#ffcc65}
.orientation-dialog p,.orientation-dialog small{color:#bda981}
.orientation-dialog button{background:#ffcc65;color:#2c200d}
@keyframes crown-arrive{0%{opacity:0;transform:translateY(13px) scale(.82) rotate(-4deg)}25%{opacity:1;transform:translateY(0) scale(1)}70%{transform:translateY(-3px) scale(1.025)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes crown-glint{0%,15%{opacity:0;transform:translateX(0)}25%{opacity:.7}75%{opacity:.7}100%{opacity:0;transform:translateX(470px)}}
@keyframes crown-loading{from{transform:scaleX(.03)}to{transform:scaleX(.96)}}
@keyframes crown-ember{0%{opacity:0;transform:translate(0,0)}25%{opacity:.65}100%{opacity:0;transform:translate(8px,-45px)}}
@keyframes crown-polish{from{background-position:110% 0}to{background-position:-10% 0}}
@media(max-height:500px){
 .launch-emblem{width:124px;height:112px;margin:10px auto 12px}.launch-emblem .launch-crown{width:133px;height:108px}
 .launch-ring{inset:-3px 8px}.launch-ring-inner{inset:6px 17px}.launch-title{font-size:28px}
}
@media(max-height:340px){
 .launch-emblem{width:95px;height:80px;margin:8px auto}.launch-emblem .launch-crown{width:104px;height:84px}
 .launch-title{font-size:24px}.launch-tagline{margin:7px 0 9px}.launch-kicker{font-size:7px}
}
@media(prefers-reduced-motion:reduce){
 .launch-intro *,.launch-intro:after{animation:none!important}.launch-emblem::after,.launch-embers,.crown-glint{display:none}
 .launch-track i{transform:scaleX(1);opacity:.5}
}
