/* Gabel & Gerber · Design "Schwarz Weiß mit Blau"
   Minimalistisch wie Notion, mit Vintage Akzenten: handgezeichnete Icons, Logo, Zitate in Newsreader kursiv.
   Icons: eigene Gabel & Gerber Icons aus /brand/i (als CSS Maske, Farbe folgt dem Text). */
@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage.woff2) format("woff2-variations"), url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2-variations"), url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  /* Schwarz und Weiß, ruhig wie Notion. Icons und Logo folgen der Textfarbe. */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --sunk: #F7F7F5;
  --hover: #F1F1EF;
  --line: #E9E9E7;
  --line-strong: #191919;
  --text: #191919;
  --muted: #787774;
  --accent: #191919;
  --accent-ink: #FFFFFF;
  --accent-soft: #F1F1EF;
  --spice: #191919;
  --danger: #B3261E;
  --shadow: none;
  --glass: rgba(255, 255, 255, .94);
  --on-tone: #787774;
  --t-tomato: #F7F7F5; --t-saffron: #F7F7F5; --t-herb: #F7F7F5; --t-aubergine: #F7F7F5;
  --t-beet: #F7F7F5; --t-olive: #F7F7F5; --t-ocean: #F7F7F5; --t-crust: #F7F7F5;
  --blue: #016AF0; --blue-hover: #0055C2; --blue-ink: #FFFFFF; --blue-soft: #E6F0FE;

  --font-display: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-s: 8px;
  --max: 1080px;
  --head-h: 60px;
  --bn-h: 0px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191919; --surface: #191919; --sunk: #202020; --hover: #2A2A2A; --line: #2F2F2F; --line-strong: #EDEDED;
    --text: #EDEDED; --muted: #9B9B9B; --accent: #EDEDED; --accent-ink: #191919; --accent-soft: #2A2A2A; --spice: #EDEDED;
    --danger: #F2867D; --glass: rgba(25, 25, 25, .94); --on-tone: #9B9B9B;
    --t-tomato: #202020; --t-saffron: #202020; --t-herb: #202020; --t-aubergine: #202020;
    --t-beet: #202020; --t-olive: #202020; --t-ocean: #202020; --t-crust: #202020;
    --blue: #4D9AFF; --blue-hover: #7AB4FF; --blue-ink: #0B1220; --blue-soft: #14263F;
  }
}
@media (max-width: 719px) { :root { --bn-h: 64px; } }

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column;
  padding-bottom: calc(var(--bn-h) + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill, .fill svg { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

main {
  flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; outline: none;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 0 72px;
}
main.enter { animation: rise .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: .3; transform: translateY(8px); } }

h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: 2rem; line-height: 1.1; margin: 28px 0 14px; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; margin: 32px 0 14px; }
h3 { font-size: 1rem; font-weight: 700; margin: 18px 0 6px; }
.display { font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 1.04; margin: 0; text-wrap: balance; }
.display-s { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); line-height: 1.08; margin: 4px 0 0; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
.lede { font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 58ch; margin: 14px 0 0; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pad { padding: 32px 0; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px);
}
.topbar-in {
  max-width: var(--max); margin: 0 auto; height: var(--head-h);
  display: flex; align-items: center; gap: 20px; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.6; }
.logo-text { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.01em; white-space: nowrap; margin: 0; }
.logo-text em { font-style: normal; color: var(--spice); }
.nav-desk { display: none; gap: 4px; }
.nav-desk a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.nav-desk a:hover { color: var(--text); background: var(--sunk); }
.nav-desk a[aria-current] { color: var(--text); background: var(--sunk); }
.fav-count { font-family: var(--font-mono); font-size: .7rem; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--spice); color: #fff; display: inline-grid; place-items: center; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: var(--sunk); }
@media (min-width: 720px) { .nav-desk { display: flex; } .only-mobile { display: none; } }

/* ---------- Untere Navigation (Handy) ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px var(--gutter-r) calc(6px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
}
.bottomnav a {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0; height: 52px;
  text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--muted);
}
.bottomnav svg { width: 24px; height: 24px; }
.bottomnav a[aria-current] { color: var(--accent); }
.bottomnav a[aria-current] svg { stroke-width: 2.2; }
.bottomnav .fav-count { position: absolute; top: 2px; left: calc(50% + 6px); }
@media (min-width: 720px) { .bottomnav { display: none; } }

/* ---------- Teller Cover (Platzhalter ohne Foto) ---------- */
[data-tone="tomato"] { --tone: var(--t-tomato); } [data-tone="saffron"] { --tone: var(--t-saffron); }
[data-tone="herb"] { --tone: var(--t-herb); } [data-tone="aubergine"] { --tone: var(--t-aubergine); }
[data-tone="beet"] { --tone: var(--t-beet); } [data-tone="olive"] { --tone: var(--t-olive); }
[data-tone="ocean"] { --tone: var(--t-ocean); } [data-tone="crust"] { --tone: var(--t-crust); }
.cover {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; max-width: 100%;
  display: grid; place-items: center; color: var(--on-tone); container-type: inline-size;
  background-color: var(--tone, var(--sunk));
  background-image:
    radial-gradient(circle at 50% 52%, rgba(255,255,255,.10) 0 27%, transparent 27.4%),
    radial-gradient(circle at 50% 52%, transparent 0 35%, rgba(255,255,255,.16) 35.3% 36.1%, transparent 36.4%),
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(0,0,0,.14));
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.monogram { font-family: var(--font-display); font-size: 26cqi; line-height: 1; transform: translateY(2%); transition: transform .7s cubic-bezier(.2,.7,.2,1); text-shadow: 0 2px 18px rgba(0,0,0,.12); }
.cover-xl { aspect-ratio: 4 / 3; }
.cover-xl .monogram { font-size: 18cqi; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 22px; margin: 22px 0 8px; }
.hero-media { display: block; border-radius: var(--radius); }
.hero-media:hover img, .hero-media:hover .monogram { transform: scale(1.03); }
.hero h1 a { text-decoration: none; }
.hero h1 a:hover { text-decoration: underline; text-decoration-color: var(--spice); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.hero .row { margin-top: 24px; }
.hero.empty { padding: 48px 0 16px; }
@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; margin-top: 40px; }
  .hero-text { order: -1; }
  .hero .cover-xl { aspect-ratio: 5 / 4; }
}

/* ---------- Suche ---------- */
.search-bar {
  display: flex; align-items: center; gap: 10px; margin: 28px 0 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow); color: var(--muted);
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font: inherit; font-size: 16px; color: var(--text); outline: none; }
.search-bar input::-webkit-search-cancel-button { filter: grayscale(1); }
.search-bar.big { padding: 10px 12px 10px 22px; margin-top: 22px; }
.search-bar.big input { font-size: 1.15rem; }
.search-bar.big svg { width: 22px; height: 22px; }
.result-count { color: var(--muted); font-size: .92rem; margin: 22px 0 14px; min-height: 1.4em; }

