:root { font-family: 'Segoe UI', Arial, sans-serif; color: #e9e8e0; background: #11130f; font-size: 12px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; height: 100vh; display: flex; flex-direction: column; }
.preview-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 17px 26px; border-bottom: 1px solid #ffffff10; background: #171a14; }
.preview-brand { display: flex; align-items: center; gap: 12px; }
.preview-brand strong { font-size: 15px; letter-spacing: -.3px; }
.preview-brand strong span { color: #c1cd99; }
.preview-label { font-size: 8px; letter-spacing: 1.3px; color: #c1cd99; padding: 4px 6px; border: 1px solid #c1cd9928; border-radius: 4px; }
fieldset { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; border: 0; }
button { font: inherit; color: #aeb79f; background: transparent; padding: 8px 11px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
button:hover { background: #ffffff08; color: #e3e8d9; }
button[aria-pressed="true"] { color: #d4dfba; border-color: #c1cd9928; background: #c1cd990b; }
button:disabled { cursor: default; opacity: .4; }
button:focus-visible { outline: 2px solid #c1cd99; outline-offset: 2px; }
.reset-button { margin-left: 8px; border-left-color: #ffffff10; }
#preview-status { font-size: 10px; color: #a1ac92; margin: 0 0 0 auto; }
.preview-stage { flex: 1; position: relative; min-height: 0; background: radial-gradient(ellipse at 45% 40%, #28302160, transparent 70%), #10120e; }
iframe { display: block; width: 100%; height: 100%; border: 0; }
#closed-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.closed-icon { color: #c1cd99; font-size: 28px; margin-bottom: 14px; }
#closed-state h1 { font-family: Georgia, serif; font-size: 32px; font-weight: 400; margin: 0 0 14px; }
#closed-state p { color: #a1ac92; line-height: 1.7; margin: 0 0 24px; }
#reopen { color: #242b19; background: #c1cd99; padding: 12px 18px; }
#overhead-scene { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #29352f; }
.scene-city { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
#overhead-scene::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(#0e171be6, transparent 40%, #09110bc0), radial-gradient(ellipse at 50% 45%, transparent 25%, #060d1260); }
.scene-heading { position: absolute; top: 36px; left: 32px; right: 32px; text-align: center; }
.scene-heading h1 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.8px; font-size: 34px; margin: 20px 0 12px; }
.scene-heading p { color: #bec9bc; line-height: 1.8; margin: 0; }
kbd { font: inherit; }
.scene-heading kbd { padding: 3px 7px; border: 1px solid #c1cd9940; border-radius: 4px; color: #dde5ce; font-size: 11px; background: #c1cd9908; }
.scene-peds { position: absolute; inset: 145px 0 145px; }
.ped { position: absolute; width: 128px; height: 310px; transform: translateX(-50%); }
.ped-left { left: 29%; top: 26%; width: 110px; height: 275px; }
.ped-center { left: 50%; top: 25%; }
.ped-right { left: 73%; top: 31%; width: 102px; height: 255px; }
.ped-figure { width: 100%; height: 100%; overflow: visible; }
.face-cover { fill: #232d2c; opacity: 0; }
.face-disguise { fill: #535642; opacity: 0; }
.ped[data-state="covered"] .face-cover, .ped[data-state="disguised"] .face-disguise { opacity: 1; }
.overhead-label { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); color: #e6ebf3eb; font-family: Arial, sans-serif; font-size: 16px; font-weight: 500; white-space: nowrap; text-align: center; -webkit-text-stroke: .3px #000; text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000, 0 2px 3px #000c; }
.overhead-label.focused { color: #ffc364; font-size: 20px; }
.scene-reticle { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); font-size: 18px; color: #e1e8d6; opacity: .4; font-weight: 300; pointer-events: none; }
.scene-controls { position: absolute; bottom: 70px; left: 20px; right: 20px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.recognition-states { display: flex; flex-direction: column; gap: 7px; font-size: 10px; color: #b0bca8; }
.recognition-states select { font: inherit; color-scheme: dark; color: #dce6d4; border: 1px solid #c1cd9930; background: #172119; padding: 9px 30px 9px 11px; border-radius: 5px; cursor: pointer; }
.recognition-states select:focus-visible { outline: 2px solid #c1cd99; outline-offset: 2px; }
#hold-reveal { display: flex; align-items: center; gap: 12px; color: #dce6ce; background: #263222; border-color: #c1cd9938; padding: 14px 20px; user-select: none; touch-action: none; }
#hold-reveal kbd { display: grid; place-items: center; width: 37px; height: 28px; border: 1px solid #c1cd9950; border-bottom-width: 3px; border-radius: 5px; color: #dce6ce; font-size: 10px; }
#hold-reveal[aria-pressed="true"] { background: #c1cd99; color: #24301c; }
#hold-reveal[aria-pressed="true"] kbd { border-color: #34442166; color: #24301c; }
#reveal-status { min-width: 96px; font-size: 10px; color: #bcc9ae; }
.scene-footnote { position: absolute; bottom: 26px; left: 24px; right: 24px; text-align: center; font-size: 10px; line-height: 1.7; color: #a3af9c; margin: 0; }
@media (max-height: 650px) and (min-width: 701px) { .scene-heading { top: 20px; } .scene-heading h1 { font-size: 25px; margin: 12px 0 8px; } .scene-peds { inset: 125px 0 125px; } .ped { height: 215px; width: 86px; top: 10%; } .ped-left, .ped-right { height: 195px; width: 78px; top: 15%; } .scene-controls { bottom: 50px; } .scene-footnote { bottom: 13px; } }
@media (max-width: 700px) { .scene-heading { top: 24px; left: 20px; right: 20px; } .scene-heading h1 { font-size: 26px; margin: 17px 0 10px; } .scene-heading p { font-size: 10px; } .scene-peds { inset: 150px 0 185px; } .ped { width: 86px; height: 220px; top: 10%; } .ped-left { left: 20%; width: 64px; height: 175px; top: 30%; } .ped-right { left: 82%; width: 64px; height: 175px; top: 38%; } .overhead-label { font-size: 11px; } .overhead-label.focused { font-size: 13px; } .scene-controls { gap: 12px; flex-wrap: wrap; bottom: 65px; } #hold-reveal { padding: 11px 12px; } #reveal-status { width: 100%; text-align: center; margin: 0; } .scene-footnote { font-size: 8px; bottom: 20px; } .scene-reticle { top: 45%; } }
@media (max-width: 700px) { .preview-toolbar { padding: 13px 16px; gap: 12px; } #preview-status { width: 100%; margin: 0; } fieldset { gap: 3px; } button { font-size: 10px; padding: 7px 9px; } .reset-button { margin-left: 0; } }
