:root {
  --bg-deep: #070d09;
  --bg-dark: #0c1610;
  --glass-bg: rgba(14, 28, 19, 0.86);
  --glass-border: rgba(34, 197, 94, 0.35);
  --neon-green: #22c55e;
  --neon-bright: #4ade80;
  --neon-glow: 0 0 14px rgba(34, 197, 94, 0.55);
  --text-main: #f0fdf4;
  --text-muted: #86efac;
  --gold-accent: #facc15;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 85px; /* Ruimte voor de vaste balk onderin */
}

/* Sfeervolle donkergroene karper-achtergrond */
.ambient-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(34, 197, 94, 0.16), transparent 65%),
              linear-gradient(180deg, #060b08 0%, #0b1710 50%, #050906 100%);
  z-index: -1;
}

/* Bovenbalk */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(7, 13, 9, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.logo-ring {
  color: var(--neon-green);
  font-size: 1.5rem;
  text-shadow: var(--neon-glow);
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--neon-bright);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-btn {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 32, 22, 0.9);
  border: 1px solid var(--glass-border);
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
}

.status-dot.on {
  background: var(--neon-green);
  box-shadow: var(--neon-glow);
}

/* Live Status Balk */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: rgba(16, 36, 24, 0.75);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  font-size: 0.8rem;
  color: #bbf7d0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: var(--neon-glow);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.5; }
}

/* Hoofd Content Container (Mobiel-geoptimaliseerd, ook op pc strak) */
.app-content {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 14px;
}

.tab-page {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 1.15rem;
  color: var(--text-main);
}

.mode-switch {
  display: flex;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.mode-btn.active {
  background: var(--neon-green);
  color: #041308;
  font-weight: 700;
}

/* TAB 1: Video Player Card */
/* Grote videospeler kaart met ruimte voor de achtergrondwaas */
.video-player-card {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 440px;
  max-height: 620px;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--neon-green);
  box-shadow: var(--neon-glow);
  background: #000;
}

/* Sfeervolle achtergrondwaas die het scherm altijd 100% schermvullend opvult */
.video-player-card {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 410px;
  max-height: 560px;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--neon-green);
  box-shadow: var(--neon-glow);
  background: #000;
  margin-bottom: 18px;
}

.run-video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background-color: transparent !important;
}

.video-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 13, 9, 0.8);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--neon-bright);
  backdrop-filter: blur(6px);
}

.pieper-btn {
  position: absolute;
  right: 12px;
  bottom: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(12, 24, 16, 0.88);
  border: 1.5px solid var(--neon-green);
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--neon-glow);
}

.pieper-icon { font-size: 1.2rem; }
.pieper-count { font-weight: 800; font-size: 0.95rem; color: var(--neon-bright); }
.pieper-sub { font-size: 0.62rem; color: var(--text-muted); }

.video-angler-info {
  position: absolute;
  left: 14px;
  bottom: 18px;
  max-width: 46%;
  text-shadow: 0 2px 6px rgba(0,0,0,0.95);
}

.video-angler-info h3 { font-size: 1rem; margin-bottom: 2px; }
.video-angler-info p { font-size: 0.85rem; color: #bbf7d0; }

/* Slimme QPO Boilie Overlay */
.boilie-overlay-card {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 50%;
  max-width: 215px;
  background: rgba(10, 22, 14, 0.92);
  border: 1.5px solid var(--neon-green);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--neon-glow);
  backdrop-filter: blur(8px);
}

.boilie-thumb {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.boilie-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.boilie-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.boilie-meta strong {
  font-size: 0.82rem;
  color: #fff;
}

.shop-cta-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: var(--neon-green);
  color: #031207;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Sub-blokken & Glass Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.high-stakes-border {
  border-color: var(--neon-green);
  box-shadow: var(--neon-glow);
}

.block-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.small-action-btn {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
  cursor: pointer;
}

.runs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-run-card {
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}

.mini-run-card:hover {
  transform: translateY(-2px);
  border-color: var(--neon-green);
}

.mini-run-card h4 { font-size: 0.85rem; color: var(--neon-bright); }
.mini-run-card p { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

/* Formulieren & Knoppen */
.muted-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0 12px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-grid input, .form-grid select {
  background: #07100a;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.primary-glow-btn {
  width: 100%;
  background: var(--neon-green);
  color: #041408;
  border: none;
  padding: 11px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--neon-glow);
}

