/* dealsky API Docs. Werte aus der App (src/index.css, Light): Neutral-Schwarz 0 0% 9% auf Weiß,
   Rand 0 0% 89.8%, Lexend für Titel, DM Sans für Text. Farbe nur für Bedeutung (Methoden, Wirkung). */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --surface-3: #f0f0f0;
  --fg: #171717;
  --fg-2: #404040;
  --muted: #666666;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --primary: #171717;
  --primary-fg: #fafafa;
  --code-bg: #fafafa;
  --code-fg: #262626;
  --hover: rgba(23, 23, 23, 0.05);
  --ring: rgba(23, 23, 23, 0.15);
  --j-k: #1f2937; --j-s: #0f766e; --j-n: #b45309; --j-l: #7c3aed;
  --get: #047857; --get-bg: #ecfdf5;
  --post: #1d4ed8; --post-bg: #eff6ff;
  --patch: #b45309; --patch-bg: #fffbeb;
  --put: #6d28d9; --put-bg: #f5f3ff;
  --delete: #b91c1c; --delete-bg: #fef2f2;
  --radius: 10px;
  --top-h: 60px;
  --side-w: 272px;
  --toc-w: 232px;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Lexend", var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
:root.dark {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #161616;
  --surface-3: #1f1f1f;
  --fg: #fafafa;
  --fg-2: #d4d4d4;
  --muted: #a3a3a3;
  --border: #262626;
  --border-strong: #333333;
  --primary: #fafafa;
  --primary-fg: #0a0a0a;
  --code-bg: #111111;
  --code-fg: #e5e5e5;
  --hover: rgba(250, 250, 250, 0.06);
  --ring: rgba(250, 250, 250, 0.2);
  --j-k: #e5e5e5; --j-s: #5eead4; --j-n: #fbbf24; --j-l: #c4b5fd;
  --get: #34d399; --get-bg: rgba(52, 211, 153, 0.12);
  --post: #60a5fa; --post-bg: rgba(96, 165, 250, 0.12);
  --patch: #fbbf24; --patch-bg: rgba(251, 191, 36, 0.12);
  --put: #c4b5fd; --put-bg: rgba(196, 181, 253, 0.12);
  --delete: #f87171; --delete-bg: rgba(248, 113, 113, 0.12);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code, kbd, pre { font-family: var(--font-mono); }
img { display: block; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--primary); color: var(--primary-fg); padding: 6px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ── Kopfleiste ── */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; gap: 16px; padding: 0 20px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-mark { height: 24px; width: auto; }
.logo-word { height: 18px; width: auto; }
.dark .logo-mark, .dark .logo-word { filter: invert(1); }
.badge {
  font: 500 12px/1 var(--font-display); padding: 5px 8px; border-radius: 6px;
  background: var(--surface-3); color: var(--fg-2); margin-left: 4px;
}
.search-btn {
  margin-left: 24px; flex: 0 1 360px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--muted);
  font: 14px var(--font-body); cursor: pointer; transition: border-color .2s, background .2s;
}
.search-btn:hover { border-color: var(--border-strong); background: var(--surface); }
.search-btn span { flex: 1; text-align: left; }
kbd {
  font: 500 11px/1 var(--font-mono); padding: 3px 5px; border-radius: 4px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top-link {
  display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 14px; text-decoration: none;
  padding: 7px 12px; border-radius: 8px; color: var(--fg-2); transition: background .2s;
}
.top-link:hover { background: var(--hover); color: var(--fg); }
.icon-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: var(--fg-2); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--hover); color: var(--fg); }
.theme-btn .i-moon, .dark .theme-btn .i-sun { display: none; }
.dark .theme-btn .i-moon { display: block; }
.menu-btn { display: none; }
.scrim { display: none; }

/* ── Grundgerüst ── */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) var(--toc-w); max-width: 1600px; margin: 0 auto; }
.shell:not(:has(.toc)) { grid-template-columns: var(--side-w) minmax(0, 1fr); }
.side {
  position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto;
  padding: 20px 12px 40px; border-right: 1px solid var(--border); scrollbar-width: thin;
}
.main { min-width: 0; padding: 40px 48px 0; }
.toc {
  position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto;
  padding: 40px 20px 40px 8px; font-size: 13px; scrollbar-width: thin;
}

