/* ==========================================================================
   Who's Up — the house look for every page

   Written only in variables. The defaults below are the Spotlight theme;
   each room's /r/<slug>/theme.css swaps in its theme (platform/themes.js)
   and accent, and later a venue's brand kit, without touching a page.
   The display (/lineup, /tv) runs with the lights off: html[data-lights=off].
   Fonts are served from this server (shared/fonts, SIL OFL), and a font is
   only downloaded when a theme uses it.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/shared/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/shared/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800 900; font-display: swap; src: url("/shared/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/shared/fonts/source-sans-3-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("/shared/fonts/source-sans-3-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/shared/fonts/source-sans-3-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700 900; font-display: swap; src: url("/shared/fonts/source-sans-3-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400 600; font-display: swap; src: url("/shared/fonts/oswald-600.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700 900; font-display: swap; src: url("/shared/fonts/oswald-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400 800; font-display: swap; src: url("/shared/fonts/montserrat-800.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-display: swap; src: url("/shared/fonts/montserrat-900.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url("/shared/fonts/source-serif-4-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("/shared/fonts/source-serif-4-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url("/shared/fonts/source-serif-4-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 700 900; font-display: swap; src: url("/shared/fonts/source-serif-4-700-normal.woff2") format("woff2"); }

:root {
  /* the room's colour: theme.css sets both */
  --accent: #c41f35;
  --accent-bright: #e8455a;
  --accent-deep: color-mix(in srgb, var(--accent) 55%, #000);

  /* light cards on the TV (polaroids, QR cards) */
  --sheet: #f7f6f2;
  --sheet-ink: #17181c;
  --sheet-muted: #62646d;

  --paper: #f6f5f1;
  --paper-2: #ebe9e2;
  --card: #ffffff;
  --ink: #17181c;
  --text: #24252b;
  --muted: #62646d;
  --rule: rgba(23, 24, 28, .14);
  --rule-soft: rgba(23, 24, 28, .07);
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  --btn-edge: #17181c;
  --shadow: rgba(23, 24, 28, .18);
  --focus: var(--accent);
  --gold: #b07d12;
  --ok: #1f7a3a;
  --warn: #9a5a10;
  --live: var(--accent);

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --script: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* the knobs a theme turns */
  --display-weight: 800;
  --display-tracking: .01em;
  --radius: 16px;
  --radius-btn: 999px;
  --card-border: 1px solid var(--rule);
  --card-shadow: 0 1px 2px var(--rule-soft), 0 18px 40px -24px var(--shadow);
  --glow-strength: 45%;
  --glow: color-mix(in srgb, var(--accent) var(--glow-strength), transparent);
  --bg:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(60% 40% at 100% 100%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%),
    var(--paper);

  color-scheme: light;
}

html[data-lights="off"] {
  --paper: #0e0f13;
  --paper-2: #171920;
  --card: #1a1c23;
  --ink: #f4f4f1;
  --text: #e6e6e2;
  --muted: #a3a5ad;
  --rule: rgba(244, 244, 241, .16);
  --rule-soft: rgba(244, 244, 241, .07);
  --btn-edge: #000000;
  --shadow: rgba(0, 0, 0, .6);
  --focus: var(--accent-bright);
  --gold: #f2c14e;
  --ok: #7fd18f;
  --warn: #f0b45a;
  --live: var(--accent-bright);
  --glow-strength: 60%;
  --glow: color-mix(in srgb, var(--accent-bright) var(--glow-strength), transparent);
  --bg:
    radial-gradient(70% 55% at 50% -12%, color-mix(in srgb, var(--accent-bright) 26%, transparent), transparent 70%),
    radial-gradient(50% 40% at 50% 115%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--paper);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font: 400 1.0625rem/1.5 var(--body);
  color: var(--text);
  background: var(--bg);
  background-color: var(--paper);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------ layout ------------------------------ */

.wrap { width: min(100% - 32px, 34rem); margin-inline: auto; padding: 28px 0 calc(48px + env(safe-area-inset-bottom)); }
.wrap--wide { width: min(100% - 32px, 64rem); }

.masthead { text-align: center; margin-bottom: 24px; }
/* The show's name as a little lit-up tag above the title. */
.masthead__brand {
  display: inline-flex; align-items: center; gap: .55em; padding: .42em .9em .38em;
  font: 700 .82rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--rule); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.masthead__brand:not(:empty)::before {
  content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent), 0 0 12px var(--glow);
}
.masthead__brand:empty { display: none; }
.masthead__title {
  margin-top: 14px;
  font: var(--display-weight) clamp(2.2rem, 11vw, 3.4rem)/.95 var(--display); letter-spacing: var(--display-tracking); text-transform: uppercase;
  color: var(--ink); text-wrap: balance;
}
.masthead__meta { margin-top: 10px; color: var(--muted); }

