/* Shared look for the party big screen and the phone controller:
   a warm kitchen-table arcade with dark outlines and bold colour. */
:root {
  --cream: #fff3dc;
  --counter: #f7e2bb;
  --ink: #2b2140;
  --muted: #6b5a4a;
  --pink: #ff5d8f;
  --good: #1f9d55;
  --bad: #d62839;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}
[hidden] { display: none !important; }
a { color: inherit; }

.btn {
  font: inherit; font-weight: bold; font-size: 1.3rem; padding: 12px 28px;
  border: 4px solid var(--ink); border-radius: 999px; background: var(--pink); color: #fff;
  cursor: pointer; box-shadow: 0 6px 0 var(--ink); text-decoration: none; display: inline-block;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.secondary { background: #fff; color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:focus-visible, button:focus-visible, input:focus-visible { outline: 4px solid #2f6fde; outline-offset: 3px; }

.panel {
  background: #fff; border: 5px solid var(--ink); border-radius: 28px; padding: 24px;
  box-shadow: 0 8px 0 var(--ink);
}

.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--good); }
.status-dot.connecting, .status-dot.offline { background: var(--bad); animation: blink 0.8s infinite alternate; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: #fff; font-weight: bold; padding: 10px 18px; border-radius: 14px;
}

@keyframes blink { to { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
