/* Design „OLED“ – reines Schwarz, extrem reduziert, eine Akzentfarbe (Bernstein).
   Nur Systemschriften. Vorlage unverändert, Anpassungen für GameSwipe gesammelt am Dateiende. */

[data-theme="oled"] {
  --bg: #000000;
  --surface: #070707;
  --surface-2: #111111;
  --line: #242424;
  --text: #f5f5f5;
  --muted: #999999;
  --accent: #ff9f1c;
  --accent-ink: #000000;
  --like: #f5f5f5;
  --nope: #999999;
  --sale: #ff9f1c;
  --sale-ink: #000000;
  --radius: 4px;
  --radius-lg: 8px;
  --card-shadow: none;
  --border-w: 1px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --head-transform: none;
  --head-spacing: -0.025em;
  --head-weight: 700;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: dark;

  background-color: #000000;
  color: var(--text);
  font-family: var(--font);
}

[data-theme="oled"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[data-theme="oled"] .topbar { background: #000000; border-bottom: 1px solid var(--line); }
[data-theme="oled"] .brand { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
[data-theme="oled"] .brand b { color: var(--accent); font-weight: 700; }
[data-theme="oled"] .me .avatar { border: 1px solid #3a3a3a; }

[data-theme="oled"] .nav button {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
[data-theme="oled"] .nav button:hover { color: var(--text); border-color: #2e2e2e; }
[data-theme="oled"] .nav button[aria-current="page"] { color: var(--accent); background: #0b0803; border-color: var(--accent); }
[data-theme="oled"] .nav .count {
  font-variant-numeric: tabular-nums; font-size: 0.68rem; font-weight: 600; background: #141414; color: var(--text);
  border: 1px solid #2e2e2e; border-radius: 3px; padding: 1px 6px;
}
[data-theme="oled"] .nav button[aria-current="page"] .count { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

[data-theme="oled"] .card { background: var(--surface); border: 1px solid #2c2c2c; border-radius: var(--radius-lg); box-shadow: none; color: var(--text); }
[data-theme="oled"] .card.behind { background: #030303; border-color: #1c1c1c; box-shadow: none; }
[data-theme="oled"] .card.behind2 { background: #000000; border-color: #121212; box-shadow: none; }
[data-theme="oled"] .card.dragging { border-color: var(--accent); box-shadow: none; }
[data-theme="oled"] .card .shot { border-bottom: 1px solid var(--line); }
[data-theme="oled"] .more-pics,
[data-theme="oled"] .trailer-pill {
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-variant-numeric: tabular-nums;
  background: #000000; color: var(--text); border: 1px solid #383838; border-radius: var(--radius);
}
[data-theme="oled"] .card .title { font-family: var(--font-head); font-size: 1.42rem; line-height: 1.12; letter-spacing: var(--head-spacing); font-weight: var(--head-weight); color: #ffffff; }
[data-theme="oled"] .card .meta { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
[data-theme="oled"] .desc { color: #d6d6d6; line-height: 1.55; }

[data-theme="oled"] .review.good { background: #141414; color: #ffffff; border: 1px solid #595959; font-variant-numeric: tabular-nums; }
[data-theme="oled"] .review.mid { background: #0d0902; color: var(--accent); border: 1px solid var(--accent); font-variant-numeric: tabular-nums; }
[data-theme="oled"] .review.bad { background: #000000; color: var(--muted); border: 1px dashed #474747; font-variant-numeric: tabular-nums; }
[data-theme="oled"] .players .pl { font-variant-numeric: tabular-nums; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); }
[data-theme="oled"] .players .pl.hot { background: #0f0a02; border-color: var(--accent); color: var(--accent); }
[data-theme="oled"] .tags .tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; background: #000000; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); }

[data-theme="oled"] .pricebar { background: #000000; border-top: 1px solid var(--line); }
[data-theme="oled"] .price .now { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.01em; color: #ffffff; }
[data-theme="oled"] .price .was { font-variant-numeric: tabular-nums; color: var(--muted); }
[data-theme="oled"] .sale {
  font-variant-numeric: tabular-nums; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: var(--radius);
}
[data-theme="oled"] .deals,
[data-theme="oled"] .owned-badge,
[data-theme="oled"] .pick-kicker {
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  background: #0d0d0d; color: var(--accent); border: 1px solid #36260d; border-radius: var(--radius);
}

[data-theme="oled"] .stamp.like,
[data-theme="oled"] .stamp.nope { font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; border-radius: var(--radius); box-shadow: none; }
[data-theme="oled"] .stamp.like { background: #f5f5f5; color: #000000; border: 2px solid #f5f5f5; }
[data-theme="oled"] .stamp.nope { background: #000000; color: #d4d4d4; border: 2px dashed #8c8c8c; }

[data-theme="oled"] .actions .act {
  background: #050505; border: 1px solid #383838; color: var(--text); box-shadow: none;
  transition: transform 0.1s ease, background-color 0.14s ease, border-color 0.14s ease;
}
[data-theme="oled"] .actions .act:active { transform: scale(0.95); }
[data-theme="oled"] .actions .act.like { background: #f5f5f5; color: #000000; border: 2px solid #f5f5f5; }
[data-theme="oled"] .actions .act.like:hover { background: #ffffff; }
[data-theme="oled"] .actions .act.nope { background: #000000; color: #d4d4d4; border: 1.5px dashed #787878; }
[data-theme="oled"] .actions .act.nope:hover { border-color: #b8b8b8; color: #ffffff; }
[data-theme="oled"] .actions .act.skip { background: #0a0702; color: var(--accent); border-color: var(--accent); }
[data-theme="oled"] .actions .act.undo { background: #0a0a0a; color: var(--muted); border-color: #2e2e2e; }
[data-theme="oled"] .actions .act.undo:hover { color: var(--text); border-color: #525252; }

[data-theme="oled"] .btn {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; background: #0d0d0d; color: var(--text);
  border: 1px solid #303030; border-radius: var(--radius); box-shadow: none; transition: border-color 0.14s ease, background-color 0.14s ease;
}
[data-theme="oled"] .btn:hover { border-color: #5c5c5c; background: #141414; }
[data-theme="oled"] .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
[data-theme="oled"] .btn.primary:hover { background: #ffb142; }
[data-theme="oled"] .btn.danger { background: #000000; color: #d4d4d4; border: 1px dashed #787878; }
[data-theme="oled"] .btn.ghost { background: transparent; border-color: var(--line); }
[data-theme="oled"] .btn.small { font-size: 0.66rem; }
[data-theme="oled"] .chip[aria-pressed="true"],
[data-theme="oled"] .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font-weight: 700; }

[data-theme="oled"] .panel,
[data-theme="oled"] .tile,
[data-theme="oled"] .stat,
[data-theme="oled"] .pick,
[data-theme="oled"] .sheet,
[data-theme="oled"] .empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; color: var(--text); }
[data-theme="oled"] .flabel,
[data-theme="oled"] .sheet-head { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
[data-theme="oled"] .input,
[data-theme="oled"] .select { background: #000000; color: var(--text); border: 1px solid #2e2e2e; border-radius: var(--radius); font-family: var(--font); }
[data-theme="oled"] .input:focus,
[data-theme="oled"] .select:focus { border-color: var(--accent); }
[data-theme="oled"] .range,
[data-theme="oled"] .check { accent-color: var(--accent); }
[data-theme="oled"] .row { border-bottom: 1px solid #171717; }
[data-theme="oled"] .meter i { background: #141414; border-radius: 1px; }
[data-theme="oled"] .meter i.on { background: var(--accent); }

[data-theme="oled"] .big-roll {
  font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: none;
}
[data-theme="oled"] .player,
[data-theme="oled"] .shot-btn { border: 1px solid var(--line); border-radius: var(--radius); }
[data-theme="oled"] .shot-btn:hover { border-color: var(--accent); }
[data-theme="oled"] .play-overlay { background: #000000; color: var(--accent); border: 1px solid var(--accent); }
[data-theme="oled"] .lightbox { background: rgba(0, 0, 0, 0.96); }

[data-theme="oled"] .toast {
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  background: #0a0a0a; color: var(--text); border: 1px solid #383838; border-radius: var(--radius); box-shadow: none;
}
[data-theme="oled"] .toast.match { border-color: var(--accent); color: var(--accent); }
[data-theme="oled"] .skeleton { background: #0d0d0d; border: 1px solid #1a1a1a; animation: oled-pulse 1.8s ease-in-out infinite; }

@media (max-width: 900px) {
  [data-theme="oled"] .card { border-color: #262626; }
}
@media (max-width: 720px) {
  [data-theme="oled"] .nav { background: #000000; border-top: 1px solid var(--line); box-shadow: none; }
  [data-theme="oled"] .nav button { font-size: 0.62rem; letter-spacing: 0.08em; }
}
@keyframes oled-pulse {
  0%, 100% { background-color: #0a0a0a; }
  50% { background-color: #141414; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="oled"] .skeleton { animation: none; }
  [data-theme="oled"] .nav button,
  [data-theme="oled"] .actions .act,
  [data-theme="oled"] .btn { transition: none; }
}

/* ===================== Anpassungen für GameSwipe ===================== */

/* Leere Zustände ohne zweiten Kasten; Matches-Zeilen wie Kacheln */
[data-theme="oled"] .empty { background: none; border: 0; }
[data-theme="oled"] .row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* Kopf des Blattes schwarz, Titel weiß */
[data-theme="oled"] .sheet-head { background: #000000; font-size: inherit; border-bottom: 1px solid var(--line); }
[data-theme="oled"] .sheet-head h2 { color: #ffffff; text-transform: none; letter-spacing: -0.02em; }

/* Kleine Etiketten mit Luft */
[data-theme="oled"] .review.good,
[data-theme="oled"] .review.mid,
[data-theme="oled"] .review.bad { padding: 1px 7px; border-radius: var(--radius); }
[data-theme="oled"] .tags .tag { padding: 1px 7px; }
[data-theme="oled"] .tag + .tag::before { content: none; }
[data-theme="oled"] .deals,
[data-theme="oled"] .owned-badge,
[data-theme="oled"] .pick-kicker { padding: 3px 8px; align-self: flex-start; }
[data-theme="oled"] .deals b { color: var(--text); }

/* Kontrast: #999 auf Schwarz ist ok (7:1), aber Like/Nö-Rückmeldung braucht Form statt Farbe */
[data-theme="oled"] .decision { background: #000000; border-width: 1px; border-radius: var(--radius); box-shadow: none; }
[data-theme="oled"] .decision.nope { border-style: dashed; }
[data-theme="oled"] .actions .act.hit { animation: none; transform: scale(0.95); }
[data-theme="oled"] .actions .act.like.hit { background: #ffffff; color: #000000; }
[data-theme="oled"] .actions .act.nope.hit { background: #1a1a1a; color: #ffffff; }
[data-theme="oled"] .actions .act.skip.hit { background: var(--accent); color: #000000; }
[data-theme="oled"] .actions .act.undo.hit { background: #1a1a1a; color: #ffffff; }
[data-theme="oled"] .revisit-badge.dislike { border-style: dashed; }

/* Galerie: Rahmen am Bild */
[data-theme="oled"] .shot-btn { border: 0; }
[data-theme="oled"] .shot-btn img { border: 1px solid var(--line); }
[data-theme="oled"] .shot-btn:hover img { border-color: var(--accent); }

/* Trailer: Vorschaubild sichtbar, schlichter Knopf */
[data-theme="oled"] .play-overlay { background: rgba(0, 0, 0, 0.25); border: 0; }
[data-theme="oled"] .play-overlay svg { background: #000000; color: var(--accent); border: 1px solid var(--accent); }

/* Herzchen in Akzentfarbe */
[data-theme="oled"] .particle { color: var(--accent); }

@media (max-width: 720px) {
  [data-theme="oled"] .sheet { border-bottom: 0; }
}
