:root {
  --bg: #1a1a2e;
  --fg: #e6e6f0;
  --muted: #888;
  --accent: #6c5eb5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: ui-sans-serif, system-ui, sans-serif; line-height: 1.5; }
a { color: var(--accent); }

main { max-width: 960px; margin: 0 auto; padding: 32px 24px; }
header h1 { margin: 0 0 8px; font-size: 28px; }
header .tagline { margin: 0 0 24px; color: var(--muted); }
#stage { display: flex; justify-content: center; }
#emulator-frame { position: relative; width: 100%; max-width: 800px; aspect-ratio: 4 / 3; background: #000; border: 1px solid #333; border-radius: 6px; overflow: hidden; }
#game { position: absolute; inset: 0; }
#placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; padding: 24px; }
#placeholder p { margin: 0; }
#placeholder .hint { font-size: 13px; }
.file-pick { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent); border-radius: 4px; cursor: pointer; color: var(--fg); }
.file-pick input { display: none; }
footer { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; background: #222; padding: 2px 6px; border-radius: 3px; color: var(--fg); }
