/* Black stage, one volt accent, everything round. */
:root {
  --bg: #0b0b0d;
  --ink: #f2f2ee;
  --muted: #8b8b86;
  --line: #2a2a2e;
  --volt: #ccff00;
  --black: #18161d;
  --display: 'Bowlby One', 'Arial Black', Impact, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
html, body { margin: 0; min-height: 100%; }
/* green circle cursor; bigger with a center dot over anything clickable */
html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='7' fill='%23ccff00' stroke='%2318161d' stroke-width='2'/%3E%3C/svg%3E") 12 12, auto; }
a, button, [role="button"], summary, label { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='11' fill='%23ccff00' stroke='%2318161d' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='3' fill='%2318161d'/%3E%3C/svg%3E") 16 16, pointer; }
input, textarea { cursor: text; }
body { background: var(--bg); color: var(--ink); font: 400 14px/1.6 var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

.social { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; display: flex; gap: 8px; z-index: 5; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--volt); background: #111114; }
.social a:hover { border-color: var(--volt); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.stage { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; gap: 40px; padding: 88px 16px 40px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 40px; justify-content: center; align-items: start; }
@media (max-width: 720px) { .pair { grid-template-columns: minmax(0, 320px); } }
.disc { margin: 0; display: grid; gap: 14px; justify-items: center; }
.disc > img, .disc canvas, .disc-face { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; display: block; }
.disc canvas { background: var(--volt); }
figcaption { font: 600 13px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
figcaption i { width: 11px; height: 11px; border-radius: 50%; background: var(--volt); display: inline-block; }
.link { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 4px 6px; font-size: 11px; letter-spacing: .3em; }
.link:hover { border-color: var(--volt); color: var(--volt); }

.checker-face { background: #111114; border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; gap: 14px; padding: 18%; text-align: center; }
.eyebrow { margin: 0; font: 600 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--volt); }
#check-form { display: grid; gap: 8px; width: 100%; }
#check-form input { width: 100%; background: #0b0b0d; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: var(--ink); font: 400 12px var(--mono); text-align: center; }
#check-form button { border: 0; border-radius: 999px; padding: 10px; background: var(--volt); color: var(--black); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.result { margin: 0; font-size: 12px; color: var(--muted); min-height: 3.2em; }
.result b { color: var(--volt); }
.result.miss b { color: #ff6a5a; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; }
.swatches button { aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; padding: 0; overflow: hidden; background: conic-gradient(var(--f) 0 50%, var(--c) 0 100%); }
.swatches button[aria-pressed="true"] { border-color: var(--volt); box-shadow: 0 0 0 2px var(--bg) inset; }
.save { width: 100%; border: 1px solid var(--line); border-radius: 999px; background: none; padding: 12px; letter-spacing: .3em; text-transform: uppercase; font-size: 11px; }
.save:hover { border-color: var(--volt); }

footer { border-top: 1px solid var(--line); padding-top: 18px; text-align: center; max-width: 680px; margin: 0 auto; }
footer p { margin: 0 0 8px; letter-spacing: .24em; text-transform: uppercase; font-size: 10px; color: var(--muted); }
footer .fine { letter-spacing: .08em; text-transform: none; color: #5c5c58; }

dialog { width: min(720px, calc(100vw - 32px)); max-height: min(80vh, 760px); background: #111114; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 0; }
dialog::backdrop { background: rgba(0, 0, 0, .72); }
dialog header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
dialog h2 { margin: 0; font: 400 26px/1 var(--display); color: var(--volt); }
.close { background: none; border: 0; font-size: 26px; line-height: 1; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px 0; }
.tabs button { border: 1px solid var(--line); border-radius: 999px; background: none; padding: 6px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tabs button[aria-pressed="true"] { background: var(--volt); color: var(--black); border-color: var(--volt); }
.panes { padding: 8px 22px 24px; overflow: auto; max-height: calc(min(80vh, 760px) - 120px); }
.panes section { display: none; }
.panes section.on { display: block; }
.panes h3 { font: 400 20px/1.2 var(--display); margin: 12px 0 8px; }
.panes p, .panes li { color: #c9c9c3; max-width: 62ch; }
.panes b { color: var(--ink); }
.assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.assets a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; font-size: 11px; }
.assets img { width: 100%; height: 110px; object-fit: contain; background: #0b0b0d; border: 1px solid var(--line); border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.previews { display: grid; gap: 14px; justify-items: center; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 96px)); gap: 14px; justify-content: center; }
@media (max-width: 560px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } }
.strip button { padding: 0; border: 2px solid var(--line); border-radius: 50%; background: none; overflow: hidden; aspect-ratio: 1; }
.strip button[aria-pressed="true"] { border-color: var(--volt); box-shadow: 0 0 0 3px var(--bg) inset; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