.secondary-btn {
  flex: 1;
  background: rgba(20, 42, 28, 0.9);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

/* Sessie-Strijd Specifiek */
.battle-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.live-badge {
  font-size: 0.68rem;
  color: var(--neon-bright);
  font-weight: 700;
}

.countdown-box {
  background: #050c07;
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.95rem;
}

.prize-banner {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fef08a;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.leaderboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 15, 10, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 9px 12px;
  border-radius: 10px;
  margin-bottom: 7px;
  font-size: 0.84rem;
}

.battle-actions-row, .vault-controls, .backup-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.loser-pays-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px dashed var(--neon-green);
  color: var(--neon-bright);
  padding: 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* BiteCast & Stekken-Kluis Kaarten */
.score-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.score-circle {
  min-width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--neon-green);
  box-shadow: var(--neon-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #061109;
}

.score-num { font-size: 1.45rem; font-weight: 900; color: var(--neon-bright); }
.score-max { font-size: 0.65rem; color: var(--text-muted); }

.stats-4-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stat-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.stat-box span { font-size: 0.72rem; color: var(--text-muted); }
.stat-box strong { font-size: 0.95rem; color: #fff; margin-top: 2px; }

.map-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--neon-green);
  margin: 8px 0;
}

.tactical-map {
  width: 100%;
  height: 100%;
  background: #08120c;
}

/* Kompas Overlay op BiteCast Kaart */
.compass-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
}

.compass-ring {
  position: relative;
  width: 190px;
  height: 190px;
  border: 2px dashed rgba(74, 222, 128, 0.75);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.25);
}

.c-dir {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--neon-bright);
  background: rgba(7, 13, 9, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
}
.c-n { top: -10px; left: 50%; transform: translateX(-50%); }
.c-z { bottom: -10px; left: 50%; transform: translateX(-50%); }
.c-o { right: -10px; top: 50%; transform: translateY(-50%); }
.c-w { left: -10px; top: 50%; transform: translateY(-50%); }

.wind-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--neon-green);
  transform: rotate(-45deg); /* ZW naar NO wind */
  text-shadow: var(--neon-glow);
}

.hotspot-arc {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 90px;
  height: 90px;
  border-top: 5px solid var(--neon-bright);
  border-right: 5px solid var(--neon-bright);
  border-top-right-radius: 100px;
  filter: drop-shadow(0 0 8px #22c55e);
}

/* Sniper Crosshair op Stekken-Kluis Kaart */
.sniper-crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
}

.ch-circle {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--neon-bright);
  border-radius: 50%;
  box-shadow: var(--neon-glow);
}

.ch-h, .ch-v {
  position: absolute;
  background: var(--neon-bright);
}
.ch-h { width: 54px; height: 1.5px; }
.ch-v { width: 1.5px; height: 54px; }

.tactical-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.recommended-bait-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
}

.ai-analysis-box {
  border-left: 4px solid var(--neon-green);
}

.ai-header {
  color: var(--neon-bright);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.pins-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* Vaste Navigatiebalk Onderin */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(7, 13, 9, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  padding: 8px 4px 12px;
}

.nav-item {
  background: none;
  border: none;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 10px;
  transition: all 0.2s;
}

.nav-icon { font-size: 1.2rem; }

.nav-item.active {
  color: var(--neon-bright);
  background: rgba(34, 197, 94, 0.14);
  box-shadow: inset 0 0 8px rgba(34, 197, 94, 0.25);
  font-weight: 700;
}

/* Verborgen Admin Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
}
.admin-modal.hidden { display: none; }
.admin-box { max-width: 400px; width: 100%; }

/* ==========================================
   FULL-SCREEN UPGRADE VOOR HOOFDPAGINA (RUNS)
   ========================================== */
.app-content {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px 100px;
}

.bottom-nav {
  max-width: 100% !important;
  padding: 10px 24px 14px;
}

.header-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-run-btn {
  background: var(--neon-green);
  color: #041308;
  font-weight: 800;
  padding: 7px 14px;
}

/* Boilie Filter Balk */
.boilie-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.filter-chip {
  background: rgba(12, 24, 16, 0.9);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active, .filter-chip:hover {
  background: var(--neon-green);
  color: #041308;
  border-color: var(--neon-bright);
  box-shadow: var(--neon-glow);
  font-weight: 800;
}

/* Schermvullende 2-Koloms Indeling op PC, 1-Kolom op Telefoon */
.runs-workspace {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 24px;
  align-items: start;
}

/* Wanneer "Verken Alle Video's" actief is, krijgt het video-overzicht het volledige scherm */
.runs-workspace.explore-only {
  grid-template-columns: 1fr;
}
.runs-workspace.explore-only .player-column {
  display: none;
}

@media (max-width: 960px) {
  .runs-workspace {
    grid-template-columns: 1fr;
  }
  .app-content {
    padding: 12px 14px 95px;
  }
}

.video-player-card {
  height: 70vh;
  min-height: 480px;
  max-height: 680px;
  margin-bottom: 0;
}

.video-nav-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 20;
}

.vid-nav-btn {
  background: rgba(7, 13, 9, 0.82);
  border: 1px solid var(--neon-green);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.water-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.auto-next-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Verbeterde Video-Kaarten in het Rechter Overzicht */
.runs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.mini-run-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.mini-run-card.active-playing {
  border: 2px solid var(--neon-bright);
  box-shadow: var(--neon-glow);
}

.mini-run-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-green);
}

