/* Beat The Chefs — a television kitchen after dark: slate counter, steel pan, gas flame. One committed dark world. */
:root {
  --ink: #0a181b; --slate: #112326; --slate-2: #193237; --line: #2a4a50;
  --cream: #f6ead4; --paper: #f3e6cb; --paper-ink: #2a2118; --paper-line: #d8c7a3;
  --muted: #8fb8b4; --flame: #ff7a2f; --amber: #ffb347; --copper: #c96a35;
  --good: #58b368; --bad: #ff5a4f;
  --display: 'Bagel Fat One', 'Arial Black', Impact, system-ui, sans-serif;
  --ui: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 15px/1.45 var(--ui); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
kbd { font: 600 11px var(--ui); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; opacity: .7; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.logo { font: 400 26px/1 var(--display); color: var(--cream); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo span { color: var(--flame); }
.logo.big { font-size: clamp(36px, 10.4vw, 96px); text-shadow: 0 5px 0 #071113, 0 0 60px rgba(255, 122, 47, .35); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 800 15px/1 var(--ui); padding: 12px 18px; border-radius: 999px; color: #2a1404;
  background: linear-gradient(#ffc56b, var(--flame)); box-shadow: 0 4px 0 #9a3f10, 0 10px 24px rgba(255, 122, 47, .25); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #9a3f10; }
.btn.big { font: 400 24px/1 var(--display); padding: 16px 30px; letter-spacing: .02em; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--amber); }
.btn[disabled] { opacity: .5; cursor: default; }
.icon-btn { background: transparent; border: 0; box-shadow: inset 0 0 0 2px var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.icon-btn[aria-pressed="true"] { color: var(--cream); }

/* — layout */
.app { min-height: 100dvh; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(#0e2125, var(--ink)); }
.brief-chip { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; padding-left: 16px; border-left: 2px solid var(--line); min-width: 0; }
.brief-chip small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brief-chip strong { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock { font: 400 34px/1 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; background: #071113; border: 2px solid var(--line); border-radius: 12px; padding: 6px 16px 8px; min-width: 112px; text-align: center; }
.clock.late { color: var(--bad); border-color: var(--bad); animation: pulse .5s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.06); } }

.kitchen { flex: 1; display: grid; grid-template-columns: 318px minmax(0, 1fr) 312px; grid-template-areas: "pantry stove ticket"; gap: 16px; padding: 16px 18px 18px; min-height: 0; }
.pantry { grid-area: pantry; display: flex; flex-direction: column; min-height: 0; background: var(--slate); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stove { grid-area: stove; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ticket { grid-area: ticket; }

/* — pantry */
.tabs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); flex: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; cursor: pointer; background: var(--slate-2); color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 11px; border-radius: 999px; }
.tabs button:hover, .tabs button.on { color: #2a1404; background: var(--amber); }
.shelf { overflow-y: auto; padding: 4px 12px 14px; max-height: calc(100dvh - 150px); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shelf h3 { font: 600 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 2px 8px; }
.shelf .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.bowl { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.bowl .dish { width: 100%; max-width: 86px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0c1214; box-shadow: 0 5px 12px rgba(0, 0, 0, .5), 0 0 0 2px #0c1214; transition: transform .12s, box-shadow .12s; }
.bowl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.48); pointer-events: none; display: block; }
.bowl span { font-size: 12px; font-weight: 600; line-height: 1.15; text-align: center; color: var(--cream); }
.bowl:hover .dish { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 18px rgba(0, 0, 0, .55), 0 0 0 2px var(--amber); }
.bowl.used { cursor: default; }
.bowl.used .dish { opacity: .32; filter: grayscale(.7); transform: none; box-shadow: 0 0 0 2px #0c1214; }
.bowl.used span { color: var(--muted); }
.bowl em { position: absolute; top: -2px; right: 6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--good); color: #06210b; font: 800 12px/22px var(--ui); text-align: center; padding: 0 5px; font-style: normal; }
.ghost-bowl { position: fixed; z-index: 60; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .6), 0 0 0 3px var(--amber); transform: rotate(-6deg) scale(1.08); }
.ghost-bowl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.48); }

/* — stove */
.stage { position: relative; flex: 1; min-height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 45%, rgba(10, 24, 27, 0) 30%, rgba(5, 12, 14, .88) 100%), url(/art/counter.webp) center / cover, #101a1c; }
.stage.drop-hot { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 179, 71, .35); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; display: block; }
.stage canvas:active { cursor: grabbing; }
.toast { position: absolute; left: 50%; top: 16px; transform: translate(-50%, -8px); max-width: calc(100% - 32px); background: rgba(7, 17, 19, .9); border: 1px solid var(--line); color: var(--cream); font-weight: 800; font-size: 15px; padding: 9px 16px; border-radius: 999px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { border-color: var(--bad); color: #ffd9d5; }
.controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--slate); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; }
.heat { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.heat label { font: 400 20px/1 var(--display); color: var(--amber); }
.heat output { font-weight: 800; min-width: 74px; font-variant-numeric: tabular-nums; }
.step { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: var(--slate-2); color: var(--cream); font: 800 22px/1 var(--ui); }
.step:hover { background: var(--line); }
.heat input[type=range] { flex: 1; min-width: 60px; height: 38px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --pct: 0%; }
.heat input[type=range]::-webkit-slider-runnable-track { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #3b82f6, #ffb347 45%, #ff5a2f 80%, #ff2a1a) 0 / var(--pct) 100% no-repeat, #071113; box-shadow: inset 0 0 0 1px var(--line); }
.heat input[type=range]::-moz-range-track { height: 14px; border-radius: 7px; background: #071113; box-shadow: inset 0 0 0 1px var(--line); }
.heat input[type=range]::-moz-range-progress { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #3b82f6, #ffb347, #ff5a2f); }
.heat input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfd6d8 45%, #7d8a8d); border: 3px solid #071113; box-shadow: 0 3px 8px rgba(0, 0, 0, .6); }
.heat input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfd6d8 45%, #7d8a8d); border: 3px solid #071113; }
.pan-temp { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pan-temp i { display: block; width: 86px; height: 8px; border-radius: 4px; background: #071113; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pan-temp b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3b82f6, #ffb347, #ff3b1f); background-size: 86px 100%; }

/* — the ticket: a paper docket on the pass */
.ticket { align-self: start; background: var(--paper); color: var(--paper-ink); border-radius: 4px 4px 14px 14px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); position: relative; max-height: calc(100dvh - 100px); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: radial-gradient(circle at 7px 0, transparent 5px, var(--paper) 5.5px) 0 0 / 14px 8px repeat-x; }
.ticket-no { font: 600 11px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.ticket h2 { font: 400 26px/1.05 var(--display); text-wrap: balance; }
.ticket-line { font-size: 13.5px; padding-bottom: 10px; border-bottom: 2px dashed var(--paper-line); }
.ticket label, .ticket h3 { font: 800 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; display: flex; justify-content: space-between; }
.ticket h3 span { font-weight: 600; opacity: .65; font-variant-numeric: tabular-nums; }
.ticket input { width: 100%; border: 2px solid var(--paper-ink); background: #fffaf0; color: var(--paper-ink); border-radius: 8px; padding: 9px 11px; font-weight: 600; }
.ticket input::placeholder { color: #a39679; font-weight: 400; }
.rows { display: flex; flex-direction: column; gap: 5px; overflow-y: auto; min-height: 90px; flex: 1 1 auto; scrollbar-width: thin; }
.rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "pic name state" "pic bar bar"; column-gap: 8px; row-gap: 3px; align-items: center; font-size: 13px; }
.rows li.empty { display: block; opacity: .65; font-style: italic; padding: 6px 0; }
.rows .pic { grid-area: pic; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #0c1214; }
.rows .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); display: block; }
.rows .nm { grid-area: name; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .st { grid-area: state; font: 800 11px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: #7a6b52; }
.rows .st.perfect { color: #1f7a33; } .rows .st.over { color: #b0570e; } .rows .st.burnt, .rows .st.split, .rows .st.catching { color: #c0271d; }
.rows .bar { grid-area: bar; position: relative; height: 7px; border-radius: 4px; background: var(--paper-line); }
.rows .bar .win { position: absolute; top: 0; bottom: 0; background: var(--good); border-radius: 4px; }
.rows .bar .mark { position: absolute; top: -4px; width: 5px; height: 15px; margin-left: -2.5px; border-radius: 3px; background: var(--paper-ink); box-shadow: 0 0 0 1.5px var(--paper); transition: left .2s linear; }
.rows .bar.hot { background: #f1b3a3; }
.rows li.plain { grid-template-areas: "pic name state"; }
.rows li.plain .bar { display: none; }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 2px dashed var(--paper-line); }
.gauges dt { font: 800 10px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.gauges dd { font-weight: 800; font-size: 14px; }
.gauges dd.good { color: #1f7a33; } .gauges dd.warn { color: #c0271d; }
.ticket .btn.big { margin-top: 8px; width: 100%; }

/* — overlays */
.overlay { position: fixed; inset: 0; z-index: 40; display: none; overflow-y: auto; padding: 24px 16px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 122, 47, .16), transparent 55%), rgba(5, 12, 14, .94); backdrop-filter: blur(6px); }
.overlay.show { display: grid; place-items: start center; }
.title-card { width: min(100%, 620px); margin-block: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: 12px; }
/* a dare from someone's share page: the banner on the first screen, the two plates side by side at the verdict, the line on a share page */
.daily { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 0; font-size: 13px; color: var(--muted); min-height: 26px; }
.daily span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.daily span:first-child { color: var(--amber); }
.streak { font-size: 14px; color: var(--amber); }
.dare-box { width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; background: linear-gradient(#2c170d, #1c1210); border: 2px solid var(--copper); border-radius: 14px; padding: 12px 14px; }
.dare-box b { font: 400 19px/1.15 var(--display); color: #ffc9a3; text-wrap: balance; overflow-wrap: anywhere; }
.dare-box p { margin: 0; font-size: 13.5px; color: var(--cream); }
.dare-acts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.dare-acts .link { font-size: 13px; }
.dish-card.dared::before { content: 'The dare'; align-self: start; font: 800 10.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--amber); border-radius: 999px; padding: 4px 8px; }
.dare-result { display: flex; flex-direction: column; gap: 10px; text-align: center; border-radius: 16px; padding: 14px; border: 2px solid var(--line); background: var(--slate); }
.dare-result > strong { font: 400 clamp(20px, 3.6vw, 27px)/1.1 var(--display); text-wrap: balance; }
.dare-result.won { border-color: var(--good); } .dare-result.won > strong { color: #b9f0c3; }
.dare-result.lost { border-color: var(--copper); } .dare-result.lost > strong { color: #ffc9a3; }
.dare-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dare-pair > div { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.dare-pair img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); background: #0b1517; }
.dare-pair small { font: 800 10.5px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-top: 4px; }
.dare-pair b { font: 400 16px/1.15 var(--display); text-wrap: balance; overflow-wrap: anywhere; max-width: 100%; }
.dare-pair span { font: 600 12.5px/1.3 var(--ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.dare-result > a { font-size: 13px; color: #8fc7c2; }
.share-dare { font-size: 14.5px; color: var(--cream); border-left: 3px solid var(--copper); padding-left: 10px; }
.share-dare a { color: #8fc7c2; }
.clip { width: min(100%, 520px); margin: 0; display: flex; flex-direction: column; gap: 6px; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 14px; border: 1px solid var(--line); background: #0b1517; }
.clip figcaption { font-size: 12.5px; color: var(--muted); }
.eyebrow { font: 800 12px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.level-pick { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .level-pick { grid-template-columns: 1fr; } }
.level-pick button { display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer; background: var(--slate); border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; color: var(--cream); font: inherit; transition: border-color .12s; }
.level-pick b { font: 800 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.level-pick span { font: 400 20px/1.1 var(--display); }
.level-pick small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.level-pick .lock-note { font: 700 12px/1.35 var(--ui); font-style: normal; color: var(--amber); }
.level-pick button.locked { cursor: not-allowed; border-style: dashed; }
.level-pick button.locked b, .level-pick button.locked span, .level-pick button.locked small { opacity: .5; }
.level-pick button.locked b::after { content: " · locked"; }
.claim-level { font: 700 14px/1.35 var(--ui); color: var(--amber); }
.level-pick button[aria-checked="true"] { border-color: var(--flame); background: var(--slate-2); box-shadow: 0 0 0 3px rgba(255, 122, 47, .22); }
.star-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; background: var(--slate-2); border: 2px solid var(--flame); border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 34px rgba(255, 122, 47, .22); }
.star-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #0c1b1e; }
.star-card small { font: 800 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.star-card b { display: block; font: 400 30px/1.05 var(--display); margin-top: 3px; }
.star-card p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.star-how { font-size: 13.5px; color: var(--muted); text-align: left; }
.box-card { display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--slate-2); border: 2px solid var(--flame); border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 34px rgba(255, 122, 47, .22); }
.box-card small { font: 800 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.box-card p { font-size: 13.5px; color: var(--muted); }
.box-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.box-items li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.box-items img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #0c1b1e; }
.box-items b { font: 400 19px/1.1 var(--display); }
.link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link:hover { color: var(--amber); }
.pick .link { align-self: start; font-size: 13px; }
.brief-card { width: 100%; background: var(--paper); color: var(--paper-ink); border-radius: 14px; padding: 16px 20px 18px; transform: rotate(-1deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.brief-card small { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.brief-card h2 { font: 400 clamp(28px, 6vw, 38px)/1.05 var(--display); margin: 6px 0 4px; text-wrap: balance; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; text-align: left; }
.howto li { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
.howto b { display: block; color: var(--cream); font: 400 17px/1.2 var(--display); }
.panel { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.panel figure { display: flex; align-items: center; gap: 10px; text-align: left; }
.panel img, .judge img, .quotes img { border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--amber); }
.panel img { width: 52px; height: 52px; }
.panel figcaption { font-weight: 800; font-size: 13px; line-height: 1.2; }
.panel small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.fine { font-size: 12px; color: #6f9490; max-width: 46ch; }
.board-wrap { width: 100%; }
.board-wrap h3 { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; text-align: left; }
.board { display: grid; gap: 4px; counter-reset: b; text-align: left; }
.board li { counter-increment: b; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 10px; background: var(--slate); border-radius: 8px; font-size: 13.5px; }
.board li::before { content: counter(b); color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.board a { color: var(--cream); text-decoration: none; display: flex; gap: 8px; align-items: baseline; min-width: 0; white-space: nowrap; }
.board a strong { flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.board a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 12.5px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.board-wrap .board-head h3 { margin-bottom: 0; }
.seg { display: inline-flex; flex: none; background: #0c1b1e; border-radius: 999px; padding: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--muted); font: 800 11px/1 var(--ui); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--slate-2); color: var(--cream); }
.board-empty { font-size: 13px; color: var(--muted); text-align: left; padding: 8px 10px; background: var(--slate); border-radius: 8px; }
.recipe-box { background: var(--slate); border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.recipe-box summary { list-style: none; cursor: pointer; padding: 12px 40px 12px 14px; display: grid; gap: 3px; position: relative; border-radius: 14px; }
.recipe-box summary::-webkit-details-marker { display: none; }
.recipe-box summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform .15s; }
.recipe-box[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.recipe-box summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.recipe-box summary small { font: 800 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.recipe-box summary b { font: 400 20px/1.15 var(--display); color: var(--cream); text-wrap: balance; overflow-wrap: anywhere; }
.recipe-box > :not(summary) { margin-inline: 14px; }
.recipe-box h4 { font: 800 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; margin-bottom: 6px; }
.recipe-box h4 span { letter-spacing: 0; text-transform: none; font-weight: 400; }
.rc-how { font-size: 13.5px; color: var(--muted); }
.recipe-box ul, .recipe-box ol { display: grid; gap: 5px; font-size: 14.5px; line-height: 1.4; padding-left: 22px; }
.recipe-box ul { list-style: none; padding-left: 0; }
.recipe-box ul li { padding-left: 22px; position: relative; overflow-wrap: anywhere; }
.recipe-box ul li.had::before { content: "✓"; position: absolute; left: 2px; color: var(--amber); font-weight: 800; }
.recipe-box ul li.had { color: var(--cream); }
.recipe-box li.sub { list-style: none; padding-left: 0; margin-left: -22px; font: 800 11px/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.recipe-box ul li.sub { margin-left: 0; }
.rc-credit { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 14px; margin-bottom: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.rc-credit a { color: var(--amber); }
.claim-box { background: linear-gradient(100deg, #24130c, var(--slate) 70%); border: 1px solid var(--copper); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.claim-box h3 { font: 400 21px/1.1 var(--display); text-wrap: balance; }
.claim-note { font-size: 13px; color: var(--muted); }
.claim-box form { display: grid; gap: 6px; }
.claim-box label { font: 800 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.claim-box label b { color: var(--cream); letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.claim-box label.check { text-transform: none; letter-spacing: 0; font: 400 13px/1.3 var(--ui); display: flex; gap: 8px; align-items: center; cursor: pointer; }
.claim-box input[type=text], .claim-box input[type=email] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 2px solid var(--line); background: #0c1b1e; color: var(--cream); font: 600 16px/1.2 var(--ui); }
.claim-box input::placeholder { color: #4d6c70; font-weight: 400; }
.claim-box #claimPin { font-size: 24px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.claim-box .btn { margin-top: 6px; }
.claim-box .link { justify-self: start; font-size: 13px; margin-top: 2px; }
.claim-status { font-size: 13px; font-weight: 600; color: var(--amber); }
.claim-status:empty { display: none; }
.claim-status.bad { color: var(--bad); }
.fine b { color: var(--cream); }
.board a:hover { color: var(--amber); }
.board b { color: var(--amber); font-variant-numeric: tabular-nums; }
.board li.me { box-shadow: inset 0 0 0 2px var(--amber); }

/* — judging */
.verdict { width: min(100%, 1040px); margin-block: auto; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
.plate-col { display: flex; flex-direction: column; gap: 12px; text-align: center; position: sticky; top: 0; }
.plate-photo { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #0c1214; box-shadow: 0 24px 50px rgba(0, 0, 0, .6), 0 0 0 3px var(--line); }
.plate-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .5s; }
.plate-photo img.swap { opacity: 0; }
.photo-note { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 12px; font-weight: 600; background: rgba(7, 17, 19, .82); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
.photo-note:empty { display: none; }
.plate-col h2 { font: 400 clamp(26px, 4.4vw, 36px)/1.05 var(--display); text-wrap: balance; }
.v-brief { color: var(--muted); font-size: 13.5px; }
.score-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tasting { font: 400 24px/1.2 var(--display); color: var(--amber); }
.judges { display: flex; flex-direction: column; gap: 10px; }
.judge { display: grid; grid-template-columns: 64px minmax(0, 1fr) 68px; gap: 14px; align-items: center; background: var(--slate); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; animation: rise .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.judge img { width: 64px; height: 64px; }
.judge h3 { font-size: 15px; font-weight: 800; line-height: 1.2; }
.judge h3 small { display: block; font: 600 11px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.judge p { font-size: 14.5px; margin-top: 4px; }
.paddle { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font: 400 26px/1 var(--display); color: #2a1404; background: radial-gradient(circle at 40% 30%, #ffe7ae, var(--amber) 60%, var(--copper)); box-shadow: 0 6px 0 #7b3a17, 0 12px 20px rgba(0, 0, 0, .4); animation: flip .5s .25s cubic-bezier(.2, .9, .3, 1.3) both; font-variant-numeric: tabular-nums; }
@keyframes flip { from { transform: rotateY(90deg) scale(.6); opacity: 0; } }
.total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.total span { font: 400 clamp(76px, 13vw, 120px)/.9 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; text-shadow: 0 5px 0 #7b3a17; }
.total small { font-size: 22px; font-weight: 800; color: var(--muted); }
.total strong { font: 400 26px/1 var(--display); margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--cream); color: var(--paper-ink); transform: rotate(-2deg); }
.bars { display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 70px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.bars i { display: block; height: 10px; border-radius: 5px; background: #071113; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bars b { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--copper), var(--amber)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bars em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.share-box p { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.heard { display: flex; flex-direction: column; gap: 8px; }
.heard p { font: 800 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.heard-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.heard-row .btn { font-size: 13px; }
.heard-skip { background: none; border: 0; color: var(--muted); font: 600 13px var(--ui); text-decoration: underline; cursor: pointer; padding: 6px; }
.heard small { font-size: 12px; color: var(--muted); }
.again { display: flex; }
.unofficial { font-size: 12.5px; color: var(--bad); font-weight: 600; }

/* — share page */
body.share { min-height: 100dvh; background: radial-gradient(ellipse at 50% 0%, rgba(255, 122, 47, .16), transparent 55%), var(--ink); }
.share-wrap { width: min(100%, 760px); margin-inline: auto; padding: 22px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.share-card { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.share-body { display: flex; flex-direction: column; gap: 16px; }
.share-body h1 { font: 400 clamp(30px, 6vw, 44px)/1.05 var(--display); text-wrap: balance; }
.share-rank { color: var(--muted); font-weight: 600; }
.quotes { display: grid; gap: 10px; }
.quotes blockquote { margin: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; background: var(--slate); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.quotes img { grid-row: span 2; width: 56px; height: 56px; }
.quotes cite { font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.made { color: var(--muted); font-size: 13.5px; }
.share-body .btn.big { align-self: start; }

/* — narrow screens: the stove comes first, the pantry becomes a strip you swipe */
@media (max-width: 1020px) {
  .kitchen { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stove" "pantry" "ticket"; padding: 12px 16px 20px; gap: 12px; }
  .bar { padding: 8px 16px; gap: 10px; }
  .logo { font-size: 20px; }
  .brief-chip { padding-left: 10px; }
  .brief-chip strong { font-size: 14px; }
  .clock { font-size: 26px; min-width: 88px; padding: 4px 10px 6px; }
  .icon-btn { padding: 7px 10px; font-size: 12px; }
  .stage { flex: none; min-height: 0; height: min(46dvh, 92vw); }
  .controls { padding: 10px 12px; gap: 10px; }
  .pan-temp { display: none; }
  .shelf { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 10px 12px 12px; align-items: flex-start; }
  .shelf section { flex: none; }
  .shelf h3 { padding: 0 0 8px; }
  .shelf .grid { display: flex; gap: 8px; }
  .bowl { width: 68px; touch-action: pan-x; }
  .bowl span { font-size: 11px; }
  .ticket { max-height: none; }
  .verdict { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .plate-col { position: static; width: min(100%, 340px); margin-inline: auto; }
  .howto { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brief-chip small { display: none; }
  .judge { grid-template-columns: 48px minmax(0, 1fr) 54px; gap: 10px; padding: 10px; }
  .judge img { width: 48px; height: 48px; }
  .paddle { width: 54px; height: 54px; font-size: 21px; }
  .bars li { grid-template-columns: 78px minmax(0, 1fr) 62px; }
  .total strong { margin-left: 0; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ———————————————————————————————— Level 1, round two: the house chef, the sous-chef, the board, the resting plate */
.sideline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
.side { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--slate); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; min-height: 86px; }
.side img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--line); }
.side h3 { font: 800 13.5px/1.2 var(--ui); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.side h3 small { font: 600 10.5px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.side p { font-size: 13.5px; line-height: 1.35; margin-top: 2px; }
.side .mini { font: 600 11px/1.3 var(--ui); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 14px; }
.side.rival img { box-shadow: 0 0 0 2px var(--copper); }
.side.rival.done { border-color: var(--copper); }
.side.coach img { box-shadow: 0 0 0 2px var(--good); }
.side.coach.urgent { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(255, 179, 71, .25); }
#coachTrick { font: 800 10.5px/1 var(--ui); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #06210b; background: var(--good); border-radius: 999px; padding: 3px 8px; }
.side.pop { animation: nudge .35s ease-out; }
@keyframes nudge { 0% { transform: translateY(3px); filter: brightness(1.35); } 100% { transform: none; filter: none; } }

.prep { position: absolute; left: 12px; bottom: 12px; z-index: 3; }
.chop { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; padding: 10px 16px 10px 10px; border-radius: 16px; border: 2px solid #5b3b1c; color: #2a1404;
  background: repeating-linear-gradient(92deg, #d9a465 0 14px, #cf9856 14px 30px); box-shadow: 0 10px 24px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .18); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.chop:active { transform: translateY(2px); }
.chop.done { border-color: var(--good); box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 0 0 3px rgba(88, 179, 104, .55); }
.chop.pop { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px) rotate(-1deg); } 75% { transform: translateX(4px) rotate(1deg); } }
.on-board { position: relative; width: 78px; height: 78px; flex: none; border-radius: 50%; overflow: visible; }
.on-board img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
.knife { position: absolute; right: -8px; top: -14px; width: 15px; height: 66px; border-radius: 3px 3px 9px 2px; background: linear-gradient(90deg, #f5f7f8, #aab4b8 70%, #7d898e); transform-origin: 50% 100%; transform: rotate(8deg) translateY(16px); opacity: .55; transition: transform .16s ease-out, opacity .16s; box-shadow: 0 2px 5px rgba(0, 0, 0, .4); }
.knife::after { content: ""; position: absolute; left: 1px; right: 1px; top: -20px; height: 22px; border-radius: 4px; background: #2a1404; }
.knife.up { transform: rotate(-16deg) translateY(-6px); opacity: 1; }
.knife.pop { animation: cut .16s ease-in; }
@keyframes cut { 0% { transform: rotate(-16deg) translateY(-6px); } 60% { transform: rotate(10deg) translateY(22px); } 100% { transform: rotate(8deg) translateY(16px); } }
.prep-txt { display: flex; flex-direction: column; gap: 5px; min-width: 132px; }
.prep-txt b { font: 400 18px/1.1 var(--display); }
.prep-txt small { font: 700 11.5px/1.3 var(--ui); }
.dots { display: flex; gap: 4px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; background: rgba(42, 20, 4, .22); box-shadow: inset 0 0 0 1.5px rgba(42, 20, 4, .5); }
.dots i.on { background: #2f8a41; box-shadow: none; }

.resting { position: absolute; right: 12px; bottom: 12px; z-index: 3; max-width: min(46%, 250px); background: rgba(7, 17, 19, .88); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.resting small { font: 800 10.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#restItems { display: flex; flex-direction: column; gap: 5px; }
#restItems button { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--slate-2); border-radius: 999px; padding: 3px 10px 3px 3px; cursor: pointer; font-size: 12.5px; font-weight: 600; text-align: left; }
#restItems img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
#restItems span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#restItems em { font: 800 11px/1 var(--ui); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
#restItems button.rested { border-color: var(--good); }
#restItems button.rested em { color: var(--good); }

.bowl .tag { position: absolute; top: -2px; left: 4px; font: 800 9.5px/1 var(--ui); font-style: normal; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 6px; pointer-events: none; }
.bowl .tag:empty { display: none; }
.bowl .tag.chop { background: var(--amber); color: #2a1404; }
.bowl .tag.ready { background: var(--good); color: #06210b; }

.rows li.can-rest { grid-template-columns: 26px minmax(0, 1fr) auto auto; grid-template-areas: "pic name state rest" "pic bar bar bar"; }
.rest-btn { grid-area: rest; border: 1.5px solid var(--paper-ink); background: transparent; color: var(--paper-ink); border-radius: 999px; font: 800 10.5px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; cursor: pointer; }
.rest-btn:hover { background: var(--paper-ink); color: var(--paper); }

.btn.locked, .btn[aria-disabled="true"] { background: #cdbf9f; color: #6c5f48; box-shadow: 0 4px 0 #a2916b; cursor: not-allowed; font: 800 15px/1 var(--ui); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.btn.locked:hover { transform: none; }

.pick { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.pick h2 { font: 400 22px/1.1 var(--display); }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dish-card { display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer; background: var(--slate); border: 2px solid var(--line); border-radius: 14px; padding: 12px; color: var(--cream); transition: border-color .12s, transform .12s; }
.dish-card:hover { transform: translateY(-2px); }
.dish-card b { font: 400 18px/1.1 var(--display); text-wrap: balance; }
.dish-card span { font-size: 13px; color: var(--muted); }
.dish-card small { font: 600 11.5px/1.35 var(--ui); color: var(--amber); margin-top: auto; }
.dish-card[aria-checked="true"] { border-color: var(--flame); background: var(--slate-2); box-shadow: 0 0 0 3px rgba(255, 122, 47, .22); }

.versus { width: 100%; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; background: linear-gradient(100deg, #24130c, var(--slate) 70%); border: 1px solid var(--copper); border-radius: 16px; padding: 12px 16px; }
.versus img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--copper); }
.versus small { font: 800 10.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.versus h2 { font: 400 24px/1.1 var(--display); margin-top: 3px; }
.versus p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.versus .her-dish { color: var(--cream); }
.howto.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tricks { font-size: 13px; color: var(--muted); max-width: 60ch; }
#startBtn { width: min(100%, 360px); }
.start-pick { margin-top: -8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); max-width: 52ch; }
.start-bar { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 3; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 12px 16px; text-align: left; background: rgba(10, 24, 27, .97); border: 1px solid var(--copper); border-radius: 16px; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
.start-bar span { min-width: 0; font-size: 13px; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.start-bar .btn { flex: none; }

.house-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; align-items: center; text-align: left; background: var(--slate); border: 1px solid var(--copper); border-radius: 14px; padding: 10px 12px; }
.house-card > img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.house-card small { display: block; font: 800 10.5px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.house-card b { display: block; font: 400 17px/1.15 var(--display); margin-top: 2px; text-wrap: balance; }
.house-card span { display: block; font: 600 12.5px/1.3 var(--ui); color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.house-card details { grid-column: 1 / -1; font-size: 13px; }
.house-card summary { cursor: pointer; color: var(--muted); font-weight: 600; padding-top: 4px; }
.house-card details p { margin-top: 6px; color: var(--cream); }

.duel-banner { display: flex; flex-direction: column; gap: 4px; text-align: center; border-radius: 16px; padding: 14px 16px; border: 2px solid var(--line); animation: rise .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.duel-banner strong { font: 400 clamp(24px, 4.2vw, 34px)/1.05 var(--display); text-wrap: balance; }
.duel-banner span { font-size: 13.5px; color: var(--muted); }
.duel-banner.win { border-color: var(--good); background: linear-gradient(#143a1d, #0f2a17); }
.duel-banner.win strong { color: #b9f0c3; }
.duel-banner.lose { border-color: var(--copper); background: linear-gradient(#2c170d, #1c1210); }
.duel-banner.lose strong { color: #ffc9a3; }
.judge .vote { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.judge .vote b { font: 800 10.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; }
.judge .vote.you b { background: var(--good); color: #06210b; }
.judge .vote.house b { background: var(--copper); color: #1c0d05; }

@media (max-width: 1020px) {
  .sideline { grid-template-columns: 1fr; }
  .side { min-height: 0; }
  .stage { height: min(52dvh, 96vw); }
  .dishes { grid-template-columns: 1fr; }
  .howto.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .chop { padding: 7px 10px 7px 7px; gap: 8px; }
  .on-board, .on-board img { width: 60px; height: 60px; }
  .prep-txt { min-width: 104px; } .prep-txt b { font-size: 15px; }
  .resting { max-width: 44%; }
  .versus { grid-template-columns: 60px minmax(0, 1fr); } .versus img { width: 60px; height: 60px; }
  .howto.four { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .side.pop, .chop.pop, .knife.pop, .duel-banner { animation: none; } .knife { transition: none; } }

/* share-page footer: report, privacy; and plain text pages (privacy, thank-you) */
.report { font-size: 13px; color: var(--muted); }
.report summary { cursor: pointer; width: fit-content; }
.report form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.report select { font: inherit; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(143, 199, 194, .35); background: #0d2529; color: var(--cream); max-width: 100%; }
.made a, .fine a, .doc a:not(.btn):not(.logo) { color: #8fc7c2; }
.doc { gap: 14px; }
.doc h1 { font: 400 clamp(30px, 6vw, 44px)/1.05 var(--display); text-wrap: balance; }
.doc h2 { font: 800 17px/1.3 var(--ui); margin-top: 14px; color: var(--cream); }
.doc p, .doc li { max-width: 68ch; line-height: 1.6; color: #cfe3df; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc .btn { align-self: start; }
@media (max-width: 380px) { .bar { padding-inline: 12px; gap: 8px; } }
/* the pass: the header clock turns green when plating opens; on narrow screens a Plate button stays pinned at the bottom of the screen */
.clock.pass { color: var(--good); border-color: var(--good); }
.plate-mini { display: none; }
@media (max-width: 1020px) {
  .plate-mini:not([hidden]) { display: inline-flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 5; font: 400 22px/1 var(--display); padding: 14px 34px; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
}
.clock.pass.late { color: var(--bad); border-color: var(--bad); }
