/* ============================================================
   THE QUARTET — Father's Day 2026 site
   Warm pub palette · Mobile-first · Chaotic energy
   ============================================================ */

:root {
  --cream: #f4ead4;
  --cream-deep: #e9dcb6;
  --paper: #efe2c1;
  --amber: #d4a04a;
  --amber-deep: #b87f24;
  --mustard: #c7991a;
  --oxblood: #6e1f1f;
  --oxblood-deep: #4a1212;
  --forest: #1f3a2b;
  --forest-deep: #122016;
  --ink: #221208;
  --foam: #f8f1d8;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Special Elite", "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle worn-paper noise across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(110, 31, 31, 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(31, 58, 43, 0.06), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(212, 160, 74, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.07 0 0 0 0 0.03 0 0 0 0.10 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

#root {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}

/* ---------- Typography helpers ---------- */
.f-display { font-family: "Bungee Shade", "Alfa Slab One", serif; font-weight: 400; letter-spacing: 0.01em; }
.f-slab    { font-family: "Alfa Slab One", serif; font-weight: 400; }
.f-rye     { font-family: "Rye", "Alfa Slab One", serif; font-weight: 400; }
.f-mono    { font-family: "Special Elite", "Courier New", monospace; }

.stamp {
  display: inline-block;
  font-family: "Rye", serif;
  border: 3px solid currentColor;
  padding: 4px 10px 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(-3deg);
  color: var(--oxblood);
  font-size: 12px;
  background: rgba(244, 234, 212, 0.6);
}

.tape {
  position: absolute;
  width: 70px;
  height: 22px;
  background: rgba(212, 160, 74, 0.55);
  border-left: 1px dashed rgba(0,0,0,0.18);
  border-right: 1px dashed rgba(0,0,0,0.18);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  z-index: 3;
}

/* ---------- Section frame ---------- */
section {
  position: relative;
  padding: 36px 20px;
  border-bottom: 4px double rgba(34, 18, 8, 0.25);
}

.section-title {
  font-family: "Bungee Shade", serif;
  font-size: 30px;
  line-height: 0.95;
  color: var(--oxblood);
  margin: 0 0 4px;
  text-shadow: 2px 2px 0 rgba(31, 58, 43, 0.15);
}
.section-kicker {
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ---------- HERO ---------- */
.hero {
  padding: 28px 20px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(199, 153, 26, 0.25), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 2px dashed rgba(31, 58, 43, 0.3);
  padding-bottom: 10px;
}
.hero-title {
  font-family: "Bungee Shade", serif;
  font-size: 62px;
  line-height: 0.85;
  color: var(--oxblood);
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow:
    3px 3px 0 var(--mustard),
    6px 6px 0 var(--forest);
}
.hero-sub {
  font-family: "Rye", serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--forest);
  text-transform: uppercase;
  margin: 18px 0 22px;
}
.hero-tagline {
  font-family: "Special Elite", monospace;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 320px;
}
.hero-tagline em { font-style: italic; color: var(--oxblood); }

.hero-orn {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Alfa Slab One", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 14px 22px 12px;
  background: var(--oxblood);
  color: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.green { background: var(--forest); }
.btn.amber { background: var(--amber-deep); }

/* ---------- Player cards ---------- */
.players {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.player-card {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 0;
  overflow: hidden;
}
.player-card.tilt-l { transform: rotate(-1deg); }
.player-card.tilt-r { transform: rotate(1deg); }

.player-card .pc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--forest);
  color: var(--cream);
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.player-card.oxblood .pc-head { background: var(--oxblood); }
.player-card.amber .pc-head { background: var(--amber-deep); }
.player-card.ink .pc-head { background: var(--ink); }

.pc-body { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px; }
.pc-portrait {
  position: relative;
  width: 110px;
  height: 140px;
  border: 3px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.pc-portrait .stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(34, 18, 8, 0.08) 0 8px,
      transparent 8px 16px);
}
.pc-portrait .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Special Elite", monospace;
  font-size: 9px;
  color: var(--ink);
  text-align: center;
  padding: 4px;
  line-height: 1.3;
}
.pc-portrait .fill-img,
.pc-portrait .fill-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pc-portrait .fill-img { object-fit: cover; display: block; }
.pc-portrait .fill-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Special Elite", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(34, 18, 8, 0.55);
  text-align: center;
  padding: 6px;
  background:
    repeating-linear-gradient(45deg,
      rgba(34, 18, 8, 0.08) 0 8px,
      transparent 8px 16px);
}

