:root {
  --gold: #92650a;
  --gold-bg: #fefce8;
  --gold-border: #fef08a;
  --silver: #4b5563;
  --silver-bg: #f8fafc;
  --silver-border: #e2e8f0;
  --bronze: #92400e;
  --bronze-bg: #fff7ed;
  --bronze-border: #fed7aa;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --hint: #94a3b8;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --blue: #1d4ed8;
}

*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── HEADER ────────────────────────────────────────────────── */
.app-header {
  background: #0c1a3a;
  border-bottom: 3px solid #d4a017;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1380px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 24px;
}
.logo-wrap {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.logo-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.header-text h1 {
  font-size: 17px; font-weight: 700;
  color: #fff; margin: 0; letter-spacing: -0.3px; line-height: 1.2;
}
.header-text h1 span { color: #fbbf24; }
.header-sub {
  font-size: 10px; color: #94a3b8;
  letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px;
}
.header-badge {
  margin-left: auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 4px 14px;
  font-size: 11px; color: #94a3b8; white-space: nowrap;
}

/* ── MAIN ──────────────────────────────────────────────────── */
.app-main {
  max-width: 1380px; margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ── FILTER PANEL ──────────────────────────────────────────── */
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap;
  gap: 18px; align-items: flex-end;
}
.filter-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px; display: block;
}
.filter-group { display: flex; flex-direction: column; }

/* Gender toggle */
.gender-toggle { display: flex; gap: 6px; }
.gender-btn {
  flex: 1; padding: 9px 20px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--bg); color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .18s;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.gender-btn:hover { border-color: #94a3b8; color: var(--text); }
.active-w {
  background: #fff1f2; border-color: #e11d48;
  color: #be123c; font-weight: 600;
  box-shadow: 0 0 0 3px rgba(225,29,72,.1);
}
.active-m {
  background: #eff6ff; border-color: var(--blue);
  color: var(--blue); font-weight: 600;
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}

/* Alter select */
.filter-group select {
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 9px 36px 9px 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer; outline: none; min-width: 200px;
  transition: border-color .18s, box-shadow .18s;
}
.filter-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}

/* Legend pills */
.legend-pills {
  margin-left: auto;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.leg-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; border: 1px solid;
}
.lp-gold   { background:var(--gold-bg);   color:var(--gold);   border-color:var(--gold-border); }
.lp-silver { background:var(--silver-bg); color:var(--silver); border-color:var(--silver-border); }
.lp-bronze { background:var(--bronze-bg); color:var(--bronze); border-color:var(--bronze-border); }

/* ── STATUS BAR ────────────────────────────────────────────── */
.status-bar {
  border-radius: 9px; padding: 10px 16px;
  font-size: 13px; margin-bottom: 20px;
  display: flex; align-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.status-bar-m {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
}
.status-bar-w {
  background: #fff1f2; border: 1px solid #fecdd3; color: #be123c;
}

/* ── HEADINGS ──────────────────────────────────────────────── */
.section-heading {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.3px; margin-bottom: 3px;
}
.section-sub {
  font-size: 13px; color: var(--muted); margin-bottom: 20px;
}

/* ── DSA CARD ──────────────────────────────────────────────── */
.dsa-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
  height: 100%;
}
.dsa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-grup-header { padding: 13px 18px; }
.grup-icon-wrap {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.grup-title { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.grup-subtitle { font-size: 11px; color: var(--hint); }

/* ── TABLE ─────────────────────────────────────────────────── */
.dsa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dsa-table thead th {
  padding: 8px 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  background: #fafbfc; white-space: nowrap; text-align: center;
}
.th-disziplin { text-align: left !important; }
.th-medal  { width: 80px; }
.th-unit   { width: 52px; }
.th-disziplin { min-width: 160px; }

.dsa-table tbody tr { transition: background .12s; }
.dsa-table tbody tr:hover { background: #f8fafc; }
.dsa-table tbody tr.row-alt { background: #fafbfc; }
.dsa-table tbody tr.row-alt:hover { background: #f1f5f9; }
.dsa-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dsa-table tbody tr:last-child td { border-bottom: none; }

.td-disziplin { text-align: left; }
.dz-name { font-weight: 500; display: block; color: var(--text); white-space: nowrap; }
.dz-hint { font-size: 11px; color: var(--hint); display: block; margin-top: 2px; }

.td-val {
  text-align: center;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 13px; font-weight: 500;
}
.gold-val   { color: var(--gold);   background: var(--gold-bg); }
.silver-val { color: var(--silver); background: var(--silver-bg); }
.bronze-val { color: var(--bronze); background: var(--bronze-bg); }

.td-unit { text-align: center; font-size: 11px; color: var(--hint); }

/* Medal pills in header */
.medal-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
  white-space: nowrap;
}
.gold-pill   { background: var(--gold-bg);   color: var(--gold);   border: 1px solid var(--gold-border); }
.silver-pill { background: var(--silver-bg); color: var(--silver); border: 1px solid var(--silver-border); }
.bronze-pill { background: var(--bronze-bg); color: var(--bronze); border: 1px solid var(--bronze-border); }

/* Column tint */
.gold-col   { background: var(--gold-bg)   !important; }
.silver-col { background: var(--silver-bg) !important; }
.bronze-col { background: var(--bronze-bg) !important; }

/* ── INFO CARDS ────────────────────────────────────────────── */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); height: 100%;
}
.info-card h4 {
  font-size: 14px; font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.info-card p, .info-card li {
  font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 4px;
}
.info-card ul { padding-left: 16px; margin: 0; }
.pkt-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pkt-table th, .pkt-table td {
  padding: 5px 10px; border-bottom: 1px solid var(--border); text-align: left;
}
.pkt-table th { color: var(--muted); font-weight: 600; }

/* ── DIVIDER ───────────────────────────────────────────────── */
.section-divider { height: 1px; background: var(--border); margin: 32px 0 24px; }

/* ── ANIMATION ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp .25s ease both; }

/* ── FOOTER ────────────────────────────────────────────────── */
.app-footer {
  background: #0c1a3a; color: #64748b;
  text-align: center; padding: 18px 20px;
  font-size: 12px; line-height: 1.7;
}
.app-footer strong { color: #94a3b8; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { padding: 10px 14px; gap: 10px; }
  .header-text h1 { font-size: 14px; }
  .header-badge { display: none; }
  .app-main { padding: 14px 12px 48px; }
  .filter-panel { padding: 14px; gap: 12px; }
  .gender-toggle { width: 100%; }
  .filter-group select { min-width: unset; width: 100%; }
  .legend-pills { margin-left: 0; }
  .dsa-table { font-size: 12px; }
  .dsa-table thead th, .dsa-table tbody td { padding: 8px 9px; }
  .th-medal { width: 72px; }
}
@media (max-width: 400px) {
  .logo-img { height: 40px; width: 40px; }
  .logo-divider { display: none; }
}

/* ── BEACHVOLLEYBALL BANNER ────────────────────────────────── */
.bv-banner {
  background: #fef08a;
  border-bottom: 2px solid #eab308;
  padding: 7px 0;
}
.bv-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bv-ball {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.bv-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.bv-title {
  font-size: 13px;
  font-weight: 600;
  color: #713f12;
  white-space: nowrap;
}
.bv-sep {
  color: #a16207;
  font-size: 13px;
}
.bv-desc {
  font-size: 13px;
  color: #92400e;
}
.bv-desc strong {
  font-weight: 700;
  color: #713f12;
}
.bv-badge {
  background: #eab308;
  color: #422006;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .bv-inner { padding: 0 14px; }
  .bv-badge  { display: none; }
}

/* ── HEADER NAV TABS ───────────────────────────────────────── */
/* ── UNIFIED NAV – funktioniert auf ALLEN Geräten ─────────── */
.unified-nav {
  background: #0c1a3a;
  border-bottom: 3px solid #1d4ed8;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  width: 100%;
  /* Sticky unterhalb des Headers */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
  /* Hardware-Beschleunigung für iOS */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.unified-nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.unified-tab {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #94a3b8;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.14);
  -webkit-transition: background .18s, color .18s;
  transition: background .18s, color .18s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* Flex: Buttons gleichmässig verteilen auf Mobile */
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
}

.unified-tab-icon {
  font-size: 16px;
  line-height: 1;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.unified-tab-label {
  line-height: 1.2;
}

/* Aktiver Tab */
.unified-tab-active {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(29,78,216,.35);
}

/* Hover (Desktop) */
.unified-tab:not(.unified-tab-active):hover {
  background: rgba(255,255,255,.14);
  color: #e2e8f0;
}

/* Mobile: volle Breite, Tabs füllen die ganze Zeile */
@media screen and (max-width: 767px) {
  .unified-nav-inner {
    padding: 6px 10px;
    gap: 6px;
  }
  .unified-tab {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .unified-tab-icon {
    font-size: 18px;
  }
}

/* ── ERGEBNIS PAGE CARDS ───────────────────────────────────── */
.erg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.erg-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.erg-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
}
.erg-step-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.erg-header-icon { font-size: 17px; }
.erg-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.erg-header-hint {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.erg-card-body { padding: 20px; }
.erg-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #fafbfc;
}

/* Status inline */
.erg-status-inline {
  display: flex;
  align-items: center;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── GRUPPE SECTIONS ───────────────────────────────────────── */
.erg-gruppe { border-bottom: 1px solid var(--border); }
.erg-gruppe:last-child { border-bottom: none; }
.erg-gruppe-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-left-style: solid;
  border-left-width: 4px;
}
.erg-gruppe-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.erg-gruppe-sub {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

/* ── DISZIPLIN ROWS ────────────────────────────────────────── */
.erg-dz-list { padding: 6px 0; }
.erg-dz-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .12s;
  border-bottom: 0.5px solid var(--border);
}
.erg-dz-row:last-child { border-bottom: none; }
.erg-dz-row:hover { background: #f8fafc; }
.erg-dz-selected { background: #f8fafc; }

.erg-radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .15s;
}
.erg-radio-active { border-width: 5px; }

.erg-dz-info { flex: 1; min-width: 0; }
.erg-dz-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: block;
}
.erg-dz-hint {
  font-size: 11px;
  color: var(--hint);
  display: block;
  margin-top: 1px;
}
.erg-dz-thresh {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

.erg-dz-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.erg-dz-input {
  width: 110px;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.erg-dz-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.erg-dz-input-active:focus {
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.erg-dz-unit {
  font-size: 12px;
  color: var(--muted);
  width: 32px;
}

/* ── MEDAL BADGES ──────────────────────────────────────────── */
.erg-medal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 110px;
  text-align: center;
}
.erg-medal-gold   { background: var(--gold-bg);   color: var(--gold);   border: 1px solid var(--gold-border); }
.erg-medal-silver { background: var(--silver-bg); color: var(--silver); border: 1px solid var(--silver-border); }
.erg-medal-bronze { background: var(--bronze-bg); color: var(--bronze); border: 1px solid var(--bronze-border); }
.erg-medal-miss   { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.erg-medal-empty  { background: var(--bg); color: var(--hint); border: 1px solid var(--border); }

/* ── EVAL BUTTON ───────────────────────────────────────────── */
.erg-eval-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: 9px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.erg-eval-btn:hover  { background: #1e40af; transform: translateY(-1px); }
.erg-eval-btn:active { transform: translateY(0); }

/* ── RESULT GROUP CARDS ────────────────────────────────────── */
.erg-group-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.erg-group-result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.erg-gr-icon { font-size: 22px; flex-shrink: 0; }
.erg-gr-info { flex: 1; min-width: 0; }
.erg-gr-gruppe {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.erg-gr-disziplin { font-size: 13px; font-weight: 500; color: var(--text); }
.erg-gr-wert { font-size: 12px; color: var(--muted); font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace; margin-top: 2px; }
.erg-gr-medal { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.erg-gr-medal-icon { font-size: 24px; line-height: 1; }
.erg-gr-medal-label { font-size: 11px; font-weight: 600; margin-top: 2px; }
.erg-gr-punkte { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ── GESAMTERGEBNIS ────────────────────────────────────────── */
.erg-gesamt-box {
  border: 2px solid;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.erg-gesamt-gold   { background: var(--gold-bg);   border-color: var(--gold); }
.erg-gesamt-silber { background: var(--silver-bg); border-color: var(--silver); }
.erg-gesamt-bronze { background: var(--bronze-bg); border-color: var(--bronze); }
.erg-gesamt-miss   { background: #fff1f2; border-color: #fca5a5; }

.erg-gesamt-icon { font-size: 42px; flex-shrink: 0; line-height: 1; }
.erg-gesamt-info { flex: 1; }
.erg-gesamt-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.erg-gesamt-msg   { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.erg-progress-wrap {
  height: 8px;
  background: rgba(0,0,0,.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.erg-progress-bar { height: 100%; border-radius: 4px; transition: width .5s ease; }
.erg-progress-label { font-size: 11px; color: var(--muted); font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace; }
.erg-gesamt-punkte { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.erg-gesamt-pkt-val   { font-size: 36px; font-weight: 700; color: var(--text); line-height: 1; }
.erg-gesamt-pkt-label { font-size: 12px; color: var(--muted); }

/* ── SWIM HINT ─────────────────────────────────────────────── */
.erg-swim-hint {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 16px;
}

/* ── ACTION BUTTONS ────────────────────────────────────────── */
.erg-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.erg-action-btn {
  flex: 1;
  min-width: 120px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .18s;
}
.erg-action-btn:hover { background: var(--surface); border-color: #94a3b8; color: var(--text); }

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .app-header, .bv-banner, .erg-card-footer, .erg-actions, .erg-swim-hint { display: none !important; }
  .erg-card { box-shadow: none; border: 1px solid #ccc; }
  .erg-dz-row { cursor: default; }
}

/* ── RESPONSIVE ERGEBNIS ───────────────────────────────────── */
@media (max-width: 768px) {
  .erg-dz-row { flex-wrap: wrap; gap: 10px; }
  .erg-dz-input { width: 90px; }
  .erg-medal-badge { min-width: 90px; font-size: 11px; }
  .erg-gesamt-icon { font-size: 32px; }
  .erg-gesamt-pkt-val { font-size: 28px; }
}

/* ── LIVE-AUSWERTUNG BLOCK ─────────────────────────────────── */
.live-auswertung {
  border-top: 3px solid #0c1a3a;
  background: #0c1a3a;
  padding: 18px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.live-auswertung-title {
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Group pills row */
.live-group-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.live-pill {
  border: 1px solid;
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.live-pill-inner {
  flex: 1;
  min-width: 0;
}
.live-pill-gruppe {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin-bottom: 2px;
}
.live-pill-medal {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.live-pill-pkt {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

/* Gesamt box */
.live-gesamt-box {
  border: 2px solid;
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  transition: all .3s;
}
.live-gesamt-empty  { background: var(--surface);     border-color: var(--border); }
.live-gesamt-gold   { background: var(--gold-bg);     border-color: var(--gold); }
.live-gesamt-silber { background: var(--silver-bg);   border-color: var(--silver); }
.live-gesamt-bronze { background: var(--bronze-bg);   border-color: var(--bronze); }
.live-gesamt-miss   { background: #fff1f2;            border-color: #fecdd3; }

.live-gesamt-icon { font-size: 40px; flex-shrink: 0; line-height: 1; }
.live-gesamt-info { flex: 1; }
.live-gesamt-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.live-gesamt-msg {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.live-prog-wrap {
  height: 8px;
  background: rgba(0,0,0,.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.live-prog-bar {
  height: 100%;
  border-radius: 4px;
  transition: width .5s ease;
}
.live-prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
.live-next-hint {
  font-weight: 600;
}
.live-next-hint-gold   { color: var(--gold);   }
.live-next-hint-silber { color: var(--silver); }
.live-next-hint-bronze { color: var(--bronze); }
.live-next-hint-miss   { color: #f87171; }
.live-next-hint-top    {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.live-gesamt-pkt {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.live-pkt-val {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.live-pkt-lbl {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 640px) {
  .live-group-pills { grid-template-columns: repeat(2, 1fr); }
  .live-gesamt-icon { font-size: 30px; }
  .live-pkt-val     { font-size: 28px; }
}

/* ── BOTTOM ACTIONS CARD ───────────────────────────────────── */
.erg-bottom-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .18s;
}
.erg-bottom-card .erg-swim-hint {
  margin: 16px 20px 0;
}
.erg-bottom-card .erg-actions {
  padding: 14px 20px 16px;
}

/* ── RADFAHREN INFO-CARD ────────────────────────────────────── */
.info-card-rad {
  background: #dbeafe !important;
  border: 1.5px solid #93c5fd !important;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rad-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
}
.rad-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rad-icon-wrap i {
  font-size: 22px;
  color: #fff;
}
.rad-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1e3a8a !important;
  margin: 0 !important;
  display: block;
}
.rad-subtitle {
  font-size: 11px;
  color: #3b82f6;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}
.rad-text {
  font-size: 12px;
  color: #1e40af;
  line-height: 1.65;
  padding: 0 16px 10px;
  margin: 0;
}
.rad-text strong {
  color: #1e3a8a;
  font-weight: 700;
}
.rad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 16px 12px;
}
.rad-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(29,78,216,.1);
  color: #1e3a8a;
  border: 1px solid #93c5fd;
  white-space: nowrap;
}
.rad-pill i { font-size: 11px; }

/* SVG map area */
.rad-map-area {
  background: #1e3a8a;
  border-top: 1px solid #93c5fd;
  border-bottom: 1px solid #93c5fd;
  padding: 8px;
  line-height: 0;
}
.rad-route-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Download button */
.rad-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: #1d4ed8;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .18s;
  margin: 0;
}
.rad-dl-btn:hover {
  background: #1e40af;
  color: #fff;
}
.rad-dl-btn i { font-size: 14px; }

/* ── ERGEBNIS START-HINWEIS ────────────────────────────────── */
.erg-hidden {
  display: none !important;
}

.erg-start-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eff6ff;
  border: 1.5px dashed #93c5fd;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 0;
  transition: all .3s;
}
.erg-start-hint-icon {
  font-size: 32px;
  color: #3b82f6;
  flex-shrink: 0;
  line-height: 1;
}
.erg-start-hint strong {
  font-size: 15px;
  color: #1e3a8a;
  display: block;
  margin-bottom: 4px;
}
.erg-start-hint span {
  font-size: 13px;
  color: #3b82f6;
}

/* Wenn bereit: Hinweis grün & kleiner */
.erg-start-hint.erg-hint-done {
  background: #f0fdf4;
  border-color: #86efac;
  border-style: solid;
  padding: 10px 16px;
}
.erg-start-hint.erg-hint-done .erg-start-hint-icon {
  font-size: 20px;
  color: #16a34a;
}
.erg-start-hint.erg-hint-done strong {
  font-size: 13px;
  color: #14532d;
}
.erg-start-hint.erg-hint-done span {
  font-size: 12px;
  color: #16a34a;
}

/* ── SAFARI / iOS FIXES ────────────────────────────────────── */

/* iOS Safari: smooth scrolling & tap */
* {
  -webkit-tap-highlight-color: transparent;
}

/* iOS Safari: button/input resets */
button, input, select, textarea {
  -webkit-appearance: none;
  border-radius: 0;
}
button { cursor: pointer; }

/* iOS Safari: hardware acceleration for sticky elements */
.app-header,
.mobile-top-nav,
.bv-banner {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* iOS Safari: flex gap fallback for iOS < 14.5 */
@supports not (gap: 1px) {
  .filter-panel > * + * { margin-left: 20px; }
  .gender-toggle > * + * { margin-left: 6px; }
  .erg-actions > * + * { margin-left: 10px; }
  .live-group-pills > * + * { margin-left: 10px; }
  .mobile-top-nav > * + * { margin-left: 8px; }
}

/* iOS Safari portrait: force correct layout */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .mobile-top-nav {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mobile-top-nav a {
    -webkit-box-flex: 1 !important;
    -webkit-flex: 1 !important;
    flex: 1 !important;
    min-width: 0;
  }
  /* Prevent overscroll hiding nav */
  body {
    overflow-x: hidden;
  }
}

/* ════════════════════════════════════════════════════════════
   BOOTSTRAP REPLACEMENT – Keine externen Abhängigkeiten
   Alle nötigen Grid- und Utility-Klassen inline
   ════════════════════════════════════════════════════════════ */

/* Grid – CSS Grid für gleichmässige Spalten */
.dsa-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
}
.gap-lg { gap: 24px; }
.gap-md { gap: 16px; }

/* Volle Breite immer */
.dsa-col-full { min-width: 0; }

/* Halbe Spalten auf mittleren Screens */
.dsa-col-half { min-width: 0; }

/* Viertel-Spalten: 2 Spalten auf mittel, 4 auf groß */
.dsa-col-quarter { min-width: 0; }

/* Tablet: 2 Spalten */
@media screen and (min-width: 768px) {
  .dsa-grid.gap-lg { grid-template-columns: 1fr 1fr; }
  .dsa-grid.gap-md { grid-template-columns: 1fr 1fr; }
}

/* Desktop: 4 Spalten für quarter, 2 für half */
@media screen and (min-width: 1200px) {
  .dsa-grid.gap-md { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* Spacing */
.mb4 { margin-bottom: 24px; }
.mr1 { margin-right: 4px; }
.mr2 { margin-right: 8px; }

/* Flex helpers */
.flex-row-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

/* ════════════════════════════════════════════════════════════
   BOOTSTRAP ICONS – SVG inline via CSS mask (keine Webfont)
   ════════════════════════════════════════════════════════════ */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: transparent;
  /* Fallback: show nothing if icon not defined */
}

/* Define icons as CSS mask – works in all modern browsers incl. Safari */
.bi::before { content: ''; }

/* Table icon */
.bi-table {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 2h-4v3h4zm0 4h-4v3h4zm0 4h-4v3h3a1 1 0 0 0 1-1zm-5 3v-3H6v3zm-5 0v-3H1v2a1 1 0 0 0 1 1zm-4-4h4V8H1zm0-4h4V4H1zm5-3v3h4V4zm4 4H6v3h4z'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 2h-4v3h4zm0 4h-4v3h4zm0 4h-4v3h3a1 1 0 0 0 1-1zm-5 3v-3H6v3zm-5 0v-3H1v2a1 1 0 0 0 1 1zm-4-4h4V8H1zm0-4h4V4H1zm5-3v3h4V4zm4 4H6v3h4z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  background-color: currentColor;
  background-image: none !important;
}
.bi-clipboard-check {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 0A1.5 1.5 0 0 0 5 1.5h-2A1.5 1.5 0 0 0 1.5 3v12A1.5 1.5 0 0 0 3 16.5h10a1.5 1.5 0 0 0 1.5-1.5V3A1.5 1.5 0 0 0 13 1.5h-2A1.5 1.5 0 0 0 9.5 0zm0 1h3A.5.5 0 0 1 10 1.5V2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-.5A.5.5 0 0 1 6.5 1M10.854 7.854l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708.708'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 0A1.5 1.5 0 0 0 5 1.5h-2A1.5 1.5 0 0 0 1.5 3v12A1.5 1.5 0 0 0 3 16.5h10a1.5 1.5 0 0 0 1.5-1.5V3A1.5 1.5 0 0 0 13 1.5h-2A1.5 1.5 0 0 0 9.5 0zm0 1h3A.5.5 0 0 1 10 1.5V2a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-.5A.5.5 0 0 1 6.5 1M10.854 7.854l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708.708'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  background-color: currentColor;
  background-image: none !important;
}

/* ── ICON EMOJI SPANS ──────────────────────────────────────── */
.icon-emoji {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  font-style: normal;
}
/* Ensure emoji don't get weird sizing */
span.icon-emoji {
  font-size: 1em;
}


/* ── GRUPPE EMOJI ICON ─────────────────────────────────────── */
.grup-emoji {
  font-size: 20px;
  line-height: 1;
  display: block;
  text-align: center;
}

/* ── IMPRESSUM PAGE ────────────────────────────────────────── */
.imp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .imp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.imp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.imp-card-wide {
  grid-column: 1 / -1;
}

.imp-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.imp-icon {
  font-size: 18px;
  line-height: 1;
}

.imp-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.imp-content p:last-child { margin-bottom: 0; }
.imp-content strong { color: var(--text); font-weight: 600; }

/* ── GRUP HEADER ROW (inline layout) ──────────────────────── */
.grup-header-row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.grup-select-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.grup-title {
  margin: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.grup-subtitle {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── BEACHVOLLEYBALL INFO-CARD ─────────────────────────────── */
.info-card-bv {
  background: #fffbeb;
  border: 1.5px solid #d97706;
  border-radius: var(--radius);
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  height: 100%;
}
.bv-card-header {
  background: #92400e;
  padding: 11px 14px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.bv-card-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #fef3c7;
  flex: 1;
}
.bv-welcome-badge {
  background: #fbbf24;
  color: #78350f;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
  flex-shrink: 0;
}
.bv-card-body {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: stretch;
  align-items: stretch;
  flex: 1;
}
.bv-img-wrap {
  background: #78350f;
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.bv-img-wrap img {
  width: 110px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: sepia(1) saturate(1.5) hue-rotate(5deg) brightness(0.85);
}
.bv-text-area {
  padding: 12px 14px;
  flex: 1;
  background: #fffbeb;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.bv-text-area p {
  font-size: 12px;
  color: #78350f;
  line-height: 1.7;
  margin: 0 0 10px;
}
.bv-text-area p strong { color: #92400e; font-weight: 700; }
.bv-pills {
  display: -webkit-flex;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.bv-pill {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* DSA Abzeichen im Punktesystem-Container */
.pkt-abzeichen-wrap {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 10px;
}
.pkt-abzeichen-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.pkt-abzeichen-labels {
  display: flex;
  justify-content: space-around;
  margin-top: 6px;
}
.pkt-abzeichen-labels span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── BV CARD OPTION B ──────────────────────────────────────── */
/* Bild gross oben auf hellem Sand-Hintergrund, Text unten     */

/* Override old bv-card-body for Option B */
.bv-img-top {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
  border-top: 1px solid #fcd34d;
  border-bottom: 1px solid #fcd34d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 1;
  min-height: 130px;
}
.bv-img-top-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  padding: 8px 12px;
}
.bv-text-bottom {
  padding: 12px 14px;
  background: #fffbeb;
}
.bv-text-bottom p {
  font-size: 12px;
  color: #78350f;
  line-height: 1.7;
  margin: 0 0 10px;
}
.bv-text-bottom p strong { color: #92400e; font-weight: 700; }

/* DSA Abzeichen transparent – no black background needed */
.pkt-abzeichen-wrap {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 10px;
  background: transparent;
}
.pkt-abzeichen-img {
  width: 100%;
  border-radius: 8px;
  display: block;
  background: transparent;
}

/* ── ERGEBNIS 2-SPALTEN GRUPPEN-GRID ───────────────────────── */
.erg-gruppen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Jede Gruppe bekommt einen Rahmen wie Karte 1 */
.erg-gruppen-grid .erg-gruppe {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
/* Rechte Spalte: kein rechter Rand */
.erg-gruppen-grid .erg-gruppe:nth-child(2n) {
  border-right: none;
}
/* Untere Reihe: kein unterer Rand */
.erg-gruppen-grid .erg-gruppe:nth-last-child(-n+2) {
  border-bottom: none;
}

/* Auf Mobile: 1 Spalte */
@media screen and (max-width: 640px) {
  .erg-gruppen-grid {
    grid-template-columns: 1fr;
  }
  .erg-gruppen-grid .erg-gruppe {
    border-right: none;
  }
  .erg-gruppen-grid .erg-gruppe:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .erg-gruppen-grid .erg-gruppe:last-child {
    border-bottom: none;
  }
}

/* ── ANGABEN-BADGE IM CARD-HEADER ──────────────────────────── */
.erg-angaben-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #86efac;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── ERGEBNIS PAGE – gleichmässige Abstände wie Seite 1 ────── */
.erg-main-stack {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  gap: 24px;  /* identisch zu gap-lg auf Seite 1 */
}
/* Keine extra Margins – nur gap bestimmt Abstände */
.erg-main-stack > * {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
/* Hint-Box: kein Border-Radius Override */
.erg-main-stack .erg-start-hint {
  border-radius: var(--radius);
}

/* ── ERG GRUPPE KARTEN: wie dsa-card ─────────────────────────*/
.erg-gruppe {
  transition: background .12s;
}
/* Erg-card header: exakt wie dsa-card card-grup-header */
.erg-card-header {
  background: #fafbfc;
}

/* ── ERG-PAGE-STACK – einheitliche Abstände wie Seite 1 ─────── */
.erg-page-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Kein inline margin auf irgendwelchen Kinder-Elementen */
.erg-page-stack > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Hint: keinen extra margin */
.erg-page-stack .erg-start-hint {
  margin-bottom: 0;
}
/* filter-panel im Stack: gleicher Look wie auf Seite 1 */
.erg-page-stack .filter-panel {
  margin-bottom: 0;
}

/* ── ERGEBNIS: Disziplin-Zeilen in dsa-card ─────────────────── */
/* erg-dz-list sitzt jetzt in einer dsa-card wie Seite 1        */
.dsa-card .erg-dz-list {
  display: flex;
  flex-direction: column;
}
.dsa-card .erg-dz-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  border-bottom: 0.5px solid var(--border);
  transition: background .12s;
}
.dsa-card .erg-dz-row:last-child {
  border-bottom: none;
}
.dsa-card .erg-dz-row:hover { background: #f8fafc; }
.dsa-card .erg-dz-selected   { background: #f8fafc; }

.dsa-card .erg-dz-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: block;
}
.dsa-card .erg-dz-thresh {
  font-size: 10px;
  color: var(--muted);
  font-family: ui-monospace, 'Courier New', monospace;
  display: block;
  margin-top: 2px;
}
.dsa-card .erg-dz-hint {
  font-size: 11px;
  color: var(--hint);
  display: block;
  margin-top: 1px;
}
.dsa-card .erg-dz-input {
  width: 90px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  text-align: right;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  font-family: ui-monospace, 'Courier New', monospace;
}
.dsa-card .erg-dz-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.dsa-card .erg-dz-input-active:focus {
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.dsa-card .erg-dz-unit {
  font-size: 12px;
  color: var(--muted);
  width: 28px;
  flex-shrink: 0;
}
.dsa-card .erg-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .15s;
}
.dsa-card .erg-radio-active { border-width: 4px; }
.dsa-card .erg-dz-info { flex: 1; min-width: 0; }
.dsa-card .erg-dz-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.dsa-card .erg-medal-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
}
.dsa-card .erg-medal-gold   { background:var(--gold-bg);   color:var(--gold);   border:1px solid var(--gold-border); }
.dsa-card .erg-medal-silver { background:var(--silver-bg); color:var(--silver); border:1px solid var(--silver-border); }
.dsa-card .erg-medal-bronze { background:var(--bronze-bg); color:var(--bronze); border:1px solid var(--bronze-border); }
.dsa-card .erg-medal-miss   { background:#fff1f2; color:#be123c; border:1px solid #fecdd3; }
.dsa-card .erg-medal-empty  { background:var(--bg); color:var(--hint); border:0.5px solid var(--border); }

/* ══════════════════════════════════════════════════════════════
   MEIN WERT SPALTE  (high specificity – server-safe)
   ══════════════════════════════════════════════════════════════ */

/* Header – immer blau */
.dsa-table thead th.th-meinwert,
th.th-meinwert {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  border-left: 2px solid #1d4ed8 !important;
  min-width: 110px;
  padding: 8px 10px;
  white-space: nowrap;
}

/* Zelle – basis */
.dsa-table tbody td.td-meinwert,
td.td-meinwert {
  border-left: 2px solid #1d4ed8 !important;
  padding: 6px 10px !important;
  min-width: 110px;
  text-align: center !important;
  vertical-align: middle !important;
  transition: background .2s, border-color .2s;
}

/* Leer / Eingabe-Modus */
.dsa-table tbody td.td-mv-empty,
td.td-mv-empty {
  background: #eff6ff !important;
  border-left-color: #1d4ed8 !important;
}
.meinwert-input {
  width: 90px;
  padding: 7px 10px;
  border: 2px solid #1d4ed8 !important;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  background: #ffffff !important;
  color: #1e40af !important;
  font-family: ui-monospace, 'Courier New', monospace;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow .15s;
}
.meinwert-input::placeholder { color: #93c5fd; font-weight: 400; font-size: 12px; }
.meinwert-input:focus { box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.meinwert-input:disabled {
  border: 1px dashed #bfdbfe;
  background: transparent;
  color: #93c5fd;
  opacity: .55;
  font-size: 12px;
  font-weight: 400;
  cursor: not-allowed;
}

/* Ergebnis-Zellen nach Eingabe */
.dsa-table tbody td.td-mv-gold,   td.td-mv-gold   { background: #fefce8 !important; border-left-color: #d97706 !important; cursor: pointer; }
.dsa-table tbody td.td-mv-silber, td.td-mv-silber { background: #f1f5f9 !important; border-left-color: #6b7280 !important; cursor: pointer; }
.dsa-table tbody td.td-mv-bronze, td.td-mv-bronze { background: #fff7ed !important; border-left-color: #c2410c !important; cursor: pointer; }
.dsa-table tbody td.td-mv-miss,   td.td-mv-miss   { background: #fff1f2 !important; border-left-color: #e11d48 !important; cursor: pointer; }

/* Wert gross + fett */
.mv-wert {
  display: block;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1.2;
}
.mv-wert-gold   { color: #92650a; }
.mv-wert-silber { color: #374151; }
.mv-wert-bronze { color: #9a3412; }
.mv-wert-miss   { color: #be123c; }

/* Stufen-Label klein darunter */
.mv-stufe {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}
.mv-stufe-gold   { color: #b45309; }
.mv-stufe-silber { color: #6b7280; }
.mv-stufe-bronze { color: #c2410c; }
.mv-stufe-miss   { color: #e11d48; }

/* Klick-Hinweis beim Hover auf ausgefüllte Zelle */
.td-mv-gold:hover,
.td-mv-silber:hover,
.td-mv-bronze:hover,
.td-mv-miss:hover {
  filter: brightness(.96);
}

/* Filter-Badge im Filter-Panel */
.filter-angaben-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: auto;
  align-self: flex-end;
  margin-bottom: 2px;
}
.filter-angaben-badge.badge-w {
  background: #fff1f2; color: #be123c; border: 1.5px solid #fecdd3;
}
.filter-angaben-badge.badge-m {
  background: #eff6ff; color: #1e40af; border: 1.5px solid #bfdbfe;
}

/* Mobile: Mein-Wert-Spalte ausblenden */
@media screen and (max-width: 640px) {
  .th-meinwert, .td-meinwert { display: none; }
}

/* ── MEIN-WERT ZELLE: BEARBEITBAR ──────────────────────────── */
/* Kleiner Edit-Hinweis unter dem Wert */
.mv-edit-hint {
  display: block;
  font-size: 9px;
  color: var(--hint);
  letter-spacing: .4px;
  margin-top: 3px;
  opacity: 0;
  transition: opacity .2s;
}
.td-mv-gold:hover .mv-edit-hint,
.td-mv-silber:hover .mv-edit-hint,
.td-mv-bronze:hover .mv-edit-hint,
.td-mv-miss:hover .mv-edit-hint {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE – alle Geräte (iPhone, iPad, Desktop)
   ══════════════════════════════════════════════════════════════ */

/* Tabelle: horizontaler Scroll auf kleinen Screens */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* Verhindert Tabellen-Overflow am Body */
body { overflow-x: hidden; }

/* ── DESKTOP ≥ 1024px ─────────────────────────────────────── */
@media screen and (min-width: 1024px) {
  .dsa-grid.gap-lg { grid-template-columns: 1fr 1fr; }
  #tables-container .dsa-col-half { width: 100% !important; }
}

/* ── TABLET iPad (768px – 1023px) ─────────────────────────── */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .app-main { padding: 16px 16px 60px; }
  .header-inner { padding: 8px 16px; }
  .unified-nav-inner { padding: 6px 16px; }

  /* Tabellen: volle Breite, scrollbar */
  #tables-container .dsa-col-half { width: 100% !important; }
  .dsa-grid.gap-lg { gap: 16px; }

  /* Tabellenspalten etwas kompakter */
  .dsa-table { font-size: 12px; }
  .dsa-table thead th,
  .dsa-table tbody td { padding: 7px 8px; }
  .th-medal { width: 70px; }
  .th-unit  { width: 44px; }

  /* Mein-Wert: kleinere Eingabe */
  .meinwert-input { width: 76px; font-size: 12px; padding: 5px 6px; }
  .th-meinwert, td.td-meinwert { min-width: 90px; }

  /* Filter Panel */
  .filter-panel { flex-wrap: wrap; gap: 12px; }
  .legend-pills { flex-wrap: wrap; gap: 6px; }

  /* Wissenswertes: 2 Spalten */
  .dsa-grid.gap-md { gap: 12px; }
  .dsa-col-quarter { width: calc(50% - 6px) !important; }

  /* Info cards */
  .info-card { padding: 14px; }
  .rad-dl-btn { font-size: 12px; }
}

/* ── SMARTPHONE (< 768px) ──────────────────────────────────── */
@media screen and (max-width: 767px) {
  .app-main { padding: 12px 12px 80px; }
  .header-inner { padding: 8px 12px; gap: 10px; }
  .unified-nav-inner { padding: 5px 8px; gap: 6px; }

  /* Header Text kleiner */
  .header-text h1 { font-size: 14px; }
  .header-sub { font-size: 8px; }
  .logo-img { width: 40px; height: 40px; }

  /* Filter stacked */
  .filter-panel { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .legend-pills { flex-wrap: wrap; gap: 5px; }
  .filter-angaben-badge { margin-left: 0; }

  /* Tabellen: volle Breite + scroll */
  #tables-container .dsa-col-half { width: 100% !important; }
  .dsa-grid.gap-lg { gap: 12px; }
  .dsa-table { font-size: 12px; min-width: 420px; }
  .dsa-table thead th,
  .dsa-table tbody td { padding: 6px 7px; }
  .th-medal { width: 60px; }
  .th-unit  { width: 36px; }
  .dz-name { font-size: 12px; white-space: normal; }

  /* Mein-Wert auf Mobile sichtbar aber kompakt */
  .th-meinwert, td.td-meinwert { min-width: 80px; }
  .meinwert-input { width: 68px; font-size: 12px; padding: 4px 5px; }
  .mv-wert { font-size: 13px; }
  .mv-stufe { font-size: 9px; }

  /* Wissenswertes: 1 Spalte */
  .dsa-col-quarter { width: 100% !important; }

  /* BV Card */
  .bv-img-top { min-height: 90px; }
  .bv-img-top-img { max-height: 120px; }

  /* Live-Auswertung */
  .live-group-pills { grid-template-columns: repeat(2, 1fr); }
  .live-gesamt-icon { font-size: 28px; }
  .live-pkt-val { font-size: 26px; }

  /* Section headings */
  .section-heading { font-size: 17px; }
}

/* ── KLEIN (< 400px) ───────────────────────────────────────── */
@media screen and (max-width: 400px) {
  .app-main { padding: 10px 10px 80px; }
  .dsa-table { font-size: 11px; min-width: 360px; }
  .dsa-table thead th,
  .dsa-table tbody td { padding: 5px 5px; }
  .meinwert-input { width: 58px; font-size: 11px; }
  .th-meinwert, td.td-meinwert { min-width: 70px; }
  .unified-tab-label { font-size: 10px; }
}

/* ── iPad Quer (1024px) ────────────────────────────────────── */
@media screen and (min-width: 1024px) and (max-width: 1180px) {
  .app-main { padding: 16px 20px 60px; }
  #tables-container .dsa-col-half { width: 100% !important; }
  .dsa-table { font-size: 12px; }
  .dsa-table thead th,
  .dsa-table tbody td { padding: 7px 9px; }
}

/* ── IMPRESSUM ZURÜCK-LINK ─────────────────────────────────── */
.imp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1d4ed8;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}
.imp-back-link:hover {
  color: #1e40af;
  border-bottom-color: #1d4ed8;
}

/* ── EINHEIT UNTER DISZIPLIN-NAME ──────────────────────────── */
.dz-unit-label {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  font-style: italic;
  margin-top: 1px;
  line-height: 1.3;
}
.row-selected .dz-unit-label,
.row-alt .dz-unit-label {
  color: #6b7280;
}

/* ── LEERE FÜLL-ZEILEN (Option B) ──────────────────────────── */
.dz-row-empty td {
  background: transparent !important;
  cursor: default !important;
}
.dz-row-empty:hover td {
  background: transparent !important;
}

/* ── GLEICHE KARTENHÖHE PRO PAAR ───────────────────────────── */
/* dsa-grid mit gap-lg: Cards im selben Row-Pair gleich hoch */
.dsa-grid.gap-lg {
  align-items: start;
}
.dsa-grid.gap-lg .dsa-col-half {
  height: 100%;
}
.dsa-grid.gap-lg .dsa-col-half .dsa-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dsa-grid.gap-lg .dsa-col-half .dsa-card .table-responsive {
  flex: 1;
}

/* ── SEILSPRINGEN TECHNIK-BLÖCKE ────────────────────────────── */
.seil-gruppen {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.seil-block {
  border-radius: 8px;
  padding: 8px 12px;
  border-left: 3px solid;
}
.seil-technik {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.seil-alter {
  font-size: 12px;
}
/* Farben */
.seil-blau  { background: #eff6ff; border-color: #1d4ed8; }
.seil-blau  .seil-technik { color: #1d4ed8; }
.seil-blau  .seil-alter   { color: #1e40af; }

.seil-gruen { background: #f0fdf4; border-color: #15803d; }
.seil-gruen .seil-technik { color: #15803d; }
.seil-gruen .seil-alter   { color: #166534; }

.seil-amber { background: #fffbeb; border-color: #b45309; }
.seil-amber .seil-technik { color: #b45309; }
.seil-amber .seil-alter   { color: #92400e; }

.seil-rot   { background: #fef2f2; border-color: #b91c1c; }
.seil-rot   .seil-technik { color: #b91c1c; }
.seil-rot   .seil-alter   { color: #991b1b; }

.seil-lila  { background: #f5f3ff; border-color: #7c3aed; }
.seil-lila  .seil-technik { color: #7c3aed; }
.seil-lila  .seil-alter   { color: #6d28d9; }

/* ── SEILSPRINGEN TABELLE (Option B) ────────────────────────── */
.seil-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 2px;
}
.seil-table thead th {
  text-align: left;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.seil-table tbody tr {
  border-bottom: 0.5px solid var(--border);
}
.seil-table tbody tr:last-child {
  border-bottom: none;
}
.seil-table tbody tr:nth-child(even) {
  background: #fafbfc;
}
.seil-table tbody td {
  padding: 6px 10px;
  vertical-align: middle;
  color: var(--text);
}
.seil-table tbody td:first-child {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 500;
  width: 72px;
}

/* ── SEILSPRINGEN VOLLE BREITE (Option A) ──────────────────── */
.seil-full-card {
  margin-top: 16px;
}
.seil-full-card h4 {
  margin-bottom: 14px;
}
.seil-kacheln {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.seil-kachel {
  border-radius: 9px;
  padding: 12px 14px;
  border-left: 3px solid;
}
.seil-kachel-alter {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}
.seil-kachel-tech {
  font-size: 11px;
  line-height: 1.5;
}
/* Farben */
.seil-blau  { background: #eff6ff; border-color: #1d4ed8; }
.seil-blau  .seil-kachel-alter { color: #1d4ed8; }
.seil-blau  .seil-kachel-tech  { color: #1e40af; }

.seil-gruen { background: #f0fdf4; border-color: #15803d; }
.seil-gruen .seil-kachel-alter { color: #15803d; }
.seil-gruen .seil-kachel-tech  { color: #166534; }

.seil-amber { background: #fffbeb; border-color: #b45309; }
.seil-amber .seil-kachel-alter { color: #b45309; }
.seil-amber .seil-kachel-tech  { color: #92400e; }

.seil-rot   { background: #fef2f2; border-color: #b91c1c; }
.seil-rot   .seil-kachel-alter { color: #b91c1c; }
.seil-rot   .seil-kachel-tech  { color: #991b1b; }

.seil-lila  { background: #f5f3ff; border-color: #7c3aed; }
.seil-lila  .seil-kachel-alter { color: #7c3aed; }
.seil-lila  .seil-kachel-tech  { color: #6d28d9; }

/* Responsive: 2-3 Spalten auf kleineren Screens */
@media screen and (max-width: 1023px) {
  .seil-kacheln { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 640px) {
  .seil-kacheln { grid-template-columns: repeat(2, 1fr); }
}

/* ── SEILSPRINGEN OPTION C – PILLS ─────────────────────────── */
.seil-pills-card { }
.seil-pills-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seil-pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seil-pill-age {
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  white-space: nowrap;
  min-width: 76px;
  text-align: center;
  flex-shrink: 0;
}
.seil-pill-blue   { background: #dbeafe; color: #1d4ed8; }
.seil-pill-green  { background: #dcfce7; color: #15803d; }
.seil-pill-amber  { background: #fef3c7; color: #b45309; }
.seil-pill-red    { background: #fee2e2; color: #b91c1c; }
.seil-pill-purple { background: #ede9fe; color: #7c3aed; }
.seil-pill-tech {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
}

/* ── SEILSPRINGEN HINT CARD (position: fixed) ───────────────── */
.seil-hint-card {
  background: var(--surface);
  border: 1.5px solid #1d4ed8;
  border-left: 3px solid #1d4ed8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(29,78,216,.18), 0 2px 8px rgba(0,0,0,.1);
  /* position/top/left/width set by JS */
}
.seil-hint-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #eff6ff;
  border-bottom: 0.5px solid #bfdbfe;
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
  position: relative;
}
.seil-hint-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #93c5fd;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}
.seil-hint-close:hover { color: #1d4ed8; }
.seil-hint-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  flex-wrap: wrap;
  background: var(--surface);
}

/* Fade-in / Fade-out */
@-webkit-keyframes seilFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes seilFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@-webkit-keyframes seilFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}
@keyframes seilFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}
.seil-hint-fadein  {
  -webkit-animation: seilFadeIn .35s ease forwards;
  animation: seilFadeIn .35s ease forwards;
}
.seil-hint-fadeout {
  -webkit-animation: seilFadeOut .35s ease forwards;
  animation: seilFadeOut .35s ease forwards;
}

/* ── PUNKTESYSTEM DOWNLOAD BUTTON ──────────────────────────── */
.pkt-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 4px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.pkt-dl-btn:hover {
  background: #fef08a;
}

/* ── BEACHVOLLEYBALL SLIDESHOW (Option A) ───────────────────── */
.bv-slideshow {
  position: relative;
  width: 100%;
  height: 190px;
  background: #78350f;
  overflow: hidden;
  border-top: 1px solid #92400e;
  border-bottom: 1px solid #fcd34d;
}
.bv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-transition: opacity .8s ease;
  transition: opacity .8s ease;
}
.bv-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.bv-slide-pik {
  background: #fffbeb !important;
}
.bv-slide-pik img {
  object-fit: contain;
  padding: 12px;
}
.bv-slide-active {
  opacity: 1 !important;
}
/* Prev / Next buttons */
.bv-ss-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-transition: background .2s;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.bv-ss-btn:hover { background: rgba(0,0,0,.6); }
.bv-ss-prev { left: 8px; }
.bv-ss-next { right: 8px; }
/* Dots */
.bv-ss-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: -webkit-flex;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.bv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  -webkit-transition: background .2s, transform .2s;
  transition: background .2s, transform .2s;
  display: block;
}
.bv-dot-on {
  background: #fbbf24 !important;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