/* ── Navigation ── */
.nav-sec + .nav-sec { margin-top: 22px; }
.nav-title { font: 600 11px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.nav-row { display: flex; align-items: center; }
.nav-row > a, .nav-kids a {
  flex: 1; display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 10px; border-radius: 7px;
  color: var(--fg-2); font-size: 14px; transition: background .15s, color .15s; min-width: 0;
}
.nav-row > a:hover, .nav-kids a:hover { background: var(--hover); color: var(--fg); }
.side li.on > .nav-row > a { background: var(--surface-3); color: var(--fg); font-weight: 500; }
.nav-tog {
  width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted);
  border-radius: 6px; cursor: pointer; transition: transform .2s, background .15s;
}
.nav-tog:hover { background: var(--hover); }
.has-kids.open > .nav-row .nav-tog { transform: rotate(90deg); }
.nav-kids { display: none; margin: 2px 0 6px 10px !important; padding-left: 8px !important; border-left: 1px solid var(--border) !important; }
.has-kids.open > .nav-kids { display: block; }
.nav-kids a { font-size: 13px; padding: 5px 8px; }
.nav-kids a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-kids a.on { color: var(--fg); background: var(--hover); font-weight: 500; }
.nm {
  flex-shrink: 0; width: 34px; text-align: center; font: 600 9.5px/1 var(--font-mono); padding: 3px 0; border-radius: 4px;
}
.nm-get { color: var(--get); background: var(--get-bg); }
.nm-post { color: var(--post); background: var(--post-bg); }
.nm-patch { color: var(--patch); background: var(--patch-bg); }
.nm-put { color: var(--put); background: var(--put-bg); }
.nm-delete { color: var(--delete); background: var(--delete-bg); }

/* ── Inhaltsverzeichnis rechts ── */
.toc-title { font: 600 11px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc a {
  display: flex; align-items: center; gap: 6px; padding: 4px 10px; margin-left: -1px; text-decoration: none; color: var(--muted);
  border-left: 1px solid transparent; transition: color .15s;
}
.toc a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: var(--fg); border-left-color: var(--fg); }
.toc .nm { width: 30px; font-size: 9px; }

/* ── Typografie ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 48px 0 16px; }
h2 a { text-decoration: none; }
h3 { font-size: 18px; margin: 0; }
h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 26px 0 10px; font-weight: 500; }
.eyebrow { font: 500 13px/1 var(--font-display); color: var(--muted); }
.lead { font-size: 17px; color: var(--fg-2); max-width: 720px; margin: 0; }
.prose { color: var(--fg-2); max-width: 760px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a, .main p a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--fg); }
:not(pre) > code {
  font-size: 0.86em; padding: 2px 5px; border-radius: 5px; background: var(--surface-3); color: var(--fg); word-break: break-word;
}
.page-head { padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }

/* ── Start ── */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 44px; margin: 10px 0 14px; }
.hero-cta { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px; text-decoration: none;
  font: 500 14px var(--font-body); border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: scale(1.02); border-color: var(--border-strong); }
.btn.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.base {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface-2); max-width: 720px; font-size: 13px;
}
.base > span { color: var(--muted); font-weight: 500; }
.base code { background: transparent !important; padding: 0 !important; font-size: 13px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy-inline, .copy {
  font: 500 12px var(--font-body); color: var(--muted); background: transparent; border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px; cursor: pointer; transition: color .15s, background .15s;
}
.copy-inline:hover, .copy:hover { color: var(--fg); background: var(--hover); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.card {
  display: block; text-decoration: none; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: all .2s;
}
.card:hover { border-color: var(--border-strong); background: var(--hover); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title { font: 500 15px var(--font-display); }
.card-n { font: 500 12px var(--font-mono); color: var(--muted); }
.card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ── Schnellstart ── */
.steps { margin-top: 28px; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--border); }
.step-n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 14px var(--font-display);
  background: var(--primary); color: var(--primary-fg);
}
.step h3 { margin: 4px 0 10px; }
.step p { color: var(--fg-2); margin: 0 0 12px; max-width: 720px; }
.step .code-card { max-width: 760px; margin-bottom: 12px; }

/* ── Abschnitte, Tabellen, Hinweise ── */
.doc-sec { padding-top: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); margin: 8px 0 16px; max-width: 880px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 12px var(--font-display); color: var(--muted); background: var(--surface-2); padding: 10px 14px; border-bottom: 1px solid var(--border); }
td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--fg-2); }
tr:last-child td { border-bottom: 0; }
.note { padding: 12px 16px; border-radius: var(--radius); background: var(--surface-2); color: var(--fg-2); font-size: 14px; margin: 24px 0 8px; max-width: 760px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; max-width: 1000px; }

