/* Layout: a harvest table. A chestnut header band with drifting maple
   leaves, warm parchment ground, table "place cards" for each game, and
   tabular figures so scores line up across the room. */
:root {
  --bark: #3b1f12;
  --bark-2: #6b2a12;
  --bark-ink: #fbefdc;
  --bg: #faf3e8;
  --card: #fffaf3;
  --ink: #2a1a10;
  --muted: #75604f;
  --line: #e7d8c3;
  --pumpkin: #c4511a;
  --gold: #b97f16;
  --cranberry: #9b1d32;
  --good: #3f6b32;
  --warn: #8a5300;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bark: #22110a; --bark-2: #4a1d0c; --bark-ink: #f7e6cf; --bg: #1a110b; --card: #261810; --ink: #f4e7d6;
    --muted: #b89f88; --line: #3d2a1d; --pumpkin: #f08a3e; --gold: #e7b04a; --cranberry: #ec7186; --good: #9bc47f; --warn: #f0c060;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bark: #22110a; --bark-2: #4a1d0c; --bark-ink: #f7e6cf; --bg: #1a110b; --card: #261810; --ink: #f4e7d6;
  --muted: #b89f88; --line: #3d2a1d; --pumpkin: #f08a3e; --gold: #e7b04a; --cranberry: #ec7186; --good: #9bc47f; --warn: #f0c060;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--text);
  font-variant-numeric: tabular-nums;
}
[hidden] { display: none !important; }
a { color: var(--pumpkin); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-block: 24px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header band: chestnut with a scatter of maple leaves */
.bar {
  position: relative;
  overflow: hidden;
  color: var(--bark-ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='90' viewBox='0 0 160 90'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M20 10l3 7 6-3-2 7 6 2-6 3 2 6-6-2-3 7-3-7-6 2 2-6-6-3 6-2-2-7 6 3z'/%3E%3Cpath d='M110 50l2.4 5.6 4.8-2.4-1.6 5.6 4.8 1.6-4.8 2.4 1.6 4.8-4.8-1.6-2.4 5.6-2.4-5.6-4.8 1.6 1.6-4.8-4.8-2.4 4.8-1.6-1.6-5.6 4.8 2.4z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(115deg, var(--bark), var(--bark-2));
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 4px solid var(--pumpkin);
}
.bar-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between; padding-block: 14px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.01em; }
.brand .logo { width: 62px; height: 62px; margin-block: -6px; flex: none; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.35)); }
@media (max-width: 560px) { .brand .logo { width: 46px; height: 46px; margin-block: -4px; } }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a {
  text-decoration: none; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  color: color-mix(in srgb, var(--bark-ink) 82%, transparent);
}
nav a[aria-current="page"] { background: var(--bark-ink); color: var(--bark); }
nav .more-top {
  padding: 6px 13px; border-radius: 999px; font: 600 0.95rem/1.2 var(--text); border: 1px solid color-mix(in srgb, var(--bark-ink) 40%, transparent);
  background: none; color: color-mix(in srgb, var(--bark-ink) 82%, transparent); min-height: 0;
}
nav .more-top.on, nav .more-top[aria-expanded="true"] { background: var(--bark-ink); color: var(--bark); }
/* The More menu, grouped. Wide screens: a dropdown under the header's More button. */
.more-group { display: grid; align-content: start; }
.more-group h3 { margin: 6px 16px 2px; font: 700 0.72rem/1.2 var(--text); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
@media (min-width: 701px) {
  .more-sheet:not([hidden]) {
    display: grid; grid-template-columns: repeat(3, minmax(11rem, 1fr)); gap: 4px 8px;
    position: absolute; top: var(--more-top, 90px); right: var(--more-right, 16px); z-index: 40;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.3); padding: 10px;
  }
  .more-sheet a { padding: 9px 16px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .more-sheet a:hover { background: color-mix(in srgb, var(--pumpkin) 10%, transparent); }
  .more-sheet a[aria-current="page"] { background: color-mix(in srgb, var(--pumpkin) 14%, transparent); }
  .more-sheet .phone-only { display: none; }
  body.tv .more-sheet { display: none; }
}

/* A few leaves drifting down the header */
.leaves { position: absolute; inset: 0; pointer-events: none; }
.leaves span {
  position: absolute; top: -24px; width: 16px; height: 16px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e0892f' d='M12 1l2.7 6.3 5.4-2.7-1.8 6.3 5.4 1.8-5.4 2.7 1.8 5.4-5.4-1.8L12 23l-2.7-4.5-5.4 1.8 1.8-5.4-5.4-2.7 5.4-1.8-1.8-6.3 5.4 2.7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.leaves span:nth-child(2) { left: 22%; animation-delay: 3s; width: 12px; height: 12px; }
.leaves span:nth-child(3) { left: 48%; animation-delay: 7s; }
.leaves span:nth-child(4) { left: 71%; animation-delay: 1.5s; width: 13px; height: 13px; }
.leaves span:nth-child(5) { left: 90%; animation-delay: 5s; }
.leaves span:nth-child(1) { left: 8%; }
@media (prefers-reduced-motion: no-preference) {
  .leaves span { animation: drift 11s linear infinite; }
}
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  100% { transform: translate(-40px, 130px) rotate(260deg); opacity: 0; }
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.74rem; font-weight: 700; color: var(--pumpkin); }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.stack { display: grid; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.spread { justify-content: space-between; }
.narrow { max-width: 28rem; }

/* Round header */
.round-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.pace { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.pace b { color: var(--ink); font-weight: 600; }

/* Table place cards */
.tables { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.table {
  background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 14px; padding: 18px;
  display: grid; gap: 12px; min-width: 0;
}
.table-name { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.table-name h2 { font-size: 1.4rem; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.team { display: grid; gap: 2px; min-width: 0; }
.team span { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.team.b { text-align: right; }
.vs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs.three .team.b { text-align: center; }
.vs.three .team.c { text-align: right; }
.free-solo { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.free-solo legend { font-weight: 600; margin-bottom: 4px; }
.vs-mark { font: italic 700 0.95rem var(--display); color: var(--pumpkin); }
.score { font: 800 2rem/1 var(--display); }
.win .score { color: var(--good); }
.status { font-size: 0.82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status.playing { color: var(--warn); border-color: currentColor; }
.status.done { color: var(--good); border-color: currentColor; }
.status.flag { color: var(--cranberry); border-color: currentColor; }
.flag-text { color: var(--cranberry); font-weight: 600; }
.me-highlight { outline: 3px solid var(--pumpkin); outline-offset: 2px; }

/* Data tables */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.data th, .data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.data td.num, .data th.num { text-align: right; }
.data tr:last-child td { border-bottom: 0; }
.rank { font: 800 1.15rem var(--display); color: var(--pumpkin); width: 3ch; }
.data tr.mine td { background: color-mix(in srgb, var(--gold) 14%, transparent); }

/* My page */
.seat {
  color: var(--bark-ink); border-radius: 16px; padding: 24px; display: grid; gap: 12px;
  background: linear-gradient(135deg, var(--bark-2), var(--bark));
}
.seat .eyebrow { color: var(--gold); }
.seat .big { font: 800 clamp(2rem, 7vw, 3.2rem)/1.05 var(--display); }
.seat dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 1.1rem; }
.seat dt { color: color-mix(in srgb, var(--bark-ink) 70%, transparent); }
.seat dd { margin: 0; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.stats b { font: 800 1.7rem/1.1 var(--display); }
.champion h1 { color: var(--pumpkin); }

/* Forms */
label { display: grid; gap: 4px; font-weight: 500; font-size: 0.95rem; }
input, select, textarea, button { font: inherit; }
input[type="text"], input[type="number"], input[type="password"], input[type="tel"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
textarea { min-height: 14rem; resize: vertical; }
textarea.short { min-height: 8rem; }
.fields input[type="number"] { max-width: 9rem; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
button {
  border: 1px solid var(--pumpkin); background: var(--pumpkin); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-weight: 600; cursor: pointer;
}
button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
button.danger { background: transparent; color: var(--cranberry); border-color: currentColor; }
button.small { padding: 5px 10px; font-size: 0.85rem; }
button.link { background: none; border: 0; padding: 0; color: var(--pumpkin); text-decoration: underline; font-weight: 500; }
button.camera { border-style: dashed; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.small-links { font-size: 0.9rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 14px; min-width: 0; }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.team-form { display: grid; gap: 10px; align-content: start; }
.team-form .fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 10px; }
.total-line { font: 800 1.6rem var(--display); }
.msg { padding: 10px 12px; border-radius: 10px; font-size: 0.95rem; }
.msg.error { color: var(--cranberry); border: 1px solid currentColor; }
.msg.warn { color: var(--warn); border: 1px solid currentColor; }
.msg.ok { color: var(--good); border: 1px solid currentColor; }
.code { font: 800 1.5rem var(--display); letter-spacing: 0.12em; }
.cov { font-weight: 600; }
details summary { cursor: pointer; font-weight: 600; padding-block: 6px; }

/* Card review dialog */
dialog.review {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; background: var(--card); color: var(--ink);
}
dialog.review::backdrop { background: rgb(20 10 4 / 0.55); }
.meld { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.meld-warn { border-color: var(--cranberry); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px;
  font-weight: 700; min-width: 2.8rem;
}
.chip.red { color: var(--cranberry); }
.tag { padding: 4px 10px; font-size: 0.82rem; border-radius: 999px; }
.tag.clean { background: var(--good); border-color: var(--good); }
.tag.dirty { background: var(--warn); border-color: var(--warn); }
.add-card { display: inline-flex; gap: 6px; align-items: center; }
.add-card select { width: auto; padding: 5px 8px; }

.weekend dl { margin: 0; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.weekend dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--pumpkin); }
.weekend dd { margin: 2px 0 0; font: 700 1.15rem/1.3 var(--display); }

/* Standings: podium, movement, runners */
.podium { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 2px; text-align: center; min-width: 0; }
.place.p1 { border-top: 6px solid var(--gold); padding-block: 22px; order: 2; }
.place.p2 { border-top: 6px solid #a7a29a; order: 1; }
.place.p3 { border-top: 6px solid #b46a3c; order: 3; }
.place .medal { font-size: 2rem; line-height: 1; }
.place h2 { font-size: clamp(1.05rem, 3.2vw, 1.5rem); overflow-wrap: anywhere; }
.place .pts { font: 800 clamp(1.5rem, 4.5vw, 2.4rem) var(--display); }
.place.p1 .pts { color: var(--pumpkin); }
.place.mine, .runner.mine { outline: 3px solid var(--pumpkin); outline-offset: 2px; }
.move { font-size: 0.78rem; font-weight: 700; margin-left: 4px; }
.move.up { color: var(--good); }
.move.down { color: var(--cranberry); }
.runners { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.runner { display: grid; grid-template-columns: 2.4ch auto 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.runner .rank { text-align: right; }
.runner .who { min-width: 0; display: grid; gap: 3px; }
.runner .who .line { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.runner .who b { font-size: 1.05rem; overflow-wrap: anywhere; }
.runner .rank { font-size: 1.25rem; width: auto; }
.runner .who .muted { font-size: 0.82rem; }
.runner .pts { font: 800 1.4rem var(--display); }
/* Named pts-bar: plain ".bar" is the header band. */
.pts-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pts-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--gold), var(--pumpkin)); border-radius: 3px; }
@media (max-width: 480px) { .podium { gap: 8px; } .place { padding: 12px 8px; } }

/* Schedule: round chips, round view, one player's weekend */
.rounds { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-round { width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%; background: var(--card); color: var(--ink); border: 1px solid var(--line); font-weight: 700; }
.chip-round.done { background: color-mix(in srgb, var(--good) 14%, var(--card)); border-color: var(--good); color: var(--good); }
.chip-round.now { border: 2px solid var(--pumpkin); color: var(--pumpkin); }
.chip-round.on { background: var(--pumpkin); border-color: var(--pumpkin); color: #fff; }
.legs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.leg { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.leg.won { border-left-color: var(--good); }
.leg.lost { border-left-color: var(--cranberry); }
.leg.tied { border-left-color: var(--gold); }
.leg.now { outline: 3px solid var(--pumpkin); outline-offset: 2px; }

/* Ask the helper */
.answer { border-left: 5px solid var(--pumpkin); }
.answer p:last-child { font-size: 1.05rem; line-height: 1.6; max-width: 70ch; }

/* Countdown to the official start */
.countdown {
  text-align: center; border-radius: 16px; padding: 18px 16px; margin-bottom: 18px; display: grid; gap: 4px;
  color: var(--bark-ink); background: linear-gradient(135deg, var(--bark-2), var(--bark)); border: 2px solid var(--gold);
}
.countdown .eyebrow { color: var(--gold); }
.countdown .left { font: 800 clamp(1.7rem, 7vw, 3rem)/1.1 var(--display); }
.countdown .when { font-weight: 600; opacity: 0.9; }
.countdown.on { background: linear-gradient(135deg, var(--pumpkin), var(--bark-2)); }
.countdown.big .left { font-size: clamp(2.4rem, 6vw, 5rem); }

/* Round recap */
.recap { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--pumpkin); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; display: grid; gap: 4px; }
.recap p:last-child { font: 600 1.08rem/1.45 var(--display); max-width: 75ch; }
body.tv .recap p:last-child { font-size: 1.35rem; }

/* Weekend awards */
.awards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.award { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 12px; display: grid; gap: 4px; align-content: start; }
.award.booby { border-top-color: var(--cranberry); }
.award .icon { font-size: 1.6rem; line-height: 1; }
.award .who { font: 700 1.05rem/1.25 var(--display); overflow-wrap: anywhere; }
.award h3 { font-size: 0.98rem; }
.awards.big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.awards.big .award { padding: 18px; }
.awards.big .who { font-size: 1.5rem; }
.awards.big .icon { font-size: 2.2rem; }

/* Free play */
/* Free play: the games list's fold-outs */
.free-new > summary, .free-finished > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 0; }
.free-new > summary::-webkit-details-marker, .free-finished > summary::-webkit-details-marker { display: none; }
.free-new > summary h2 { color: var(--pumpkin); }
.free-new > summary::after, .free-finished > summary::after { content: "▾"; color: var(--muted); font-size: 1.1rem; transition: transform 0.15s; }
.free-new[open] > summary::after, .free-finished[open] > summary::after { transform: rotate(180deg); }
.free-new[open] > summary { margin-bottom: 4px; }
.free-new:not([open]) { padding-block: 12px; }
.free-finished { display: grid; gap: 12px; }
.free-new legend .muted { font-weight: 400; }
/* Free play: the hand form */
.chips { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 6px; }
.chips legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.chips legend .muted { font-weight: 400; display: block; }
.chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label > span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; cursor: pointer; }
.chips input:checked + span { border-color: var(--pumpkin); background: color-mix(in srgb, var(--pumpkin) 18%, var(--card)); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--pumpkin); outline-offset: 2px; }
.free-team { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 10px; min-width: 0; }
.free-team-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.free-team-head h3 { font-size: 1.05rem; min-width: 0; overflow-wrap: anywhere; }
.free-team .hand-total { font: 800 1.15rem var(--display); color: var(--pumpkin); white-space: nowrap; }
.team-form.compact .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.team-form.compact .fields .caption { grid-column: 1 / -1; margin: 4px 0 -2px; font-weight: 600; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.team-form.compact .fields .check { align-self: end; padding-bottom: 10px; }
.team-form.compact .camera-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.team-form.compact .camera-row button { padding: 8px 6px; font-size: 0.9rem; }
.free-hands td, .free-hands th { padding-block: 6px; }
.free-hands tr.editing td { background: color-mix(in srgb, var(--pumpkin) 12%, transparent); }
.free-actions { justify-content: flex-start; }
.free-card { cursor: pointer; }
.free-card:hover { border-color: var(--pumpkin); }
.free-plan .check span { line-height: 1.35; }
.free-totals { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.free-totals .score { font-size: 2.6rem; }
fieldset.seats { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0; display: grid; gap: 8px; min-width: 0; }
fieldset.seats legend { font-weight: 700; padding: 0 6px; }

/* TV mode: no menu or footer, bigger type, slides that fill the screen */
body.tv .bar nav, body.tv footer.foot { display: none; }
body.tv .wrap { max-width: none; padding-block: 20px 72px; }
body.tv { font-size: clamp(16px, 1.25vw, 24px); }
.tv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 18px; }
.tv-head h1 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.tv-head .pace { margin-left: auto; font-size: 1.1rem; }
body.tv .tables { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
body.tv .team span { font-size: 1.25rem; }
body.tv .score { font-size: 2.4rem; }
/* Two columns read top to bottom, so 1st to 5th run down the left side. */
.tv-standings { list-style: none; margin: 0; padding: 0; columns: 2 26rem; column-gap: 24px; }
.tv-standings li { break-inside: avoid; margin-bottom: 10px; display: grid; grid-template-columns: 3ch 1fr auto auto; gap: 14px; align-items: baseline; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tv-standings .who { font: 700 1.5rem var(--display); overflow-wrap: anywhere; }
.tv-standings .pts { font: 800 1.8rem var(--display); }
.tv-standings .rank { font-size: 1.6rem; }
.tv-foot {
  position: fixed; inset: auto 0 0 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--bark); color: var(--bark-ink); font-size: 0.95rem;
}
.tv-foot i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: color-mix(in srgb, var(--bark-ink) 35%, transparent); }
.tv-foot i.on { background: var(--pumpkin); }
.tv-foot a { color: var(--bark-ink); }
@media (prefers-reduced-motion: no-preference) {
  .tv-slide { animation: fade 0.6s ease-out; }
}
@keyframes fade { from { opacity: 0.2; } to { opacity: 1; } }

/* Phones: a tab bar at the bottom instead of the full menu at the top */
.tabbar, .more-sheet { display: none; }
@media (max-width: 700px) {
  .bar nav { display: none; }
  .bar-inner { padding-block: 12px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--bark); border-top: 3px solid var(--pumpkin);
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  }
  .tabbar a, .tabbar button {
    display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; border-radius: 10px; background: none;
    color: color-mix(in srgb, var(--bark-ink) 80%, transparent); text-decoration: none; font: 600 0.78rem/1.1 var(--text);
  }
  .tabbar span { font-size: 1.35rem; line-height: 1; }
  .tabbar [aria-current="page"], .tabbar button[aria-expanded="true"], .tabbar button.on { background: var(--bark-ink); color: var(--bark); }
  .more-sheet:not([hidden]) {
    display: grid; position: fixed; left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 31;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.3); padding: 6px;
  }
  .more-sheet:not([hidden]) { max-height: calc(100dvh - 100px); overflow-y: auto; }
  .more-group { grid-template-columns: 1fr 1fr; gap: 2px 4px; }
  .more-group h3 { grid-column: 1 / -1; margin: 8px 10px 2px; }
  .more-sheet a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .more-sheet a { padding: 12px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
  .more-sheet a[aria-current="page"] { background: color-mix(in srgb, var(--pumpkin) 14%, transparent); }
  body.tv .tabbar, body.tv .more-sheet { display: none; }
  body.tv { padding-bottom: 0; }
}
@media print { .tabbar, .more-sheet { display: none !important; } }

/* "Next round is starting" banner */
.round-alert { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--pumpkin); color: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 0.25); }
.round-alert-inner {
  max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.round-alert p { font: 700 1.1rem/1.3 var(--display); }
.round-alert a { color: #fff; font-weight: 700; }
.round-alert button { background: #fff; color: var(--pumpkin); border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .round-alert:not([hidden]) { animation: drop 0.35s ease-out; }
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* Banner picture: the turkeys at the card table */
.hero { position: relative; border-radius: 18px; overflow: hidden; background: var(--bark); aspect-ratio: 3 / 1; max-height: 360px; width: 100%; }
.hero.slim { aspect-ratio: 4 / 1; margin-bottom: 22px; }
.hero.small { aspect-ratio: 16 / 9; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-text {
  position: absolute; inset: auto 0 0 0; padding: 18px 20px; display: grid; gap: 4px; color: #fff7ea;
  background: linear-gradient(to top, rgb(30 12 4 / 0.85), rgb(30 12 4 / 0));
}
.hero-text h1 { font-size: clamp(1.4rem, 3.6vw, 2.5rem); text-shadow: 0 2px 8px rgb(0 0 0 / 0.45); }
.hero-text p { font-size: 0.98rem; max-width: 60ch; text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
@media (max-width: 600px) {
  .hero, .hero.slim { aspect-ratio: 16 / 9; }
}

/* Rules page */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.rules ul, .rules ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; max-width: 70ch; }
.rules section { scroll-margin-top: 16px; }
.formula { font: 600 1.1rem var(--display); padding: 12px 14px; border-left: 4px solid var(--pumpkin); background: var(--bg); border-radius: 0 10px 10px 0; }
.small { font-size: 0.85rem; }

.foot { color: var(--muted); font-size: 0.85rem; padding-block: 8px 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
/* Bigger text: rem sizes scale with the root, and body text follows. */
html.big-text { font-size: 125%; }
html.big-text body { font-size: 20px; }

/* Big-screen display: larger type when shown on a TV. */
@media (min-width: 1500px) {
  body { font-size: 19px; }
  .wrap, .bar-inner { max-width: 1600px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stats b { font-size: 1.35rem; }
}

/* Final results keepsake */
.champ { text-align: center; display: grid; gap: 4px; padding: 10px 0; }
.champ h1 { font-size: clamp(2rem, 6vw, 3.4rem); color: var(--pumpkin); }
.recaps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; max-width: 75ch; }

@media print {
  @page { margin: 0.5in; }
  :root { --bg: #fff; --card: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .bar, footer.foot, .round-alert, .no-print, dialog { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .hero { max-height: 2.6in; break-inside: avoid; }
  .awards, .podium, .scroll { break-inside: avoid; }
  .award, .place, .table, .panel { box-shadow: none; }
  .scroll { overflow: visible; border: 0; }
  a { color: inherit; text-decoration: none; }
  h2 { break-after: avoid; }
  .data th, .data td { padding: 4px 10px; }
  .results .rank { font-size: 1rem; }
}

/* ---------- profiles: photos, profile page, snack board ---------- */
.av { --size: 1.6rem; width: var(--size); height: var(--size); flex: none; border-radius: 50%; object-fit: cover; vertical-align: middle;
  background: color-mix(in srgb, var(--gold) 22%, var(--card)); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.av.md { --size: 2.6rem; }
.av.lg { --size: 4.2rem; justify-self: center; margin-block: 4px; }
.av.xl { --size: 8rem; }
.av.initials { display: inline-grid; place-items: center; font: 700 calc(var(--size) * 0.4)/1 var(--text); color: var(--ink); letter-spacing: 0; }
.team .who, .tv-standings .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hello { display: flex; align-items: center; gap: 12px; min-width: 0; }
a.button { display: inline-block; text-decoration: none; border: 1px solid var(--pumpkin); background: var(--pumpkin); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
a.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }

.photo-edit { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.photo-edit .stack { gap: 8px; }
fieldset.snack-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
fieldset.snack-pick legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.snack-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); }
.snack-grid label { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 500; cursor: pointer; }
.snack-grid label:has(input:checked) { border-color: var(--pumpkin); background: color-mix(in srgb, var(--pumpkin) 12%, var(--card)); }
.snack-grid input { accent-color: var(--pumpkin); width: 1.1rem; height: 1.1rem; margin: 0; }
.snack-grid .icon { font-size: 1.3rem; line-height: 1; }

.snack-suggest { display: grid; gap: 6px; }
.snack-suggest .row { flex-wrap: wrap; gap: 6px; }
.snack-board { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.snack { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.snack .head { display: flex; align-items: center; gap: 10px; }
.snack .icon { font-size: 1.8rem; line-height: 1; }
.snack h3 { font-size: 1.15rem; flex: 1; }
.snack.mine { border-top-color: var(--pumpkin); }
.snack .count { font: 800 1.6rem/1 var(--display); color: var(--pumpkin); }
.dish h3 small { display: block; font: 500 0.85rem/1.3 var(--text); color: var(--muted); }
.dish.mine { border-top-color: var(--pumpkin); background: color-mix(in srgb, var(--pumpkin) 8%, var(--card)); }
.dish.full:not(.mine) { border-top-color: var(--line); }
.dish p { margin: 0; }
.fans { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.fans span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; }
.requests { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.requests li { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }

/* ---------- garbage picker ---------- */
button.garbage { display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border: 2px dashed var(--pumpkin); padding: 8px 14px; }
button.garbage .tally { background: var(--pumpkin); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 0.85rem; }
.extras { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.extras:empty { display: none; }
.extras li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid var(--pumpkin); border-radius: 999px; background: color-mix(in srgb, var(--pumpkin) 12%, var(--card)); font-weight: 500; }
.extras button.link { text-decoration: none; padding: 0 4px; font-size: 1rem; }
.add-extra { display: flex; gap: 8px; margin-top: 4px; }
.add-extra input { flex: 1; min-width: 0; }

/* TV: the finale, and no pop-up banners over the big screen */
body.tv .round-alert { display: none; }
.tv-final { display: grid; gap: 28px; justify-items: center; text-align: center; padding-top: 2vh; }
.tv-champ { display: flex; align-items: center; gap: 32px; text-align: left; }
.tv-champ .av.xl { --size: 14rem; border-width: 6px; box-shadow: 0 0 0 4px var(--gold); }
.tv-champ h1 { font-size: clamp(3rem, 7vw, 6rem); color: var(--pumpkin); }
.tv-champ .pts { font: 800 clamp(1.6rem, 3vw, 2.6rem) var(--display); }
.tv-podium { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.tv-podium li { display: flex; align-items: center; gap: 16px; font-size: 1.6rem; }
.tv-podium li > span { display: grid; text-align: left; }

/* No connection: shown above every page while the phone uses its saved copy */
.offline-note { position: sticky; top: 0; z-index: 20; margin: 0; padding: 10px 16px; text-align: center; font-weight: 600; background: var(--warn); color: #fff; }
.offline-note[hidden] { display: none; }

/* Director announcements */
.announce { position: sticky; top: 0; z-index: 19; background: var(--gold); color: #1d1208; }
.announce[hidden] { display: none; }
.announce-inner { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.announce-inner p { margin: 0; }
.announce button.ghost { color: #1d1208; border-color: currentColor; flex: none; }
.news { background: color-mix(in srgb, var(--gold) 16%, var(--card)); border: 1px solid var(--gold); border-left: 6px solid var(--gold); border-radius: 14px; padding: 14px 18px; }
.news p { margin: 0; }
.news p + p { margin-top: 4px; font-size: 1.15rem; font-weight: 600; }
.tv-announce { margin: 0 0 18px; padding: 14px 22px; border-radius: 14px; background: var(--gold); color: #1d1208; font: 800 clamp(1.4rem, 2.6vw, 2.4rem)/1.2 var(--display); text-align: center; }

/* Countdown tiles (the start countdown and the seats reveal) */
.clock { display: flex; justify-content: center; gap: clamp(6px, 2vw, 14px); margin: 6px 0; }
.clock .unit { display: grid; justify-items: center; min-width: clamp(3.6rem, 16vw, 5.6rem); padding: 10px 6px 8px; border-radius: 12px;
  background: rgb(255 255 255 / 0.08); border: 1px solid rgb(231 176 74 / 0.45); }
.clock b { font: 800 clamp(1.9rem, 8vw, 3.4rem)/1 var(--display); font-variant-numeric: tabular-nums; color: var(--bark-ink); }
.clock small { margin-top: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.clock .soon { font: 800 clamp(1.6rem, 6vw, 2.6rem) var(--display); }
.countdown.big .clock b { font-size: clamp(3rem, 6vw, 5.5rem); }

/* Before the seats are posted */
.waiting .hero.slim { margin-bottom: 0; }
.reveal { position: relative; z-index: 1; width: min(720px, calc(100% - 24px)); margin: -48px auto 0; text-align: center; display: grid; gap: 6px;
  padding: 18px 16px 16px; border-radius: 18px; color: var(--bark-ink); border: 2px solid var(--gold);
  background: linear-gradient(160deg, var(--bark-2), var(--bark)); box-shadow: 0 14px 36px rgb(40 18 6 / 0.35); }
.reveal .eyebrow { color: var(--gold); }
.reveal .when { margin: 0; font-weight: 600; opacity: 0.9; }
div.waiting:not(.stack) { display: grid; gap: 12px; }
.stack > .waiting .reveal { margin-top: 0; } /* My page: no picture to overlap */
.milestones { list-style: none; margin: 0 auto; padding: 0; width: min(720px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.milestones li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.milestones li.next { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.milestones .icon { font-size: 1.6rem; line-height: 1; }
.milestones span:last-child { display: grid; line-height: 1.3; }
.milestones b { font: 800 1.25rem var(--display); }
.milestones small { color: var(--muted); }
.wait-title { text-align: center; margin-top: 8px; }
.wait-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(720px, 100%); margin: 0 auto; }
.wait-tiles a { display: grid; justify-items: center; gap: 2px; padding: 16px 8px; text-align: center; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: transform 0.15s, border-color 0.15s; }
.wait-tiles a:hover, .wait-tiles a:focus-visible { transform: translateY(-2px); border-color: var(--pumpkin); }
.wait-tiles span { font-size: 1.8rem; line-height: 1.2; }
.wait-tiles b { font-size: 1.02rem; }
.wait-tiles small { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 560px) {
  .wait-tiles { grid-template-columns: 1fr 1fr; }
  .milestones { grid-template-columns: 1fr; }
  .reveal { margin-top: -28px; }
}
body.tv .reveal { width: min(1100px, 100%); padding: 28px; }
body.tv .reveal .clock b { font-size: clamp(3.4rem, 7vw, 6.5rem); }
body.tv .milestones { width: min(1100px, 100%); font-size: 1.3rem; }
/* Keep the title and subtitle clear of the countdown that overlaps the picture */
.waiting .hero-text { padding-bottom: 64px; }
@media (max-width: 560px) { .waiting .hero-text { padding-bottom: 40px; } }

/* Weekend plan */
.weekend .up-next { margin-top: -48px; }
.weekend .hero-text { padding-bottom: 64px; }
@media (max-width: 560px) { .weekend .up-next { margin-top: -28px; } .weekend .hero-text { padding-bottom: 40px; } }
.today-note { text-align: center; font-weight: 600; margin: 0; }
.day { width: min(820px, 100%); margin: 8px auto 0; display: grid; gap: 10px; }
.day h2 { font-size: 1.35rem; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 6.2rem 2.4rem 1fr; gap: 12px; align-items: start; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.event .time { font: 800 1.05rem/1.4 var(--display); color: var(--pumpkin); }
.event .icon { font-size: 1.9rem; line-height: 1; }
.event .what { display: grid; gap: 4px; min-width: 0; }
.event .what b { font-size: 1.1rem; }
.event .what p { margin: 0; }
.event .venue { font-weight: 600; } /* not .place: that is the Standings podium card */
.event .what .button { justify-self: start; margin-top: 4px; }
.event.next, .event.today { border-color: var(--gold); box-shadow: inset 5px 0 0 var(--gold); }
.event.done { opacity: 0.55; }
.event.done .time { color: var(--muted); }
a.button.small { padding: 5px 12px; font-size: 0.88rem; }
@media (max-width: 560px) {
  .event { grid-template-columns: 2.4rem 1fr; }
  .event .time { grid-column: 1 / -1; }
}
.up-next .next-title { margin: 0; font: 800 clamp(1.3rem, 4vw, 1.8rem)/1.2 var(--display); }
.up-next .before { margin: 4px 0 0; font-size: 0.92rem; opacity: 0.85; }

/* House Wi-Fi */
.wifi-body { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.wifi-qr { width: 180px; height: 180px; border-radius: 12px; background: #fff; padding: 6px; border: 1px solid var(--line); flex: none; }
.wifi-body .stack { flex: 1; min-width: 14rem; gap: 10px; }
.wifi-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.wifi-facts dt { color: var(--muted); font-weight: 600; }
.wifi-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.wifi-facts code { font-size: 1.05rem; background: var(--bg); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.wifi .ghost { justify-self: start; }

/* Weather */
.wx { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.wx-today { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.center { text-align: center; margin: 0; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.day .day-head h2 { border: 0; padding: 0; }
.forecast { width: min(820px, 100%); margin: 0 auto; display: grid; gap: 8px; }
.fc-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr)); gap: 8px; }
.fc-day { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.fc-icon { font-size: 1.8rem; line-height: 1.2; }
.fc-temp { font: 800 1.2rem var(--display); }
.fc-temp small { font: 600 0.9rem var(--text); color: var(--muted); }
.fc-day small { color: var(--muted); font-size: 0.78rem; line-height: 1.25; }
.fc-rain { color: var(--pumpkin) !important; font-weight: 700; }
/* The overnight break */
.break .milestones.leaders { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .break .milestones.leaders { grid-template-columns: 1fr; } }
body.tv .break .reveal { margin-top: 0; }

/* Sitting out */
.who.covered { align-items: center; gap: 6px; }
.who.covered > span { display: grid; line-height: 1.15; }
.who.covered small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.who.gone { align-items: center; gap: 6px; opacity: 0.7; }
.who.gone > span { display: grid; line-height: 1.15; }
.who.gone small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.gone-line { margin: 4px 0 0; font-size: 0.9rem; }
.table .dealer { margin: 2px 0 6px; font-size: 0.95rem; color: var(--muted); }
.table .dealer b { color: var(--pumpkin); }
.table.three .team small { display: block; font-size: 0.8rem; }
.sitout fieldset { border: 0; padding: 0; margin: 0; }
.sitout fieldset .check { align-items: flex-start; }
.sitout { display: grid; gap: 6px; }
.sitout summary { cursor: pointer; color: var(--pumpkin); font-weight: 600; }
.sitout form { margin-top: 8px; align-items: end; }
.out-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.out-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.runner .pts small, .place .pts small { font: 600 0.75rem var(--text); color: var(--muted); margin-left: 3px; }

/* School Reports */
.reports { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.report { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.report.mine { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.report p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.report .row { align-items: center; }
.report-photos { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); }
.report-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--line); }
#rp-text { min-height: 7rem; }
.char-count { margin: -4px 0 0; font-size: 0.85rem; text-align: right; }
.char-count.near { color: var(--pumpkin); font-weight: 600; }
.tv-report { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 3vh 4vw; }
.tv-report-who { display: flex; align-items: center; gap: 24px; }
.tv-report-who h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); color: var(--pumpkin); }
.tv-report-pics { height: calc(100vh - 140px); grid-template-rows: auto minmax(0, 1fr); padding-block: 1vh; }
.tv-report-pics .tv-report-who h1 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.tv-report-grid { display: grid; gap: 14px; width: 100%; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.tv-report-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.tv-report-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tv-report-grid img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 14px; }
.tv-report-text { margin: 0; max-width: 55ch; font: 600 clamp(1.5rem, 2.6vw, 2.4rem)/1.4 var(--text); overflow-wrap: anywhere; }

/* NFL on TV */
.nfl { display: grid; gap: 6px; padding: 10px 14px; background: var(--card); border: 1px dashed var(--line); border-radius: 14px; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.games li { display: grid; grid-template-columns: 5.6rem 1fr auto; gap: 10px; align-items: baseline; }
.games .time { font: 800 0.95rem var(--display); color: var(--pumpkin); }
.games .who { font-weight: 600; }
.games li.bears .who { color: var(--cranberry); }
.games li.post { opacity: 0.7; }
.live { color: #fff; background: var(--cranberry); border-radius: 6px; padding: 0 6px; font-size: 0.75rem; letter-spacing: 0.06em; }
.nfl-chip { font-weight: 600; }
body.tv .tv-foot .nfl-chip { background: transparent; border: 0; color: inherit; font-size: 1.05rem; }
@media (max-width: 560px) { .games li { grid-template-columns: 4.6rem 1fr; } .games li .muted { grid-column: 2; } }

/* TV: fit on one screen even with the browser's toolbar showing, and the full-screen hint */
body.tv header.bar { display: none; } /* the picture already carries the title; every pixel counts on a TV */
body.tv .wrap { padding-block: 12px 56px; }
body.tv .waiting .hero.slim { aspect-ratio: auto; height: 29vh; max-height: none; }
body.tv .waiting .hero img { object-position: 50% 45%; }
body.tv .waiting .hero-text { padding-bottom: 48px; }
body.tv .waiting .reveal { margin-top: -38px; padding: 14px 24px; gap: 2px; }
body.tv .waiting .reveal .clock b { font-size: clamp(2.6rem, 7vh, 5rem); }
body.tv .waiting .clock .unit { padding: 6px 10px 4px; min-width: 9vh; }
body.tv .waiting .milestones { font-size: 1.05rem; }
body.tv .waiting .milestones li { padding: 8px 14px; }
body.tv .waiting { gap: 10px; }
.tv-hint { font-size: 0.9rem; padding: 2px 12px; border-radius: 999px; background: var(--gold); color: #1d1208; font-weight: 700; }
.team-logo { width: 1.5em; height: 1.5em; object-fit: contain; vertical-align: -0.4em; margin-right: 4px; }
.nfl-chip .team-logo { width: 1.25em; height: 1.25em; }

/* Kitchen */
.kitchen .up-next, .kitchen-now { margin-top: -48px; }
.kitchen .hero-text { padding-bottom: 64px; }
@media (max-width: 560px) { .kitchen-now { margin-top: -28px; } .kitchen .hero-text { padding-bottom: 40px; } }
.kitchen-now-text { margin: 0 0 8px; font: 700 clamp(1.15rem, 3.4vw, 1.5rem)/1.35 var(--text); }
.kitchen-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 14%, var(--card)); border: 1px solid var(--gold); font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.step .time { font: 800 1rem/1.4 var(--display); color: var(--pumpkin); }
.step .what p { margin: 0; line-height: 1.45; }
.step .what ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--muted); }
.step.now { border-color: var(--gold); box-shadow: inset 5px 0 0 var(--gold); }
.step.next { border-style: dashed; }
.step.done { opacity: 0.55; }
.step.serve .what p { font-weight: 700; }
.step .tick { color: var(--good); font-weight: 800; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr auto; } .step .time { grid-column: 1 / -1; } }

/* Photo album */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 11rem), 1fr)); }
.g-item { display: grid; gap: 4px; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-align: left; font-weight: 500; }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--line); display: block; }
.g-item span { padding: 2px 8px 8px; font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgb(10 5 2 / 0.92); display: grid; grid-template-rows: 1fr auto; padding: 12px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: #fff7ea; padding: 10px 4px; }
.lb-bar .ghost { color: #fff7ea; }
.tv-photo { display: grid; grid-template-rows: 1fr auto; height: calc(100vh - 140px); gap: 10px; }
.tv-photo img { width: 100%; height: 100%; object-fit: contain; min-height: 0; border-radius: 14px; }
.tv-photo p { margin: 0; text-align: center; font-size: 1.4rem; }
.drafts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 11rem), 1fr)); }
.draft { position: relative; display: grid; gap: 6px; }
.draft img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.draft-drop { position: absolute; top: 6px; right: 6px; background: rgb(0 0 0 / 0.6); color: #fff; border-radius: 999px; min-width: 2.2rem; }

/* Trivia */
.trivia-banner { display: block; text-align: center; padding: 10px 16px; background: var(--gold); color: #2a1a0c; font-weight: 700; text-decoration: none; }
.trivia-banner[hidden] { display: none; }
.t-q { font: 700 1.25rem/1.35 var(--display); margin: 0; }
.t-big { font-size: 1.15rem; margin: 0; }
.t-clock b { font-size: 1.5rem; }
.t-timer { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.t-timer i { display: block; height: 100%; width: var(--p, 100%); background: var(--pumpkin); transition: width 0.25s linear; }
.choices { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px solid transparent; color: #fff; font: 600 1rem/1.3 var(--text); text-align: left; min-height: 3.2rem; }
.choice.c0 { background: #b5442c; } .choice.c1 { background: #2c63b5; } .choice.c2 { background: #9a7a12; } .choice.c3 { background: #2f8048; }
.choice .letter { flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 999px; background: rgb(255 255 255 / 0.22); font-weight: 800; }
.choice .text { flex: 1; }
.choice .count { flex: none; font-weight: 800; background: rgb(0 0 0 / 0.25); padding: 2px 9px; border-radius: 999px; }
.choice.dim { opacity: 0.35; }
.choice.right { border-color: #fff; box-shadow: 0 0 0 3px var(--good); }
.choice.mine { border-color: #fff; }
button.choice:disabled { opacity: 0.6; }
.trivia-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trivia-board li { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; }
.trivia-board li.mine { background: color-mix(in srgb, var(--pumpkin) 14%, transparent); }
.trivia-board .rank { font-weight: 800; color: var(--muted); text-align: center; }
.trivia-board .who { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.trivia-board .pts { font-weight: 800; }
.small-print { font-size: 0.8rem; }
/* Trivia on the TV */
.tv-trivia { display: grid; gap: 22px; padding: 8px 0; }
.tv-trivia h1 { font-size: 2.6rem; line-height: 1.2; margin: 0; }
.tv-trivia .eyebrow { font-size: 1.3rem; }
.tv-trivia .choices { gap: 16px; }
.tv-trivia .choice { font-size: 1.7rem; padding: 20px 24px; min-height: 5.5rem; }
.tv-trivia .choice .letter { width: 2.6rem; height: 2.6rem; }
.tv-trivia .t-foot { font-size: 1.3rem; margin: 0; color: var(--muted); }
.tv-trivia .t-big { font-size: 1.8rem; }
.tv-trivia.ready h1 { font-size: 4rem; }
.tv-t-clock b { display: inline-grid; place-items: center; min-width: 4.2rem; height: 4.2rem; border-radius: 999px; background: var(--pumpkin); color: #fff; font-size: 2.2rem; }
.tv-trivia .trivia-board { font-size: 1.5rem; }

/* Turkey temperatures */
.turkeys { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.turkey-card { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--card); border: 2px solid var(--line); }
.turkey-card.ready { border-color: var(--good); }
.turkey-card.stale { border-color: var(--warn); }
.turkey-card p { margin: 0; }
.turkey-card .t-temp { font: 800 2.4rem/1 var(--display); }
.turkey-card .t-temp small { font-size: 1rem; margin-left: 2px; }
.turkey-card .t-head { font-weight: 700; }
.turkey-card.ready .t-head { color: var(--good); }
.turkey-log .seg { display: flex; gap: 6px; flex-wrap: wrap; }
.turkey-log input { max-width: 10rem; }
.turkeys.big .turkey-card { padding: 24px; }
.turkeys.big .t-temp { font-size: 4.5rem; }
.turkeys.big .t-head, .turkeys.big .eyebrow { font-size: 1.5rem; }
.turkeys.big .muted { font-size: 1.2rem; }
/* The kitchen TV: today's steps beside the turkeys, sized to fit one TV screen */
.tv-kitchen { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5vw; align-items: start; }
.tv-crews .tv-head h1 { font-size: clamp(1.6rem, 2.8vw, 3rem); }
.crew-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4vh 1.2vw; }
.crew-board li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 1.3vh 1vw; border-radius: 12px; background: var(--card); border-left: 5px solid var(--pumpkin); }
.crew-board li.full { border-left-color: var(--line); }
.crew-board .icon { font-size: clamp(1.6rem, 2.8vw, 3rem); }
.crew-board p { margin: 0; font-size: clamp(1rem, 1.55vw, 1.8rem); line-height: 1.3; }
.crew-board .who { font-size: clamp(0.9rem, 1.3vw, 1.5rem); }
.crew-board .muted { white-space: nowrap; }
.crew-board .open { color: var(--pumpkin); font-weight: 700; }
.tv-kitchen.solo { grid-template-columns: minmax(0, 1fr); max-width: 70rem; margin-inline: auto; }
.tv-kitchen .tv-head { margin-bottom: 10px; }
.tv-kitchen .tv-head h1 { font-size: clamp(1.6rem, 2.8vw, 3rem); }
.tv-kitchen .steps { gap: 8px; }
.tv-kitchen .step { grid-template-columns: 9rem 1fr auto; padding: 10px 16px; }
.tv-kitchen .step .time { font-size: clamp(1.05rem, 1.5vw, 1.5rem); }
.tv-kitchen .step .what p { font-size: clamp(1.1rem, 1.6vw, 1.7rem); }
.tv-kitchen .step .what ul { font-size: clamp(0.9rem, 1.1vw, 1.15rem); margin-top: 4px; }
.tv-kitchen .step.now .what p { font-weight: 700; }
/* Long steps: the finished one gets two lines, the current and next ones four, so three always fit */
.tv-kitchen .step .what p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tv-kitchen .step.done .what p { -webkit-line-clamp: 2; }
.tv-kitchen .turkeys { grid-template-columns: 1fr; gap: 8px; }
.tv-kitchen .turkeys.big .turkey-card { padding: 8px 14px; gap: 2px; }
.tv-kitchen .turkeys.big .eyebrow { font-size: clamp(0.85rem, 1vw, 1.1rem); }
.tv-kitchen .turkeys.big .t-temp { font-size: clamp(1.8rem, 2.6vw, 2.8rem); margin: 0; }
.tv-kitchen .turkeys.big .t-head { font-size: clamp(1rem, 1.3vw, 1.4rem); margin: 0; }
.tv-kitchen .turkeys.big .muted { font-size: clamp(0.85rem, 1vw, 1.1rem); margin: 0; }
.tv-kitchen .turkeys.big .pts-bar { margin: 2px 0; }
.tv-kitchen .turkeys.big .turkey-card:not(:has(.t-temp small)) .pts-bar { display: none; }
.tv-kitchen .clock { margin: 0; justify-content: flex-start; }
.tv-kitchen .clock .unit { min-width: 3.6rem; padding: 4px 6px; }
.tv-kitchen .clock b { font-size: 1.8rem; }
.tv-kitchen .clock small { margin-top: 2px; font-size: 0.6rem; }
.tv-plan .step { padding: 8px 16px; }
.tv-plan .step .what p { font-size: clamp(1rem, 1.45vw, 1.5rem); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-plan .tv-head .pace { font-size: clamp(1rem, 1.4vw, 1.4rem); }
.tv-kitchen-next { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; font-size: clamp(1.1rem, 1.5vw, 1.5rem); }
.idea .idea-reply { border-left: 3px solid var(--pumpkin); padding-left: 8px; }
.idea .idea-director { flex-wrap: wrap; gap: 6px; }
.idea .idea-director input { flex: 1 1 160px; min-width: 0; }
.idea button.on { color: var(--good); }
.both-scores { border-top: 1px solid var(--line, rgba(255,255,255,0.12)); padding-top: 6px; }
.both-scores > summary { color: var(--pumpkin); }
.both-scores form { margin-top: 8px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.person-card { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; text-align: center; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; background: var(--card, transparent); }
.person-card.mine { border-color: var(--pumpkin); }
.person-card .muted { font-size: 0.85rem; line-height: 1.3; }
.person-link { color: inherit; text-decoration: none; }
.person-link:hover, .person-link:focus-visible { text-decoration: underline; }
.bio-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.bio-head h1 { margin: 0; }
.bio-head .headline { margin: 4px 0 0; font-weight: 600; }
.bio-body p { line-height: 1.55; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; }
.facts div { display: contents; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.bio-links { flex-wrap: wrap; gap: 6px; }
.bio-pair { gap: 6px; }
.bio-pair input { flex: 1 1 0; min-width: 0; }
@media (max-width: 480px) { .bio-head { grid-template-columns: auto 1fr; } .bio-head #bio-edit { grid-column: 1 / -1; } }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rate-row .who small { display: block; color: var(--muted); font-size: 0.78rem; }
.stars { display: inline-flex; gap: 2px; }
.stars .star { background: none; border: 0; padding: 4px 3px; font-size: 1.6rem; line-height: 1; color: var(--line); cursor: pointer; min-width: 36px; min-height: 40px; }
.stars .star.on { color: var(--gold); }
.stars-text { color: var(--gold); letter-spacing: 1px; }
.rating-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rating-avgs { display: flex; gap: 12px; flex-wrap: wrap; }
.snarf-btn { font: 900 1.6rem/1 var(--display); padding: 16px 22px; background: var(--cranberry); color: #fff; border-radius: 14px; letter-spacing: 1px; width: 100%; }
.snarf-done { font: 800 1.2rem/1.3 var(--display); margin: 0; }
.snarf-tag { margin: 2px 0 6px; font-weight: 800; color: var(--cranberry); }
.tv-announce.tv-snarf { background: var(--cranberry); color: #fff; font-size: clamp(1.8rem, 3.4vw, 3.2rem); animation: snarf-pop 0.6s ease-out 3; }
@keyframes snarf-pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tv-announce.tv-snarf { animation: none; } }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { background: none; color: var(--ink); border: 0; border-radius: 0; padding: 8px 14px; font-weight: 600; min-height: 40px; }
.seg button.on { background: var(--pumpkin); color: #fff; }
.day-recap h2 { margin: 0; }
.day-recap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.day-recap-list li { display: grid; grid-template-columns: 1.6em 1fr; gap: 8px; align-items: start; }
.day-recap.big { font-size: clamp(1rem, 1.5vw, 1.4rem); text-align: left; }
.helper-entry.miss { border-left: 4px solid var(--pumpkin); }
.helper-entry p { margin: 0; }
.ask-rate { align-items: center; gap: 6px; }
.start-gate .start-big { font-size: 1.25rem; padding: 14px 22px; min-height: 56px; width: 100%; }
/* The Grand Champions Wall: gold plaques on a dark wood wall. */
.champ-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, var(--bark-2), var(--bark)); }
.plaque { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 14px; border-radius: 10px; background: linear-gradient(160deg, #f6dc8f, #c9962e 55%, #e9c46a); color: #2a1a06; border: 3px solid #8a6214; box-shadow: inset 0 0 0 2px #fff3c4, 0 6px 14px rgb(0 0 0 / 35%); }
.plaque h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; color: #2a1a06; }
.plaque-photo { display: block; width: 100%; max-width: 320px; }
.plaque-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 3px solid #8a6214; box-shadow: 0 0 0 2px #fff3c4, 0 4px 10px rgb(0 0 0 / 30%); }
.plaque p { margin: 0; }
.plaque .muted { color: #4d3610; }
.plaque-year { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: 0.04em; }
.plaque-event { font-style: italic; }
.plaque-stats b { font-size: 1.2rem; }
.plaque.newest { outline: 3px solid var(--bark-ink); outline-offset: 3px; }
.plaque.empty { background: rgb(255 255 255 / 6%); border: 2px dashed var(--gold); color: var(--bark-ink); box-shadow: none; }
.plaque.empty h2, .plaque.empty .muted { color: var(--bark-ink); }

/* Host screens */
.more-sheet a[hidden] { display: none; }
.host { max-width: 40rem; }
.host fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 0; margin: 0; }
.host legend { font-weight: 700; padding: 0 6px; }
.host-years, .host-pages, .host-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.host-years a.panel { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.host-pages li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.host-row { gap: 10px; }
.host-row-tools { flex-wrap: nowrap; gap: 6px; }
.host-row-tools .small { white-space: nowrap; }
.host-link { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; align-items: center; }
.host-link input:only-of-type { grid-column: 1 / -1; }
.host-logo { border-radius: 10px; object-fit: contain; background: var(--card); border: 1px solid var(--line); }
.host-banner { position: sticky; top: 0; z-index: 5; background: var(--card); margin: 0; }
@media (max-width: 420px) { .host-link { grid-template-columns: 1fr auto; } .host-link input:nth-of-type(1), .host-link input:nth-of-type(2) { grid-column: 1 / -1; } }