/* ---------- Abschnitte, Kacheln, Filter ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; margin: 52px 0 18px; }
.sec-head h2 { margin: 0; }
.tiles {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.tiles::-webkit-scrollbar { display: none; }
.tile {
  scroll-snap-align: start; position: relative; overflow: hidden; display: flex; align-items: end;
  aspect-ratio: 5 / 3; border-radius: var(--radius-s); padding: 14px; text-decoration: none; color: var(--on-tone);
  background-color: var(--tone);
  background-image: radial-gradient(circle at 92% 8%, transparent 0 30%, rgba(255,255,255,.16) 30.5% 32%, transparent 32.5%),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,.10) 0 22%, transparent 22.5%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile span { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.15; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (min-width: 720px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

.chips, .filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -2px; }
.chips::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.chips { margin-top: 16px; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 15px;
  font-size: .9rem; font-weight: 600; color: var(--text); transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* ---------- Rezeptkarten ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; min-width: 0; animation: rise .4s cubic-bezier(.2,.7,.2,1) backwards; }
.card-link { display: block; text-decoration: none; border-radius: var(--radius); }
.card-link:hover img, .card-link:hover .monogram { transform: scale(1.05); }
.card h3 { margin: 12px 2px 4px; font-size: 1.02rem; line-height: 1.3; font-weight: 650; text-wrap: balance; }
.card-meta { margin: 0 2px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 14px; height: 14px; }
.fav {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
  background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .2s ease;
}
.fav:active { transform: scale(.88); }
.fav-btn[aria-pressed="true"] svg { fill: var(--spice); stroke: var(--spice); animation: beat .35s ease; }
@keyframes beat { 40% { transform: scale(1.3); } }
.empty-filter { color: var(--muted); padding: 24px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--sunk); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn.icon-only { width: 46px; padding: 0; }
.btn.danger { background: transparent; color: var(--danger); border-color: currentColor; }
.btn:disabled { opacity: .45; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; }

/* ---------- Rezeptseite ---------- */
.readbar { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 30; pointer-events: none; }
.readbar span { display: block; height: 100%; background: var(--spice); transform-origin: 0 50%; transform: scaleX(0); }
.r-head { max-width: 860px; margin: 26px 0 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); text-decoration: underline; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 26px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-family: var(--font-mono); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats div + div { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (max-width: 559px) { .stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.r-media .cover { aspect-ratio: 16 / 10; }
@media (min-width: 860px) { .r-media .cover { aspect-ratio: 21 / 9; } }
.r-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.r-body { display: grid; gap: 8px; margin-top: 28px; }
@media (min-width: 960px) {
  .r-body { grid-template-columns: 370px minmax(0, 1fr); gap: 64px; align-items: start; }
  .r-ings { position: sticky; top: calc(var(--head-h) + 24px + env(safe-area-inset-top, 0px)); }
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-head h2 { margin: 0; }
.ing-progress { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); white-space: nowrap; }
.ing-progress.all { color: var(--accent); }
.stepper { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; padding: 6px; border-radius: 999px; background: var(--sunk); width: fit-content; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); font-size: 1.2rem; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.stepper button:active { transform: scale(.9); }
.stepper output { font-family: var(--font-mono); font-size: 1.15rem; min-width: 2ch; text-align: center; }
.stepper span { font-size: .9rem; font-weight: 600; padding-right: 4px; }
.pop { animation: pop .3s ease; }
@keyframes pop { 40% { transform: scale(1.35); color: var(--spice); } }
.ing-group { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 2px; }
.ing { list-style: none; padding: 0; margin: 0; }
.ing li + li { border-top: 1px solid var(--line); }
.ing-row { position: relative; display: grid; grid-template-columns: 22px 5.4rem minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; cursor: pointer; }
.ing-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: 1px; }
.tick::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s ease; }
.ing-row input:checked + .tick { background: var(--accent); border-color: var(--accent); }
.ing-row input:checked + .tick::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ing-row input:focus-visible + .tick { outline: 2px solid var(--accent); outline-offset: 2px; }
.amt { font-family: var(--font-mono); font-size: .9rem; font-variant-numeric: tabular-nums; padding-top: 1px; }
.unit { color: var(--muted); }
.ing-name { min-width: 0; transition: color .2s; }
.ing-row input:checked ~ .ing-name, .ing-row input:checked ~ .amt { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }

.r-steps h2 { margin-top: 28px; }
@media (min-width: 960px) { .r-steps h2 { margin-top: 0; } }
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 6px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; color: var(--accent);
  font-family: var(--font-mono); font-size: .95rem; cursor: pointer; transition: background .2s, color .2s;
}
.step-num[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.step-text p { margin: 6px 0 0; font-size: 1.08rem; line-height: 1.65; transition: color .25s; }
.step.done .step-text p { color: var(--muted); }
.timer-chip {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: baseline; margin: 0 1px; padding: 1px 10px 1px 8px;
  border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent); cursor: pointer;
  font-family: var(--font-mono); font-size: .84em; line-height: 1.6; transition: background .2s, color .2s;
}
.timer-chip svg { width: 14px; height: 14px; }
.timer-chip:hover { background: var(--accent); color: var(--accent-ink); }
.tip { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); }
.tip p:last-child { margin: 6px 0 0; }
.credit { margin-top: 26px; font-size: .9rem; color: var(--muted); }
.credit a { color: var(--text); }

.shop { margin-top: 18px; }
.shop h2 { margin: 6px 0 4px; font-size: 1.3rem; }
.product { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; }
.product .ph { aspect-ratio: 1; border-radius: 10px; }
.product b { font-weight: 650; }
.ad-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.cook-fab {
  position: fixed; z-index: 25; right: var(--gutter-r);
  bottom: calc(var(--bn-h) + 14px + env(safe-area-inset-bottom, 0px));
}
.cook-fab .btn { box-shadow: 0 10px 30px rgba(0,0,0,.22); min-height: 52px; padding: 0 22px; }
@media (min-width: 960px) { .cook-fab { display: none; } }
body.cooking .cook-fab { display: none; }