.pc-name {
  font-family: "Bungee Shade", serif;
  font-size: 28px;
  line-height: 0.9;
  color: var(--oxblood);
  margin: 2px 0 2px;
}
.pc-class {
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pc-stats { font-size: 12px; line-height: 1.45; }
.pc-stats .stat { display: flex; justify-content: space-between; border-bottom: 1px dotted rgba(34,18,8,0.3); padding: 2px 0; }
.pc-stats .stat span:last-child { font-family: "Alfa Slab One"; color: var(--oxblood); }

.pc-ability {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--mustard);
  border: none;
  border-top: 3px solid var(--ink);
  font-family: "Alfa Slab One", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  cursor: pointer;
}
.pc-ability:active { background: var(--amber); }

/* ---------- Cheers ---------- */
.cheers-wrap {
  text-align: center;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}
.cheers-wrap .section-title { color: var(--mustard); text-shadow: 2px 2px 0 var(--oxblood-deep); }
.cheers-wrap .section-kicker { color: var(--cream); }

.cheers-counter {
  font-family: "Bungee Shade", serif;
  font-size: 88px;
  line-height: 1;
  color: var(--mustard);
  margin: 10px 0;
  text-shadow: 4px 4px 0 var(--oxblood);
}
.cheers-label {
  font-family: "Rye", serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.stein-btn {
  position: relative;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.stein-btn:active { transform: scale(0.96); }

.foam-particle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--foam);
  pointer-events: none;
  animation: foamUp 1.2s ease-out forwards;
  z-index: 5;
}
@keyframes foamUp {
  0% { opacity: 1; transform: translate(0, 0) scale(0.8); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.3); }
}

.freezer-btn {
  margin-top: 28px;
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mustard);
  background: none;
  border: 1px dashed var(--mustard);
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
}
.freezer-btn:active { background: var(--mustard); color: var(--forest); }

.freezer-modal {
  position: fixed;
  inset: 0;
  background: rgba(34, 18, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.freezer-modal-inner {
  background: var(--cream);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--oxblood);
  padding: 24px;
  max-width: 360px;
  text-align: center;
  position: relative;
  transform: rotate(-2deg);
}
.freezer-modal-inner h3 {
  font-family: "Bungee Shade", serif;
  font-size: 36px;
  color: var(--oxblood);
  margin: 8px 0 12px;
  line-height: 0.9;
}
.freezer-modal-inner p {
  font-family: "Special Elite", monospace;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.freezer-close { font-family: "Rye", serif; }

/* ---------- Garage map ---------- */
.garage-wrap {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream-deep) 100%);
}
.garage-svg {
  width: 100%;
  height: auto;
  display: block;
  background: #d9c594;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.shelf-clickable { cursor: pointer; transition: filter 0.1s; }
.shelf-clickable:hover, .shelf-clickable.active { filter: brightness(1.15); }
.shelf-clickable.active rect:first-child { stroke: var(--mustard); stroke-width: 3; }

.shelf-info {
  margin-top: 14px;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 14px;
  min-height: 80px;
}
.shelf-info h4 {
  font-family: "Bungee Shade", serif;
  font-size: 22px;
  color: var(--oxblood);
  margin: 0 0 4px;
  line-height: 0.95;
}
.shelf-info .shelf-tag {
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.shelf-info p { font-size: 13px; line-height: 1.45; margin: 0; }
.shelf-info .games { font-family: "Alfa Slab One"; font-size: 13px; color: var(--ink); margin-top: 8px; }

/* ---------- Polaroids ---------- */
.polaroid-wall {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 16px;
}
.polaroid-wall .section-title { color: var(--mustard); text-shadow: 2px 2px 0 var(--oxblood); }
.polaroid-wall .section-kicker { color: var(--amber); }

.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  margin-top: 18px;
}
.polaroid {
  background: var(--cream);
  padding: 8px 8px 28px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.4), 6px 6px 16px rgba(0,0,0,0.4);
  position: relative;
}
.polaroid:nth-child(odd) { transform: rotate(-2.5deg); }
.polaroid:nth-child(even) { transform: rotate(2deg); }
.polaroid:nth-child(3n) { transform: rotate(-1deg); }

