/* Heimlabor – ruhiger Look: Systemschrift, normale Schreibweise, hell/dunkel nach Einstellung, ein gedämpfter Akzent. */

:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #ffffff;
  --panel-hi: #f1f3f2;
  --line: #e2e4e1;
  --fg: #1c1f22;
  --soft: #646b73;
  --cyan: #b41e22;          /* Akzent (Name bleibt, damit nichts anderes geändert werden muss) */
  --accent-bg: #f8e9e9;
  --ok: #2f8a4c;
  --tight: #b8650a;
  --no: #c23a3a;
  --field: #ffffff;

  --display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 68rem;
  --page: 1600px; /* width of header, content and footer on big screens */
  --r: 8px;
}



*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--text); font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h1 .hl { color: var(--cyan); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.muted { color: var(--soft); }

.cut, .board .module { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.label { display: block; font: 500 0.82rem/1.3 var(--text); color: var(--soft); margin-bottom: 0.4rem; }

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--panel); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; min-height: 3.5rem; flex-wrap: wrap; }
.logo { font: 650 1.05rem/1 var(--text); color: var(--fg); text-decoration: none; }
.logo b { color: var(--cyan); font-weight: 650; }
.logo:hover { color: var(--fg); }
.nav { display: flex; gap: 0 1.1rem; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; font: 500 0.92rem var(--text); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--cyan); }

/* ---------- home: calculator ---------- */
.hero { padding: 2rem 0 1.5rem; }
.rig { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
@media (min-width: 52rem) { .rig { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); } }
.lead { color: var(--soft); font-size: 1.05rem; max-width: 52ch; margin: 0; }
.slot select, .pick {
  appearance: none; width: 100%; min-height: 2.75rem; padding: 0.55rem 2.4rem 0.55rem 0.8rem;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
  color: var(--fg); border: 1px solid var(--line); border-radius: 6px; font: 500 1rem var(--text); cursor: pointer;
}
.vram { font: 650 2.2rem/1 var(--text); color: var(--fg); margin-top: 0.9rem; letter-spacing: -0.02em; }
.vram small { font-size: 0.95rem; color: var(--soft); margin-left: 0.3rem; font-weight: 400; letter-spacing: 0; }
.summary { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border-bottom: 1px solid var(--line); }
.summary b { font-weight: 600; color: var(--fg); }
.summary small { color: var(--soft); font-weight: 400; }
.vendor-note { margin: 1rem 0 0; padding: 0.6rem 0.75rem; border-left: 3px solid var(--tight); background: color-mix(in srgb, var(--tight) 8%, transparent); border-radius: 0 6px 6px 0; font-size: 0.93rem; }
.vendor-note:empty { display: none; }

.bars-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.bars { display: grid; gap: 0.6rem; margin-top: 0.35rem; }
.bar { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 4.6rem; gap: 0.75rem; align-items: center; font-weight: 500; cursor: pointer; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar.on .bar-name { color: var(--cyan); }
.track { height: 0.6rem; background: var(--panel-hi); border-radius: 99px; position: relative; overflow: visible; }
.track i { position: absolute; inset: 0 auto 0 0; background: var(--ok); border-radius: 99px; }
.track i.knapp { background: var(--tight); }
.track i.zu-gross { background: var(--no); }
.track i.unbekannt, .track i.nur-nvidia { background: var(--line); }
.track u { position: absolute; top: -0.3rem; bottom: -0.3rem; width: 2px; background: var(--fg); }
.num { text-align: right; font: 500 0.9rem var(--text); color: var(--soft); }
.bars-note { margin: 0.9rem 0 0; color: var(--soft); font-size: 0.93rem; min-height: 3em; }
.bars-note strong { color: var(--fg); }
@media (max-width: 40rem) {
  .bar { grid-template-columns: minmax(0, 1fr) 4.2rem; gap: 0.3rem 0.6rem; }
  .bar .track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- results ---------- */
.results { padding: 1rem 0 3rem; }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-head p { color: var(--soft); margin: 0; max-width: 52ch; font-size: 0.95rem; }
.tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0 0 1rem; }
.tab { font: 500 0.9rem var(--text); min-height: 40px; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--soft); cursor: pointer; }
.tab[aria-selected="true"] { border-color: var(--cyan); color: var(--cyan); background: var(--accent-bg); }
.tab .count { color: inherit; margin-left: 0.3rem; opacity: 0.8; }

.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.row {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  grid-template-areas: "st name lic" "st meta lic";
  gap: 0.05rem 1rem; align-items: center; padding: 0.7rem 1rem;
  background: var(--panel); border-bottom: 1px solid var(--line); cursor: pointer;
}
.rows > .row:last-child { border-bottom: 0; }
.row[hidden] { display: none; }
.row:hover { background: var(--panel-hi); }
.row.picked { background: var(--accent-bg); box-shadow: inset 3px 0 0 var(--cyan); }
.row-st { grid-area: st; }
.row-name { grid-area: name; font-weight: 600; font-size: 1rem; }
.row-name a { color: var(--fg); text-decoration: none; }
.row-name a:hover { color: var(--cyan); text-decoration: underline; }
.row-meta { grid-area: meta; color: var(--soft); font-size: 0.9rem; }
.row-lic { grid-area: lic; justify-self: end; }
@media (max-width: 40rem) {
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name st" "meta meta" "lic lic"; }
  .row-lic { justify-self: start; margin-top: 0.35rem; }
}

.st { font: 500 0.88rem var(--text); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.st::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; flex: none; }
.st-passt { color: var(--ok); }
.st-knapp { color: var(--tight); }
.st-zu-gross { color: var(--no); }
.st-unbekannt, .st-nur-nvidia { color: var(--soft); }
.st-unbekannt::before, .st-nur-nvidia::before { background: transparent; border: 1px solid currentColor; }

.stamp { display: inline-block; font: 500 0.78rem/1 var(--text); padding: 0.32rem 0.55rem; border-radius: 99px; background: color-mix(in srgb, currentColor 10%, transparent); white-space: nowrap; }
.lic-ja { color: var(--ok); }
.lic-eingeschraenkt { color: var(--tight); }
.lic-nein { color: var(--no); }
.lic-unklar { color: var(--soft); }
.eu { display: inline-block; margin-left: 0.4rem; font: 600 0.72rem/1 var(--text); padding: 0.3rem 0.45rem; border-radius: 4px; background: var(--no); color: #fff; vertical-align: 0.05rem; }

/* ---------- content pages ---------- */
.pagehead { padding: 2rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.pagehead p { color: var(--soft); max-width: 60ch; font-size: 1.02rem; margin: 0; }
.pagehead .rig { margin-top: 0; align-items: end; }
@media (min-width: 52rem) { .pagehead .rig { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); } }
.crumbs { font: 400 0.88rem var(--text); margin-bottom: 0.6rem; color: var(--soft); }
.crumbs a { color: var(--soft); }
main { display: block; }
.section { padding-block: 2rem; }
.section + .section { padding-top: 0; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ol, .prose ul { padding-left: 1.3rem; }
.prose li { margin: 0.3em 0; }
.prose code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88em; background: var(--panel-hi); border-radius: 4px; padding: 0.1em 0.35em; }
.prose pre { background: var(--panel-hi); border: 1px solid var(--line); border-radius: 6px; padding: 0.9rem 1rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td, .table th, .table td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th, .table th { font: 500 0.85rem var(--text); color: var(--soft); }
.table td a { color: var(--fg); }
.table td a:hover { color: var(--cyan); }
.table-scroll { overflow-x: auto; }
.note { background: color-mix(in srgb, var(--tight) 8%, var(--panel)); border: 1px solid color-mix(in srgb, var(--tight) 25%, transparent); border-radius: 6px; padding: 0.8rem 1rem; max-width: 42rem; }
q { color: var(--fg); }

.facts, .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div, .stats div { padding: 0.8rem 1rem; border-right: 1px solid var(--line); }
.facts dt, .stats dt { font: 400 0.82rem var(--text); color: var(--soft); }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; font-size: 1rem; }
.stats { margin-top: 0.5rem; }
.stats dd { margin: 0.1rem 0 0; font: 650 1.4rem/1.2 var(--text); color: var(--fg); }

.scale { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1rem 0.5rem; }
.scale-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.75rem; align-items: center; margin-bottom: 0.9rem; }
.scale-label { font-weight: 600; }
.scale-label small { display: block; font-weight: 400; color: var(--soft); font-size: 0.82rem; }
.scale-track { position: relative; height: 1.1rem; background: var(--panel-hi); border-radius: 4px; }
.scale-bar { position: absolute; inset: 0 auto 0 0; background: var(--cyan); border-radius: 4px; }
.scale-bar.geschaetzt { background: repeating-linear-gradient(-45deg, var(--cyan) 0 6px, color-mix(in srgb, var(--cyan) 40%, transparent) 6px 10px); }
.scale-value { position: absolute; top: 50%; transform: translate(0.5rem, -50%); font: 500 0.85rem var(--text); white-space: nowrap; }
.scale-axis { position: relative; height: 2.4rem; margin-left: 8.75rem; }
.scale-tick { position: absolute; top: 0; transform: translateX(-50%); font: 400 0.8rem var(--text); color: var(--soft); }
.scale-tick::before { content: ""; display: block; width: 1px; height: 0.5rem; margin: 0 auto 0.15rem; background: var(--soft); }
@media (max-width: 40rem) {
  .scale-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .scale-axis { margin-left: 0; }
}

.cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 0.45rem 0; border-top: 1px solid var(--line); }
.plain li:first-child { border-top: 0; }
.plain a { color: var(--fg); }
.sources { font-size: 0.9rem; word-break: break-word; }

.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.guide-list li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.guide-list a { font: 600 1.05rem/1.3 var(--text); color: var(--fg); text-decoration: none; }
.guide-list a:hover { color: var(--cyan); }
.guide-list p { margin: 0.3rem 0 0; color: var(--soft); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); color: var(--soft); padding: 2rem 0 2.5rem; margin-top: 2rem; font-size: 0.9rem; }
.foot a { color: var(--fg); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; }
.foot p { margin: 0; max-width: 52ch; }
.foot nav { display: flex; gap: 0.5rem 1.25rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- general home page ---------- */
.home-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 56rem) { .home-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.home-hero h1 { max-width: 26ch; }
.quick { display: grid; gap: 0.6rem; }
.go {
  min-height: 2.75rem; border: 0; border-radius: 6px; cursor: pointer; background: var(--cyan); color: #fff;
  font: 600 0.95rem var(--text); padding: 0 1rem;
}
:root[data-theme="dark"] .go, :root[data-theme="dark"] .btn, :root[data-theme="dark"] .solved { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .go, :root:not([data-theme="light"]) .btn, :root:not([data-theme="light"]) .solved { color: #fff; } }
.go:hover { filter: brightness(1.08); }

.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 0.2rem; color: var(--fg); text-decoration: none; transition: border-color 150ms ease; }
.tile:hover { border-color: var(--cyan); color: var(--fg); }
.tile h3 { font-size: 1.1rem; margin: 0.1rem 0 0.35rem; }
.tile p { color: var(--soft); margin: 0 0 1rem; font-size: 0.95rem; }
.tile > :last-child { margin-top: auto; }
.mini { position: relative; display: grid; gap: 4px; }
.mini i { display: block; height: 6px; border-radius: 99px; background: var(--ok); }
.mini i.knapp { background: var(--tight); }
.mini i.zu-gross { background: var(--no); }
.mini u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--fg); }
.licbar { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.licbar span { font: 500 0.78rem/1 var(--text); padding: 0.32rem 0.55rem; border-radius: 99px; background: color-mix(in srgb, currentColor 10%, transparent); }
.guide-titles { display: grid; gap: 0.3rem; }
.guide-titles span { font-weight: 500; padding-left: 0.65rem; border-left: 2px solid var(--line); }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.sec-head a { font: 500 0.9rem var(--text); }
.row.static { cursor: default; }
.when { font: 500 0.85rem var(--text); color: var(--soft); }

.cards { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 56rem) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: grid; gap: 0.35rem; color: var(--fg); text-decoration: none; }
.card:hover { border-color: var(--cyan); color: var(--fg); }
.card-name { font-weight: 600; }
.card-vram { font: 650 1.5rem/1 var(--text); color: var(--fg); }
.card-vram small { font-size: 0.88rem; color: var(--soft); margin-left: 0.25rem; font-weight: 400; }
.card .muted { font-size: 0.88rem; }

/* ---------- community UI ---------- */
.nav { flex: 1; justify-content: flex-end; }
.usermenu { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.avatar { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-bg); color: var(--cyan); font: 600 0.82rem var(--text); margin-right: 0.45rem; flex: none; }
.avatar.big { width: 3rem; height: 3rem; font-size: 1.3rem; margin-right: 0.8rem; }
.me, .author { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; font-weight: 600; }
.me:hover, .author:hover { color: var(--cyan); }
.profile-name { display: flex; align-items: center; }
.h1-normal { font-size: clamp(1.5rem, 3vw, 2rem); }

