body { margin: 0; font: 15px/1.45 system-ui, sans-serif; background: #14181f; color: #d8dde6; }
header, main { max-width: 1060px; margin: 0 auto; padding: 0 12px; }
h1 { font-size: 22px; margin: 16px 0 8px; }
.notice { background: #3a2f12; border: 1px solid #8a6d1c; padding: 8px 10px; border-radius: 4px; margin: 0 0 10px; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
button { font: inherit; padding: 5px 12px; border-radius: 4px; border: 1px solid #556; background: #2a3342; color: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
#start { background: #2d6a3a; border-color: #4a9b5a; }
#status { color: #9fb0c8; }
#stage { background: #000; width: 100%; max-width: 1024px; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
#screen_container { width: 100%; height: 100%; outline: none; }
#screen_container canvas { width: 100%; height: 100%; image-rendering: auto; }
#screen_container .textscreen { white-space: pre; font: 14px monospace; line-height: 14px; color: #ccc; }
.hint { color: #9fb0c8; font-size: 13px; }
a { color: #7fb4ff; }
kbd { background: #2a3342; border: 1px solid #556; border-radius: 3px; padding: 0 4px; }
:fullscreen #stage { max-width: none; }
#paused { position: absolute; inset: 0; background: rgba(10, 14, 20, .78); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; cursor: pointer; font-size: 18px; }
#paused[hidden] { display: none; }
