/* Gobble Clock: harvest palette, chunky friendly shapes. */
@font-face {
  font-family: "Fredoka";
  src: url("../northpole/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../northpole/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --pumpkin: #D9641E;
  --pumpkin-dark: #B84A12;
  --cranberry: #9B2335;
  --gold: #E3A72F;
  --gold-light: #F4CE73;
  --cream: #FFF6E5;
  --paper: #FFFBF2;
  --sage: #7A8B52;
  --sage-dark: #55652F;
  --brown: #5B3A1E;
  --ink: #3A2413;
  --muted: #6E5540;
  --line: #E6D2B0;
  --teal: #2F6F7E;
  --shadow: 0 4px 0 rgba(58, 36, 19, .16);
  --radius: 18px;
  --ticker-h: 52px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: calc(var(--ticker-h) + 24px);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(217, 100, 30, .055) 50%, transparent 50%),
    linear-gradient(90deg, rgba(155, 35, 53, .045) 50%, transparent 50%);
  background-size: 56px 56px;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; line-height: 1.15; margin: 0; }
h2 { font-size: 1.45rem; color: var(--brown); }
p { margin: 0; }
img { max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- scattered decoration ---------- */
.leaves { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.leaf { position: absolute; opacity: .5; }
.l1 { width: 90px; top: 210px; left: -22px; transform: rotate(-24deg); }
.l2 { width: 70px; top: 46%; right: -14px; transform: rotate(32deg); }
.l3 { width: 56px; bottom: 150px; left: 2%; transform: rotate(140deg); }
.l4 { width: 110px; bottom: 60px; right: 1.5%; opacity: .7; }
.l5 { width: 84px; top: 250px; right: 3%; transform: rotate(10deg); opacity: .6; }
@media (max-width: 1250px) { .leaves { display: none; } }

/* ---------- header ---------- */
.hero {
  position: relative; z-index: 1;
  background: var(--cranberry);
  background-image:
    radial-gradient(circle at 12% 120%, rgba(227, 167, 47, .5), transparent 45%),
    radial-gradient(circle at 92% -30%, rgba(217, 100, 30, .75), transparent 50%);
  color: var(--cream);
  border-bottom: 6px solid var(--gold);
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 16px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.mascot { width: 110px; height: 110px; flex: none; cursor: pointer; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .2)); transform-origin: 50% 90%; }
.hero-small .mascot { width: 72px; height: 72px; cursor: default; }
.mascot.gobbling { animation: wiggle .9s ease-in-out 2; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-9deg) scale(1.06); }
  50% { transform: rotate(8deg) scale(1.08); }
  80% { transform: rotate(-5deg) scale(1.04); }
}
.hero-text { flex: 1 1 260px; min-width: 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; letter-spacing: .01em; text-shadow: 0 3px 0 rgba(58, 36, 19, .35); }
.hero-small h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.tagline { margin-top: 4px; color: #FFE7BF; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- jump links ---------- */
.jump { position: sticky; top: 0; z-index: 25; background: var(--brown); border-bottom: 3px solid var(--ink); }
.jump-inner { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jump-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #FFE1B3; margin-right: 4px; }
.jump a {
  font: 600 .98rem "Fredoka", "Nunito", sans-serif; color: var(--ink); background: var(--gold-light);
  text-decoration: none; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--ink);
}
.jump a:hover, .jump a:focus-visible { background: var(--gold); }
#game-plan, #what-happens-when, #menu { scroll-margin-top: 64px; }
html { scroll-behavior: smooth; }

/* ---------- buttons and fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 700 1rem "Fredoka", "Nunito", sans-serif;
  padding: 10px 18px; min-height: 44px;
  border-radius: 999px; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-primary { background: var(--gold); }
.btn-big { font-size: 1.15rem; padding: 12px 24px; }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: .95rem; }
.btn-ghost { background: rgba(255, 246, 229, .14); color: var(--cream); border-color: var(--cream); box-shadow: 0 3px 0 rgba(58, 36, 19, .5); }
.btn-ghost.is-on { background: var(--sage-dark); }
.btn-danger { background: #fff; color: var(--cranberry); border-color: var(--cranberry); box-shadow: 0 3px 0 var(--cranberry); }
.btn-danger:hover { box-shadow: 0 4px 0 var(--cranberry); }

label { display: block; font-weight: 800; font-size: .88rem; color: var(--brown); margin-bottom: 4px; }
select, input[type="date"], input[type="search"] {
  font: 600 1.05rem "Nunito", system-ui, sans-serif; color: var(--ink);
  background: #fff; border: 2px solid var(--brown); border-radius: 12px;
  padding: 9px 12px; min-height: 46px; max-width: 100%;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field.grow { flex: 1 1 220px; }
.field select, .field input { width: 100%; }
.hint, .note { font-size: .9rem; color: var(--muted); }
.hint { margin-top: 4px; }

/* ---------- layout ---------- */
.main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 20px 16px 8px; display: grid; gap: 20px; }
.main-narrow { max-width: 760px; }
.panel {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.error {
  background: #FDE5E3; border: 2px solid var(--cranberry); color: #6D1422;
  border-radius: 12px; padding: 10px 14px; font-weight: 700;
}

/* ---------- dinner time ---------- */
.dinner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #FFF1D2; }
.dinner-fields { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.dinner-fields select { min-width: 72px; font-family: "Fredoka", sans-serif; font-size: 1.25rem; }
.dinner-fields .at, .dinner-fields .colon { font: 700 1.2rem "Fredoka", sans-serif; color: var(--brown); }
.zone { font-weight: 800; font-size: .85rem; color: var(--cream); background: var(--brown); padding: 4px 10px; border-radius: 999px; }
.clock { display: flex; gap: 12px; flex-wrap: wrap; }
.clock > div {
  background: var(--brown); color: var(--cream); border-radius: 14px; padding: 10px 16px; min-width: 150px;
  display: flex; flex-direction: column;
}
.clock .clock-left { background: var(--pumpkin-dark); }
.clock-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #FFE1B3; }
.clock-value { font: 700 1.55rem "Fredoka", sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.filters .note { padding-bottom: 12px; font-weight: 700; }
.pill-row { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill-label { font-weight: 800; font-size: .88rem; color: var(--brown); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 4px 16px 4px 6px;
  font: 700 .95rem "Nunito", system-ui, sans-serif; color: var(--ink);
  background: var(--paper); border: 2px solid var(--brown); border-radius: 999px; cursor: pointer;
}
.pill-all { padding-left: 16px; }
.pill-icon { width: 30px; height: 30px; background: var(--cream); border-radius: 50%; padding: 2px; }
.pill:hover { background: #FFF1D2; }
.pill[aria-pressed="true"] { background: var(--brown); color: #fff; border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.pill[aria-pressed="true"]::after { content: "\2713"; font-weight: 800; margin-left: 2px; }
.pill-all[aria-pressed="true"]::after { content: none; }
.m-pill-oven[aria-pressed="true"] { background: #D9641E; }
.m-pill-roaster[aria-pressed="true"] { background: #9B2335; }
.m-pill-boiling-water[aria-pressed="true"] { background: #2F6F7E; }
.m-pill-grill[aria-pressed="true"] { background: #5B3A1E; }
.m-pill-air-fryer[aria-pressed="true"] { background: #55652F; }
.m-pill-small-oven[aria-pressed="true"] { background: #E3A72F; color: #3A2413; }
.m-pill-crockpot[aria-pressed="true"] { background: #7B2D4E; }

/* ---------- timeline ---------- */
.legend { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; font-size: .88rem; font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 22px; height: 12px; border-radius: 4px; border: 2px solid var(--ink); display: inline-block; }
.swatch-cook { background: var(--pumpkin); }
.swatch-rest { background: repeating-linear-gradient(135deg, var(--gold-light) 0 5px, #FFF1D2 5px 10px); }
.swatch-now { width: 4px; height: 16px; border: 0; background: var(--cranberry); border-radius: 2px; }

.timeline { display: grid; gap: 0; }
.tl-row { display: grid; grid-template-columns: 250px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-top: 2px dashed var(--line); }
.tl-row.tl-head { border-top: 0; padding: 0 0 4px; }
.tl-row.tl-foot { border-top: 0; padding: 0; }
.tl-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tl-range { font-size: .88rem; font-weight: 700; color: var(--muted); }
.tl-icon { width: 58px; height: 58px; flex: none; }
.tl-names { display: flex; flex-direction: column; gap: 3px; min-width: 0; align-items: flex-start; }
.tl-dish { font: 600 1.15rem "Fredoka", sans-serif; }
.tl-method { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.tl-method-icon { width: 22px; height: 22px; }
.tl-times { font-size: .9rem; }
.tl-track { position: relative; height: 46px; min-width: 0; }
.tl-axis { height: 30px; }
.tick-label {
  position: absolute; bottom: 2px; transform: translateX(-50%);
  font-size: .78rem; font-weight: 800; color: var(--muted); white-space: nowrap;
}
.tick-label.tick-end { transform: translateX(-100%); }
.tick-line { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 2px dotted var(--line); }
.now-line { position: absolute; top: -10px; bottom: -10px; width: 4px; margin-left: -2px; background: var(--cranberry); border-radius: 2px; z-index: 3; }
.now-flag {
  position: absolute; top: -4px; transform: translateX(-50%); z-index: 4;
  background: var(--cranberry); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 1px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.bar {
  position: absolute; top: 4px; bottom: 4px; min-width: 6px;
  border: 2px solid var(--ink); display: flex; align-items: center; overflow: hidden; z-index: 2;
}
.bar-cook { border-radius: 12px 0 0 12px; color: #fff; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .16); }
.bar-cook.is-live { animation: sizzle 1.6s ease-in-out infinite; }
@keyframes sizzle { 50% { filter: brightness(1.14); } }
.bar-rest {
  border-left: 0; border-radius: 0 12px 12px 0; color: var(--brown);
  background: repeating-linear-gradient(135deg, var(--gold-light) 0 7px, #FFF1D2 7px 14px);
}
.bar-text { padding: 0 9px; font-size: .86rem; font-weight: 800; white-space: nowrap; }
.tl-dinner { height: 34px; }
.dinner-flag {
  position: absolute; right: 0; top: 2px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--sage-dark); color: #fff; font: 600 .95rem "Fredoka", sans-serif;
  padding: 3px 12px 3px 6px; border-radius: 999px; border: 2px solid var(--ink);
}
.dinner-flag-icon { width: 24px; height: 24px; }

/* cook-method colors (bars, tags, card edges) */
.m-oven { background: #D9641E; color: #fff; }
.m-roaster { background: #9B2335; color: #fff; }
.m-boiling-water { background: #2F6F7E; color: #fff; }
.m-grill { background: #5B3A1E; color: #fff; }
.m-air-fryer { background: #55652F; color: #fff; }
.m-small-oven { background: #E3A72F; color: #3A2413; }
.m-crockpot { background: #7B2D4E; color: #fff; }
.m-edge-oven { border-top-color: #D9641E; }
.m-edge-roaster { border-top-color: #9B2335; }
.m-edge-boiling-water { border-top-color: #2F6F7E; }
.m-edge-grill { border-top-color: #5B3A1E; }
.m-edge-air-fryer { border-top-color: #55652F; }
.m-edge-small-oven { border-top-color: #E3A72F; }
.m-edge-crockpot { border-top-color: #7B2D4E; }

.chip { display: inline-block; font-size: .8rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: #EFE2C8; color: var(--brown); }
.chip-cook { background: var(--pumpkin-dark); color: #fff; }
.chip-rest { background: var(--gold-light); color: var(--ink); }
.chip-done { background: var(--sage-dark); color: #fff; }
.chip-temp { background: #fff; color: var(--cranberry); border: 1.5px solid var(--cranberry); }
.optional { font-weight: 700; font-size: .78rem; color: var(--muted); background: #EFE2C8; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.facts .fact:nth-child(6) { background: #FDE5E3; }
.chip-warn { background: #FDE5E3; color: #6D1422; border: 1.5px solid var(--cranberry); border-radius: 10px; }

/* ---------- events ---------- */
.events { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.event {
  display: grid; grid-template-columns: 92px 44px 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 8px 14px;
}
.event-time { font: 600 1.15rem "Fredoka", sans-serif; font-variant-numeric: tabular-nums; }
.event-icon { width: 44px; height: 44px; }
.event-body { display: flex; flex-direction: column; min-width: 0; }
.event-title { font-weight: 800; }
.event-detail { font-size: .9rem; color: var(--muted); }
.event-when { font-size: .88rem; font-weight: 800; color: var(--brown); white-space: nowrap; }
.event-start { border-left: 8px solid var(--pumpkin); }
.event-out { border-left: 8px solid var(--gold); }
.event-dinner { border-left: 8px solid var(--sage-dark); background: #F1F4E6; }
.event.is-next { border-color: var(--ink); box-shadow: var(--shadow); background: #FFF1D2; }
.event.is-next .event-when { background: var(--cranberry); color: #fff; padding: 3px 12px; border-radius: 999px; }
.event.is-past { opacity: .55; }
.event.is-past .event-title { text-decoration: line-through; }
.event-empty { color: var(--muted); }

/* ---------- dish cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card {
  background: var(--paper); border: 2px solid var(--ink); border-top-width: 10px; border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.card-top { display: flex; gap: 12px; align-items: center; }
.card-art { width: 84px; height: 84px; flex: none; }
.card-title { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.card h3 { font-size: 1.3rem; }
.method-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 800; padding: 3px 12px 3px 4px; border-radius: 999px; }
.method-tag-icon { width: 26px; height: 26px; background: var(--cream); border-radius: 50%; padding: 2px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fact { background: #FFF1D2; border-radius: 10px; padding: 6px 8px; min-width: 0; }
.fact:nth-child(n+4) { background: #F1F4E6; }
.facts dt { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 0; font: 600 .98rem "Fredoka", sans-serif; }
.card-warn { font-size: .88rem; font-weight: 700; color: #6D1422; background: #FDE5E3; border-radius: 10px; padding: 6px 10px; }
.card-actions { display: flex; gap: 10px; margin-top: auto; }

.empty { text-align: center; padding: 22px 12px; display: grid; gap: 10px; justify-items: center; color: var(--muted); }
.empty-art { width: 120px; height: 120px; }
.empty-title { font: 600 1.3rem "Fredoka", sans-serif; color: var(--brown); }

/* ---------- gobble alerts ---------- */
.toasts { display: grid; gap: 10px; position: sticky; top: 62px; z-index: 20; }
.toasts:empty { display: none; }
.toast {
  display: flex; align-items: center; gap: 14px;
  background: var(--gold); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: 0 6px 0 var(--ink); animation: pop .45s cubic-bezier(.2, 1.6, .4, 1);
}
.toast-out { background: var(--gold-light); }
.toast-dinner { background: #C9D6A3; }
@keyframes pop { from { transform: scale(.85) translateY(-12px); opacity: 0; } }
.toast-art { width: 64px; height: 64px; flex: none; }
.toast-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.toast-body strong { font: 700 1.3rem "Fredoka", sans-serif; }
.toast-close { font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; flex: none; }

/* ---------- entry form ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: flex; gap: 16px; align-items: flex-end; }
.form-row.three { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.art { width: 96px; height: 96px; flex: none; background: #FFF1D2; border: 2px solid var(--ink); border-radius: 20px; padding: 6px; }
.preview { background: #F1F4E6; border: 2px dashed var(--sage-dark); border-radius: 14px; padding: 12px 14px; font-size: 1.05rem; min-height: 54px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.form .btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; box-shadow: 0 3px 0 var(--ink); }

/* ---------- events (things that aren't cooked) ---------- */
.swatch-event { background: var(--teal-event); }
:root { --teal-event: #4B5FA6; }
.bar-event { border-radius: 12px; background: var(--teal-event); color: #fff; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .16); }
.bar-event.is-live { animation: sizzle 1.6s ease-in-out infinite; }
.event-tag { display: inline-block; font-size: .8rem; font-weight: 800; padding: 2px 12px; border-radius: 999px; background: var(--teal-event); color: #fff; }
.card-event { border-top-color: var(--teal-event); }
.event-event { border-left: 8px solid var(--teal-event); }
.toast-event { background: #C9D1F0; }
.m-pill-events[aria-pressed="true"] { background: var(--teal-event); }
.dinner-line { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 3px dashed var(--sage-dark); z-index: 1; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.switch-note { color: var(--muted); font-weight: 700; }
.switch-note a { color: var(--cranberry); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.clock-field { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.clock-field legend { font-weight: 800; font-size: .88rem; color: var(--brown); margin-bottom: 4px; padding: 0; }
.clock-field select { min-width: 68px; font-family: "Fredoka", sans-serif; font-size: 1.2rem; }
.clock-field .colon { font: 700 1.2rem "Fredoka", sans-serif; color: var(--brown); }
.preview-bad { background: #FDE5E3; border-color: var(--cranberry); color: #6D1422; font-weight: 700; }

/* ---------- descriptions ---------- */
.tl-desc { font-size: .9rem; font-style: italic; color: var(--brown); overflow-wrap: anywhere; }
.card-desc { font-style: italic; color: var(--brown); overflow-wrap: anywhere; margin-top: -2px; }
.form input[type="text"] {
  font: 600 1.05rem "Nunito", system-ui, sans-serif; color: var(--ink); background: #fff;
  border: 2px solid var(--brown); border-radius: 12px; padding: 9px 12px; min-height: 46px; width: 100%;
}

/* ---------- sign-in ---------- */
.auth-pending .main, .auth-pending .jump, .auth-pending .ticker { visibility: hidden; }
.account { flex: 1 1 100%; display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: .9rem; color: #FFE7BF; margin-top: -6px; }
.account-who { overflow-wrap: anywhere; }
.account-out {
  font: 700 .88rem "Nunito", sans-serif; color: var(--cream); background: transparent; cursor: pointer;
  border: 1.5px solid rgba(255, 246, 229, .7); border-radius: 999px; padding: 4px 12px; min-height: 32px;
}
.account-out:hover { background: rgba(255, 246, 229, .15); }
.auth-main { max-width: 520px; }
.auth-form { gap: 16px; }
.auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="text"] {
  font: 600 1.05rem "Nunito", system-ui, sans-serif; color: var(--ink); background: #fff;
  border: 2px solid var(--brown); border-radius: 12px; padding: 9px 12px; min-height: 46px; width: 100%;
}
.auth-form input[inputmode="numeric"] { font-family: "Fredoka", sans-serif; font-size: 1.4rem; letter-spacing: .2em; }
.auth-intro { color: var(--muted); }
.auth-links { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; font-weight: 700; }
.auth-links a { color: var(--cranberry); }
.notice { background: #F1F4E6; border: 2px solid var(--sage-dark); color: var(--sage-dark); border-radius: 12px; padding: 10px 14px; font-weight: 700; }

/* ---------- joke ticker ---------- */
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--ticker-h); z-index: 30;
  display: flex; align-items: stretch;
  background: var(--brown); color: var(--cream); border-top: 4px solid var(--gold);
}
.ticker-badge {
  flex: none; display: flex; align-items: center; padding: 0 14px;
  background: var(--gold); color: var(--ink); font: 700 .95rem "Fredoka", sans-serif;
  text-transform: uppercase; letter-spacing: .06em;
}
.ticker-window { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: scroll 110s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.joke { display: inline-flex; align-items: center; gap: 10px; padding-right: 56px; font-size: 1.02rem; }
.joke-icon { width: 30px; height: 30px; }
.joke-q { font-weight: 700; }
.joke-a { color: var(--gold-light); font-weight: 800; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-inner { gap: 12px; }
  .mascot { width: 76px; height: 76px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .panel { padding: 14px; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .tl-row.tl-head .tl-label:empty, .tl-row.tl-foot .tl-label { display: none; }
  .tl-names { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .tl-dish { flex-basis: 100%; }
  .tl-icon { width: 48px; height: 48px; }
  .event { grid-template-columns: 76px 36px 1fr; padding: 8px 10px; gap: 8px; }
  .event-icon { width: 36px; height: 36px; }
  .event-when { grid-column: 3; justify-self: start; }
  .form-row.three { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .art { width: 72px; height: 72px; }
  .ticker-badge { display: none; }
  .jump-label { display: none; }
  .jump a { padding: 5px 12px; font-size: .92rem; }
  #game-plan, #what-happens-when, #menu { scroll-margin-top: 58px; }
  .clock > div { flex: 1 1 130px; min-width: 0; }
  .form-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-window { overflow-x: auto; }
  .ticker-track, .bar-cook.is-live, .mascot.gobbling, .toast { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
