/* Placeholder look: Yammat black / white / red. The design handoff replaces this file. */
:root {
  --bg: #000;
  --fg: #fff;
  --dim: #a7a7a7;
  --red: #ed1c24;
  --line: #2b2b2b;
  --font: "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 4px solid var(--red); }
.logo { display: block; width: 120px; height: auto; }
.tag { font-weight: 900; letter-spacing: .12em; font-size: 14px; }
main { flex: 1; padding: 28px 20px 24px; max-width: 560px; width: 100%; margin: 0 auto; }
h1 { margin: 6px 0 14px; font-size: clamp(32px, 9vw, 48px); line-height: 1.02; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.lead { margin: 0 0 18px; font-size: 18px; line-height: 1.4; }
.note { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--dim); }
.red { color: var(--red); }
.clock { color: var(--fg); font-size: 20px; margin-left: 6px; font-variant-numeric: tabular-nums; }

.bands { display: grid; gap: 10px; margin: 22px 0 16px; }
.band { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 8px 14px 8px 8px;
  border: 2px solid var(--line); background: #0d0d0d; color: var(--fg); font: inherit; font-size: 20px; font-weight: 800;
  text-transform: uppercase; text-align: left; cursor: pointer; }
.band img { width: 48px; height: 48px; object-fit: cover; flex: none; }
.band.is-selected { border-color: var(--red); background: var(--red); }
.go { width: 100%; min-height: 60px; border: 0; background: var(--fg); color: var(--bg); font: inherit; font-size: 18px;
  font-weight: 900; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.go:disabled { opacity: .35; cursor: default; }
.msg { min-height: 1.4em; margin: 12px 0 0; color: var(--red); font-weight: 700; }

.winner { color: var(--red); }
.results { display: grid; gap: 12px; margin: 18px 0 22px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-weight: 800; text-transform: uppercase; }
.row .bar { grid-column: 1 / -1; height: 10px; background: var(--line); position: relative; }
.row .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--pct) * 1%); background: var(--fg); }
.row.is-winner .bar::after { background: var(--red); }
.row-pct { font-variant-numeric: tabular-nums; }

body:not(.has-voted) .voted-only { display: none; }
.privacy { padding: 14px 20px 18px; font-size: 12px; line-height: 1.4; color: var(--dim); border-top: 1px solid var(--line); }
.diag { display: block; margin-top: 6px; color: var(--fg); word-break: break-all; }
