/* Layout: a shelf of recipe cards; "Start cooking" opens a full-screen step player styled like the oven's own panel readout. */
:root {
  --bg: #f3f2ee;
  --surface: #ffffff;
  --fg: #23201c;
  --muted: #6d665d;
  --line: #e1ddd5;
  --crust: #9a5a1c;       /* accent: baked crust */
  --crust-soft: #f4e6d6;
  --steam: #2f6f8f;       /* steam modes */
  --steam-soft: #dcecf3;
  --heat: #b3401f;        /* grill */
  --heat-soft: #f6e0d8;
  --proof: #5f7d3a;       /* fermentation */
  --proof-soft: #e4ecd9;
  --panel: #1d1f22;       /* oven display */
  --panel-fg: #f2efe8;
  --panel-dim: #8f9399;
  --lcd: #ffb648;
  --plum: #7a3e6e; --plum-soft: #f1e1ec;
  --leaf: #3f7d4e; --leaf-soft: #ddeee0;
  --corn: #9a7410; --corn-soft: #f5ecd0;
  --sky: #3d6fa8; --sky-soft: #dde7f4;
  --rose: #a8455f; --rose-soft: #f6dfe5;
  --teal: #2f7f7a; --teal-soft: #d8eeec;
  --indigo: #4a4f9e; --indigo-soft: #e2e3f4;
  /* Comic lettering, same as the landing page: Bangers for titles, Architects Daughter for text; Japanese falls back to Zen Kaku Gothic */
  --font-display: "Bangers", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-body: "Architects Daughter", "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: var(--font-body);   /* numbers, timers and oven readouts use the same hand lettering as the text */
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #17181a; --surface: #212226; --fg: #eeeae3; --muted: #a39d94; --line: #34353a;
  --crust: #e0a160; --crust-soft: #3a2b1d; --steam: #7cbbd8; --steam-soft: #1c3240;
  --heat: #ef8a68; --heat-soft: #3d231c; --proof: #a9c57e; --proof-soft: #28321d;
  --panel: #0e0f10; --panel-fg: #f2efe8; --panel-dim: #8a8e94; --lcd: #ffbe5c; --plum: #d79bc8; --plum-soft: #3a2236; --leaf: #8fd19e; --leaf-soft: #1f3324; --corn: #e3c25a; --corn-soft: #3a3218; --sky: #8fb4e6; --sky-soft: #1c2a3d; --rose: #e895aa; --rose-soft: #3b2028; --teal: #7fcfc8; --teal-soft: #1a3533; --indigo: #a9adf0; --indigo-soft: #23254a; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #17181a; --surface: #212226; --fg: #eeeae3; --muted: #a39d94; --line: #34353a;
  --crust: #e0a160; --crust-soft: #3a2b1d; --steam: #7cbbd8; --steam-soft: #1c3240;
  --heat: #ef8a68; --heat-soft: #3d231c; --proof: #a9c57e; --proof-soft: #28321d;
  --panel: #0e0f10; --panel-fg: #f2efe8; --panel-dim: #8a8e94; --lcd: #ffbe5c; --plum: #d79bc8; --plum-soft: #3a2236; --leaf: #8fd19e; --leaf-soft: #1f3324; --corn: #e3c25a; --corn-soft: #3a3218; --sky: #8fb4e6; --sky-soft: #1c2a3d; --rose: #e895aa; --rose-soft: #3b2028; --teal: #7fcfc8; --teal-soft: #1a3533; --indigo: #a9adf0; --indigo-soft: #23254a; color-scheme: dark; }

* { box-sizing: border-box; }
/* Laptop/PC (mouse or trackpad): always show the vertical scrollbar so pages don't shift sideways when content gets longer.
   The <body> does the scrolling instead of the browser window: browsers paint the window's own scrollbar strip in a flat
   colour, but a body scrollbar sits on top of the fixed background picture, so its transparent track lets the picture show through.
   While the full-screen cooking player is open, app.js sets body overflow to hidden and the player shows the scrollbar instead. */
@media (hover: hover) and (pointer: fine) {
  html { overflow: hidden; height: 100%; }
  body { margin: 0; height: 100%; overflow-y: scroll; }
  body:focus { outline: none; }
  .player { overflow-y: scroll; }
  body, .player { scrollbar-color: rgba(128, 128, 128, 0.55) transparent; }
}
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding-block: 28px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.15; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 2px; }

