/* Settings presentation only. Approved assets reused, no runtime blur or animation. */
body:has(#settingsPanel:not([hidden])){background:radial-gradient(ellipse at 82% 12%,#057cc51a,transparent 58%),linear-gradient(180deg,#051b3588,#05264c66 45%,#04132cbb),url('assets/home-v32/warehouse-continuation.webp') center top/cover no-repeat,#07192f}
body:has(#settingsPanel:not([hidden]))>header{display:none}
body:has(#settingsPanel:not([hidden]))>main{max-width:1180px;padding:24px 20px 0}
#settingsPanel{width:100%;padding:28px!important;max-width:1120px!important;margin:0 auto;background:linear-gradient(145deg,#06182d36,#081a3280)!important;border:1px solid #42d9fa55;border-radius:24px;box-shadow:inset 0 1px 0 #b7f2ff33,0 12px 36px #020d2466!important;font-family:var(--pizzo-font);min-width:0;color:#edf7ff}
#settingsPanel .settings-brand{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:24px}
#settingsPanel .settings-brand>div{min-width:0}
#settingsPanel .settings-brand p:first-child{font-size:11px;font-weight:650;line-height:1.4;margin:0 0 8px;color:#dcefff}
#settingsPanel .settings-brand p:first-child strong{color:#d6fa50}
#settingsPanel .settings-brand img{display:block;width:200px;max-width:100%;height:auto;object-fit:contain}
#settingsPanel .settings-tagline{font-size:12px;font-style:italic;font-weight:800;line-height:1.4;margin:9px 0 0;color:#f0faff;text-shadow:0 2px 4px #03142c}
#settingsPanel .settings-brand>span{white-space:nowrap;background:linear-gradient(135deg,#123959d9,#071a33e6);border:1px solid #61d8f299;border-radius:20px;padding:7px 9px;color:#e2f7ff;font-size:10px;font-weight:750;box-shadow:inset 0 1px 0 #b4efff44}
#settingsPanel .screen-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;min-width:0}
#settingsPanel h2{font-size:clamp(26px,5.6vw,35px);font-weight:950;font-style:italic;letter-spacing:-.035em;line-height:1.12;text-transform:capitalize;text-shadow:0 2px 0 #082447,0 0 18px #17cafa22;color:#f3fbff;margin:0}
#settingsPanel .screen-heading .eyebrow{color:#d4fb59;font-size:10px;font-weight:800;letter-spacing:.14em;margin:0 0 8px}
#settingsPanel >p{font-size:12px;line-height:1.5;margin:9px 0 0;color:#c6e0f2}
#settingsPanel .nav-actions{flex-shrink:0;gap:8px}
#settingsPanel button,#settingsPanel select{touch-action:manipulation;min-height:44px;transition:transform .1s ease,border-color .12s ease;font-family:var(--pizzo-font)}
#settingsPanel button.secondary{background:linear-gradient(130deg,#539bd42e,#0d345dd9 37%,#071c36eb);border:1px solid #61deffb8;box-shadow:inset 0 1px 0 #d2f8ff99,inset 0 -1px 0 #00a8e833,0 5px 16px #020e2866;color:#f0faff;border-radius:12px;font-size:12px;font-weight:800}
#settingsPanel .nav-actions button{padding:10px 15px;font-size:11px}

#settingsPanel .settings-brand img{width:170px}
#settingsPanel .settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
#settingsPanel fieldset{min-width:0;margin:0;padding:22px;border:1px solid #4cd4f18c;border-radius:16px;background:linear-gradient(135deg,#285f8655,#081c35eb);box-shadow:inset 0 1px 0 #c2f4ff44,0 8px 22px #020d2433}
#settingsPanel legend{padding:0 8px;font-size:18px;font-weight:900;color:#d7fb66;line-height:1.4}
#settingsPanel label{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;font-size:14px;line-height:1.6;color:#e0f1fc;min-width:0}
#settingsPanel select{min-width:0;max-width:60%;min-height:46px;padding:9px 12px;background:#071f39;color:#f2faff;border:1px solid #60daef99;border-radius:10px;font-size:12px;font-weight:750}
#settingsPanel select:disabled{color:#a8c1d5;background:#122c42;border-style:dashed;opacity:.75}
#settingsPanel input[type=checkbox]{width:23px;height:23px;flex-shrink:0;accent-color:#cafa50;margin:0}
#settingsPanel input[type=range]{width:53%;min-width:0;height:36px;accent-color:#baf34b}
#settingsPanel .field-note,#settingsPanel #saveStatus,#settingsPanel #archiveSummary,#settingsPanel #stats,#settingsPanel #performanceStats{font-size:12px;line-height:1.75;color:#bed8ea;margin:12px 0;overflow-wrap:anywhere}
#settingsPanel #prototypeSettings{margin:0}
#settingsPanel fieldset button{display:block;width:100%;margin:12px 0 0;min-height:46px;white-space:normal;line-height:1.5}
#settingsPanel #settingsMute{border-color:#d4fb5988;color:#e1ff93}
#settingsPanel .archive-view{margin:16px 0;border:1px solid #58c5dc77;border-radius:10px;padding:12px;background:#061e37aa}
#settingsPanel summary{font-size:12px;font-weight:800;color:#85eaff;cursor:pointer;min-height:30px;line-height:1.6}
#settingsPanel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.7;color:#d5e8f6;margin:12px 0 0}
#settingsPanel #reset,#settingsPanel #resetAdventure{border-color:#e897aa99;color:#ffd9e3;background:linear-gradient(130deg,#62304766,#241d36e8);box-shadow:inset 0 1px 0 #ffe0e433}
#settingsPanel a{color:#a8eaff}
#settingsPanel button:focus-visible,#settingsPanel select:focus-visible,#settingsPanel input:focus-visible,#settingsPanel summary:focus-visible{outline:3px solid #d4fb59;outline-offset:3px}
#settingsPanel button:active:not(:disabled){transform:translateY(1px)}
body:has(#settingsPanel:not([hidden]))>.site-footer{background:transparent;margin:18px auto 0;padding:16px 18px calc(24px + env(safe-area-inset-bottom));text-shadow:0 1px 4px #031124}
@media(max-width:700px){body:has(#settingsPanel:not([hidden]))>main{padding:calc(16px + env(safe-area-inset-top)) 12px 0}#settingsPanel{padding:20px 16px!important;border-radius:20px}#settingsPanel .settings-brand{gap:8px;margin-bottom:22px}#settingsPanel .settings-brand img{width:145px}#settingsPanel .settings-brand>span{font-size:8px;padding:6px}#settingsPanel .screen-heading{flex-wrap:wrap;gap:14px;align-items:flex-start}#settingsPanel .settings-grid{grid-template-columns:minmax(0,1fr);gap:20px}#settingsPanel fieldset{padding:18px}#settingsPanel label{font-size:13px}#settingsPanel select{font-size:11px;max-width:58%;padding:9px 7px}#settingsPanel legend{font-size:17px}}
@media(prefers-reduced-motion:reduce){#settingsPanel button,#settingsPanel select{transition:none;transform:none!important}}
