/* Food pages (/calories/...), built by scripts/build-seo.mjs. Same look as the app, no JavaScript. */
:root {
  --bg: #0f1222; --panel: #171b31; --panel-2: #1f2442; --line: #2a3158; --text: #eef0ff; --muted: #9aa0c7;
  --xp: #45e08a; --gold: #ffcc33; --protein: #ff7a59; --carbs: #5aa9ff; --fat: #c38cff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--xp); }
.top, .crumbs, main, .foot { max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.top-cta { background: var(--xp); color: #062814; font-weight: 800; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 0; margin: 6px 0 4px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.15; margin: 10px 0 14px; overflow-wrap: anywhere; }
h2 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lead { font-size: 17px; margin: 0 0 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.hero { display: flex; flex-wrap: wrap; gap: 12px; }
.big { flex: 1 1 200px; display: grid; background: var(--panel-2); border-radius: 12px; padding: 12px 14px; }
.big strong { font-size: 40px; line-height: 1.1; color: var(--gold); }
.big.alt strong { color: var(--xp); }
.big span { color: var(--muted); font-size: 14px; }
.split { margin: 0 0 16px; }
.split svg { display: block; width: 100%; height: 12px; border-radius: 6px; overflow: hidden; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .p::before { background: var(--protein); } .legend .c::before { background: var(--carbs); } .legend .f::before { background: var(--fat); }
.legend .a::before { background: var(--gold); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; white-space: normal; }
thead th { color: var(--muted); font-weight: 700; }
tbody th small { display: block; color: var(--muted); font-weight: 400; }
.dv, .burn { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dv { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.dv li, .burn li { background: var(--panel-2); border-radius: 10px; padding: 10px 12px; }
.dv b { color: var(--gold); font-size: 18px; }
.note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.cta {
  display: flex; gap: 10px; align-items: center; margin: 4px 0 16px; padding: 16px; border-radius: 16px; font-weight: 800;
  background: linear-gradient(180deg, #5cf09d, var(--xp)); color: #062814; text-decoration: none; box-shadow: 0 4px 0 #23995a;
}
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.links.cols { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.links li { overflow-wrap: anywhere; }
.links small { color: var(--muted); white-space: nowrap; }
.foot { color: var(--muted); font-size: 13px; padding-top: 6px; padding-bottom: 30px; }
.foot p { margin: 0 0 6px; }