.btn, .btn-ghost, .btn-small {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0.45rem 0.95rem;
  font: 600 0.9rem var(--text); border-radius: 6px; cursor: pointer; text-decoration: none;
}
.btn { background: var(--cyan); color: #fff; border: 0; }
.btn:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost, .btn-small { background: var(--panel); color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover, .btn-small:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost[disabled] { opacity: 0.5; cursor: default; }
.btn-small { min-height: 32px; padding: 0.25rem 0.65rem; font-size: 0.82rem; }
.btn.danger { background: var(--no); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--soft); font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; min-height: 32px; }
.link-btn:hover { color: var(--fg); }
.go.small { min-height: 36px; padding: 0 0.9rem; display: inline-flex; align-items: center; text-decoration: none; font-size: 0.88rem; margin-left: auto; }

.flashes { padding-top: 1rem; display: grid; gap: 0.5rem; }
.flash { margin: 0; padding: 0.7rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 6px; background: var(--panel); }
.flash-error { border-left-color: var(--no); }
.flash-info { border-left-color: var(--tight); }

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, .form-grid select, .stack select {
  width: 100%; background: var(--field); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 0.55rem 0.7rem; font: 400 1rem var(--text);
}
input:focus, textarea:focus, select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 20%, transparent); }
input[type="file"] { color: var(--soft); max-width: 100%; }
textarea { resize: vertical; min-height: 6rem; }
.form-grid { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.field { display: grid; gap: 0.3rem; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.field.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cyan); }
.stack { display: grid; gap: 0.6rem; }
.stack > .btn, .form-grid .btn { justify-self: start; }
.narrow { max-width: 38rem; }
.login-box { display: grid; gap: 1rem; }
.provider { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.radios { border: 0; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.radios label { display: flex; gap: 0.5rem; align-items: center; min-height: 36px; }
.radios input { accent-color: var(--cyan); }

.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.badge { font: 500 0.78rem var(--text); padding: 0.28rem 0.6rem; border-radius: 99px; background: var(--accent-bg); color: var(--cyan); }
.account-links { margin: 1.5rem 0; }
.account-links a { padding: 0.85rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--fg); }
.account-links a:hover { border-color: var(--cyan); }

.filterbar { display: flex; align-items: center; gap: 0.6rem 0.9rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.filterbar .label { margin: 0; }
.filterbar .pick { width: auto; min-width: 14rem; flex: 1 1 16rem; max-width: 24rem; }
.tab-link { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; color: var(--soft); text-decoration: none; font: 500 0.88rem var(--text); }
.tab-link.on { border-color: var(--cyan); color: var(--cyan); background: var(--accent-bg); }
.val { font-variant-numeric: tabular-nums; }
.bench-model { font-size: 1.05rem; margin-top: 1.5rem; }
.bench-model a { color: var(--fg); }

.wf-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.wf-card { display: grid; gap: 0.5rem; align-content: start; text-decoration: none; color: var(--fg); padding: 0 0 1rem; overflow: hidden; }
.wf-card:hover { border-color: var(--cyan); color: var(--fg); }
.wf-card > *:not(img):not(.wf-noimg) { padding: 0 1rem; }
.wf-card img, .wf-noimg { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; background: var(--panel-hi); display: grid; place-items: center; color: var(--soft); font: 400 0.88rem var(--text); }
.wf-title { font-weight: 600; font-size: 1rem; }
.wf-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.wf-card .muted { font-size: 0.88rem; }
.wf-image { max-width: 100%; max-height: 32rem; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.5rem; }
.wf-side { display: grid; gap: 0.75rem; }
.wf-side .go { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.row-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; margin-bottom: 0.75rem; }
.post.best { border-color: var(--ok); }
.post header { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.post .prose { max-width: none; }
.post .prose p:last-child { margin-bottom: 0; }
.post-actions { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; margin-top: 0.6rem; font-size: 0.9rem; }
.post-actions form { margin: 0; }
.solved { font: 600 0.75rem var(--text); color: #fff; background: var(--ok); padding: 0.15rem 0.45rem; border-radius: 4px; vertical-align: 0.15em; }
.reply { margin-top: 1.5rem; max-width: 46rem; }
.report { color: var(--soft); font-size: 0.88rem; }
.actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
form.inline { display: inline; }
.modtools { margin-top: 0.5rem; }
.modtools summary { cursor: pointer; color: var(--tight); font-size: 0.88rem; }
.modtools form { display: grid; gap: 0.4rem; margin-top: 0.5rem; max-width: 30rem; }
blockquote { margin: 0.5rem 0; padding-left: 0.9rem; border-left: 2px solid var(--line); color: var(--soft); }

.forum-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.forum-cats p { margin: 0.2rem 0 0.6rem; }
.fc-name { font: 600 1.05rem var(--text); color: var(--fg); text-decoration: none; }
.fc-name:hover { color: var(--cyan); }
.fc-meta { font-size: 0.88rem; color: var(--soft); }
.fc-meta b { color: var(--fg); }
.pager { display: flex; gap: 1rem; }
.report-card { display: grid; gap: 0.5rem; margin-bottom: 0.75rem; }
.tile-foot { font: 500 0.9rem var(--text); color: var(--cyan); }
.community-lists { margin-top: 1.5rem; }
.community-lists h3 { font-size: 0.95rem; color: var(--soft); }
@media (max-width: 88rem) { .nav { justify-content: flex-start; order: 3; flex-basis: 100%; } }
@media (min-width: 70rem) { .nav { justify-content: flex-end; order: 0; flex-basis: auto; } }

/* ---------- Kopfleiste wie Motion-Lab: schwarz, roter Strich ---------- */
.topbar { background: #121212; border-bottom: 3px solid #b41e22; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); }
.topbar .logo, .topbar .logo:hover { color: #fff; }
.topbar .logo b { color: #e0575a; }
.topbar .nav a { color: rgba(255, 255, 255, 0.68); }
.topbar .nav a:hover, .topbar .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #e0575a; }
.topbar .btn-ghost, .topbar .btn-small { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.topbar .btn-ghost:hover, .topbar .btn-small:hover { border-color: #e0575a; color: #fff; }
.topbar .me, .topbar .author { color: #fff; }
.topbar .avatar { background: #2c1a1b; color: #e0575a; }

/* ---------- Logo C: roter KI-Stempel + HEIMLABOR ---------- */
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-ki { background: #b41e22; color: #fff; font: 900 0.95rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.06em; padding: 0.45rem 0.5rem 0.4rem; border-radius: 5px; }
.logo-name { font: 700 1.1rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.1em; color: #fff; }
.logo-name small { display: block; font: 400 0.7rem/1 var(--text); letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.5); margin-top: 0.3rem; }
@media (max-width: 30rem) { .logo-name small { display: none; } }

/* ---------- Variante 2: wie Motion-Lab – immer hell, volle Breite, ein Rot ---------- */
:root {
  --bg: #f4f6f8; --panel: #ffffff; --panel-hi: #edf2f7; --line: #e2e8f0;
  --fg: #2d3748; --soft: #718096; --cyan: #b41e22; --accent-bg: rgba(180, 30, 34, 0.08);
  --wrap: none; --r: 12px;
}
.wrap { padding-left: max(28px, 2.5vw); padding-right: max(28px, 2.5vw); }
.topbar .wrap { min-height: 3.6rem; }
.cut, .board .module, .sheet, .facts, .stats, .scale, .guide-list li, .post { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.tiles { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.cards { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); }
@media (max-width: 56rem) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
.nav { justify-content: flex-end; order: 0; flex-basis: auto; }
@media (max-width: 70rem) { .nav { justify-content: flex-start; order: 3; flex-basis: 100%; } }
.go:hover, .btn:hover { background: #8a1518; filter: none; }

/* Mitte begrenzt, Kopfleiste und Fuß über die ganze Breite */
main .wrap, .flashes.wrap { max-width: var(--page); }

/* Fuß schwarz wie die Kopfleiste, roter Strich oben */
.foot { background: #121212; border-top: 3px solid #b41e22; color: rgba(255, 255, 255, 0.55); margin-top: 3rem; }
.foot a { color: rgba(255, 255, 255, 0.85); }
.foot a:hover { color: #fff; }
/* Fuß bleibt auch auf kurzen Seiten unten */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
body > .topbar, body > .foot { flex: none; }

/* Menü beginnt auf derselben Linie wie der Inhalt (Mitte 1500px), Logo links, Anmelden rechts */
@media (min-width: 70rem) {
  .topbar .wrap {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) minmax(0, calc(var(--page) - 2 * max(28px, 2.5vw))) minmax(max-content, 1fr);
    column-gap: 0;
  }
  .topbar .logo { justify-self: start; padding-right: 1.5rem; }
  .topbar .nav { justify-content: flex-start; order: 0; flex-basis: auto; }
  .topbar .usermenu { justify-self: end; padding-left: 1.5rem; }
}

/* ---------- großer Fuß ---------- */
.foot { padding: 0; font-size: 0.92rem; }
.foot .wrap.foot-grid { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(16rem, 1.6fr) repeat(3, minmax(9rem, 1fr)); padding-top: 2.75rem; padding-bottom: 2.5rem; justify-content: stretch; }
@media (max-width: 56rem) { .foot .wrap.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .foot .wrap.foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-brand .logo { margin-bottom: 1rem; text-decoration: none; }
.foot-brand p { max-width: 34ch; margin: 0 0 0.75rem; line-height: 1.6; }
.foot-mail a { color: #fff; }
.foot-col { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-col h2 { font: 700 0.78rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 0.5rem; padding-bottom: 0.6rem; border-bottom: 2px solid #b41e22; align-self: flex-start; }
.foot-col a { text-decoration: none; color: rgba(255, 255, 255, 0.7); }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); background: #0b0b0b; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }
.foot-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.foot-badges span { padding: 0.25rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 99px; color: rgba(255, 255, 255, 0.65); white-space: nowrap; }
/* Spalten enger zusammen */
@media (min-width: 56rem) {
  .foot .wrap.foot-grid { grid-template-columns: minmax(16rem, 22rem) repeat(3, max-content); column-gap: 4.5rem; justify-content: start; }
}

/* ---------- Fuß im selben Raster wie die Kopfleiste ---------- */
.foot .wrap.foot-grid { display: flex; flex-direction: column; gap: 1.75rem; }
.foot-grid > .logo { align-self: flex-start; text-decoration: none; }
.foot-links { display: grid; gap: 2rem 4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-about { grid-column: 1 / -1; }
.foot-about p { margin: 0; max-width: 36ch; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.foot-col a.foot-mail { color: #fff; }
@media (min-width: 40rem) { .foot-links { grid-template-columns: minmax(14rem, 22rem) repeat(3, max-content); } .foot-about { grid-column: auto; } }
@media (min-width: 70rem) {
  .foot .wrap.foot-grid {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) minmax(0, calc(var(--page) - 2 * max(28px, 2.5vw))) minmax(max-content, 1fr);
    column-gap: 0; align-items: start;
  }
  .foot-grid > .logo { padding-right: 1.5rem; }
  .foot-links { justify-content: start; }
}

/* ---------- Startseite: Einstieg ---------- */
.home-hero2 { background: var(--panel); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4vw, 3.5rem) 0; }
.home-hero2-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 60rem) { .home-hero2-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; } }
.home-hero2 h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 0.6rem; }
.home-hero2 .lead { font-size: 1.08rem; max-width: 58ch; }
.eyebrow { display: inline-block; font: 700 0.72rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions .btn, .hero-actions .btn-ghost { min-height: 46px; padding: 0.6rem 1.25rem; font-size: 0.98rem; }
.hero-example { display: grid; gap: 0.7rem; text-decoration: none; color: var(--fg); background: var(--bg); transition: border-color 150ms ease; }
.hero-example:hover { border-color: var(--cyan); color: var(--fg); }
.hero-example .label { margin: 0; }
.hero-example-card { font-size: 1.2rem; }
.stackbar { display: flex; gap: 3px; height: 14px; border-radius: 99px; overflow: hidden; }
.stackbar i { display: block; }
.sb-passt { background: var(--ok); } .sb-knapp { background: var(--tight); } .sb-zu-gross { background: var(--no); } .sb-unbekannt { background: var(--line); }
.stacklegend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.stacklegend b { color: var(--fg); }
.stats-slim { margin-top: 1.5rem; }
.stats-slim div { padding: 0.6rem 1rem; }
.stats-slim dd { font-size: 1.15rem; }

/* ---------- Startseite: Community ---------- */
.feed-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.feed { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.feed h3 { margin: 0; }
.feed p { margin: 0; }
.feed .plain { align-self: stretch; }
.feed .btn-small { margin-top: auto; }
.feed-num { font: 650 1.6rem/1 var(--text); }
.feed-num small { font-size: 0.9rem; font-weight: 400; color: var(--soft); }

/* ================= Unterseiten ================= */

/* 3 · Seitenkopf weiß wie der Einstieg der Startseite */
.pagehead { background: var(--panel); border-bottom: 1px solid var(--line); padding: 2.25rem 0 2rem; }
.pagehead h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.5rem; }
.pagehead p { font-size: 1.05rem; max-width: 70ch; }
.crumbs { margin-bottom: 0.75rem; }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { color: var(--cyan); }

/* 1 · Tabellen in weißen Karten */
.table-scroll { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); overflow-x: auto; }
.table th { background: var(--panel-hi); font-weight: 600; color: var(--soft); border-bottom: 1px solid var(--line); padding: 0.7rem 1rem; }
.table td { padding: 0.75rem 1rem; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbfc; }
.section > h2, .section > .sec-head { margin-bottom: 0.9rem; }

/* 2 · Links in Tabellen und Listen ruhig: kein Unterstrich, rot beim Drüberfahren */
.table td a, .plain a, .row-name a, .sources a { text-decoration: none; }
.table td a { font-weight: 600; color: var(--fg); }
.table td a:hover, .plain a:hover, .sources a:hover { color: var(--cyan); text-decoration: underline; }
.table td:nth-child(n+2) a { font-weight: 400; color: var(--cyan); }
.sec-head a { text-decoration: none; font-weight: 600; }
.sec-head a:hover { text-decoration: underline; }

/* Eckdaten, Hinweise */
.facts { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.note { max-width: none; }

/* 5 · Speicher-Balken: Zahl auf dem Balken weiß, Balken über 48 GB läuft aus */
.scale-value.on-bar { color: #fff; font-weight: 600; transform: translate(calc(-100% - 0.6rem), -50%); }
.scale-bar.over { background: linear-gradient(90deg, var(--cyan) 85%, color-mix(in srgb, var(--cyan) 45%, transparent)); }
.scale-bar.geschaetzt.over { background: repeating-linear-gradient(-45deg, var(--cyan) 0 6px, color-mix(in srgb, var(--cyan) 40%, transparent) 6px 10px); }

/* 6 · „Auf diesen Karten läuft es“ als Kärtchen */
section[aria-labelledby="karten"] .cols { gap: 1rem; }
section[aria-labelledby="karten"] .cols > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
section[aria-labelledby="karten"] h3 { margin: 0 0 0.6rem; }
section[aria-labelledby="karten"] .plain { display: flex; flex-wrap: wrap; gap: 0.4rem; }
section[aria-labelledby="karten"] .plain li { border: 1px solid var(--line); border-radius: 6px; padding: 0.35rem 0.6rem; background: var(--bg); font-size: 0.9rem; }
section[aria-labelledby="karten"] .plain li:first-child { border-top: 1px solid var(--line); }
section[aria-labelledby="karten"] .plain a { color: var(--fg); font-weight: 600; }
section[aria-labelledby="karten"] .plain a:hover { color: var(--cyan); }

/* 4 · Anleitung mit Inhaltsliste rechts */
.guide-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .guide-layout { grid-template-columns: minmax(0, 46rem) minmax(16rem, 20rem); justify-content: space-between; align-items: start; } }
.guide-layout .prose { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); max-width: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.guide-layout .prose > :first-child { margin-top: 0; }
.prose h2 { scroll-margin-top: 1rem; padding-top: 0.25rem; }
.toc { position: sticky; top: 1rem; display: grid; gap: 0.75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.toc li::marker { color: var(--cyan); font-weight: 600; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--cyan); }
.toc .btn-small { justify-self: start; }
/* Inhaltsliste ohne doppelte Nummern, Text näher an der Liste */
@media (min-width: 64rem) { .guide-layout { grid-template-columns: minmax(0, 50rem) minmax(15rem, 19rem); justify-content: start; column-gap: 3rem; } }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 0.3rem 0 0.3rem 0.85rem; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { border-left-color: var(--cyan); }

/* ================= Adminbereich ================= */
.admin-head { padding-bottom: 0; }
.admin-tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 1.5rem; }
.admin-tabs a { padding: 0.65rem 1rem; text-decoration: none; color: var(--soft); font-weight: 600; border-bottom: 3px solid transparent; }
.admin-tabs a:hover { color: var(--fg); }
.admin-tabs a[aria-current="page"] { color: var(--cyan); border-bottom-color: var(--cyan); }
.stats dd small { font-size: 0.8rem; font-weight: 500; }
.admin-todo { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.5rem 0; }
.admin-todo-item { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: var(--fg); }
.admin-todo-item strong { font-size: 1.6rem; }
.admin-todo-item:hover { border-color: var(--cyan); color: var(--fg); }
.admin-todo-item.urgent { border-color: var(--cyan); background: var(--accent-bg); }
.admin-todo-item.urgent strong { color: var(--cyan); }
.feed h2 { font-size: 1.05rem; margin: 0; }
.admin-search { max-width: 22rem; }
.inline-form { display: flex; gap: 0.4rem; align-items: center; }
.inline-form select { width: auto; padding: 0.3rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--field); font: inherit; }
.table .modtools form { min-width: 16rem; }
.news-form .news-thumb { max-width: 16rem; border-radius: 6px; border: 1px solid var(--line); margin-top: 0.5rem; }
.news-pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.news-pic { display: grid; gap: 0.5rem; align-content: start; padding: 0.9rem; border: 1px solid var(--line); border-radius: var(--r); }
.news-pic .news-thumb { margin-top: 0; }

/* ================= News ================= */
.news-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: var(--fg); }
.news-card:hover { border-color: var(--cyan); color: var(--fg); }
.news-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--panel-hi); }
.news-card-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.news-card h2, .news-card h3 { font-size: 1.1rem; margin: 0; }
.news-card p { margin: 0; color: var(--soft); font-size: 0.95rem; }
.news-card .tile-foot { margin-top: auto; padding-top: 0.4rem; }
.news-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .news-layout { grid-template-columns: minmax(0, 50rem) minmax(15rem, 19rem); justify-content: start; column-gap: 3rem; align-items: start; } }
.news-layout > .note { grid-column: 1 / -1; }
.news-article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); max-width: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.news-hero { width: calc(100% + 2 * clamp(1.25rem, 3vw, 2.25rem)); max-width: none; margin: calc(-1 * clamp(1.25rem, 3vw, 2.25rem)) calc(-1 * clamp(1.25rem, 3vw, 2.25rem)) 1.5rem; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.news-meta { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pager { margin-top: 1.5rem; align-items: center; }

/* ================= Slider (Startseite) ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slider { position: relative; height: clamp(380px, 38vw, 540px); overflow: hidden; background: #121212; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0s linear 0.8s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity 0.8s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; } /* panorama images fill the whole band */
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 2, 4, 0.72) 0%, rgba(15, 2, 4, 0.45) 32%, rgba(15, 2, 4, 0) 58%); }
.slide-cap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--page); /* same as the header, so the text lines up with the logo */ margin: 0 auto; padding: 0 max(28px, 2.5vw); color: #fff; }
.slide-cap h2, .slide-text { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.slide-cap .eyebrow { color: #e0575a; border-color: #e0575a; align-self: flex-start; }
.slide-cap h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; margin: 0 0 0.7rem; max-width: 16ch; color: #fff; }
.slide-text { max-width: 44ch; font-size: 1.1rem; color: rgba(255, 255, 255, 0.82); margin: 0 0 1.5rem; }
.slide-cap .btn { align-self: flex-start; min-height: 46px; padding: 0.6rem 1.3rem; }
.slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; }
.slider-dots button.on { background: #e0575a; }
.slider-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.slider-arrow:hover { background: rgba(180, 30, 34, 0.85); border-color: transparent; }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-arrow[hidden], .slider-dots[hidden] { display: none; }
@media (max-width: 40rem) {
  .slider-arrow { display: none; }
  .slide::after { background: linear-gradient(90deg, rgba(15, 2, 4, 0.85) 0%, rgba(15, 2, 4, 0.65) 60%, rgba(15, 2, 4, 0.35) 100%); }
}

/* Admin: Folienliste */
.slide-list { display: grid; gap: 0.75rem; }
.slide-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; }
.slide-row img { width: 240px; height: 136px; object-fit: cover; border-radius: 6px; }
.slide-row.off img { filter: grayscale(1); opacity: 0.6; }
.slide-row-text { display: grid; gap: 0.25rem; justify-items: start; }
.slide-row-text .label { margin: 0; }
.slide-row-actions { display: flex; gap: 0.4rem; align-items: center; }
.slide-row-actions form { margin: 0; }
.slide-row-actions button[disabled] { opacity: 0.35; cursor: default; }
@media (max-width: 48rem) { .slide-row { grid-template-columns: minmax(0, 1fr); } .slide-row img { width: 100%; height: auto; } }

/* ================= Werbeplätze ================= */
.ad { margin: 2rem 0; }
.ad-label { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-bottom: 0.35rem; }
.ad a { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.ad img { display: block; width: 100%; height: auto; }
.ad a:hover { border-color: var(--cyan); }
.ad-start, .ad-rechner { max-width: var(--page); }
.toc .ad { margin: 0.75rem 0 0; }
.ad-thumb { max-width: 220px; margin-top: 0.4rem; border-radius: 4px; border: 1px solid var(--line); }
.ad-fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 0.75rem 1rem 1rem; }
.ad-fieldset legend { padding: 0 0.4rem; }
.news-list { align-items: stretch; } /* cards of a row equally high, footer at the bottom */

/* programs */
.prog h3 { margin-bottom: 0.2rem; }
.prog .badges { margin: 0 0 0.6rem; }
.prog-os { font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: center; }
.prog-os .st { font-size: 0.72rem; }
.rec h3 a { color: var(--fg); }
.procon { margin-top: 1.5rem; }
.pros li::marker { color: var(--ok); }
.cons li::marker { color: var(--no); }
.compat td:nth-child(odd) { color: var(--soft); }

/* errors and glossary */
.finder { display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.finder input[type="search"] { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.8rem 0.9rem; background: var(--field); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r); }
.finder input[type="search"]:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: 500 0.85rem var(--text); padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--soft); cursor: pointer; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; gap: 0.35rem; }
.chip:hover, .chip.on { border-color: var(--cyan); color: var(--fg); }
.chip small { color: var(--cyan); }
.err-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.err-item a { display: grid; gap: 0.3rem; padding: 1rem 1.1rem; background: var(--panel); color: var(--fg); text-decoration: none; }
.err-item a:hover { background: var(--panel-hi); }
.err-title { font: 700 1.05rem var(--display); }
.err-msg { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.82rem; color: var(--cyan); white-space: pre-wrap; word-break: break-word; }
.err-meta { font-size: 0.85rem; color: var(--soft); }
.errbox { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88rem; background: var(--panel-hi); border-left: 3px solid var(--no); border-radius: 0 var(--r) var(--r) 0; padding: 1rem 1.1rem; overflow-x: auto; white-space: pre-wrap; word-break: break-word; margin: 0 0 0.8rem; }
.steps { display: grid; gap: 0.8rem; padding-left: 1.4rem; max-width: 46rem; margin: 0 0 1rem; }
.steps li::marker { color: var(--cyan); font-family: var(--display); font-weight: 700; }
.steps code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88em; background: var(--panel-hi); border-radius: 4px; padding: 0.1em 0.35em; }
a.term { color: inherit; text-decoration: underline dotted var(--cyan); text-underline-offset: 3px; }
a.term:hover { color: var(--cyan); }
.letters { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 1.5rem; }
.letters a { min-width: 2.4rem; min-height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); text-decoration: none; font: 700 0.95rem var(--display); }
.letters a:hover { border-color: var(--cyan); color: var(--cyan); }
.letter-block { margin-bottom: 2rem; scroll-margin-top: 1rem; }
.letter-block h2 { color: var(--cyan); }
.gloss { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gloss div { background: var(--panel); padding: 0.85rem 1.1rem; display: grid; gap: 0.25rem; }
.gloss dt a { font: 700 1.05rem var(--display); color: var(--fg); }
.gloss dd { margin: 0; color: var(--soft); }

/* purchase advisor */
.adv-form { display: grid; gap: 1.2rem; }
.adv-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.check-chip input { accent-color: var(--cyan); margin: 0; }
.check-chip:has(input:checked) { border-color: var(--cyan); color: var(--fg); }
.adv-levels { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.adv-level { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.6rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); cursor: pointer; }
.adv-level input { accent-color: var(--cyan); grid-row: span 2; align-self: start; margin-top: 0.3rem; }
.adv-level:has(input:checked) { border-color: var(--cyan); }
.adv-level .muted { font-size: 0.9rem; }
.adv-form .go { justify-self: start; }
.lead-sm { font-size: 1.1rem; max-width: 46rem; }
.adv-cards { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.adv-card a { display: grid; gap: 0.35rem; color: var(--fg); text-decoration: none; }
.adv-compare { margin: 1.5rem 0; }
.partner { border-top: 1px solid var(--line); padding-top: 2rem; }
.partner-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.partner-head h2 { margin: 0; }
.partner-head .ad-label { display: inline-block; margin: 0; }
.partner-grid { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.partner-card { display: flex; flex-direction: column; gap: 0.6rem; }
.partner-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: var(--r); }
.partner-noimg { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg); border: 1px dashed var(--line); border-radius: var(--r); color: var(--soft); font: 600 1rem var(--text); }
.partner-card h3 { font-size: 1.1rem; margin: 0; }
.partner-specs { margin: 0; display: grid; gap: 0.3rem; font-size: 0.92rem; }
.partner-specs div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; }
.partner-specs dt { color: var(--soft); }
.partner-specs dd { margin: 0; min-width: 0; }
.partner-hl { font-size: 0.9rem; color: var(--soft); }
.partner-price { font: 700 1.2rem var(--display); margin: auto 0 0; }
.partner-card .go { align-self: flex-start; }
.partner-group { margin: 2rem 0 0.4rem; font-size: 1.25rem; }
.partner-text { max-width: 52rem; color: var(--soft); }
.partner-card h4 { font: 700 1.1rem var(--display); margin: 0; }
.partner-card .badges { margin: 0; min-height: 0; }
.badge-warn { border-color: var(--tight); color: var(--tight); }
.partner-card.sold img { opacity: 0.6; }
.partner-variants { font-size: 0.92rem; }
.partner-date { font-size: 0.8rem; margin: 0; }

/* guides */
.guide h2 { scroll-margin-top: 1rem; margin-top: 2.6rem; }
.guide h2:first-child { margin-top: 0; }
.guide-fig { margin: 1.4rem 0; max-width: 52rem; }
.guide-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.guide-fig figcaption { font-size: 0.9rem; color: var(--soft); margin-top: 0.5rem; }
.guide-fig.missing span { display: grid; place-items: center; min-height: 8rem; border: 1px dashed var(--tight); border-radius: var(--r); color: var(--tight); font: 600 0.9rem var(--text); }
.news-fig { float: right; clear: right; width: min(34%, 19rem); margin: 0.35rem 0 1rem 1.75rem; }
.news-fig figcaption { font-size: 0.82rem; line-height: 1.4; }
.news-fig.left { float: left; clear: left; margin: 0.35rem 1.75rem 1rem 0; }
.news-article h2, .news-article h3 { clear: both; } /* a picture stays in its own section */
.news-article .news-source, .news-article .news-rel, .news-article .news-meta { clear: both; }
@media (max-width: 640px) { .news-fig, .news-fig.left { float: none; width: auto; margin: 1.2rem 0; } }
blockquote.callout { border-left: 3px solid var(--cyan); border-radius: 0 var(--r) var(--r) 0; background: var(--panel-hi); padding: 0.9rem 1.1rem; margin: 1.2rem 0; max-width: 46rem; }
blockquote.callout p { margin: 0; }
.callout-wichtig { border-left-color: var(--tight) !important; }
.callout-lizenz { border-left-color: var(--no) !important; }
.guide-layout > * { min-width: 0; }
.prose code { overflow-wrap: anywhere; }
.link-list { padding-left: 1.2em; } .link-list li { margin: 0.3em 0; }
.tiles-4 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

/* ================= Feinschliff 22.10. ================= */
/* Zahlenleiste: Trennlinien über Lücken statt Rahmen je Kachel (keine halben Linien beim Umbruch) */
.stats { gap: 1px; background: var(--line); }
.stats div { background: var(--panel); border-right: 0; }
/* Slider-Pfeile unten rechts statt mitten über der Überschrift */
.slider-arrow { top: auto; bottom: 14px; transform: none; width: 40px; height: 40px; font-size: 20px; }
.slider-arrow.prev { left: auto; right: 64px; }
.slider-arrow.next { right: 16px; }
/* Rechner: lange Modellnamen zweizeilig statt abgeschnitten */
@media (min-width: 40.01rem) { .bar { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 4.6rem; } }
.bar-name { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* Community leer: ein Kasten statt drei leere */
.community-start { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; }
.community-start p { margin: 0; max-width: 60ch; }
/* Handy: Menü als wischbare Zeile statt zwei Zeilen */
@media (max-width: 40rem) {
  .topbar .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 1rem; margin: 0 calc(-1 * max(28px, 2.5vw)); padding: 0 max(28px, 2.5vw);
    mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .topbar .nav::-webkit-scrollbar { display: none; }
  .topbar .nav a { white-space: nowrap; }
}

/* ================= Adminbereich: Seitenleiste ================= */
.admin-shell { display: grid; grid-template-columns: 15rem minmax(0, 1fr); min-height: calc(100vh - 3.8rem);
  background: linear-gradient(90deg, #181818 15rem, transparent 15rem); } /* dunkle Spalte bis ganz unten, Leiste bleibt sticky */
.admin-side { background: #181818; padding: 1.25rem 0.75rem 2rem; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; align-self: start; min-height: calc(100vh - 3.8rem); }
.admin-side a { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.75rem; border-radius: 8px; color: rgba(255, 255, 255, 0.72); text-decoration: none; font: 500 0.93rem var(--text); }
.admin-side a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-side a[aria-current="page"] { background: #b41e22; color: #fff; }
.admin-ico { width: 1.2rem; text-align: center; opacity: 0.85; }
.admin-count { margin-left: auto; background: #e0575a; color: #fff; border-radius: 99px; font: 700 0.72rem/1 var(--text); padding: 0.25rem 0.5rem; }
.admin-side a[aria-current="page"] .admin-count { background: #fff; color: #b41e22; }
.admin-side-group { font: 700 0.68rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.38); padding: 1.1rem 0.75rem 0.45rem; }
.admin-side-back { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0 !important; padding-top: 1rem !important; }
.admin-main { min-width: 0; }
.admin-main .wrap { max-width: none; margin: 0; }
.admin-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }
.admin-head-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-head { padding-bottom: 1.5rem; }
body:has(.admin-shell) .foot { margin-top: 0; }
@media (max-width: 56rem) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); background: none; }
  .admin-side { position: static; min-height: 0; flex-direction: row; overflow-x: auto; padding: 0.5rem; gap: 0.25rem; }
  .admin-side a { white-space: nowrap; padding: 0.45rem 0.7rem; }
  .admin-side-group, .admin-side-back { display: none !important; }
}

/* Hinweisleiste über der Kopfleiste */
.notice-bar { background: #2d3748; color: #fff; font: 500 0.92rem/1.4 var(--text); }
.notice-bar .wrap { padding-top: 0.55rem; padding-bottom: 0.55rem; text-align: center; }
.notice-bar a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.notice-rot { background: #b41e22; }
.notice-gruen { background: #2f8a4c; }

/* Admin: Einstellungen – one column of cards, label + help left, field right */
.settings-page { max-width: 60rem; }
.settings-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.settings-nav a { padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; color: var(--soft); text-decoration: none; font: 500 0.88rem var(--text); background: var(--card, #fff); }
.settings-nav a:hover { border-color: var(--cyan); color: var(--cyan); }
.settings-form { display: grid; gap: 1.25rem; }
.settings-card { margin: 0 0 1.25rem; scroll-margin-top: 5rem; }
.settings-form .settings-card { margin: 0; }
.settings-card > h2 { font: 650 1.1rem var(--display); margin: 0 0 0.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.settings-card > h2 .small { font-family: var(--text); font-weight: 400; margin-left: 0.4rem; }
.settings-note { margin: 0.75rem 0 0; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--accent-bg); font-size: 0.92rem; }
.setting-row { display: grid; gap: 0.4rem 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
@media (min-width: 48rem) { .setting-row:not(.setting-bool) { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; } }
.setting-label strong { font-weight: 600; }
.setting-help { font-size: 0.86rem; margin-top: 0.2rem; line-height: 1.45; }
.setting-field { display: grid; gap: 0.3rem; }
.setting-field input, .setting-field textarea, .setting-field select { width: 100%; }
.setting-select { max-width: 22rem; }
.setting-bool { grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.settings-status { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.settings-status li { display: flex; align-items: center; gap: 0.5rem; }
.settings-status li.off { color: var(--soft); }
.settings-testmail { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.settings-testmail input { flex: 1 1 16rem; max-width: 24rem; }
.switch { position: relative; display: inline-block; width: 2.6rem; height: 1.5rem; margin-top: 0.1rem; }
.switch input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 99px; transition: background 0.15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); background: #fff; border-radius: 50%; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(1.1rem); }
.switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.settings-save { position: sticky; bottom: 0; z-index: 2; background: linear-gradient(transparent, var(--bg) 35%); padding: 1rem 0 1.25rem; }

/* Admin: Statistik */
.stat-chart-box { margin: 1.25rem 0; }
.stat-chart-box h2, .stat-grid h2 { font-size: 1.02rem; }
.stat-chart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: 0.5rem; }
.stat-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.stat-col i { display: block; width: 100%; min-height: 2px; background: var(--cyan); border-radius: 3px 3px 0 0; opacity: 0.85; }
.stat-col:hover i { opacity: 1; background: #8a1518; }
.stat-axis { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--soft); margin-top: 0.4rem; }
.stat-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .stat-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.stat-side { display: grid; gap: 1.25rem; align-content: start; }
.table-tight td { padding: 0.45rem 0.25rem; font-size: 0.92rem; }
.num-col { text-align: right; font-weight: 600; width: 4rem; }
.mono-cell { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem !important; word-break: break-all; }
.hbars { display: grid; gap: 0.45rem; }
.hbar { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 3rem; gap: 0.6rem; align-items: center; font-size: 0.9rem; }
.hbar b { text-align: right; }
.hbar-track { height: 0.55rem; background: var(--panel-hi); border-radius: 99px; overflow: hidden; }
.hbar-track i { display: block; height: 100%; background: var(--cyan); border-radius: 99px; }

/* Admin: Protokoll */
.nowrap { white-space: nowrap; }
.errlog { display: grid; gap: 0.5rem; }
.errlog pre { margin: 0; background: #1b1b1b; color: #f1d4d4; border-radius: var(--r); padding: 0.75rem 1rem; font-size: 0.8rem; white-space: pre-wrap; word-break: break-word; max-height: 14rem; overflow: auto; }

/* ================= Forum: klassisches Board ================= */
.board { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.board-row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 6.5rem minmax(12rem, 16rem); gap: 1rem; align-items: center; padding: 0.95rem 1.25rem; border-top: 1px solid var(--line); }
.board-row:first-child { border-top: 0; }
.board-head { background: #1c1c1c; color: rgba(255, 255, 255, 0.85); font: 700 0.72rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 0.8rem; padding-bottom: 0.8rem; border-bottom: 3px solid #b41e22; }
.board-row:not(.board-head):hover { background: #fafbfc; }
.board-row.is-pinned { background: color-mix(in srgb, var(--cyan) 4%, var(--panel)); }
.board-cat { display: flex; gap: 0.9rem; align-items: center; min-width: 0; }
.board-cat > div { min-width: 0; }
.board-icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--accent-bg); display: grid; place-items: center; font-size: 1.35rem; }
.board-icon.small { width: 2.1rem; height: 2.1rem; font-size: 1.05rem; border-radius: 8px; }
.board-title { font: 650 1.02rem/1.3 var(--text); color: var(--fg); text-decoration: none; }
.board-title:hover { color: var(--cyan); text-decoration: underline; }
.board-desc { font-size: 0.88rem; margin-top: 0.15rem; }
.board-desc .author { font-weight: 500; color: var(--soft); }
.board-desc .avatar { width: 1.25rem; height: 1.25rem; font-size: 0.68rem; margin-right: 0.3rem; }
.board-num { text-align: center; color: var(--soft); font-size: 0.85rem; }
.board-num b { display: block; font-size: 1.1rem; color: var(--fg); }
.board-num small { display: none; }
.board-head .board-num { color: inherit; font-size: inherit; }
.board-last { display: grid; gap: 0.1rem; font-size: 0.88rem; min-width: 0; }
.board-last-title { color: var(--fg); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-last-title:hover { color: var(--cyan); }
.board-compact .board-row { grid-template-columns: minmax(0, 1fr) auto; padding: 0.7rem 1.25rem; }
.board-when { font-size: 0.85rem; white-space: nowrap; }
.board-stats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: center; margin-top: 2rem; font-size: 0.92rem; color: var(--soft); }
.board-stats strong, .board-stats b { color: var(--fg); }
.board-empty { text-align: center; padding: 2.5rem 1rem; }
.thread-state { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--panel-hi); color: var(--soft); font-size: 0.95rem; }
.state-solved { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-weight: 700; }
.state-pinned { background: var(--accent-bg); }
.badge-muted { background: var(--panel-hi); color: var(--soft); }
.forum-head h1 > span[aria-hidden="true"] { font-size: 0.85em; }
.forum-head h1 .solved, .forum-head h1 .badge { font-size: 0.8rem; vertical-align: 0.4em; }
.thread-meta { margin: 0.25rem 0 0; font-size: 0.92rem; }
@media (max-width: 48rem) {
  .board-head { display: none; }
  .board-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 0.75rem; }
  .board-row > .board-num { display: none; }
  .board-last { grid-column: 1 / -1; padding-left: 3.65rem; }
}

/* Beiträge mit Autor-Spalte links */
.fpost { display: grid; grid-template-columns: 11rem minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.9rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); scroll-margin-top: 1rem; }
.fpost.best { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.fpost.is-hidden { opacity: 0.7; }
.fpost-author { background: var(--panel-hi); border-right: 1px solid var(--line); padding: 1.1rem 0.9rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; }
.fpost-avatar { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #b41e22; color: #fff; display: grid; place-items: center; font: 700 1.5rem var(--text); text-decoration: none; margin-bottom: 0.3rem; }
.fpost-avatar.muted { background: #cbd5e1; }
.fpost-name { font-weight: 700; color: var(--fg); text-decoration: none; word-break: break-word; }
.fpost-name:hover { color: var(--cyan); }
.fpost-role { font-size: 0.78rem; color: var(--soft); }
.fpost-role.role-admin, .fpost-role.role-mod { color: #fff; background: #b41e22; border-radius: 99px; padding: 0.15rem 0.55rem; font-weight: 600; }
.fpost-role.role-mod { background: #2d3748; }
.fpost-gpu { font-size: 0.78rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.45rem; }
.fpost-facts { font-size: 0.78rem; color: var(--soft); line-height: 1.45; margin-top: 0.2rem; }
.fpost-main { padding: 0.9rem 1.25rem 1rem; min-width: 0; display: flex; flex-direction: column; }
.fpost-head { display: flex; gap: 0.75rem; align-items: center; font-size: 0.86rem; padding-bottom: 0.6rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.fpost-nr { margin-left: auto; color: var(--soft); text-decoration: none; font-weight: 600; }
.fpost-nr:hover { color: var(--cyan); }
.fpost .prose { max-width: none; flex: 1; }
.fpost .prose p:last-child { margin-bottom: 0; }
.fpost .prose blockquote { background: var(--panel-hi); border-left: 3px solid var(--cyan); border-radius: 0 6px 6px 0; padding: 0.5rem 0.9rem; color: var(--fg); }
.fpost .post-actions { margin-top: 1rem; padding-top: 0.6rem; border-top: 1px dashed var(--line); }
@media (max-width: 40rem) {
  .fpost { grid-template-columns: minmax(0, 1fr); }
  .fpost-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 0.6rem 0.9rem; gap: 0.25rem 0.6rem; }
  .fpost-avatar { width: 2.2rem; height: 2.2rem; font-size: 1rem; margin: 0; }
  .fpost-facts br { display: none; }
}
.thread-pager { display: flex; gap: 0.3rem; flex-wrap: wrap; margin: 0 0 1rem; }
.thread-pager a, .thread-pager span { min-width: 2.2rem; height: 2.2rem; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.thread-pager span { background: #b41e22; border-color: #b41e22; color: #fff; }
.thread-pager a:hover { border-color: var(--cyan); color: var(--cyan); }
.reply-box { margin-top: 1.5rem; }
.reply-box .reply { max-width: none; }
.mod-bar { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; margin-bottom: 1.25rem; background: #fffbea; border-color: #f3e2a0; }
.mod-bar form { margin: 0; }
.mod-bar select, .row-actions select { width: auto; padding: 0.3rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--field); font: inherit; font-size: 0.85rem; }
.mod-delete summary { cursor: pointer; color: var(--no); font-size: 0.88rem; }
.mod-delete form { display: grid; gap: 0.4rem; margin-top: 0.4rem; }
.danger-small { border-color: var(--no) !important; color: var(--no) !important; }

/* Admin: Forum-Kategorien */
.cat-list { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.cat-item { padding: 0; }
.cat-item summary, .cat-new summary { list-style: none; display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 1rem; cursor: pointer; }
.cat-item summary::-webkit-details-marker, .cat-new summary::-webkit-details-marker { display: none; }
.cat-new { padding: 0; }
.cat-item-name { flex: 1; min-width: 0; }
.cat-item.off { opacity: 0.65; }
.cat-form { padding: 1rem; border-top: 1px solid var(--line); }
.cat-icon-field input { max-width: 6rem; font-size: 1.2rem; }
.cat-delete { padding: 0 1rem 1rem; flex-wrap: wrap; }
.cat-delete .label { margin: 0; }
.row-off td { opacity: 0.6; }

/* Admin: Inhalte */
.content-sets { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: 1.25rem; }
.content-set { display: flex; flex-direction: column; gap: 0.25rem; }
.content-count { font: 650 2rem/1.1 var(--text); margin-top: 0.4rem; }
.content-set .small { font-size: 0.82rem; }
.content-set .row-actions { margin-top: 0.75rem; }
.checked-form { margin-left: auto; }
.checked-form input[type="date"] { width: auto; }
.json-form { display: grid; gap: 0.75rem; }
.code-edit { font: 400 0.88rem/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace !important; background: #1b1d21 !important; color: #e6e6e6 !important; border-radius: var(--r) !important; padding: 1rem 1.1rem !important; tab-size: 4; min-height: 60vh; }
.md-edit { background: var(--field) !important; color: var(--fg) !important; }
.json-status { font: 600 0.88rem var(--text); }
.json-status.ok { color: var(--ok); }
.json-status.bad { color: var(--no); }
.json-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 35%); padding: 0.75rem 0 1rem; }

/* Admin: Übersicht */
.dash-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
@media (min-width: 64rem) { .dash-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.dash-chart { height: 110px; }
.quick-links { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.quick-links a { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.quick-links a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ================= Anmeldung ================= */
.small { font-size: 0.86rem; }
.login-box .provider { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; border-radius: 8px; font: 600 1rem var(--text); text-decoration: none; color: #fff; background: #2d3748; border: 1px solid transparent; }
.login-box .provider:hover { filter: brightness(1.1); color: #fff; }
.provider-logo { font-weight: 800; width: 1.4rem; text-align: center; }
.provider-discord { background: #5865f2 !important; }
.provider-google { background: #fff !important; color: #1f1f1f !important; border-color: #dadce0 !important; }
.provider-google:hover { background: #f8f9fa !important; color: #1f1f1f !important; }
.provider-google .provider-logo { color: #4285f4; font-family: Arial, sans-serif; }
.provider-github { background: #24292f !important; }
.login-or { display: flex; align-items: center; gap: 0.75rem; color: var(--soft); font-size: 0.88rem; margin: 0.5rem 0 0; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-sent { text-align: center; }
.login-sent-icon { font-size: 2.5rem; margin: 0; }

/* Konto */
.account-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .account-grid { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr); align-items: start; } }
.account-side { display: grid; gap: 1.25rem; }
.account-side h2 { font-size: 1.05rem; }
.account-bottom { grid-column: 1 / -1; }
.avatar-edit { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 0.75rem; }
.avatar-edit .avatar.big { width: 5rem; height: 5rem; font-size: 2rem; margin: 0; }
.notify-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* Profilbilder */
img.avatar-img { object-fit: cover; padding: 0; background: var(--panel-hi); }
.avatar.fpost-avatar { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #b41e22; color: #fff; display: grid; place-items: center; font: 700 1.5rem var(--text); margin: 0 0 0.3rem; }
img.avatar.fpost-avatar { background: var(--panel); }
.fpost-avatar-link { text-decoration: none; }
@media (max-width: 40rem) { .avatar.fpost-avatar { width: 2.2rem; height: 2.2rem; font-size: 1rem; margin: 0; } }

/* Forum: ungelesen, Danke, Suche */
.new-pill { display: inline-block; background: #b41e22; color: #fff; border-radius: 99px; font: 700 0.68rem/1 var(--text); padding: 0.25rem 0.5rem; vertical-align: 0.15em; margin-left: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.board-title.is-new { font-weight: 800; }
.board-icon.has-new, .thread-state.has-new { box-shadow: 0 0 0 2px #b41e22; }
.thanks-btn { display: inline-flex; align-items: center; gap: 0.3rem; border: 1px solid var(--line); background: var(--panel); border-radius: 99px; padding: 0.2rem 0.7rem; font: 500 0.85rem var(--text); color: var(--soft); cursor: pointer; min-height: 30px; }
.thanks-btn:hover { border-color: var(--ok); color: var(--ok); }
.thanks-btn.on { background: color-mix(in srgb, var(--ok) 12%, var(--panel)); border-color: var(--ok); color: var(--ok); }
.thanks-btn.static { cursor: default; }
.thanks-btn b { color: var(--fg); }
.forum-tools { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.forum-tools form { margin: 0; }
.forum-search { display: flex; gap: 0.5rem; align-items: center; flex: 1 1 18rem; max-width: 32rem; }
.forum-search input { flex: 1; }
.forum-search.big { margin-top: 1rem; max-width: 40rem; }
.forum-search.big input { font-size: 1.05rem; padding: 0.7rem 0.9rem; }
.search-snippet { margin: 0.4rem 0 0; font-size: 0.93rem; color: var(--fg); }
.search-snippet mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 0.1em; }
.search-results .board-row { grid-template-columns: minmax(0, 1fr); }

/* ================= Rechner: große Kartenauswahl ================= */
.gpu-picker { margin-top: 1.25rem; display: grid; gap: 0.9rem; border-top: 3px solid var(--cyan); }
.gp-top { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.gp-title { font: 650 1.15rem var(--display); margin: 0; }
.gp-search { flex: 1 1 16rem; max-width: 26rem; font-size: 1rem !important; }
.gp-select { max-width: 24rem; }
.gp-vram { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.gp-list { display: grid; gap: 0.75rem; }
.gp-group { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.6rem; align-items: start; }
.gp-vendor { font: 700 0.72rem/2.4rem "Orbitron", system-ui, sans-serif; letter-spacing: 0.1em; color: var(--soft); text-transform: uppercase; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gpu-chip { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); font: 600 0.9rem var(--text); cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.gpu-chip b { font-weight: 500; font-size: 0.78rem; color: var(--soft); background: var(--panel-hi); border-radius: 5px; padding: 0.1rem 0.4rem; }
.gpu-chip:hover { border-color: var(--cyan); }
.gpu-chip[aria-pressed="true"] { background: #b41e22; border-color: #b41e22; color: #fff; }
.gpu-chip[aria-pressed="true"] b { background: rgba(255, 255, 255, 0.2); color: #fff; }
.gpu-chip[hidden], .gp-group[hidden] { display: none; }
.gp-current { display: block; font: 650 1.1rem/1.3 var(--display); margin-top: 0.1rem; }
@media (max-width: 40rem) {
  .gp-group { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .gp-vendor { line-height: 1.4; }
}

/* ================= Kaufberater: Angebotskarten ================= */
.partner-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)) !important; gap: 1.25rem !important; }
.partner-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); transition: box-shadow 0.15s, border-color 0.15s; padding: 0 !important; gap: 0 !important; }
.partner-card:hover { border-color: #cbd5e1; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.partner-img { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.partner-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; padding: 0.75rem; border-radius: 0 !important; }
.partner-img .partner-noimg { border: 0; border-radius: 0; }
.partner-flag { position: absolute; left: 0.75rem; top: 0.75rem; font: 600 0.75rem/1 var(--text); padding: 0.4rem 0.6rem; border-radius: 99px; background: var(--ok); color: #fff; }
.partner-flag.warn { background: var(--tight); }
.partner-flag.ok + .partner-flag.warn { top: 2.6rem; }
.partner-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem 1.15rem 1.1rem; flex: 1; }
.partner-body h4 { font: 700 1.1rem/1.3 var(--display); margin: 0; }
.partner-specs2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.partner-specs2 li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.5rem; align-items: baseline; }
.partner-specs2 abbr { text-decoration: none; font: 700 0.68rem/1.6 var(--text); letter-spacing: 0.05em; color: var(--soft); background: var(--panel-hi); border-radius: 4px; text-align: center; }
.partner-variants2 { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.partner-variants2 .label { width: 100%; margin: 0; }
.partner-variants2 a { display: inline-flex; gap: 0.35rem; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 0.3rem 0.6rem; font-size: 0.85rem; color: var(--fg); text-decoration: none; }
.partner-variants2 a b { color: var(--cyan); }
.partner-variants2 a:hover { border-color: var(--cyan); }
.partner-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.partner-price2 { font: 750 1.35rem/1.1 var(--display); }
.partner-price2 small { font-size: 0.8rem; font-weight: 500; color: var(--soft); }
.partner-foot .btn { min-height: 40px; }
.partner-card .partner-date { margin: 0; font-size: 0.78rem; }
.partner-card.sold .partner-img img { opacity: 0.55; }
@media (min-width: 64rem) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* ================= Anwendungsfälle ================= */
.uc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.uc-card { display: flex; flex-direction: column; gap: 0.45rem; text-decoration: none; color: var(--fg); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.uc-card:hover { border-color: var(--cyan); color: var(--fg); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07); }
.uc-card h2, .uc-card h3 { font-size: 1.08rem; margin: 0.2rem 0 0; }
.uc-card p { margin: 0; color: var(--soft); font-size: 0.93rem; }
.uc-card .uc-meta { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; align-items: center; font-size: 0.85rem; }
.uc-card.small { padding: 1rem; }
.uc-card.small p { font-size: 0.88rem; }
.uc-icon { width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--accent-bg); display: grid; place-items: center; font-size: 1.45rem; }
.uc-icon.big { width: 4rem; height: 4rem; font-size: 2.1rem; border-radius: 16px; flex: none; }
.uc-more { margin-top: 1.5rem; }
.uc-title { display: flex; gap: 1.1rem; align-items: center; }
.uc-title h1 { margin-bottom: 0.25rem; }
.uc-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .uc-layout { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } }
.uc-main { display: grid; gap: 1.5rem; min-width: 0; }
.uc-main h2 { font-size: 1.15rem; }
.uc-main .cut p:last-child { margin-bottom: 0; }
.uc-guides { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.uc-programs { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.uc-program { display: flex; flex-direction: column; gap: 0.35rem; text-decoration: none; color: var(--fg); }
.uc-program:hover { border-color: var(--cyan); color: var(--fg); }
.uc-program .badges { margin: 0; }
.uc-program .muted { font-size: 0.9rem; }
.uc-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.uc-side p { margin: 0.4rem 0 0.6rem; }
.uc-need { font-size: 1.1rem; }
.uc-tip { background: color-mix(in srgb, var(--tight) 7%, var(--panel)); border-color: color-mix(in srgb, var(--tight) 25%, transparent); }

/* ================= Hauptmenü mit Gruppen ================= */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-btn { background: none; border: 0; padding: 0; cursor: pointer; color: rgba(255, 255, 255, 0.68); font: 500 0.92rem var(--text); min-height: 44px; display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-drop-btn span { font-size: 0.7rem; opacity: 0.7; }
.nav-drop:hover .nav-drop-btn, .nav-drop.on .nav-drop-btn, .nav-drop.open .nav-drop-btn { color: #fff; }
.nav-drop.on .nav-drop-btn { box-shadow: inset 0 -2px 0 #e0575a; }
.nav-menu { display: none; position: absolute; top: 100%; left: -0.75rem; z-index: 50; min-width: 13rem; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, 0.1); border-top: 2px solid #b41e22; border-radius: 0 0 8px 8px; padding: 0.4rem; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); flex-direction: column; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { display: flex; }
.topbar .nav .nav-menu a { min-height: 38px; padding: 0 0.75rem; border-radius: 6px; box-shadow: none; }
.topbar .nav .nav-menu a:hover, .topbar .nav .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
/* small screens: no dropdowns, all links in one row */
@media (max-width: 70rem) {
  .nav-drop { display: contents; }
  .nav-drop-btn { display: none; }
  .nav-menu, .nav-drop:hover .nav-menu { display: contents; }
  .topbar .nav .nav-menu a { padding: 0; min-height: 44px; border-radius: 0; }
  .topbar .nav .nav-menu a[aria-current="page"] { background: none; box-shadow: inset 0 -2px 0 #e0575a; }
}
@media (max-width: 40rem) { .uc-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; } .uc-grid-home .uc-card p { display: none; } .uc-grid-home .uc-card h3 { font-size: 0.95rem; } }

/* ================= Galerie ================= */
.gal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.gal-item { display: block; position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--panel-hi); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.gal-item:hover img { transform: scale(1.03); }
.gal-cap { position: absolute; inset: auto 0 0 0; padding: 2rem 0.8rem 0.65rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); color: #fff; display: grid; gap: 0.1rem; font-size: 0.82rem; opacity: 0; transition: opacity 0.2s; }
.gal-cap b { font-size: 0.95rem; }
.gal-item:hover .gal-cap, .gal-item:focus .gal-cap { opacity: 1; }
@media (hover: none) { .gal-cap { opacity: 1; } }
.gal-filter select { min-width: 14rem; }
.gal-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0.6rem; }
.gal-strip a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--panel-hi); }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.gal-strip a:hover img { transform: scale(1.05); }
.gal-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); margin-top: 0.5rem; }
@media (min-width: 64rem) { .gal-layout { grid-template-columns: minmax(0, 1fr) 24rem; align-items: start; } }
.gal-figure { margin: 0; background: #111; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.gal-figure img { max-width: 100%; max-height: 82vh; width: auto; height: auto; display: block; }
.gal-info { display: grid; gap: 0.9rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.gal-info h1 { margin: 0; }
.gal-by { margin: 0; display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.gal-facts { margin: 0; display: grid; gap: 0.45rem; font-size: 0.93rem; }
.gal-facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.5rem; }
.gal-facts dt { color: var(--soft); }
.gal-facts dd { margin: 0; }
.gal-prompt pre { margin: 0.3rem 0 0; white-space: pre-wrap; word-break: break-word; background: var(--panel-hi); border-radius: 6px; padding: 0.7rem 0.85rem; font-size: 0.86rem; max-height: 14rem; overflow: auto; }
.gal-info .actions { margin: 0; }

/* ================= Etappe 4: Glocke, Vergleich, Setup ================= */
.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.bell:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.bell.has-new { color: #fff; }
.bell-count { position: absolute; top: 2px; right: 0; min-width: 1.15rem; height: 1.15rem; border-radius: 99px; background: #e0575a; color: #fff; font: 700 0.68rem/1.15rem var(--text); text-align: center; padding: 0 0.25rem; }
.notif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 50rem; }
.notif-list a { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.1rem; background: var(--panel); color: var(--fg); text-decoration: none; }
.notif-list a:hover { background: var(--panel-hi); }
.notif-list li.is-new a { background: color-mix(in srgb, var(--cyan) 5%, var(--panel)); }
.notif-icon { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--panel-hi); flex: none; }
.notif-text { flex: 1; display: grid; gap: 0.1rem; }
.notif-text small { font-size: 0.8rem; }
.compare-form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.compare-form .pick { flex: 1 1 14rem; width: auto; }
.compare-table th[scope="row"] { width: 13rem; color: var(--soft); font-weight: 600; background: var(--panel-hi); }
.compare-table thead th a { font-size: 1.02rem; }
.compare-table td { min-width: 14rem; }
.head-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem !important; }
.read-links { display: block; margin-top: 0.4rem; font-size: 0.88rem; }
.rank-table .rank { font-size: 1.1rem; width: 3rem; text-align: center; }
.fav-row { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.fav-row select { width: 100%; background: var(--field); border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem; font: inherit; }
.setup-fit { margin: 0.25rem 0 0.75rem; font-size: 0.92rem; }
.fav-list li { display: flex; justify-content: space-between; gap: 0.5rem; }
.setup-fit a { text-decoration: none; } .setup-fit a:hover { text-decoration: underline; } .fav-list { margin-bottom: 0.5rem; } .fav-list + p, .setup-fit + .label { margin-top: 0.5rem; }

/* ================= Etappe 5: Newsletter, News-Vorschläge ================= */
.nl-progress { height: 0.8rem; background: var(--panel-hi); border-radius: 99px; overflow: hidden; margin-bottom: 0.75rem; }
.nl-progress i { display: block; height: 100%; background: var(--ok); transition: width 0.3s; }
.nl-preview { white-space: pre-wrap; font: 400 0.92rem/1.6 var(--text); }
.nl-box { display: grid; gap: 1rem 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); background: linear-gradient(135deg, #1c1c1c, #2a1416); color: #fff; border: 0; }
@media (min-width: 56rem) { .nl-box { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }
.nl-box h2 { color: #fff; margin: 0 0 0.3rem; }
.nl-box .muted { color: rgba(255, 255, 255, 0.7); margin: 0; }
.nl-box-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-box-form input { flex: 1 1 14rem; }
.news-suggest { margin-bottom: 1.5rem; border-left: 3px solid var(--cyan); }
.news-suggest h2 { font-size: 1.05rem; }
.suggest-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.suggest-row form { margin: 0; }
.faq-item { padding: 0; margin-bottom: 0.5rem; }
.faq-item summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0; padding: 0 1.1rem 1rem; color: var(--fg); }
.summary a { color: inherit; text-decoration: none; } .summary a:hover { color: var(--cyan); }

/* ================= Grafikkarten-Seite: Kopf mit Eckdaten ================= */
.gpu-head h1 { margin-bottom: 0.4rem; }
.gpu-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1px; margin: 1.25rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gpu-specs div { background: var(--panel); padding: 0.85rem 1rem; display: grid; gap: 0.1rem; align-content: start; }
.gpu-specs div.main { background: #1c1c1c; color: #fff; }
.gpu-specs div.main dt, .gpu-specs div.main small { color: rgba(255, 255, 255, 0.65); }
.gpu-specs dt { font: 500 0.8rem var(--text); color: var(--soft); }
.gpu-specs dd { margin: 0; font: 700 1.3rem/1.2 var(--display); }
.gpu-specs div.main dd { font-size: 1.6rem; }
.gpu-specs small { font-size: 0.78rem; color: var(--soft); }
.gpu-head .vendor-note { margin-top: 1rem; max-width: 60rem; }
.fit-tiles { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.fit-tile { display: grid; gap: 0.35rem; text-decoration: none; color: var(--fg); }
.fit-tile:hover { border-color: var(--cyan); color: var(--fg); }
.fit-tile .label { margin: 0; }
.fit-tile b { font: 700 1.5rem/1 var(--display); }
.fit-tile b small { font-size: 0.85rem; font-weight: 500; color: var(--soft); }
.fit-bar { height: 6px; background: var(--panel-hi); border-radius: 99px; overflow: hidden; }
.fit-bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.gpu-src { margin: 0.5rem 0 0; } .gpu-src a { text-decoration: none; }
.gpu-head p.gpu-src { font-size: 0.82rem; max-width: none; margin-top: 0.6rem; }

/* ================= KI-Kurs ================= */
.course-progress { display: grid; gap: 0.6rem; max-width: 34rem; margin-top: 1.25rem; }
.course-bar, .fit-bar.big { height: 10px; background: var(--panel-hi); border-radius: 99px; overflow: hidden; }
.course-bar i { display: block; height: 100%; background: linear-gradient(90deg, #b41e22, #e0575a); border-radius: 99px; }
.course-progress .btn { justify-self: start; }
.course-module { margin-bottom: 2rem; }
.course-module h2 { display: flex; align-items: baseline; gap: 0.6rem; }
.course-mod-no { font: 700 0.72rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.lesson-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lesson-list a { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; background: var(--panel); color: var(--fg); text-decoration: none; }
.lesson-list a:hover { background: var(--panel-hi); }
.lesson-no { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--panel-hi); font-weight: 700; color: var(--soft); }
.lesson-list .is-done .lesson-no { background: var(--ok); color: #fff; }
.lesson-text { flex: 1; display: grid; gap: 0.1rem; }
.lesson-text .muted { font-size: 0.9rem; }
.lesson-min { font-size: 0.85rem; white-space: nowrap; }
.lesson-badge { display: inline-block; font: 700 0.75rem/1 var(--text); background: var(--accent-bg); color: var(--cyan); border-radius: 99px; padding: 0.35rem 0.6rem; vertical-align: 0.35em; }
.quiz { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.quiz-q { border: 1px solid var(--line); border-radius: var(--r); padding: 0.9rem 1rem 1rem; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.quiz-q legend { font-weight: 650; padding: 0 0.3rem; }
.quiz-q.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 5%, var(--panel)); }
.quiz-q.wrong { border-color: var(--no); background: color-mix(in srgb, var(--no) 4%, var(--panel)); }
.quiz-opt { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0.5rem; border-radius: 6px; cursor: pointer; }
.quiz-opt:hover { background: var(--panel-hi); }
.quiz-opt input { margin-top: 0.3rem; accent-color: var(--cyan); }
.quiz-opt.is-correct { font-weight: 600; color: var(--ok); }
.quiz-explain { margin: 0.3rem 0 0 !important; font-size: 0.92rem; color: var(--soft); }
.quiz-result { font-weight: 650; padding: 0.7rem 1rem; border-radius: 8px; }
.quiz-result.ok { background: color-mix(in srgb, var(--ok) 12%, var(--panel)); color: var(--ok); }
.quiz-result.bad { background: color-mix(in srgb, var(--tight) 12%, var(--panel)); color: var(--tight); }
.lesson-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.course-mini ol { margin: 0.4rem 0 0; padding-left: 1.3rem; display: grid; gap: 0.2rem; font-size: 0.88rem; }
.course-mini li.on a { font-weight: 700; color: var(--cyan); }
.course-mini li.ok::marker { color: var(--ok); }
.course-teaser { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; text-decoration: none; color: var(--fg); background: linear-gradient(135deg, var(--panel), color-mix(in srgb, var(--cyan) 5%, var(--panel))); }
.course-teaser:hover { border-color: var(--cyan); color: var(--fg); }
.course-teaser > span:nth-child(2) { flex: 1; display: grid; gap: 0.2rem; min-width: 14rem; }
.course-teaser strong { font: 700 1.2rem/1.3 var(--display); }
.course-teaser .label { margin: 0; }

/* ================= Prompt-Bibliothek ================= */
.prompt-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.prompt-card { display: grid; gap: 0.55rem; scroll-margin-top: 1rem; }
.prompt-card h2 { font-size: 1.05rem; margin: 0; }
.prompt-card pre { margin: 0; white-space: pre-wrap; word-break: break-word; background: var(--panel-hi); border-radius: 6px; padding: 0.75rem 0.85rem; font-size: 0.86rem; max-height: 14rem; overflow: auto; }
.prompt-card p { margin: 0; }
.prompt-card footer { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; font-size: 0.88rem; }
.prompt-card footer form { margin: 0; }
.prompt-card:target { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--accent-bg); }
.prompt-by { margin-left: auto; }
.filter-sep { width: 1px; height: 1.5rem; background: var(--line); }
.prompt-search input { width: 12rem; }

/* ================= Challenge ================= */
.challenge-teaser { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 56rem) { .challenge-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.challenge-teaser h2 { margin: 0 0 0.3rem; }
.challenge-teaser p { margin: 0 0 0.8rem; }
.challenge-winner img { width: 100%; max-height: 18rem; object-fit: cover; border-radius: var(--r); }
.small-strip { grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); }
.small-strip a, .gal-item { position: relative; }
.rank-flag { position: absolute; top: 0.4rem; left: 0.4rem; z-index: 2; font-size: 1.3rem; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.past-challenges { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.past-challenges .gal-strip { margin-top: 0.6rem; }
.challenge-check { background: color-mix(in srgb, var(--cyan) 5%, var(--panel)); border: 1px solid color-mix(in srgb, var(--cyan) 25%, transparent); border-radius: 8px; padding: 0.7rem 0.9rem; }

/* ================= Werkzeuge ================= */
.tool-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .tool-grid { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); } }
.tool-form { display: grid; gap: 0.45rem; }
.tool-form .label { margin-top: 0.6rem; }
.tool-form .label:first-child { margin-top: 0; }
.tool-form input[type="range"] { width: 100%; accent-color: var(--cyan); }
.tool-result { display: grid; gap: 0.9rem; }
.ctx-total { font: 400 1.1rem var(--text); display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.ctx-total b { font: 750 2.4rem/1 var(--display); }
.ctx-stack { position: relative; display: flex; height: 1.1rem; background: var(--panel-hi); border-radius: 6px; overflow: visible; }
.ctx-stack i { display: block; height: 100%; }
.ctx-stack i:first-child { border-radius: 6px 0 0 6px; }
.ctx-stack .w, .ctx-legend .w { background: #2d3748; }
.ctx-stack .k, .ctx-legend .k { background: #b41e22; }
.ctx-stack .o, .ctx-legend .o { background: #cbd5e1; }
.ctx-stack u { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 3px; background: var(--ok); border-radius: 2px; }
.ctx-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.88rem; }
.ctx-legend i, .ctx-legend u { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 3px; vertical-align: -0.1rem; margin-right: 0.3rem; }
.ctx-legend u { background: var(--ok); width: 3px; }
.table tr.on td, .ctx-table tr.on td { background: var(--accent-bg); font-weight: 600; }
.pw-results { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.pw-results div { background: var(--panel); padding: 0.8rem 1rem; }
.pw-results dt { font-size: 0.82rem; color: var(--soft); }
.pw-results dd { margin: 0; font: 700 1.35rem/1.2 var(--display); }
#finder-tool .tool-result > .cut { padding: 0.9rem 1rem; }
#finder-tool .rows { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 0.4rem; }
.fd-empty { padding: 0.7rem 1rem; }

/* ---------- News 2.0: magazine ---------- */
.news-tabs { display: flex; gap: 0.25rem; margin-top: 1rem; border-bottom: 1px solid var(--line); }
.news-tabs a { padding: 0.55rem 1rem; color: var(--soft); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.news-tabs a:hover { color: var(--fg); }
.news-tabs a[aria-current] { color: var(--fg); border-bottom-color: var(--cyan); }
.news-chips { margin-top: 0.9rem; }
.news-chips .muted { font-size: 0.78rem; }
.news-mag { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .news-mag { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } }
.news-main { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.news-side { display: flex; flex-direction: column; gap: 1rem; }
.news-side .cut { padding: 1rem 1.1rem; }
.side-h { font-size: 1rem; margin: 0 0 0.6rem; }
.news-cover { display: grid; place-items: center; width: 100%; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, #1e293b, #0f766e); }
.news-cover span { font-size: 3rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.news-cover.cat-modelle { background: linear-gradient(135deg, #312e81, #7c3aed); }
.news-cover.cat-programme { background: linear-gradient(135deg, #0f172a, #0891b2); }
.news-cover.cat-hardware { background: linear-gradient(135deg, #14532d, #65a30d); }
.news-cover.cat-recht { background: linear-gradient(135deg, #451a03, #b45309); }
.news-cover.cat-anleitungen { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.news-cover.cat-community { background: linear-gradient(135deg, #831843, #db2777); }
.news-kicker { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.news-cat { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 99px; background: var(--panel-hi); color: var(--soft); }
.news-cat.cat-modelle { color: #7c3aed; } .news-cat.cat-programme { color: #0891b2; } .news-cat.cat-hardware { color: #4d7c0f; }
.news-cat.cat-recht { color: #b45309; } .news-cat.cat-anleitungen { color: #2563eb; } .news-cat.cat-community { color: #db2777; }
.news-foot { display: flex; gap: 1rem; color: var(--soft); font-size: 0.85rem; }
@media (min-width: 48rem) {
  .news-top { display: grid; grid-template-columns: 1.35fr 1fr; }
  .news-top img, .news-top .news-cover { height: 100%; aspect-ratio: auto; min-height: 17rem; }
  /* Bild immer ganz zeigen (Kategorie-Bilder haben rechts Text + „KI-generiert“), Rand dunkel wie die Bilder */
  .news-top img { object-fit: contain; background: #000; }
  .news-top .news-cover span { font-size: 5rem; }
  .news-top .news-card-body { padding: 1.6rem; justify-content: center; }
}
.news-top h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.news-top p { font-size: 1.02rem; }
.ticker { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.ticker li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.5rem; padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.ticker li:first-child { border-top: 0; }
.ticker time { color: var(--cyan); font-weight: 700; font-size: 0.8rem; padding-top: 0.1rem; }
.ticker a { color: var(--fg); }
.ticker-big li { grid-template-columns: 6.5rem 1fr; padding: 0.9rem 0; font-size: 1rem; }
.ticker-big p { margin: 0.25rem 0 0; color: var(--soft); }
.ticker-title { font-weight: 700; }
.popular { margin: 0; padding-left: 1.3rem; }
.popular li { padding: 0.35rem 0; }
.popular a { color: var(--fg); }
.news-byline { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; color: var(--soft); font-size: 0.9rem; margin-top: 0.8rem; }
.news-col { min-width: 0; }
.news-source { margin-top: 1.5rem; font-size: 0.95rem; }
.news-rel { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 1rem; }
.news-rel .label { margin-right: 0.3rem; }
.chip-sm { min-height: 28px; padding: 0.15rem 0.6rem; font-size: 0.8rem; }
.news-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.25rem; }
.reactions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.reactions form { margin: 0; }
.react { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.3rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--fg); font: 600 1rem var(--text); cursor: pointer; text-decoration: none; }
.react span { font-size: 0.85rem; color: var(--soft); }
.react:hover, .react.on { border-color: var(--cyan); }
.react.on { background: var(--panel-hi); }
.share { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: center; font-size: 0.9rem; }
.radar-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.radar-actions form { margin: 0; }

/* ---------- profile 2.0 ---------- */
.avatar.huge { width: 6.5rem; height: 6.5rem; font-size: 2.6rem; margin: 0; border: 4px solid var(--panel); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); }
.profile-hero { background: linear-gradient(135deg, #16181d 0%, #2a1416 60%, #b41e22 140%); color: #fff; padding: 2.2rem 0 0; }
.profile-hero a { color: #fff; }
.profile-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: start; }
@media (min-width: 52rem) { .profile-top { grid-template-columns: auto minmax(0, 1fr) auto; } }
.profile-id h1 { color: #fff; margin: 0.2rem 0 0.25rem; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.profile-sub { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.profile-sub a { color: rgba(255, 255, 255, 0.92); }
.profile-bio { margin: 0.8rem 0 0; max-width: 46rem; color: rgba(255, 255, 255, 0.9); }
.profile-hero .badge { background: rgba(255, 255, 255, 0.12); color: #fff; }
.profile-own { display: flex; flex-wrap: wrap; gap: 0.5rem; grid-column: 1 / -1; }
@media (min-width: 52rem) { .profile-own { grid-column: auto; flex-direction: column; } }
.profile-own .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.soc-links { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.soc { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.8rem 0.38rem 0.6rem; border-radius: 99px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none; font-size: 0.88rem; min-height: 36px; }
.soc:hover { background: rgba(255, 255, 255, 0.2); }
.soc-instagram .soc-ico { color: #f472b6; } .soc-youtube .soc-ico { color: #f87171; } .soc-tiktok .soc-ico { color: #5eead4; } .soc-website .soc-ico { color: #93c5fd; }
.soc-ico { flex: none; vertical-align: -0.2em; }
.profile-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.8rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.profile-stats div { padding: 0.9rem 0.5rem; text-align: center; }
.profile-stats dt { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); order: 2; }
.profile-stats dd { margin: 0; font: 700 1.5rem/1.2 var(--text); color: #fff; }
.profile-stats div { display: flex; flex-direction: column-reverse; }
@media (max-width: 36rem) { .profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .avatar.huge { width: 4.5rem; height: 4.5rem; font-size: 1.8rem; } }
.rig-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.rig-card { padding: 0; overflow: hidden; }
.rig-ai { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.rig-photo { display: block; aspect-ratio: 16 / 9; background: var(--panel-hi); }
.rig-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rig-body { padding: 1.1rem 1.2rem 1.2rem; }
.rig-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.rig-head h3 { margin: 0; font-size: 1.2rem; }
.rig-vram { margin: 0.5rem 0 0.2rem; font-size: 0.92rem; color: var(--soft); }
.rig-vram b { font-size: 1.3rem; color: var(--fg); }
.rig-specs { margin: 0.7rem 0 0; display: grid; }
.rig-specs div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.6rem; padding: 0.42rem 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.rig-specs dt { color: var(--soft); }
.rig-specs dd { margin: 0; overflow-wrap: anywhere; }
.rig-notes { margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--soft); }
.rig-card .row-actions { margin-top: 0.9rem; }
.setup-box { max-width: 34rem; }
.profile-cols { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.profile-cols .section { margin: 0; padding: 1.1rem 1.2rem; }
.profile-cols h2 { font-size: 1.1rem; }
.account-rigs, .account-links-form { margin-top: 1.25rem; }
.account-rigs h2, .account-links-form h2 { font-size: 1.1rem; margin: 0; }
.account-rigs .plain { margin: 0.6rem 0 0.9rem; }
.form-sec { font-size: 1rem; margin: 0.6rem 0 -0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }

/* ---------- dark page heads on all content pages (look of the profile, admin excluded) ---------- */
.pagehead:not(.admin-head) { background: linear-gradient(135deg, #16181d 0%, #2a1416 60%, #b41e22 140%); color: #fff; border-bottom: 0; }
.pagehead:not(.admin-head) h1 { color: #fff; }
.pagehead:not(.admin-head) p, .pagehead:not(.admin-head) .muted { color: rgba(255, 255, 255, 0.75); }
.pagehead:not(.admin-head) a:not(.btn):not(.btn-small):not(.btn-ghost):not(.chip) { color: #fff; }
.pagehead:not(.admin-head) .crumbs, .pagehead:not(.admin-head) .crumbs a { color: rgba(255, 255, 255, 0.6) !important; }
.pagehead:not(.admin-head) .crumbs a:hover { color: #fff !important; }
.pagehead:not(.admin-head) .label { color: rgba(255, 255, 255, 0.7); }
.pagehead:not(.admin-head) .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.pagehead:not(.admin-head) .btn-ghost:hover { border-color: #fff; color: #fff; }
.pagehead:not(.admin-head) .chip, .pagehead:not(.admin-head) .tab-link { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); }
.pagehead:not(.admin-head) .chip:hover, .pagehead:not(.admin-head) .chip.on, .pagehead:not(.admin-head) .tab-link.on { background: rgba(255, 255, 255, 0.18); border-color: #fff; color: #fff; }
.pagehead:not(.admin-head) .news-tabs { border-bottom-color: rgba(255, 255, 255, 0.15); }
.pagehead:not(.admin-head) .news-tabs a { color: rgba(255, 255, 255, 0.65); }
.pagehead:not(.admin-head) .news-tabs a[aria-current] { color: #fff; border-bottom-color: #fff; }
.pagehead:not(.admin-head) .badge, .pagehead:not(.admin-head) .news-cat { background: rgba(255, 255, 255, 0.12); color: #fff; }
/* white boxes inside the head keep their normal dark text */
.pagehead:not(.admin-head) .cut { color: var(--fg); }
.pagehead:not(.admin-head) .cut p, .pagehead:not(.admin-head) .cut .muted, .pagehead:not(.admin-head) .cut .label { color: var(--soft); }
.pagehead:not(.admin-head) .cut a:not(.btn):not(.btn-small):not(.btn-ghost) { color: var(--cyan); }
.pagehead:not(.admin-head) .cut .btn-ghost { background: var(--panel); color: var(--fg); border-color: var(--line); }
.pagehead:not(.admin-head) input, .pagehead:not(.admin-head) select, .pagehead:not(.admin-head) textarea { color: var(--fg); }
.pagehead:not(.admin-head) .hl, .pagehead:not(.admin-head) .eyebrow { color: #ff6b6f; border-color: #ff6b6f; }
.pagehead:not(.admin-head) .gpu-specs div:not(.main) { color: var(--fg); }
.calc-hero { padding-top: 0.5rem; }
.radar-table td { vertical-align: top; }
.radar-orgs { margin-top: 2rem; padding: 0.9rem 1.1rem; }
.radar-orgs summary { cursor: pointer; font-weight: 600; }

/* Body texts use the full content width (before: 42–52rem reading width, ended in the middle of wide screens) */
.prose, .note, .steps, .lead-sm, .partner-text, .reply, .guide-fig { max-width: none; }
@media (min-width: 64rem) {
  .guide-layout, .news-layout { grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); }
}
/* footer with five columns (Wissen split into Lernen + Daten & Tools) */
@media (min-width: 40rem) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }
@media (min-width: 56rem) { .foot-links { grid-template-columns: minmax(14rem, 20rem) repeat(4, max-content); column-gap: 3.5rem; } .foot-about { grid-column: auto; } }
/* logo sits above "Über das Heimlabor" instead of its own column */
.foot .wrap.foot-grid { display: block; }
.foot-logo { display: inline-flex; margin-bottom: 1.4rem; text-decoration: none; }
@media (min-width: 56rem) { .foot-links { justify-content: space-between; } }
.foot .wrap { max-width: var(--page); } /* same width as the page content */
.guide-titles .guide-more { color: var(--cyan); font-weight: 600; border: 0; }

/* ---------- header 2.0: mega menu, search, phone menu, sticky ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: #121212; border-bottom: 3px solid #b41e22; transition: box-shadow 0.2s; }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.site-head .wrap { max-width: var(--page); }
.sh-row { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.site-head .logo, .site-head .logo:hover { color: #fff; text-decoration: none; flex: none; }
.mnav { display: flex; align-items: center; gap: 0.15rem; margin-left: 1.25rem; }
.mnav-link, .mm-btn { color: rgba(255, 255, 255, 0.75); text-decoration: none; font: 600 0.95rem var(--text); padding: 0 0.8rem; min-height: 3.75rem; display: inline-flex; align-items: center; gap: 0.3rem; background: none; border: 0; cursor: pointer; box-shadow: inset 0 0 0 transparent; }
.mnav-link:hover, .mm-btn:hover, .mm.open .mm-btn, .mm:hover .mm-btn { color: #fff; }
.mnav-link[aria-current="page"], .mm.on .mm-btn { color: #fff; box-shadow: inset 0 -3px 0 #e0575a; }
.mm-caret { font-size: 0.7rem; opacity: 0.7; transition: transform 0.15s; }
.mm.open .mm-caret { transform: rotate(180deg); }
.mm { position: relative; }
.mm-panel { display: none; position: absolute; top: 100%; left: 0; z-index: 110; width: min(40rem, 92vw); padding: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem;
  background: #1a1a1a; border: 1px solid rgba(255, 255, 255, 0.08); border-top: 3px solid #b41e22; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.mm.open .mm-panel { display: grid; }
@media (hover: hover) and (min-width: 64rem) { .mm:hover .mm-panel, .mm:focus-within .mm-panel { display: grid; } }
.mm-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.7rem 0.75rem; border-radius: 8px; color: #fff; text-decoration: none; }
.mm-item:hover, .mm-item[aria-current="page"] { background: rgba(255, 255, 255, 0.07); }
.mm-ico { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 8px; background: rgba(224, 87, 90, 0.14); font-size: 1.1rem; }
.mm-item b { display: block; font-size: 0.95rem; font-weight: 600; }
.mm-item small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; line-height: 1.35; margin-top: 0.1rem; }
.sh-tools { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.sh-tools .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.sh-tools .btn-ghost:hover { border-color: #e0575a; color: #fff; }
.sh-tools .me { color: #fff; text-decoration: none; display: inline-flex; align-items: center; font-weight: 600; }
.sh-tools .avatar { background: #2c1a1b; color: #e0575a; }
.sh-cta { min-height: 40px; padding: 0.45rem 1rem; }
.sh-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: none; color: rgba(255, 255, 255, 0.8); cursor: pointer; }
.sh-icon:hover, .sh-icon[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.sh-burger { display: none; gap: 4px; align-content: center; justify-items: center; }
.sh-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-open .sh-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .sh-burger span:nth-child(2) { opacity: 0; }
.menu-open .sh-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav-acc { display: none; }
/* search */
.sh-search { background: #1a1a1a; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 0.75rem 0; }
.sh-search form { position: relative; }
.sh-search input { width: 100%; min-height: 48px; font-size: 1.05rem; padding: 0.6rem 1rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0f0f0f; color: #fff; }
.sh-search input:focus { outline: 2px solid #e0575a; outline-offset: 1px; }
.sh-sugg { list-style: none; margin: 0.4rem 0 0; padding: 0.35rem; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); position: absolute; left: max(28px, 2.5vw); right: max(28px, 2.5vw); z-index: 120; }
.sh-sugg a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.75rem; border-radius: 6px; color: var(--fg); text-decoration: none; }
.sh-sugg li.on a, .sh-sugg a:hover { background: var(--panel-hi); }
.sg-type { font-size: 0.78rem; color: var(--soft); white-space: nowrap; align-self: center; }
.sh-sugg .sg-all { color: var(--cyan); font-weight: 600; justify-content: flex-start; border-top: 1px solid var(--line); border-radius: 0; margin-top: 0.25rem; }
/* phones and small tablets: menu behind ☰ */
@media (max-width: 63.99rem) {
  .sh-burger { display: inline-grid; }
  .sh-hide-sm, .me-name { display: none; }
  .mnav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #151515; border-bottom: 3px solid #b41e22;
    max-height: calc(100vh - 4rem); overflow-y: auto; padding: 0.5rem max(16px, 2.5vw) 1.25rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
  .menu-open .mnav { display: flex; }
  .mnav-link { min-height: 48px; padding: 0 0.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .mnav-link[aria-current="page"] { box-shadow: inset 3px 0 0 #e0575a; padding-left: 0.75rem; }
  .mm-btn { display: none; }
  .mm { padding-top: 0.9rem; }
  .mm::before { content: attr(data-label); display: block; font: 700 0.72rem/1 "Orbitron", system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #e0575a; margin: 0.3rem 0 0.4rem; }
  .mm-panel, .mm.open .mm-panel { display: grid; position: static; width: auto; padding: 0; border: 0; box-shadow: none; background: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
  .mm-item { padding: 0.55rem 0.25rem; }
  .mm-item small { display: none; }
  .mm-ico { width: 1.9rem; height: 1.9rem; font-size: 1rem; }
  .mnav-acc { display: flex; gap: 0.6rem; padding-top: 1rem; }
  .mnav-acc a { flex: 1; text-align: center; padding: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; color: #fff; text-decoration: none; }
  .sh-sugg { left: max(16px, 2.5vw); right: max(16px, 2.5vw); }
}
@media (max-width: 40rem) { .sh-cta { display: none; } .site-head .logo-name small { display: none; } .sh-tools { gap: 0.25rem; } }
body.no-scroll { overflow: hidden; }
/* search page */
.search-page-form { display: flex; gap: 0.5rem; margin: 1rem 0 0.75rem; max-width: 46rem; }
.search-page-form input { flex: 1; min-height: 48px; font-size: 1.05rem; }
.search-chips { margin-bottom: 1.25rem; }
.search-group { margin-bottom: 1.75rem; }
.search-group h2 { font-size: 1.1rem; }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.search-list a { display: grid; gap: 0.15rem; padding: 0.75rem 1rem; background: var(--panel); color: var(--fg); text-decoration: none; }
.search-list a:hover { background: var(--panel-hi); }
.search-list span { color: var(--soft); font-size: 0.9rem; }
body > .site-head { flex: none; }
.admin-side { top: calc(3.75rem + 3px); max-height: calc(100vh - 3.75rem - 3px); min-height: 0; overflow-y: auto; } /* below the sticky header */
/* mega menu hover: light background, red title (a global a:hover rule made the title dark grey) */
.mm-item:hover, .mm-item:focus-visible, .mm-item[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.mm-item:hover b, .mm-item:focus-visible b, .mm-item[aria-current="page"] b { color: #ff6b6f; }
.mm-item:hover small { color: rgba(255, 255, 255, 0.75); }
/* mega menu: red line icons instead of emoji */
.mm-ico { color: #e0575a; background: rgba(224, 87, 90, 0.1); border: 1px solid rgba(224, 87, 90, 0.25); }

/* ---------- line icons everywhere (instead of emoji) ---------- */
.ui-ico { flex: none; vertical-align: -0.18em; }
.uc-icon, .board-icon, .notif-icon { color: var(--cyan); }
.uc-icon .ui-ico, .board-icon .ui-ico, .notif-icon .ui-ico, .admin-ico .ui-ico, .thread-state .ui-ico { vertical-align: 0; }
.admin-ico { display: inline-grid; place-items: center; width: 1.3rem; }
.thread-state.state-pinned, .thread-state.state-locked { color: var(--cyan); }
.login-sent-icon { color: var(--cyan); line-height: 1; }
.h1-ico { display: inline-flex; vertical-align: -0.12em; color: var(--cyan); }
.pagehead:not(.admin-head) .h1-ico { color: #ff6b6f; }
.news-cover .ui-ico { color: rgba(255, 255, 255, 0.9); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)); }
.news-top .news-cover .ui-ico { width: 96px; height: 96px; }
.side-h .ui-ico, .plain .ui-ico, .news-tabs .ui-ico { color: var(--cyan); }
.news-tabs a[aria-current] .ui-ico { color: inherit; }
.thanks-btn .ui-ico { vertical-align: -0.15em; }
.medal { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; font: 700 0.9rem/1 var(--text); color: #fff; background: #b41e22; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.medal.m2 { background: #6b7280; }
.medal.m3 { background: #9a5b2e; }
.rank-flag.medal { font-size: 0.9rem; filter: none; }
.side-h { display: flex; align-items: center; gap: 0.45rem; } .plain a .ui-ico { margin-right: 0.35rem; }
svg.ui-ico { display: inline-block; }
.rig-uses { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.55rem 0 0.1rem; }
.rig-use { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 99px; background: var(--accent-bg); color: var(--cyan); }
.rig-use-picks .check-chip { cursor: pointer; }
.rig-use-picks .check-chip:has(input:checked) { border-color: var(--cyan); color: var(--fg); background: var(--accent-bg); }
.form-grid .form-sec, .form-grid .wide { grid-column: 1 / -1; }
/* computer cards: one computer = full width with summary left and parts in two columns; two = side by side */
.rig-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }
.rig-card { container-type: inline-size; }
.rig-sum { display: flex; flex-direction: column; gap: 0.2rem; }
.rig-sum .rig-uses { margin-top: 0.6rem; }
.rig-sum .rig-vram a { font-size: 0.9rem; }
@container (min-width: 52rem) {
  .rig-body { display: grid; grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; padding: 1.4rem 1.6rem; }
  .rig-specs { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .rig-specs div:nth-child(-n+2) { border-top: 0; }
  .rig-card:has(.rig-photo) { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); }
  .rig-card .rig-photo { aspect-ratio: auto; height: 100%; }
}

/* ---------- logo: house with AI chip ---------- */
.logo-mark { width: 40px; height: 40px; flex: none; display: block; }
.logo-name i { font-style: normal; color: #e0575a; }
@media (max-width: 30rem) { .logo-mark { width: 34px; height: 34px; } }

/* GPU comparison */
.speed-grid { display: grid; gap: 1rem; align-items: start; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.speed-box { padding: 1.1rem 1.25rem; }
.speed-box h3 { font-size: 1.08rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.speed-box h3 .small { font-weight: 400; }
.sbar { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr 6.5rem; align-items: center; gap: 0.7rem; margin: 0.55rem 0; }
.sbar-name { font-weight: 600; font-size: 0.92rem; }
.sbar-track { height: 12px; background: var(--panel-hi); border-radius: 99px; overflow: hidden; }
.sbar-track i { display: block; height: 100%; background: var(--cyan); border-radius: 99px; }
.sbar-val { text-align: right; font-size: 0.92rem; }
.speed-say { margin: 0.8rem 0 0.4rem; }
.compare-table td.best { font-weight: 700; background: var(--accent-bg); }
@media (max-width: 560px) {
  .sbar { grid-template-columns: 1fr auto; gap: 0.25rem 0.6rem; }
  .sbar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* home: three entry points */
.home-entries { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.entry-card { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit; }
.entry-card h2 { font-size: 1.2rem; margin: 0.2rem 0 0; }
.entry-card h2 a { color: inherit; text-decoration: none; }
.entry-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.entry-links li { line-height: 1.35; }
.entry-more { margin-top: auto; font-size: 0.92rem; }
.entry-cta .btn { margin-top: auto; align-self: flex-start; }
.entry-cta:hover h2 { color: var(--cyan); }
.sys-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin: 0.6rem 0 0.9rem; }
.sys-facts dt { font-size: 0.8rem; color: var(--soft); }
.sys-facts dd { margin: 0; }
.sys-head { position: relative; background: linear-gradient(90deg, rgba(15, 2, 4, 0.88) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.15) 100%), url(/static/sys/kopf.webp) center / cover no-repeat !important; padding: 3.5rem 0 3rem !important; }
.sys-head h1, .sys-head p { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.sys-head-credit { position: absolute; right: 16px; bottom: 10px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }
.sys-photos { display: flex; gap: 0.5rem; margin: -1.1rem -1.25rem 1rem; padding: 0.75rem 0.75rem 0.4rem; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sys-photos img { flex: 1 1 0; min-width: 0; height: 170px; object-fit: contain; }
.sys-photos figcaption { flex-basis: 100%; font-size: 0.75rem; color: #6b6b6b; text-align: right; }
.sys-card h3 a { color: inherit; text-decoration: none; }
.news-list-home { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); } /* 3 news fill the full width */


/* AI hardware catalogue */
.hw-filter { display: grid; gap: 0.6rem; margin-bottom: 0.5rem; }
.hw-filter .chip.on { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.hw-makers { align-items: center; }
.hw-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.hw-card { padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; text-decoration: none; color: inherit; }
.hw-card:hover .hw-name { color: var(--cyan); }
.hw-maker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--cyan); }
.hw-name { font-size: 1.05rem; line-height: 1.3; }
.hw-key { font-weight: 600; font-size: 0.92rem; }
.hw-ai { color: var(--soft); font-size: 0.9rem; line-height: 1.45; }
.hw-foot { margin-top: auto; padding-top: 0.3rem; font-size: 0.85rem; color: var(--soft); }
/* AI hardware product page */
.hw-top { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.hw-photo { margin: 0; padding: 1.25rem; background: #fff; display: grid; place-items: center; min-height: 18rem; }
.hw-photo img { width: 100%; height: auto; max-height: 26rem; object-fit: contain; }
.hw-photo figcaption { justify-self: end; font-size: 0.75rem; color: var(--soft); margin-top: 0.5rem; }
.hw-photo-none { color: var(--line); }
.hw-summary { display: grid; gap: 1rem; align-content: start; }
.hw-highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.hw-highlights li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--r); padding: 0.7rem 0.9rem; font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.hw-lead { font-size: 1.08rem; margin: 0; }
.hw-price { margin: 0; font-size: 1.05rem; }
.hw-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hw-body { display: grid; gap: 3rem; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); align-items: start; margin-top: 1rem; }
.hw-prose { max-width: 46rem; }
.hw-prose h3 { margin-top: 1.6em; font-size: 1.25rem; }
.hw-prose h3:first-child { margin-top: 0; }
.hw-proscons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.hw-proscons > div { padding: 1rem 1.2rem; }
.hw-proscons h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.hw-proscons ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.pc-plus li::marker { content: "+  "; color: var(--ok); font-weight: 700; }
.pc-minus li::marker { content: "–  "; color: var(--no); font-weight: 700; }
.hw-sheet { display: grid; gap: 1rem; }
.hw-sheet h2 { margin: 0; font-size: 1.2rem; }
.spec-table { width: 100%; font-size: 0.9rem; }
.spec-table caption { text-align: left; font-weight: 700; padding: 0.4rem 0; color: var(--cyan); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; }
.spec-table th { width: 42%; color: var(--soft); font-weight: 500; vertical-align: top; }
.spec-table td { vertical-align: top; }
.hw-thumb { display: block; height: 10rem; margin: -1rem -1.15rem 0.6rem; background: #fff; border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; padding: 0.75rem; overflow: hidden; }
.hw-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 64rem) { .hw-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 48rem) { .hw-top { grid-template-columns: minmax(0, 1fr); } .hw-photo { min-height: 12rem; } }
.slide-credit { position: absolute; z-index: 2; left: 16px; bottom: 12px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; pointer-events: none; }
.news-hero { max-height: 440px; } /* category picture, not a poster */
.news-list > * { max-width: 34rem; }

/* home: number tiles + entry cards with pictures */
.home-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.home-stat { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.home-stat:hover { border-color: var(--cyan); transform: translateY(-1px); }
.home-stat b { display: block; font-size: 1.45rem; line-height: 1.1; }
.home-stat small { color: var(--soft); font-size: 0.85rem; }
.entry-card h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.3rem; }
.entry-card h2 .uc-icon { width: 2.2rem; height: 2.2rem; }
.entry-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.entry-cats a { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; }
.entry-cats img { width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; display: block; transition: transform 0.2s; }
.entry-cats a:hover img { transform: scale(1.05); }
.entry-cats span { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 0.45rem 0.3rem; font-size: 0.78rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
.entry-hw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; }
.entry-hw a { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; aspect-ratio: 4 / 3; padding: 0.35rem; }
.entry-hw a:hover { border-color: var(--cyan); }
.entry-hw img { width: 100%; height: 100%; object-fit: contain; }
.entry-cta .pick { width: 100%; }
.entry-cta .btn { align-self: stretch; text-align: center; margin-top: 0; }

.entry-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; }
.entry-tiles a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--fg); background: var(--panel-hi); transition: border-color 0.15s; }
.entry-tiles a:hover { border-color: var(--cyan); }
.entry-tiles svg { color: var(--cyan); flex: none; }
.entry-tiles b { display: block; font-size: 0.95rem; line-height: 1.2; }
.entry-tiles small { color: var(--soft); font-size: 0.8rem; }
.entry-example { display: grid; gap: 0.45rem; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-hi); text-decoration: none; color: inherit; }
.entry-example:hover { border-color: var(--cyan); }
.entry-example .stacklegend { font-size: 0.82rem; }
.entry-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.entry-pop .chip { font-size: 0.8rem; }

/* Discord: header icon, home banner */
.sh-discord:hover { color: #5865f2; }
.discord-band { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; border-radius: var(--r); background: linear-gradient(120deg, #4752c4, #5865f2 55%, #7983f5); color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(88, 101, 242, 0.25); }
.discord-band:hover { color: #fff; box-shadow: 0 8px 26px rgba(88, 101, 242, 0.4); }
.discord-logo { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: rgba(255, 255, 255, 0.15); flex: none; }
.discord-text { display: grid; gap: 0.2rem; flex: 1 1 22rem; }
.discord-text b { font-size: 1.35rem; }
.discord-text span { color: rgba(255, 255, 255, 0.88); }
.discord-counts { display: flex; gap: 1.1rem; font-size: 0.95rem; }
.discord-counts b { font-size: 1.15rem; margin-right: 0.15rem; }
.dot-online { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #3ba55d; margin-right: 0.35rem; box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.3); }
.discord-band .btn.discord-btn { background: #fff; color: #4752c4; border-color: #fff; font-weight: 700; }
.discord-band:hover .btn.discord-btn { background: #f0f1ff; color: #4752c4; }

/* small phones: everything in the header must fit (Discord is in the menu there, login as icon) */
.sh-login-ico { display: none; }
@media (max-width: 40rem) {
  .sh-discord { display: none; }
  .sh-login { padding: 0; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; }
  .sh-login-txt { display: none; }
  .sh-login-ico { display: block; }
  .site-head .logo { min-width: 0; }
  .logo-name { font-size: 0.95rem; letter-spacing: 0.06em; }
  .site-head .wrap { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 23rem) { .logo-name { font-size: 0.82rem; letter-spacing: 0.03em; } }
select.pick { max-width: 100%; min-width: 0; } /* long card names must not widen the page on phones */

/* Beispielseite (/beispiele/) und Admin → Galerie */
.ex-jump { margin-top: 1rem; }
.ex-cat { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.ex-cat .sec-head h2 { display: flex; align-items: center; gap: 0.5rem; }
.ex-cat > .muted { margin: 0 0 1rem; }
.ex-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.ga-list { display: grid; gap: 1rem; }
.ga-row { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); position: relative; }
@media (min-width: 48rem) { .ga-row { grid-template-columns: 11rem minmax(0, 1fr); } }
.ga-thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); display: block; }
.ga-prompt { margin: 0; }
.ga-del { position: absolute; right: 1rem; bottom: 1rem; }

/* Anleitungen-Übersicht (/anleitungen/) */
.gl-jump { margin-top: 1rem; }
.gl-jump .muted { font-size: 0.78rem; }
.gl-start { display: grid; gap: 1.25rem 2rem; align-items: center; margin-bottom: 2.5rem; border-left: 4px solid var(--cyan); }
@media (min-width: 64rem) { .gl-start { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); } }
.gl-start h2 { margin: 0.2rem 0 0.4rem; }
.gl-start p { margin: 0; }
.gl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 48rem) { .gl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gl-steps a { display: flex; gap: 0.7rem; align-items: flex-start; height: 100%; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-hi); color: var(--fg); text-decoration: none; transition: border-color 150ms ease; }
.gl-steps a:hover { border-color: var(--cyan); }
.gl-steps b { display: block; font-size: 0.95rem; line-height: 1.3; }
.gl-steps small { display: block; color: var(--soft); font-size: 0.82rem; margin-top: 0.25rem; }
.gl-num { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cyan); color: #fff; font-weight: 700; display: grid; place-items: center; }
.gl-topic { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.gl-topic-head { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1rem; }
.gl-topic-head h2 { margin: 0; }
.gl-topic-head p { margin: 0.1rem 0 0; }
.gl-topic-ico { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; background: var(--cyan); color: #fff; }
.gl-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.gl-card { display: flex; flex-direction: column; gap: 0.45rem; color: var(--fg); text-decoration: none; transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.gl-card:hover { border-color: var(--cyan); color: var(--fg); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07); }
.gl-card h3 { font-size: 1.05rem; line-height: 1.3; margin: 0.2rem 0 0; }
.gl-card:hover h3 { color: var(--cyan); }
.gl-card p { color: var(--soft); font-size: 0.92rem; margin: 0 0 0.4rem; }
.gl-ico { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-bg); color: var(--cyan); }
.gl-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.85rem; font-size: 0.8rem; color: var(--soft); padding-top: 0.6rem; border-top: 1px solid var(--line); }
.gl-meta > span:first-child { display: inline-flex; align-items: center; gap: 0.3rem; }
.gl-more p { margin: 0; }

/* KI-Dienste (/ki-dienste/) */
.sv-intro { display: grid; gap: 1.25rem 2rem; align-items: center; margin-bottom: 2.5rem; border-left: 4px solid var(--cyan); }
@media (min-width: 64rem) { .sv-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.sv-intro h2 { margin: 0.2rem 0 0.4rem; }
.sv-intro p { margin: 0; }
.sv-pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.sv-pros li { display: grid; gap: 0.1rem; }
.sv-pros b { font-size: 0.95rem; }
.sv-pros span { color: var(--soft); font-size: 0.9rem; }
.sv-head { display: flex; gap: 0.75rem; align-items: center; }
.sv-head b { display: block; font-size: 1.1rem; }
.sv-head small { display: block; color: var(--soft); font-size: 0.82rem; }
.sv-mono { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-bg); color: var(--cyan); font: 700 1.2rem var(--display); }
.gl-card:hover .sv-head b { color: var(--cyan); }
.sv-feat th { width: 32%; font-weight: 600; }
.sv-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.05rem; }
.sv-ja { background: var(--ok); }
.sv-teils { background: var(--tight); }
.sv-nein { background: var(--line); border: 1px solid var(--soft); }
.sv-offen { background: transparent; border: 1px dashed var(--soft); }
.sv-price small { display: block; font-size: 0.75rem; }
.sv-examples { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.sv-examples h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.sv-prompt { white-space: pre-wrap; font: 0.88rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--panel-hi); border: 1px solid var(--line); border-radius: 6px; padding: 0.75rem 0.9rem; margin: 0 0 0.5rem; }
.sv-local { border-left: 4px solid var(--ok); }
.sv-local h2 { display: flex; align-items: center; gap: 0.5rem; margin-top: 0; }
.sv-compare th[scope="col"] { min-width: 10rem; }
.sv-compare th[scope="row"] { min-width: 11rem; font-weight: 600; }
.sv-compare td { font-size: 0.88rem; vertical-align: top; }

/* Werkzeug „Abo oder eigene Hardware?“ */
.abo-subs { display: grid; gap: 0.3rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-bottom: 0.5rem; }
.abo-subs .check { font-size: 0.92rem; }
.abo-verdict { font-size: 1.25rem; line-height: 1.35; }
.abo-verdict b { color: var(--cyan); }
.abo-table { margin-top: 1rem; }
.abo-table td.abo-win { font-weight: 700; color: var(--ok); }

/* Startseite: eigene Blöcke (Admin → Startseite) */
.hb-tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.hb-tile { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: 14px; overflow: hidden; background: #1a0507; color: #fff; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }
.hb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.hb-tile:hover img { transform: scale(1.04); }
.hb-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 2, 4, 0.92) 8%, rgba(12, 2, 4, 0.2) 70%); }
.hb-ai { margin: 0.5rem 0 0; text-align: right; }
.hb-tile.hb-noimg { background: linear-gradient(135deg, #3a0a0e, #b41e22); }
.hb-tile-text { position: relative; z-index: 2; display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem; }
.hb-tile-text small { font: 700 0.72rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: #ff8a8c; }
.hb-tile-text b { font-size: 1.2rem; line-height: 1.25; color: #fff; }
.hb-tile-text span { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
a.hb-tile:hover b { text-decoration: underline; }
.hb-banner { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; display: flex; align-items: center; background: #1a0507; color: #fff; }
.hb-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 2, 4, 0.82) 0%, rgba(15, 2, 4, 0.5) 40%, rgba(15, 2, 4, 0) 70%); }
.hb-banner-text { position: relative; z-index: 2; padding: 2rem 2.5rem; max-width: 36rem; }
.hb-banner-text h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin: 0.3rem 0 0.6rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.hb-banner-text p { color: rgba(255, 255, 255, 0.85); margin: 0 0 1.1rem; }
.hb-banner-text .eyebrow { color: #ff8a8c; border-color: #ff8a8c; }
.hb-text h2 { margin: 0.2rem 0 0.6rem; }
.entry-video-in { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 700px) { .entry-video-in { grid-template-columns: 9.5rem minmax(0, 1fr); } }
.entry-video-in figure { margin: 0; }
.entry-video-in video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #111; }
.entry-video-side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.entry-video-ai { margin: auto 0 0.6rem; padding-top: 0.6rem; font-size: 0.75rem; line-height: 1.35; }
.entry-video-in .prose p { margin: 0 0 0.7rem; }
.hb-video { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 1.1rem 1.5rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(100deg, var(--panel) 0%, var(--panel) 45%, #fbe7e8 100%); }
.hb-video-clip { margin: 0; }
.hb-video-clip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #111; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.hb-video-clip figcaption { margin-top: 0.35rem; text-align: center; font-size: 0.72rem; line-height: 1.3; }
.hb-video-text { max-width: 44rem; }
.hb-video-text h2 { margin: 0.3rem 0 0.5rem; font-size: clamp(1.4rem, 2.2vw, 2rem); }
@media (max-width: 700px) { .hb-video { grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; padding: 0.9rem; } .hb-video-text h2 { font-size: 1.2rem; } .hb-video-text .prose { font-size: 0.9rem; } }
/* Admin → Startseite */
.ah-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.ah-item { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.6rem 0.9rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.ah-item.ah-own { border-left: 4px solid var(--cyan); }
.ah-item.ah-dragging { opacity: 0.5; }
.ah-grip { cursor: grab; color: var(--soft); font-size: 1.2rem; user-select: none; }
.ah-name { display: grid; }
.ah-name small { font-size: 0.8rem; }
.ah-actions { display: flex; gap: 0.35rem; }
.ah-types { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.ah-type { display: grid; gap: 0.3rem; text-decoration: none; color: var(--fg); }
.ah-type:hover { border-color: var(--cyan); }
.ah-thumb { width: 220px; max-width: 100%; height: auto; border-radius: 6px; display: block; margin-bottom: 0.4rem; }
.ah-tile-edit { border: 1px solid var(--line); border-radius: var(--r); padding: 0.8rem 1rem 1rem; }
.ah-tile-edit legend { font-weight: 700; padding: 0 0.4rem; }

/* "Läuft X auf Y?" pages */
.fp-answer { display: flex; gap: 0.7rem; align-items: baseline; max-width: 60rem; font-size: 1.05rem; }
.fp-answer .st { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.fp-bars { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.45rem; max-width: 46rem; }
.fp-bars li { display: grid; grid-template-columns: 11rem 1fr 5.5rem; gap: 0.8rem; align-items: center; font-size: 0.92rem; }
.fp-bars li.on { font-weight: 700; }
.fp-bar { height: 0.6rem; background: var(--panel-hi); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.fp-bar i { display: block; height: 100%; background: var(--soft); border-radius: 99px; }
.fp-bars li.on .fp-bar i { background: var(--cyan); }
.fp-bar-val { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .fp-bars li { grid-template-columns: 7.5rem 1fr 4.5rem; } }
.finder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.finder-row .label { margin: 0; }
.finder-row select { font: inherit; padding: 0.5rem 0.7rem; background: var(--field); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r); max-width: 100%; }
.err-group { margin-bottom: 2.2rem; }
.err-group-head { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.8rem; }
.err-group-head small { font: 600 0.85rem var(--text); color: var(--soft); }
.err-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 0.6rem; }
.err-grid .err-item a { height: 100%; border: 1px solid var(--line); border-radius: var(--r); align-content: start; }
.err-grid .err-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.err-grid .err-item a:hover { border-color: var(--cyan); }
.err-grid .err-item, .err-grid .err-item a, .err-grid .err-item a > * { min-width: 0; }
.finder { grid-template-columns: minmax(0, 1fr); }
.finder-row select { flex: 1 1 12rem; min-width: 0; width: 100%; max-width: 28rem; }
/* ---------- big menu panel over the full width (like systemtreff.de): picture, link columns, info box ---------- */
.mm-feature, .mm-cols, .mm-extra { min-width: 0; }
@media (min-width: 64rem) {
  .mm { position: static; }
  .mm-panel { left: 0; right: 0; width: auto; top: 100%; margin-top: 3px; border-radius: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem max(28px, 2.5vw, calc((100% - var(--page)) / 2 + max(28px, 2.5vw))) 2rem;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr) minmax(14rem, 18rem); gap: 2rem; background: #161616; }
  .mm-panel:not(:has(.mm-feature)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem; }
  .mm-feature { position: relative; display: block; border-radius: 12px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 3.4; align-self: start; border: 1px solid rgba(255, 255, 255, 0.08); }
  .mm-feature img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
  .mm-feature:hover img { transform: scale(1.04); }
  .mm-feature-txt { position: absolute; inset: auto 0 0 0; padding: 3rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88) 45%); display: grid; gap: 0.3rem; }
  .mm-feature-txt b { font: 700 1.05rem var(--display); line-height: 1.25; }
  .mm-feature-txt small { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; line-height: 1.4; }
  .mm-more { color: #ff6b6f; font-weight: 600; font-size: 0.88rem; margin-top: 0.2rem; }
  .mm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; align-content: start; }
  .mm-col { display: grid; gap: 0.15rem; align-content: start; }
  .mm-head { margin: 0 0 0.5rem; padding-left: 0.7rem; border-left: 3px solid #e0575a; font: 700 0.78rem/1.2 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
  .mm-extra { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 1.75rem; align-self: stretch; }
  .mm-extra ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
  .mm-extra li a { display: block; padding: 0.5rem 0; color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.9rem; line-height: 1.35; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .mm-extra li a::before { content: "›"; color: #e0575a; margin-right: 0.5rem; font-weight: 700; }
  .mm-extra li a:hover { color: #ff6b6f; }
  .mm-dc { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
  .mm-dc span { display: grid; }
  .mm-dc small { color: #6fd08c; font-size: 0.82rem; }
  .mm-dc-txt { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; line-height: 1.45; margin: 0.8rem 0 1rem; }
  .mm-dc-btn { display: inline-block; }
}
@media (min-width: 64rem) and (max-width: 80rem) { .mm-panel { grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); } .mm-extra { display: none; } }
@media (max-width: 63.99rem) {
  .mm-feature, .mm-extra, .mm-head { display: none; }
  .mm-cols, .mm-col { display: contents; }
}
/* ---------- KI-Systeme: GX10 and AI TOP ATOM in detail ---------- */
.sys-focus-intro { max-width: 60rem; color: var(--soft); margin: 0.6rem 0 1.5rem; }
.sf-item { margin-bottom: 2.75rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sf-kv { margin: 0; position: relative; background: #000; }
.sf-kv img { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: cover; }
.sf-kv figcaption, .sf-pics figcaption { font-size: 0.75rem; color: var(--soft); }
.sf-kv figcaption { position: absolute; right: 0.6rem; bottom: 0.4rem; color: rgba(255, 255, 255, 0.7); }
.sf-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: 2rem; padding: 1.75rem; }
.sf-item.flip .sf-body { grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); }
.sf-item.flip .sf-buy { order: -1; }
.sf-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.sf-text h3 { font-size: 1.6rem; margin: 0.2rem 0 0.7rem; }
.sf-lead { font-size: 1.08rem; font-weight: 500; }
.sf-points { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.5rem 1.25rem; }
.sf-points li { display: flex; gap: 0.5rem; align-items: flex-start; }
.sf-points .ui-ico { color: var(--cyan); margin-top: 0.15rem; }
.sf-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.2rem; }
.sf-pics figure { margin: 0; }
.sf-pics img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.sf-pics figcaption { margin-top: 0.35rem; line-height: 1.35; }
.sf-buy { align-self: start; padding: 1.25rem; background: var(--panel-hi); position: sticky; top: 5rem; }
.sf-price { font-size: 1.05rem; margin: 0.2rem 0; }
.sf-price b { font-size: 1.7rem; }
.sf-stock { font-weight: 600; font-size: 0.9rem; margin: 0 0 0.8rem; }
.sf-stock.ok { color: #2e8b57; }
.sf-stock.warn { color: #b8860b; }
.sf-variants { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.sf-variants a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 0.92rem; }
.sf-variants a:hover span { color: var(--cyan); }
.sf-cta { display: block; text-align: center; }
.sf-specs { margin: 1.25rem 0 0; display: grid; gap: 0.55rem; font-size: 0.88rem; }
.sf-specs dt { color: var(--soft); font-size: 0.78rem; }
.sf-specs dd { margin: 0; }
.sf-cmp-h { margin-top: 0.5rem; }
.sf-cmp th[scope], .sf-cmp tbody th { white-space: nowrap; }
@media (max-width: 56rem) {
  .sf-body, .sf-item.flip .sf-body { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
  .sf-item.flip .sf-buy { order: 0; }
  .sf-buy { position: static; }
  .sf-pics { grid-template-columns: minmax(0, 1fr); }
}
.sf-kv img.pos-bottom { object-position: center bottom; }
/* header pictures of the overview pages (tools/bilder/kopfbilder.py → public/static/kopf/<name>.webp) */
.pagehead.kv { position: relative; padding: 3.5rem 0 3rem; background-color: #140405; background-size: cover; background-position: center right; }
.pagehead.kv .wrap { position: relative; }
.pagehead.kv h1, .pagehead.kv p { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.pagehead.kv .sys-head-credit { bottom: -2.4rem; }
.kv-grafikkarten { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/grafikkarten.webp) !important; }
.kv-programme { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/programme.webp) !important; }
.kv-fehler { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/fehler.webp) !important; }
.kv-verlinken { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/verlinken.webp) !important; }
.kv-vergleich { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/vergleich.webp) !important; }
@media (max-width: 40rem) { .pagehead.kv { background-position: 70% center; } }
.kv-modelle { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/modelle.webp) !important; }
.kv-anleitungen { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/anleitungen.webp) !important; }
.kv-glossar { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/glossar.webp) !important; }
.kv-werkzeuge { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/werkzeuge.webp) !important; }
.kv-dienste { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/dienste.webp) !important; }
.kv-lizenzen { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/lizenzen.webp) !important; }
.kv-news { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/news.webp) !important; }
.kv-anwendungen { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/anwendungen.webp) !important; }
.kv-benchmarks { background-image: linear-gradient(90deg, rgba(15, 2, 4, 0.9) 0%, rgba(15, 2, 4, 0.6) 45%, rgba(15, 2, 4, 0.1) 100%), url(/static/kopf/benchmarks.webp) !important; }
/* official pictures: program screenshot, graphics card photo in the page head (data/images.json) */
.prog-shot { margin-left: 0; margin-right: 0; }
.prog-shot img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; background: #0d0d0f; border: 1px solid var(--line); border-radius: var(--r); }
.prog-shot figcaption, .gpu-photo figcaption { font-size: 0.8rem; color: var(--soft); margin-top: 0.4rem; }
.gpu-photo { float: right; width: min(38%, 26rem); margin: 0 0 1rem 2rem; background: #fff; border-radius: 12px; padding: 0.9rem 0.9rem 0.5rem; }
.gpu-photo img { display: block; width: 100%; height: auto; max-height: 14rem; object-fit: contain; }
.pagehead:not(.admin-head) .gpu-photo figcaption, .pagehead:not(.admin-head) .gpu-photo figcaption a { color: #6b6b6b !important; }
.gpu-head.has-photo .wrap::after { content: ""; display: block; clear: both; }
@media (max-width: 56rem) { .gpu-photo { float: none; width: auto; max-width: 26rem; margin: 0 0 1.2rem; } }
.prog-shot.is-logo img { max-height: 13rem; padding: 2rem; background: #fff; }
/* graphics card photo below the page head (not in it) */
.gpu-photo { float: none; width: auto; margin: 0; padding: 1.5rem 1.5rem 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.gpu-photo img { max-height: 22rem; margin: 0 auto; }
.gpu-photo figcaption, .gpu-photo figcaption a { color: var(--soft) !important; text-align: center; }
.gpu-photo.section { margin-top: 2rem; }
.gpu-photo { display: table; max-width: 100%; padding: 0.9rem 1.25rem 0.5rem; } .gpu-photo img { max-height: 11rem; width: auto; max-width: 100%; } .gpu-photo figcaption { max-width: 24rem; margin-left: auto; margin-right: auto; }
/* graphics card list: small product photo in front of the name */
.gpu-cell { display: inline-flex; align-items: center; gap: 0.75rem; }
.gpu-thumb { flex: none; width: 4.5rem; height: 2.6rem; object-fit: contain; background: #fff; border-radius: 6px; display: inline-block; }
.table tr:has(.gpu-cell) td { vertical-align: middle; }

/* language switch DE / EN with small flags (header) */
.lang-sw { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 99px; }
.lang-sw a { display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; color: var(--soft); text-decoration: none; font: 600 0.78rem var(--text); line-height: 1; }
.lang-sw a:hover { color: var(--ink, inherit); }
.lang-sw a.on { background: var(--accent-bg); color: var(--cyan); }
.lang-sw img { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
/* phones: only the flag of the other language, no frame – the header must fit at 360 px */
@media (max-width: 40rem) {
  .lang-sw { border: 0; padding: 0; }
  .lang-sw a.on { display: none; }
  .lang-sw a { padding: 6px; }
  .lang-sw span { display: none; }
  .lang-sw img { width: 22px; height: 15px; }
}

/* Vergleiche "X vs. Y" (/vergleich/) */
.vs-intro { display: grid; gap: 1rem; }
.vs-verdict { padding: 1.2rem 1.4rem; border-left: 4px solid var(--cyan); }
.vs-verdict h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.vs-verdict p { margin: 0; font-size: 1.05rem; }
.vs-picks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); align-items: start; }
.vs-pick, .vs-prog { padding: 1rem 1.2rem; }
.vs-pick h3, .vs-prog h3 { margin: 0 0 .4rem; font-size: 1.02rem; }
.vs-pick p { margin: 0; }
.vs-shot { display: block; width: 100%; height: auto; max-height: 14rem; object-fit: cover; object-position: top; border-radius: 4px; margin-bottom: .8rem; }
.vs-tile h3 .hl { white-space: nowrap; }

/* mega menu: invisible bridge over the red line between button and panel, so the panel stays open on the way down */
.mm-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
.vs-shot.is-logo { object-fit: contain; height: 8rem; padding: 1rem; background: #fff; border: 1px solid var(--line, #e5e5e5); }

/* ---------- header in two rows like systemtreff.de: thin bar with promises + tools, main row with logo and menu ---------- */
.sh-usp { display: none; }
@media (min-width: 64rem) {
  .site-head { background: linear-gradient(#1c1c1c 0 calc(2.5rem - 1px), rgba(255, 255, 255, 0.07) 0 2.5rem, #0e0e0e 0); }
  .sh-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 2.5rem 4rem; grid-template-areas: "usp usp tools" "logo nav nav"; column-gap: 1rem; }
  .sh-usp { grid-area: usp; display: flex; align-items: center; gap: 0.5rem; margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.84rem; white-space: nowrap; overflow: hidden; }
  .sh-usp svg { color: #e0575a; flex: none; }
  .sh-usp i { font-style: normal; color: rgba(255, 255, 255, 0.25); }
  .sh-row > .logo { grid-area: logo; }
  .sh-row > .mnav { grid-area: nav; justify-self: end; margin-left: 0; }
  .sh-row > .sh-tools { grid-area: tools; gap: 0.35rem; }
  .sh-tools .sh-icon, .sh-tools .bell { width: 32px; height: 32px; }
  .sh-tools .btn-ghost { min-height: 30px; padding: 0.2rem 0.85rem; font-size: 0.85rem; }
  .sh-tools .lang-sw { border-color: rgba(255, 255, 255, 0.18); }
  .sh-tools .avatar { width: 26px; height: 26px; font-size: 0.75rem; }
  .mnav-start { display: none; }
  .mnav-link, .mm-btn { min-height: 4rem; text-transform: uppercase; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; padding: 0 0.85rem; color: rgba(255, 255, 255, 0.82); }
}
@media (min-width: 64rem) and (max-width: 82rem) {
  .mnav-link, .mm-btn { padding: 0 0.5rem; font-size: 0.82rem; }
  .sh-usp-x { display: none; }
}
@media (min-width: 64rem) and (max-width: 72rem) { .site-head .logo-name small { display: none; } .mnav-link, .mm-btn { padding: 0 0.4rem; font-size: 0.78rem; } }
/* footer between tablet and wide screen: about block on top, four link columns below (five max-content columns were too wide) */
@media (min-width: 56rem) and (max-width: 80rem) { .foot-links { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; } .foot-about { grid-column: 1 / -1; } }

/* Verlinke uns (/verlinken/): code boxes with copy button, format switch */
.lk-fmt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.lk-fmt-bar .chip { cursor: pointer; font: inherit; }
.lk-fmt-bar .chip small { color: var(--soft); margin-left: 0.25rem; }
.lk-fmt-bar .chip.on { border-color: var(--cyan); color: var(--cyan); background: var(--accent-bg); }
.lk-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.lk-list.lk-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 48rem), 1fr)); }
.lk-item { padding: 1rem 1.1rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.lk-label { margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--soft); }
.lk-preview { margin: 0; }
.lk-banner { overflow-x: auto; }
.lk-banner img { display: block; max-width: 100%; height: auto; }
.lk-box { display: flex; gap: 0.5rem; align-items: stretch; min-width: 0; }
.lk-code { flex: 1; min-width: 0; margin: 0; padding: 0.6rem 0.75rem; background: #1b1d21; color: #e6e6e6; border-radius: 8px; font: 400 0.8rem/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.lk-copy { flex: none; align-self: flex-start; }
.lk-size { margin-top: 1.5rem; }
.lk-size h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.lk-badge-form { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.lk-badge-form label { display: grid; gap: 0.25rem; font-size: 0.85rem; color: var(--soft); flex: 1 1 11rem; }
.lk-badge-form select { width: 100%; }
.lk-badge .lk-preview { min-height: 110px; display: flex; align-items: center; }

/* Admin → Social-Kit */
.sk-item { padding: 1.1rem 1.2rem; margin-top: 1rem; display: grid; gap: 0.9rem; }
.sk-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.sk-head h2 { margin: 0; font-size: 1.1rem; }
.sk-pics { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.3rem; }
.sk-pics a { flex: none; display: grid; gap: 0.25rem; text-decoration: none; font-size: 0.8rem; color: var(--soft); text-align: center; }
.sk-pics img { display: block; border-radius: 6px; background: #1b1b1b; height: 270px; width: auto; }
.sk-text { display: flex; gap: 0.75rem; align-items: flex-start; flex-wrap: wrap; }
.sk-text .lk-code { flex: 1 1 28rem; max-height: 12rem; overflow: auto; }
.sk-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; max-width: 16rem; }
.settings-nav a[aria-current="page"] { border-color: var(--cyan); color: var(--cyan); background: var(--accent-bg); }
.sk-text .lk-code { word-break: normal; overflow-wrap: anywhere; }
/* footer: own social media profiles */
.foot-social { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.foot-col .foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.8); }
.foot-col .foot-social a:hover { border-color: #e0575a; color: #fff; background: rgba(224, 87, 90, 0.15); text-decoration: none; }

/* clips (/clips/, Admin → Clips) */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.25rem 1rem; }
.clip-card { display: flex; flex-direction: column; gap: 0.3rem; color: var(--fg); text-decoration: none; }
.clip-card b { line-height: 1.3; }
.clip-card:hover b { color: var(--cyan); }
.clip-thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #1a1d21; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.clip-card:hover .clip-thumb img { transform: scale(1.03); }
.clip-play { position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; display: grid; place-items: center; border-radius: 50%; background: rgba(180, 30, 34, 0.9); color: #fff; padding-left: 3px; }
.clip-len { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.1rem 0.4rem; border-radius: 5px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.75rem; }
.clip-main { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 2rem; align-items: start; }
.clip-player { margin: 0; }
.clip-player video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #111; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.clip-player figcaption { margin-top: 0.4rem; text-align: center; }
.clip-side { max-width: 44rem; }
.clip-social svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .clip-main { grid-template-columns: 1fr; } .clip-player { max-width: 20rem; margin: 0 auto; } .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry-video-side .entry-more { margin-top: 0.6rem; }
.ac-home { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0.8rem 1rem; }
.ac-list { display: grid; gap: 0.75rem; }
.ac-item { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem; }
.ac-off { opacity: 0.6; }
.ac-thumb { display: grid; place-items: center; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: var(--panel-hi); }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ac-text .small { overflow-wrap: anywhere; }
.ac-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.ac-now { border-color: var(--cyan); color: var(--cyan); }
.ac-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.ac-poster { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.ac-poster-video, .ac-poster-now { display: flex; flex-direction: column; gap: 0.4rem; width: 12rem; }
.ac-poster video, .ac-poster canvas, .ac-poster img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #111; }
@media (max-width: 600px) { .ac-item { grid-template-columns: 3rem minmax(0, 1fr); } .ac-actions { grid-column: 1 / -1; justify-content: flex-start; } }