.polaroid-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  overflow: hidden;
}
.polaroid-img-wrap .fill-img,
.polaroid-img-wrap .fill-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.polaroid-img-wrap .fill-img { object-fit: cover; display: block; }
.polaroid-img-wrap .fill-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Special Elite", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(34, 18, 8, 0.45);
  text-align: center;
  background:
    repeating-linear-gradient(45deg,
      rgba(34, 18, 8, 0.06) 0 10px,
      transparent 10px 20px);
}
.polaroid-caption {
  font-family: "Special Elite", monospace;
  font-size: 11px;
  color: var(--ink);
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
}

/* ---------- Hall of Games ---------- */
.hall {
  background: var(--cream);
}
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.game-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.1s;
}
.game-card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.game-card .gc-corner {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--oxblood);
  color: var(--cream);
  font-family: "Alfa Slab One";
  font-size: 11px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.game-card h5 {
  font-family: "Alfa Slab One", serif;
  font-size: 14px;
  color: var(--oxblood);
  margin: 4px 0 4px;
  line-height: 1;
  text-transform: uppercase;
}
.game-card .gc-meta {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.game-card .gc-desc {
  font-family: "Special Elite", monospace;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink);
  flex: 1;
}
.game-card .gc-weight {
  display: flex;
  gap: 2px;
  margin-top: 6px;
}
.game-card .gc-weight span {
  width: 9px;
  height: 9px;
  background: var(--ink);
  display: block;
  transform: rotate(45deg);
}
.game-card .gc-weight span.off { background: transparent; border: 1px solid var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: var(--oxblood-deep);
  color: var(--cream);
  padding: 40px 20px 24px;
  text-align: center;
}
.footer .section-title { color: var(--mustard); text-shadow: 2px 2px 0 var(--ink); }
.footer p { font-size: 13px; line-height: 1.6; }
.footer .signoff {
  font-family: "Rye", serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  margin: 18px 0 10px;
}
.footer .credits {
  font-family: "Special Elite", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  font-family: "Alfa Slab One", serif;
  padding: 12px 18px;
  border: 3px solid var(--mustard);
  font-size: 14px;
  letter-spacing: 0.05em;
  z-index: 200;
  max-width: 90%;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--oxblood);
  animation: toastIn 0.25s ease-out;
}
@keyframes toastIn {
  from { transform: translate(-50%, 30px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ---------- Wood-trade ---------- */
.wood-card {
  position: relative;
  margin-top: 20px;
  background: linear-gradient(135deg, #8a5a2b 0%, #5a3818 100%);
  color: var(--cream);
  padding: 16px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}
.wood-card h4 {
  font-family: "Rye", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
  color: var(--mustard);
}
.wood-trade-btn {
  font-family: "Alfa Slab One", serif;
  background: var(--mustard);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.wood-trade-btn:active { background: var(--amber); }

/* ---------- Dice ---------- */
.dice {
  display: inline-block;
  width: 56px;
  height: 56px;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 1.4, 0.5, 1);
}
.dice.rolling { animation: diceRoll 0.6s ease-out; }
@keyframes diceRoll {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(180deg) scale(1.15); }
  50% { transform: rotate(360deg) scale(0.9); }
  75% { transform: rotate(540deg) scale(1.1); }
  100% { transform: rotate(720deg) scale(1); }
}
.dice .pip {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 50%;
}


/* ============================================================
   THE PLAN — poster, status board, quest cards, voting
   ============================================================ */

.hero-datestrip {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-family: "Rye", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--forest);
  text-transform: uppercase;
  background: var(--cream);
  border-top: 2px solid var(--oxblood);
  border-bottom: 2px solid var(--oxblood);
  padding: 6px 14px 4px;
  margin: 14px auto 4px;
  transform: rotate(-1deg);
}
.hero-datestrip span:nth-child(4) {
  font-family: "Bungee Shade", serif;
  font-size: 22px;
  color: var(--oxblood);
}

.plan-wrap {
  background:
    radial-gradient(ellipse at top, rgba(110, 31, 31, 0.18), transparent 70%),
    var(--cream-deep);
  padding: 36px 14px 40px;
}

.plan-poster {
  position: relative;
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(34,18,8,0.04) 22px 23px),
    radial-gradient(circle at 50% 0%, rgba(212,160,74,0.18), transparent 60%),
    linear-gradient(180deg, #f6ecd2 0%, #ebdbb3 100%);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink), 0 0 0 1px rgba(0,0,0,0.1) inset;
  padding: 22px 18px 28px;
}
.poster-nail {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #d5d5d5, #5a5a5a 60%, #2a2a2a);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink), 1px 1px 3px rgba(0,0,0,0.4);
  z-index: 4;
}
.nail-tl { top: -6px; left: -6px; }
.nail-tr { top: -6px; right: -6px; }
.nail-bl { bottom: -6px; left: -6px; }
.nail-br { bottom: -6px; right: -6px; }
.plan-stamp {
  position: absolute;
  top: 8px;
  right: -8px;
  transform: rotate(8deg);
  z-index: 5;
}

.plan-title {
  font-family: "Bungee Shade", serif;
  font-size: 52px;
  line-height: 0.9;
  text-align: center;
  color: var(--oxblood);
  margin: 4px 0 0;
  text-shadow: 3px 3px 0 var(--mustard);
}
.plan-divider {
  text-align: center;
  margin: 10px 0 18px;
  position: relative;
}
.plan-divider::before,
.plan-divider::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--oxblood);
  vertical-align: middle;
  margin: 0 8px;
}
.plan-divider span {
  font-family: "Rye", serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--oxblood);
  text-transform: uppercase;
}