.eyebrow {
  font: 700 .74rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ------------------------------ cards ------------------------------ */

.card {
  position: relative;
  padding: 22px 20px 24px;
  background: var(--card);
  border: var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.card + .card { margin-top: 18px; }
.card__title { font: var(--display-weight) 1.6rem/1.05 var(--display); letter-spacing: var(--display-tracking); text-transform: uppercase; color: var(--ink); }
.card__sub { margin-top: 6px; color: var(--muted); }

.note-pin {
  margin: 0 0 18px; padding: 12px 16px;
  border-left: 4px solid var(--accent); border-radius: 0 calc(var(--radius) / 2) calc(var(--radius) / 2) 0;
  background: color-mix(in srgb, var(--accent) 8%, var(--card));
}

/* ------------------------------ buttons ------------------------------ */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.5em .66em;
  font: var(--display-weight) 1.05rem/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  color: var(--btn-fg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--btn-bg) 82%, #fff) 0%, var(--btn-bg) 55%, color-mix(in srgb, var(--btn-bg) 88%, #000) 100%);
  border: 0; border-radius: var(--radius-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 26px -10px var(--glow), 0 2px 4px -2px var(--shadow);
  cursor: pointer; user-select: none;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
/* A sheen that sweeps across on hover. */
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 34px -12px var(--glow), 0 3px 6px -3px var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.985); filter: brightness(.96); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn--ghost {
  color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--rule);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--big { min-height: 60px; font-size: 1.3rem; }
.btn--sm { min-height: 38px; padding: .5em 1.05em .45em; font-size: .86rem; }

.linkish {
  background: none; border: 0; padding: .45em .2em; cursor: pointer; color: var(--ink);
  font: 400 .95rem var(--body); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent);
  text-underline-offset: .22em; text-decoration-thickness: 2px;
}
.linkish:hover { text-decoration-color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ------------------------------ forms ------------------------------ */

.field { display: grid; gap: 6px; margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field__label { font: 700 .95rem/1.2 var(--body); color: var(--ink); }
.field__hint { font-size: .88rem; color: var(--muted); }
.field__opt { font-weight: 400; color: var(--muted); }

.input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 1.15rem; line-height: 1.3;
  background: color-mix(in srgb, var(--paper) 60%, var(--card)); color: var(--text);
  border: 1.5px solid var(--rule); border-radius: calc(var(--radius) * .65);
  box-shadow: inset 0 1px 2px var(--rule-soft);
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--muted); opacity: .7; }
.input:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.input:focus { outline: 0; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 22%, transparent); }
.input--name { font: var(--display-weight) 1.75rem/1.2 var(--script); letter-spacing: .01em; min-height: 62px; }
textarea.input { min-height: 84px; resize: vertical; }
.input--sm { min-height: 40px; padding: 7px 10px; font-size: 1rem; }
select.input {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}

.prefix { position: relative; }
.prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.15rem; pointer-events: none; }
.prefix > .input { padding-left: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-grid; place-items: center; min-width: 64px; min-height: 46px; padding: 0 14px;
  font: var(--display-weight) 1.1rem/1 var(--display); color: var(--ink);
  border: 1.5px solid var(--rule); border-radius: var(--radius-btn); background: transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px var(--glow); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin-top: 14px; padding: 10px 14px; border-radius: calc(var(--radius) * .6);
  color: var(--live); font-weight: 600;
  background: color-mix(in srgb, var(--live) 10%, transparent); border: 1px solid color-mix(in srgb, var(--live) 40%, transparent);
}

