/* Console Wars: the Game Boy palette the Godot game uses (rustic-gb). */
:root { --d: #2c2137; --m: #764462; --l: #a96868; --b: #edb4a1; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--d); color: var(--b); font: 16px/1.45 system-ui, sans-serif; }
a { color: var(--b); }
.muted { color: var(--l); }
header, main, footer { max-width: 960px; margin: 0 auto; padding: 12px 16px; }
h1 { margin: 8px 0; letter-spacing: 2px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--m); }
a.live { background: var(--m); padding: 2px 10px; border-radius: 4px; text-decoration: none; }
a.live:hover { background: var(--l); color: var(--d); }
button { background: var(--m); color: var(--b); border: 1px solid var(--l); border-radius: 6px;
  padding: 8px 14px; font: inherit; cursor: pointer; touch-action: none; user-select: none; }
button:disabled { opacity: 0.5; cursor: default; }
button.down { background: var(--l); color: var(--d); }
#home { font-weight: bold; text-decoration: none; letter-spacing: 1px; }
#stage { position: relative; background: #000; aspect-ratio: 10 / 9; max-height: 70vh; margin: 0 auto; }
#screen { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; display: block; }
#overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; background: rgba(44, 33, 55, 0.85); padding: 24px; text-align: center; }
#overlay[hidden] { display: none; }
#play { font-size: 22px; padding: 12px 40px; }
#controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin: 12px 0; }
#pad div { display: flex; gap: 6px; margin-bottom: 6px; }
#mic { display: flex; flex-direction: column; gap: 6px; }
.meter { width: 200px; height: 8px; background: var(--m); border-radius: 4px; overflow: hidden; }
#level { height: 100%; width: 0; background: var(--b); }
#level.off { background: var(--l); }
#hint, #keys { flex-basis: 100%; margin: 0; }
#status th { width: 180px; color: var(--l); font-weight: normal; }

.conf { font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.05em; }
.conf-high { color: #2e8b57; }
.conf-medium { color: #c08a00; }
.conf-low { color: #c0392b; }
.conf-blocked { color: #888; text-decoration: line-through; }
.conf-unknown { color: #888; }
.download { font-size: 0.85em; margin-left: 0.3em; }

.group { font-size: 0.85em; white-space: nowrap; }
.group-2x { font-weight: bold; }
dl.groups dt { font-weight: bold; margin-top: 0.6em; }
dl.groups dd { margin-left: 1.2em; }

.slides-link { font-size: 1.1em; margin: 0.8em 0; }
.slides-link a { color: #f6dccf; background: #764462; padding: 0.25em 0.7em; border-radius: 0.4em; text-decoration: none; }