.plan-mission {
  font-family: "Special Elite", monospace;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 18px;
  color: var(--ink);
}
.mission-thing {
  font-family: "Alfa Slab One", serif;
  color: var(--oxblood);
  letter-spacing: 0.02em;
  font-size: 14px;
}

/* ---- STATUS BOARD ---- */
.status-board {
  background: var(--ink);
  color: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--oxblood);
  padding: 14px;
  margin: 0 0 24px;
  position: relative;
  transition: box-shadow 0.3s;
}
.status-board.all-locked {
  background: var(--forest);
  box-shadow: 4px 4px 0 var(--mustard);
}
.sb-header {
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--mustard);
  text-align: center;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sb-cell {
  background: rgba(244, 234, 212, 0.08);
  border: 2px dashed rgba(244, 234, 212, 0.35);
  padding: 10px 6px 8px;
  text-align: center;
  position: relative;
  transition: background 0.2s, border 0.2s;
}
.sb-cell.locked {
  background: var(--mustard);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.sb-label {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.8;
  text-transform: uppercase;
}
.sb-value {
  font-family: "Alfa Slab One", serif;
  font-size: 16px;
  line-height: 1.1;
  margin: 4px 0 2px;
  min-height: 18px;
  word-break: break-word;
}
.sb-of { font-size: 11px; opacity: 0.7; margin-left: 2px; }
.sb-check {
  font-family: "Alfa Slab One", serif;
  font-size: 18px;
  line-height: 1;
}
.sb-victory {
  margin-top: 12px;
  background: var(--mustard);
  color: var(--ink);
  font-family: "Bungee Shade", serif;
  font-size: 16px;
  text-align: center;
  padding: 8px;
  letter-spacing: 0.02em;
  border: 2px solid var(--ink);
  text-shadow: 1px 1px 0 var(--cream);
}
.sb-hint {
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: 11px;
  margin-top: 10px;
  opacity: 0.85;
}

/* ---- Plan rows ---- */
.plan-row {
  margin: 22px 0;
  padding-top: 4px;
}
.plan-kicker {
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--oxblood);
  padding-bottom: 4px;
  font-weight: bold;
}
.plan-kicker-xl {
  font-family: "Bungee Shade", serif;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--oxblood);
  border-bottom: 4px double var(--oxblood);
}
.plan-kicker-xl + .plan-intro { font-size: 13px; }