.mini-thumb {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.mini-play-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(7, 13, 9, 0.85);
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.mini-card-body {
  padding: 10px 12px;
}

.mini-card-body h4 {
  font-size: 0.92rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.mini-weight {
  color: var(--neon-bright);
  font-weight: 800;
  font-size: 0.82rem;
  margin: 3px 0;
}

.mini-boilie {
  font-size: 0.74rem;
  color: var(--text-muted);
}
/* ==========================================
   OFFICIEEL QPO-BOILIES LOGO STYLING (FOTO 2)
   ========================================== */
/* Bovenbalk iets ruimer maken voor het grote logo */
.top-bar {
  padding: 16px 20px !important;
}

/* Het logo linksboven lekker groot en helder */


.qpo-bold {
  font-weight: 900;
  font-size: 1.45rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.qpo-light {
  font-weight: 500;
  font-size: 1.4rem;
  color: #f0fdf4;
}

.qpo-crosshair {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 1px;
  text-shadow: 0 0 8px var(--neon-green);
}

.qpo-slash-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 6px;
}

.qpo-slash {
  position: absolute;
  width: 8px;
  height: 32px;
  background: #ffffff;
  transform: skewX(-20deg);
  border-radius: 1px;
}

.qpo-carp-icon {
  position: relative;
  z-index: 2;
  font-style: normal;
  font-size: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}

.zone-badge {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid var(--neon-green);
  color: var(--neon-bright);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
  letter-spacing: 1px;
}
/* Styling voor de header en hamburger menu uit jouw voorbeeld */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(7, 13, 9, 0.95);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-hamburger-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.brand-logo-img {
  height: 28px;
  width: auto;
}

.qpo-custom-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--neon-bright);
  letter-spacing: 0.5px;
}

.qpo-crosshair {
  color: var(--neon-green);
  text-shadow: var(--neon-glow);
}

/* Neon-glow kaders zoals op de referentiefoto */
.neon-glow-box {
  border: 1.5px solid var(--neon-green) !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.45) !important;
  background: rgba(10, 22, 14, 0.9) !important;
  backdrop-filter: blur(10px);
}

/* Beetmelder widget op de video */
.pieper-btn {
  position: absolute;
  right: 14px;
  bottom: 150px;
  width: 110px;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.pieper-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-bright);
}

.pieper-sub-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.thumb-icon {
  font-size: 0.85rem;
}

/* Boilie kaartje rechtsonder op de video */
.boilie-overlay-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 175px;
  border-radius: 14px;
  padding: 10px;
}

.boilie-card-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.boilie-pack-thumb {
  font-size: 1.3rem;
}

.boilie-meta-text {
  display: flex;
  flex-direction: column;
}

.boilie-tag {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.boilie-meta-text strong {
  font-size: 0.8rem;
  color: #fff;
}

/* Zorg dat de Runs pagina onder elkaar stapelt (grote speler boven, kleine vakken eronder bij scrollen) */
#tab-runs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-player-card {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 440px;
  max-height: 620px;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--neon-green);
  box-shadow: var(--neon-glow);
  background: #000;
}

.player-ambient-blur {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-size: cover;
  background-position: center;
  filter: blur(32px) brightness(0.32);
  transform: scale(1.1);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.player-scrim-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(3, 10, 5, 0.95) 0%, rgba(3, 10, 5, 0.45) 60%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

.run-video,
#mainRunImage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Standaard contain: 100% van de vis/video volledig in beeld zonder afsnijden! */
  background-color: transparent !important;
  transition: object-fit 0.25s ease;
}

/* Wanneer Schermvullend actief is gekozen via de knop linksboven */
.video-player-card.is-cover .run-video,
.video-player-card.is-cover #mainRunImage {
  object-fit: cover !important;
}

/* PIN Keypad voor 1379 Beheerder Code */
.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 260px;
  margin: 0 auto;
}

