/* ONE OVEN — shared styles */
:root {
  --cran: #a3213f;
  --cran-2: #c23a57;
  --pumpkin: #e2702a;
  --butter: #f5c96a;
  --sage: #5f7f3f;
  --sky: #3d6c8f;
  --bg: #fbf3e6;
  --paper: #fffdf8;
  --surface: #ffffff;
  --ink: #2a1a12;
  --muted: #6c5244;
  --line: #e8d8c3;
  --line-2: #d9c3a6;
  --shadow: 0 1px 0 rgba(80, 40, 10, .06), 0 6px 20px -8px rgba(80, 40, 10, .25);
  --ok: #2f7d3a;
  --warn: #b7791f;
  --bad: #b3261e;
  --radius: 14px;
  --row: 26px;
  --font: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #1a110c;
  --paper: #22170f;
  --surface: #2b1d14;
  --ink: #f7eadb;
  --muted: #c4a994;
  --line: #3e2b1f;
  --line-2: #574032;
  --cran: #e0567a;
  --cran-2: #f0718f;
  --pumpkin: #f08a43;
  --butter: #f7d27e;
  --sage: #97b673;
  --sky: #7fb0d6;
  --ok: #6fc27b;
  --warn: #e3b04b;
  --bad: #ff7b6e;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5;
  background: var(--bg); color: var(--ink);
  background-image: radial-gradient(circle at 1px 1px, rgba(163, 33, 63, .07) 1px, transparent 0);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--cran); text-underline-offset: 3px; }
a:hover { color: var(--pumpkin); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--pumpkin); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); padding: 7px 10px; border-radius: 999px; font-size: .92rem; font-weight: 700; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--line); }
.nav a[aria-current="page"] { color: var(--paper); background: var(--cran); }
.icon-btn { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; display: inline-grid; place-items: center; flex: none; }
.icon-btn:hover { border-color: var(--pumpkin); }
@media (max-width: 720px) {
  .site-head .inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 2px; }
  .head-tools { margin-left: auto; }
}
.head-tools { display: flex; gap: 6px; }

