/* Code Island Party — shared look: night-sky island palette, friendly rounded type. */
:root {
  --night: #120d33;
  --night-2: #1d1650;
  --panel: #251d63;
  --line: #3c3190;
  --ink: #f6f2ff;
  --muted: #b3a8e0;
  --sun: #ffd45c;
  --sky: #4ea8f2;
  --mint: #4fe0b0;
  --pink: #ff6fb5;
  --coral: #ff7b6b;
  --violet: #a98bff;
  --ok: #4fe0a0;
  --bad: #ff6b81;
  --display: "Fredoka", "Baloo 2", "PingFang SC", system-ui, sans-serif;
  --body: "Nunito", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); }
body { min-height: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.15; }
button, input, textarea, select { font: inherit; }
.btn { border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 800; cursor: pointer; background: var(--sun); color: #2b1b00; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ok { background: var(--ok); color: #05301f; }
.btn.bad { background: var(--bad); color: #3a0010; }
.btn.small { padding: 6px 14px; font-size: 14px; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
input[type=text], textarea { width: 100%; border: 2px solid var(--line); background: var(--night-2); color: var(--ink); border-radius: 16px; padding: 14px 16px; font-size: 20px; }
textarea { min-height: 120px; resize: vertical; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); vertical-align: middle; }
.dot.on { background: var(--ok); }
.muted { color: var(--muted); }