.pin-keypad button {
  background: rgba(14, 34, 20, 0.9);
  border: 1.5px solid rgba(74, 222, 128, 0.4);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.pin-keypad button:active {
  transform: scale(0.94);
  background: #22c55e;
  color: #030d06;
}

/* Beheerder Inzendingen Goedkeuringskaarten */
.admin-submissions-section {
  background: rgba(6, 20, 11, 0.95);
  border: 1.5px solid #facc15;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.2);
}

.admin-sub-card {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(3, 10, 6, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .admin-sub-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.admin-sub-media {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #22c55e;
}

.btn-approve {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
  color: #030c05;
  border: none;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  margin-bottom: 6px;
  width: 100%;
}

.btn-reject {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  width: 100%;
}

.mini-run-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.mini-run-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-2px);
}

.mini-run-card h4 {
  font-size: 0.9rem;
  color: var(--neon-bright);
}

.mini-run-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Vaste Navigatiebalk Onderin */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(7, 13, 9, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(34, 197, 94, 0.25);
  padding: 8px 4px 12px;
}

/* Niet-actieve tabbladen: Strak lichtgrijs met subtiele glow zoals op foto 2 */
.nav-item {
  background: none;
  border: none;
  color: #cbd5e1 !important; /* Mooi helder lichtgrijs */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-shadow: 0 0 8px rgba(203, 213, 225, 0.25); /* Subtiele lichtgrijs/witte glow */
}

.nav-icon {
  font-size: 1.25rem;
  opacity: 0.85;
}

/* Actieve tabblad: Fel neon-groen met actieve gloed en neon streepje erboven (exact zoals foto 2) */
.nav-item.active {
  color: var(--neon-bright) !important;
  background: rgba(34, 197, 94, 0.15);
  box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.3);
  font-weight: 700;
  position: relative;
}

.nav-item.active .nav-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--neon-green));
}

/* Het neon-groene streepje boven de actieve knop (precies zoals op foto 2) */
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--neon-bright);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--neon-green);
}

/* Haalt de irritante browser-knoppen (zoals Beeld-in-Beeld) weg bij video's */
video::-webkit-media-controls-enclosure {
  display: none !important;
}

video {
  pointer-events: none; /* Zorgt dat de video puur visueel is en geen vervelende browser-popups triggert */
}

/* Zorg dat de klik op het kleine videovakje onderin wel werkt via de container */
.mini-run-card video {
  pointer-events: none; 
}

/* Luxe, High-End Neon QPO-ZONE Titel */
.qpo-3d-title {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ffffff; /* Strak helderwit van binnen */
  text-transform: uppercase;
  text-shadow: 
    0 0 10px rgba(74, 222, 128, 0.8),
    0 0 25px rgba(34, 197, 94, 0.6),
    0 0 50px rgba(34, 197, 94, 0.3);
  border-bottom: 2px solid var(--neon-green);
  padding-bottom: 2px;
}

/* Beheerder Terugkeer-Pill volledig uitgeschakeld conform verzoek beheerder (alleen 5x logo klik) */
.admin-floating-pill {
  display: none !important;
}

/* TAAL WISSELAAR (🇳🇱 NL / 🇬🇧 EN) MET OPVALLENDE NEON GROENE GLOED */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(4, 26, 12, 0.95);
  border: 2px solid #22c55e;
  border-radius: 24px;
  padding: 3px 8px;
  gap: 5px;
  vertical-align: middle;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.8), inset 0 0 8px rgba(34, 197, 94, 0.3);
  animation: qpoPulseLangGreen 2.8s infinite ease-in-out;
  transition: all 0.25s ease;
}
@keyframes qpoPulseLangGreen {
  0%, 100% {
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.75), inset 0 0 6px rgba(34, 197, 94, 0.25);
    border-color: #22c55e;
  }
  50% {
    box-shadow: 0 0 24px rgba(74, 222, 128, 0.95), inset 0 0 12px rgba(74, 222, 128, 0.5);
    border-color: #4ade80;
  }
}
.lang-switch:hover {
  border-color: #4ade80;
  box-shadow: 0 0 26px rgba(74, 222, 128, 0.95), inset 0 0 12px rgba(74, 222, 128, 0.5);
}
.lang-btn {
  background: transparent;
  border: 1.5px solid transparent;
  font-size: 1.15rem;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9));
}
.lang-btn:hover {
  opacity: 1;
  transform: scale(1.22);
}
.lang-btn.active {
  opacity: 1;
  background: rgba(74, 222, 128, 0.4);
  border-color: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.9);
  transform: scale(1.15);
}

/* DOWNLOAD / INSTALL APP BUTTON */
.btn-install-app {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(34, 197, 94, 0.25));
  border: 1px solid #facc15;
  color: #fef08a;
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
  text-decoration: none;
}
.btn-install-app:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.35), rgba(34, 197, 94, 0.4));
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
  transform: translateY(-1px);
}
.btn-install-app .install-icon {
  font-size: 0.8rem;
}

.team-member-pill {
  background: rgba(250, 204, 21, 0.22);
  border: 1px solid #facc15;
  color: #fde047;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* =========================================================
   GOOGLE TRANSLATE STEALTH MODE (100% ONZICHTBAAR VOOR GEBRUIKERS)
   ========================================================= */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-gadget,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

body > .skiptranslate {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
