:root {
  --ink: #111319;
  --paper: #f6f0e6;
  --paper-2: #fffaf1;
  --muted: #72737a;
  --line: #272a33;
  --coral: #ff5c35;
  --coral-dark: #df3d1a;
  --lime: #d9ff55;
  --purple: #7c5cff;
  --green: #12b981;
  --shadow: 5px 5px 0 var(--ink);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  padding: 0 28px;
  margin: auto;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  transform: rotate(-3deg);
}

.header-note {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
}

#app { min-height: calc(100vh - 76px); }

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 62px 28px 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 13px 0 0 var(--lime);
  margin-right: 13px;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  max-width: 760px;
  margin: 22px 0 24px;
  font-size: clamp(58px, 8.5vw, 116px);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 950;
}

.hero h1 em {
  display: block;
  color: var(--coral);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.055em;
  transform: rotate(-1deg);
}

.hero-copy {
  max-width: 590px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: #44464e;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  font-size: 13px;
  font-weight: 800;
}

.feature-strip span::before { content: "✓"; color: var(--green); margin-right: 7px; }

.ticket {
  position: relative;
  padding: 28px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--coral);
  transform: rotate(1.1deg);
}

.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 44%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
}

.ticket::before { left: -14px; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.ticket::after { right: -14px; border-right-color: transparent; border-top-color: transparent; transform: rotate(45deg); }

.ticket h2 { font-size: 31px; letter-spacing: -.045em; margin-bottom: 8px; }
.ticket > p { color: var(--muted); margin-bottom: 24px; }

.form-stack { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

input, textarea, select {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  padding: 13px 14px;
  outline: none;
  transition: box-shadow .15s, transform .15s;
}

textarea { min-height: 90px; resize: vertical; }
input:focus, textarea:focus, select:focus { box-shadow: 3px 3px 0 var(--purple); transform: translate(-1px, -1px); }

.code-input { text-transform: uppercase; letter-spacing: .22em; font-weight: 900; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .12s;
  text-decoration: none;
}

.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--lime); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--coral); }
.btn-ghost { background: transparent; box-shadow: none; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-small { min-height: 36px; padding: 7px 11px; font-size: 12px; box-shadow: 2px 2px 0 var(--ink); }

.divider { display: flex; align-items: center; gap: 13px; margin: 22px 0; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px dashed #aaa49a; }

.auth-shell { max-width: 520px; margin: 45px auto 0; padding: 24px; }
.auth-shell .ticket { transform: none; }
.back-link { display: inline-block; margin-bottom: 18px; color: inherit; font-weight: 800; text-decoration: none; }

.dashboard {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px 60px;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.dash-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dash-title h1 { margin: 0; font-size: clamp(23px, 3vw, 37px); letter-spacing: -.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-title p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.code-chip {
  flex: none;
  border: 2px dashed var(--ink);
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--lime);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .16em;
  cursor: pointer;
}

.host-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .72fr); gap: 20px; align-items: start; }
.panel { background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 17px 20px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.panel-body { padding: 20px; }

.live-stage { min-height: 310px; display: grid; align-content: center; text-align: center; padding: clamp(28px, 6vw, 70px); background: var(--ink); color: #fff; position: relative; }
.live-stage::after { content: "?"; position: absolute; right: 22px; bottom: -33px; color: rgba(255,255,255,.06); font: 900 180px/1 Georgia, serif; }
.live-stage .kicker { color: var(--lime); justify-content: center; }
.live-stage h2 { font-size: clamp(29px, 4.7vw, 59px); line-height: 1.05; letter-spacing: -.055em; margin: 18px auto; max-width: 900px; }
.live-stage .answer-reveal { color: var(--lime); font: italic 28px/1.2 Georgia, serif; margin-top: 8px; }
.live-stage .explanation { max-width: 650px; margin: 13px auto 0; color: #bbbcc3; line-height: 1.55; }
.stage-empty h2 { margin-bottom: 8px; }
.stage-empty p { color: #acaeb6; }

.control-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; border-top: 2px solid var(--ink); }
.control-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.response-count { font-size: 13px; font-weight: 800; color: var(--muted); }

.answers { margin-top: 20px; }
.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.answer-card { padding: 13px; border: 2px solid var(--ink); border-radius: 11px; background: white; }
.answer-card-head { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.answer-team { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: 13px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.answer-card p { margin: 0; min-height: 38px; line-height: 1.35; }
.score-buttons { display: flex; gap: 5px; margin-top: 11px; }
.score-buttons button { border: 1px solid var(--ink); background: #fffdf4; color: var(--ink); min-width: 34px; border-radius: 6px; padding: 4px 8px; font-weight: 900; cursor: pointer; }
.score-buttons button.selected { background: var(--lime); }

.side-stack { display: grid; gap: 20px; }
.leaderboard { display: grid; gap: 9px; }
.leader-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border: 1.5px solid var(--ink); border-radius: 9px; background: #fff; }
.leader-row:first-child { background: var(--lime); box-shadow: 2px 2px 0 var(--ink); }
.rank { font: italic 18px Georgia, serif; }
.team-name { font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.points { font-weight: 950; }

.roadmap { display: grid; gap: 14px; }
.round-block h4 { margin: 0 0 8px; font-size: 13px; }
.question-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.q-dot { width: 27px; height: 27px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 7px; background: #fff; font-size: 11px; font-weight: 900; }
.q-dot.open, .q-dot.locked { background: var(--coral); color: white; }
.q-dot.revealed, .q-dot.closed { background: var(--lime); }

.team-shell { max-width: 820px; margin: 0 auto; padding: 20px 22px 70px; }
.team-score { min-width: 88px; text-align: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 12px; padding: 8px; box-shadow: 3px 3px 0 var(--ink); }
.team-score strong { display: block; font-size: 24px; line-height: 1; }
.team-score span { font-size: 10px; text-transform: uppercase; font-weight: 900; }

.play-card { border: 2px solid var(--ink); border-radius: 23px; background: var(--paper-2); overflow: hidden; box-shadow: 7px 7px 0 var(--ink); }
.play-progress { height: 9px; background: #ded8ce; }
.play-progress span { display: block; height: 100%; background: var(--coral); transition: width .4s; }
.play-content { padding: clamp(24px, 6vw, 48px); }
.play-content h2 { font-size: clamp(28px, 6vw, 49px); line-height: 1.08; letter-spacing: -.05em; margin: 15px 0 28px; }
.round-tag { display: inline-block; padding: 5px 9px; background: var(--purple); color: white; border: 1.5px solid var(--ink); border-radius: 7px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-1deg); }
.answer-form { display: grid; gap: 13px; }
.answer-form input { font-size: 19px; padding: 16px; }
.submitted { display: flex; gap: 12px; align-items: center; padding: 15px; border: 2px solid var(--green); border-radius: 11px; background: #e8fff7; }
.submitted strong { display: block; margin-bottom: 3px; }
.submitted p { margin: 0; color: #44524d; }
.submitted-icon { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green); color: white; font-weight: 950; }
.reveal-box { border: 2px solid var(--ink); border-radius: 14px; padding: 20px; background: var(--lime); }
.reveal-box small { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.reveal-box h3 { font: italic 30px Georgia, serif; margin: 8px 0; }
.reveal-box p { margin: 0; line-height: 1.5; }

.waiting { min-height: 380px; display: grid; place-content: center; text-align: center; padding: 42px; }
.waiting-mark { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 50%; border: 3px solid var(--ink); background: var(--lime); box-shadow: 5px 5px 0 var(--ink); font: 900 35px Georgia, serif; animation: float 2.5s ease-in-out infinite; }
.waiting h2 { font-size: 35px; letter-spacing: -.045em; margin-bottom: 10px; }
.waiting p { color: var(--muted); max-width: 420px; line-height: 1.55; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

.mini-board { margin-top: 24px; }
.team-roster-card { margin-top: 24px; }
.team-roster-card .panel-head > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.empty { color: var(--muted); text-align: center; padding: 24px; }
.status-pill { padding: 5px 9px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.status-pill.live { background: var(--coral); color: white; }
.status-pill.lobby { background: var(--lime); }

.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(17,19,25,.7); }
.modal { width: min(620px, 100%); max-height: 90vh; overflow: auto; padding: 25px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 8px 8px 0 var(--coral); }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-size: 27px; }
.icon-btn { border: 0; background: none; font-size: 25px; cursor: pointer; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; max-width: min(380px, calc(100vw - 40px)); padding: 13px 17px; border: 2px solid var(--ink); border-radius: 10px; background: var(--ink); color: white; box-shadow: 4px 4px 0 var(--coral); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--coral-dark); }
.muted { color: var(--muted); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 35px; }
  .hero h1 { max-width: 680px; }
  .ticket { transform: none; }
  .host-grid { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-header { height: 64px; padding: 0 18px; }
  .header-note { display: none; }
  #app { min-height: calc(100vh - 64px); }
  .hero { padding: 32px 18px 60px; gap: 45px; }
  .hero h1 { font-size: 57px; }
  .ticket { padding: 23px 20px; box-shadow: 6px 6px 0 var(--coral); }
  .form-row, .answer-grid, .side-stack { grid-template-columns: 1fr; }
  .dashboard { padding: 12px 15px 50px; }
  .dash-top { align-items: flex-start; }
  .dash-title { align-items: flex-start; }
  .dash-title p { display: none; }
  .code-chip { font-size: 12px; }
  .live-stage { min-height: 270px; }
  .control-bar { align-items: stretch; }
  .control-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .team-shell { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ── Night-at-the-pub theme: high-energy, projector-friendly, still accessible ── */
:root {
  --ink: #11122b;
  --paper: #12132f;
  --paper-2: #fffdf4;
  --muted: #68697b;
  --line: #11122b;
  --coral: #ff3d81;
  --coral-dark: #d91f64;
  --lime: #eaff5b;
  --purple: #7047eb;
  --green: #00c98d;
  --cyan: #56e5ff;
  --orange: #ff8a34;
}

body {
  color: #f8f7ff;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(112,71,235,.32), transparent 27%),
    radial-gradient(circle at 88% 12%, rgba(255,61,129,.24), transparent 25%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
}

.site-header { max-width: 1380px; }
.brand { color: #fff; font-size: 22px; }
.brand-mark { background: transparent; box-shadow: none; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.live-spark { display: inline-flex; align-items: center; gap: 7px; color: #cfcee0; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.live-spark i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,61,129,.15); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,61,129,0); } }
.language-picker { display: flex; grid-template: none; flex-direction: row; align-items: center; gap: 7px; text-transform: none; }
.language-picker select { width: auto; min-width: 112px; padding: 7px 28px 7px 9px; border: 1px solid rgba(255,255,255,.25); color: #fff; background: #202143; box-shadow: none; }
.language-picker select option { background: #202143; }
.venue-nav { display: flex; align-items: center; gap: 6px; }
.venue-nav a { padding: 8px 10px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; }
.venue-nav a:first-child { color: var(--ink); background: var(--lime); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--coral); }
.venue-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero { max-width: 1380px; padding-top: 78px; }
.hero::before { content: "QUIZ NIGHT"; position: fixed; left: -60px; top: 45%; transform: rotate(-90deg); color: rgba(255,255,255,.04); font-weight: 950; font-size: 52px; letter-spacing: .12em; pointer-events: none; }
.eyebrow { color: var(--cyan); }
.eyebrow::before { background: var(--coral); box-shadow: 13px 0 0 var(--lime), 26px 0 0 var(--cyan); margin-right: 26px; }
.hero h1 { color: #fff; text-shadow: 0 7px 0 rgba(0,0,0,.18); }
.hero h1 em { color: var(--lime); text-shadow: 4px 4px 0 var(--coral); }
.hero-copy { color: #c8c7dc; }
.feature-strip { color: #fff; }
.feature-strip span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.06); }
.feature-strip span::before { color: var(--lime); }
.venue-hero-link { width: fit-content; display: grid; gap: 3px; margin-top: 24px; padding: 13px 17px; color: var(--ink); background: var(--cyan); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--coral); text-decoration: none; transform: rotate(-.4deg); }
.venue-hero-link strong { font-size: 15px; }
.venue-hero-link span { font-size: 12px; font-weight: 750; }
.venue-hero-link:hover { transform: translate(-2px,-2px) rotate(-.4deg); box-shadow: 6px 6px 0 var(--coral); }
.ticket { color: var(--ink); background: linear-gradient(145deg, #fffbdc, #fff 65%); box-shadow: 11px 11px 0 var(--cyan); transform: rotate(1deg); }
.ticket::before, .ticket::after { background: var(--paper); }
.ticket .kicker { color: var(--purple); }
.auth-shell .back-link { color: #fff; }
.auth-shell .ticket { box-shadow: 9px 9px 0 var(--coral); }

.dashboard, .team-shell { color: #fff; }
.dash-title p { color: #b5b4ca; }
.code-chip { color: var(--ink); background: var(--lime); box-shadow: 4px 4px 0 var(--coral); }
.panel { color: var(--ink); background: #fffdf6; box-shadow: 6px 6px 0 var(--cyan); }
.panel-head { background: #fff; }
.live-stage { background: radial-gradient(circle at 20% 0%, #835cff, transparent 45%), linear-gradient(135deg, #2a195e, #101126 70%); }
.live-stage::before { content: "LIVE"; position: absolute; left: 18px; top: 17px; padding: 5px 8px; border-radius: 6px; color: var(--ink); background: var(--coral); font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.live-stage .kicker { color: var(--cyan); }
.live-stage .answer-reveal { color: var(--lime); text-shadow: 2px 2px 0 var(--coral); }
.control-bar { background: #fff; }
.side-stack .panel:first-child { box-shadow: 6px 6px 0 var(--lime); }
.leader-row:first-child { background: linear-gradient(90deg, var(--lime), #fff6a4); }
.status-pill.live { background: var(--coral); }
.status-pill.finished { background: var(--cyan); }

.play-card { color: var(--ink); background: #fff; box-shadow: 9px 9px 0 var(--coral); }
.play-progress { height: 12px; background: #dfdef0; }
.play-progress span { background: linear-gradient(90deg, var(--coral), var(--orange), var(--lime)); }
.round-tag { background: var(--purple); box-shadow: 2px 2px 0 var(--ink); }
.team-score { color: var(--ink); box-shadow: 4px 4px 0 var(--coral); }
.waiting-mark { color: var(--ink); background: var(--cyan); box-shadow: 5px 5px 0 var(--coral); }
.waiting p { color: #66677b; }

.answer-zone { position: relative; margin-top: 8px; padding: 22px; border: 3px solid var(--ink); border-radius: 16px; background: linear-gradient(135deg, #f1efff, #fff); box-shadow: 6px 6px 0 var(--lime); }
.answer-zone::before { content: "1"; position: absolute; left: -14px; top: -14px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); color: #fff; font-weight: 950; }
.answer-zone h3 { margin: 0 0 5px; font-size: 19px; }
.answer-zone > p { color: var(--muted); margin-bottom: 15px; }
.answer-form label { font-size: 14px; }
.answer-form input { min-height: 62px; border-width: 3px; background: #fff; font-size: 21px; }
.answer-form .btn { min-height: 57px; font-size: 16px; }
.answer-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #62637a; font-size: 12px; font-weight: 700; }
.answer-hint::before { content: "↳"; color: var(--purple); font-size: 18px; }

.workshop-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; background: #191a38; }
.workshop-actions .btn { color: #fff; background: #2a2b52; border-color: #fff; box-shadow: 2px 2px 0 var(--coral); }
.workshop-actions .btn:first-child { color: var(--ink); background: var(--cyan); }
.workshop-actions .btn:last-child { color: var(--ink); background: var(--lime); }
.source-credit { display: inline-flex; margin-top: 14px; color: var(--cyan); font-size: 11px; font-weight: 800; text-decoration: none; }
.source-credit:hover { text-decoration: underline; }

.discovery-intro { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 18px; }
.discovery-results { display: grid; gap: 13px; max-height: 52vh; overflow: auto; padding: 3px 7px 8px 3px; }
.source-section-title { position: sticky; top: 0; z-index: 2; margin: 5px 0 0; padding: 8px 0; background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.source-card { padding: 15px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: 3px 3px 0 var(--purple); }
.source-card.news { box-shadow: 3px 3px 0 var(--coral); }
.source-card h3 { margin-bottom: 7px; font-size: 16px; line-height: 1.3; }
.source-card p { margin-bottom: 11px; color: #5e5f70; font-size: 13px; line-height: 1.45; }
.source-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 800; }
.source-meta a { color: var(--purple); }
.warning-box { padding: 10px 12px; border: 1px solid #d49a00; background: #fff4c4; border-radius: 8px; font-size: 12px; }
.bank-toolbar { display: grid; grid-template-columns: 1fr 180px; gap: 10px; margin-bottom: 16px; }
.bank-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.bank-card .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { padding: 3px 6px; border-radius: 5px; background: #eeecff; color: #4b35a8; font-size: 10px; font-weight: 800; }
.modal { color: var(--ink); background: #f7f5ff; box-shadow: 9px 9px 0 var(--cyan); }
.translation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.translation-grid label { font-size: 10px; }
.translation-grid textarea { min-height: 66px; }

.venue-landing { max-width: 1180px; margin: 0 auto; padding: 42px 28px 90px; }
.venue-landing > .back-link { color: #d8d7e8; }
.venue-intro { max-width: 850px; margin: 42px auto 48px; text-align: center; }
.venue-intro .eyebrow { color: var(--cyan); }
.venue-intro h1 { margin: 18px 0; color: #fff; font-size: clamp(47px, 7vw, 82px); line-height: .96; letter-spacing: -.065em; }
.venue-intro h1 em { display: inline; color: var(--lime); font-family: Georgia, serif; font-weight: 400; text-shadow: 3px 3px 0 var(--coral); }
.venue-intro > p { max-width: 660px; margin: 0 auto; color: #c8c7dc; font-size: 19px; line-height: 1.55; }
.venue-intro .feature-strip { justify-content: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 880px; margin: 0 auto; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 30px; color: var(--ink); background: #fffdf4; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 7px 7px 0 var(--cyan); }
.price-card.featured { transform: translateY(-10px) rotate(.5deg); box-shadow: 9px 9px 0 var(--coral); }
.price-card h2 { margin: 14px 0 5px; font-size: 48px; letter-spacing: -.06em; }
.price-card h2 small { margin-left: 5px; color: var(--muted); font-size: 14px; letter-spacing: 0; }
.price-card > p { color: var(--muted); }
.price-card ul { display: grid; gap: 13px; margin: 14px 0 30px; padding: 0; list-style: none; }
.price-card li { padding-left: 25px; line-height: 1.4; }
.price-card li::before { content: "✓"; float: left; margin-left: -25px; color: var(--green); font-weight: 950; }
.price-card .btn { margin-top: auto; }
.plan-flag { position: absolute; right: 20px; top: -13px; padding: 6px 10px; color: #fff; background: var(--purple); border: 2px solid var(--ink); border-radius: 7px; font-size: 10px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.pricing-note { max-width: 760px; margin: 40px auto 0; color: #bfbdd3; text-align: center; line-height: 1.5; }
.pricing-note a { color: var(--lime); font-weight: 850; }
.venue-auth { max-width: 590px; }
.venue-auth .terms-check { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; text-transform: none; line-height: 1.45; letter-spacing: 0; }
.venue-auth .terms-check input { width: 18px; margin-top: 1px; accent-color: var(--purple); }
.venue-auth label small { color: var(--muted); font-size: 10px; text-transform: none; }
.venue-dashboard { max-width: 1250px; margin: 0 auto; padding: 38px 28px 80px; color: #fff; }
.venue-dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.venue-dashboard-head .kicker { color: var(--cyan); }
.venue-dashboard-head h1 { margin: 7px 0 3px; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.06em; }
.venue-dashboard-head p { color: #bbb9ce; }
.venue-logout { color: #fff; }
.venue-head-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.venue-action-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 26px; }
.venue-action-card, .venue-role-note { display: grid; gap: 4px; min-height: 82px; padding: 15px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--cyan); text-align: left; text-decoration: none; }
button.venue-action-card { width: 100%; font: inherit; cursor: pointer; }
.venue-action-card.users { background: var(--lime); box-shadow: 4px 4px 0 var(--coral); }
.venue-action-card.qr { background: var(--cyan); box-shadow: 4px 4px 0 var(--purple); }
.venue-action-card strong, .venue-role-note strong { font-size: 16px; }
.venue-action-card span, .venue-role-note span { color: #55576b; font-size: 11px; line-height: 1.4; }
.venue-role-note { border-style: dashed; background: #eeeafc; box-shadow: none; text-transform: capitalize; }
.subscription-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding: 18px 20px; color: var(--ink); background: linear-gradient(100deg, var(--lime), #fff9ba); border: 2px solid var(--ink); border-radius: 15px; box-shadow: 5px 5px 0 var(--coral); }
.subscription-banner > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
.subscription-banner strong { text-transform: capitalize; }
.subscription-banner p { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.venue-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: 24px; align-items: start; }
.venue-create-panel { box-shadow: 6px 6px 0 var(--lime); }
.venue-list-panel { box-shadow: 6px 6px 0 var(--cyan); }
.venue-quiz-list { display: grid; gap: 11px; }
.venue-quiz-list article { padding: 13px; border: 2px solid var(--ink); border-radius: 11px; background: #fff; }
.venue-quiz-list article p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.venue-quiz-list .code-chip { color: var(--ink); font-size: 11px; text-decoration: none; }
.venue-quiz-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.quiz-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.venue-team-tools { display: grid; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed #b7b2a9; }
.venue-team-tools > div { display: grid; grid-template-columns: minmax(0,1fr) repeat(3, auto); align-items: center; gap: 6px; }
.venue-team-tools > div > span { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; font-weight: 800; }
.no-teams-yet { padding-top: 8px; border-top: 1px dashed #ccc; }

.roster-list { display: grid; gap: 12px; }
.roster-team { padding-bottom: 12px; border-bottom: 1px dashed #bcb7ad; }
.roster-team:last-child { padding-bottom: 0; border-bottom: 0; }
.roster-team-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.roster-team-head strong { display: flex; align-items: center; gap: 7px; }
.roster-team-head > span { color: var(--muted); }
.member-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.member-chips > span { padding: 5px 8px; border: 1px solid #c9c4b9; border-radius: 999px; background: #f3f0ff; font-size: 11px; font-weight: 750; }
.roster-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.roster-actions .btn { min-height: 31px; padding: 5px 8px; }
.share-modal { text-align: center; }
.share-modal .modal-head, .share-modal label { text-align: left; }
.invite-qr { display: block; width: min(300px, 82vw); height: auto; margin: 12px auto 22px; border: 3px solid var(--ink); border-radius: 16px; background: #fffdf4; box-shadow: 6px 6px 0 var(--lime); }
.copy-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.copy-field input { min-width: 0; font-size: 12px; text-transform: none; }
.share-modal > .btn { width: 100%; margin-top: 14px; }

.user-admin-shell { max-width: 1250px; margin: 0 auto; padding: 38px 28px 80px; color: #fff; }
.user-admin-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.user-admin-head .back-link { display: block; color: #d6d4e7; }
.user-admin-head .kicker { color: var(--cyan); }
.user-admin-head h1 { margin: 7px 0 6px; font-size: clamp(46px, 7vw, 76px); letter-spacing: -.065em; }
.user-admin-head p { max-width: 630px; margin: 0; color: #bdbbd0; }
.admin-summary { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; }
.admin-summary span { min-width: 92px; padding: 11px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 11px; text-align: center; box-shadow: 3px 3px 0 var(--coral); font-size: 11px; font-weight: 850; }
.admin-summary strong { display: block; font-size: 25px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 22px; align-items: start; }
.admin-list { display: grid; gap: 8px; }
.admin-user-row { display: grid; grid-template-columns: 38px minmax(120px,1fr) 115px auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #d4cfc5; border-radius: 11px; background: #fff; }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 10px; background: var(--cyan); font-weight: 950; }
.user-details { display: grid; min-width: 0; }
.user-details span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-row select { padding: 8px; }
.invite-staff-panel { box-shadow: 6px 6px 0 var(--lime); }
.player-admin-panel { margin-top: 24px; box-shadow: 6px 6px 0 var(--coral); }
.player-admin-panel .panel-head > div { min-width: 220px; }
.admin-search { max-width: 330px; padding: 9px 11px; }
.admin-player-list { display: grid; gap: 8px; }
.admin-player-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 14px; border: 1px solid #d4cfc5; border-radius: 10px; background: #fff; }
.admin-player-row > div:first-child { display: grid; min-width: 0; }
.admin-player-row > div:first-child span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-player-row > div:last-child { display: flex; gap: 7px; }
.danger-button { color: #991b1b; background: #fff1f1; border-color: #991b1b; }
.account-state { padding: 2px 5px; border-radius: 5px; color: #6c6878; background: #eeeaf1; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.account-state.saved { color: #075c48; background: #d8fff3; }
.dash-top-actions { display: flex; align-items: center; gap: 10px; }
.btn-player { color: var(--ink); background: var(--cyan); }
.player-account-help { margin-top: 20px; padding: 13px; border: 1px dashed #8d879f; border-radius: 10px; background: #f0edff; }
.player-account-help p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-entry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.player-save-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 15px 17px; color: var(--ink); background: linear-gradient(100deg, var(--cyan), #f0fbff); border: 2px solid var(--ink); border-radius: 13px; box-shadow: 4px 4px 0 var(--purple); }
.player-save-card p { margin: 4px 0 0; color: #515468; font-size: 12px; line-height: 1.4; }
.player-dashboard { max-width: 980px; margin: 0 auto; padding: 38px 28px 80px; color: #fff; }
.player-dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.player-dashboard-head .back-link { display: block; color: #d6d4e7; }
.player-dashboard-head .kicker { color: var(--cyan); }
.player-dashboard-head h1 { margin: 7px 0 4px; font-size: clamp(38px, 6vw, 64px); letter-spacing: -.06em; }
.player-dashboard-head p { margin: 0; color: #bdbbd0; }
.player-logout { color: #fff; }
.player-quiz-list { display: grid; gap: 10px; }
.player-quiz-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border: 1px solid #d4cfc5; border-radius: 11px; background: #fff; }
.player-quiz-card h3 { margin: 8px 0 4px; }
.player-quiz-card p { margin: 0; color: var(--muted); font-size: 12px; }
.live-player-question { display: grid; gap: 3px; margin-top: 12px; padding: 10px 12px; color: var(--ink); background: #fff9ba; border: 1px solid var(--ink); border-radius: 9px; }
.live-player-question small, .live-player-question span { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.live-player-question strong { font-size: 14px; line-height: 1.35; }
.live-player-question span { color: #746b4c; }
.player-result { display: grid; justify-items: end; gap: 4px; min-width: 125px; }
.player-result > strong { font-size: 25px; }
.player-result > span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.player-history { margin-top: 22px; box-shadow: 6px 6px 0 var(--coral); }
.invite-hub-shell { max-width: 1100px; margin: 0 auto; padding: 38px 28px 80px; color: #fff; }
.invite-hub-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.55fr); align-items: end; gap: 30px; margin-bottom: 28px; }
.invite-hub-head .back-link { color: #d6d4e7; }
.invite-hub-head .kicker { color: var(--cyan); }
.invite-hub-head h1 { margin: 7px 0 5px; font-size: clamp(44px,7vw,72px); letter-spacing: -.065em; }
.invite-hub-head p { margin: 0; color: #c5c3d6; }
.qr-key { display: grid; gap: 8px; padding: 15px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 13px; box-shadow: 5px 5px 0 var(--lime); font-size: 12px; font-weight: 750; }
.qr-key span { display: flex; align-items: center; gap: 8px; }
.qr-key b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); }
.invite-hub-list { display: grid; gap: 22px; }
.invite-quiz-panel .panel-head h2 { margin: 7px 0 3px; }
.invite-team-list { display: grid; gap: 12px; }
.invite-team-card { padding: 13px; border: 1px solid #d1ccc2; border-radius: 11px; background: #fff; }
.invite-team-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.invite-team-head > div { display: grid; gap: 4px; }
.invite-team-head strong { display: flex; align-items: center; gap: 7px; }
.invite-team-head span { color: var(--muted); font-size: 11px; }
.invite-player-list { display: grid; gap: 5px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #ccc5bb; }
.invite-player-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px; font-size: 12px; }
.host-empty-invite { margin-top: 16px; }
.empty-roster-invite { display: grid; justify-items: center; gap: 10px; }
.empty-roster-invite p { margin: 0; }
.invite-players-modal { width: min(760px, 100%); }
.invite-choice { padding: 16px; border: 1px solid #cdc7bc; border-radius: 13px; background: #fff; }
.invite-choice > div:first-child { position: relative; padding-left: 38px; }
.invite-choice h3 { margin: 0 0 5px; }
.invite-choice p { margin: 0 0 13px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.choice-number { position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--cyan); font-weight: 950; }
.compact-qr { width: min(230px, 70vw); margin-block: 8px 16px; }
.invite-choice > .btn { width: 100%; margin-top: 10px; }
.staff-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.workshop-actions { grid-template-columns: repeat(2, 1fr); }
.workshop-list { display: grid; gap: 12px; }
.round-block { padding: 11px; border: 1px solid #d5d0c6; border-radius: 10px; background: #fff; }
.round-block h4 { margin: 0; }
.round-block > p { margin: 5px 0 9px; color: var(--muted); font-size: 11px; }
.round-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.round-title-row > div, .question-actions { display: flex; gap: 7px; }
.text-button { padding: 2px; border: 0; color: var(--purple); background: transparent; font: inherit; font-size: 11px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.danger-text { color: #991b1b; }
.workshop-questions { display: grid; gap: 6px; margin-top: 9px; }
.workshop-questions article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; padding-top: 7px; border-top: 1px dashed #d3cec4; }
.workshop-questions article > div:nth-child(2) { display: grid; min-width: 0; }
.workshop-questions strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.workshop-questions small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.roster-team-name { margin-bottom: 18px; }
.inline-save, .member-name-edit { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.roster-manager-list { display: grid; gap: 9px; }
.roster-manager-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #d4cfc5; border-radius: 10px; background: #fff; }
.roster-manager-list input { min-width: 0; padding: 8px; }
.member-admin-actions, .roster-modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.roster-modal-footer { justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed #bbb5aa; }
.captain-protection { max-width: 120px; color: var(--muted); font-size: 10px; line-height: 1.25; text-align: right; }
.journey-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.journey-actions.centered { justify-content: center; }
.recovery-note { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px dashed #aaa3b6; font-size: 12px; line-height: 1.5; }
.journey-empty { display: grid; justify-items: center; gap: 10px; }
.journey-empty p { margin: 0; }
.workshop-closed { grid-column: 1 / -1; padding: 9px 11px; color: var(--muted); background: #eeeaf4; border: 1px dashed #aaa3b6; border-radius: 8px; font-size: 11px; font-weight: 850; text-align: center; }

/* Public, answer-safe audience screen. */
.display-mode .site-header { display: none; }
.display-mode #app { min-height: 100vh; }
.display-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, .65fr); grid-template-rows: auto 1fr auto; color: #fff; background: radial-gradient(circle at 18% 20%, rgba(112,71,235,.45), transparent 30%), #11122b; }
.display-shell > header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 32px; border-bottom: 1px solid rgba(255,255,255,.16); }
.display-shell > header > div:first-child { display: grid; gap: 3px; }
.display-shell > header span, .display-kicker { color: var(--cyan); font-size: 12px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.display-room-code { padding: 9px 13px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--coral); font-weight: 950; letter-spacing: .08em; }
.display-shell > main { min-height: 0; display: grid; place-content: center; padding: clamp(32px, 6vw, 90px); text-align: center; }
.display-shell > main h1 { max-width: 1000px; margin: 22px auto; font-size: clamp(44px, 6.5vw, 98px); line-height: .98; letter-spacing: -.06em; }
.display-shell > main > p { max-width: 780px; margin-inline: auto; color: #cac9db; font-size: clamp(18px, 2vw, 28px); line-height: 1.45; }
.display-code { margin-top: 24px; color: var(--lime); font-size: clamp(70px, 12vw, 170px); font-weight: 950; letter-spacing: .15em; line-height: .9; text-shadow: 6px 6px 0 var(--coral); }
.display-answer { max-width: 850px; margin: 26px auto 0; padding: 23px 30px; color: var(--ink); background: var(--lime); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--coral); }
.display-answer small { display: block; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.display-answer strong { display: block; margin: 8px 0; font: italic clamp(32px, 5vw, 68px)/1.05 Georgia, serif; }
.display-answer p { margin: 0; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.45; }
.display-status { display: inline-block; padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px !important; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.display-shell > aside { min-width: 0; padding: 28px; color: var(--ink); background: #fffdf4; border-left: 3px solid var(--ink); }
.display-board-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.display-board-title h2 { margin: 0; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.05em; }
.display-board-title span { color: var(--muted); font-size: 12px; font-weight: 850; }
.display-shell > footer { grid-column: 1 / -1; padding: 11px 28px; color: #a9a8bd; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; text-align: center; }
.display-shell > footer a { color: var(--lime); font-weight: 850; }

@media (max-width: 700px) {
  .live-spark { display: none; }
  .venue-nav a { padding: 6px 8px; }
  .language-picker select { min-width: 92px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .workshop-actions { grid-template-columns: 1fr; }
  .discovery-intro, .bank-toolbar, .translation-grid { grid-template-columns: 1fr; }
  .answer-zone { padding: 19px 15px; }
  .pricing-grid, .venue-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .venue-dashboard-head, .subscription-banner { align-items: stretch; flex-direction: column; }
  .venue-action-strip { grid-template-columns: 1fr; }
  .venue-head-actions { justify-content: stretch; }
  .venue-head-actions .btn { flex: 1; }
  .subscription-banner > .btn { width: 100%; }
  .team-roster-card .panel-head { align-items: flex-start; flex-direction: column; }
  .venue-team-tools > div { grid-template-columns: 1fr 1fr; }
  .venue-team-tools > div > span { grid-column: 1 / -1; }
  .user-admin-head { align-items: stretch; flex-direction: column; }
  .admin-summary { grid-template-columns: repeat(3, 1fr); }
  .admin-summary span { min-width: 0; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-user-row { grid-template-columns: 38px minmax(0,1fr); }
  .admin-user-row > select, .admin-user-row > button, .admin-user-row > .status-pill, .admin-user-row > .staff-actions { grid-column: auto; }
  .player-admin-panel .panel-head { align-items: stretch; flex-direction: column; }
  .admin-search { max-width: none; }
  .admin-player-row { align-items: stretch; flex-direction: column; }
  .admin-player-row > div:last-child .btn { flex: 1; }
  .roster-manager-list article { grid-template-columns: 1fr; }
  .member-admin-actions { justify-content: flex-start; }
  .player-dashboard-head, .player-save-card { align-items: stretch; flex-direction: column; }
  .account-entry-actions { grid-template-columns: 1fr; }
  .player-quiz-card { align-items: stretch; flex-direction: column; }
  .player-result { justify-items: start; }
  .invite-hub-head { grid-template-columns: 1fr; }
  .invite-team-head, .invite-player-list > div { align-items: stretch; flex-direction: column; }
  .quiz-card-actions { align-items: stretch; flex-direction: column-reverse; }
  .display-shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(55vh, auto) auto auto; }
  .display-shell > aside { border-left: 0; border-top: 3px solid var(--ink); }
  .display-shell > footer { grid-column: 1; }
}

@media (max-width: 480px) {
  .venue-nav { display: none; }
  .venue-landing, .venue-dashboard, .player-dashboard, .invite-hub-shell { padding-inline: 17px; }
}

/* Seller identity + shared legal pages (2026-11-04). Small and unobtrusive; hidden on the pub-TV audience display. */
.legal-footer { position: relative; z-index: 1; max-width: 1380px; margin: 0 auto; padding: 18px 24px 22px; color: rgba(248,247,255,.58); font-size: 11px; line-height: 1.5; text-align: center; }
.legal-footer p { margin: 0; }
.legal-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal-footer a:hover, .legal-footer a:focus-visible { color: #f8f7ff; }
.legal-notice { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.legal-notice a, .terms-check a, .price-card li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.price-card li a { overflow-wrap: anywhere; }
.display-mode .legal-footer { display: none; }
@media (max-width: 480px) { .legal-footer { padding-inline: 16px; font-size: 10px; } .legal-footer a { overflow-wrap: anywhere; } }

/* Billing (Mollie, EUR) */
[hidden] { display: none !important; }
.price-card .price-vat { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.subscription-banner.blocked { background: linear-gradient(100deg, #ffd9cf, #fff4e8); }
.subscription-banner strong { text-transform: none; }
.billing-block { margin: 0 0 18px; padding: 14px 16px; color: var(--ink); background: #fff4e8; border: 2px solid var(--ink); border-radius: 12px; }
.billing-block p { margin: 6px 0 10px; line-height: 1.45; }
.billing-shell, .receipt-shell { max-width: 980px; margin: 0 auto; }
.billing-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 18px 0; }
.billing-plan { display: flex; flex-direction: column; gap: 8px; padding: 20px; color: var(--ink); background: #fffdf4; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--cyan); }
.billing-plan.current { box-shadow: 5px 5px 0 var(--coral); }
.billing-plan h3 { margin: 4px 0; font-size: 34px; letter-spacing: -.04em; }
.billing-plan h3 small { margin-left: 4px; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.billing-plan p { margin: 0; line-height: 1.4; }
.billing-plan .btn, .billing-plan .plan-current { margin-top: auto; }
.plan-current { font-weight: 900; }
.billing-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.billing-table th, .billing-table td { padding: 9px 8px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.12); vertical-align: middle; }
.billing-table td:nth-child(n+2):not(:last-child) { white-space: nowrap; }
.panel-body:has(.billing-table) { overflow-x: auto; }
.host-needs-venue p { margin: 0; line-height: 1.5; }
.receipt-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.receipt { padding: 28px; color: #111; background: #fff; border: 2px solid var(--ink); border-radius: 14px; }
.receipt header { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.receipt h1 { margin: 4px 0 0; }
.receipt-seller { display: grid; gap: 2px; font-size: 13px; text-align: right; }
.receipt-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 18px; }
.receipt-meta dt { color: #555; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.receipt-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.receipt-total td { font-weight: 900; border-bottom: 0; }
.receipt-note { margin-top: 16px; color: #555; font-size: 12px; }
@media (max-width: 600px) { .receipt { padding: 18px; } .receipt-seller { text-align: left; } }
@media print { body * { visibility: hidden; } .receipt, .receipt * { visibility: visible; } .receipt { position: absolute; inset: 0; border: 0; } }

/* Multiple-choice answers and personal "little known facts" rounds */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 14px; }
.option-choice { justify-content: center; white-space: normal; text-align: center; min-height: 48px; }
.personal-skip .waiting-mark { background: var(--lime, #d7ff3c); }
.facts-card { margin-top: 20px; }
.facts-card .panel-body > p.muted { margin: 0 0 12px; font-size: 13px; line-height: 1.45; }
.fact-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.fact-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 11px; background: #fffdf4; overflow-wrap: anywhere; }
.fact-form textarea { min-height: 60px; }

/* Countdown timers (team phones, host screens, TV) */
.countdown { display: grid; gap: 6px; justify-items: center; margin: 10px auto 14px; width: min(100%, 360px); }
.countdown-value { font: 950 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: inherit; }
.countdown-bar { width: 100%; height: 8px; border-radius: 99px; background: rgba(127,127,127,.25); overflow: hidden; }
.countdown-bar i { display: block; height: 100%; width: 100%; background: var(--lime); border-radius: inherit; transition: width .25s linear; }
.countdown.urgent .countdown-value { color: var(--coral); animation: tick-pulse 1s ease-in-out infinite; }
.countdown.urgent .countdown-bar i { background: var(--coral); }
.countdown.expired .countdown-value { color: var(--coral); }
.countdown-play { padding: 12px 16px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--purple); width: 100%; max-width: none; }
.countdown-host .countdown-value { font-size: 44px; color: #fff; }
.countdown-host.urgent .countdown-value, .countdown-host.expired .countdown-value { color: var(--coral); }
.countdown-tv { width: min(100%, 620px); margin: 18px auto 0; }
.countdown-tv .countdown-value { font-size: clamp(64px, 9vw, 150px); color: var(--lime); text-shadow: 5px 5px 0 var(--coral); }
.countdown-tv .countdown-bar { height: 14px; background: rgba(255,255,255,.15); }
@keyframes tick-pulse { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .countdown.urgent .countdown-value { animation: none; } .countdown-bar i { transition: none; } }

/* Team answers: everyone answers, the team picks one */
.team-answers { margin-top: 18px; padding: 16px; border: 2px solid var(--ink); border-radius: 14px; background: #fffdf4; color: var(--ink); }
.team-answers-head h3 { margin: 0 0 4px; font-size: 17px; }
.team-answers-head p { margin: 0 0 12px; color: #515468; font-size: 13px; line-height: 1.4; }
.team-answers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.team-answers li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #c9c4b9; border-radius: 10px; background: #fff; }
.team-answers li.is-team-answer { border: 2px solid var(--ink); background: #f3ffd0; box-shadow: 3px 3px 0 var(--lime); }
.team-answers li > div:first-child { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.team-answers li strong { font-size: 12px; }
.team-answers li small { color: #515468; font-weight: 800; }
.team-answer-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.team-answer-tags .tag { padding: 3px 8px; border-radius: 99px; background: #eceaf6; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.team-answer-tags .tag.team { background: var(--lime); border: 1px solid var(--ink); }
.answer-card.provisional { border-style: dashed; }

/* Venue live progress */
.live-progress { max-width: 1440px; margin: 0 auto; padding: 22px clamp(14px, 3vw, 34px) 60px; }
.live-progress-bar { position: relative; height: 26px; margin: 6px 0 18px; border: 2px solid var(--ink); border-radius: 99px; background: #fffdf6; overflow: hidden; }
.live-progress-bar span { position: absolute; inset: 0 auto 0 0; background: var(--lime); }
.live-progress-bar small { position: relative; display: block; text-align: center; line-height: 22px; color: var(--ink); font-weight: 900; font-size: 12px; }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 20px; align-items: start; }
.live-grid > div > .panel + .panel { margin-top: 20px; }
.live-answer-key { color: #cac9db; }
.live-answer-key strong { color: var(--lime); }
.live-team-list { display: grid; gap: 8px; }
.live-team-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto minmax(140px, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #c9c4b9; border-radius: 10px; background: #fff; }
.live-team-row.answered { border: 2px solid var(--ink); }
.live-team-row .team-name { display: flex; gap: 8px; align-items: center; font-weight: 900; }
.live-count { font-size: 12px; font-weight: 800; color: #515468; white-space: nowrap; }
.live-answer { display: grid; min-width: 0; overflow-wrap: anywhere; }
.live-answer small { color: #515468; }
.live-team-row .score-buttons { margin: 0; }
.inline-select { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 800; }
.inline-select select { width: auto; padding: 6px 8px; }
.live-timeline { display: grid; gap: 14px; max-height: 520px; overflow: auto; }
.timeline-round h4 { margin: 0 0 6px; }
.timeline-round ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.timeline-round li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; font-size: 13px; }
.timeline-round li.current { background: #f3ffd0; outline: 2px solid var(--ink); }
.timeline-prompt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-round small { color: #515468; white-space: nowrap; }
@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-team-row { grid-template-columns: 1fr auto; }
  .live-team-row .live-answer, .live-team-row .score-buttons { grid-column: 1 / -1; }
  .timeline-round li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .timeline-round li .status-pill { display: none; }
}

/* TV display additions */
.display-head-actions { display: flex; align-items: center; gap: 12px; }
.display-fullscreen { padding: 8px 12px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; font-weight: 800; cursor: pointer; }
:fullscreen .display-fullscreen { opacity: .25; }
.display-lobby { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 60px); }
.display-qr { width: clamp(180px, 20vw, 300px); border: 6px solid #fffdf4; border-radius: 16px; box-shadow: 8px 8px 0 var(--coral); }
.display-options { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto 10px; padding: 0; }
.display-options li { padding: 16px 20px; color: var(--ink); background: #fffdf4; border: 3px solid var(--ink); border-radius: 14px; font-size: clamp(20px, 2.2vw, 32px); font-weight: 900; box-shadow: 5px 5px 0 var(--cyan); }
.display-board-title.players { margin-top: 26px; }
.player-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.player-board li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; color: var(--ink); background: #fffdf4; border: 2px solid var(--ink); border-radius: 10px; }
.player-board li:first-child { background: var(--lime); }
.player-board .rank { font: italic 900 18px Georgia, serif; }
.player-name { display: grid; min-width: 0; }
.player-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-name small { display: flex; gap: 6px; align-items: center; font-size: 11px; color: #515468; }
.player-board .points { font-weight: 950; }
@media (max-width: 900px) { .display-shell { grid-template-columns: 1fr; } }

/* The decorative "?" hangs below the stage; it must never block the controls. */
.live-stage::before, .live-stage::after { pointer-events: none; }
.control-bar { position: relative; z-index: 1; }
/* Plain header buttons sit on light chips; keep their text dark. */
.dash-top-actions button.btn:not(.btn-player):not(.btn-primary):not(.btn-coral):not(.btn-ghost) { color: var(--ink); background: #fffdf6; }

/* Question library */
.library-shell { max-width: 1440px; margin: 0 auto; padding: 22px clamp(14px, 3vw, 34px) 60px; }
.library-grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.7fr); gap: 20px; align-items: start; margin-top: 18px; }
.library-generator-status { display: grid; gap: 4px; max-width: 320px; padding: 12px 14px; color: var(--ink); background: #fffdf6; border: 2px solid var(--ink); border-radius: 12px; font-size: 12px; }
.library-generator-status.on { background: var(--lime); }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggestion-chip { padding: 7px 11px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; font-weight: 800; font-size: 12px; cursor: pointer; box-shadow: 2px 2px 0 var(--cyan); }
.category-list { display: grid; gap: 4px; }
.category-row { display: flex; align-items: center; gap: 4px; }
.category-item { flex: 1; display: grid; gap: 2px; text-align: left; padding: 8px 10px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-weight: 800; }
.category-item small { color: #515468; font-weight: 600; }
.category-item.active, .category-item:hover { background: #f3ffd0; border-color: var(--ink); }
.library-review { min-width: 0; }
.library-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 14px 0; border-bottom: 2px solid var(--ink); }
.library-tabs button { padding: 9px 12px; color: var(--ink); background: transparent; border: 0; border-radius: 9px 9px 0 0; font-weight: 900; cursor: pointer; }
.library-tabs button.active { background: var(--lime); box-shadow: inset 0 -3px 0 var(--ink); }
.library-tabs b { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,.08); font-size: 11px; }
.library-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
.library-filters input { flex: 1 1 220px; }
.library-filters select { flex: 0 1 220px; width: auto; }
.library-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 14px; border-top: 1px solid #e3dfd3; border-bottom: 1px solid #e3dfd3; background: #fffdf4; }
.library-bulk label { display: flex; gap: 6px; align-items: center; margin-right: auto; font-weight: 800; font-size: 12px; }
.library-bulk input, .library-check input { width: auto; }
.library-list { display: grid; gap: 10px; padding: 14px; }
.library-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px; color: var(--ink); background: #fff; border: 1px solid #c9c4b9; border-left: 5px solid #c9c4b9; border-radius: 10px; }
.library-row.status-pending { border-left-color: var(--cyan); }
.library-row.status-approved { border-left-color: #10b981; }
.library-row.status-rejected { border-left-color: #9a9aa5; opacity: .85; }
.library-row.status-inappropriate { border-left-color: var(--coral); }
.library-body { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.library-answer { font-size: 13px; }
.library-options { color: #515468; }
.library-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.library-tags .tag { padding: 2px 8px; border-radius: 99px; background: #eceaf6; font-size: 11px; font-weight: 800; color: var(--ink); text-decoration: none; }
.library-tags .tag.subtle { background: #f4f2ec; color: #515468; font-weight: 600; }
.library-tags .tag.platform { background: var(--cyan); }
.library-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.btn-danger-soft { color: #8a1d0c; background: #ffe4dc; }
.audience-badge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 900; border: 1px solid var(--ink); }
.audience-badge.all_ages { background: #d8f7e9; }
.audience-badge.teens { background: #dff3ff; }
.audience-badge.young_adults { background: #efe7ff; }
.audience-badge.adults { background: #fff1c9; }
.audience-badge.mature { background: #ffd8cc; }
.notice-box { margin: 0 14px; padding: 10px 12px; color: var(--ink); background: #f3ffd0; border: 1px solid var(--ink); border-radius: 9px; font-size: 13px; }
.inline-audience { width: auto; padding: 3px 6px; font-size: 11px; }
.venue-action-card.library { background: #efe7ff; }
@media (max-width: 900px) {
  .library-grid { grid-template-columns: 1fr; }
  .library-row { grid-template-columns: auto minmax(0, 1fr); }
  .library-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
.library-shell .back-link { display: block; margin-bottom: 6px; }

/* Pause and hands-free advance */
.paused-banner { display: grid; gap: 4px; margin: 0 0 14px; padding: 12px 16px; color: var(--ink); background: #fff1c9; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--coral); text-align: left; }
.paused-banner span { font-size: 13px; color: #515468; }
.countdown small { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.countdown.paused .countdown-value { color: #b7791f; }
.countdown.next-countdown .countdown-value { font-size: 22px; }
.countdown.next-countdown .countdown-bar { display: none; }
.countdown-tv.next-countdown .countdown-value { font-size: clamp(28px, 3vw, 44px); text-shadow: none; }
.countdown-card { width: 100%; max-width: 260px; margin: 8px 0; padding: 8px 10px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 10px; }
.countdown-card .countdown-value { font-size: 24px; }
.my-score { display: block; margin-top: 2px; font-size: 11px; font-weight: 800; color: #515468; }

/* Timer pinned to the top of every player screen */
.sticky-timer { position: sticky; top: 0; z-index: 30; margin: 0 0 12px; padding: 8px 0 6px; background: linear-gradient(180deg, rgba(17,18,43,.96) 70%, rgba(17,18,43,0)); }
.countdown-sticky { width: 100%; max-width: none; margin: 0; padding: 8px 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--purple); }
.countdown-sticky small { grid-column: 1 / -1; }
.countdown-sticky .countdown-value { font-size: 30px; }
.countdown-sticky.paused, .countdown-sticky.closed { grid-template-columns: auto 1fr; }
.countdown-sticky.closed .countdown-value { font-size: 18px; color: #515468; }

/* Quiz builder: questions per category, and swapping a drawn question */
.composition { margin: 4px 0 0; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fffdf4; color: var(--ink); }
.composition legend { padding: 0 6px; font-weight: 900; }
.composition p { margin: 0 0 8px; font-size: 12px; line-height: 1.4; }
.composition-rows { display: grid; gap: 6px; max-height: 280px; overflow: auto; }
.composition-row { display: grid; grid-template-columns: 1fr 84px; gap: 10px; align-items: center; margin: 0; font-size: 13px; font-weight: 800; }
.composition-row small { display: block; color: #515468; font-weight: 600; font-size: 11px; }
.composition-row input { padding: 6px 8px; text-align: center; }
.composition-total { margin: 8px 0 0; font-weight: 900; }
.swap-options { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.swap-options .source-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