/* ---------- Kochmodus ---------- */
.cook {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(16px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  animation: cookin .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes cookin { from { opacity: .4; transform: translateY(24px); } }
.cook > * { width: 100%; max-width: 760px; margin-inline: auto; }
.cook-bar { height: 4px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.cook-bar span { display: block; height: 100%; background: var(--spice); transition: width .35s ease; }
.cook-head { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.cook-title { flex: 1; min-width: 0; color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-main { display: grid; align-content: center; padding: 24px 0; overflow-y: auto; touch-action: pan-y; }
.cook-step { font-family: var(--font-display); font-size: clamp(1.55rem, 1.1rem + 2.4vw, 2.5rem); line-height: 1.32; margin: 0; text-wrap: pretty; }
.cook-step .timer-chip { font-size: .6em; padding: .15em .7em .15em .55em; vertical-align: .15em; }
.cook-done { text-align: center; display: grid; justify-items: center; gap: 14px; }
.cook-ings { border-top: 1px solid var(--line); padding: 12px 0; }
.cook-ings summary { font-weight: 650; cursor: pointer; }
.cook-ings ul { margin: 10px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; font-size: .92rem; }
.cook-ings li { break-inside: avoid; padding: 3px 0; }
.cook-ings b { font-family: var(--font-mono); font-weight: 500; }
.cook-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; padding-top: 8px; }
.cook-nav .btn { min-height: 58px; font-size: 1.05rem; }

/* ---------- Timer ---------- */
.dock {
  position: fixed; z-index: 90; left: var(--gutter-l); display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  bottom: calc(var(--bn-h) + 14px + env(safe-area-inset-bottom, 0px));
}
body.cooking .dock { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.timer {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 9px; border-radius: 999px;
  background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: rise .3s ease;
}
.timer-ring { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(var(--spice) var(--p), color-mix(in srgb, var(--bg) 22%, transparent) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.timer-info { display: grid; line-height: 1.15; }
.timer-info b { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.timer-info small { font-size: .72rem; opacity: .7; }
.timer .icon-btn { width: 34px; height: 34px; border-color: color-mix(in srgb, var(--bg) 25%, transparent); }
.timer .icon-btn:hover { background: color-mix(in srgb, var(--bg) 15%, transparent); }
.timer.done { background: var(--spice); color: #1b1408; animation: ring 1s ease infinite; }
@keyframes ring { 50% { transform: scale(1.04); } }

/* ---------- Kategorie, Leer, Seitenkopf ---------- */
.cat-band {
  margin: 24px 0 0; padding: 30px 24px; border-radius: var(--radius); color: var(--on-tone); background-color: var(--tone);
  background-image: radial-gradient(circle at 96% 0%, transparent 0 34%, rgba(255,255,255,.16) 34.4% 35.6%, transparent 36%),
    radial-gradient(circle at 96% 0%, rgba(255,255,255,.1) 0 26%, transparent 26.4%);
}
.cat-band .eyebrow { color: inherit; opacity: .8; }
.cat-band p:last-child { margin: 10px 0 0; opacity: .85; }
.cat-band + .chips { margin: 18px -2px 26px; }
.page-head { margin: 32px 0 26px; }
.empty { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 6px; }
.empty .lede { margin: 0; color: var(--text); font-family: var(--font-display); font-size: 1.5rem; }
.empty .btn { margin-top: 14px; }

/* ---------- Fußzeile ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-in {
  max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; align-items: start;
  padding: 36px var(--gutter-r) 40px var(--gutter-l);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; }
.footer p { margin: 4px 0 0; }
@media (min-width: 720px) { .footer-in { grid-template-columns: 1fr auto; } .footer-in > p { grid-column: 1 / -1; } }

/* ---------- Cookie Banner ---------- */
.consent { position: fixed; left: 0; right: 0; z-index: 70; bottom: calc(var(--bn-h) + env(safe-area-inset-bottom, 0px)); padding: 12px var(--gutter-r) 12px var(--gutter-l); }
.consent-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: rise .4s ease; }
.consent-card h2 { margin: 0 0 6px; font-size: 1.3rem; }
.consent-card p { margin: 0 0 14px; font-size: .92rem; color: var(--muted); }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.consent-opt input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.consent .row .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; z-index: 95; bottom: calc(var(--bn-h) + 24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: .25s ease; font-size: .92rem; font-weight: 600; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Formulare und Admin ---------- */
input, textarea, select {
  font: inherit; font-size: 16px; color: inherit; width: 100%; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input[type="checkbox"] { width: auto; accent-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
label { display: block; font-weight: 650; font-size: .9rem; margin: 16px 0 6px; }
#login { max-width: 420px; margin: 8px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 22px; box-shadow: var(--shadow); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 20px 0; box-shadow: var(--shadow); }
.box h2 { margin-top: 0; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .88rem; font-weight: 600; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list li a { flex: 1; text-decoration: none; min-width: 0; }
.list .title { font-weight: 650; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { display: flex; gap: 8px; margin: 22px 0 6px; flex-wrap: wrap; }
.badge { display: inline-block; flex: none; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.badge.warn { border-color: transparent; background: color-mix(in srgb, var(--spice) 20%, transparent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; margin: 16px 0; }
summary { cursor: pointer; font-weight: 650; }
pre.raw { white-space: pre-wrap; font-family: var(--font-mono); font-size: .8rem; max-height: 280px; overflow: auto; }
.note { border-left: 3px solid var(--spice); padding: 10px 14px; background: var(--sunk); border-radius: 6px; font-size: .92rem; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; margin: 8px 0; }
.check input { width: 20px; height: 20px; }
.sticky-actions { position: sticky; bottom: calc(var(--bn-h) + env(safe-area-inset-bottom, 0px)); background: var(--bg); padding: 14px 0; border-top: 1px solid var(--line); margin-top: 24px; z-index: 5; }
.ph {
  position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%;
  background: var(--sunk); border-radius: var(--radius-s); color: var(--muted); font-size: .82rem; text-align: center; padding: 8px;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-flag { background: var(--accent-soft); color: var(--accent); text-align: center; font-size: .8rem; font-weight: 600; padding: 7px var(--gutter-r) 7px var(--gutter-l); }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Feinschliff */
.hero-media, .card-link { text-decoration: none; color: inherit; }
.fav-count[hidden] { display: none; }
body.cooking .dock { left: auto; right: var(--gutter-r); bottom: auto; top: calc(78px + env(safe-area-inset-top, 0px)); align-items: flex-end; }
body.cooking .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.timer-chip { white-space: nowrap; }

/* ---------- KI Label ---------- */
.ai-badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font: 700 .72rem/1 var(--font); letter-spacing: .06em; padding: 5px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, .62); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ---------- Sterne ---------- */
.card-stars { display: inline-flex; align-items: center; gap: 4px; }
.card-stars svg, .rate-stars svg { fill: currentColor; stroke: none; }
.feedback { margin-top: 44px; padding-top: 8px; border-top: 1px solid var(--line); }
.rate-box { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rate-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 32px; }
.rate-avg { font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rate-stars { display: inline-flex; gap: 2px; color: var(--line); }
.rate-stars .on { color: var(--text); }
.rate-stars svg { width: 18px; height: 18px; }
.rate { display: flex; gap: 6px; }
.star { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); cursor: pointer; transition: transform .15s ease, color .15s, background .15s; }
.star svg { width: 26px; height: 26px; }
.star.on { color: var(--text); background: var(--sunk); }
.star.on svg { fill: currentColor; }
.star:active { transform: scale(.9); }
.rate-box p { margin: 0; }

/* ---------- Kommentare ---------- */
.comments-h { font-size: 1.15rem; margin: 30px 0 6px; }
.comment-form { padding: 6px 0 4px; }
.comment-form textarea { min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comments { list-style: none; padding: 0; margin: 22px 0 0; }
.comments > li { padding: 16px 0; border-top: 1px solid var(--line); }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.comment-head .btn { margin-left: auto; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); border: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.comment p { margin: 8px 0 0 42px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Pinterest Pin im Editor */
.pin-box { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pin-prev { width: 140px; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--line, #ddd); border-radius: 8px; display: block; }



/* =========================================================
   DESIGN · Schwarz Weiß, minimalistisch (Notion Gefühl)
   Weiß, Tinte, feine graue Linien. Vintage kommt nur über
   die handgezeichneten Icons, das Logo und kursive Zitate.
   ========================================================= */
body { font-size: 16px; }
h1, h2, .display, .display-s { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.display { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); line-height: 1.05; }
.display-s { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; }
.eyebrow { color: var(--muted); font-size: .72rem; letter-spacing: .14em; }
.lede { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: #E8E8E6; }
:focus-visible { outline-color: var(--text); }
.quote, .nc-fazit, .tip p:last-child { font-family: var(--font-serif); font-style: italic; }

/* Icons aus dem Gabel & Gerber Set, immer in Textfarbe */
.gi { display: inline-block; flex: none; width: 1.3em; height: 1.3em; background: currentColor; vertical-align: -.3em;
  -webkit-mask: var(--gi) center / contain no-repeat; mask: var(--gi) center / contain no-repeat; }
.gi.xl { width: 40px; height: 40px; }
.gi.xxl { width: 76px; height: 76px; }

/* Kopf, Logo, Navigation */
.topbar { background: var(--glass); border-bottom: 1px solid var(--line); }
.logo-img { display: block; width: 160px; height: 28px; background: var(--text);
  -webkit-mask: url(/brand/logo-quer.svg) left center / contain no-repeat; mask: url(/brand/logo-quer.svg) left center / contain no-repeat; }
.nav-desk a { color: var(--muted); border-radius: 6px; padding: 6px 10px; }
.nav-desk a:hover { background: var(--hover); color: var(--text); }
.nav-desk a[aria-current] { background: transparent; color: var(--text); }
.icon-btn { border-color: var(--line); }
.icon-btn:hover { background: var(--hover); }
.icon-btn .gi { width: 22px; height: 22px; }
.bottomnav { background: var(--glass); border-top-color: var(--line); }
.bottomnav .gi { width: 25px; height: 25px; }
.bottomnav a[aria-current] { color: var(--text); }
.fav-count { background: var(--text); color: var(--bg); font-family: var(--font); }
.footer { border-top: 1px solid var(--line); }
.logo-foot { display: block; width: 130px; height: 46px; background: var(--text);
  -webkit-mask: url(/brand/logo-hoch.svg) left center / contain no-repeat; mask: url(/brand/logo-hoch.svg) left center / contain no-repeat; }

/* Buttons, Chips */
.btn { background: var(--text); color: var(--bg); border-radius: 8px; min-height: 42px; font-weight: 600; font-size: .95rem; }
.btn:hover { background: color-mix(in srgb, var(--text) 82%, var(--bg)); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--hover); }
.btn.small { min-height: 34px; border-radius: 6px; }
.btn.icon-only { width: 42px; }
.btn .gi { width: 19px; height: 19px; }
.btn svg { width: 18px; height: 18px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 6px; padding: 6px 12px; font-weight: 500; }
.chip:hover { background: var(--hover); border-color: var(--line); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .gi { width: 22px; height: 22px; }
.chip .muted { font-size: .82em; }
.tag { background: var(--sunk); color: var(--muted); border-radius: 4px; }

/* Bilder und Platzhalter: helles Grau mit Bär */
.cover, .ph { background: var(--sunk); border: 1px solid var(--line); background-image: none; color: var(--muted); border-radius: var(--radius); }
.cover .monogram { font-size: 0; width: 34%; aspect-ratio: 1; background: var(--text); opacity: .12; padding: 0; text-shadow: none; transform: none; border-radius: 0;
  -webkit-mask: url(/brand/baer.svg) center / contain no-repeat; mask: url(/brand/baer.svg) center / contain no-repeat; }
.cover { aspect-ratio: 4 / 3; }
.ai-badge { background: var(--text); color: var(--bg); }

/* Startseite */
.intro { margin: 40px 0 0; }
.intro .lede { margin-top: 12px; }
.search-bar { margin-top: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 4px 4px 4px 14px; max-width: 620px; }
.search-bar:focus-within { border-color: var(--text); box-shadow: none; }
.search-bar > .gi { width: 22px; height: 22px; color: var(--muted); }
.search-bar.big .gi { width: 24px; height: 24px; }
.hero { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.hero-text .display-s { margin-top: 10px; }
.hero-text .display-s a { text-decoration: none; }
.hero-verdict { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.quote { font-size: 1.25rem; line-height: 1.4; margin: 14px 0 0; }
.meta-line .gi { width: 20px; height: 20px; }
.sec-head { margin: 48px 0 14px; }
.tiles { grid-auto-columns: 40%; }
.tile { aspect-ratio: auto; min-height: 92px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px;
  background: var(--surface); background-image: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.tile:hover { background: var(--hover); transform: none; box-shadow: none; }
.tile .gi { width: 40px; height: 40px; }
.tile span { font-family: var(--font); font-weight: 600; font-size: .95rem; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.rubrik-chips { flex-wrap: wrap; overflow: visible; }

/* Satz Filter */
.mood { margin: 48px 0 20px; }
.mood p { margin: 0; font: 700 clamp(1.5rem, 1.1rem + 2vw, 2.3rem)/1.3 var(--font-display); letter-spacing: -.025em; }
.mood-pill { font: inherit; letter-spacing: inherit; color: var(--text); background: var(--bg); border: 0; padding: 0 .1em; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; border-radius: 4px; }
.mood-pill:hover { background: var(--hover); }
.mood-pill::after { content: " ↻"; font-size: .45em; vertical-align: .9em; color: var(--muted); text-decoration: none; display: inline-block; margin-left: .15em; }
#mood-n { display: block; margin-top: 6px; }

/* Karten */
.grid { gap: 28px 18px; }
.card h3 { font-family: var(--font); font-weight: 650; font-size: 1rem; margin: 12px 2px 4px; }
.card-meta { gap: 4px 12px; }
.card-meta .gi { width: 17px; height: 17px; }
.card-stars[hidden] { display: none; }
.card-stars svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.card-mk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 2px 0; color: var(--text); }
.mk-ic { display: inline-grid; width: 24px; height: 24px; }
.mk-ic .gi { width: 22px; height: 22px; }
.fav { background: var(--glass); border: 1px solid var(--line); width: 36px; height: 36px; }
.fav .gi { width: 19px; height: 19px; }
.fav-btn[aria-pressed="true"] { color: var(--text); }
.fav-btn[aria-pressed="true"] .gi { transform: scale(1.1); }
.btn.ghost.fav-btn[aria-pressed="true"] { background: var(--hover); }
.empty-filter { grid-column: 1 / -1; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }

/* Gabel Urteil */
.gabeln { display: inline-flex; gap: 1px; vertical-align: middle; }
.gabeln span { display: inline-grid; width: 20px; height: 20px; opacity: .2; }
.gabeln span.on { opacity: 1; }
.gabeln svg { width: 100%; height: 100%; stroke-width: 2.2; }
.gabeln.s span { width: 15px; height: 15px; }

/* Seitenköpfe */
.page-head .gi.xxl { display: block; margin-bottom: 12px; }
.cat-band { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 26px 0 22px; color: var(--text); }

/* Rezeptseite */
.r-head { max-width: 760px; }
.r-byline { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.r-byline .gi { width: 18px; height: 18px; color: var(--text); }
.stats dt { display: flex; align-items: center; gap: 6px; font-family: var(--font); }
.stats dt .gi { width: 22px; height: 22px; color: var(--text); }
.stats dd { font-family: var(--font); font-weight: 650; font-size: 1.05rem; }
.r-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 6px; background: var(--sunk); font-size: .86rem; font-weight: 550; }
.mk-chip .gi { width: 22px; height: 22px; }
.r-actions { gap: 8px; }
#speak[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
#speak svg { stroke-width: 2; }
.r-media .cover { border-radius: var(--radius); }

.ncheck { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sunk); }
.nc-seal { display: grid; justify-items: center; align-content: center; width: 78px; height: 78px; border-radius: 50%; border: 1.5px solid var(--text); box-shadow: inset 0 0 0 4px var(--sunk), inset 0 0 0 5px var(--text); transform: rotate(-6deg); }
.nc-seal b { font: 700 1.9rem/1 var(--font-display); }
.nc-seal span { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nc-fazit { margin: 10px 0 0; font-size: 1.3rem; line-height: 1.35; }
.nc-list { margin: 12px 0 0; display: grid; gap: 8px; }
.nc-list dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nc-list dd { margin: 2px 0 0; }

.panel { border-color: var(--line); border-radius: var(--radius); }
.h-ic { display: flex; align-items: center; gap: 10px; }
h2.h-ic .gi { width: 34px; height: 34px; }
.eyebrow.h-ic .gi { width: 24px; height: 24px; color: var(--text); }
.stepper { background: var(--sunk); }
.stepper button { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.stepper button .gi { width: 15px; height: 15px; }
.ing-row { grid-template-columns: 22px 5.4rem minmax(0, 1fr); align-items: center; }
.ing-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--muted); color: var(--bg); transition: .15s; }
.ing-ic .gi { width: 13px; height: 13px; opacity: 0; }
.ing-row input:checked + .ing-ic { background: var(--text); border-color: var(--text); }
.ing-row input:checked + .ing-ic .gi { opacity: 1; }
.ing-row input:focus-visible + .ing-ic { outline: 2px solid var(--text); outline-offset: 2px; }
.amt { font-family: var(--font); font-weight: 600; }
.step-num { border: 1px solid var(--line); color: var(--text); font-family: var(--font); font-weight: 650; }
.step-num[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.ing-mark { background: none; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.step.done .ing-mark { font-weight: inherit; text-decoration: none; }
.timer-chip { background: var(--sunk); color: var(--text); border: 1px solid var(--line); font-family: var(--font); font-weight: 600; }
.timer-chip .gi { width: 16px; height: 16px; }
.timer-chip:hover { background: var(--text); color: var(--bg); }
.tip { background: var(--sunk); border: 0; border-left: 3px solid var(--text); border-radius: 0 var(--radius) var(--radius) 0; }
.tip p:last-child { font-size: 1.15rem; }
.ph-ic { width: 60%; height: 60%; opacity: .35; }
.cook-fab .btn { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.readbar span { background: var(--text); }

/* Bewertung, Kommentare */
.rate-box { border-radius: var(--radius); }
.star { border-radius: 8px; border-color: var(--line); }
.star.on { color: var(--text); background: var(--hover); }
.avatar { background: var(--sunk); border-color: var(--line); }

/* Kochmodus, Timer, Hinweise */
.cook-bar span { background: var(--text); }
.timer { background: var(--text); color: var(--bg); }
.timer.done { background: var(--bg); color: var(--text); outline: 2px solid var(--text); }
.consent-card { border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.14); }

/* Admin */
.mk-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mk-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; cursor: pointer; margin: 0; }
.mk-opt .gi { width: 22px; height: 22px; }
.mk-opt input { width: 18px; height: 18px; }
.mk-opt:has(input:checked) { border-color: var(--text); background: var(--sunk); }
.check-edit { margin-top: 22px; }
.check-edit legend { font-weight: 700; padding: 0 6px; }
.gabel-pick { display: flex; gap: 6px; }
.gabel-pick button { width: 44px; height: 44px; padding: 9px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--line); cursor: pointer; }
.gabel-pick button.on { color: var(--text); border-color: var(--text); }
.gabel-pick svg { width: 100%; height: 100%; stroke-width: 2.2; }
.badge { border-color: var(--line); border-radius: 4px; }
.badge.warn { background: var(--text); color: var(--bg); border-color: var(--text); }
.badge.soft { background: var(--sunk); }
.badge.ghost { color: var(--muted); border-style: dashed; }
.admin-bar { background: var(--sunk); color: var(--text); border-radius: 8px; }
.demo-flag { background: var(--sunk); color: var(--muted); }
.note { border-left-color: var(--text); }
input, textarea, select { border-radius: 8px; }
input:focus, textarea:focus, select:focus { border-color: var(--text); box-shadow: none; }

@media print {
  .topbar, .bottomnav, .footer, .r-actions, .cook-fab, .readbar, .feedback, .shop, .consent, .dock, .admin-bar { display: none !important; }
}
.card-mk { gap: 4px 8px; }
.card-mk .gabeln { margin-right: 4px; }
.mk-ic, .mk-ic .gi { width: 20px; height: 20px; }

/* =========================================================
   AKZENT BLAU + BEWEGUNG
   Schwarz und Weiß bleiben die Basis. Blau (aus dem Logo)
   markiert alles, was man anklicken oder bedienen kann.
   ========================================================= */
:focus-visible { outline: 2px solid var(--blue); }
::selection { background: var(--blue-soft); }
.logo-img, .logo-foot { background: var(--blue); }
.logo:hover .logo-img { animation: wobble .6s ease; }
@keyframes wobble { 30% { transform: rotate(-2deg); } 60% { transform: rotate(1.5deg); } }
a:hover { color: var(--blue); }
.nav-desk a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.bottomnav { grid-template-columns: repeat(4, 1fr); }
.bottomnav a[aria-current] { color: var(--blue); }
.bottomnav a[aria-current] .gi { animation: pop .35s ease; }
.fav-count { background: var(--blue); color: var(--blue-ink); }

.btn { background: var(--blue); color: var(--blue-ink); transition: transform .15s ease, background .2s, box-shadow .2s; }
.btn:hover { background: var(--blue-hover); color: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--blue) 28%, transparent); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--blue-soft); color: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn.big { min-height: 54px; padding: 0 28px; font-size: 1.05rem; border-radius: 12px; }
.btn:hover .gi:last-child { transform: translateX(3px); }
.btn .gi { transition: transform .2s ease; }
.chip { transition: background .15s, border-color .15s, color .15s, transform .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.on { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.chip:active { transform: scale(.96); }
.icon-btn:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.fav-btn[aria-pressed="true"] { color: var(--blue); }
.fav-btn[aria-pressed="true"] .gi { animation: beat .35s ease; }
.btn.ghost.fav-btn[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.fav:hover { color: var(--blue); }
.readbar span, .cook-bar span { background: var(--blue); }
.cook-fab .btn { background: var(--blue); }
.timer-chip:hover { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.ing-row input:checked + .ing-ic { background: var(--blue); border-color: var(--blue); }
.ing-row input:checked + .ing-ic .gi { animation: pop .3s ease; }
.step-num[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.step-num:hover { border-color: var(--blue); color: var(--blue); }
.star:hover, .star.on { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.rate-stars .on { color: var(--blue); }
.gabeln span .gi { width: 100%; height: 100%; }
.gabeln span.on { color: var(--blue); }
.gabeln span { color: var(--text); }
.gabel-pick button { color: var(--line); }
.gabel-pick button .gi { width: 100%; height: 100%; }
.gabel-pick button.on { color: var(--blue); border-color: var(--blue); }
.nc-seal { border-color: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 4px var(--sunk), inset 0 0 0 5px var(--blue); }
.mk-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.stepper button:hover { border-color: var(--blue); color: var(--blue); }
.credit a, .prose a { color: var(--blue); }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
input[type="checkbox"] { accent-color: var(--blue); }
.timer-ring { background: conic-gradient(var(--blue-hover) var(--p), color-mix(in srgb, var(--bg) 22%, transparent) 0); }
.timer.done { outline-color: var(--blue); color: var(--blue); }
.stamp { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 8px 11px 7px; border-radius: 8px; transform: rotate(-6deg);
  background: var(--bg); color: var(--blue); border: 2px solid var(--blue); font: 800 .66rem/1.05 var(--font); letter-spacing: .1em; text-transform: uppercase; text-align: center; animation: stamp .5s .3s cubic-bezier(.3,1.6,.5,1) backwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.6); } }
.hero-media { position: relative; }

/* Karten: Bewegung beim Überfahren */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.card:hover { transform: translateY(-4px); }
.card-link:hover h3 { color: var(--blue); }
.card .cover img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card-link:hover .cover img { transform: scale(1.06); }
.card-link:hover .monogram { transform: rotate(-6deg) scale(1.05); transition: transform .4s ease; }
.card-mk .mk-ic { color: var(--text); }
.tile { transition: transform .2s ease, border-color .2s, background .2s; animation: rise .45s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--d, 0) * 40ms); }
.tile:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); transform: translateY(-3px); }
.tile:hover .gi { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
.tile .gi { color: var(--text); }
.tile:hover .gi { color: var(--blue); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Satz Header mit Karussell ---------- */
.mood-hero { position: relative; margin: 0 calc(-1 * var(--gutter-l)); padding: 44px var(--gutter-l) 10px; overflow: hidden; }
.mood-hero .eyebrow { color: var(--blue); }
.mood { margin: 10px 0 0; position: relative; z-index: 1; }
.mood h1 { margin: 0; font: 700 clamp(2.2rem, 1.2rem + 5.4vw, 4.8rem)/1.12 var(--font-display); letter-spacing: -.035em; max-width: 15ch; }
.w { display: inline-block; animation: wordin .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
.w-in { animation: wordin .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes wordin { from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(4px); } }
.mood-pill {
  position: relative; display: inline-grid; overflow: hidden; vertical-align: bottom;
  font: inherit; letter-spacing: inherit; color: var(--blue-ink); background: var(--blue); border: 0; border-radius: .32em;
  padding: 0 .26em .04em; margin: .04em 0; cursor: pointer; text-decoration: none; line-height: 1.12;
  transition: background .2s, transform .15s; box-shadow: 0 .08em 0 color-mix(in srgb, var(--blue) 55%, #000);
}
.mood-pill::after { content: none; }
.mood-pill.alt { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 .07em var(--blue); }
.mood-pill:hover { background: var(--blue-hover); color: var(--blue-ink); }
.mood-pill.alt:hover { background: var(--blue-soft); color: var(--blue); }
.mood-pill:active { transform: translateY(.04em) scale(.98); }
.mood-pill.w { animation: wordin .7s cubic-bezier(.2,.8,.2,1) backwards, nudge 2.6s 1.6s ease-in-out 2; animation-delay: calc(var(--i, 0) * 70ms + 80ms), 1.6s; }
@keyframes nudge { 0%, 100% { transform: none; } 8% { transform: translateY(-.08em) rotate(-2deg); } 16% { transform: none; } }
.mood-pill > span { grid-area: 1 / 1; }
.roll-out { animation: rollout .5s cubic-bezier(.5,0,.2,1) forwards; }
.roll-in { animation: rollin .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rollout { to { transform: translateY(-110%); opacity: 0; } }
@keyframes rollin { from { transform: translateY(110%); opacity: 0; } }
.mood-hint { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .92rem; color: var(--muted); }
.mood-hint .gi { color: var(--blue); width: 22px; height: 22px; animation: tap 1.8s 1.4s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px) rotate(-12deg); } }
#mood-n { font-weight: 600; }
#mood-n::before { content: "·"; margin-right: 8px; }

/* schwebende Icons im Hintergrund */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fl { position: absolute; color: var(--blue); opacity: .1; animation: float 14s ease-in-out infinite; }
.fl .gi { width: 64px; height: 64px; }
.fl0 { top: 6%; right: 6%; animation-duration: 13s; } .fl1 { top: 40%; right: 16%; animation-duration: 17s; animation-delay: -3s; }
.fl2 { top: 70%; right: 3%; animation-duration: 15s; animation-delay: -6s; } .fl3 { top: 14%; right: 30%; animation-duration: 19s; animation-delay: -2s; }
.fl4 { top: 58%; right: 34%; animation-duration: 16s; animation-delay: -8s; } .fl5 { top: 2%; left: 52%; animation-duration: 18s; animation-delay: -5s; }
.fl6 { top: 82%; right: 24%; animation-duration: 14s; animation-delay: -1s; } .fl7 { top: 30%; right: 1%; animation-duration: 20s; animation-delay: -9s; }
.fl8 { top: 88%; left: 4%; animation-duration: 15s; animation-delay: -4s; } .fl9 { top: 2%; left: 34%; animation-duration: 21s; animation-delay: -7s; }
.fl10 { top: 50%; right: 48%; animation-duration: 18s; animation-delay: -10s; } .fl11 { top: 22%; right: 52%; animation-duration: 16s; animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 33% { transform: translate(-14px, -18px) rotate(8deg); } 66% { transform: translate(10px, 12px) rotate(-2deg); } }
@media (max-width: 719px) { .fl .gi { width: 44px; height: 44px; } .fl3, .fl4, .fl10, .fl11, .fl5, .fl9 { display: none; } }

/* Karussell */
.car-wrap { position: relative; z-index: 1; margin: 26px calc(-1 * var(--gutter-l)) 0; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gutter-l) 22px; scroll-padding: 0 var(--gutter-l); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { scroll-snap-align: start; }
.carousel.swap .card { animation: cardin .55s cubic-bezier(.2,.8,.2,1) backwards; }
.carousel .card:nth-child(1) { animation-delay: 0ms; } .carousel .card:nth-child(2) { animation-delay: 60ms; } .carousel .card:nth-child(3) { animation-delay: 120ms; }
.carousel .card:nth-child(4) { animation-delay: 180ms; } .carousel .card:nth-child(5) { animation-delay: 240ms; } .carousel .card:nth-child(n+6) { animation-delay: 300ms; }
@keyframes cardin { from { opacity: 0; transform: translateX(40px) scale(.96); } }
.car-empty { display: flex; align-items: center; gap: 16px; padding: 26px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); width: min(560px, calc(100vw - 40px)); }
.car-empty .gi { color: var(--blue); flex: none; }
.car-empty p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }
.car-btn { position: absolute; top: 34%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); display: none; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: .2s; }
.car-btn .gi { width: 22px; height: 22px; }
.car-btn:hover { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.car-btn.prev { left: max(8px, calc(var(--gutter-l) - 22px)); } .car-btn.next { right: max(8px, calc(var(--gutter-r) - 22px)); }
@media (min-width: 860px) { .car-btn { display: grid; } .carousel { grid-auto-columns: 260px; } }
.search-bar.reveal { margin-top: 26px; }

/* Küchenhelfer Teaser */
.tools-teaser { display: grid; gap: 12px; }
@media (min-width: 720px) { .tools-teaser { grid-template-columns: 1fr 1fr; } }
.tool-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: .2s ease; }
.tool-card b { display: block; font-size: 1.1rem; }
.tool-card small { color: var(--muted); }
.tool-card > .gi:first-child { color: var(--blue); }
.tool-card > .gi:last-child { width: 22px; height: 22px; color: var(--muted); transition: transform .2s; }
.tool-card:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--text); transform: translateY(-2px); }
.tool-card:hover > .gi:first-child { animation: wiggle .5s ease; }
.tool-card:hover > .gi:last-child { transform: translateX(4px); color: var(--blue); }
.tools-teaser.big .tool-card { padding: 26px; }

/* Kategorie Kopf */
.cat-big { display: block; color: var(--blue); margin-bottom: 10px; }
.cat-big .gi { width: 64px; height: 64px; animation: wordin .6s ease backwards; }
.cat-hint { max-width: 60ch; margin-top: 8px !important; }

/* ---------- Werkzeuge ---------- */
.tool { max-width: 560px; margin: 0 auto; padding: 30px 0 10px; text-align: center; }
.tool .display-s { margin: 6px 0 22px; }
.tool .eyebrow { color: var(--blue); }
.tool-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 10px; }
.tool .center { text-align: center; }
.egg-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.egg-opt { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 6px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; color: var(--muted); transition: .2s ease; }
.egg-opt .gi.xl { width: 54px; height: 54px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); filter: grayscale(1); opacity: .45; color: var(--text); }
.egg-opt b { color: var(--text); font-size: .98rem; }
.egg-opt small { font-size: .8rem; }
.egg-opt .tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: var(--blue-ink); display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.egg-opt .tick .gi { width: 13px; height: 13px; }
.egg-opt[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
.egg-opt[aria-checked="true"] .gi.xl { opacity: 1; color: var(--blue); transform: scale(1.12) rotate(-6deg); }
.egg-opt[aria-checked="true"] .tick { transform: scale(1); }
.egg-opt:hover { border-color: var(--blue); }
.egg-stage { position: relative; margin: 26px auto 6px; width: min(260px, 70vw); }
.egg-stage.bump .egg-svg { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.04) rotate(-2deg); } }
.egg-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 24px rgba(0,0,0,.08)); }
.egg-shell { fill: var(--surface); stroke: var(--text); stroke-width: 3; }
.egg-fill { fill: var(--blue-soft); transition: y .3s linear; }
.egg-yolk { fill: var(--blue); opacity: calc(.55 + var(--set) * .45); transition: opacity .4s, r .4s; }
.egg-shine { fill: #fff; opacity: calc(.7 - var(--set) * .6); transition: opacity .4s; }
.egg-time { position: absolute; left: 0; right: 0; top: 18%; display: grid; justify-items: center; }
.egg-time b { font: 700 clamp(2.6rem, 10vw, 3.6rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.egg-time small { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.ruler { position: relative; height: 22px; margin: 10px -40px 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.ruler::before { content: ""; position: absolute; left: 50%; top: 0; width: 0; height: 0; border: 7px solid transparent; border-top-color: var(--blue); transform: translateX(-50%); z-index: 1; }
.ruler span { position: absolute; left: 50%; top: 9px; width: 200%; height: 12px; background: repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 8px); opacity: .5; transition: transform .25s linear; }
.egg-tool.running .egg-svg { animation: wobble2 2.4s ease-in-out infinite; transform-origin: 50% 95%; }
@keyframes wobble2 { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg); } }
.egg-tool.running .egg-pick { pointer-events: none; opacity: .5; }
.egg-more { text-align: left; border-radius: 14px; margin-top: 18px; }
.egg-more summary { display: flex; justify-content: space-between; align-items: center; }
.egg-more summary .gi { width: 18px; height: 18px; transition: transform .2s; }
.egg-more[open] summary .gi { transform: rotate(90deg); }
.opt-h { margin: 18px 0 8px; font-weight: 600; font-size: .92rem; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; transition: .15s; }
.seg button .gi { width: 22px; height: 22px; }
.seg button:hover { border-color: var(--blue); color: var(--blue); }
.seg button[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.switch { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; font-weight: 600; cursor: pointer; }
.switch > .gi { color: var(--blue); margin-right: 6px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; width: 62px; height: 34px; border-radius: 999px; background: var(--hover); border: 1px solid var(--line); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + i { background: var(--blue); border-color: var(--blue); }
.switch input:checked + i::after { transform: translateX(28px); }
.switch input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn:disabled { opacity: .35; }
.done-screen { padding-top: 40px; }
.burst { position: relative; width: 190px; height: 190px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); animation: burst .7s cubic-bezier(.3,1.6,.5,1); }
.burst::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed var(--blue); opacity: .5; animation: spin 14s linear infinite; }
.burst .gi { width: 120px; height: 120px; color: var(--blue); }
@keyframes burst { from { transform: scale(.3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.t-stage { position: relative; width: min(300px, 78vw); margin: 0 auto; aspect-ratio: 1; }
.t-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.t-ring circle { fill: none; stroke-width: 7; }
.t-bg { stroke: var(--hover); }
.t-fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 92; transition: stroke-dashoffset .3s ease; }
.t-face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; }
.t-face .gi { color: var(--blue); width: 42px; height: 42px; }
.t-face b { font: 700 clamp(3rem, 13vw, 4.2rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.t-face input { width: 170px; text-align: center; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 6px; font-size: .95rem; background: transparent; }
.timer-tool.running .t-face .gi { animation: ringring .5s ease-in-out infinite; }
@keyframes ringring { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.t-adj { display: flex; justify-content: center; gap: 10px; margin: 20px 0 12px; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; font-weight: 700; font-size: .82rem; transition: .15s; }
.round .gi { width: 22px; height: 22px; }
.round:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.round:active { transform: scale(.92); }
.t-pre { justify-content: center; flex-wrap: wrap; overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .fl, .reveal, .w, .w-in, .mood-pill.w, .egg-svg, .burst::before { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.mood .mood-hint { font: 500 .92rem/1.4 var(--font); letter-spacing: 0; }
.gabeln { gap: 0; }
.gabeln span { width: 16px; height: 26px; opacity: .22; }
.gabeln span.on { opacity: 1; }
.gabeln.s span { width: 12px; height: 20px; }
.gabeln span .gi { width: 100%; height: 100%; -webkit-mask-size: auto 100%; mask-size: auto 100%; }
.gabeln span { width: 18px; height: 20px; }
.gabeln.s span { width: 14px; height: 16px; }
.gabeln svg { width: 100%; height: 100%; stroke-width: 2.6; }
.gabel-pick svg { width: 100%; height: 100%; stroke-width: 2.4; }
.mood .mood-hint { display: block; }
.mood-hint .gi { margin-right: 6px; vertical-align: -.35em; }
#mood-n::before { content: none; } #mood-n { display: block; margin-top: 2px; }
.ruler span { left: -50%; width: 300%; }
.mood-pill { white-space: nowrap; }
.mood h1 { max-width: 19ch; }
@media (max-width: 520px) { .mood h1 { font-size: clamp(1.9rem, 9.2vw, 2.6rem); } }
.nw { white-space: nowrap; }

/* Feinschliff Header, Siegel, Schrift */
.floaters { display: none; }
.mood-pill { overflow: visible; padding-right: .5em; }
.mood-pill .pill-t { display: inline-grid; overflow: hidden; }
.mood-pill .pill-t > span { grid-area: 1 / 1; }
.mood-pill .gi.spin { position: absolute; top: -.12em; right: -.22em; width: .52em; height: .52em; padding: .07em; box-sizing: content-box;
  border-radius: 50%; background: var(--bg); color: var(--blue); box-shadow: 0 0 0 .04em var(--blue); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.mood-pill.alt .gi.spin { background: var(--bg); }
.mood-pill:hover .gi.spin, .mood-pill.rolling .gi.spin { transform: rotate(180deg); }
.mood-count { margin: 14px 0 0; font-size: .92rem; font-weight: 600; color: var(--muted); }
#mood-n { display: inline; margin: 0; }
.mood-pill.w { animation: wordin .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
.mood-pill.w .gi.spin { animation: spinhint 1.2s 1.4s cubic-bezier(.3,1.4,.5,1) 2 both; }
@keyframes spinhint { 0% { transform: rotate(0); } 60%, 100% { transform: rotate(360deg); } }

.stamp { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; font-size: .78rem; }
.hero-text .eyebrow { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: 1.05rem; color: var(--blue); }

.nc-seal { gap: 0; width: 86px; height: 86px; }
.nc-seal .gi { width: 22px; height: 30px; }
.nc-seal b { font-size: 1.5rem; display: flex; align-items: baseline; }
.nc-seal b small { font-size: .55em; opacity: .7; }
.gabeln-big { display: inline-flex; gap: 2px; margin: 4px 0 0; }
.gabeln-big span { display: inline-grid; width: 22px; height: 40px; color: var(--blue); opacity: .2; }
.gabeln-big span.on { opacity: 1; }
.gabeln-big .gi { width: 100%; height: 100%; }
.mood .mood-count { font: 600 .95rem/1.4 var(--font); letter-spacing: 0; color: var(--muted); margin-top: 16px; }
.mood-pill::before { content: ""; position: absolute; top: -.24em; right: -.3em; width: .66em; height: .66em; border-radius: 50%;
  background: var(--bg); box-shadow: 0 0 0 .055em var(--blue), 0 .04em .12em rgba(0,0,0,.15); z-index: 1; }
.mood-pill .gi.spin { top: -.13em; right: -.19em; width: .44em; height: .44em; padding: 0; background: var(--blue); box-shadow: none; border-radius: 0; z-index: 2; }
.mood-pill.alt .gi.spin { background: var(--blue); }
.gabeln-big { gap: 6px; }
.gabeln-big span { width: 14px; height: 46px; opacity: .18; }
.gabeln-big span.on { opacity: 1; }
.nc-seal .gi { width: 12px; height: 34px; margin-bottom: 2px; }
.gabeln-big span .gi { opacity: 1; }
.gabeln-big > span:not(.on) { opacity: .18; }
.gabeln-big > span.on { opacity: 1; }

/* Logo größer, Claim, Wörter als blaue Schrift mit Punkten */
:root { --head-h: 72px; }
.logo-img { width: 210px; height: 37px; }
@media (min-width: 720px) { :root { --head-h: 84px; } .logo-img { width: 270px; height: 47px; } }
.claim { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--blue); font: italic 400 1.25rem/1.2 var(--font-serif); }
.claim .gi { width: 12px; height: 30px; transform: rotate(-12deg); }
.claim::after { content: ""; flex: 0 1 64px; height: 1px; background: currentColor; opacity: .4; margin-left: 4px; }

.mood-pill, .mood-pill.alt { background: none; box-shadow: none; color: var(--blue); padding: 0 .12em 0 0; border-radius: 0; margin: 0;
  text-decoration: underline dotted; text-decoration-thickness: .07em; text-underline-offset: .16em; text-decoration-color: var(--blue); }
.mood-pill:hover, .mood-pill.alt:hover { background: none; color: var(--blue-hover); text-decoration-style: solid; }
.mood-pill::before { content: none; }
.mood-pill .gi.spin, .mood-pill.alt .gi.spin { position: static; display: inline-block; width: .34em; height: .34em; margin-left: .06em; vertical-align: .9em; background: var(--blue); opacity: .55; }
.mood-pill:hover .gi.spin, .mood-pill.rolling .gi.spin { opacity: 1; }
.mood-pill .pill-t { text-decoration: inherit; }
.mood-pill, .mood-pill.alt { display: inline; }
.mood-pill > .gi.spin { grid-area: auto; }
.mood-pill .pill-t { display: inline-grid; vertical-align: bottom; }
.logo-img { width: 232px; height: 40px; }
@media (min-width: 720px) { .logo-img { width: 270px; height: 47px; } }
@media (max-width: 520px) { .claim { font-size: 1.08rem; } .claim::after { display: none; } }
.mood-pill, .mood-pill.alt { position: relative; padding-right: 0; margin-right: .28em; }
.mood-pill .gi.spin, .mood-pill.alt .gi.spin { position: absolute; top: -.02em; right: -.36em; margin: 0; vertical-align: 0; }
.nw .mood-pill.alt { margin-right: .3em; }
.ing-row { grid-template-columns: 22px 30px 5rem minmax(0, 1fr); }
.ing-pic { width: 28px; height: 28px; color: var(--blue); }
.ing-row input:checked ~ .ing-pic { opacity: .35; }
.legal h2 { font-size: 1.1rem; margin: 26px 0 6px; }
.legal p { color: var(--text); }

/* Eierkocher mit eigenem Ei */
.egg-stage { width: min(240px, 62vw); }
.egg-art { position: relative; width: 100%; aspect-ratio: .777; transition: transform .3s; }
.egg-fillwrap { position: absolute; inset: 3% 5% 2% 3%; clip-path: ellipse(47% 49% at 50% 52%); }
.egg-fill2 { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0%); background: var(--blue-soft); transition: height .3s linear; }
.egg-draw { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue); }
.egg-stage.bump .egg-art { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
.egg-tool.running .egg-art { animation: wobble2 2.4s ease-in-out infinite; transform-origin: 50% 95%; }
.egg-time { position: static; margin-top: 14px; }
.egg-opt .gi.xl { width: 40px; height: 52px; }

/* Rechner */
.calc { max-width: 620px; }
.tool-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.tool-ic .gi { width: 56px; height: 56px; }
.calc .seg { justify-content: center; }
.calc .seg button { flex: 0 1 auto; }
.stepper.big { margin: 0 auto; }
.stepper.big output { font-family: var(--font-display); font-size: 1.5rem; min-width: 2.2ch; }
.calc-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 26px 0 4px; }
.cr { display: grid; justify-items: center; gap: 4px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); animation: rise .4s cubic-bezier(.2,.7,.2,1) backwards; }
.cr:nth-child(2) { animation-delay: 50ms; } .cr:nth-child(3) { animation-delay: 100ms; } .cr:nth-child(4) { animation-delay: 150ms; }
.cr .gi { width: 40px; height: 40px; color: var(--blue); }
.cr b { font: 700 1.6rem/1.1 var(--font-display); letter-spacing: -.02em; }
.cr span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.tip-line { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--sunk); font-size: .92rem; }
.tip-line .gi { width: 26px; height: 26px; color: var(--blue); flex: none; }
.tool-foot { margin-top: 18px; }
.range { display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 0 auto; }
.range input { flex: 1; accent-color: var(--blue); padding: 0; border: 0; }
.range output { font: 700 1.2rem var(--font-display); min-width: 4.5ch; }
.af-in { max-width: 380px; margin: 16px auto 0; text-align: left; }
.unit-in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding-right: 12px; background: var(--surface); }
.unit-in input { border: 0; font: 700 1.3rem var(--font-display); }
.unit-in input:focus { box-shadow: none; }
.unit-in:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.unit-in span { color: var(--muted); font-weight: 600; }
.af-arrow { display: grid; place-items: center; margin-top: 18px; color: var(--blue); }
.af-arrow .gi { width: 26px; height: 26px; transform: rotate(90deg); animation: tap 1.6s ease-in-out infinite; }
.tools-teaser { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Saison */
.saison-chips { flex-wrap: wrap; overflow: visible; }
.chip .now { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; background: var(--blue); color: var(--blue-ink); }
.chip[aria-current] .now { background: var(--blue-ink); color: var(--blue); }
a.mk-chip { text-decoration: none; color: inherit; }
a.mk-chip:hover { background: var(--blue-soft); color: var(--blue); }

/* Claim in Inter, schwarz */
.claim { color: var(--text); font: 500 1.05rem/1.3 "Inter", system-ui, sans-serif; letter-spacing: -.01em; }
.claim .gi { color: var(--text); }
.claim::after { background: var(--text); opacity: .25; }

/* vegan / vegetarisch als handgeschriebenes Wort */
.mk-wort { display: inline-block; height: 1.25em; width: calc(1.25em * var(--ar)); background: currentColor; vertical-align: -.3em;
  -webkit-mask: var(--gi) center / contain no-repeat; mask: var(--gi) center / contain no-repeat; }
.mk-ic.is-wort { width: auto; height: 22px; padding: 0; }
.mk-ic.is-wort .mk-wort { height: 22px; width: calc(22px * var(--ar)); color: var(--blue); }
.mk-chip.is-wort { padding: 3px 10px; }
.mk-chip.is-wort .mk-wort { height: 26px; width: calc(26px * var(--ar)); color: var(--blue); }
.mk-opt .mk-wort { height: 22px; width: calc(22px * var(--ar)); color: var(--blue); }
.mk-opt .mk-wort + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- CREATOR IM MITTELPUNKT ---------- */
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); border-radius: 999px; padding: 0 20px; gap: 8px; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-blue svg { width: 18px; height: 18px; }
.cr-av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 700 1rem/1 "Bricolage Grotesque", var(--font); box-shadow: inset 0 0 0 1.5px var(--blue); }
.cr-av.l { width: 64px; height: 64px; font-size: 1.6rem; }
.cr-av.xl { width: 84px; height: 84px; font-size: 2.2rem; }
.cr-av.xxl { width: 112px; height: 112px; font-size: 3rem; margin: 0 0 14px; }
.r-media { position: relative; }
.video-pill { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--text); text-decoration: none; font-size: .95rem; box-shadow: 0 8px 28px rgba(0,0,0,.18); backdrop-filter: blur(8px); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.vp-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); animation: pulse-play 2.4s ease-in-out infinite; }
.vp-ic svg { width: 18px !important; height: 18px !important; fill: #fff; stroke: none; margin-left: 2px; }
.video-pill-old { width: 34px; height: 34px; padding: 9px 8px 9px 10px; border-radius: 50%; background: var(--blue); fill: #fff; color: #fff; animation: pulse-play 2.4s ease-in-out infinite; }
.video-pill:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.video-pill b { color: var(--blue); }
@keyframes pulse-play { 0%, 100% { box-shadow: 0 0 0 0 rgba(1,106,240,.45); } 60% { box-shadow: 0 0 0 10px rgba(1,106,240,0); } }
.creator { margin: 28px 0 8px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); position: relative; overflow: hidden; }
.creator::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--blue); }
.cr-top { display: flex; align-items: center; gap: 18px; }
.cr-top .eyebrow { margin: 0 0 4px; }
.cr-name { margin: 0; font: 700 clamp(1.6rem, 4.6vw, 2.3rem)/1.1 "Bricolage Grotesque", var(--font); letter-spacing: -.02em; word-break: break-word; }
.cr-name a { color: var(--text); text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 3px no-repeat; transition: background-size .35s, color .2s; }
.cr-name a:hover { color: var(--blue); background-size: 100% 3px; }
.cr-plat { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.cr-thanks { margin: 18px 0 20px; font: italic 400 1.15rem/1.5 "Newsreader", Georgia, serif; max-width: 62ch; }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.creator-head .cr-actions { margin-top: 18px; }
.link-dot { color: var(--blue); text-decoration: underline dotted 2px; text-underline-offset: 5px; font-weight: 600; font-size: .95rem; }
.link-dot:hover { text-decoration-style: solid; }
.by-cr { color: var(--blue); text-decoration: underline dotted 1.5px; text-underline-offset: 3px; }
.card-by { margin: 0 2px 6px; font-size: .82rem; color: var(--muted); }
.card-by b { color: var(--blue); font-weight: 600; }
.credit a { color: var(--blue); font-weight: 600; }
.cr-intro { margin: -6px 0 16px; max-width: 60ch; }
.cr-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.cr-row::-webkit-scrollbar { display: none; }
.cr-card { flex: 0 0 auto; width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px 12px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.reveal.in .cr-card { animation: cr-in .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 60ms); }
@keyframes cr-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.cr-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.cr-card:hover b { color: var(--blue); }
.cr-card b { font-size: .92rem; word-break: break-word; }
@media (prefers-color-scheme: dark) { .video-pill { background: rgba(25,25,25,.92); } }
@media print { .video-pill, .creator .cr-actions { display: none; } }
@media (prefers-reduced-motion: reduce) { .vp-ic { animation: none; } .reveal.in .cr-card { animation: none; } }

/* ---------- Meine Rezepte (nur Admin) und private Quelle ---------- */
.bottomnav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.bottomnav a[hidden], .nav-desk a[hidden] { display: none; }
.r-private { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px; font-size: .85rem; color: var(--muted); }
.r-private .gi { width: 16px; height: 16px; flex: none; }
.r-private a { color: var(--blue); word-break: break-all; }
@media print { .r-private { display: none; } }

/* Kochmodus: nie breiter als der Bildschirm */
.cook { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
.cook > * { min-width: 0; }
.cook-step { overflow-wrap: break-word; hyphens: auto; }
.cook-head > :first-child { flex: none; }

/* ---------- Meine Rezepte (Admin) ---------- */
.adm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px 0 18px; }
.adm-head .eyebrow { margin: 0 0 6px; }
.adm-head h1 { margin: 0; }
.adm-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.adm-stats b { color: var(--text); font-weight: 650; }
.adm-head .link-dot { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--muted); }
.adm-import { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.adm-import:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.adm-import .gi { width: 20px; height: 20px; color: var(--blue); flex: none; }
.adm-import input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 8px 0; }
.adm-import input:focus { box-shadow: none; }
.adm-hint { margin: 8px 2px 0; }
.adm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 26px 0 18px; }
.adm-bar .chips { margin: 0; }
.adm-links { display: flex; gap: 18px; }
.adm-card { position: relative; }
.adm-cover { position: relative; }
.adm-cover .badge { position: absolute; left: 10px; top: 10px; background: var(--bg); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.adm-cover .badge.warn { background: var(--text); color: var(--bg); }
.adm-src { margin: 4px 2px 0; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-edit { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .2s, color .2s; }
.adm-edit:hover { color: var(--blue); transform: scale(1.06); }
.adm-edit .gi { width: 18px; height: 18px; }
.admin-bar { flex-wrap: wrap; gap: 10px 16px; padding: 10px 12px 10px 16px; border: 1px dashed var(--line); background: var(--bg); color: var(--muted); font-weight: 500; }
.admin-bar.is-online { border-style: solid; }
.ab-state::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--muted); vertical-align: 1px; }
.admin-bar.is-online .ab-state::before { background: #1a9b4b; }
.ab-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.ab-actions .btn { min-height: 36px; }
.adm-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.adm-bar .chips::-webkit-scrollbar { display: none; }