/* ── Endpunkte ── */
.ep {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--top-h) + 8px);
}
.ep-doc { position: relative; min-width: 0; }
.ep-anchor { position: absolute; left: -22px; top: 0; color: var(--muted); text-decoration: none; opacity: 0; transition: opacity .15s; font: 500 18px var(--font-display); }
.ep:hover .ep-anchor { opacity: 1; }
.ep-line { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; min-width: 0; }
.m { flex-shrink: 0; font: 600 11px/1 var(--font-mono); padding: 5px 7px; border-radius: 5px; }
.m-get { color: var(--get); background: var(--get-bg); }
.m-post { color: var(--post); background: var(--post-bg); }
.m-patch { color: var(--patch); background: var(--patch-bg); }
.m-put { color: var(--put); background: var(--put-bg); }
.m-delete { color: var(--delete); background: var(--delete-bg); }
.path { font-size: 14px !important; background: transparent !important; padding: 0 !important; color: var(--fg); overflow-wrap: anywhere; }
.pp { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip {
  font-size: 12px; color: var(--fg-2); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; gap: 4px;
}
.chip code { font-size: 11.5px !important; padding: 0 !important; background: transparent !important; }
.chip.w-d { color: var(--delete); border-color: color-mix(in srgb, var(--delete) 30%, var(--border)); background: var(--delete-bg); }
.chip.w-x { color: var(--patch); border-color: color-mix(in srgb, var(--patch) 30%, var(--border)); background: var(--patch-bg); }
.chip.w-c { color: var(--put); border-color: color-mix(in srgb, var(--put) 30%, var(--border)); background: var(--put-bg); }
.fields { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.f { padding: 12px 0; border-bottom: 1px solid var(--border); }
.f .prose, .f p { margin: 6px 0 0; font-size: 14px; color: var(--fg-2); }
.f-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.f-name { font-size: 13px !important; font-weight: 500; background: transparent !important; padding: 0 !important; }
.f-type { font: 12px var(--font-mono); color: var(--muted); }
.f-req { font: 500 11px var(--font-body); color: var(--delete); }
.f-g { font-size: 12px; color: var(--muted); }
.f-g::before { content: "· "; }
.enum { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.enum code { font-size: 11.5px !important; }
.f-sub, .resp-fields { margin-top: 8px; }
.f-sub > summary, .resp-fields > summary {
  cursor: pointer; font-size: 13px; color: var(--muted); list-style: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; transition: color .15s, background .15s;
}
.f-sub > summary::-webkit-details-marker, .resp-fields > summary::-webkit-details-marker { display: none; }
.f-sub > summary::before, .resp-fields > summary::before { content: "+"; font-family: var(--font-mono); }
.f-sub[open] > summary::before, .resp-fields[open] > summary::before { content: "−"; }
.f-sub > summary:hover, .resp-fields > summary:hover { color: var(--fg); background: var(--hover); }
.f-sub > .fields { margin: 8px 0 0 10px; padding-left: 12px; border-left: 1px solid var(--border); border-top: 0; }
.resp-fields { margin-top: 26px; }
.resp-fields > .fields { margin-top: 12px; }
.errs { display: flex; flex-wrap: wrap; gap: 6px; }
.err { font: 12px var(--font-mono); color: var(--muted); padding: 3px 8px; border-radius: 6px; background: var(--surface-2); }
.err b { color: var(--fg-2); font-weight: 500; }
.ep-code {
  min-width: 0; align-self: start; position: sticky; top: calc(var(--top-h) + 16px);
  max-height: calc(100vh - var(--top-h) - 32px); overflow-y: auto; scrollbar-width: thin;
}
.ep-code > .code-card + .code-card { margin-top: 12px; }
.ep-code pre { max-height: 420px; }

/* ── Code-Karten ── */
.code-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--code-bg); overflow: hidden; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 6px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.tabs { display: flex; gap: 2px; }
.tab {
  font: 500 12.5px var(--font-body); color: var(--muted); background: transparent; border: 0; padding: 5px 10px; border-radius: 6px; cursor: pointer;
  transition: color .15s, background .15s;
}
.tab:hover { color: var(--fg); }
.tab.on { color: var(--fg); background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.resp-label { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--font-body); color: var(--fg-2); padding-left: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--get); }
.dot.bad { background: var(--delete); }
.code-pane { display: none; }
.code-pane.on { display: block; }
pre { margin: 0; padding: 14px 16px; overflow: auto; max-height: 520px; font-size: 12.5px; line-height: 1.65; color: var(--code-fg); tab-size: 2; scrollbar-width: thin; }
.j-k { color: var(--j-k); } .j-s { color: var(--j-s); } .j-n { color: var(--j-n); } .j-l { color: var(--j-l); }
.copy.done, .copy-inline.done { color: var(--get); }

/* ── Changelog ── */
.log { margin-top: 24px; }
.log-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.log-date { font: 500 13px var(--font-display); color: var(--muted); padding-top: 3px; }
.log-item ul { margin: 10px 0 0; padding-left: 18px; color: var(--fg-2); }
.log-item li { margin: 4px 0; }

/* ── Fußzeile ── */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 32px 0 40px; margin-top: 64px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* ── Suche ── */
.search { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.35); display: grid; place-items: start center; padding: 12vh 16px 16px; }
.search[hidden] { display: none; }
.search-box {
  width: 100%; max-width: 620px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18); overflow: hidden; display: flex; flex-direction: column; max-height: 70vh;
}
.search-in { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
.search-in input { flex: 1; height: 52px; border: 0; outline: 0; background: transparent; color: var(--fg); font: 16px var(--font-body); }
.search-in input::-webkit-search-cancel-button { display: none; }
.search-res { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.search-res li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; }
.search-res li.sel a, .search-res li a:hover { background: var(--hover); }
.sr-main { min-width: 0; flex: 1; }
.sr-t { font-size: 14px; font-weight: 500; color: var(--fg); }
.sr-s { font: 12px var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-g { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.sr-icon { width: 34px; flex-shrink: 0; display: grid; place-items: center; color: var(--muted); }
.search-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.search-foot { display: flex; gap: 16px; padding: 8px 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); background: var(--surface-2); }
.search-foot kbd { margin-right: 2px; }
mark { background: transparent; color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── Schmalere Bildschirme ── */
@media (max-width: 1280px) {
  .shell, .shell:not(:has(.toc)) { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 1100px) {
  .ep { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ep-code { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 860px) {
  .shell, .shell:not(:has(.toc)) { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .side {
    position: fixed; top: var(--top-h); left: 0; bottom: 0; height: auto; width: min(320px, 86vw); z-index: 40;
    background: var(--bg); transform: translateX(-100%); transition: transform .25s ease; border-right: 1px solid var(--border);
  }
  body.nav-open .side { transform: none; }
  .scrim { display: block; position: fixed; inset: var(--top-h) 0 0; background: rgba(0, 0, 0, 0.3); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .main { padding: 28px 16px 0; }
  .search-btn { margin-left: auto; flex: 0 0 auto; width: 36px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .search-btn span, .search-btn kbd { display: none; }
  .top { gap: 8px; padding: 0 16px; }
  .top-right { margin-left: 0; }
  .top-link { display: none; }
  .badge { display: none; }
  h1, .hero h1 { font-size: 30px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .log-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ep-anchor { display: none; }
  .search { padding-top: 8vh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
