/* Gleiche Farben wie Extension und App: Schwarz und Gelb, Hell/Dunkel nach Systemeinstellung */
:root {
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --mark: #ffd60a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0b;
    --fg: #ffffff;
    --muted: #a0a0a0;
    --line: #2a2a2a;
  }
}

body {
  margin: 0;
  padding: 48px 20px 64px;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, system-ui, sans-serif;
}

main { max-width: 720px; margin: 0 auto; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
header img { width: 48px; height: 48px; }
header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }

h1 { font-size: 32px; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, li { margin: 0 0 10px; }
.stand { color: var(--muted); }
a { color: inherit; }

/* Platzhalter: vor Veröffentlichung ausfüllen bzw. prüfen */
mark { background: var(--mark); color: #0b0b0b; padding: 0 3px; border-radius: 3px; }

footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { margin-right: 16px; }

/* Startseite: Bilder, Karten, Abzeichen */
.held { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; margin-bottom: 8px; }
.held h1 { font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
.held .unterzeile { font-size: 18px; color: var(--muted); }
.knopf { display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 10px; background: var(--mark); color: #0b0b0b; font-weight: 700; text-decoration: none; }
.zeile { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.app-bild { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); background: #fff; }
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; padding: 0; list-style: none; }
.karten li { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.karten img { width: 110px; height: 110px; }
.karten strong { display: block; margin-top: 6px; }
.karten small { display: block; color: var(--muted); font-size: 14px; }
.medaille { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: #0b0b0b; }
.medaille.bronze { background: #cd8a4b; }
.medaille.silber { background: #c9ced4; }
.medaille.gold { background: var(--mark); }
.titel { padding-left: 0; list-style: none; }
.titel li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 6px 0; margin: 0; }
.titel li span:last-child { color: var(--muted); }
.teilen-bild { width: 100%; height: auto; border-radius: 14px; }
.limo { margin-top: 40px; color: var(--muted); font-size: 14px; text-align: right; }
.limo a { color: var(--muted); }

@media (max-width: 640px) {
  .held, .zeile { grid-template-columns: 1fr; }
  .held h1 { font-size: 32px; }
  .app-bild, .teilen-bild { max-width: 320px; }
  .karten { grid-template-columns: 1fr; }
  .karten.bananen { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .karten.bananen li { padding: 10px 4px; }
  .karten.bananen img { width: 64px; height: 64px; }
  .karten.bananen strong { font-size: 14px; }
  .karten.bananen small { font-size: 12px; }
}