main { max-width: 1180px; margin: 0 auto; padding: 18px 14px 60px; }
.narrow { max-width: 820px; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; text-decoration: none; line-height: 1.2;
  background: var(--cran); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--cran) 60%, #000);
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
}
.btn:hover { background: var(--cran-2); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--cran) 60%, #000); }
.btn.big { font-size: 1.12rem; padding: 14px 26px; }
.btn.alt { background: var(--pumpkin); box-shadow: 0 3px 0 color-mix(in srgb, var(--pumpkin) 60%, #000); color: #1d0f05; }
.btn.alt:hover { background: color-mix(in srgb, var(--pumpkin) 85%, #fff); color: #1d0f05; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--pumpkin); color: var(--ink); }
.btn.small { padding: 7px 12px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
[data-theme="dark"] .btn { color: #1a0d08; }
[data-theme="dark"] .btn.ghost { color: var(--ink); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.grid { display: grid; gap: 14px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--line); color: var(--ink); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--pumpkin); margin-bottom: 6px; }
.muted { color: var(--muted); }
.check-cloth {
  height: 14px; border-radius: 4px;
  background: repeating-conic-gradient(var(--cran) 0 25%, transparent 0 50%) 0 0 / 14px 14px;
  opacity: .85;
}

/* ---------- home ---------- */
.hero { display: grid; gap: 24px; align-items: center; padding: 18px 0 8px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; } }
.hero h1 .accent { color: var(--cran); font-style: italic; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.deadline {
  border: 2px dashed var(--cran); border-radius: var(--radius); padding: 14px 16px; background: var(--paper);
  display: flex; gap: 14px; align-items: center;
}
.deadline .big-emoji { font-size: 2.4rem; }
.deadline strong { color: var(--cran); }
.mini-board { position: relative; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; overflow: hidden; }
.mini-board .mb-row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: center; font-size: .85rem; margin: 5px 0; }
.mini-board .mb-bar { height: 22px; border-radius: 6px; display: flex; align-items: center; padding: 0 8px; color: #fff; font-weight: 700; font-size: .78rem; white-space: nowrap; overflow: hidden; }
.mb-lab { color: var(--muted); font-weight: 700; }
.mb-track { position: relative; height: 22px; background: var(--line); border-radius: 6px; }
.mb-track .mb-bar { position: absolute; top: 0; }
.mb-dinner { position: absolute; top: 8px; bottom: 8px; width: 2px; background: var(--cran); }
.mode-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s; }
.mode-card:hover { transform: translateY(-3px); border-color: var(--pumpkin); color: var(--ink); }
.mode-card .emo { font-size: 2rem; }
.mode-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.factstrip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 28px 0; }
.fact { background: var(--paper); border-left: 5px solid var(--pumpkin); padding: 12px 14px; border-radius: 8px; }
.fact b { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--cran); }
.fact small { color: var(--muted); }
section { margin: 34px 0; }
.deadline-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.deadline-table th, .deadline-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.deadline-table tr.today td { background: color-mix(in srgb, var(--cran) 10%, transparent); font-weight: 700; }
.deadline-table tr.past td { color: var(--muted); text-decoration: line-through; }

/* ---------- level select ---------- */
.levels { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.level-card { text-align: left; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 6px; position: relative; }
.level-card:hover { border-color: var(--pumpkin); }
.level-card .num { font-family: var(--display); font-weight: 900; font-size: 1.9rem; color: var(--cran); line-height: 1; }
.level-card .stars { font-size: 1.1rem; letter-spacing: 2px; }
.level-card .meta { font-size: .85rem; color: var(--muted); }
.level-card.chaos { background: linear-gradient(135deg, color-mix(in srgb, var(--pumpkin) 22%, var(--surface)), var(--surface)); }
.stars .on { color: var(--butter); text-shadow: 0 1px 0 #8a5a00; }
.stars .off { color: var(--line-2); }

/* ---------- game ---------- */
.game-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; justify-content: space-between; margin-bottom: 10px; }
.game-top h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); margin: 0; }
.game-top .sub { color: var(--muted); font-size: .95rem; }
.game-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.story { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; font-size: .97rem; }
.story details summary { cursor: pointer; font-weight: 700; color: var(--cran); }
.story p:last-child { margin-bottom: 0; }
.shared-banner { background: color-mix(in srgb, var(--butter) 35%, var(--paper)); border: 1px solid var(--butter); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 10px; font-weight: 700; }

.tray-wrap { padding: 4px 0 6px; }
.tray { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scroll-snap-type: x proximity; }
.dish {
  flex: none; width: 128px; scroll-snap-align: start; text-align: left; font: inherit; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 7px 9px; color: var(--ink);
  display: flex; flex-direction: column; gap: 2px; position: relative; transition: transform .1s, border-color .1s;
}
.dish:hover { border-color: var(--pumpkin); }
.dish .e { font-size: 1.4rem; line-height: 1; }
.dish .n { font-weight: 700; font-size: .88rem; line-height: 1.15; }
.dish .m { font-size: .72rem; color: var(--muted); line-height: 1.25; }
.dish .r { font-size: .72rem; font-weight: 700; }
.dish.sel { border-color: var(--cran); background: color-mix(in srgb, var(--cran) 9%, var(--surface)); transform: translateY(-2px); }
.dish.placed { opacity: .62; }
.dish.placed::after { content: '✓'; position: absolute; top: 4px; right: 7px; color: var(--ok); font-weight: 900; }
.dish.locked::after { content: '🔒'; position: absolute; top: 4px; right: 6px; font-size: .8rem; }
.status { min-height: 26px; font-size: .9rem; margin: 2px 0 0; }
.status .conf { color: var(--bad); font-weight: 700; }
.status .good { color: var(--ok); font-weight: 700; }

.board-wrap { overflow: auto; max-height: 74vh; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.board { position: relative; user-select: none; -webkit-user-select: none; }
.board-head { display: flex; position: sticky; top: 0; z-index: 6; background: var(--surface); border-bottom: 2px solid var(--line-2); }
.bh-cell { flex: none; text-align: center; font-size: .7rem; font-weight: 700; padding: 5px 2px; line-height: 1.15; color: var(--muted); border-left: 1px solid var(--line); overflow: hidden; }
.bh-cell .ic { display: block; font-size: 1rem; }
.bh-cell.hl { color: var(--cran); background: color-mix(in srgb, var(--cran) 10%, transparent); }
.bh-time { flex: none; }
.board-body { position: relative; }
.lane { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); cursor: pointer;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row) * 4 - 1px), var(--line) calc(var(--row) * 4 - 1px), var(--line) calc(var(--row) * 4)),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row) - 1px), color-mix(in srgb, var(--line) 45%, transparent) calc(var(--row) - 1px), color-mix(in srgb, var(--line) 45%, transparent) var(--row)); }
.lane.oven { background-color: color-mix(in srgb, var(--pumpkin) 5%, transparent); }
.lane.hl { background-color: color-mix(in srgb, var(--ok) 10%, transparent); }
.lane.dim { cursor: not-allowed; background-color: color-mix(in srgb, var(--ink) 5%, transparent); }
.tlabel { position: absolute; left: 0; font-family: var(--mono); font-size: .68rem; color: var(--muted); padding-left: 5px; transform: translateY(-50%); white-space: nowrap; }
.tlabel.hour { font-weight: 700; color: var(--ink); }
.thermo { position: absolute; width: 8px; border-radius: 2px; }
.blocked { position: absolute; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ink) 18%, transparent) 0 6px, transparent 6px 12px); border-radius: 4px; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.blocked span { background: var(--surface); font-size: .62rem; font-weight: 700; padding: 1px 4px; border-radius: 4px; color: var(--muted); writing-mode: vertical-rl; max-height: 100%; overflow: hidden; }
.clash { position: absolute; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--bad) 40%, transparent) 0 5px, transparent 5px 10px); pointer-events: none; border-radius: 3px; z-index: 3; }
.dinner-line { position: absolute; left: 0; right: 0; height: 0; border-top: 3px solid var(--cran); z-index: 5; pointer-events: none; }
.dinner-line span { position: absolute; right: 6px; top: -22px; background: var(--cran); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.now-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed var(--pumpkin); z-index: 7; pointer-events: none; }
.now-line span { position: absolute; left: 4px; top: -11px; background: var(--pumpkin); color: #1d0f05; font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 1px 6px; border-radius: 999px; }

.block {
  position: absolute; z-index: 4; border-radius: 8px; padding: 3px 4px; overflow: hidden; cursor: grab; touch-action: none;
  color: #fff; font: inherit; text-align: left; border: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .18); line-height: 1.1;
  transition: box-shadow .12s, transform .12s;
}
.block .be { font-size: 1rem; }
.block .bn { font-size: .68rem; font-weight: 700; white-space: nowrap; }
.block .bt { font-size: .62rem; opacity: .92; font-family: var(--mono); white-space: nowrap; }
.block .bg { position: absolute; right: 3px; bottom: 2px; font-size: .78rem; }
.block.k-oven { background: linear-gradient(160deg, #c8582a, #a3213f); }
.block.k-burner { background: linear-gradient(160deg, #3d6c8f, #284c69); }
.block.k-micro { background: linear-gradient(160deg, #6b5aa6, #4b3d80); }
.block.k-slow { background: linear-gradient(160deg, #6f8a4e, #4c6534); }
.block.k-fryer { background: linear-gradient(160deg, #b7791f, #8a5208); }
.block.k-grill { background: linear-gradient(160deg, #5b4636, #3b2a1e); }
.block.sel { box-shadow: 0 0 0 3px var(--butter), 0 4px 12px rgba(0, 0, 0, .35); z-index: 8; }
.block.bad { box-shadow: 0 0 0 3px var(--bad), 0 2px 4px rgba(0, 0, 0, .2); }
.block.locked { cursor: not-allowed; background: repeating-linear-gradient(45deg, #7a5f50 0 8px, #6a5040 8px 16px); }
.block.dragging { opacity: .85; z-index: 9; cursor: grabbing; }
.block.cooking { animation: sizzle .5s ease-in-out infinite alternate; }
@keyframes sizzle { from { filter: brightness(1); } to { filter: brightness(1.25) saturate(1.2); } }
.ghost { position: absolute; z-index: 3; border-radius: 8px; border: 2px dashed var(--cran); background: color-mix(in srgb, var(--cran) 12%, transparent); pointer-events: none; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.ghost.bad { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }

.selbar { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 6px 8px 6px 14px; display: flex; gap: 6px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); max-width: calc(100vw - 16px); }
.selbar[hidden] { display: none; }
.selbar .lbl { font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.selbar button { background: color-mix(in srgb, var(--paper) 16%, transparent); color: var(--paper); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; flex: none; }
.selbar button:hover { background: var(--pumpkin); color: #1d0f05; }

.serve-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; }
.forecast { display: flex; flex-wrap: wrap; gap: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); margin: 8px 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 3px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(20, 10, 5, .55); display: grid; place-items: center; padding: 12px; }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); color: var(--ink); border-radius: 18px; max-width: 560px; width: 100%; max-height: 92vh; overflow: auto; padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h2 { margin-bottom: 4px; }
.plate-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.plate-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: .92rem; opacity: 0; animation: slidein .3s ease forwards; }
.plate-list li .e { font-size: 1.3rem; }
.plate-list li small { display: block; color: var(--muted); font-size: .78rem; }
@keyframes slidein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.big-stars { font-size: 2.6rem; letter-spacing: 6px; text-align: center; margin: 4px 0; }
.big-stars span { display: inline-block; animation: starpop .45s cubic-bezier(.3, 1.6, .5, 1) backwards; }
@keyframes starpop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.verdict { text-align: center; font-family: var(--display); font-size: 1.3rem; font-weight: 800; }
.toast { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; z-index: 120; font-weight: 700; font-size: .92rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); max-width: 92vw; text-align: center; }
.toast[hidden] { display: none; }

/* ---------- forms / tools ---------- */
label.field { display: grid; gap: 4px; font-weight: 700; font-size: .92rem; }
input[type="number"], input[type="text"], input[type="time"], input[type="date"], select {
  font: inherit; padding: 9px 11px; border-radius: 10px; border: 2px solid var(--line-2); background: var(--surface); color: var(--ink); width: 100%;
}
input[type="range"] { width: 100%; accent-color: var(--cran); }
.seg { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg button { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: transparent; color: var(--ink); padding: 8px 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--cran); color: #fff; }
.big-number { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 9vw, 4rem); color: var(--cran); line-height: 1; }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-align: center; min-width: 70px; }
.countdown b { display: block; font-family: var(--mono); font-size: 1.6rem; }
.countdown small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.thaw-visual { display: flex; gap: 4px; flex-wrap: wrap; margin: 10px 0; }
.thaw-day { flex: 1 1 60px; min-width: 60px; border-radius: 10px; padding: 8px 4px; text-align: center; font-size: .78rem; border: 1px solid var(--line); background: var(--surface); }
.thaw-day.on { background: color-mix(in srgb, var(--sky) 22%, var(--surface)); border-color: var(--sky); }
.thaw-day.cook { background: color-mix(in srgb, var(--pumpkin) 30%, var(--surface)); border-color: var(--pumpkin); }
.thaw-day.today { outline: 3px solid var(--cran); }
.thaw-day b { display: block; font-size: 1rem; }
.menu-pick { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.menu-pick label { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 10px; padding: 7px 9px; cursor: pointer; font-size: .9rem; }
.menu-pick label:has(input:checked) { border-color: var(--cran); background: color-mix(in srgb, var(--cran) 8%, var(--surface)); }
.menu-pick input { accent-color: var(--cran); width: 18px; height: 18px; flex: none; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.steps time { font-family: var(--mono); font-weight: 700; color: var(--cran); }
.steps li.dinner time, .steps li.dinner { color: var(--cran); font-weight: 700; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.row > * { flex: 1 1 160px; }

/* ---------- quiz ---------- */
.quiz-card { max-width: 640px; margin: 0 auto; }
.q-progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.q-progress div { height: 100%; background: var(--cran); transition: width .3s; }
.answers { display: grid; gap: 8px; margin: 14px 0; }
.answers button { font: inherit; text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; font-weight: 700; }
.answers button:hover:not([disabled]) { border-color: var(--pumpkin); }
.answers button.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--surface)); }
.answers button.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.explain { background: var(--paper); border-left: 4px solid var(--pumpkin); padding: 10px 12px; border-radius: 6px; font-size: .95rem; }
.explain a { font-size: .85rem; }

/* ---------- about ---------- */
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.src-list { font-size: .92rem; }

footer.site-foot { border-top: 1px solid var(--line); padding: 22px 14px 40px; text-align: center; color: var(--muted); font-size: .88rem; }
footer.site-foot a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .site-head, .site-foot, .no-print, .selbar { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; }
}