.plan-big {
  font-family: "Bungee Shade", serif;
  font-size: 32px;
  color: var(--ink);
  text-align: center;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-sub {
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 12px;
}
.plan-intro {
  font-family: "Special Elite", monospace;
  font-size: 12px;
  line-height: 1.55;
  margin: 4px 0 14px;
  color: var(--ink);
}
.plan-intro em { font-style: italic; color: var(--oxblood); }
.plan-hint {
  font-family: "Special Elite", monospace;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 6px;
}

/* ---- Countdown ---- */
.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  margin: 6px 0 4px;
}
.cd-cell {
  background: var(--ink);
  color: var(--mustard);
  padding: 8px 8px 4px;
  min-width: 52px;
  text-align: center;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--oxblood);
}
.cd-num {
  font-family: "Bungee Shade", serif;
  font-size: 22px;
  line-height: 1;
}
.cd-label {
  font-family: "Rye", serif;
  font-size: 8px;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-top: 2px;
}
.cd-sep {
  font-family: "Alfa Slab One", serif;
  color: var(--oxblood);
  font-size: 18px;
  padding-bottom: 8px;
}

/* ---- Quest cards ---- */
.quest-leader-banner {
  background: var(--forest);
  color: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin: 0 0 14px;
}
.qlb-prefix {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--mustard);
}
.qlb-name {
  font-family: "Alfa Slab One", serif;
  font-size: 13px;
  flex: 1;
}
.qlb-count {
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  background: var(--mustard);
  color: var(--ink);
  padding: 2px 6px;
}

.quest-list {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}
.quest-card {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}
.quest-card.leader {
  box-shadow: 5px 5px 0 var(--mustard), 5px 5px 0 3px var(--ink);
}
.quest-card.editors-pick { border-color: var(--quest-color, var(--forest)); }
.quest-card.editors-pick .quest-name { padding-right: 110px; }
.quest-card.editors-pick .quest-tag { padding-right: 110px; }
.quest-band {
  height: 8px;
  background: var(--quest-color, var(--ink));
}
.quest-pick-badge {
  position: absolute;
  top: 14px;
  right: -6px;
  background: var(--mustard);
  color: var(--ink);
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 4px 10px 3px;
  transform: rotate(2deg);
  border: 2px solid var(--ink);
  z-index: 2;
}
.quest-body { padding: 14px; }
.quest-name {
  font-family: "Alfa Slab One", serif;
  font-size: 18px;
  line-height: 1.05;
  color: var(--quest-color, var(--oxblood));
  margin: 4px 0 4px;
  text-transform: uppercase;
}
.quest-tag {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.quest-area {
  font-family: "Special Elite", monospace;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 10px;
}
.quest-pitch {
  font-family: "Special Elite", monospace;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}

.quest-meta {
  background: var(--cream-deep);
  border: 2px dashed rgba(34,18,8,0.25);
  padding: 8px 10px;
  margin-bottom: 12px;
}
.qm-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(34,18,8,0.2);
  font-size: 11.5px;
  align-items: baseline;
}
.qm-row:last-child { border-bottom: none; }
.qm-label {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--oxblood);
  text-transform: uppercase;
}
.qm-val {
  font-family: "Special Elite", monospace;
  color: var(--ink);
  line-height: 1.35;
}

.quest-section { margin-bottom: 12px; }
.quest-label {
  font-family: "Rye", serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.drive-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.drive-pill {
  background: var(--cream-deep);
  border: 2px solid var(--ink);
  padding: 4px 4px;
  text-align: center;
  font-family: "Special Elite", monospace;
  font-size: 10px;
}
.drive-pill.color-forest { background: var(--forest); color: var(--cream); }
.drive-pill.color-oxblood { background: var(--oxblood); color: var(--cream); }
.drive-pill.color-amber { background: var(--amber-deep); color: var(--cream); }
.drive-pill.color-ink { background: var(--ink); color: var(--cream); }
.dp-name { display: block; font-family: "Rye", serif; font-size: 8px; letter-spacing: 0.1em; opacity: 0.9; }
.dp-min { display: block; font-family: "Alfa Slab One", serif; font-size: 16px; line-height: 1.1; }

/* ---- Vote chips (meeples) ---- */
.quest-vote {
  border-top: 2px dashed rgba(34,18,8,0.3);
  padding-top: 10px;
  margin-top: 6px;
}
.vote-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}
.meeple-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 6px 4px;
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.08s;
}
.meeple-chip .mc-icon { display: flex; }
.meeple-chip .mc-icon svg { fill: var(--ink); opacity: 0.4; }
.meeple-chip.voted { color: var(--cream); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.meeple-chip.voted .mc-icon svg { fill: var(--cream); opacity: 1; }
.meeple-chip.color-forest.voted  { background: var(--forest); }
.meeple-chip.color-oxblood.voted { background: var(--oxblood); }
.meeple-chip.color-amber.voted   { background: var(--amber-deep); }
.meeple-chip.color-ink.voted     { background: var(--ink); }
.meeple-chip:active { transform: scale(0.96); }

.vote-summary {
  text-align: center;
  font-family: "Rye", serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--oxblood);
  text-transform: uppercase;
  min-height: 18px;
}
.vs-empty { opacity: 0.5; }

