/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:     #003d7a;
  --blue-lt:  #e3effc;
  --red:      #d32f2f;
  --green:    #2e7d32;
  --gray-1:   #f5f5f5;
  --gray-2:   #e0e0e0;
  --gray-3:   #9e9e9e;
  --gray-4:   #424242;
  --text:     #212121;
  --shadow:   0 1px 4px rgba(0,0,0,.12);
  --radius:   8px;
  --aut:      #0288d1;
  --aut-lt:   #e1f5fe;
}

html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--gray-1);
  color: var(--text);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

/* ── Header ── */
header {
  background: var(--blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-icon { font-size: 1.6rem; }
.header-logo { height: 36px; width: auto; object-fit: contain; }
h1 { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.header-sub { font-size: 0.72rem; opacity: .8; }

.header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.update-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-3);
  flex-shrink: 0;
  cursor: help;
}
.update-dot.ok    { background: #4caf50; }
.update-dot.error { background: #ff5722; }
.update-dot.live  { background: #ff9800; animation: blink 1s infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.update-time { font-size: 0.7rem; opacity: .85; white-space: nowrap; }
.refresh-btn {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .3s;
}
.refresh-btn:hover  { background: rgba(255,255,255,.35); }
.refresh-btn.spin   { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ── */
.main-nav {
  background: #fff;
  display: flex;
  border-bottom: 2px solid var(--gray-2);
  position: sticky;
  top: var(--header-height, 57px);
  z-index: 90;
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding-left:  max(0px, calc((100% - 900px) / 2));
  padding-right: max(0px, calc((100% - 900px) / 2));
}
.nav-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-3);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s, border-color .15s;
}
.nav-btn:hover  { color: var(--blue); }
.nav-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ── Phase filter ── */
.phase-filter {
  display: flex;
  gap: 8px;
  padding: 12px max(16px, calc((100% - 900px) / 2));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: var(--sticky-top, 0px);
  background: var(--gray-1);
  z-index: 80;
  box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.phase-filter::-webkit-scrollbar { display: none; }
.phase-btn {
  background: #fff;
  border: 1.5px solid var(--gray-2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-4);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.phase-btn:hover  { border-color: var(--blue); color: var(--blue); }
.phase-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.heute-btn {
  background: #e53935;
  border: 1.5px solid #e53935;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.heute-btn:hover { background: #c62828; border-color: #c62828; }

/* ── Tabs ── */
main { max-width: 900px; margin: 0 auto; padding: 0 0 110px; }

/* ── Footer ── */
.app-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  font-size: 0.68rem;
  color: var(--gray-3);
  padding: 8px 16px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gray-2);
  background: #fff;
  z-index: 50;
}
.tab { display: none; }
.tab.active { display: block; }

/* ── Date groups ── */
.date-group { margin: 0 0 4px; }
.date-header {
  background: var(--gray-2);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-4);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── Game card ── */
.game-card {
  background: #fff;
  border-bottom: 1px solid var(--gray-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background .12s;
  -webkit-tap-highlight-color: transparent;
}
.game-card:hover { background: var(--blue-lt); }
@media (min-width: 640px) {
  .game-card:hover { box-shadow: inset 3px 0 0 var(--blue); }
}
.game-card.live  { border-left: 3px solid #c62828; }
.game-card.aut   { background: var(--aut-lt); border-left: 4px solid var(--aut); }
.game-card.aut:hover { background: #b3e5fc; }
.game-card.aut.live  { border-left: 4px solid #c62828; background: var(--aut-lt); }

.game-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  min-width: 68px;
  max-width: 68px;
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--gray-3);
  gap: 2px;
  overflow: hidden;
}
.game-time   { font-size: 0.82rem; font-weight: 700; color: var(--gray-4); white-space: nowrap; }
.game-venue  { font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; text-align: center; }
.game-status-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-live     { background: #ffebee; color: #c62828; font-weight: 900; }
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c62828;
  margin-right: 4px;
  vertical-align: middle;
  animation: blink 1s infinite;
}
.badge-finished { background: #e8f5e9; color: #2e7d32; }

.game-teams {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}
.team-flag   { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.team-name   { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.team-score  {
  font-size: 1.1rem;
  font-weight: 800;
  min-width: 22px;
  text-align: right;
}
.team-row.winner .team-name,
.team-row.winner .team-score { color: var(--blue); }
.team-row.aut-team .team-name { font-weight: 700; color: var(--aut); }
.team-row.aut-team.winner .team-name { color: var(--blue); }

.game-info-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .6;
  transition: opacity .12s;
  user-select: none;
}
.game-info-btn svg { width: 24px; height: 24px; display: block; fill: var(--blue); }
.game-card:hover .game-info-btn { opacity: 1; }

.game-ht {
  font-size: 0.68rem;
  color: var(--gray-3);
  margin-top: 2px;
  padding-left: 26px;
}
.game-ht-live {
  font-size: 0.68rem;
  color: #c62828;
  margin-top: 2px;
  padding-left: 26px;
}

.game-phase-label {
  font-size: 0.68rem;
  color: var(--gray-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}

/* ── Group tables ── */
#groups-container {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  #groups-container {
    grid-template-columns: 1fr 1fr;
  }
}

.group-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.group-table-title {
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
thead th {
  background: var(--gray-1);
  padding: 7px 10px;
  text-align: right;
  font-weight: 700;
  color: var(--gray-4);
  font-size: 0.72rem;
  text-transform: uppercase;
}
thead th:first-child { text-align: left; padding-left: 14px; }
tbody tr { border-top: 1px solid var(--gray-2); }
tbody tr:hover { background: var(--blue-lt); }
tbody td { padding: 8px 10px; text-align: right; }
tbody td:first-child { text-align: left; padding-left: 14px; font-weight: 600; }
.rank-cell { color: var(--gray-3); font-weight: 400 !important; min-width: 20px; }
.team-cell { display: flex; align-items: center; gap: 6px; }
.pts-cell { font-weight: 800; color: var(--blue); }
.qualify-row td { background: #f0f7ff; }
.qualify-row td:first-child { border-left: 3px solid var(--blue); padding-left: 11px; }

.qualify-q {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue);
  background: #e3effc;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 4px;
}
.qualify-Q {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  background: #e8f5e9;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 4px;
}
.qualify-q3 {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-4);
  background: var(--gray-2);
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 4px;
}

.tbl-live-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 900;
  background: #c62828;
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: auto;
  vertical-align: middle;
  animation: blink 1s infinite;
  letter-spacing: .04em;
}
.tbl-live-dot {
  font-size: 0.55rem;
  color: #c62828;
  margin-left: 5px;
  animation: blink 1s infinite;
  vertical-align: middle;
}
.tbl-live-note {
  font-size: 0.68rem;
  color: var(--gray-3);
  padding: 6px 14px 8px;
  border-top: 1px solid var(--gray-2);
}
.aut-row td { background: var(--aut-lt) !important; font-weight: 600; }
.aut-row td:first-child { border-left: 4px solid var(--aut) !important; padding-left: 10px; }
.aut-row:hover td { background: #b3e5fc !important; }

/* ── K.O. Bracket ── */
#ko-bracket { padding: 16px; display: flex; flex-direction: column; gap: 20px; }
.ko-round { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ko-round-title {
  background: var(--gray-4);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ko-games { display: flex; flex-direction: column; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 16px 16px 0 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 52px 20px 40px;
  position: relative;
}
.modal::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--gray-2);
  border-radius: 2px;
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
}

/* Desktop: zentrierter Dialog statt Bottom-Sheet */
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 24px;
  }
  .modal {
    border-radius: 16px;
    max-height: 85vh;
    width: 100%;
  }
  .modal::before { display: none; }
}
.modal-close {
  position: absolute;
  top: 20px; right: 16px;
  background: var(--gray-2);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-4);
}

.modal-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-2);
}
.modal-team { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.modal-flag  { font-size: 2.2rem; }
.modal-tname { font-size: 0.82rem; font-weight: 600; text-align: center; }
.modal-score-box { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.modal-score { font-size: 2.4rem; font-weight: 900; color: var(--blue); line-height: 1; }
.modal-od { font-size: 0.7rem; color: var(--gray-3); }
.modal-ht-live { font-size: 0.82rem; color: var(--gray-3); text-align: center; }

.modal-section { margin-top: 16px; }
.modal-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gray-3);
  letter-spacing: .06em;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gray-2);
}

.period-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.period-table th {
  text-align: center; padding: 5px 8px;
  color: var(--gray-3); font-size: 0.72rem; background: var(--gray-1);
}
.period-table th:first-child { text-align: left; }
.period-table td { text-align: center; padding: 6px 8px; border-top: 1px solid var(--gray-2); }
.period-table td:first-child { text-align: left; font-weight: 600; }
.period-table .total-row td { font-weight: 800; background: var(--blue-lt); }

.modal-venue-section { background: var(--gray-1); border-radius: 8px; padding: 4px 0; }
.venue-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.venue-table td { padding: 5px 10px; border-bottom: 1px solid var(--gray-2); vertical-align: top; }
.venue-table tr:last-child td { border-bottom: none; }
.vt-label { color: var(--gray-3); white-space: nowrap; padding-right: 12px; font-weight: 500; width: 38%; }

.events-list { display: flex; flex-direction: column; }
.event-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-2); font-size: 0.85rem;
}
.event-item:last-child { border-bottom: none; }
.event-time { min-width: 48px; font-weight: 700; color: var(--gray-4); font-size: 0.78rem; padding-top: 1px; }
.event-flag { font-size: 1rem; flex-shrink: 0; }
.event-info { flex: 1; }
.event-player { font-weight: 600; }
.event-detail { font-size: 0.75rem; color: var(--gray-3); margin-top: 1px; }
.goal-type {
  display: inline-block; font-size: 0.65rem; font-weight: 800;
  padding: 1px 5px; border-radius: 3px; margin-left: 4px; vertical-align: middle;
}
.goal-TOR { background: #e3f2fd; color: #1565c0; }
.goal-EQ  { background: #e3f2fd; color: #1565c0; }
.goal-PP  { background: #fff8e1; color: #f57f17; }
.goal-ET  { background: #f3e5f5; color: #6a1b9a; }
.goal-ES  { background: #fce4ec; color: #b71c1c; }

.card-yellow { background: #fff9c4; color: #f57f17; }
.card-red    { background: #ffebee; color: #b71c1c; }

.penalty-item .event-player { color: #f57f17; }
.card-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  padding: 1px 5px; border-radius: 3px; margin-left: 4px;
}

.no-events { color: var(--gray-3); font-size: 0.82rem; padding: 8px 0; }

/* ── Statistiken ── */
.stat-nav {
  display: flex; gap: 6px;
  padding: 12px max(16px, calc((100% - 900px) / 2));
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  position: sticky;
  top: var(--sticky-top, 0px);
  background: var(--gray-1);
  z-index: 80;
  box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.stat-nav::-webkit-scrollbar { display: none; }
.stat-btn {
  background: #fff; border: 1.5px solid var(--gray-2); border-radius: 20px;
  padding: 5px 12px; font-size: 0.78rem; font-weight: 600; color: var(--gray-4);
  cursor: pointer; white-space: nowrap; transition: all .15s;
}
.stat-btn:hover  { border-color: var(--blue); color: var(--blue); }
.stat-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.stats-list { padding: 0; }
.stat-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--gray-2); background: #fff;
}
.stat-rank {
  width: 22px; text-align: right; font-size: 0.76rem;
  color: var(--gray-3); font-weight: 600; flex-shrink: 0;
}
.stat-flag  { font-size: 1.1rem; flex-shrink: 0; }
.stat-name  { flex: 1; font-size: 0.88rem; font-weight: 500; }
.stat-count {
  font-size: 1.05rem; font-weight: 800; color: var(--blue);
  flex-shrink: 0; text-align: right; min-width: 28px;
}
.stat-extra {
  font-size: 0.72rem; font-weight: 400; color: var(--gray-3); margin-left: 3px;
}
.stats-empty {
  padding: 36px 16px; text-align: center;
  color: var(--gray-3); font-size: 0.88rem;
}
.susp-row { align-items: flex-start; }
.susp-detail {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0;
}
.susp-reason { font-size: 0.78rem; font-weight: 700; color: var(--red); }
.susp-game   { font-size: 0.72rem; color: var(--gray-3); white-space: nowrap; }

/* ── Kalender-Button ── */
.cal-btn {
  background: none; border: 1px solid var(--gray-2); border-radius: 6px;
  cursor: pointer; font-size: 1rem; padding: 3px 6px; line-height: 1;
  color: var(--gray-4); transition: background .15s;
}
.cal-btn:hover { background: var(--gray-1); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--gray-4); color: #fff;
  padding: 10px 20px; border-radius: 24px; font-size: 0.85rem;
  z-index: 300; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: opacity .3s;
}
.toast.hidden { opacity: 0; pointer-events: none; }

/* ── Responsive ── */
@media (min-width: 600px) {
  .modal { border-radius: 12px; margin: 24px; max-height: 80vh; }
  .modal-overlay { align-items: center; }
}

/* Tabellen: +/- immer versteckt (nur auf kleinem Screen sichtbar) */
.col-diff { display: none; }
@media (max-width: 500px) {
  .col-detail { display: none; }
  .col-diff   { display: table-cell; text-align: right; padding: 8px 10px; }
}

/* Twemoji – Emoji-Bilder korrekt mit Text ausrichten */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
  display: inline;
}

/* ── Team-Statistiken ── */
.teamstats-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 12px 0;
}
.teamstats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.teamstats-table thead th {
  background: var(--gray-1);
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: right;
  white-space: nowrap;
}
.teamstats-table thead th.ts-team { text-align: left; }
.teamstats-table thead th.ts-rank { text-align: center; min-width: 28px; }
.teamstats-table tbody tr { border-top: 1px solid var(--gray-2); }
.teamstats-table tbody tr:hover { background: var(--blue-lt); }
.teamstats-table tbody td {
  padding: 9px 12px;
  text-align: right;
  vertical-align: middle;
}
.ts-rank { text-align: center !important; color: var(--gray-3); font-size: 0.78rem; min-width: 28px; }
.ts-team { text-align: left !important; font-weight: 600; white-space: nowrap; }
.ts-flag { margin-right: 7px; }
.ts-gp   { color: var(--gray-3); font-size: 0.8rem; }
.ts-abs  { font-weight: 800; color: var(--blue); min-width: 40px; }
.ts-per  { color: var(--gray-4); font-size: 0.82rem; min-width: 50px; }

/* ── Turnier-Statistiken ── */
.tournstats-wrap {
  margin: 12px 0;
}
.tournstats-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.9rem;
}
.tournstats-table thead th {
  background: var(--gray-1);
  padding: 9px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: right;
}
.tournstats-table thead th.tts-label { text-align: left; }
.tournstats-table tbody tr { border-top: 1px solid var(--gray-2); }
.tournstats-table tbody tr:hover { background: var(--blue-lt); }
.tournstats-table tbody td { padding: 11px 16px; vertical-align: middle; }
.tts-label { font-weight: 600; }
.tts-val   { text-align: right; font-weight: 800; color: var(--blue); font-size: 1rem; white-space: nowrap; }
.tts-per   { text-align: right; color: var(--gray-4); font-size: 0.85rem; white-space: nowrap; }
.tournstats-note {
  font-size: 0.72rem;
  color: var(--gray-3);
  text-align: center;
  margin-top: 10px;
}

/* ── Nav: horizontales Scrollen wenn viele Tabs ── */
.main-nav { overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-btn { min-width: max-content; flex: none; padding: 0 14px; }

/* ── Stadion-Fotos ── */
.stadium-photos {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  border-radius: 6px;
  overflow: hidden;
}
.stadium-photo {
  flex: 1;
  height: 110px;
  overflow: hidden;
  background: var(--gray-2);
}
.stadium-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s;
}
.stadium-photo img[src=""] { opacity: 0; }

/* ── Foto-Lightbox ── */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lb-in .15s ease;
}
@keyframes lb-in { from { opacity: 0 } to { opacity: 1 } }
.photo-lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  pointer-events: none;
}
.photo-lightbox-close {
  position: fixed;
  top: 14px; right: 18px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  z-index: 501;
}
.photo-lightbox-close:hover { opacity: 1; }

/* Stadium-Fotos anklickbar machen */
.stadium-photo { cursor: zoom-in; }
