/* Wheel Wonderland DB – Design-System
   Leitidee: ruhige, klar gegliederte Datenbank. Charakter kommt aus drei Details, die nur Hot Wheels hat:
   Blister-Karte mit Aufhänge-Loch, offizielle Serienfarben, Sammlernummer "044/250".
   Schriften liegen lokal (keine Verbindung zu Google). */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-standard-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("fonts/martian-mono-latin-standard-normal.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-style: normal; font-display: swap; }

:root {
  --ground: #EEF1F6;
  --surface: #FFFFFF;
  --surface-2: #F5F7FB;
  --line: #DAE0EA;
  --line-strong: #B9C3D4;
  --ink: #0B1A38;
  --ink-2: #3A4866;
  --ink-3: #66738E;
  --track: #FF6A0D;
  --track-deep: #C94E00;
  --on-track: #1B0B00;
  --blue: #1740D0;
  --blue-soft: #E3E9FF;
  --yt: #D80030;
  --ok: #0E8A4F;
  --spectra: linear-gradient(115deg, #ff2e93 0%, #8b3dff 24%, #00b8ff 48%, #2fe08c 70%, #ffc53a 92%);
  --shadow: 0 1px 0 rgba(11, 26, 56, .05), 0 12px 28px -18px rgba(11, 26, 56, .45);
  --bubble-hi: rgba(255, 255, 255, .55);
  --hole: var(--ground);
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #070C18; --surface: #0E1628; --surface-2: #131D35; --line: #1F2A46; --line-strong: #2F3D61;
    --ink: #E9EEF8; --ink-2: #B1BCD2; --ink-3: #7D8AA7; --track: #FF7A1F; --track-deep: #FF9A4D;
    --blue: #8AA5FF; --blue-soft: #17234B; --yt: #FF3D63; --ok: #3DD68C;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 32px -18px rgba(0, 0, 0, .85); --bubble-hi: rgba(255, 255, 255, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #070C18; --surface: #0E1628; --surface-2: #131D35; --line: #1F2A46; --line-strong: #2F3D61;
  --ink: #E9EEF8; --ink-2: #B1BCD2; --ink-3: #7D8AA7; --track: #FF7A1F; --track-deep: #FF9A4D;
  --blue: #8AA5FF; --blue-soft: #17234B; --yt: #FF3D63; --ok: #3DD68C;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 32px -18px rgba(0, 0, 0, .85); --bubble-hi: rgba(255, 255, 255, .14);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.mono { font-family: var(--f-mono); font-size: .8em; letter-spacing: -.01em; font-stretch: 88%; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-3); }
main { min-height: 70vh; outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar-row { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 38px; height: 26px; }
.brand-track { fill: none; stroke: var(--track); stroke-width: 7; stroke-linecap: round; }
.brand-lane { fill: none; stroke: var(--on-track); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .55; }
.brand-word { display: flex; flex-direction: column; line-height: .86; font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.brand-word span:first-child { font-size: 12px; color: var(--track); }
.brand-word span:last-child { font-size: 16px; }
.brand-db { font: 600 10px/1 var(--f-mono); padding: 4px 5px 3px; border-radius: 4px; background: var(--ink); color: var(--ground); letter-spacing: .06em; }
.search-trigger { flex: 1; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-3); cursor: pointer; text-align: left; }
.search-trigger:hover { border-color: var(--line-strong); }
.search-trigger span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-trigger svg, .palette-field svg, .hero-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
kbd { font: 500 11px/1 var(--f-mono); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-3); }
.topbar-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tool-btn { height: 38px; min-width: 38px; padding: 0 10px; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); background: var(--surface); font: 600 12px/1 var(--f-mono); }
.tool-btn svg { width: 17px; height: 17px; fill: currentColor; display: block; margin: auto; }
.tool-btn:hover { border-color: var(--line-strong); }
.yt-sub { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: var(--yt); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 650; font-size: 14px; }
.yt-sub svg { width: 20px; height: 20px; fill: currentColor; }
.yt-sub b { font: 600 11px/1 var(--f-mono); background: rgba(0, 0, 0, .22); padding: 4px 6px; border-radius: 5px; }
.mainnav { display: flex; gap: 2px; height: 44px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { display: flex; align-items: center; gap: 6px; padding: 0 12px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.mainnav a:hover { color: var(--ink); }
.mainnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--track); }
.nav-count { font: 600 10px/1 var(--f-mono); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 5px; border-radius: 5px; }

/* ---------- Typografie & Seitenvorlage ---------- */
.eyebrow { font: 600 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0; }
.h1 { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 122%; letter-spacing: -.02em; line-height: 1; margin: 0; font-size: clamp(28px, 3.4vw, 44px); text-wrap: balance; }
.h2 { font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 115%; letter-spacing: -.01em; line-height: 1.1; margin: 0; font-size: clamp(20px, 2vw, 26px); text-wrap: balance; }
.h3 { font: 700 16px/1.25 var(--f-display); margin: 0; }
.lede { color: var(--ink-2); font-size: 16px; max-width: 70ch; margin: 0; }
.page { padding-block: 22px 48px; display: grid; gap: 22px; align-content: start; min-width: 0; }
.page-head { display: grid; gap: 10px; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 0; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: 14px; margin: 0; padding: 0; list-style: none; }
.facts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.section { display: grid; gap: 14px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.link-more { font-weight: 650; color: var(--blue); text-decoration: none; white-space: nowrap; font-size: 14px; background: none; border: 0; cursor: pointer; padding: 0; }
.link-more:hover { text-decoration: underline; }

/* Reiter */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { display: flex; align-items: center; gap: 7px; padding: 10px 14px; text-decoration: none; color: var(--ink-2); font-weight: 650; font-size: 14px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--track); }
.tabs .mono { color: var(--ink-3); }

/* Werkzeugleiste */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar .grow { flex: 1 1 220px; }
.finput, .select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; min-width: 0; }
.finput { width: 100%; }
.finput:focus, .select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--ink-3)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.count { font-weight: 650; font-size: 14px; color: var(--ink-2); }
.count b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 118%; font-size: 20px; color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 11px; font-weight: 650; font-size: 14px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn svg.stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-yt { background: var(--yt); border-color: var(--yt); color: #fff; }
.btn-yt:hover { filter: brightness(1.08); border-color: var(--yt); }
.btn-yt svg { fill: currentColor; }
.btn-track { background: var(--track); color: var(--on-track); border-color: var(--track); }
.btn-small { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn[disabled] { opacity: .45; cursor: default; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg a, .seg button { height: 38px; padding: 0 12px; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; display: flex; align-items: center; }
.seg [aria-pressed="true"] { background: var(--ink); color: var(--ground); }

/* ---------- Startseite ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: clamp(22px, 4vw, 40px) 8px; }
.intro .h1 { font-size: clamp(30px, 4.2vw, 54px); }
.intro .h1 span { color: var(--track); }
.intro .lede { margin-top: 12px; }
.hero-search { margin-top: 20px; display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 10px 0 16px; border-radius: 14px; cursor: text; background: var(--surface); border: 2px solid var(--ink); color: var(--ink-3); font-size: 15px; text-align: left; box-shadow: 5px 5px 0 var(--track); }
.hero-search svg { width: 21px; height: 21px; stroke: var(--ink); stroke-width: 2.2; }
.hero-search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding: 0; list-style: none; }
.stat-row li { display: grid; }
.stat-row b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 122%; font-size: 24px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-row span { font: 600 10.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.fresh-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.fresh-card .media { position: relative; aspect-ratio: 16/10; background: #000; }
.fresh-card .media img { width: 100%; height: 100%; object-fit: cover; }
.fresh-card .body { padding: 16px; display: grid; gap: 8px; align-content: center; }
.fresh-card .title { margin: 0; font-weight: 650; font-size: 15px; line-height: 1.35; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yt); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--yt) 60%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.play-big { position: absolute; left: 50%; top: 50%; width: 60px; height: 42px; transform: translate(-50%, -50%); background: var(--yt); border-radius: 12px; display: grid; place-items: center; }
.play-big::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }

/* Jahrgänge nach Jahrzehnten */
.decades { display: grid; gap: 12px; }
.decade { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.decade-label { display: grid; gap: 2px; padding-top: 4px; }
.decade-label b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 122%; font-size: 24px; line-height: 1; }
.decade-label span { font-size: 12px; color: var(--ink-3); }
.years { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.year-tile { position: relative; display: grid; gap: 6px; padding: 10px 10px 9px; border-radius: 12px; text-decoration: none; background: var(--surface-2); border: 1px solid transparent; min-width: 0; }
.year-tile:hover { border-color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow); }
.year-tile b { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 115%; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.year-tile small { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.year-tile .meter { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.year-tile .meter i { display: block; height: 100%; width: var(--p); background: var(--track); border-radius: inherit; }
.year-tile .yt-dot { position: absolute; top: 8px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yt); color: #fff; font: 700 10px/18px var(--f-mono); text-align: center; }
.year-tile.empty { visibility: hidden; }
.year-tile .tag-text { color: var(--track-deep); font-weight: 700; }
.now-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.now-card { display: grid; gap: 10px; padding: 16px; border-radius: 16px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); align-content: start; }
.now-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.now-card b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 122%; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.now-card b small { font-size: 16px; color: var(--ink-3); }
.now-card span { color: var(--ink-2); font-size: 14px; }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p); background: var(--track); border-radius: inherit; }

/* ---------- Jahrgangsseite: Seitenleiste + Inhalt ---------- */
.with-side { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 122px; max-height: calc(100vh - 136px); overflow: auto; padding: 22px 6px 20px 0; scrollbar-width: thin; }
.side-group { display: grid; gap: 2px; margin-bottom: 10px; }
.side-group > p { margin: 0 0 4px; }
.side-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.side-years a { text-decoration: none; text-align: center; padding: 5px 0; border-radius: 7px; font: 600 12.5px/1.2 var(--f-body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.side-years a:hover { background: var(--surface); color: var(--ink); }
.side-years a[aria-current="page"] { background: var(--ink); color: var(--ground); }
.year-jump { display: none; }
.pager-year { display: flex; gap: 6px; }

/* ---------- Modell-Liste (Tabelle) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.mtable th { text-align: left; font: 600 10.5px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); padding: 11px 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.mtable td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mtable tbody tr:last-child td { border-bottom: 0; }
.mtable tbody tr:hover { background: var(--surface-2); }
.mtable .c-img { width: 76px; }
.mtable .c-num { width: 58px; }
.mtable .num { font-family: var(--f-display); font-style: italic; font-weight: 800; font-stretch: 118%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mtable .name a { text-decoration: none; font-weight: 650; }
.mtable .name a:hover { color: var(--blue); text-decoration: underline; }
.mtable .name .flags { margin-top: 3px; }
.mtable .c-act { width: 86px; text-align: right; white-space: nowrap; }
.mtable tr.group td { background: var(--surface-2); font: 700 12px/1.2 var(--f-body); color: var(--ink-2); padding: 9px 10px; }
.thumb { width: 64px; aspect-ratio: 16/10; border-radius: 7px; overflow: hidden; background: color-mix(in srgb, var(--sc, #8A93A6) 14%, var(--surface-2)); display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .sil { width: 86%; }
.sdot { display: inline-flex; align-items: center; gap: 7px; }
.sdot i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.sdot a { text-decoration: none; }
.sdot a:hover { text-decoration: underline; }
.sil { display: block; width: 100%; height: auto; aspect-ratio: 120/48; color: var(--paint, #8A93A6); }
.sil use { fill: currentColor; }
.sil-shade { opacity: .38; }

/* Flags */
.flags { display: flex; flex-wrap: wrap; gap: 4px; }
.flag { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 5px; font: 700 9.5px/1.3 var(--f-mono); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.flag.th { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.flag.sth { background: var(--spectra); color: #fff; border: 0; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.flag.new { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.flag.ex { background: color-mix(in srgb, var(--track) 14%, var(--surface)); color: var(--track-deep); border-color: transparent; }
.play-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px; border-radius: 999px; background: var(--yt); color: #fff; font: 700 11px/1 var(--f-body); position: relative; z-index: 2; text-decoration: none; }
.play-pill::before { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.play-pill.icon { padding: 6px 9px 6px 11px; vertical-align: middle; pointer-events: auto; }
span.play-pill.icon { pointer-events: none; }
.own-btn { position: relative; z-index: 2; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex-shrink: 0; border: 1.5px dashed var(--line-strong); background: var(--surface); display: inline-grid; place-items: center; color: var(--ink-3); vertical-align: middle; }
.own-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.own-btn:hover { border-color: var(--ok); color: var(--ok); }
.own-btn[aria-pressed="true"] { background: var(--ok); border: 1.5px solid var(--ok); color: #fff; }

/* ---------- Blister-Karte ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 214px); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.card { --sc: #8A93A6; --si: #fff; position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 15px 15px 12px 12px; transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card::before { content: ""; position: absolute; top: 7px; left: 50%; width: 30px; height: 9px; transform: translateX(-50%); border-radius: 9px; background: var(--hole); box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, .28); z-index: 2; }
.card-band { height: 36px; border-radius: 14px 14px 0 0; padding: 0 10px 6px; background: var(--sc); color: var(--si); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; font: 700 10px/1.1 var(--f-display); font-stretch: 88%; text-transform: uppercase; letter-spacing: .03em; }
.card-band .sname { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-band .cnum { font: 800 italic 13px/1 var(--f-display); font-stretch: 125%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-band .cnum small { font-size: 9px; opacity: .8; }
.card-bubble { position: relative; margin: 9px 9px 0; aspect-ratio: 4/3; border-radius: 20px 20px 14px 14px; overflow: hidden; background: color-mix(in srgb, var(--sc) 11%, var(--surface-2)); display: grid; place-items: center; }
.card-bubble img { width: 100%; height: 100%; object-fit: cover; }
.card-bubble .sil { width: 78%; }
.card-bubble::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, var(--bubble-hi) 0%, transparent 26%, transparent 72%, color-mix(in srgb, var(--bubble-hi) 45%, transparent) 100%); box-shadow: inset 0 0 0 1.5px var(--bubble-hi); }
.card-body { padding: 9px 11px 11px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card-title { margin: 0; font: 700 14.5px/1.2 var(--f-display); }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-3); font-size: 12px; align-items: center; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.card.is-sth { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectra) border-box; }

/* ---------- Checkliste (Wand) ---------- */
.wall-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(12px, 2vw, 22px); display: grid; gap: 14px; }
.wall-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.progress-big { display: flex; align-items: baseline; gap: 10px; }
.progress-big b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.progress-big span { color: var(--ink-3); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; }
.lg-done { background: linear-gradient(135deg, #E60026 0 33%, #32CD32 33% 66%, #1E90FF 66%); }
.lg-open { background: var(--surface-2); border: 1px dashed var(--line-strong); }
.lg-th { box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface); }
.lg-sth { background: var(--spectra); }
.wall { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 4px; }
.cell { position: relative; aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; font: 600 clamp(8px, .72vw, 10.5px)/1 var(--f-mono); font-stretch: 80%; text-decoration: none; background: color-mix(in srgb, var(--sc) 15%, var(--surface-2)); color: var(--ink-3); border: 1px dashed color-mix(in srgb, var(--sc) 35%, var(--line)); }
.cell.done { background: var(--sc); color: var(--si); border: 0; }
.cell.done::after { content: ""; position: absolute; right: 3px; bottom: 3px; border-left: 5px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.cell.th { box-shadow: inset 0 0 0 2px var(--ink); }
.cell.sth::before { content: ""; position: absolute; inset: -2px; border-radius: 8px; padding: 2px; background: var(--spectra); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cell:hover { transform: scale(1.3); z-index: 2; box-shadow: var(--shadow); }
.cell.none { opacity: .35; }

/* ---------- Serien ---------- */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.series-tile { position: relative; display: grid; gap: 8px; padding: 12px 12px 11px 16px; border-radius: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.series-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sc, var(--line-strong)); }
.series-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.series-tile b { font: 700 14.5px/1.2 var(--f-display); }
.series-tile small { color: var(--ink-3); font-size: 12px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; font: 600 12px/1 var(--f-mono); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.az a:hover { border-color: var(--ink-2); }
.az a[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.series-index { display: grid; gap: 18px; }
.series-letter { display: grid; gap: 8px; }
.series-letter h2 { font: 800 italic 20px/1 var(--f-display); font-stretch: 120%; margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.series-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 20px; }
.series-row { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.series-row > span:first-child { font-weight: 650; flex-shrink: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.series-row .ys { display: flex; flex-wrap: wrap; gap: 4px; }
.series-row .ys a { font: 600 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.series-row .ys a:hover { border-color: var(--ink-2); color: var(--ink); }
.series-head { border-radius: 18px; padding: clamp(18px, 3vw, 28px); background: var(--sc); color: var(--si); display: grid; gap: 10px; }
.series-head .crumbs, .series-head .crumbs a, .series-head .facts, .series-head .facts b { color: inherit; }

/* ---------- Modellseite ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.stage { position: sticky; top: 122px; display: grid; gap: 10px; }
.stage-card { --sc: #8A93A6; --si: #fff; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px 22px 18px 18px; box-shadow: var(--shadow); }
.stage-card::before { content: ""; position: absolute; top: 12px; left: 50%; width: 56px; height: 14px; transform: translateX(-50%); border-radius: 10px; background: var(--hole); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); z-index: 2; }
.stage-band { min-height: 64px; padding: 32px 18px 11px; border-radius: 21px 21px 0 0; background: var(--sc); color: var(--si); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.stage-band .sname { font: 800 13px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.stage-band .sname small { display: block; font: 600 11px/1.2 var(--f-mono); opacity: .8; text-transform: none; letter-spacing: 0; margin-top: 3px; }
.stage-band .cnum { font: 900 italic 26px/1 var(--f-display); font-stretch: 125%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stage-band .cnum small { font-size: 13px; opacity: .75; }
.stage-media { position: relative; margin: 14px; aspect-ratio: 16/9; border-radius: 24px 24px 18px 18px; overflow: hidden; background: color-mix(in srgb, var(--sc) 11%, var(--surface-2)); display: grid; place-items: center; }
.stage-media > img { width: 100%; height: 100%; object-fit: cover; }
.stage-media iframe { width: 100%; height: 100%; border: 0; display: block; position: absolute; inset: 0; }
.stage-media .sil { width: 70%; }
.stage-play { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); cursor: pointer; }
.stage-play .play-big { width: 76px; height: 52px; }
.stage-play-label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 650; font-size: 14px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.consent { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 93%, transparent); color: var(--ground); display: grid; place-content: center; gap: 12px; padding: 20px; text-align: center; z-index: 3; }
.consent p { margin: 0; font-size: 13.5px; max-width: 46ch; }
.consent .btn { justify-self: center; }
.stage-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 18px 14px; color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; }
.photo-note { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line-strong); font-size: 13px; color: var(--ink-2); }
.info { display: grid; gap: 16px; }
.info .h1 { font-size: clamp(28px, 3.2vw, 42px); }
.series-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; text-decoration: none; background: var(--sc); color: var(--si); font-weight: 700; font-size: 13px; justify-self: start; }
.series-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.specs div { padding: 10px 13px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 0; }
.specs div:nth-child(-n+2) { border-top: 0; }
.specs div:nth-child(odd) { border-left: 0; }
.specs dt { font: 600 10px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.specs dd { margin: 4px 0 0; font-weight: 650; font-size: 14.5px; overflow-wrap: anywhere; }
.specs dd a { color: var(--blue); text-decoration: none; }
.specs dd a:hover { text-decoration: underline; }
.prose { color: var(--ink-2); font-size: 15px; max-width: 66ch; }
.prose p { margin: 0 0 8px; }
.yt-box { border-radius: 16px; padding: 16px; display: grid; gap: 10px; background: color-mix(in srgb, var(--yt) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yt) 22%, var(--line)); }
.yt-box h3 { margin: 0; font: 800 italic 17px/1.2 var(--f-display); font-stretch: 112%; }
.yt-box p { margin: 0; color: var(--ink-2); font-size: 14px; }
.yt-box.open { background: var(--surface); border: 1.5px dashed var(--line-strong); }

/* ---------- Datenbank ---------- */
.browser { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters { position: sticky; top: 122px; display: grid; gap: 16px; max-height: calc(100vh - 136px); overflow: auto; padding: 2px 6px 12px 2px; scrollbar-width: thin; }
.filters-toggle { display: none; }
.fgroup { display: grid; gap: 7px; }
.fgroup .row { display: flex; gap: 6px; align-items: center; }
.fcheck { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.fcheck:hover { background: var(--surface); }
.fcheck input { accent-color: var(--track); width: 15px; height: 15px; margin: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters .chip::after { content: "×"; margin-left: 4px; font-size: 15px; line-height: 1; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; text-decoration: none; font-weight: 650; font-size: 13.5px; background: var(--surface); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--ink-2); }
.pager [aria-current="page"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.pager .gap { border: 0; background: none; }
.empty { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 32px 20px; text-align: center; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.empty h3 { margin: 0; font: 800 italic 19px/1.2 var(--f-display); font-stretch: 112%; color: var(--ink); }
.empty p { margin: 0; max-width: 56ch; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.vcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; }
.vcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.vcard-media { position: relative; aspect-ratio: 16/9; background: var(--surface-2); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; }
.vcard-media .play-big { width: 44px; height: 31px; border-radius: 9px; opacity: .92; }
.vcard-media .play-big::after { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; }
.vcard-body { padding: 11px 13px 13px; display: grid; gap: 8px; flex: 1; align-content: start; }
.vcard-title { margin: 0; font-weight: 650; font-size: 14px; line-height: 1.35; }
.vcard-title a { text-decoration: none; }
.vcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vcard-meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.model-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 9px 5px 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; font-size: 12px; font-weight: 600; }
.model-link:hover { border-color: var(--ink-2); }
.model-link i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--ink-3)); flex-shrink: 0; }
.model-link span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Garage, TH, Rechtstexte ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.gstat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 7px; }
.gstat b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.gstat span { font-size: 13px; color: var(--ink-2); }
.th-explain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.th-box { border-radius: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.th-box.sth { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectra) border-box; }
.th-box h3 { margin: 0; font: 800 italic 19px/1.1 var(--f-display); font-stretch: 115%; }
.th-box ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 5px; font-size: 14px; }
.spectra-text { background: var(--spectra); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 32px); max-width: 860px; }
.legal h2 { font: 800 italic 19px/1.2 var(--f-display); font-stretch: 112%; margin: 22px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 14.5px; max-width: 72ch; }
.legal .ph { background: color-mix(in srgb, var(--track) 16%, var(--surface)); color: var(--track-deep); border-radius: 5px; padding: 1px 6px; font-weight: 650; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--ink); font-size: 13.5px; }

/* ---------- Suche (Palette) ---------- */
.palette { position: fixed; inset: 0; z-index: 80; display: grid; justify-items: center; align-items: start; padding: 9vh 16px 16px; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 22, .55); backdrop-filter: blur(4px); }
.palette-box { position: relative; width: 100%; max-width: 700px; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.palette-field { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 60px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.palette-field input { flex: 1; height: 100%; border: 0; background: none; outline: none; font: 500 17px/1 var(--f-body); color: var(--ink); min-width: 0; }
.palette-hints { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 16px 0; align-items: center; }
.palette-hints .chip { font-size: 12px; padding: 5px 10px; }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: min(62vh, 540px); overflow: auto; }
.palette-list li a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.palette-list li a[aria-selected="true"], .palette-list li a:hover { background: var(--surface-2); }
.palette-list .ptext { display: grid; min-width: 0; gap: 2px; flex: 1; }
.palette-list .ptext b { font-weight: 650; font-size: 14.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.palette-list .ptext small { color: var(--ink-3); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.palette-list .pgroup { font: 600 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 12px 10px 6px; }
.palette-list .pyear { width: 64px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--track); color: var(--on-track); font: 800 italic 15px/1 var(--f-display); flex-shrink: 0; }
.palette-empty { padding: 26px 16px; text-align: center; color: var(--ink-3); }

/* ---------- Tooltip, Toast, Footer ---------- */
.tooltip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: var(--ground); padding: 8px 10px; border-radius: 10px; font-size: 12.5px; max-width: 240px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.tooltip b { display: block; font-size: 13px; }
.tooltip small { opacity: .75; font-family: var(--f-mono); font-size: 10.5px; }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); }
.track-band { height: 14px; background: repeating-linear-gradient(90deg, transparent 0 220px, var(--track-deep) 220px 232px, transparent 232px 238px), var(--track); }
.footer { margin-top: 32px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; padding-block: 32px 18px; }
.footer-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14px; padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand { margin: 0 0 8px; font: 850 italic 19px/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; }
.footer-note { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 42ch; }
.footer-h { margin: 0 0 8px; font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.footer-fine { padding-block: 14px 26px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.footer-fine p { margin: 0; font-size: 12px; color: var(--ink-3); }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .intro, .detail { grid-template-columns: 1fr; }
  .stage { position: static; }
  .with-side { grid-template-columns: 1fr; }
  .side { display: none; }
  .year-jump { display: flex; }
  .browser { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
  .years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wall { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .cell { font-size: 10px; }
  .th-explain, .now-grid { grid-template-columns: 1fr; }
  .fresh-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { flex: 0 0 40px; justify-content: center; padding: 0; margin-inline: auto 0; }
  .yt-sub span { display: none; }
  .decade { grid-template-columns: 1fr; gap: 8px; }
  .decade-label { display: flex; align-items: baseline; gap: 10px; padding: 0; }
  .mtable .c-series-num, .mtable .c-color, .mtable .c-toy { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-title { font-size: 13px; }
  .specs { grid-template-columns: 1fr; }
  .specs div { border-left: 0 !important; border-top: 1px solid var(--line) !important; }
  .specs div:first-child { border-top: 0 !important; }
  .brand-word span:last-child { font-size: 14px; }
  .brand-word span:first-child { font-size: 11px; }
  .brand-mark { width: 30px; }
  .brand-db { display: none; }
  .topbar-row, .topbar-tools { gap: 6px; }
  .tool-btn, .search-trigger { height: 36px; min-width: 36px; flex-basis: 36px; }
  .yt-sub { height: 36px; padding: 0 9px; }
  .yt-sub b { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .mtable .c-series { display: none; }
  .mtable .c-img { width: 58px; }
  .thumb { width: 50px; }
  .series-rows { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Ergänzungen für die öffentliche Website (auf Basis des Prototyp-Designs) =====
   Farben an das Wheel-Wonderland-Logo angepasst: Anthrazit, Hot-Wheels-Orange, Türkis. */
:root {
  --ground: #F1F2F4; --surface: #FFFFFF; --surface-2: #F6F7F9; --line: #DDE1E7; --line-strong: #BCC3CE;
  --ink: #15171C; --ink-2: #3A404C; --ink-3: #69717F;
  --track: #F47B20; --track-deep: #B8570C; --on-track: #1A0B00;
  --blue: #0F7C93; --blue-soft: #DCF1F5; --amazon: #FF9900;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #131417; --surface: #1C1E23; --surface-2: #23262C; --line: #2E323A; --line-strong: #444A55;
    --ink: #F1F2F4; --ink-2: #C4C9D2; --ink-3: #8E95A2; --track: #FF8A30; --track-deep: #FFA764; --blue: #5CC7DC; --blue-soft: #133A42;
  }
}
:root[data-theme="dark"] {
  --ground: #131417; --surface: #1C1E23; --surface-2: #23262C; --line: #2E323A; --line-strong: #444A55;
  --ink: #F1F2F4; --ink-2: #C4C9D2; --ink-3: #8E95A2; --track: #FF8A30; --track-deep: #FFA764; --blue: #5CC7DC; --blue-soft: #133A42;
}
.small { font-size: 12.5px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px var(--surface), 0 2px 8px rgba(0, 0, 0, .25); }
.brand-db { background: var(--track); color: var(--on-track); }
a.search-trigger { text-decoration: none; }
a.hero-search { text-decoration: none; }
.h1-year { color: var(--track); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; height: 38px; min-width: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; font: 600 12px/1 var(--f-mono); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary { border-color: var(--ink-2); }
.lang-menu > div { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); display: grid; min-width: 150px; z-index: 50; }
.lang-menu a { padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--surface-2); }
.lang-static { display: grid; place-items: center; }

/* Startseite */
.hero-banner { height: clamp(70px, 11vw, 150px); overflow: hidden; background: #1c1d20; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.now-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cta-yt { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px; border-radius: 18px; background: var(--ink); color: var(--ground); }
.cta-yt img { width: 72px; height: 72px; border-radius: 50%; }
.cta-yt > div { flex: 1 1 260px; }
.cta-yt p { margin: 6px 0 0; color: color-mix(in srgb, var(--ground) 75%, var(--ink)); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 50%; }

/* Neuestes Video auf der Startseite */
.latest { display: grid; gap: 10px; align-content: start; min-width: 0; }
.latest-media { position: relative; display: block; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.latest-media img { width: 100%; height: 100%; object-fit: cover; }
.latest-media:hover .play-big { transform: translate(-50%, -50%) scale(1.08); }
.latest-body { display: grid; gap: 8px; }
.latest-title { font: 700 17px/1.3 var(--f-body); margin: 0; }
.latest-title a { text-decoration: none; }
.latest-title a:hover { text-decoration: underline; }
.latest-time { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.latest-time time { font-weight: 600; color: var(--ink); }
.latest-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.latest-more a { display: grid; gap: 4px; text-decoration: none; font-size: 12px; line-height: 1.3; color: var(--ink-2); }
.latest-more img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.latest-more span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.new-badge { display: inline-block; margin-left: 8px; padding: 3px 7px; border-radius: 6px; background: var(--yt); color: #fff; font: 700 10px/1 var(--f-mono); letter-spacing: .06em; vertical-align: middle; }
.now-row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6px; }

/* Werbung (Amazon) – klar gekennzeichnet */
.ad { border: 1.5px dashed color-mix(in srgb, var(--amazon) 60%, var(--line)); background: color-mix(in srgb, var(--amazon) 7%, var(--surface)); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; }
.ad p { margin: 0; font-size: 14px; color: var(--ink-2); }
.ad-label { font: 700 10.5px/1.2 var(--f-mono) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3) !important; }
.ad-note { font-size: 12px !important; color: var(--ink-3) !important; }
.btn-amazon { background: var(--amazon); border-color: var(--amazon); color: #111; }
.btn-amazon:hover { filter: brightness(1.05); border-color: var(--amazon); }
.ad-mark { font: 700 9.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); color: var(--ink-3); border-radius: 4px; padding: 3px 5px; margin-left: 4px; }
.ad-inline { font-size: 13px; color: var(--ink-3); }

/* Videos: Klick öffnet YouTube (zählt als Aufruf) */
.video-block { display: grid; gap: 10px; max-width: 760px; }
.video-media { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; }
.video-media img { width: 100%; height: 100%; object-fit: cover; }
.video-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb { position: absolute; inset: 0; display: block; }
.video-thumb:hover .play-big { transform: translate(-50%, -50%) scale(1.08); }
.video-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-link { position: absolute; inset: 0; display: block; }
.stage-link img { width: 100%; height: 100%; object-fit: cover; }
.consent { z-index: 3; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 650; }
.faq .faq-a { padding: 0 0 12px; color: var(--ink-2); font-size: 14.5px; }
.faq .faq-a a { color: var(--blue); }

/* Tabellen */
.mtable tr.is-current { background: var(--blue-soft); }
.mtable .c-case a { font-weight: 700; color: var(--blue); text-decoration: none; }
.mtable tr[hidden] { display: none; }
.case-chip { font-family: var(--f-display); font-style: italic; font-weight: 800; }
.guide h2 { margin-top: 24px; }
.guide a, .legal a { color: var(--blue); }

/* Checkliste zum Ausdrucken */
.checklist td.box { font-size: 18px; width: 30px; text-align: center; }
.checklist td, .checklist th { padding: 6px 8px; }
@media print {
  .topbar, .footer, .no-print, .ad, .crumbs, .palette, .toast, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11px; }
  .page { padding: 0; }
  .table-wrap { border: 0; overflow: visible; }
  .checklist { font-size: 10.5px; }
  .checklist a { color: #000; text-decoration: none; }
  .checklist tr { break-inside: avoid; }
}

/* App-Seiten (Suche, Datenbank, Garage) */
.app-results { display: grid; gap: 14px; }
.root-page .toolbar .btn { min-width: 130px; }

@media (max-width: 860px) {
  .now-hero, .now-row { grid-template-columns: 1fr 1fr; }
  .brand-logo { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .brand-word { display: none; }
  .brand-db { display: inline-block; }
  .now-hero { grid-template-columns: 1fr; }
  .mtable .c-case { display: none; }
}

/* ===== Handy: nichts darf die Seite breiter als den Bildschirm machen ===== */
/* Rasterspalten dürfen schmaler werden als ihr breitester Inhalt (sonst drücken lange Texte, Auswahlfelder usw. die Seite auf) */
.wrap.page, .section, .page-head { grid-template-columns: minmax(0, 1fr); }
.wrap.page > *, .section > *, .page-head > *, .intro > *, .detail > *, .hero-copy > *, .latest > *, .info > *, .toolbar > * { min-width: 0; }
@media (max-width: 1080px) { .intro, .detail { grid-template-columns: minmax(0, 1fr); } }
.select, .finput, .hero-search { max-width: 100%; }
/* lange Wörter (z. B. „Datenschutzerklärung“) in Überschriften trennen statt überstehen */
.h1, .h2, .h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* lange Knopf- und Chip-Texte (z. B. Amazon-Suche mit Modellnamen) dürfen umbrechen */
.ad .btn, .comm-btns .btn { white-space: normal; height: auto; min-height: 34px; padding-top: 7px; padding-bottom: 7px; text-align: center; line-height: 1.25; }
@media (max-width: 400px) {
  /* Kopfzeile auf kleinen Handys: nur Logo, Suche, Sprache, Konto, Abonnieren */
  .brand-db, #theme-toggle { display: none !important; }
  .topbar-row, .topbar-tools { gap: 5px; }
}
@media (max-width: 560px) {
  .chip { white-space: normal; }
  .actions .btn { white-space: normal; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center; line-height: 1.25; }
  .hero-search kbd { display: none; }
  .stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
}

/* ===== Mitgliederbereich, Community, Fotos, Sichtungen ===== */
.acct-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); position: relative; }
.acct-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.acct-btn .acct-name { font: 600 12px/1 var(--f-mono); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn .acct-name:empty { display: none; }
.acct-btn.in { border-color: var(--track); }
.acct-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yt, #e11); color: #fff; font: 700 11px/1 var(--f-mono); }
.acct-btn .acct-badge { position: absolute; top: -6px; right: -6px; }
@media (max-width: 720px) { .acct-btn .acct-name { display: none; } }

.flabel { display: block; font-weight: 650; font-size: 13.5px; margin: 14px 0 6px; }
.form-msg { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--track); flex-shrink: 0; }
.check small { display: block; margin-top: 2px; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--surface-2); font: 600 14px var(--f-mono); color: var(--ink-3); }
.prefix .finput { border-radius: 0 10px 10px 0; }
textarea.finput { height: auto; padding: 10px 12px; resize: vertical; font: inherit; line-height: 1.45; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 6px; margin: 18px 0 0; }
legend { font-weight: 700; font-size: 13.5px; padding: 0 6px; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip-check input:checked + span { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-soft); }
.btn-danger { border-color: #c0392b; color: #c0392b; }
.btn-danger:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

.mgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
@media (max-width: 820px) { .mgrid { grid-template-columns: 1fr; } }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.mcard > .h3 { margin-bottom: 8px; }
.login-card { display: grid; gap: 10px; }
.login-card .flabel { margin: 4px 0 0; }
.login-card .btn { justify-self: start; }
.perk-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.perk-list li { display: flex; gap: 10px; align-items: flex-start; }
.perk-list span { width: 26px; flex-shrink: 0; text-align: center; }

.mtabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 0 0 18px; scrollbar-width: none; }
.mtabs button { flex-shrink: 0; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: 650 14px var(--f-body, inherit); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.mtabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--track); }
.mpanel { display: grid; gap: 16px; }
.mpanel > .notice { align-items: center; flex-wrap: wrap; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--track) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--track) 40%, var(--line)); font-size: 12.5px; font-weight: 650; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--av, var(--blue)); color: #fff; display: inline-grid; place-items: center; font: 800 italic 17px/1 var(--f-display); flex-shrink: 0; }
.avatar.big { width: 76px; height: 76px; font-size: 34px; }

.prog-list { display: grid; gap: 8px; }
.prog { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.prog:hover { border-color: var(--line-strong); }
.prog-y { font: 800 italic 17px/1 var(--f-display); }
.prog .bar { height: 8px; }
.prog-n { font-size: 12.5px; color: var(--ink-2); }

.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.plist li { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; min-width: 0; }
.plist li.hot { border-color: var(--track); box-shadow: 0 0 0 2px color-mix(in srgb, var(--track) 25%, transparent); }
.plist li > a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: 1; }
.plist .ptext { display: grid; gap: 2px; min-width: 0; }
.plist .ptext b { font-size: 14px; font-weight: 650; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.plist .ptext small { font-size: 12px; color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.plist .badge { font-size: 11px; padding: 3px 8px; flex-shrink: 0; }
.photo-status { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.photo-status li { display: flex; gap: 10px; align-items: center; }
.photo-status img, .photo-status .ph-icon { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; }
.st-approved { color: var(--ok, #1F9D55); font-weight: 650; }
.st-rejected { color: #c0392b; }
.st-review, .st-rights { color: var(--track-deep); }

.mini-toggle { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; margin-right: 4px; color: var(--ink-3); }
.mini-toggle[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.c-st { white-space: nowrap; }

.match-list { display: grid; gap: 12px; }
.match header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.match header a { text-decoration: none; color: var(--ink); }
.match p { margin: 6px 0 0; }

.chat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; min-height: 460px; }
@media (max-width: 760px) { .chat { grid-template-columns: 1fr; } .chat-threads { max-height: 220px; } }
.chat-threads { display: grid; align-content: start; gap: 6px; overflow-y: auto; max-height: 620px; }
.thread { display: flex; gap: 10px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); min-width: 0; }
.thread[aria-current="true"] { border-color: var(--track); background: color-mix(in srgb, var(--track) 8%, var(--surface)); }
.thread-t { display: grid; min-width: 0; gap: 2px; }
.thread-t small { color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chat-main { display: grid; grid-template-rows: auto minmax(260px, 1fr) auto auto; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; min-width: 0; }
.chat-main > .empty { grid-row: 1 / -1; align-self: center; border: 0; }
.chat-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chat-who { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.chat-head .avatar { width: 30px; height: 30px; font-size: 14px; }
.chat-log { overflow-y: auto; max-height: 52vh; display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.msg { max-width: 78%; align-self: flex-start; background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.msg.mine { align-self: flex-end; background: color-mix(in srgb, var(--track) 22%, var(--surface)); border-radius: 14px 14px 4px 14px; }
.msg p { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.msg time { display: block; font-size: 11px; color: var(--ink-3); margin-top: 3px; text-align: right; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; }
.chat-form textarea { flex: 1; }
.chat-empty { text-align: center; margin: auto; }

.mform { max-width: 640px; }
.mform > small { display: block; margin-top: 4px; }
.mform .actions { margin-top: 18px; align-items: center; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.review img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--surface-2); border-radius: 10px; }
.review p { margin: 8px 0; font-size: 14px; }
.report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-list li { display: flex; gap: 10px; justify-content: space-between; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }

.dir-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-side { display: grid; gap: 12px; }
.coll-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ccard { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 12px 14px; }
.ccard:hover { border-color: var(--line-strong); }
.board { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 14px; }
.board-stats { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.prof-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.prof-head .grow { flex: 1 1 280px; min-width: 0; }
.prof-head p { margin: 4px 0; }
.prof-head .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prof-head .chips .chip { cursor: default; }

/* Modellseite: Sammler & Fotos */
.comm-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.comm-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.comm-stats b { font: 900 italic 22px/1 var(--f-display); color: var(--ink); margin-right: 4px; }
.comm-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.comm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.cphoto { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cphoto img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cphoto figcaption { font-size: 12px; padding: 6px 10px; color: var(--ink-3); }
.upload-cta { margin-top: 14px; }
.comm-stage { width: 100%; height: 100%; object-fit: cover; }

/* Dialog */
.mdialog { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.mdialog-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 16, .55); }
.mdialog-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: 18px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: grid; gap: 10px; }
.tips { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 3px; }
.file-drop { display: grid; place-items: center; border: 2px dashed var(--line-strong); border-radius: 14px; padding: 18px; cursor: pointer; font-weight: 650; text-align: center; }
.file-drop:hover { border-color: var(--track); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.up-preview img { max-width: 100%; max-height: 260px; border-radius: 10px; display: block; margin: auto; }

/* App: Installations-Hinweis, App-Seite */
.app-banner { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--ink); color: var(--ground); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.app-banner img { border-radius: 50%; flex-shrink: 0; }
.app-banner div { display: grid; flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.app-banner small { opacity: .75; }
.app-x { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; opacity: .7; }
.app-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.app-hero > img { border-radius: 26px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.app-hero > div { flex: 1 1 320px; min-width: 0; }
.app-done { display: none; }
.is-app .app-done { display: block; }
.is-app [data-install] { display: none !important; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.app-steps ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.ios-install .app-steps:first-child { border-color: var(--track); box-shadow: 0 0 0 2px color-mix(in srgb, var(--track) 30%, transparent); }
.app-perks { max-width: 720px; }
.is-app .yt-sub b { display: none; }

/* Case-Sichtungen */
.sight-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.sight-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sight-form { display: grid; gap: 8px; max-width: 640px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
