:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 20%, #2b1c45 0, #130f24 42%, #090a14 100%); color: #f8e9c5; font-family: "Courier New", monospace; }
.cabinet { width: min(100vw, 980px); padding: 18px 20px; border: 2px solid #6e4069; background: linear-gradient(135deg, #17152b, #0e1120); box-shadow: 0 0 0 5px #090b15, 0 25px 80px #000; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header { min-height: 38px; border-bottom: 1px solid #563456; }
.brand { letter-spacing: 3px; font-weight: 900; color: #ffc35c; text-shadow: 2px 2px #752a44; }
.brand span { color: #d34a6e; }.tag { color: #a8a0ba; font-size: 11px; }
.screen-wrap { position: relative; margin: 16px auto; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid #b26a61; background: #101226; box-shadow: inset 0 0 25px #000, 0 0 30px #6a284b55; }
canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(#10142ee0, #25152de0); transition: opacity .35s; }
.overlay.hide { opacity: 0; pointer-events: none; }.title { font-size: clamp(30px, 7vw, 65px); line-height: .72; font-weight: 900; letter-spacing: 5px; color: #f4c85f; text-shadow: 4px 4px #7b2948, 7px 7px #24122b; }.title em { color: #d94e69; font-style: normal; }
.overlay p { margin: 26px 10px 16px; color: #ded6bf; font-size: 13px; }.overlay small { margin-top: 15px; color: #aaa4bc; font-size: 10px; }
button { font: inherit; cursor: pointer; color: #fff2cf; border: 2px solid #f1b959; background: #702b48; padding: 10px 16px; box-shadow: 3px 3px 0 #29142a; font-weight: bold; letter-spacing: 1px; } button:hover { background: #a23d58; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 #29142a; } button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #29142a; }
footer { border-top: 1px solid #563456; padding-top: 12px; color: #b8aec2; font-size: 10px; line-height: 1.6; }.sound { font-size: 10px; padding: 5px 8px; border-color: #966088; background: #251a34; box-shadow: none; white-space: nowrap; }
@media (max-width: 540px) { .cabinet { padding: 10px; border: 0; } .tag { display: none; } footer { font-size: 8px; }.overlay small { font-size: 8px; } }