/* ------------------------------ ticket (you're in) ------------------------------ */

.ticket {
  position: relative; overflow: hidden;
  background: var(--card); border: var(--card-border); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--card-shadow), 0 30px 60px -36px var(--glow);
  text-align: center;
}
.ticket::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--accent));
}
.ticket__top { padding: 26px 20px 18px; }
.ticket__stamp {
  display: inline-block; padding: .38em .8em .3em;
  font: var(--display-weight) .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 2px solid currentColor; border-radius: 6px;
  transform: rotate(-3deg);
}
.ticket__stamp--wait { color: var(--warn); }
.ticket__name { margin-top: 14px; font: var(--display-weight) clamp(2.4rem, 13vw, 3.6rem)/1 var(--script); letter-spacing: var(--display-tracking); text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.ticket__ig { margin-top: 6px; color: var(--muted); }
.ticket__perf {
  position: relative; height: 0; border-top: 2px dashed var(--rule); margin: 0 14px;
}
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule);
}
.ticket__perf::before { left: -28px; }
.ticket__perf::after { right: -28px; }
.ticket__bottom { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 12px 20px; }
.ticket__stat + .ticket__stat { border-left: 1px solid var(--rule); }
.ticket__big { font: var(--display-weight) 2.5rem/1.05 var(--display); color: var(--ink); }
.ticket__small { font-size: .85rem; color: var(--muted); }
.ticket__foot { padding: 0 20px 20px; color: var(--muted); font-size: .95rem; }

.mini-list { margin-top: 18px; padding: 0; list-style: none; counter-reset: n; }
.mini-list li {
  display: flex; gap: 10px; align-items: baseline; padding: 8px 2px;
  border-bottom: 1px solid var(--rule-soft); font-size: 1.05rem;
}
.mini-list li::before { counter-increment: n; content: counter(n) "."; min-width: 1.8em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-list li.is-me { font-weight: 700; color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent); border-radius: 6px; }
.mini-list .t { margin-left: auto; padding-left: 10px; font-size: .9rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-list li.is-done { text-decoration: line-through; color: var(--muted); }
.mini-list li.is-break { font-style: italic; color: var(--muted); }
.mini-list--plain li::before { content: "·"; }

/* ------------------------------ toast ------------------------------ */

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  max-width: calc(100% - 32px); padding: 12px 18px;
  font-weight: 600; color: #fff; background: #17181c;
  border-radius: 12px; box-shadow: 0 14px 36px -12px rgba(0, 0, 0, .55);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.2, 1.3, .4, 1), opacity .25s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast.is-bad { background: var(--accent); }

.livedot { display: inline-block; width: .55em; height: .55em; margin-right: .35em; border-radius: 50%; background: var(--ok); vertical-align: .08em; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.livedot.is-off { background: var(--muted); box-shadow: none; }

.foot { margin-top: 28px; text-align: center; font-size: .9rem; color: var(--muted); }

/* ------------------------------ "Run with Who's Up" ------------------------------
   Free rooms carry the mark (the server decides: config.mark). */

.wu-mark {
  display: inline-flex; align-items: center; gap: .45em; padding: .35em .75em;
  font: 700 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none;
  border: 1px solid var(--rule); border-radius: 999px; opacity: .85;
}
.wu-mark::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: conic-gradient(var(--accent), var(--accent-bright), var(--accent)); }
.wu-mark:hover { opacity: 1; color: var(--ink); }
.wu-mark b { color: var(--ink); font-weight: 800; }
.roomfoot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 26px; font-size: .82rem; color: var(--muted); }
.roomfoot a:not(.wu-mark) { color: var(--muted); }

/* ------------------------------ show-night nav ------------------------------
   The three guest pages, one tap apart: sign up, the lineup, send pics to the TV. */

