.game-panel-overlay:has(.settings-moon-shell){align-items:center;justify-content:center;padding:.45rem;touch-action:pan-y}.game-panel.settings-shell.settings-moon-shell,.game-panel.wide.settings-shell.settings-moon-shell{width:min(1040px,96vw)!important;max-width:96vw!important;height:min(88vh,880px)!important;max-height:min(88vh,880px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:0!important;border:3px solid #8a6a22!important;background:#0e141e!important;box-shadow:0 0 0 2px #0a0e16,0 0 0 5px color-mix(in srgb,var(--j-steel,#cfd3db) 28%,#0a0e16),6px 6px 0 #0a0e16,0 28px 64px rgba(0,0,0,.55)!important;padding:0!important}.game-panel.settings-moon-shell .game-panel-body.scroll.settings-body,.game-panel.settings-moon-shell .game-panel-body.settings-body{padding:0!important;margin:0!important;flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:transparent!important;max-height:none!important}.settings-shell-root{--st-ink:#e8eefc;--st-muted:#8fa0ba;--st-panel:#1a2233;--st-deep:#151c2a;--st-void:#0c121c;--st-edge:#0a0e16;--st-accent:var(--j-accent,#f5c542);--st-sky:var(--j-sky,#38bdf8);--st-success:var(--j-success,#4ade80);--st-danger:#f87171;--st-steel:var(--j-steel,#cfd3db);--st-gold:#e6b840;--st-font:var(--j-font-ui,var(--font-montserrat),system-ui,sans-serif);--st-display:var(--j-font-display,var(--font-bitmini),monospace);--st-line:rgba(230,184,64,0.18);--st-well:#10161f;--st-row:2.35rem;position:relative;flex:1 1 auto;min-height:0;height:100%;max-height:100%;display:flex;flex-direction:column;overflow:hidden;color:var(--st-ink);font-family:var(--st-font);font-size:13px;line-height:1.4;background:radial-gradient(ellipse 80% 50% at 50% 0,rgba(230,184,64,.07),transparent 52%),linear-gradient(180deg,#171e2b,#10161f 46%,#0c121c)}.settings-shell-root:after,.settings-shell-root:before{content:"";position:absolute;width:14px;height:14px;z-index:4;pointer-events:none;border:2px solid var(--st-gold)}.settings-shell-root:before{top:7px;left:7px;border-right:0;border-bottom:0}.settings-shell-root:after{top:7px;right:7px;border-left:0;border-bottom:0}.settings-shell-root :focus-visible{outline:2px solid color-mix(in srgb,var(--st-accent) 80%,#fff);outline-offset:1px}.settings-chrome{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 1.05rem .62rem;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 42%),linear-gradient(180deg,#3a2a12,#24180c 70%,#1a1208);border-bottom:2px solid var(--st-gold);box-shadow:inset 0 -1px 0 rgba(0,0,0,.45);flex:0 0 auto}.settings-chrome-main{min-width:0}.settings-chrome h2{margin:0;font-family:var(--st-display);font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:#fde68a;text-shadow:0 1px 0 #0a0e16,0 0 16px rgba(253,230,138,.25)}.settings-chrome p{margin:.18rem 0 0;font-family:var(--st-font);font-size:.7rem;letter-spacing:.04em;color:#c4b48a}.settings-chrome-meta{display:flex;align-items:center;gap:.45rem;margin-left:auto;flex-shrink:0}.settings-saved-chip{padding:.22rem .5rem;border:1px solid #14532d;background:rgba(22,101,52,.7);color:#bbf7d0;font-family:var(--st-display);font-size:.52rem;letter-spacing:.06em;text-transform:uppercase}.settings-close{position:relative;z-index:22;width:2.05rem;height:2.05rem;border:2px solid #3f0d0d;background:linear-gradient(180deg,#ef4444,#991b1b);color:#fff;cursor:pointer;font-family:var(--st-font);font-weight:900;line-height:1;padding:0;box-shadow:2px 2px 0 #0a0e16}.settings-close:hover{filter:brightness(1.1)}.settings-body-grid{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(168px,214px) 1fr;align-items:stretch}.settings-nav{min-height:0;height:100%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;border-right:2px solid color-mix(in srgb,var(--st-gold) 35%,#0a0e16);background:linear-gradient(90deg,rgba(0,0,0,.22),transparent),#0f1520;padding:.7rem .5rem;display:flex;flex-direction:column;gap:.28rem}.settings-nav-btn{appearance:none;width:100%;text-align:left;padding:.58rem .7rem .58rem .85rem;color:#9aa8be;font-family:var(--st-display);font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;position:relative;touch-action:manipulation}.settings-nav-btn,.settings-nav-btn:before{border:1px solid transparent;background:transparent}.settings-nav-btn:before{content:"";position:absolute;left:.28rem;top:50%;width:5px;height:5px;transform:translateY(-50%) rotate(45deg)}.settings-nav-btn:hover{color:#f8fafc;background:rgba(230,184,64,.06)}.settings-nav-btn.is-on{border-color:color-mix(in srgb,var(--st-gold) 55%,#0a0e16);background:linear-gradient(90deg,rgba(245,197,66,.95),#c49a1a);color:#1a1205;box-shadow:2px 2px 0 #0a0e16}.settings-nav-btn.is-on:before{background:#1a1205;border-color:#1a1205}.settings-main{min-height:0;height:100%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:.85rem .95rem 1rem;gap:.85rem;background:radial-gradient(ellipse 70% 40% at 80% 0,rgba(56,189,248,.04),transparent 50%),#0c1218}.settings-block,.settings-main{display:flex;flex-direction:column}.settings-block{overflow:visible;border:1px solid color-mix(in srgb,var(--st-gold) 22%,#1e293b);background:#121820;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);scroll-margin-top:.5rem}.settings-block-title{margin:0;display:flex;align-items:center;gap:.65rem;padding:.48rem .8rem;font-family:var(--st-display);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:#fde68a;background:linear-gradient(180deg,rgba(230,184,64,.16),rgba(18,24,32,.2)),#1a2230;border-bottom:1px solid var(--st-line)}.settings-block-title span{flex:0 1 auto;white-space:nowrap}.settings-block-title i{flex:1 1 auto;height:1px;background:linear-gradient(90deg,rgba(230,184,64,.55),transparent)}.settings-block-title i:last-child{background:linear-gradient(90deg,transparent,rgba(230,184,64,.55))}.settings-block-body{display:flex;flex-direction:column;gap:.55rem;padding:.75rem .85rem .85rem;background:var(--st-well);font-family:var(--st-font)!important;color:var(--st-ink)}.settings-block-body>.settings-pref-list+.settings-row,.settings-block-body>.settings-row+.settings-pref-list,.settings-block-body>.settings-row+.settings-row{padding-top:.55rem;border-top:1px solid rgba(148,163,184,.1)}.settings-row{display:grid;grid-template-columns:minmax(7.2rem,.36fr) minmax(0,1fr) 3.2rem;gap:.65rem;align-items:center;min-height:var(--st-row)}.settings-row.settings-row--with-mute{grid-template-columns:minmax(7.2rem,.36fr) 1.75rem minmax(0,1fr) 3.2rem}.settings-row>span,.settings-scale-label,.settings-toggle>span{font-family:var(--st-font)!important;font-size:.86rem;font-weight:650;color:#f1f5f9;min-width:0;line-height:1.3}.settings-row>em{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:2.85rem;padding:.2rem .32rem;border:1px solid rgba(56,189,248,.28);background:#0a1018;font-style:normal;font-family:var(--st-display);font-size:.55rem;font-variant-numeric:tabular-nums;letter-spacing:.03em;color:#7dd3fc}.settings-row input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:1.3rem;margin:0;background:transparent;cursor:pointer}.settings-row input[type=range]::-webkit-slider-runnable-track{height:.42rem;border:1px solid #0a0e16;background:linear-gradient(90deg,var(--st-sky) 0,var(--st-sky) var(--fill,0),#1b2432 var(--fill,0),#1b2432 100%);box-shadow:inset 0 1px 0 rgba(0,0,0,.5)}.settings-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:.82rem;height:1.12rem;margin-top:-.38rem;border:2px solid #0a0e16;background:linear-gradient(180deg,#f8fafc,#c5cedb);box-shadow:1px 1px 0 #0a0e16}.settings-row input[type=range]::-moz-range-track{height:.42rem;border:1px solid #0a0e16;background:#1b2432}.settings-row input[type=range]::-moz-range-progress{height:.42rem;background:var(--st-sky)}.settings-row input[type=range]::-moz-range-thumb{width:.82rem;height:1.12rem;border:2px solid #0a0e16;border-radius:0;background:linear-gradient(180deg,#f8fafc,#c5cedb)}.settings-row input[type=range]:hover::-moz-range-thumb,.settings-row input[type=range]:hover::-webkit-slider-thumb{background:linear-gradient(180deg,#fff,var(--st-accent))}.settings-mute-btn{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:2px solid #0a0e16;background:#1a2233;cursor:pointer;box-shadow:1px 1px 0 #0a0e16}.settings-mute-btn:hover{border-color:var(--st-sky)}.settings-mute-btn.is-muted{background:color-mix(in srgb,#7f1d1d 45%,#121820);border-color:#7f1d1d}.settings-mute-icon{width:14px;height:14px;background:linear-gradient(#e2e8f0,#e2e8f0) 1px 4px /2px 6px no-repeat,linear-gradient(#e2e8f0,#e2e8f0) 3px 2px /3px 10px no-repeat,linear-gradient(#e2e8f0,#e2e8f0) 6px 0 /2px 14px no-repeat,radial-gradient(circle at 11px 7px,transparent 2.5px,#e2e8f0 0 3.5px,transparent 4.5px)}.settings-mute-btn.is-muted .settings-mute-icon{background:linear-gradient(#e2e8f0,#e2e8f0) 1px 4px /2px 6px no-repeat,linear-gradient(#e2e8f0,#e2e8f0) 3px 2px /3px 10px no-repeat,linear-gradient(#f87171,#f87171) 0 6px /14px 2px no-repeat,linear-gradient(#f87171,#f87171) 6px 0 /2px 14px no-repeat}.settings-pref-list{display:flex;flex-direction:column;gap:0;border:1px solid rgba(148,163,184,.12);background:rgba(8,12,18,.45)}.settings-pref-list>.settings-toggle+.settings-toggle{border-top:1px solid rgba(148,163,184,.1)}.settings-toggle{display:flex;align-items:center;justify-content:space-between;gap:.9rem;min-height:var(--st-row);padding:.42rem .7rem;border:none;background:transparent;cursor:pointer}.settings-toggle input{position:absolute;opacity:0;pointer-events:none}.settings-switch{position:relative;width:2.65rem;height:1.32rem;flex-shrink:0;border:2px solid #0a0e16;background:#1e293b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}.settings-switch:after{content:"";position:absolute;top:1px;left:1px;width:.82rem;height:.82rem;background:#94a3b8;box-shadow:1px 1px 0 rgba(0,0,0,.35);transition:left .12s ease,background .12s ease}.settings-toggle.is-on .settings-switch{background:color-mix(in srgb,var(--st-success) 58%,#14532d)}.settings-toggle.is-on .settings-switch:after{left:calc(100% - .82rem - 1px);background:#f8fafc}.settings-scale{display:flex;flex-direction:column;gap:.45rem}.settings-scale-opts,.settings-seg{display:flex;width:100%;border:2px solid #0a0e16;background:#0a1018;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.settings-scale-opts button,.settings-seg button{appearance:none;flex:1 1 0;min-width:0;padding:.5rem .22rem;border:none;border-right:1px solid rgba(148,163,184,.14);background:transparent;color:#94a3b8;font-family:var(--st-display);font-size:.54rem;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}.settings-scale-opts button:last-child,.settings-seg button:last-child{border-right:none}.settings-scale-opts button:hover,.settings-seg button:hover{color:#fef9c3;background:rgba(245,197,66,.08)}.settings-scale-opts button.is-on,.settings-seg button.is-on{background:linear-gradient(180deg,#fde68a,var(--st-accent));color:#1a1205;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}.settings-locale-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.settings-locale-btn{appearance:none;display:flex;flex-direction:column;align-items:flex-start;gap:.22rem;padding:.6rem;border:2px solid #2a3546;background:#151c28;color:var(--st-ink);font-family:var(--st-font);cursor:pointer;text-align:left;box-shadow:2px 2px 0 #0a0e16}.settings-locale-btn strong{display:inline-flex;align-items:center;gap:.3rem;font-family:var(--st-display);font-size:.78rem;letter-spacing:.06em;color:#f8fafc}.settings-locale-emoji{font-size:1.05rem}.settings-locale-btn span{font-size:.7rem;color:var(--st-muted)}.settings-locale-btn:hover{border-color:var(--st-sky)}.settings-locale-btn.is-on{border-color:var(--st-gold);background:color-mix(in srgb,var(--st-accent) 12%,#121820);box-shadow:2px 2px 0 #0a0e16,inset 3px 0 0 var(--st-gold)}.settings-locale-btn.is-on span{color:#fde68a}.settings-actions{display:flex;flex-direction:column;gap:.35rem}.settings-action{appearance:none;display:inline-block;box-sizing:border-box;width:100%;border:2px solid #0a0e16;background:linear-gradient(180deg,#243044,#151c2a);color:#e8eefc;padding:.55rem .75rem;font-family:var(--st-display);font-size:.6rem;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;box-shadow:2px 2px 0 #0a0e16;text-align:left;text-decoration:none}.settings-action--install{background:linear-gradient(180deg,#ffe07a,#f5c542 48%,#c9a030);color:#0e1524;border-color:#8a4500;text-align:center;letter-spacing:.1em}.settings-action--install:hover:not(:disabled){border-color:#0e1524;color:#0e1524;filter:brightness(1.06)}.settings-action:hover:not(:disabled){border-color:var(--st-sky);color:#bae6fd}.settings-action:disabled{opacity:.45;cursor:not-allowed}.settings-action.danger{background:linear-gradient(180deg,#7f1d1d,#450a0a);color:#fecaca}.settings-hint,.settings-note{margin:0;font-family:var(--st-font)!important;font-size:.72rem;color:#8fa0ba;line-height:1.45}.settings-hint em{font-style:normal;color:#fde68a}.settings-foot{position:sticky;bottom:0;z-index:18;flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.4rem 1rem;padding:.45rem 1rem .55rem;border-top:1px solid var(--st-line);background:#0c1218}.settings-foot:after,.settings-foot:before{content:"";position:absolute;bottom:7px;width:14px;height:14px;border:2px solid var(--st-gold);pointer-events:none}.settings-foot:before{left:7px;border-right:0;border-top:0}.settings-foot:after{right:7px;border-left:0;border-top:0}.settings-foot .settings-note{font-size:.64rem}.settings-foot .settings-legal-link,.settings-foot a{color:#fde68a;font-size:.92rem;font-weight:800;letter-spacing:.03em;text-decoration:underline;text-underline-offset:.18em}.settings-foot .settings-legal-link:hover{color:#fff3b0}.settings-accounts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.settings-account-row{display:flex;flex-direction:column;gap:.45rem;padding:.55rem .6rem;border:1px solid #2a3546;background:#151c28}.settings-account-row.is-active{border-color:var(--st-gold);box-shadow:inset 3px 0 0 var(--st-gold)}.settings-account-meta{min-width:0;display:grid;gap:.1rem}.settings-account-meta strong{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.86rem;color:#f8fafc}.settings-account-meta small{font-size:.7rem;color:var(--st-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-account-badge{font-style:normal;font-family:var(--st-display);font-size:.5rem;letter-spacing:.06em;text-transform:uppercase;padding:.12rem .35rem;border:1px solid rgba(245,197,66,.45);background:rgba(245,197,66,.16);color:#fde68a}.settings-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:.3rem}.settings-account-btn{appearance:none;border:2px solid #0a0e16;background:#0c121c;color:var(--st-ink);padding:.42rem .35rem;font-family:var(--st-display);font-size:.54rem;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}.settings-account-btn.primary{background:color-mix(in srgb,var(--st-sky) 16%,#0c121c);color:#e0f2fe}.settings-account-btn.danger{color:#fecaca}.settings-account-btn:hover:not(:disabled){filter:brightness(1.08)}.settings-account-btn:disabled{opacity:.45;cursor:not-allowed}.settings-password-field{display:grid;gap:.22rem}.settings-password-field span{font-family:var(--st-display);font-size:.54rem;letter-spacing:.06em;text-transform:uppercase;color:var(--st-muted)}.settings-password-field input{appearance:none;box-sizing:border-box;width:100%;border:2px solid #0a0e16;background:#0a1018;color:var(--st-ink);padding:.5rem .6rem;font-family:var(--st-font);font-size:.86rem}.settings-password-field input:focus{outline:none;border-color:var(--st-sky)}.home-shell-module--settings{width:min(1040px,100%)!important;height:min(88dvh,880px)!important;max-height:min(88dvh,880px)!important;overflow:hidden!important;padding:0!important;display:flex!important;flex-direction:column!important}.home-shell-module--settings .settings-shell-root{flex:1 1 auto;height:100%;max-height:100%;min-height:0}@media (max-width:760px){.settings-body-grid{grid-template-columns:1fr;grid-template-rows:auto 1fr}.settings-nav{flex-direction:row;flex-wrap:wrap;border-right:none;border-bottom:2px solid color-mix(in srgb,var(--st-gold) 35%,#0a0e16)}.settings-nav-btn{width:auto;flex:1 1 auto}}@media (max-width:560px){.settings-row{grid-template-columns:1fr 3.2rem;grid-template-areas:"label value" "range range"}.settings-row.settings-row--with-mute{grid-template-columns:1fr 1.75rem 3.2rem;grid-template-areas:"label mute value" "range range range"}.settings-row>span{grid-area:label}.settings-row .settings-mute-btn{grid-area:mute}.settings-row em{grid-area:value}.settings-row input[type=range]{grid-area:range}.settings-seg[data-cols="5"]{flex-wrap:wrap}.settings-seg[data-cols="5"] button{flex:1 1 32%}.settings-locale-grid{grid-template-columns:1fr}}