/*
 * Peace-Bowl-Theme — hell, pastellig, im Stil des Turnierlogos.
 *
 * Wird NACH allen anderen Stylesheets geladen und überschreibt nur Farben
 * und Hintergrund. Layout und Größen bleiben aus app.css,
 * live.css und scorecard.css. Aktiv mit THEME=peacebowl in der .env.
 */

:root {
  --bg: #fbf9fb;
  --surface: rgba(255, 255, 255, .86);
  --surface-hi: #f6e9f3;
  --text: #221c26;
  --text-dim: #6c6272;
  --accent: #a8418f;          /* dunkles Pink der Säulen im Logo */
  --ok: #3d8a28;
  --danger: #c62828;
  --border: #dccbd8;
  --pb-green: #bfe0a0;        /* Rahmen des Logos */
  --pb-blue: #d6ecf8;         /* Hintergrund des Logos */
  --pb-ink: #2b2530;          /* Konturlinien */
}

body { background: var(--bg); }

/* Aquarell-Papier als fester Hintergrund. Über ein Pseudo-Element statt
   background-attachment: fixed — das ruckelt bzw. zoomt auf iOS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("peacebowl-bg.jpg") center / cover no-repeat;
}

/* ── Kopfzeile: blau wie das Logo, grüner Rahmen ─────────────────────── */

.topbar,
.tv-head {
  background: var(--pb-blue);
  border-bottom: 4px solid var(--pb-green);
  box-shadow: 0 1px 0 var(--pb-ink);
}
.brand img { border-radius: 4px; }
.tv-head img { height: 6vh; width: auto; border-radius: .5vh; }

/* ── Karten und Kacheln ──────────────────────────────────────────────── */

.card,
.game-tile,
.lv-tile,
.sc-header {
  box-shadow: 0 2px 10px rgba(168, 65, 143, .08);
}
.lv-tile.is-live { border-color: rgba(168, 65, 143, .55); }
@keyframes lv-flash {
  0%   { background: rgba(191, 224, 160, .9); }
  100% { background: var(--surface); }
}

input, select, textarea { background: #fff; }

/* ── Text auf Pink: weiß statt schwarz ───────────────────────────────── */

.btn-primary,
.brand-mark,
.game-tile.is-live .tile-field-label,
.game-tile.is-live .tile-field-number,
.st-leagues a.is-active,
.ct-btn:active,
.ev-btn:active,
.pad-btn:active,
.ov-skip:active,
.ov-run-btn.is-active,
.ov-toggle-btn.is-active,
.ov-confirm,
.sc-queue {
  color: #fff;
}

/* ── Meldungen und Overlay ───────────────────────────────────────────── */

.error,
.sc-error { background: #fdecec; }
.success  { background: #eaf6e3; }

.sc-overlay { background: rgba(43, 37, 48, .55); }
.ov-sheet   { background: #fff; }