.guestnav {
  display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 20px; padding: 5px;
  background: color-mix(in srgb, var(--card) 75%, transparent); border: 1px solid var(--rule); border-radius: 999px;
  box-shadow: 0 10px 30px -18px var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.guestnav a {
  padding: .55em 1.05em .48em; border-radius: 999px; white-space: nowrap; text-decoration: none;
  font: var(--display-weight) .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
  -webkit-tap-highlight-color: transparent; transition: background .15s;
}
.guestnav a:hover { background: var(--rule-soft); }
.guestnav a[aria-current="page"] { color: #fff; background: var(--accent); box-shadow: 0 6px 18px -8px var(--glow); }
/* On the lineup display it only shows on phones; the TV across the room doesn't need it. */
.guestnav--phone { display: none; }
@media (max-width: 760px) {
  .guestnav--phone { display: flex; position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 50%; z-index: 40; margin: 0; transform: translateX(-50%); }
  body:has(.guestnav--phone) .stage { padding-top: calc(64px + env(safe-area-inset-top)); }
  .hide-phone { display: none !important; }
}

/* ------------------------------ reaction bar (react.js) ------------------------------ */

/* A little pad of twelve: two rows of six on a phone, one row where there's room. */
.reactbar {
  position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(6, 44px); justify-content: center; gap: 0 4px; max-width: calc(100% - 16px); padding: 6px 8px 4px;
  background: rgba(14, 15, 19, .88); border-radius: 22px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 30px -10px var(--glow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: reactbar-in .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.reactbar[hidden] { display: none; }
.reactbar__label { grid-column: 1 / -1; margin: 0 0 2px; text-align: center; font: 700 .6rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); white-space: nowrap; }
@media (min-width: 640px) { .reactbar { grid-template-columns: repeat(12, 44px); } }
.reactbar button {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: transparent;
  font-size: 1.55rem; line-height: 1; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .1s;
}
.reactbar button:active { transform: scale(1.35); }
.reactbar button.is-wobble { animation: react-wobble .4s ease; }
.reactfloat { position: fixed; z-index: 61; pointer-events: none; font-size: 1.8rem; transform: translate(-50%, 0); animation: react-float 1.1s ease-out forwards; }
body.has-reactbar { padding-bottom: 130px; }
@media (max-width: 340px) { .reactbar { grid-template-columns: repeat(6, 40px); gap: 0 2px; } .reactbar button { width: 40px; font-size: 1.4rem; } }
@keyframes reactbar-in { from { transform: translate(-50%, 140%); } }
@keyframes react-float { to { transform: translate(calc(-50% + var(--drift, 0px)), -140px) scale(1.5); opacity: 0; } }
@keyframes react-wobble { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
/* On the lineup display the bar is for phones only; the TV doesn't need buttons. */
@media (min-width: 761px) { body.lineup-page .reactbar { display: none; } }
@media (max-width: 760px) {
  /* The lineup page doesn't scroll, so make room inside it instead, and lift its buttons above the bar. */
  body.lineup-page.has-reactbar { padding-bottom: 0; }
  body.lineup-page.has-reactbar .stage { padding-bottom: 136px; }
  body.has-reactbar .chrome { bottom: 130px; }
}

/* ------------------------------ look picker (Clipboard, account page) ------------------------------ */

.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.look { position: relative; display: block; cursor: pointer; }
.look input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.look__card {
  display: grid; gap: 8px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--card);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.look input:hover + .look__card { transform: translateY(-2px); }
.look input:checked + .look__card { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.look input:focus-visible + .look__card { outline: 3px solid var(--focus); outline-offset: 2px; }
.look__swatch { position: relative; height: 64px; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.look__swatch i { display: grid; place-items: center; font: 800 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; font-style: normal; }
.look__swatch i::after { content: ""; position: absolute; width: 22px; height: 6px; border-radius: 3px; background: var(--sw-accent); bottom: 10px; }
.look__swatch i:first-child::after { left: 14px; }
.look__swatch i:last-child::after { right: 14px; box-shadow: 0 0 10px var(--sw-accent); }
.look__name { font: 700 .95rem/1.1 var(--body); color: var(--ink); }
.look__blurb { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); transition: transform .15s, box-shadow .15s; }
.swatch input:hover + span { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--sw), 0 6px 16px -4px var(--sw); }
.swatch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