header.top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
header.top h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; letter-spacing: -0.01em; }
header.top h1 a.home { color: inherit; text-decoration: none; }
.model { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.intro { color: var(--muted); max-width: 62ch; margin: 6px 0 0; }

.filters { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.frow { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { color: var(--muted); font-size: 14px; grid-column: 1 / -1; padding: 12px 0; }
.chipbtn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 14px; font-size: 13px; }
.chipbtn[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chipbtn .fico { display: inline-flex; vertical-align: -2px; margin-right: 6px; }
.chipbtn .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k); margin-right: 7px; vertical-align: 1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.card .band { height: 4px; }
.card .inner { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.headrow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.headrow .jp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.titlerow { display: flex; gap: 10px; align-items: flex-start; }
.titlerow .tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pic { width: 88px; height: 88px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: var(--ks, var(--crust-soft)); }
.ing h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.card h2 { font-size: 18px; font-weight: 700; }
.card .jp { font-size: 12px; color: var(--muted); }
.card .blurb { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.facts b { color: var(--fg); font-weight: 700; }
.modes { display: flex; flex-wrap: wrap; gap: 6px; }
.mode { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 6px; letter-spacing: 0.02em; }
.m-bake { background: var(--crust-soft); color: var(--crust); }
.m-steam { background: var(--steam-soft); color: var(--steam); }
.m-grill { background: var(--heat-soft); color: var(--heat); }
.m-proof { background: var(--proof-soft); color: var(--proof); }
.band { background: var(--k, var(--crust)); }
.cat { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 6px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--ks, var(--crust-soft)); color: var(--k, var(--crust)); align-self: flex-start; }

details.ing { border-top: 1px solid var(--line); padding-top: 6px; }
details.ing summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.ing table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.ing td { padding: 3px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.ing td.q { text-align: right; white-space: nowrap; padding-left: 12px; font-family: var(--font-mono); font-size: 13px; }
.ing .note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.tools { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
.nutr { overflow-x: auto; }
.nutr table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.nutr th, .nutr td { padding: 4px 6px; border-bottom: 1px dashed var(--line); text-align: left; }
.nutr thead th { color: var(--muted); font-weight: 700; font-size: 12px; }
.nutr td.q, .nutr thead th + th { text-align: right; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; }
.nutr tbody th { font-weight: 400; }
.nutr tr.tot th, .nutr tr.tot td { font-weight: 700; border-bottom: 0; }
.card .actions { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 2px; }
.start { background: var(--k, var(--crust)); color: var(--surface); border: 0; border-radius: 8px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.start.alt { background: transparent; color: var(--k, var(--crust)); border: 1px solid var(--k, var(--crust)); padding: 6px 12px; }
.resume { font-size: 12px; color: var(--muted); }
.card { cursor: pointer; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--k, var(--crust)); }
.card:active { transform: scale(.99); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:active { transform: none; } }
.startrow { display: flex; flex-wrap: wrap; gap: 8px; }
.startrow .start { padding: 10px 18px; font-size: 15px; }
.startrow .start.alt { padding: 9px 16px; }
.start.busy::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-left: 7px; vertical-align: 1px; }
.card .actions { flex-wrap: wrap; }
.card { aspect-ratio: 16 / 9; position: relative; background-color: var(--ks, var(--crust-soft)); background-size: cover; background-position: center; }
.card .inner { position: absolute; inset: 0; padding: 10px 12px; justify-content: space-between; gap: 0; }
.card.has-pic .inner { background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,0) 70%); color: #fff; }
.card .bottom { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card .bottom h2 { font-size: 18px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .bottom .facts { display: flex; flex-wrap: wrap; gap: 0 10px; }
.card .bottom .jp, .card .bottom .resume { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.card.has-pic .jp, .card.has-pic .facts, .card.has-pic .resume { color: rgba(255,255,255,.85); }
.card.has-pic .facts b { color: #fff; }
.card.has-pic .cat { background: rgba(255,255,255,.92); }
.card .headrow { gap: 4px; }
.cat.ico { display: inline-flex; align-items: center; justify-content: center; padding: 3px 5px; }
.cat.ico svg { display: block; }
.card.has-pic h2 { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.pblurb { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.legend { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.legend h3 { font-size: 15px; color: var(--fg); margin-bottom: 6px; }
.legend ul { margin: 0; padding-left: 18px; }
.legend a { color: inherit; }
#credits { margin-top: 12px; }

/* ---------- cooking player ---------- */
.player { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.player .pwrap { max-width: 760px; margin: 0 auto; padding-block: 14px 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 16px; }
.pbar { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.pbar h2 { font-size: 18px; }
.ghost { background: transparent; border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; font-size: 14px; }
.progress { display: flex; gap: 4px; }
.progress button { flex: 1; height: 8px; border-radius: 4px; border: 0; background: var(--line); padding: 0; }
.progress button.done { background: var(--muted); }
.progress button.cur { background: var(--crust); }

.hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; background: var(--line); }
.stepno { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.steptitle { font-size: clamp(24px, 5vw, 34px); font-weight: 700; }
.stepbody { font-size: 17px; margin: 0; max-width: 62ch; }
.scalerow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sclbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.scbtn { min-width: 40px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; line-height: 1.2; }
.scbtn[aria-pressed="true"] { background: var(--k, var(--crust)); color: var(--surface); border-color: var(--k, var(--crust)); }
.scyield { font-size: 13px; color: var(--muted); margin-left: 4px; }
.timer .tn { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; }
.tip { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; margin: 0; }

.oven { background: var(--panel); color: var(--panel-fg); border-radius: 16px; padding: 16px 18px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.oven .cell { min-width: 0; }
.oven .k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--panel-dim); }
.oven .v { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--lcd); line-height: 1.3; }
.oven .v small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--panel-fg); }
.oven .head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #ffffff1f; padding-bottom: 10px; }
.oven .head .v { font-size: 24px; }

.timer { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.timer .clock { font-family: var(--font-mono); font-weight: 700; font-size: clamp(44px, 12vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.timer.ringing { border-color: var(--crust); background: var(--crust-soft); }
.timer.ringing .clock { color: var(--crust); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .timer.ringing .clock { animation: none; } }
.timer .tbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.tbtn { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; background: var(--fg); color: var(--bg); }
.tbtn.alt { background: transparent; border: 1px solid var(--line); color: var(--fg); font-weight: 500; }
.timer .lbl { font-size: 13px; color: var(--muted); width: 100%; margin-top: -6px; }

.running { display: flex; flex-wrap: wrap; gap: 8px; }
.running button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-family: var(--font-mono); }
.running button.ring { border-color: var(--crust); color: var(--crust); }

.navrow { display: flex; gap: 10px; justify-content: space-between; }
.navrow button { flex: 1; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 16px; }
.navrow .prev { background: transparent; border: 1px solid var(--line); }
.navrow .next { background: var(--k, var(--crust)); color: var(--surface); border: 0; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 15px; }
.checklist label { display: flex; gap: 10px; align-items: baseline; cursor: pointer; }
.checklist .q { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

/* ---------- accounts, favorites, ratings ---------- */
:root { --gold: #b7791f; --heart: #c2410c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gold: #f0b54a; --heart: #fb8a5c; } }
:root[data-theme="dark"] { --gold: #f0b54a; --heart: #fb8a5c; }

.account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.account .who { color: var(--muted); margin-right: 4px; }
.account .who b { color: var(--fg); }
.ghost.strong { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 700; }
.ghost:disabled, .start:disabled { opacity: .6; cursor: default; }

.fav { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 30px; height: 30px; padding: 0; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.fav[aria-pressed="true"] { color: var(--heart); --heart-fill: var(--heart); border-color: var(--heart); }
.card.has-pic .fav { background: rgba(255,255,255,.92); border-color: transparent; color: #4a443c; }
.card.has-pic .fav[aria-pressed="true"] { color: #c2410c; --heart-fill: #c2410c; }
.fav:hover { color: var(--heart); border-color: var(--heart); }
.fav.big { width: auto; height: auto; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.favchip[aria-pressed="true"] { --heart-fill: currentColor; }
.chipbtn .fico svg { display: block; width: 13px; height: 13px; }

.rbadge { color: inherit; white-space: nowrap; }
.rbadge b { color: var(--gold) !important; }
.card.has-pic .rbadge b { color: #ffd27a !important; }

.ratebox { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; background: var(--surface); }
.raterow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rate { display: inline-flex; flex-direction: row-reverse; } /* stars are 5..1 in the DOM so hover can light up the lower ones */
.rate button { background: none; border: 0; padding: 0 3px; font-size: 30px; line-height: 1; color: var(--line); }
.rate button.on { color: var(--gold); }
.rate:hover button { color: var(--line); }
.rate button:hover, .rate button:hover ~ button { color: var(--gold); }
.ratewho { font-size: 13px; color: var(--muted); }
.ratesum { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.ratesum b { color: var(--fg); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--crust); text-decoration: underline; font-size: inherit; }

dialog.auth { border: 1px solid var(--line); border-radius: 16px; padding: 0; background: var(--surface); color: var(--fg);
  width: min(380px, calc(100vw - 32px)); }
dialog.auth::backdrop { background: rgba(0,0,0,.45); }
.authform { display: grid; gap: 12px; padding: 18px; }
.authtabs { display: flex; gap: 4px; background: var(--bg); border-radius: 10px; padding: 4px; }
.authtabs button { flex: 1; border: 0; background: none; border-radius: 7px; padding: 7px; font-weight: 700; color: var(--muted); }
.authtabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.authform label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.authform input { font: inherit; font-weight: 400; font-size: 16px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.authnote, .authhint { margin: 0; font-size: 13px; color: var(--muted); }
.autherr { margin: 0; font-size: 13px; color: var(--heat); min-height: 1em; }
.authbtns { display: flex; justify-content: flex-end; gap: 8px; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #toast { transition: none; } }

/* ---------- comic look shared with the landing page ---------- */
/* Bangers has a single weight: keep titles at 400 so the browser doesn't fake a bold, and open the letters up a little. */
h1, h2, h3, .steptitle, .card h2 { font-weight: 400; letter-spacing: 0.04em; }
.card h2 { font-size: 22px; }

/* Shelf page: the landing illustration behind everything, under a dark wash */
.shelf { --shade: 12, 18, 26; --ink: #f6f1e7; background: rgb(var(--shade)); }
.shelf .bg, .shelf .bg img { position: fixed; inset: 0; width: 100%; height: 100%; }
.shelf .bg { z-index: -1; }
.shelf .bg img { object-fit: cover; object-position: center; display: block; }
.shelf .bg::after { content: ""; position: fixed; inset: 0; background: rgba(var(--shade), 0.72); }
.shelf header.top h1 { color: var(--ink); font-size: clamp(36px, 6vw, 56px); letter-spacing: 0.06em; text-shadow: 0.05em 0.05em 0 #c2410c, 0 4px 24px rgba(0, 0, 0, 0.5); }
.shelf header.top .account .who { color: rgba(246, 241, 231, 0.82); }
.shelf header.top .account .who b { color: var(--ink); }
.shelf header.top .account .ghost { color: var(--ink); border-color: rgba(246, 241, 231, 0.45); background: rgba(var(--shade), 0.45); }
.shelf header.top .account .ghost.strong { background: var(--ink); color: rgb(var(--shade)); border-color: var(--ink); }
.shelf .empty { color: var(--ink); }
.shelf .legend { background: var(--surface); }

/* Short labels in capitals, like the landing page's manga lettering. Long text (step instructions, descriptions, ingredient names) stays in normal case for easy reading. */
.chipbtn, .facts, .resume, .mode, .start, .ghost, .tbtn, .navrow button, .running button, .scyield,
.oven .v, .oven .v small, .ing td.q, .checklist .q, .nutr thead th, .nutr td.q, details.ing summary,
.timer .lbl, .fav.big, .account, .authtabs button, .authform label, .ratewho, .ratesum, .linkbtn {
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Cooking player: same kitchen illustration and dark wash as the shelf, with the steps on a readable card */
.shelf .player {
  background: linear-gradient(rgba(var(--shade), 0.72), rgba(var(--shade), 0.72)), url("../images/background/landing_3-2.png") center / cover no-repeat, rgb(var(--shade));
}
@media (max-aspect-ratio: 1/1) { .shelf .player { background-image: linear-gradient(rgba(var(--shade), 0.72), rgba(var(--shade), 0.72)), url("../images/background/landing_2-3.png"); } }
@media (max-aspect-ratio: 3/5) { .shelf .player { background-image: linear-gradient(rgba(var(--shade), 0.72), rgba(var(--shade), 0.72)), url("../images/background/landing_1-2.png"); } }
.shelf .player .pwrap {
  background: var(--surface); border-radius: 18px; margin-block: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  padding-block: 18px 28px;
}
@media (max-width: 520px) { .shelf .player .pwrap { margin-block: 0; border-radius: 0; min-height: 100%; } }
.shelf .player .pbar h2 { font-size: clamp(24px, 5vw, 34px); letter-spacing: 0.06em; text-shadow: 0.05em 0.05em 0 rgba(194, 65, 12, 0.55); }

/* "More recipes coming" card at the end of the shelf: same size as a recipe card, but a dashed, hand-drawn note instead of a photo */
.card.soon {
  cursor: default; display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; overflow: hidden;
  background: var(--surface); border: 2px dashed var(--crust); color: var(--fg);
}
.card.soon:hover { border-color: var(--crust); }
.card.soon:active { transform: none; }
.card.soon .pot { flex-shrink: 0; color: var(--crust); }
.card.soon .soontext { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card.soon h2 { font-size: 22px; line-height: 1.1; color: var(--crust); }
.card.soon .jp { font-size: 12px; color: var(--muted); }
.card.soon p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.card.soon .sign { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; color: var(--fg); margin-top: 6px; }
.card.soon .sign span { color: var(--heart); }
/* The steam drifts up gently, like a pot on low heat */
.card.soon .steam { animation: simmer 2.4s ease-in-out infinite; }
@keyframes simmer { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .card.soon .steam { animation: none; } }