.roll-fate {
  display: block;
  margin: 8px auto 0;
}

/* ---- Time voting grid ---- */
.time-vote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.time-vote-cell {
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 8px 6px;
  text-align: center;
  transition: background 0.2s;
}
.time-vote-cell.lead {
  background: var(--mustard);
  box-shadow: 2px 2px 0 var(--ink);
}
.tv-time {
  font-family: "Alfa Slab One", serif;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.tv-chips {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.tv-chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream-deep);
  font-family: "Alfa Slab One", serif;
  font-size: 11px;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.tv-chip.voted { opacity: 1; color: var(--cream); transform: translateY(-1px); box-shadow: 0 2px 0 var(--ink); }
.tv-chip.color-forest.voted  { background: var(--forest); }
.tv-chip.color-oxblood.voted { background: var(--oxblood); }
.tv-chip.color-amber.voted   { background: var(--amber-deep); }
.tv-chip.color-ink.voted     { background: var(--ink); }

/* ---- RSVP ---- */
.plan-rsvp-row {
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--oxblood);
  padding: 14px;
  margin: 28px 0;
}
.rsvp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.rsvp-btn {
  background: var(--cream-deep);
  border: 3px solid var(--ink);
  padding: 12px 6px 10px;
  font-family: "Alfa Slab One", serif;
  text-align: center;
  cursor: pointer;
  transition: transform 0.08s, background 0.15s;
}
.rsvp-btn .rsvp-name {
  display: block;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.rsvp-btn .rsvp-state {
  display: block;
  font-family: "Rye", serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--forest);
  margin-top: 6px;
  text-transform: uppercase;
}
.rsvp-btn.in {
  background: var(--forest);
  box-shadow: 3px 3px 0 var(--mustard);
}
.rsvp-btn.in .rsvp-name { color: var(--mustard); }
.rsvp-btn.in .rsvp-state { color: var(--cream); }
.rsvp-btn:active { transform: scale(0.97); }

/* ---- Guestbook ---- */
.guest-form {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.guest-input {
  flex: 1;
  background: var(--cream);
  border: 3px solid var(--ink);
  padding: 10px 10px 8px;
  font-family: "Special Elite", monospace;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.guest-input:focus { background: var(--cream-deep); }
.guest-submit {
  background: var(--oxblood);
  color: var(--cream);
  border: 3px solid var(--ink);
  font-family: "Alfa Slab One", serif;
  letter-spacing: 0.05em;
  padding: 10px 14px 8px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
}
.guest-submit:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.guest-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.guest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 6px 10px;
  font-family: "Special Elite", monospace;
  font-size: 13px;
}
.gi-check {
  color: var(--forest);
  font-weight: bold;
  font-size: 14px;
}
.gi-name { flex: 1; letter-spacing: 0.08em; }
.gi-x {
  background: none;
  border: none;
  color: var(--oxblood);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* ---- Bringing ---- */
.bring-list {
  display: grid;
  gap: 6px;
}
.bring-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: center;
}
.bring-name {
  font-family: "Alfa Slab One", serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 6px 8px;
  text-align: center;
  border: 2px solid var(--ink);
  background: var(--cream-deep);
}
.bring-name.color-forest  { background: var(--forest); color: var(--cream); }
.bring-name.color-oxblood { background: var(--oxblood); color: var(--cream); }
.bring-name.color-amber   { background: var(--amber-deep); color: var(--cream); }
.bring-name.color-ink     { background: var(--ink); color: var(--cream); }
.bring-input {
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 8px 10px;
  font-family: "Special Elite", monospace;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.bring-input:focus { background: var(--cream-deep); }

/* ---- CTAs ---- */
.plan-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.plan-cta-row .btn { flex: 1; min-width: 130px; text-align: center; }
