/* ============================================================
   WePadel: vanilla CSS, geen Tailwind.
   Designsysteem overgenomen uit Wegolf en herkleurd naar het logo:
   marineblauw, oranje accent, koningsblauw voor banners.
   Tokens en basisklassen staan bovenaan; de WePadel-eigen blokken
   (speelmoment, aanwezigheid, opstelling, score, klassement) onderaan.
   ============================================================ */

:root {
  /* Tekstmaten onderaan de schaal (zelfde afspraak als Wegolf): twee stappen,
     en verder niets. --fs-micro voor hoofdletterlabels en badges, --fs-klein
     voor secundaire tekst in gewone letters. */
  --fs-micro: 0.68rem;
  --fs-klein: 0.75rem;

  /* Huisstijl uit het logo (v1.0.2): marineblauw als hoofdkleur, oranje als accent,
     koningsblauw (--navy-500) voor accenten en banners. Geen geel: dat zit enkel in het logo.
     Het logo-oranje (--orange-400) is te licht voor tekst; tekst en iconen in --orange-500. */
  --navy-50: #eef3fb;
  --navy-100: #dce6f6;
  --navy-200: #b7cbec;
  --navy-300: #86a6dc;
  --navy-500: #0066f0;
  --navy-600: #0047b8;
  --navy-700: #0b2f6e;
  --navy-800: #06204f;

  --mist-50: #fbfcfe;
  --mist-100: #f3f6fb;
  --mist-200: #e6ecf5;
  --mist-300: #d5deec;

  --orange-50: #fff2e2;
  --orange-300: #fcc98a;
  --orange-400: #f7931e;
  --orange-500: #bd5800;
  --orange-700: #8a3d00;

  --border: #e1e7f0;
  --border-2: #cbd5e4;

  --text: #1c2433;
  --text-muted: #566176;
  --text-faint: #6b7487;

  --red: #b91c1c;
  --red-light: #e8867b;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  background: var(--mist-100);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overscroll-behavior-y: contain;
}
#app { min-height: 100%; padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
svg { vertical-align: middle; flex-shrink: 0; }
.btn svg { width: 20px; height: 20px; }
.welcome-logo svg { width: 28px; height: 28px; }
.empty-icon svg { width: 48px; height: 48px; }
input, select, textarea, button { font-size: 16px; font-family: inherit; color: inherit; }
.serif { font-family: Georgia, "Times New Roman", serif; }
.container { max-width: 28rem; margin: 0 auto; padding: 1.25rem 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.flex-1 { flex: 1; min-width: 0; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.grid-9 { grid-template-columns: repeat(9, 1fr); gap: 0.25rem; }
.mt-1 { margin-top: 0.35rem; }
.mt-2 { margin-top: 0.6rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.35rem; }
.mb-2 { margin-bottom: 0.75rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.75rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.space-y > * + * { margin-top: 0.6rem; }
.space-y-lg > * + * { margin-top: 1rem; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.page-title { font-family: Georgia, serif; font-weight: 600; font-size: 1.55rem; color: var(--navy-700); line-height: 1.2; margin: 0; }
.section-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-700); margin-bottom: 0.5rem; }
.label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.3rem; letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--text-faint); font-size: 0.8rem; }
.tiny { font-size: var(--fs-klein); color: var(--text-faint); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.6rem; padding: 0.8rem 1.1rem; font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.01em; border: 0; cursor: pointer;
  transition: transform 0.05s, background-color 0.15s;
  text-decoration: none;
}
.btn:active:not(:disabled) { transform: translateY(0) scale(0.99); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: var(--mist-100);
  border: 1px solid rgba(0,102,240,0.5);
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),     /* top-highlight */
    0 0 16px rgba(0,102,240,0.10),           /* gouden halo */
    0 4px 12px rgba(6,32,79,0.18);           /* dieptesch aduw */
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-700) 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 20px rgba(0,102,240,0.18),
    0 6px 16px rgba(6,32,79,0.24);
}
.btn-secondary {
  background: #fff;
  color: var(--navy-700);
  border: 1px solid var(--border-2);
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 3px rgba(6,32,79,0.06);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-secondary:hover:not(:disabled) {
  background: var(--mist-100);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(6,32,79,0.10);
}
.btn-ghost { background: transparent; color: var(--navy-700); }
.btn-ghost:hover:not(:disabled) { background: rgba(6,32,79,0.06); }
.btn-danger { background: var(--red); color: #fff; }
.btn-small { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
.btn-w-full { width: 100%; }
.card { background: #fff; border-radius: 0.75rem; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(6,32,79,0.05); padding: 1rem; }
.card-accent { border-top: 3px solid var(--orange-500); }
.card-link { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: inherit; }
.input {
  width: 100%; border-radius: 0.5rem; border: 1px solid var(--border-2);
  padding: 0.75rem 0.85rem; background: #ffffff; color: var(--text); outline: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(6,32,79,0.12); }
.input:disabled { background: #e6ecf5; color: #566176; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 2.75rem; }
.pw-toggle {
  position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent;
  color: var(--text-muted, #566176); cursor: pointer; border-radius: 0.4rem;
}
.pw-toggle:hover { color: var(--navy-700); }
.pw-toggle svg { width: 1.25rem; height: 1.25rem; }
select.input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230b2f6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 6 7 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 0.72rem auto;
}
select.input::-ms-expand { display: none; }
.pill-group { display: flex; background: var(--mist-200); border-radius: 0.6rem; padding: 0.25rem; }
.pill-group-wide button { flex: 1; min-width: 0; font-size: 0.78rem; padding: 0.4rem 0.45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-group button[disabled] { opacity: 0.35; cursor: not-allowed; }
.pill-group > button { display: flex; align-items: center; justify-content: center; gap: 0.26rem; }
.pill-vink { flex: 0 0 auto; display: flex; }
.pill-vink svg { width: 0.72rem; height: 0.72rem; }
.pill-tekst { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-group.pill-group-wide > button { padding-left: 0.4rem; padding-right: 0.4rem; letter-spacing: -0.01em; }
.pill-group.pill-group-2rij { flex-wrap: wrap; gap: 0.25rem; }
.pill-group.pill-group-2rij > button { flex: 1 1 calc(50% - 0.25rem); }
.member-list {
  display: flex; flex-direction: column;
}
.member-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.member-row:last-child { border-bottom: 0; }
.member-avatar {
  width: 2.4rem; height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-50);
  border: 1px solid rgba(0,102,240,0.3);
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.member-avatar.is-owner {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-color: var(--orange-500);
  color: var(--orange-300);
}
.member-avatar.is-coadmin {
  background: linear-gradient(180deg, var(--orange-500) 0%, var(--orange-700) 100%);
  border-color: rgba(74,23,112,0.45);
  color: #fff;
}
.member-list .member-admin-badge.is-owner-badge { display: none; }
.member-info { flex: 1; min-width: 0; }
.member-name {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-700);
  line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.member-admin-badge {
  display: inline-flex; align-items: center; gap: 0.18rem;
  margin-left: 0.4rem;
  padding: 0.08rem 0.42rem 0.08rem 0.32rem;
  background: linear-gradient(180deg, var(--orange-500) 0%, var(--orange-700) 100%);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0.3rem;
  vertical-align: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 1px 2px rgba(0,102,240,0.25);
}
.member-admin-badge-ico { display: inline-flex; }
.member-admin-badge-ico svg { width: 10px; height: 10px; }
.member-guest-badge {
  display: inline-flex; align-items: center;
  margin-left: 0.4rem;
  padding: 0.08rem 0.42rem;
  background: var(--mist-100, #e6ecf5);
  color: var(--text-muted, #566176);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.05em;
  border-radius: 0.3rem; vertical-align: 0.12em; text-transform: uppercase;
  border: 1px solid var(--border, #cbd5e4);
}
.member-group-label {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted, #566176);
}
.member-row-admin { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.member-admin-action {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  padding: 0.32rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.15s ease;
}
.member-admin-action:active { transform: scale(0.96); }
/* In het palet (v1.0.12): admin maken in koningsblauw, afnemen en verwijderen in oranje. */
.member-admin-action.is-grant {
  background: var(--navy-50);
  color: var(--navy-600);
  border-color: var(--navy-200);
}
.member-admin-action.is-grant:hover { background: var(--navy-100); }
.member-admin-action.is-revoke {
  background: var(--orange-50);
  color: var(--orange-500);
  border-color: var(--orange-300);
}
.member-admin-action.is-revoke:hover { background: #ffe7c7; }
.cd-members-banner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(0,102,240,0.4);
  border-radius: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 8px rgba(6,32,79,0.16);
  transition: transform 0.12s ease;
}
.cd-members-banner:active { transform: scale(0.99); }
.cd-mb-avatars { display: flex; flex-shrink: 0; }
.cd-mb-avatar {
  width: 2.05rem; height: 2.05rem;
  border-radius: 50%;
  background: var(--navy-500);
  border: 2px solid var(--navy-800);
  box-shadow: 0 0 0 1px rgba(0,102,240,0.55);
  color: var(--mist-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
}
.cd-mb-avatar + .cd-mb-avatar { margin-left: -0.7rem; }
.cd-mb-avatar-more {
  background: var(--orange-500);
  color: var(--navy-800);
  box-shadow: none;
}
.cd-mb-text { flex: 1; min-width: 0; line-height: 1.25; }
.cd-mb-title {
  display: block;
  font-weight: 600; font-size: 0.92rem;
  color: var(--mist-100);
}
.cd-mb-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--orange-300);
}
.cd-mb-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.2rem;
  padding: 0.4rem 0.7rem;
  background: linear-gradient(180deg, var(--orange-300) 0%, var(--orange-500) 100%);
  color: var(--navy-800);
  font-size: 0.78rem; font-weight: 700;
  border-radius: 0.55rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.cd-awards-banner {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 55%, var(--navy-500) 100%);
  border: 1px solid rgba(0,102,240,0.55);
  border-radius: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 8px rgba(6,32,79,0.16);
  transition: transform 0.12s ease;
}
.cd-awards-banner:active { transform: scale(0.99); }
.cd-awards-icon {
  flex-shrink: 0;
  width: 2.3rem; height: 2.3rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  background: radial-gradient(circle at 30% 30%, var(--orange-300), var(--orange-500));
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,102,240,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.cd-awards-icon svg { width: 1.15rem; height: 1.15rem; }
.cd-awards-text { flex: 1; min-width: 0; line-height: 1.25; }
.cd-awards-title { display: block; font-weight: 700; font-size: 0.92rem; color: var(--mist-100); }
.cd-awards-sub { display: block; font-size: 0.74rem; color: var(--orange-300); }
.cd-awards-arrow { flex-shrink: 0; color: var(--orange-300); font-size: 1.3rem; font-weight: 700; }
.home-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem;
}
.home-head-text { min-width: 0; flex: 1; }
.home-head-name {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy-700);
  margin-top: 0.15rem;
  line-height: 1.2;
}
.home-head-sep {
  color: var(--orange-500);
  margin: 0 0.15rem;
  font-weight: 400;
}
.home-head-hcp {
  font-weight: 700;
  color: var(--navy-700);
}
.home-info-wrap { position: relative; flex-shrink: 0; }
.home-info-wrap .settings-menu {
  /* Hetzelfde uitziend als de profile-dropdown */
  right: 0; top: calc(100% + 0.5rem);
}
.header-actions {
  display: flex; align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.header-info-link {
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.settings-item-danger {
  color: #b91c1c;
}
.settings-item-danger .settings-item-icon {
  color: #b91c1c;
}
.settings-item-danger:hover {
  background: rgba(185, 28, 28, 0.06);
  color: #991414;
}
.settings-item-sep {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0.6rem;
}
.settings-item-soon {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
  text-decoration: none;
}
.settings-item-soon:hover { background: var(--mist-100); }
.settings-item .soon-tag {
  margin-left: 0.5rem;
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mist-200);
  color: var(--orange-700);
  padding: 0.05rem 0.4rem;
  border-radius: 0.3rem;
  vertical-align: 0.05em;
}
a.settings-item { text-decoration: none; }
.info-page-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem;
}
.info-page-head-text { min-width: 0; flex: 1; }
.info-head-icon {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.7rem;
  background: rgba(0,102,240, 0.16);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange-700, #bd5800); align-self: flex-start; margin-top: 0.1rem;
}
.info-page-head-text .section-label { margin-bottom: 0; }
.info-page-head-text .page-title { font-size: 1.4rem; line-height: 1.15; margin-top: -2px; }
.info-head-icon svg { width: 22px; height: 22px; }
.info-back-arrow {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  margin-top: 0.1rem; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy-700);
  cursor: pointer;
}
.info-back-arrow svg { width: 1.1rem; height: 1.1rem; }
.info-back-arrow:active { background: var(--mist-100); }
.info-page-back-wrap {
  display: flex; justify-content: center;
  margin: 1.75rem 0 0.75rem;
}
.info-page-back-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 9rem; padding: 0.7rem 1.4rem;
  font-family: Georgia, serif; font-weight: 600; font-size: 0.92rem;
  color: #fff; letter-spacing: 0.01em;
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-800) 100%);
  border: 1px solid var(--orange-500);
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 16px rgba(0,102,240,0.16),
    0 3px 8px rgba(6,32,79,0.20);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.info-page-back-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 20px rgba(0,102,240,0.24),
    0 5px 12px rgba(6,32,79,0.26);
}
.cl-intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.cl-list { display: flex; flex-direction: column; gap: 0.75rem; }
.cl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
}
.cl-card-latest { border-color: var(--navy-700); box-shadow: 0 0 0 1px var(--navy-700); }
.cl-card-head {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}
.cl-version {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy-700);
  background: var(--mist-100);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}
.cl-card-latest .cl-version { color: #fff; background: var(--navy-700); }
.cl-latest-badge {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-700);
  border: 1px solid var(--orange-700);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.cl-date {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.cl-titel {
  margin: 0.45rem 0 0.5rem; font-size: 1rem; font-weight: 700;
  line-height: 1.3; color: var(--navy-800, #06204f);
}
.cl-items { margin: 0; padding: 0; list-style: none; }
.cl-items li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}
.cl-items li:last-child { margin-bottom: 0; }
.cl-items li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 0.32rem; height: 0.32rem;
  border-radius: 50%;
  background: var(--orange-700);
}
.cl-card-latest .cl-items li::before { background: var(--navy-700); }
.cl-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}
.cl-alpha-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}
.cl-feedback {
  margin-top: 1rem;
  background: var(--mist-100);
  border: 1px solid var(--orange-500);
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
}
.cl-feedback-title {
  font-family: Georgia, serif; font-weight: 700;
  color: var(--navy-700); font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
.cl-feedback-text { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text); }
.cl-feedback-text a { color: var(--navy-700); font-weight: 600; }
.welcome-footer-link {
  color: var(--orange-700);
  text-decoration: none;
}
.welcome-footer-link:hover { text-decoration: underline; }
.info-page-back-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 12px rgba(0,102,240,0.12),
    0 1px 3px rgba(6,32,79,0.18);
}
.bottom-nav-icon { position: relative; }
.pill-group > button { flex: 1; border: 0; background: transparent; border-radius: 0.45rem; padding: 0.5rem 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); cursor: pointer; }
.pill-group > button.active { background: var(--navy-700); color: var(--mist-100); box-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.section-label-muted { color: var(--text-muted); }
.bottom-nav {
  position: fixed; left: 0; right: 0;
  bottom: calc(0.7rem + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex; justify-content: center;
  pointer-events: none;
  padding: 0 0.75rem;
}
.bottom-nav-scrim {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: calc(7.5rem + env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    var(--mist-100) 0%,
    var(--mist-100) 55%,
    rgba(243,246,251,0) 100%
  );
  pointer-events: none;
}
.bottom-nav-inner {
  pointer-events: auto;
  position: relative;
  /* Eigen compositing-laag: stabiliseert de iOS-rendering van de zwevende pill
     en voorkomt het zeldzame "losschieten"/verkeerd herschilderen bij het
     in/uitschuiven van de Safari-balk. Veilig hier (geen fixed kinderen in de
     pill; de scrim zit in .bottom-nav, niet hierin). */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  width: 100%; max-width: 30rem;
  display: flex; align-items: stretch;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(0,102,240,0.4);
  border-radius: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),       /* top-highlight */
    0 0 22px rgba(0,102,240,0.10),             /* zachte gouden halo */
    0 8px 24px rgba(0,0,0,0.22),
    0 2px 6px rgba(0,0,0,0.12);
  padding: 0.55rem 0.5rem;
}
.bottom-nav-sep {
  width: 1px; background: rgba(0,102,240,0.25);
  margin: 0.5rem 0;
  flex: 0 0 1px;
}
.bottom-nav-item {
  flex: 1; min-width: 0; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.45rem 0.2rem 0.55rem;
  color: #fff; text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.01em;
  border: 0; background: transparent; cursor: pointer;
  white-space: nowrap;
  border-radius: 0.9rem;
  transition: background 0.15s ease;
}
.bottom-nav-item .bottom-nav-icon { display: inline-flex; color: #fff; }
.bottom-nav-item .bottom-nav-icon svg,
.bottom-nav-item .bottom-nav-icon img { width: 35px; height: 35px; display: block; object-fit: contain; }
.bottom-nav-item .bottom-nav-label {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #fff;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.bottom-nav-item .bottom-nav-indicator {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 0.15rem;
  width: 1.6rem; height: 3px;
  border-radius: 2px;
  background: transparent;
}
.bottom-nav-item.active {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(0,102,240,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 0 14px rgba(0,102,240,0.18);
}
.bottom-nav-item.active .bottom-nav-icon { color: #fff; }
.bottom-nav-item.active .bottom-nav-label {
  font-weight: 600;
  letter-spacing: 0;
}
.bottom-nav-item.active .bottom-nav-indicator {
  background: var(--orange-400);
  box-shadow: 0 0 6px rgba(247,147,30,0.5);
}
.add-player-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--mist-50);
  color: var(--navy-700);
  border: 1px solid rgba(0,102,240,0.45);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 3px rgba(6,32,79,0.05);
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.add-player-pill-vol {
  background: var(--navy-700);
  color: var(--mist-100);
  border-color: var(--navy-700);
  box-shadow: 0 1px 3px rgba(6,32,79, 0.18);
}
.add-player-pill-vol:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(6,32,79, 0.22);
}
.app-plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.05rem; height: 1.05rem; margin-right: 0.1rem;
  border-radius: 50%; background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem; font-weight: 700; line-height: 1;
}
.add-player-pill:not(.add-player-pill-vol):hover {
  background: var(--mist-100);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(6,32,79,0.10);
}
.add-player-pill:active { transform: translateY(0) scale(0.97); }
.forgot-link {
  font-size: 0.78rem;
  color: var(--orange-700, #bd5800);
  text-decoration: none;
  font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }
.settings-versie {
  padding: 0.5rem 0.9rem 0.15rem; text-align: right;
  font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--text-faint, #6b7487);
}
.welcome-bg { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.5rem; background: radial-gradient(ellipse at top, var(--navy-50) 0%, var(--mist-100) 60%); }
.welcome-logo { display: block; margin: 0 auto 1rem; width: 7rem; }
.welcome-logo img { width: 100%; height: auto; display: block; }
.welcome-brand { letter-spacing: 0.01em; }
.welcome-brand-r {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.08em;
  color: var(--orange-700);
  font-weight: 600;
}
.welcome-divider { width: 3rem; height: 1px; background: var(--orange-500); margin: 1rem auto 0; }
.welcome-lang-picker {
  display: flex; justify-content: flex-end; gap: 0.25rem;
  margin-bottom: 1rem;
}
.welcome-lang-pill {
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.welcome-lang-pill:hover {
  border-color: var(--navy-300);
  color: var(--navy-700);
}
.welcome-lang-pill.active {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
}
.tagline-since { font-size: 0.7rem; color: var(--orange-700); letter-spacing: 0.15em; text-transform: uppercase; }
.welcome-install-wrap { display: flex; justify-content: center; margin-top: 1.25rem; }
.welcome-install-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: var(--orange-500);
  border: 1px solid var(--orange-500);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 14px rgba(0,102,240,0.14),
    0 2px 6px rgba(6,32,79,0.18);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.welcome-install-pill:hover {
  color: var(--orange-300);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 18px rgba(0,102,240,0.22),
    0 4px 10px rgba(6,32,79,0.22);
}
.welcome-install-pill:active { transform: translateY(0) scale(0.98); }
.welcome-install-icon { display: inline-flex; }
.welcome-install-icon svg { width: 16px; height: 16px; display: block; }
.confirm-bg { position: fixed; inset: 0; background: rgba(6,32,79,0.6); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.confirm-box { background: #fff; border-radius: 0.85rem; padding: 1.5rem; max-width: 22rem; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.confirm-box h3 { font-family: Georgia, serif; font-weight: 600; font-size: 1.2rem; color: var(--navy-700); margin: 0 0 0.5rem; }
.confirm-box p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1.25rem; line-height: 1.5; }
.confirm-actions { display: flex; gap: 0.5rem; }
.sheet-bg { position: fixed; inset: 0; background: rgba(6,32,79,0.55); z-index: 40; display: flex; align-items: flex-end; }
.sheet { width: 100%; background: #fff; border-top-left-radius: 1rem; border-top-right-radius: 1rem; padding: 1.25rem; max-height: 70vh; overflow-y: auto; }
.profile-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
}
.profile-toggle {
  padding: 0.65rem 0.15rem 0.1rem;
  border-top: 1px dashed var(--border);
  margin-top: 0.25rem;
}
.profile-toggle-row {
  display: flex; align-items: flex-start; gap: 0.8rem;
  cursor: pointer;
  user-select: none;
}
.profile-toggle-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}
.profile-toggle-track {
  flex-shrink: 0;
  width: 2.4rem; height: 1.35rem;
  background: #cbd5e4;
  border-radius: 999px;
  position: relative;
  transition: background 0.18s ease;
  margin-top: 0.1rem;
}
.profile-toggle-knob {
  position: absolute;
  top: 0.13rem; left: 0.13rem;
  width: 1.1rem; height: 1.1rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
  transition: transform 0.18s ease;
}
.profile-toggle-row input[type="checkbox"]:checked + .profile-toggle-track {
  background: var(--navy-700, #0b2f6e);
}
.profile-toggle-row input[type="checkbox"]:checked + .profile-toggle-track .profile-toggle-knob {
  transform: translateX(1.05rem);
}
.profile-toggle-row input[type="checkbox"]:focus-visible + .profile-toggle-track {
  outline: 2px solid var(--orange-500, #bd5800);
  outline-offset: 2px;
}
.profile-toggle-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.profile-toggle-title {
  font-weight: 600;
  color: var(--navy-700, #0b2f6e);
  font-size: 0.92rem;
  line-height: 1.25;
}
.profile-toggle-sub {
  font-size: 0.75rem;
  color: var(--text-muted, #566176);
  line-height: 1.35;
}
.settings-wrap { position: relative; flex-shrink: 0; }
.settings-trigger {
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, var(--navy-600) 0%, var(--navy-800) 100%);
  color: #fff;
  border: 1px solid var(--orange-500);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 14px rgba(0,102,240,0.14),
    0 2px 6px rgba(6,32,79,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.settings-trigger:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 18px rgba(0,102,240,0.22),
    0 4px 10px rgba(6,32,79,0.24);
}
.settings-trigger:active {
  transform: translateY(0) scale(0.97);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 10px rgba(0,102,240,0.10),
    0 1px 3px rgba(6,32,79,0.15);
}
.settings-trigger svg { width: 20px; height: 20px; display: block; }
.settings-menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  min-width: 15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(6,32,79,0.16), 0 2px 6px rgba(6,32,79,0.08);
  padding: 0.35rem;
  z-index: 50;
}
.settings-menu[hidden] { display: none; }
.settings-item {
  display: flex; align-items: center; gap: 0.7rem;
  width: 100%; text-align: left;
  padding: 0.6rem 0.75rem; border: 0; background: transparent;
  border-radius: 0.5rem;
  font-size: 0.92rem; color: var(--navy-700); font-weight: 500;
  cursor: pointer;
}
.settings-item:hover { background: var(--mist-100); }
.settings-item-icon {
  display: inline-flex; color: var(--orange-700);
}
.settings-item-icon svg { width: 18px; height: 18px; display: block; }
.settings-item-label { white-space: nowrap; }
.muted-tag {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 400;
}
.loading-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.85rem; min-height: 55vh;
  padding: 2rem; text-align: center;
  color: var(--text-muted); font-size: 0.9rem;
  /* Vertraagd verschijnen: snelle navigaties (~0,1s) ronden af vóór de loader
     zichtbaar wordt, dus geen storend "flitsen" tussen pagina's. Pas bij een
     trage laadbeurt (vanaf ~0,65s) faadt de loader rustig in. */
  opacity: 0;
  animation: wt-loader-in 1s ease forwards;
}
.loading-fallback::before {
  content: "";
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  border: 3px solid var(--orange-300);
  border-top-color: var(--navy-700);
  animation: wt-spin 0.8s linear infinite;
}
@keyframes wt-spin { to { transform: rotate(360deg); } }
@keyframes wt-loader-in { 0%, 65% { opacity: 0; } 100% { opacity: 1; } }
#route-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}
#route-bar::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--navy-700), var(--orange-300));
  border-radius: 0 3px 3px 0;
}
#route-bar.route-bar-active { opacity: 1; }
#route-bar.route-bar-active::before {
  animation: route-bar-slide 1.1s ease-in-out infinite;
}
@keyframes route-bar-slide {
  0%   { left: -40%; width: 40%; }
  50%  { width: 55%; }
  100% { left: 100%; width: 40%; }
}
.app-boot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.3rem;
  min-height: 100vh; min-height: 100dvh;
}
.app-boot-spinner {
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  border: 3.5px solid var(--orange-300);
  border-top-color: var(--navy-700);
  animation: wt-spin 0.8s linear infinite;
}
.app-boot-name {
  font-family: Georgia, serif; font-weight: 600;
  font-size: 1.85rem; color: var(--navy-700);
}
.err-overlay { position: fixed; left: 0; right: 0; bottom: 0; max-height: 60vh; overflow: auto; background: var(--navy-700); color: #fff; padding: 12px; font: 12px/1.4 ui-monospace, Menlo, monospace; z-index: 99999; white-space: pre-wrap; border-top: 3px solid var(--orange-500); }
.err-overlay > div + div { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.15); }
.offline-state {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 2.2rem 1.4rem;
  box-shadow: 0 1px 3px rgba(6,32,79,0.05);
}
.offline-state-icon {
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: var(--mist-100, #eef3fb);
  border: 1px solid var(--orange-300, rgba(0,102,240,0.4));
  color: var(--orange-700, #8a3d00);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.offline-state-icon svg { width: 26px; height: 26px; }
.offline-state-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-700);
  margin: 0 0 0.55rem;
}
.offline-state-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.3rem;
}
.offline-state-cta {
  display: inline-flex; align-items: center;
  padding: 0.7rem 1.4rem;
  background: var(--navy-700, #0b2f6e);
  color: #fff;
  border: 0;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
.offline-state-cta:hover { background: var(--navy-800, #06204f); }
.offline-state-cta:active { transform: translateY(1px); }
.help-subhead {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy-700);
  margin: 1.1rem 0 0.5rem;
  line-height: 1.3;
}
.help-subhead:first-child { margin-top: 0; }
.help-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text, #1c2433);
  margin: 0 0 0.5rem;
}
.help-example {
  background: var(--mist-100, #eef3fb);
  border: 1px solid rgba(0,102,240,0.35);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin: 0 0 0.5rem;
}
.help-example-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.6rem;
  padding: 0.32rem 0;
  font-size: 0.88rem;
}
.help-example-line:first-child { padding-top: 0; }
.help-example-line:last-child { padding-bottom: 0; }
.help-example-label {
  color: var(--text-muted);
  flex: 1; min-width: 0;
}
.help-example-value {
  font-weight: 700;
  color: var(--navy-700, #0b2f6e);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.help-example-divider {
  height: 1px;
  background: rgba(0,102,240,0.35);
  margin: 0.4rem 0;
}
.help-example-total .help-example-label {
  color: var(--navy-700, #0b2f6e);
  font-weight: 600;
}
.help-example-total .help-example-value {
  color: var(--orange-700, #8a3d00);
  font-size: 0.95rem;
}
.help-pts-wrap { overflow-x: auto; margin: 0.4rem 0 0.8rem; -webkit-overflow-scrolling: touch; }
.help-pts-table { min-width: 34rem; }
.help-pts-table td.amer-ex-name { text-align: center; }
.help-pts-table th.amer-ex-name, .help-pts-table td.amer-ex-name {
  position: sticky; left: 0; background: #fff; z-index: 1;
}
.help-pts-swipe { margin: -0.4rem 0 0.8rem; }
.help-example-note {
  margin-top: 0.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--navy-700, #0b2f6e);
}
.help-mailto-cta {
  display: inline-flex; align-items: center;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: var(--navy-700, #0b2f6e);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .15s ease;
}
.help-mailto-cta:hover { background: var(--navy-800, #06204f); }
.help-intro {
  background: linear-gradient(180deg, var(--mist-100, #eef3fb) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 1px 3px rgba(6,32,79,0.04);
}
.help-intro p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--navy-700);
}
.help-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.2rem 1.2rem 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 1px 3px rgba(6,32,79,0.04);
}
.help-card-head {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.help-card-icon {
  flex-shrink: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--navy-700, #0b2f6e);
  color: var(--orange-400);
  display: inline-flex; align-items: center; justify-content: center;
}
.help-card-icon svg { width: 22px; height: 22px; }
.help-card-title {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--navy-700);
  line-height: 1.2;
}
.help-card-intro {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text, #1c2433);
  margin: 0 0 1rem;
}
.help-card-soft .help-card-icon {
  background: var(--mist-100, #eef3fb);
  color: var(--orange-700, #8a3d00);
  border: 1px solid rgba(0,102,240,0.35);
}
.help-card-icon-soft { background: var(--mist-100) !important; color: var(--orange-700) !important; }
.help-steps {
  display: flex; flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}
.help-step {
  display: flex; gap: 0.85rem; align-items: flex-start;
}
/* Stappen staan los in de kaart (geen .help-steps-wrapper), dus hier de lucht ertussen. */
.help-card > .help-step { margin-top: 1rem; }
.help-card > .help-step + .help-tip { margin-top: 1.1rem; }
.help-step-num {
  flex-shrink: 0;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  background: var(--mist-100, #eef3fb);
  border: 1.5px solid var(--orange-500, #bd5800);
  color: var(--navy-700);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.help-step-body { flex: 1; min-width: 0; }
.help-step-title {
  font-weight: 600;
  color: var(--navy-700);
  font-size: 0.95rem;
  margin-bottom: 0.18rem;
  line-height: 1.3;
}
.help-step-text {
  font-size: 0.85rem;
  color: var(--text-muted, #566176);
  line-height: 1.5;
}
.help-inline-link {
  color: var(--orange-700, #8a3d00);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dashed rgba(138,111,45,0.5);
}
.help-inline-link:hover {
  color: var(--navy-700);
  border-bottom-color: var(--navy-700);
}
.help-tip {
  display: flex; align-items: flex-start; gap: 0.65rem;
  background: rgba(0,102,240,0.08);
  border-left: 3px solid var(--orange-500, #bd5800);
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  margin-top: 0.4rem;
}
.help-tip-icon {
  flex-shrink: 0;
  color: var(--orange-700, #8a3d00);
  margin-top: 0.05rem;
}
.help-tip-icon svg { width: 18px; height: 18px; display: block; }
.help-tip-text {
  flex: 1;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--navy-700, #0b2f6e);
}
.help-roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.help-role {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: var(--mist-100, #eef3fb);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.75rem 0.85rem;
}
.help-role-icon {
  flex-shrink: 0;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-700);
  border: 1px solid var(--orange-300, rgba(0,102,240,0.4));
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0.05rem;
}
.help-role-icon svg { width: 16px; height: 16px; }
.help-role-body { flex: 1; min-width: 0; }
.help-role-title {
  font-weight: 600;
  color: var(--navy-700);
  font-size: 0.9rem;
  margin-bottom: 0.18rem;
  line-height: 1.3;
}
.help-role-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.help-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}
.help-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text, #1c2433);
  margin-bottom: 0.5rem;
}
.help-bullets li::before {
  content: '';
  position: absolute;
  left: 0.35rem; top: 0.6rem;
  width: 0.4rem; height: 0.4rem;
  background: var(--orange-500, #bd5800);
  border-radius: 50%;
}
.help-bullets li:last-child { margin-bottom: 0; }
.help-tips {
  display: flex; flex-direction: column;
  gap: 0.7rem;
}
.help-tip-row {
  display: flex; gap: 0.7rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--navy-700);
}
.help-tip-bullet {
  flex-shrink: 0;
  width: 0.55rem; height: 0.55rem;
  margin-top: 0.55rem;
  background: var(--orange-500, #bd5800);
  border-radius: 50%;
}
.page-help-placeholder {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(6,32,79,0.05);
  margin-bottom: 1.4rem;
}
.page-help-placeholder-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem;
  background: var(--mist-100);
  border: 1px solid var(--orange-300, rgba(0,102,240,0.4));
  border-radius: 50%;
  color: var(--orange-700, #8a3d00);
  margin-bottom: 0.85rem;
}
.page-help-placeholder-icon svg { width: 22px; height: 22px; }
.page-help-placeholder-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-700);
  margin: 0 0 0.55rem;
}
.page-help-placeholder-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 28rem;
  margin: 0 auto;
}
.community-empty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 1px 3px rgba(6,32,79,0.06);
  margin-top: 0.5rem;
}
.community-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 0.6rem;
}
.community-empty-intro {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 1.1rem;
}
.community-empty-examples {
  display: flex; flex-direction: column; gap: 0.85rem;
  margin-bottom: 1.2rem;
}
.community-empty-example {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  background: var(--mist-100);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
}
.community-empty-example-icon {
  font-size: 1.5rem; line-height: 1;
  flex-shrink: 0;
  width: 2.4rem; height: 2.4rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--orange-300);
  border-radius: 0.5rem;
}
.community-empty-example-title {
  font-family: Georgia, serif;
  font-weight: 600; font-size: 0.95rem;
  color: var(--navy-700);
  line-height: 1.2;
}
.community-empty-example-sub {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.18rem; line-height: 1.4;
}
.cnew-toggle-row {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.6rem 0.1rem;
  cursor: pointer;
}
.cnew-toggle-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.1rem; height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--navy-700);
}
.cnew-toggle-title {
  font-weight: 600; color: var(--navy-700);
  font-size: 0.92rem; line-height: 1.2;
}
.cnew-toggle-sub {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.18rem; line-height: 1.4;
}
.kl-section { padding: 1rem 1.1rem 1.1rem; }
.kl-section-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.6rem; margin-bottom: 0.85rem;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--border);
}
.kl-section-name {
  font-size: 1.05rem; font-weight: 600;
  color: var(--navy-700);
  line-height: 1.2; margin-top: 0.15rem;
}
.kl-section-dates {
  font-size: 0.72rem; color: var(--text-muted);
  margin-top: 0.2rem;
}
.kl-section-head-right { text-align: right; flex-shrink: 0; }
.kl-live-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: #cfe5c2; color: #2a6431;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
}
.kl-live-dot {
  display: inline-block; width: 0.45rem; height: 0.45rem;
  border-radius: 50%; background: #2a6431;
}
.kl-days-left {
  font-size: 0.72rem; color: var(--text-muted);
  margin-top: 0.3rem;
}
.kl-leaderboard { display: flex; flex-direction: column; }
.kl-row-wrap { border-bottom: 1px solid #e6ecf5; }
.kl-row-wrap:last-child { border-bottom: 0; }
.kl-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto 1rem;
  gap: 0.7rem; align-items: center;
  padding: 0.65rem 0;
  cursor: pointer;
}
.kl-row-chevron {
  font-size: 1.15rem; color: var(--orange-500);
  line-height: 1; text-align: center;
  transition: transform 0.18s ease;
}
.kl-row-wrap.expanded .kl-row-chevron { transform: rotate(90deg); }
.kl-row-detail { padding: 0.15rem 0 0.7rem 2.7rem; }
.kl-detail-table { width: 100%; border-collapse: collapse; }
.kl-detail-table th {
  text-align: left;
  font-size: 0.58rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
  padding: 0 0.55rem 0.3rem;
}
.kl-detail-table td {
  font-size: 0.8rem; color: var(--navy-700);
  padding: 0.3rem 0.55rem;
  border-top: 1px solid #e6ecf5;
}
.kl-detail-table .kl-detail-num { text-align: right; }
.kl-detail-table td.kl-detail-num { font-family: Georgia, serif; font-weight: 700; }
.kl-detail-empty {
  font-size: 0.78rem; color: var(--text-muted);
  padding: 0.2rem 0.55rem 0.5rem;
}
.kl-bonus-section {
  margin-top: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border);
}
.kl-bonus-section-head {
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 0.35rem;
}
.kl-bonus-row {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.25rem 0;
}
.kl-bonus-pts {
  flex: 0 0 auto;
  font-family: Georgia, serif; font-weight: 700;
  color: var(--navy-700); font-size: 0.9rem;
}
.kl-bonus-info { flex: 1; min-width: 0; }
.kl-bonus-reason { display: block; font-size: 0.8rem; color: var(--text); }
.kl-bonus-by { display: block; font-size: 0.68rem; color: var(--text-muted); }
.kl-bonus-del {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.4rem; height: 1.4rem; padding: 0;
  border: 1px solid var(--border); border-radius: 50%;
  background: #fff; color: var(--text-muted); cursor: pointer;
}
.kl-bonus-del svg { width: 0.8rem; height: 0.8rem; }
.kl-bonus-add {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.5rem;
}
.kl-bonus-add input {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border); border-radius: 0.4rem;
  font-size: 0.82rem; background: #fff;
}
.kl-bonus-add input[data-bonus-pts]    { flex: 0 0 4.5rem; }
.kl-bonus-add input[data-bonus-reason] { flex: 1 1 8rem; min-width: 0; }
.kl-bonus-add-btn {
  flex: 0 0 auto;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--orange-500); border-radius: 0.4rem;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: var(--orange-300); font-weight: 600; font-size: 0.8rem;
  cursor: pointer;
}
.kl-new-season-card { padding: 1rem 1.1rem 1.1rem; }
.kl-new-season-title {
  font-weight: 600; font-size: 1.05rem;
  color: var(--navy-700); line-height: 1.25;
  margin-bottom: 0.25rem;
}
.kl-new-season-sub {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.4; margin-bottom: 0.75rem;
}
.kl-new-season-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--navy-700); color: #fff;
  border-radius: 0.55rem; text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.15s ease;
}
.kl-new-season-btn:hover { background: var(--navy-800); }
.kl-new-season-btn-ico { display: inline-flex; width: 1rem; height: 1rem; }
.kl-new-season-btn-ico svg { width: 1rem; height: 1rem; }
.kl-medal {
  display: flex; align-items: center; justify-content: center;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700; font-size: 0.9rem;
  color: #fff;
}
.kl-medal-1 {
  background: linear-gradient(135deg, #f4d77a 0%, var(--orange-500) 100%);
  box-shadow: 0 1px 3px rgba(0,102,240,0.4);
}
.kl-medal-2 { background: linear-gradient(135deg, #d8d8dc 0%, #a8a8b0 100%); }
.kl-medal-3 { background: linear-gradient(135deg, #cd9966 0%, #8b6a3c 100%); }
.kl-medal-n { background: var(--mist-200); color: var(--text-muted); }
.kl-row-info { min-width: 0; }
.kl-row-name {
  font-family: Georgia, serif;
  font-weight: 600; font-size: 0.98rem;
  color: var(--navy-700);
  line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.kl-row-sub {
  font-size: 0.7rem; color: var(--text-muted);
  margin-top: 0.15rem; line-height: 1.3;
}
.kl-row-pts { text-align: right; }
.kl-row-pts-num {
  font-family: Georgia, serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--navy-700);
  line-height: 1;
}
.kl-row-pts-lbl {
  font-size: var(--fs-micro); color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 0.2rem;
}
.kl-empty {
  padding: 1.3rem 0;
  text-align: center;
  font-size: 0.85rem; color: var(--text-muted);
}
.btn-small {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 0.4rem;
}
.help-courses-section { margin: 1.25rem 0 0.5rem; }
.help-courses-h { font-size: 1.05rem; color: var(--navy-700); margin: 0 0 0.6rem; }
.help-courses-loading { padding: 0.8rem; margin: 0; }
.help-courses-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 61, 40, 0.05);
}
:root {
  --jo-albatross: #f2c230;
  --jo-eagle:     #9b6dc7;
  --jo-birdie:    #3d86ca;
  --jo-par:       #4d9f49;
  --jo-bogey:     #c9a961;
  --jo-double:    #e0724a;
  --jo-officieus: #a8b0a6;
}
:root { --jo-triple: #9e3b2c; }
/* ============================================================
   WePadel-eigen blokken
   ============================================================ */

/* Home: hoofding met het logo naast eyebrow en naam. */
/* Home: het logo i.p.v. een icoon, zelfde bovenlijn als de rest (Wegolf-stijl). */
.info-head-logo { width: 2.75rem; height: 2.75rem; margin-top: 0; background: transparent; }
.info-head-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Op Home staat het logo (2.75rem) naast de tekst: de titel lijnt uit op de
   onderkant van het logo, de eyebrow hangt erboven. */
.info-page-head.has-logo .info-page-head-text { display: flex; flex-direction: column; justify-content: flex-end; min-height: 2.75rem; }
.info-page-head.has-logo .info-page-head-text .page-title { margin-top: 0; line-height: 1.05; margin-bottom: -0.05rem; }

/* Het eerstvolgende speelmoment: donkergroene heldenkaart met de datum groot,
   daaronder de twee grote knoppen. Drie tikken: app openen, ja tikken, klaar. */
.next-card {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0,102,240,0.45);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 8px 24px rgba(6,32,79,0.22);
  margin-bottom: 1rem;
  text-decoration: none; display: block;
}
.next-card-eyebrow { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-400); margin-bottom: 0.3rem; }
.next-card-date { font-family: Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.next-card-time { font-size: 0.92rem; color: rgba(255,255,255,0.8); margin-top: 0.2rem; }
.next-card-countdown { display: inline-block; margin-top: 0.55rem; font-size: var(--fs-klein); color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); border-radius: 999px; padding: 0.18rem 0.6rem; }
.next-card-countdown.is-frozen { background: rgba(247,147,30,0.18); color: var(--orange-400); }

/* Ik kom / Ik kom niet: twee grote knoppen naast elkaar. De actieve krijgt
   een volle kleur, de andere blijft een omlijnde knop. */
.att-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.9rem; }
.att-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  padding: 0.9rem 0.5rem; border-radius: 0.8rem; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); color: #fff;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.att-btn svg { width: 26px; height: 26px; }
.att-btn:active { transform: scale(0.97); }
.att-btn.is-on-yes { background: var(--orange-400); border-color: var(--orange-400); color: var(--navy-800); }
.att-btn.is-on-no { background: #fff; border-color: #fff; color: var(--red); }
.att-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.att-btn-sub { font-size: var(--fs-micro); font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.card .att-btns { margin-top: 0.5rem; }
.card .att-btn { border-color: var(--border-2); background: #fff; color: var(--navy-700); }
.card .att-btn.is-on-yes { background: var(--orange-400); border-color: var(--orange-500); color: var(--navy-800); }
.card .att-btn.is-on-no { background: #fdf2f2; border-color: var(--red-light); color: var(--red); }

/* Lijst van wie komt: chips met initialen. */
.who-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.who-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.6rem 0.25rem 0.3rem; border-radius: 999px;
  background: var(--navy-50); border: 1px solid var(--navy-200); color: var(--navy-700);
  font-size: 0.82rem; font-weight: 500;
}
.who-chip.is-no { background: #fdf2f2; border-color: #f2c9c9; color: var(--red); text-decoration: line-through; opacity: 0.8; }
.who-chip.is-unknown { background: var(--mist-200); border-color: var(--border); color: var(--text-muted); }
.who-chip-av {
  width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: var(--orange-400); font-size: var(--fs-micro); font-weight: 700;
}
.who-chip.is-no .who-chip-av { background: var(--red-light); color: #fff; }
.who-chip.is-unknown .who-chip-av { background: var(--border-2); color: #fff; }
.who-chip.is-me { box-shadow: 0 0 0 2px var(--orange-300); }
/* Gekozen speler op de statistiekenpagina: volledig paars. */
.who-chip.is-sel { background: var(--orange-500); border-color: var(--orange-500); color: #fff; font-weight: 600; box-shadow: none; }
.who-chip.is-sel .who-chip-av { background: #fff; color: var(--orange-700); }
.who-chip-av svg { width: 0.95rem; height: 0.95rem; }
.who-chip button { border: 0; background: transparent; color: inherit; font: inherit; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }

/* Opstelling: per terrein twee ploegen tegenover elkaar. */
.lineup { display: flex; flex-direction: column; gap: 0.6rem; }
.lineup-court-label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-700); }
.lineup-court { background: #fff; border: 1px solid var(--border); border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
.lineup-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; }
.lineup-team { min-width: 0; }
.lineup-team-label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.lineup-team-name { font-family: Georgia, serif; font-weight: 600; font-size: 0.98rem; color: var(--navy-700); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lineup-team-name.is-me { color: var(--orange-700); }
.lineup-vs { font-family: Georgia, serif; font-style: italic; color: var(--orange-500); font-size: 0.9rem; }
.lineup-team.is-winner .lineup-team-name { color: var(--navy-600); }
.lineup-win { color: var(--orange-500); }
.lineup-score {
  margin-top: 0.55rem; padding-top: 0.5rem; border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-size: 0.88rem; color: var(--text);
}
.lineup-score-val { font-family: Georgia, serif; font-weight: 700; color: var(--navy-700); letter-spacing: 0.02em; }
.lineup-reserve { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.lineup-reserve b { color: var(--navy-700); font-weight: 600; }
.lineup-note { font-size: var(--fs-klein); color: var(--text-faint); margin-top: 0.4rem; }
.lineup-open { font-style: italic; color: var(--text-muted); }

/* Voorstel-lijst met de reden per speler (carry, aantal gespeeld). */
.sel-list { margin: 0; padding: 0; list-style: none; }
.sel-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.sel-row:last-child { border-bottom: 0; }
.sel-num { width: 1.4rem; text-align: center; font-family: Georgia, serif; font-weight: 700; color: var(--orange-500); }
.sel-name { flex: 1; min-width: 0; color: var(--navy-700); font-weight: 500; }
.sel-meta { font-size: var(--fs-klein); color: var(--text-muted); }
.sel-carry { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-50); border-radius: 0.3rem; padding: 0.05rem 0.4rem; }
.sel-row.is-reserve .sel-name { color: var(--text-muted); }

/* Statusbadge op een speelmoment (gepland, bevroren, gespeeld, geannuleerd). */
.st-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 0.15rem 0.55rem; }
.st-badge.is-planned { background: var(--mist-200); color: var(--text-muted); }
.st-badge.is-frozen { background: var(--orange-50); color: var(--orange-700); }
.st-badge.is-played { background: var(--navy-100); color: var(--navy-700); }
.st-badge.is-cancelled { background: #fdf2f2; color: var(--red); }
.st-badge.is-nomatch { background: var(--mist-200); color: var(--text-faint); }

/* Seizoensoverzicht: een rij per speelmoment met je eigen ja/nee rechts. */
.ses-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ses-row {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 0.7rem;
  background: #fff; border: 1px solid var(--border); border-radius: 0.8rem; padding: 0.6rem 0.75rem;
  text-decoration: none; color: inherit;
}
.ses-row.is-past { opacity: 0.75; }
.ses-row.is-next { border-color: var(--navy-700); box-shadow: 0 0 0 1px var(--navy-700); }
.ses-row.is-cancelled { background: var(--mist-100); }
.ses-date { text-align: center; line-height: 1.05; }
.ses-date-day { font-family: Georgia, serif; font-weight: 700; font-size: 1.35rem; color: var(--navy-700); display: block; }
.ses-date-mon { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-700); display: block; }
.ses-info { min-width: 0; }
.ses-title { font-weight: 600; font-size: 0.95rem; color: var(--navy-700); }
.ses-sub { font-size: var(--fs-klein); color: var(--text-muted); margin-top: 0.1rem; }
.ses-act { display: flex; gap: 0.3rem; }
.ses-act button {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.ses-act button svg { width: 18px; height: 18px; }
.ses-act button.is-on-yes { background: var(--orange-400); border-color: var(--orange-500); color: var(--navy-800); }
.ses-act button.is-on-no { background: #fdf2f2; border-color: var(--red-light); color: var(--red); }
.ses-act button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Score-invoer: een rij per set met twee cijfervelden. */
.score-grid { display: grid; grid-template-columns: 1fr 4.2rem 1rem 4.2rem; align-items: center; gap: 0.5rem 0.4rem; }
.score-grid-head { display: contents; }
.score-grid-head span { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); text-align: center; }
.score-grid-head span:first-child { text-align: left; }
.score-lbl { font-size: 0.9rem; font-weight: 500; color: var(--navy-700); }
.score-lbl small { display: block; font-size: var(--fs-micro); color: var(--text-muted); font-weight: 400; }
.score-in {
  width: 100%; text-align: center; font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem;
  border: 1px solid var(--border-2); border-radius: 0.5rem; padding: 0.45rem 0.2rem; background: #fff; color: var(--navy-700);
  -moz-appearance: textfield;
}
.score-in::-webkit-outer-spin-button, .score-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-in:focus { outline: 2px solid var(--orange-300); border-color: var(--orange-500); }
.score-in:disabled { background: var(--mist-100); color: var(--text-faint); }
.score-dash { text-align: center; color: var(--text-faint); }
.score-team-names { font-size: var(--fs-klein); color: var(--text-muted); margin-bottom: 0.6rem; line-height: 1.4; }
.score-team-names b { color: var(--navy-700); font-weight: 600; }
.score-err { color: var(--red); font-size: 0.85rem; margin-top: 0.5rem; min-height: 1.2em; }
.score-ok { color: var(--navy-600); font-size: 0.85rem; margin-top: 0.5rem; }

/* Klassement: tabelrijen die uitklappen. */
.kl-table { background: #fff; border: 1px solid var(--border); border-radius: 0.85rem; padding: 0.2rem 0.75rem; }
.kl-head {
  display: grid; grid-template-columns: 2.1rem 1fr 2rem 2.3rem 2.6rem 2.4rem 0.8rem; gap: 0.35rem; align-items: center;
  padding: 0.55rem 0 0.45rem; border-bottom: 1px solid var(--border);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.kl-head span, .kl-cell { text-align: center; }
.kl-head span:nth-child(2), .kl-cell.kl-name { text-align: left; }
.kl-row-wrap { border-bottom: 1px solid var(--border); }
.kl-row-wrap:last-child { border-bottom: 0; }
.kl-r { display: grid; grid-template-columns: 2.1rem 1fr 2rem 2.3rem 2.6rem 2.4rem 0.8rem; gap: 0.35rem; align-items: center; padding: 0.65rem 0.4rem; margin: 0 -0.4rem; cursor: pointer; border-radius: 0.6rem; }
.kl-r.is-r1 { background: var(--orange-50); }
/* Rangbadge: rond, de top drie in eigen kleur (bal, groen, paars), de rest crème. */
.kl-rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  font-family: Georgia, serif; font-weight: 700; font-size: 1rem; line-height: 1;
  background: var(--mist-200); color: var(--text-muted);
}
.kl-rank-badge.is-r1 { background: var(--orange-400); color: var(--navy-800); box-shadow: 0 0 0 2px var(--orange-500); }
.kl-rank-badge.is-r2 { background: var(--navy-700); color: #fff; }
.kl-rank-badge.is-r3 { background: var(--orange-500); color: #fff; }
.kl-rank-badge.is-none { background: var(--mist-200); }
.kl-rank-badge.is-none::before { content: ""; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--border-2); }
/* Punten: een groene pil rechts, het cijfer groot. */
.kl-pts-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem; border-radius: 0.55rem;
  background: var(--mist-200); color: var(--navy-800);
  font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; line-height: 1;
}
.kl-r.is-r1 .kl-pts-pill { background: #ffe4c2; }
.kl-r.is-r2 .kl-pts-pill { background: var(--navy-100); }
.kl-r.is-r3 .kl-pts-pill { background: var(--orange-50); }
.kl-legend {
  display: flex; align-items: flex-start; gap: 0.8rem; margin-top: 0.9rem;
  background: var(--orange-50); border-radius: 0.85rem; padding: 0.9rem 1rem;
  color: var(--orange-700); font-size: 0.86rem; line-height: 1.5;
}
.kl-legend p { margin: 0; }
.kl-legend-ico { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--orange-500); color: var(--orange-500); display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.kl-legend-ico svg { width: 1rem; height: 1rem; }
/* Banner naar de statistieken: donkergroen, paars icoon, bal als watermerk. */
.stats-banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 0.9rem;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 55%, var(--navy-500) 100%);
  border-radius: 1rem; padding: 1rem 1rem; text-decoration: none; color: #fff;
  box-shadow: 0 6px 18px rgba(6,32,79,0.2);
}
.stats-banner-ico { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange-300); color: var(--orange-700); display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--orange-500); }
.stats-banner-ico svg { width: 1.5rem; height: 1.5rem; }
.stats-banner-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.stats-banner-title { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.stats-banner-sub { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-top: 0.15rem; }
.stats-banner-arrow { font-size: 1.4rem; color: #fff; position: relative; z-index: 1; }
.stats-banner-ball { position: absolute; right: 1.5rem; bottom: -1.6rem; width: 6.5rem; height: 6.5rem; color: rgba(255,255,255,0.08); }
.stats-banner-ball svg { width: 100%; height: 100%; }
.kl-head span:nth-child(6) { text-align: center; }
.kl-detail { padding-left: 2.35rem; }
.kl-rank { font-family: Georgia, serif; font-weight: 700; color: var(--orange-500); }
.kl-name { min-width: 0; }
.kl-name-txt { font-weight: 600; color: var(--navy-700); font-size: 0.92rem; line-height: 1.15; display: block; }
.kl-name-txt.is-me { color: var(--orange-700); }
.kl-name-sub { font-size: var(--fs-micro); color: var(--text-muted); display: block; }
.kl-cell.kl-pts { text-align: center; }
.kl-legend p::before { content: none; }
.kl-head span:nth-child(6) { color: var(--navy-700); }
.kl-cell { font-size: 0.85rem; color: var(--text); }
.kl-cell.is-neg { color: var(--red); }
.kl-cell.is-pos { color: var(--navy-600); }
.kl-chev { font-size: 1rem; color: var(--orange-500); text-align: center; transition: transform 0.18s ease; }
.kl-row-wrap.expanded .kl-chev { transform: rotate(90deg); }
.kl-detail { padding: 0 0 0.7rem 2rem; }
.kl-match { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.82rem; color: var(--text); border-top: 1px solid var(--mist-200); }
.kl-match:first-child { border-top: 0; }
.kl-match-date { flex: 0 0 4.2rem; color: var(--text-muted); font-size: var(--fs-klein); }
.kl-match-res { flex: 0 0 auto; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-micro); font-weight: 700; }
.kl-match-res.is-w { background: var(--orange-400); color: var(--navy-800); }
.kl-match-res.is-l { background: #fdf2f2; color: var(--red); }
.kl-match-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kl-match-score { flex: 0 0 auto; font-family: Georgia, serif; font-weight: 700; color: var(--navy-700); }

/* Mijn plaats in het klassement (home). */
.rank-card { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: inherit; }
.rank-big { font-family: Georgia, serif; font-weight: 700; font-size: 2rem; color: var(--navy-700); line-height: 1; }
.rank-big small { font-size: 0.9rem; color: var(--orange-500); }
.rank-txt { flex: 1; min-width: 0; }
.rank-title { font-weight: 600; color: var(--navy-700); }
.rank-sub { font-size: var(--fs-klein); color: var(--text-muted); }

/* Statistiektegels. */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.stat-tile { background: #fff; border: 1px solid var(--border); border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
.stat-tile-lbl { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-tile-val { font-family: Georgia, serif; font-weight: 700; font-size: 1.5rem; color: var(--navy-700); line-height: 1.15; margin-top: 0.15rem; }
.stat-tile-val small { font-size: 0.8rem; color: var(--orange-500); font-family: inherit; font-weight: 600; }
.stat-tile-sub { font-size: var(--fs-klein); color: var(--text-muted); margin-top: 0.1rem; }
.stat-tile.is-wide { grid-column: 1 / -1; }
.stat-list { margin: 0; padding: 0; list-style: none; }
.stat-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list b { color: var(--navy-700); font-weight: 600; }
.stat-list span { color: var(--text-muted); font-size: var(--fs-klein); }
.stat-person { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.stat-person a { text-decoration: none; }

/* Partnermatrix: kleine tabel met initialen. Vast raster, dus eigen maat. */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { border-collapse: collapse; font-size: 0.9rem; width: 100%; }
.matrix th, .matrix td { padding: 0.5rem 0.2rem; text-align: center; border: 1px solid var(--mist-200); min-width: 2rem; }
.matrix.is-many { font-size: 0.78rem; }
.matrix.is-many th, .matrix.is-many td { padding: 0.4rem 0.1rem; min-width: 1.5rem; }
.matrix th { font-weight: 700; color: var(--navy-700); background: var(--mist-100); }
.matrix th.matrix-row { text-align: left; white-space: nowrap; }
.matrix td.is-self { background: var(--mist-200); }
.matrix td.is-zero { color: var(--border-2); }
.matrix td.is-hot { background: var(--orange-50); color: var(--navy-800); font-weight: 700; }

/* Uitslagenlijst. */
.res-list { display: flex; flex-direction: column; gap: 0.45rem; }
.res-row { background: #fff; border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.55rem 0.75rem; text-decoration: none; color: inherit; display: block; }
.res-date { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-700); }
.res-line { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.15rem; font-size: 0.88rem; }
.res-teams { min-width: 0; color: var(--text); }
.res-teams b { color: var(--navy-700); font-weight: 600; }
.res-score { flex: 0 0 auto; font-family: Georgia, serif; font-weight: 700; color: var(--navy-700); }

/* Uitnodigingsbanner op home. */
.invite-card { background: var(--orange-50); border: 1px solid var(--orange-300); border-radius: 0.85rem; padding: 0.8rem 0.9rem; margin-bottom: 0.75rem; }
.invite-title { font-family: Georgia, serif; font-weight: 600; color: var(--orange-700); }
.invite-sub { font-size: 0.85rem; color: var(--text-muted); margin: 0.15rem 0 0.6rem; }
.invite-actions { display: flex; gap: 0.5rem; }
.invite-actions .btn { flex: 1; padding: 0.6rem 0.8rem; font-size: 0.88rem; }

/* Lege staat (geen community). */
.empty-card { background: #fff; border: 1px solid var(--border); border-radius: 0.85rem; padding: 1.4rem 1.2rem; text-align: center; }
.empty-card-icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy-700); color: var(--orange-400); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; }
.empty-card-icon svg { width: 26px; height: 26px; }
.empty-card-title { font-family: Georgia, serif; font-weight: 600; font-size: 1.15rem; color: var(--navy-700); margin: 0 0 0.3rem; }
.empty-card-body { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 1rem; line-height: 1.5; }

/* Community-wissel (meer dan een community). */
.comm-switch { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.comm-switch button { border: 1px solid var(--border-2); background: #fff; color: var(--text-muted); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.comm-switch button.active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* Sectiekop met een link rechts. */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin: 1.1rem 0 0.5rem; }
.sec-head .section-label { margin-bottom: 0; }
.sec-head a { font-size: var(--fs-klein); color: var(--orange-700); font-weight: 600; text-decoration: none; }

/* Zoekresultaten bij uitnodigen. */
.search-res { margin-top: 0.5rem; }
.search-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.search-row:last-child { border-bottom: 0; }
.search-name { flex: 1; min-width: 0; font-weight: 500; color: var(--navy-700); }
.search-tag { font-size: var(--fs-micro); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Admin-knoppenrij op een speelmoment. */
.adm-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.adm-row .btn { flex: 1 1 auto; padding: 0.6rem 0.8rem; font-size: 0.86rem; }

/* Beheer: kengetallen. */
.adm-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.adm-kpi div { background: #fff; border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.55rem; text-align: center; }
.adm-kpi b { display: block; font-family: Georgia, serif; font-size: 1.3rem; color: var(--navy-700); }
.adm-kpi span { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.adm-list { margin: 0; padding: 0; list-style: none; font-size: 0.85rem; }
.adm-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 0.5rem; }
.adm-list li:last-child { border-bottom: 0; }
.adm-list code { font-size: 0.78rem; color: var(--navy-700); }
.ok-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--navy-500); margin-right: 0.3rem; }
.warn-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--red); margin-right: 0.3rem; }

/* Opstelling bewerken (admin): per slot een select. */
.lu-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.lu-edit-grid .label { margin-bottom: 0.15rem; }
.lu-edit-court { margin-bottom: 0.7rem; }

/* Toastmelding onderaan. */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(6.2rem + env(safe-area-inset-bottom));
  background: var(--navy-800); color: #fff; padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.86rem; z-index: 60; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; }
.toast.is-err { background: var(--red); }

.msg-ok { color: var(--navy-600); font-size: 0.85rem; }
.msg-err { color: var(--red); font-size: 0.85rem; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.divider { height: 1px; background: var(--border); margin: 0.9rem 0; }

.member-admin-action svg { width: 14px; height: 14px; }
/* Native datum- en tijdvelden mogen een kolom van een grid niet openduwen. */
.grid-2 > div { min-width: 0; }
input[type="date"].input, input[type="time"].input { min-width: 0; -webkit-appearance: none; appearance: none; }
/* Gasten (invallers zonder account). */
.member-avatar.is-guest { background: var(--mist-200); border-style: dashed; color: var(--text-muted); }
.guest-tag { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
/* Verslagen en feed. */
.rep-card .rep-text { font-size: 0.95rem; line-height: 1.6; color: var(--text); }
.rep-p { margin: 0 0 0.75rem; }
.rep-p:last-child { margin-bottom: 0; }
.rep-p b { font-weight: 700; color: var(--navy-700); }
.rep-p:first-child::first-letter { font-family: Georgia, serif; font-size: 1.6em; font-weight: 700; color: var(--navy-700); line-height: 1; }
.rep-pending { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.rep-spin { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--orange-300); border-top-color: var(--navy-700); animation: wt-spin 0.8s linear infinite; flex: none; }
.rep-teaser { display: block; margin-top: 0.7rem; padding: 0.6rem 0.75rem; background: var(--mist-100); border-left: 3px solid var(--orange-500); border-radius: 0 0.5rem 0.5rem 0; font-size: 0.88rem; line-height: 1.5; color: var(--text); text-decoration: none; font-style: italic; }
.rep-more { font-style: normal; font-weight: 600; color: var(--orange-700); white-space: nowrap; }
.feed-item { background: #fff; border: 1px solid var(--border); border-radius: 0.85rem; padding: 0.85rem 0.9rem; margin-bottom: 0.8rem; }
.feed-head { display: flex; align-items: center; justify-content: space-between; text-decoration: none; margin-bottom: 0.5rem; }
.feed-date { font-family: Georgia, serif; font-weight: 600; font-size: 1.05rem; color: var(--navy-700); }
.feed-item .lineup-court { background: var(--mist-50); }
.feed-rep { margin-top: 0.7rem; font-size: 0.92rem; line-height: 1.6; color: var(--text); }
.feed-rep.is-collapsed .rep-p:not(:first-child) { display: none; }
.feed-more { border: 0; background: transparent; color: var(--orange-700); font-weight: 600; font-size: var(--fs-klein); padding: 0.3rem 0; cursor: pointer; }
textarea.input { min-height: 6rem; resize: vertical; line-height: 1.45; }
/* Reacties op een avond (stijl van de Wegolf-feed, reactie-iconen). */
.feed-react-wrap { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.feed-reactions { display: flex; gap: 0.45rem; margin-top: 0.7rem; padding-top: 0.65rem; border-top: 1px solid var(--border); }
.feed-react-btn {
  display: inline-flex; align-items: center; gap: 0.2rem;
  border: 1.5px solid rgba(0,102,240,0.35); background: #fff; cursor: pointer;
  padding: 0.1rem 0.35rem; border-radius: 0.75rem; color: var(--orange-700);
  font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.feed-react-btn:hover { background: var(--mist-50); border-color: var(--orange-500); }
.feed-react-ico { width: 44px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.feed-react-ico img { width: 50px; height: 46px; object-fit: contain; display: block; }
.feed-react-count { font-size: 0.8rem; font-weight: 700; }
.feed-react-count[hidden] { display: none; }
.feed-react-btn.is-active { background: var(--orange-50); border-color: var(--orange-500); color: var(--navy-800); }
.feed-react-btn:disabled { opacity: 0.6; cursor: default; }
.feed-reactors { display: flex; align-items: center; flex-wrap: wrap; padding-left: 0.15rem; }
.feed-reactor-ava {
  flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--navy-700); color: var(--orange-400);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 0.58rem;
  border: 1.5px solid #fff; margin-left: -0.4rem; box-shadow: 0 1px 2px rgba(6,32,79,0.15);
}
.feed-reactor-ava:first-child { margin-left: 0; }
.feed-reactor-more { font-size: 0.68rem; font-weight: 600; color: var(--text-muted); margin-left: 0.35rem; }
.score-err, .score-hint { margin: 0.5rem 0 0.75rem; min-height: 1.2em; font-size: 0.85rem; line-height: 1.4; }
.score-hint { color: var(--text-muted); }
.next-card-viewer { margin-top: 0.8rem; font-size: 0.88rem; color: rgba(255,255,255,0.85); border-top: 1px solid rgba(255,255,255,0.15); padding-top: 0.6rem; }
/* Vijf labels in de onderbalk: iets kleiner zodat "Community" past. */
.bottom-nav-item .bottom-nav-label { font-size: 0.68rem; letter-spacing: 0; }
.bottom-nav-item.active .bottom-nav-label { font-size: 0.64rem; letter-spacing: -0.01em; }
.bottom-nav-item.active { padding-left: 0.05rem; padding-right: 0.05rem; }
.bottom-nav-item { padding-left: 0.1rem; padding-right: 0.1rem; }
.bottom-nav-inner { padding-left: 0.3rem; padding-right: 0.3rem; }

/* ============================================================
   Foto's van een avond (v1.0.16): raster op het speelmoment, cover in de
   feed, fullscreen lightbox. Naar de rondefoto's van Wegolf, herkleurd.
   ============================================================ */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.rp-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: 0.6rem; overflow: hidden;
  background: var(--mist-200); box-shadow: 0 1px 3px rgba(11,47,110,0.10);
}
.rp-open { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; margin: 0; background: none; cursor: pointer; }
.rp-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rp-cover-badge {
  position: absolute; top: 0.35rem; left: 0.35rem; z-index: 2; pointer-events: none;
  background: rgba(11,47,110,0.82); color: var(--orange-400);
  font-size: 0.8rem; line-height: 1; padding: 0.22rem 0.34rem; border-radius: 0.4rem;
}
.rp-actions { position: absolute; top: 0.35rem; right: 0.35rem; z-index: 2; display: flex; gap: 0.35rem; }
.rp-act {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0; margin: 0; padding: 0;
  background: rgba(11,47,110,0.84); color: #fff; font-size: 1.05rem; line-height: 1;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.rp-act:active { transform: scale(0.92); }
.rp-act.rp-del:active { background: var(--red); }
@media (hover: hover) {
  .rp-act.rp-del:hover { background: var(--red); }
  .rp-act:not(.rp-del):hover { color: var(--orange-400); }
}
.rp-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border-radius: 0.6rem; cursor: pointer;
  border: 1.5px dashed var(--orange-300); background: var(--mist-50);
  color: var(--orange-700); gap: 0.15rem;
}
.rp-add:hover { border-color: var(--orange-500); background: #eef3fb; }
.rp-add-plus { font-size: 1.6rem; line-height: 1; font-weight: 300; }
.rp-add-label { font-size: 0.68rem; letter-spacing: 0.02em; text-align: center; padding: 0 0.2rem; }
.rp-status { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-muted); text-align: center; }

/* Cover in de feedkaart: paars kadertje, zoals het goud in Wegolf. */
.feed-cover {
  display: block; position: relative; width: 100%; box-sizing: border-box;
  margin: 0.2rem 0 0.8rem; padding: 0; cursor: pointer; line-height: 0;
  border: 2px solid var(--orange-500); border-radius: 0.9rem;
  overflow: hidden; background: var(--mist-200);
  box-shadow: 0 1px 5px rgba(11,47,110,0.12);
}
.feed-cover img { width: 100%; max-height: 15rem; object-fit: cover; object-position: top; display: block; }
.feed-cover.is-portrait { height: 16rem; background: var(--navy-800); }
.feed-cover.is-portrait .fc-blur {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: blur(18px) saturate(1.2) brightness(0.92); transform: scale(1.15);
}
.feed-cover.is-portrait .fc-main {
  position: relative; width: auto; height: 100%; max-width: 100%; max-height: none;
  margin: 0 auto; object-fit: contain;
}
.feed-cover-count {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  background: rgba(11,47,110,0.78); color: #fff;
  font-size: 0.75rem; font-weight: 600; line-height: 1;
  padding: 0.28rem 0.45rem; border-radius: 0.4rem;
}

/* Fullscreen lightbox. */
.photo-lightbox {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(6,20,12,0.97);
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.photo-lightbox .pl-img { max-width: 100vw; max-height: 100vh; object-fit: contain; display: block; }
.photo-lightbox .pl-close {
  position: absolute; top: max(0.75rem, env(safe-area-inset-top)); right: 0.9rem; z-index: 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16); color: #fff; cursor: pointer;
}
.photo-lightbox .pl-close svg { width: 1.1rem; height: 1.1rem; }
.photo-lightbox .pl-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.20); color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.photo-lightbox .pl-nav:active { background: rgba(255,255,255,0.34); }
.photo-lightbox .pl-prev { left: 0.7rem; }
.photo-lightbox .pl-next { right: 0.7rem; }
.photo-lightbox .pl-count {
  position: absolute; bottom: max(0.9rem, env(safe-area-inset-bottom)); left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.85); font-size: 0.85rem; letter-spacing: 0.04em;
}

/* ============================================================
   Seizoensbanner boven de stand (v1.0.18): naam, periode, voortgangsring
   en balk, drie kengetallen. Licht, met de bal als watermerk.
   ============================================================ */
.season-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eef3fb 0%, #ffffff 55%, #eef3fb 100%);
  border: 1px solid var(--orange-300);
  border-radius: 1rem; padding: 1rem 1rem 0.9rem; margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(11,47,110,0.08);
}
.season-banner-ball { position: absolute; left: -1.6rem; bottom: -2.2rem; width: 7.5rem; height: 7.5rem; color: rgba(247,147,30,0.13); pointer-events: none; transform: rotate(-20deg); }
.season-banner-ball svg { width: 100%; height: 100%; }
.season-banner-top { display: flex; align-items: center; gap: 0.9rem; position: relative; z-index: 1; }
.season-banner-text { flex: 1; min-width: 0; }
.season-banner-eyebrow { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-700); }
.season-banner-title { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: var(--navy-700); margin-top: 0.1rem; }
.season-banner-period { display: block; font-size: 0.86rem; color: var(--text); margin-top: 0.3rem; }
.season-banner-when { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.05rem; }
/* Voortgangsring: conic gradient balgeel op crème, in een donkergroene schijf. */
.season-banner-ring {
  flex: none; width: 4.4rem; height: 4.4rem; border-radius: 50%;
  background: conic-gradient(var(--orange-400) calc(var(--pct) * 1%), rgba(255,255,255,0.18) 0);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(6,32,79,0.25);
}
.season-banner-ring::before { content: ''; position: absolute; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); }
.season-banner-ring { position: relative; }
.season-banner-ring-val { position: relative; font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; color: #fff; line-height: 1; }
.season-banner-ring-val small { font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.75); }
.season-banner-bar { position: relative; z-index: 1; height: 6px; border-radius: 3px; background: rgba(11,47,110,0.10); margin: 0.9rem 0 0.75rem; overflow: hidden; }
.season-banner-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); min-width: 6px; }
.season-banner-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.season-banner-stat {
  background: rgba(255,255,255,0.75); border: 1px solid rgba(0,102,240,0.14); border-radius: 0.7rem;
  padding: 0.45rem 0.3rem; text-align: center;
}
.season-banner-stat b { display: block; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.05; color: var(--navy-700); }
.season-banner-stat span { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.15; }
.season-banner-next { position: relative; z-index: 1; margin-top: 0.7rem; font-size: 0.78rem; color: var(--orange-700); font-weight: 600; }

/* Seizoensbanner als link (communitypagina) en de instellingenregel eronder. */
a.season-banner { display: block; text-decoration: none; color: inherit; }
a.season-banner .season-banner-eyebrow { display: none; }
a.season-banner:active { transform: scale(0.995); }
.season-settings-line { margin: -0.5rem 0 1rem 0.25rem; color: var(--text-muted); }

/* ============================================================
   Podium (community, top 3): donkergroen, leider in het midden en hoger,
   badges zoals op de stand. Een link naar de stand.
   ============================================================ */
.podium {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 0.5rem;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-radius: 1rem; padding: 1rem 0.75rem 0; margin-bottom: 1rem;
  text-decoration: none; color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(6,32,79,0.2);
}
.podium::before {
  content: ''; position: absolute; left: 50%; top: -40%; width: 120%; height: 120%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(247,147,30,0.16) 0%, rgba(247,147,30,0) 55%); pointer-events: none;
}
.podium.is-2 { grid-template-columns: 1fr 1.15fr; }
.podium.is-1 { grid-template-columns: 1fr; }
.podium-col { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; position: relative; }
.podium-badge { margin-bottom: 0.35rem; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.podium-col.is-r1 .podium-badge { width: 2.6rem; height: 2.6rem; font-size: 1.15rem; }
.podium-name { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-name small { display: block; font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,0.75); overflow: hidden; text-overflow: ellipsis; }
.podium-col.is-r1 .podium-name { font-size: 1.05rem; }
.podium-pts { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--orange-400); margin-top: 0.4rem; }
.podium-pts small { font-family: inherit; font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.7); margin-left: 0.15rem; }
.podium-col.is-r1 .podium-pts { font-size: 1.9rem; }
.podium-sub { display: block; font-size: 0.66rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; white-space: nowrap; }
.podium-block {
  display: block; width: 100%; margin-top: 0.6rem; border-radius: 0.5rem 0.5rem 0 0;
  background: rgba(255,255,255,0.10); height: 1.1rem;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.12);
}
.podium-col.is-r1 .podium-block { height: 2rem; background: rgba(247,147,30,0.22); box-shadow: inset 0 2px 0 rgba(247,147,30,0.45); }
.podium-col.is-r2 .podium-block { height: 1.45rem; background: rgba(255,255,255,0.14); }

/* ============================================================
   Beheer (v1.0.29): activiteit zoals in Wegolf. KPI's, staafjes per dag,
   gebruikersrijen met laatst gezien en aantal keer geopend, uitklapbaar.
   ============================================================ */
.adm-kpi-act div.is-hot { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border-color: var(--navy-800); }
.adm-kpi-act div.is-hot b { color: var(--orange-400); }
.adm-kpi-act div.is-hot span { color: rgba(255,255,255,0.8); }
.adm-chart { background: #fff; border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.6rem 0.5rem 0.4rem; margin-top: 0.5rem; }
.adm-chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 5.2rem; }
.adm-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.adm-bar-val { font-size: 0.6rem; color: var(--navy-700); font-weight: 700; line-height: 1; margin-bottom: 2px; }
.adm-bar-fill { display: block; width: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--orange-400), var(--orange-500)); }
.adm-bar.is-zero .adm-bar-fill { background: var(--mist-200); }
.adm-bar-lbl { font-size: 0.58rem; color: var(--text-muted); margin-top: 3px; line-height: 1; }
.adm-user { border-bottom: 1px solid var(--border); cursor: pointer; }
.adm-user:last-child { border-bottom: 0; }
.adm-user-main { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0; }
.adm-user-info { flex: 1; min-width: 0; }
.adm-user-name { font-weight: 600; color: var(--navy-700); font-size: 0.92rem; line-height: 1.2; display: flex; align-items: center; gap: 0.4rem; flex-wrap: nowrap; min-width: 0; }
/* Naam krimpt met puntjes, de badges (admin, app, bel) blijven op dezelfde regel */
.adm-user-name-txt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-user-name .member-admin-badge, .adm-user-name .adm-push-on { flex: none; }
.adm-user-info .tiny { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-user-right { flex: none; text-align: right; line-height: 1.1; }
.adm-user-right b { display: block; font-family: Georgia, serif; font-size: 1.15rem; color: var(--navy-700); }
.adm-user-right span { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.adm-user-right em { display: block; font-style: normal; font-size: 0.7rem; color: var(--orange-700); font-weight: 600; margin-top: 0.15rem; white-space: nowrap; }
.adm-user.is-never .adm-user-right b, .adm-user.is-never .adm-user-right em { color: var(--text-muted); font-weight: 400; }
.adm-user.is-never .member-avatar { opacity: 0.55; }
.adm-user.is-fresh .adm-user-right em::before { content: ''; display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--orange-500); margin-right: 0.3rem; vertical-align: 0.05em; }
.adm-user-detail { display: none; grid-template-columns: 1fr 1fr; gap: 0.3rem 0.8rem; padding: 0 0 0.7rem 3.05rem; }
.adm-user.is-open .adm-user-detail { display: grid; }
.adm-user-detail div { display: flex; flex-direction: column; }
.adm-user-detail span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.adm-user-detail b { font-size: 0.82rem; color: var(--text); font-weight: 600; }

/* ============================================================
   Padelweetje van de week in de feed (v1.0.33): lichtgeel kaartje met bal.
   ============================================================ */
.feed-weetje {
  background: linear-gradient(135deg, #eef3fb 0%, #ffffff 60%);
  border: 1px solid rgba(247,147,30,0.45);
  position: relative; overflow: hidden;
}
.feed-weetje-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.feed-weetje-ico { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--orange-400); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(6,32,79,0.2); }
.feed-weetje-ico svg { width: 1.25rem; height: 1.25rem; }
.feed-weetje-eyebrow { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-700); }
.feed-weetje-date { display: block; font-size: 0.74rem; color: var(--text-muted); }
.feed-weetje-title { font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.15; color: var(--navy-700); margin: 0 0 0.4rem; }
.feed-weetje-text { font-size: 0.92rem; line-height: 1.55; color: var(--text); margin: 0; }

/* Beheer: padelweetjes. */
.fact-list li { align-items: center; }
.fact-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fact-row-date { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.fact-row.is-next .fact-row-date { color: var(--orange-700); font-weight: 700; }
.fact-row-title { font-weight: 600; color: var(--navy-700); font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact-more { margin-top: 0.4rem; }
.fact-more summary { cursor: pointer; color: var(--orange-700); font-weight: 600; }
.btn[hidden] { display: none !important; }

/* ============================================================
   Hall of Fame (v1.0.35): banner op de communitypagina, kampioenenblok en
   uitklapbare categoriekaarten.
   ============================================================ */
.hof-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.9rem;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 55%, var(--navy-500) 100%);
  border-radius: 1rem; padding: 1rem; margin: 0 0 1.1rem; text-decoration: none; color: #fff;
  box-shadow: 0 6px 18px rgba(6,32,79,0.22); border: 1px solid rgba(247,147,30,0.35);
}
.hof-banner-ico { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange-400); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.3); position: relative; z-index: 1; }
.hof-banner-ico svg { width: 1.5rem; height: 1.5rem; }
.hof-banner-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hof-banner-title { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem; line-height: 1.15; color: var(--orange-400); }
.hof-banner-sub { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.82); margin-top: 0.15rem; }
.hof-banner-arrow { font-size: 1.4rem; color: #fff; position: relative; z-index: 1; }
.hof-banner-laurel { position: absolute; right: 2.2rem; bottom: -1.9rem; width: 6.5rem; height: 6.5rem; color: rgba(247,147,30,0.10); transform: rotate(-12deg); }
.hof-banner-laurel svg { width: 100%; height: 100%; }
.hof-seasons { margin-bottom: 1rem; }
.hof-champions {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border-radius: 1rem; padding: 0.9rem 1rem; margin-bottom: 1rem; color: #fff;
  box-shadow: 0 6px 18px rgba(6,32,79,0.2);
}
.hof-champions-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.hof-champions-ico { color: var(--orange-400); display: inline-flex; }
.hof-champions-ico svg { width: 1.1rem; height: 1.1rem; }
.hof-champion { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "season season" "name sub"; align-items: baseline; gap: 0 0.6rem; padding: 0.45rem 0; border-top: 1px solid rgba(255,255,255,0.12); text-decoration: none; color: #fff; }
.hof-champion:first-of-type { border-top: 0; }
.hof-champion-season { grid-area: season; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hof-champion-name { grid-area: name; font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem; color: var(--orange-400); }
.hof-champion-sub { grid-area: sub; font-size: 0.78rem; color: rgba(255,255,255,0.85); }
.hof-card { background: #fff; border: 1px solid var(--border); border-radius: 0.85rem; margin-bottom: 0.6rem; overflow: hidden; }
.hof-card-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.85rem; cursor: pointer; list-style: none; }
.hof-card-head::-webkit-details-marker { display: none; }
.hof-card-text { flex: 1; min-width: 0; }
.hof-card-title { display: block; font-weight: 700; color: var(--navy-700); font-size: 0.98rem; }
.hof-card-sub { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.1rem; }
.hof-card-leader { flex: none; text-align: right; line-height: 1.1; max-width: 40%; }
.hof-card-leader b { display: block; font-family: Georgia, serif; font-size: 1.3rem; color: var(--navy-700); }
.hof-card-leader span { display: block; font-size: 0.72rem; color: var(--orange-700); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-card-leader.is-none { font-size: 0.78rem; color: var(--text-muted); }
.hof-card-chev { color: var(--orange-500); font-size: 1.2rem; transition: transform 0.15s; }
.hof-card[open] .hof-card-chev { transform: rotate(90deg); }
.hof-card.is-empty .hof-card-head { opacity: 0.7; }
.hof-card-body { border-top: 1px solid var(--border); padding: 0.3rem 0.85rem 0.5rem; }
.hof-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--mist-200); text-decoration: none; color: inherit; }
.hof-row:last-child { border-bottom: 0; }
.hof-row .kl-rank-badge { flex: none; }
.hof-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hof-row-name { font-weight: 600; color: var(--navy-700); font-size: 0.9rem; }
.hof-row.is-me .hof-row-name { color: var(--orange-700); }
.hof-row-sub { font-size: 0.7rem; color: var(--text-muted); }
.hof-row-val { font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem; color: var(--navy-700); }
.hof-row.is-unranked { opacity: 0.6; }
.hof-rest { border-top: 1px dashed var(--border); margin-top: 0.2rem; }

/* Pillen zonder avatar (seizoenskiezer Hall of Fame, Iedereen op stats): links en rechts evenveel lucht. */
.hof-seasons .who-chip { padding: 0.35rem 0.75rem; }
.hof-card-champ { border-color: rgba(247,147,30,0.55); background: linear-gradient(135deg, #eef3fb 0%, #ffffff 60%); }
.hof-card-champ .hof-card-title { color: var(--navy-800); }

/* Grotere nav-iconen (v1.0.37): 35px, de balk iets compacter zodat de hoogte gelijk blijft. */
.bottom-nav-item { padding-top: 0.35rem; padding-bottom: 0.5rem; }
.bottom-nav-item .bottom-nav-label { margin-top: 0.2rem; }

/* Beheer: tabs bovenaan (v1.0.38), zoals in Wegolf: tekst met een onderlijn, alle
   tabs zichtbaar op een telefoonbreedte, geen horizontale scroll. */
/* Zes tabs passen niet meer naast elkaar op een telefoon: horizontaal scrollen (v1.0.59). */
.adm-tabs { display: flex; justify-content: flex-start; gap: 1.1rem; margin: -0.5rem 0 1.1rem; border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tab-btn { flex-shrink: 0 !important; }
.adm-tab-btn { flex: 0 1 auto; min-width: 0; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: -0.01em; padding: 0.55rem 0 0.6rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-align: center; }
.adm-tab-btn.is-active { color: var(--navy-700); border-bottom-color: var(--orange-500); }
.adm-tab[hidden] { display: none; }
.adm-tab > .sec-head:first-child { margin-top: 0; }
@media (max-width: 360px) { .adm-tab-btn { font-size: 0.72rem; } }

/* Meer lucht tussen de hoofding en de eerste inhoud, op elke pagina (v1.0.39). */
.info-page-head.mb-3 { margin-bottom: 1.5rem; }

/* Push-meldingen (v1.0.41): kaart op profiel en Home. */
.push-card-head { display: flex; align-items: center; gap: 0.7rem; }
.push-card-ico { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--orange-300); color: var(--orange-700); display: inline-flex; align-items: center; justify-content: center; }
.push-card-ico svg { width: 1.25rem; height: 1.25rem; }
.push-card-compact { border-color: var(--orange-300); background: linear-gradient(135deg, #eef3fb 0%, #ffffff 70%); }

/* Gemiste meldingen (v1.0.47): modal in het midden op een gedimde achtergrond. */
.missed-bg { position: fixed; inset: 0; z-index: 3500; background: rgba(6,32,79,0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 1.4rem; animation: missed-in 0.2s ease-out; }
@keyframes missed-in { from { opacity: 0; } to { opacity: 1; } }
.missed-box { position: relative; width: 100%; max-width: 22rem; background: #fff; border-radius: 1.25rem; padding: 1.4rem 1.1rem 0.9rem; box-shadow: 0 20px 50px rgba(0,0,0,0.35); text-align: center; margin-top: 1.5rem; }
.missed-bell { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--orange-400); color: var(--navy-800); display: flex; align-items: center; justify-content: center; margin: -3.2rem auto 0.4rem; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(6,32,79,0.25); }
.missed-bell svg { width: 1.6rem; height: 1.6rem; }
.missed-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 0.2rem; }
.missed-item { padding: 0.4rem 0 0.6rem; }
.missed-item + .missed-item { border-top: 1px solid var(--border); margin-top: 0.3rem; padding-top: 0.8rem; }
.missed-item h3 { font-family: Georgia, serif; font-size: 1.35rem; color: var(--navy-700); margin: 0; line-height: 1.15; }
.missed-when { font-size: 0.74rem; color: var(--text-muted); margin: 0.15rem 0 0.5rem; }
.missed-item p { font-size: 0.95rem; line-height: 1.45; color: var(--text); margin: 0 0 0.9rem; }
.missed-go { text-decoration: none; }
.missed-close { margin-top: 0.2rem; }

/* Link naar de installatie-uitleg op de welkomstpagina */
.welcome-install-link {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 1.1rem auto 0; padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: 0.85rem; background: #fff;
  color: var(--navy-700); font-weight: 600; font-size: 0.92rem; text-decoration: none;
  box-shadow: 0 1px 3px rgba(6,32,79,0.04);
}
.welcome-install-link svg { width: 20px; height: 20px; color: var(--orange-700); flex-shrink: 0; }
.welcome-install-link:hover { border-color: var(--orange-500, #bd5800); }
.help-card .help-tip + .help-card, .info-page > .help-tip { margin-bottom: 1.1rem; }

/* Bolletje op Feed in de onderbalk. Verankerd aan het icoonvak (vaste 35x35),
   niet aan het navitem, zodat het altijd op dezelfde plek zit. */
.bottom-nav-badge {
  position: absolute; top: -5px; right: -9px;
  box-sizing: border-box;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px;
  background: var(--orange-500, #bd5800);
  color: #fff;
  font-size: 0.68rem; font-weight: 700; line-height: 17px; text-align: center;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  pointer-events: none;
}
.bottom-nav-badge[hidden] { display: none; }

/* Beheer: belletje bij wie push-meldingen aan heeft (aantal toestellen als het er meer zijn) */
.adm-push-on {
  display: inline-flex; align-items: center; gap: 0.1rem;
  width: auto; height: 1.15rem; padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--orange-400); color: var(--navy-700);
  font-size: 0.62rem; font-weight: 700; line-height: 1;
}
.adm-push-on svg { width: 12px; height: 12px; stroke-width: 2.2; }
.adm-push-on b { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.adm-app-on { background: var(--navy-700); color: var(--orange-400); }
/* Beheer: op een smal scherm enkel het schildje, zodat naam + badges op een regel passen */
@media (max-width: 430px) { .adm-badge-compact .adm-badge-txt { display: none; } .adm-badge-compact { padding-right: 0.32rem; } }
/* Beheer: demo-meldingen */
.adm-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.adm-demo-grid .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.6rem 0.5rem; font-size: 0.82rem; }
.adm-demo-grid .btn svg { width: 16px; height: 16px; flex: none; }

/* Home zonder community (v1.0.59): je naam groot, zodat je die kan doorgeven. */
.wait-name { margin: 0.2rem auto 0.8rem; display: inline-block; padding: 0.45rem 1rem; border-radius: 999px; background: var(--mist-100); border: 1px solid rgba(0,102,240,0.35); color: var(--navy-700); font-family: Georgia, serif; font-weight: 600; font-size: 1.15rem; }
.wait-own { text-align: center; margin: 1.1rem 0 0; }
.link-btn { background: none; border: 0; padding: 0.3rem; color: var(--orange-500); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; }
.warn-box { background: #fff7d6; border: 1px solid #ecd67a; color: #5b4a00; border-radius: 0.7rem; padding: 0.7rem 0.9rem; font-size: 0.88rem; line-height: 1.45; margin-bottom: 1rem !important; }
.warn-box b { color: #3f3300; }
/* Home zonder community: Waarom WePadel (v1.0.61). */
.why-title { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--orange-500); margin: 0 0 0.45rem; }
.why-lead { font-size: 0.95rem; line-height: 1.5; margin: 0 0 0.8rem; color: var(--text); }
.why-lead b { color: var(--navy-700); }
.usp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.usp-list li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.6rem; align-items: start; font-size: 0.9rem; line-height: 1.45; color: var(--text-muted); }
.usp-list li b { color: var(--navy-700); }
.usp-ico { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--orange-400); color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; margin-top: 0.05rem; }
.usp-ico svg { width: 1rem; height: 1rem; }
.usp-ico { font-weight: 700; font-size: 0.85rem; }
#cs-when[hidden], #cs-dur[hidden] { display: none; }
/* Home: de uitslag staat bovenaan, het volgende speelmoment wordt compacter. */
.next-slot.is-compact .next-card { padding: 0.85rem 1rem 0.85rem; }
.next-slot.is-compact .next-card-date { font-size: 1.25rem; }
.next-slot.is-compact .att-btns { margin-top: 0.7rem; }
.next-slot.is-compact .att-btn { padding: 0.6rem 0.5rem; flex-direction: row; gap: 0.4rem; font-size: 0.95rem; }
.next-slot.is-compact .att-btn svg { width: 20px; height: 20px; }
/* Bannertje voor de organisator (Home zonder community, v1.0.60): zichtbaar, maar
   lichter dan de groene banners, want de meeste nieuwe leden wachten gewoon. */
.org-banner { width: 100%; display: flex; align-items: center; gap: 0.8rem; text-align: left; cursor: pointer; font: inherit;
  background: var(--orange-50, #fff2e2); border: 1px solid rgba(0,102,240,0.35); border-radius: 1rem; padding: 0.85rem 1rem; color: var(--navy-800); }
.org-banner-ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; border: 2px solid var(--orange-500); color: var(--orange-500); display: inline-flex; align-items: center; justify-content: center; }
.org-banner-ico svg { width: 1.3rem; height: 1.3rem; }
.org-banner-text { flex: 1; min-width: 0; }
.org-banner-title { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem; color: var(--navy-700); }
.org-banner-sub { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.1rem; }
.org-banner-arrow { font-size: 1.4rem; color: var(--orange-500); }
#cs-mw[hidden] { display: none; }

/* Meldingenkaart op Home (v1.0.64): eigen marge, verborgen tot de toestand gekend is. */
.push-card-compact { margin-top: 0.9rem; }
#push-card[hidden] { display: none !important; }

/* Beheer: communities. */
.adm-comm-list li { align-items: flex-start; }
.adm-badge-empty { display: inline-block; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #8a6a00; background: #fff1b8; border-radius: 999px; padding: 0.05rem 0.45rem; vertical-align: 2px; }

/* Uitslag aanpassen: formulier pas zichtbaar na de knop (v1.0.58). */
.score-form[hidden] { display: none !important; }

/* Aantal reacties als bolletje rechtsboven op de knop (v1.0.65, zoals Wegolf
   v1.0.359): valt meer op en alle knoppen blijven even breed, met of zonder
   aantal. Donkergroen met wit cijfer; op je eigen reactie paars. */
.feed-react-btn { position: relative; justify-content: center; padding: 0.15rem 0.4rem; }
.feed-react-btn .feed-react-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--navy-700); color: #fff;
  font-size: 0.7rem; font-weight: 700; line-height: 1;
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(10, 53, 32, 0.25);
  pointer-events: none;
}
.feed-react-btn .feed-react-count[hidden] { display: none; }
.feed-react-btn.is-active .feed-react-count { background: var(--orange-500); }
/* Ruimte boven de knoppen zodat het bolletje niet tegen de lijn plakt. */
.feed-reactions { padding-top: calc(0.65rem + 4px); justify-content: flex-end; }
/* v1.0.66: knoppen rechts uitgelijnd, op een lijn met de initialen eronder. */
.feed-react-wrap { align-items: stretch; }
/* Wie reageerde: iets grotere, rustige bolletjes rechts onder de knoppen, zoals in
   Wegolf. Twee letters pasten niet in de vorige 1.4rem (LVATKM liep in elkaar). */
.feed-reactors { justify-content: flex-end; padding-left: 0; }
.feed-reactor-ava { width: 1.65rem; height: 1.65rem; font-family: inherit; font-size: 0.62rem; letter-spacing: -0.02em; margin-left: -0.35rem; border-width: 2px; }

/* Standaard info-banner (v1.0.68): elke uitleg die anders los op de achtergrond
   staat. Zelfde look als de puntenregel onder de ranking. Gebruik noteHTML() in app.js. */
.note { display: flex; align-items: flex-start; gap: 0.8rem; margin: 0 0 0.9rem;
  background: var(--orange-50); border-radius: 0.85rem; padding: 0.85rem 1rem;
  color: var(--orange-700); font-size: 0.86rem; line-height: 1.5; }
.note.note-top { margin: 0.9rem 0 0; }
.note-ico { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--orange-500); color: var(--orange-500); display: inline-flex; align-items: center; justify-content: center; margin-top: 0.05rem; }
.note-ico svg { width: 1rem; height: 1rem; }
.note-body { min-width: 0; }
.note-body p { margin: 0; }
.note-body p + p, .note-body p + .note-list { margin-top: 0.35rem; }
.note-list { margin: 0; padding-left: 1.1rem; }
.note-list li + li { margin-top: 0.15rem; }
.note-list b { color: var(--orange-700); }
/* Meerdere communities (v1.0.68): naam van de community in de agenda en de feed. */
.ses-comm, .feed-comm { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 0.1rem; }
.feed-comm { margin-bottom: 0.25rem; }
.comm-switch { margin-top: -0.3rem; }

/* Naam van de community boven een kaart of op een speelmoment (v1.0.69), voor wie in
   meer dan een community zit. */
.comm-chip { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 0 0.4rem; padding: 0.2rem 0.65rem 0.2rem 0.5rem;
  border-radius: 999px; background: var(--orange-50); color: var(--orange-700); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.comm-chip svg { width: 0.95rem; height: 0.95rem; }
.container > .comm-chip { margin-top: -0.3rem; }

/* Home met meer dan een community (v1.0.70): een omkaderd blok per community. */
.comm-block { background: #fff; border: 1px solid var(--border); border-radius: 1.1rem; padding: 0.75rem 0.75rem 0.85rem; margin: 0 0 1rem; box-shadow: 0 2px 10px rgba(6,32,79,0.06); }
.comm-block-head { display: flex; align-items: center; gap: 0.55rem; padding: 0.1rem 0.25rem 0.7rem; }
.comm-block-ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange-50); color: var(--orange-500); display: inline-flex; align-items: center; justify-content: center; }
.comm-block-ico svg { width: 1.1rem; height: 1.1rem; }
.comm-block-name { flex: 1; min-width: 0; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; color: var(--navy-700); text-decoration: none; line-height: 1.2; overflow-wrap: anywhere; }
.comm-block-rank { flex: none; font-size: 0.78rem; font-weight: 700; color: var(--orange-700); background: var(--orange-50); border-radius: 999px; padding: 0.25rem 0.65rem; text-decoration: none; }
.comm-block .next-card { margin-bottom: 0; }
.comm-block-result { display: block; text-decoration: none; color: var(--text); background: var(--orange-50); border: 1px solid rgba(247,147,30,0.35); border-radius: 0.8rem; padding: 0.6rem 0.8rem; margin: 0 0 0.7rem; font-size: 0.88rem; line-height: 1.4; }
.comm-block-result-lbl { display: block; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 0.15rem; }
.comm-block-result b { color: var(--navy-800); }
.comm-block-score { white-space: nowrap; }
.comm-block-more { display: block; margin-top: 0.2rem; font-size: 0.8rem; font-weight: 600; color: var(--orange-700); }
.comm-block-lineup { padding: 0.75rem 0.3rem 0; }
.comm-block-lineup-lbl { display: flex; justify-content: space-between; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 0.3rem; }
.comm-block-lineup-lbl span { letter-spacing: 0.02em; text-transform: none; font-weight: 600; color: var(--text-muted); font-size: 0.8rem; }
.comm-block-match { font-size: 0.95rem; color: var(--navy-700); line-height: 1.45; }
.comm-block-match i { font-family: Georgia, serif; color: var(--orange-500); font-size: 0.85rem; margin: 0 0.15rem; }
.comm-block-res { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.comm-block-open { display: inline-block; margin-top: 0.55rem; font-size: 0.85rem; font-weight: 700; color: var(--orange-700); text-decoration: none; }
.comm-block-empty { margin: 0 0.3rem; font-size: 0.9rem; color: var(--text-muted); }

/* Keuze tussen communities als segmented control (v1.0.71). */
.comm-switch { display: flex; flex-wrap: nowrap; gap: 0.2rem; margin: -0.2rem 0 1rem; padding: 0.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 1px 4px rgba(6,32,79,0.06);
  overflow-x: auto; scrollbar-width: none; }
.comm-switch::-webkit-scrollbar { display: none; }
.comm-switch button { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border: 0; background: transparent; color: var(--text-muted); border-radius: 999px; padding: 0.55rem 0.75rem;
  font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.comm-switch button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comm-switch button svg { flex: none; width: 1rem; height: 1rem; }
.comm-switch button.active { background: var(--navy-700); color: #fff; box-shadow: 0 2px 6px rgba(6,32,79,0.2); }
.comm-switch.is-many button { flex: 0 0 auto; }

/* Hall of Fame-banner: altijd lucht erboven, ook zonder podium ervoor (v1.0.72). */
.hof-banner { margin-top: 1rem; }

/* Home: laatste uitslag als scorebord (v1.0.8). */
.home-last { padding: 0; overflow: hidden; }
.home-last-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--navy-50); color: var(--navy-700); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.home-last-view { color: var(--orange-700); font-size: var(--fs-klein); white-space: nowrap; }
.sb { padding: 0.35rem 1rem 0.2rem; }
.sb + .sb { border-top: 1px solid var(--border); }
.sb-court { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.4rem; }
.sb-head { display: grid; font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.35rem; }
.sb-head span { text-align: center; white-space: nowrap; }
.sb-row { display: grid; align-items: center; padding: 0.5rem 0; }
.sb-row + .sb-row { border-top: 1px dashed var(--border); }
.sb-names { font-family: Georgia, serif; font-size: 1.1rem; color: var(--text-muted); min-width: 0; }
.sb-row.is-win .sb-names { color: var(--navy-700); font-weight: 700; }
.sb-win { display: inline-block; margin-left: 0.45rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--orange-500); border-radius: 999px; padding: 0.1rem 0.45rem; vertical-align: 0.15em; }
.sb-g { text-align: center; font-family: Georgia, serif; font-size: 1.1rem; color: var(--text-muted); }
.sb-g.is-won { color: var(--navy-700); font-weight: 700; }
.home-rep { display: block; margin: 0.4rem 1rem 1rem; padding: 0.7rem 0.85rem; background: var(--mist-100); border-radius: 0.7rem; color: var(--text); text-decoration: none; font-size: 0.92rem; line-height: 1.45; }
.home-rep-lbl { display: block; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 0.2rem; }
/* "tegen" op de hoogte van de namen, niet van de labels (v1.0.8). */
.lineup-vs { align-self: end; padding-bottom: 0.12rem; }
/* Laatste uitslag met een donkere rand, zodat het blok zich losmaakt van de rest (v1.0.9). */
.card.home-last { border: 1.5px solid var(--navy-300); box-shadow: 0 4px 14px rgba(6,32,79,0.08); }
.home-last-hd { border-bottom: 1px solid var(--navy-200); }

/* Hoofding: de eyebrow blijft op een regel; de communitynaam wordt ingekort, het seizoen niet. */
.eb-line { display: flex; min-width: 0; white-space: nowrap; }
.eb-a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.eb-b { flex: none; }

/* Leden toevoegen (v1.0.14): speler groot, gast compact, supporter ingeklapt. */
.add-card { margin-bottom: 0.75rem; }
.add-card-main { border: 1.5px solid var(--navy-500); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.add-head { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem; }
.add-ico { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: inline-flex; align-items: center; justify-content: center; }
.add-ico svg { width: 22px; height: 22px; }
.add-ico.is-player { background: var(--navy-500); color: #fff; }
.add-ico.is-guest { background: var(--orange-50); color: var(--orange-500); border: 1px solid var(--orange-300); }
.add-ico.is-sup { background: #fff; color: var(--navy-600); border: 1px solid var(--navy-200); }
.add-title { margin: 0; font-family: Georgia, serif; font-size: 1.15rem; color: var(--navy-700); line-height: 1.2; }
.add-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.35; }
.add-hint { font-size: var(--fs-klein); color: var(--text-muted); margin: 0.5rem 0 0; }
.add-guest-row { display: grid; grid-template-columns: 1fr 6.5rem; gap: 0.5rem; }
.add-sup { background: var(--navy-50); border: 1px dashed var(--navy-200); border-radius: 0.9rem; margin-bottom: 0.75rem; }
.add-sup summary { list-style: none; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.9rem; cursor: pointer; }
.add-sup summary::-webkit-details-marker { display: none; }
.add-sup-txt { min-width: 0; flex: 1; }
.add-sup-txt b { display: block; color: var(--navy-700); font-size: 0.95rem; }
.add-sup-txt span { display: block; font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); margin-top: 0.1rem; }
.add-sup-chev { color: var(--navy-600); font-size: 1.3rem; transition: transform 0.15s; }
.add-sup[open] .add-sup-chev { transform: rotate(90deg); }
.add-sup-body { padding: 0 0.9rem 0.9rem; }

/* Uitnodigingslink (v1.0.15). */
.join-card .join-name { font-family: Georgia, serif; font-size: 1.6rem; margin: 0.2rem 0 0.3rem; line-height: 1.15; }
.join-card .join-sub { color: var(--text-muted); margin: 0 0 1rem; }
.join-banner { margin-bottom: 0.75rem; padding: 0.7rem 0.9rem; border-radius: 0.8rem; background: #fff; border: 1px dashed var(--border-2); font-size: 0.9rem; text-align: center; }
.join-share { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); }
.join-share-or { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.join-wa { display: block; text-align: center; text-decoration: none; }
.join-share-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.join-code { font-size: var(--fs-klein); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Spelers toevoegen zonder overhead (v1.0.18). */
.add-head { align-items: center; }
.join-wa { display: flex; align-items: center; justify-content: center; gap: 0.55rem; }
.join-wa .wa-ico { width: 24px; height: 24px; flex: none; }
.add-sup summary { padding: 0.8rem 0.9rem; }
.join-wa .wa-ico { border-radius: 6px; }
/* Twee knoppen voor de admin op de pagina Community. */
.admin-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.admin-links .btn { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding-left: 0.5rem; padding-right: 0.5rem; text-decoration: none; }
.admin-links .btn svg { width: 18px; height: 18px; flex: none; }
/* Scorebordkaart op het speelmoment (v1.0.19). */
.sb-foot { padding: 0.2rem 1rem 1rem; }
.sb-foot .lineup { margin-top: 0.5rem; }
.sb-edit { margin-top: 0.7rem; }
.sb-edit > .btn { display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.sb-edit > .btn svg { width: 18px; height: 18px; }
.sb-edit .score-form { margin-top: 0.7rem; }
.score-grid-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Subtiele actie rechts in een sectiekop (v1.0.19). */
.sec-head-btn { background: none; border: 0; padding: 0.2rem 0; font: inherit; font-size: var(--fs-klein); font-weight: 600; color: var(--orange-700); cursor: pointer; }

/* Code invoeren (v1.0.20) */
.code-form { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.code-form .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; text-align: center; }
.code-form .btn { flex: none; }
.code-form .input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.code-card .small { margin: 0; }
.join-code-box { margin-top: 1.1rem; text-align: center; }
.join-code-box .small { color: var(--text-muted); margin: 0 0 0.45rem; }
.join-code { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.15em; padding: 0.5rem 1rem; border-radius: 0.75rem; background: var(--mist-100); color: var(--navy-700); border: 1px dashed var(--navy-300); user-select: all; -webkit-user-select: all; }

/* Wat wil je doen? (v1.0.21) */
.action-list { padding: 0.2rem 0; }
.action-row { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem; color: var(--text); text-decoration: none; font-weight: 600; }
.action-row + .action-row { border-top: 1px solid var(--border); }
.action-ico { width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; display: flex; align-items: center; justify-content: center; background: var(--mist-100); color: var(--navy-500); flex: none; }
.action-ico svg { width: 20px; height: 20px; }
.action-label { flex: 1; min-width: 0; }
.action-chev { color: var(--text-muted); font-size: 1.3rem; line-height: 1; }
.c-leave { display: block; margin: 1.1rem auto 0; color: var(--red); }
.code-card .add-title { margin: 0; }

/* Zachte overgang bij een nieuwe pagina (v1.0.22). Enkel opacity: een transform zou
   vaste elementen binnen de pagina even laten verspringen. */
.page-in { animation: page-in 0.18s ease-out; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page-in { animation: none; } }

/* De Afhakers (v1.0.24) */
.action-sub { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text-muted); }
.hof-card-body > .note { margin: 0 0 0.8rem; }
.late-inc { margin-top: 0.9rem; border-top: 1px solid var(--border); padding-top: 0.6rem; }
.late-inc-head { margin-bottom: 0.3rem; }
.late-inc-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; }
.late-inc-row + .late-inc-row { border-top: 1px dashed var(--border); }
.late-inc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.late-inc-pts { font-weight: 700; color: var(--red); white-space: nowrap; }
.late-inc-row.is-forgiven .late-inc-pts { color: var(--text-muted); font-weight: 400; }
.late-inc-row.is-forgiven .late-inc-main b { text-decoration: line-through; opacity: 0.6; }

/* ===== Losse wedstrijd (v1.0.28) ===== */
/* De kaart op Home: oranje rand zoals een actie, bezig = blauw met een pulsje. */
.open-card {
  display: flex; align-items: center; gap: 0.85rem; margin: 0.9rem 0 0; padding: 0.9rem 1rem;
  background: #fff; border: 2px solid var(--orange-400); border-radius: 1rem; text-decoration: none; color: var(--navy-700);
  box-shadow: 0 2px 10px rgba(6,32,79,0.06);
}
.open-card.is-compact { margin-top: 0.7rem; padding: 0.65rem 0.85rem; border-width: 1.5px; }
.open-card-ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--orange-50); color: var(--orange-700); display: inline-flex; align-items: center; justify-content: center; }
.open-card-ico svg { width: 1.35rem; height: 1.35rem; }
.open-card.is-compact .open-card-ico { width: 2.1rem; height: 2.1rem; }
.open-card-text { flex: 1; min-width: 0; }
.open-card-title { display: flex; align-items: center; gap: 0.4rem; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.open-card.is-compact .open-card-title { font-size: 0.98rem; }
.open-card-sub { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open-card-arrow { font-size: 1.4rem; color: var(--orange-700); }
.open-card.is-live { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-500) 100%); border-color: var(--navy-500); color: #fff; }
.open-card.is-live .open-card-ico { background: rgba(255,255,255,0.15); color: #fff; }
.open-card.is-live .open-card-sub { color: rgba(255,255,255,0.8); }
.open-card.is-live .open-card-arrow { color: #fff; }
.open-live-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 0 0 rgba(247,147,30,0.6); animation: open-pulse 1.6s ease-out infinite; }
@keyframes open-pulse { 0% { box-shadow: 0 0 0 0 rgba(247,147,30,0.6); } 100% { box-shadow: 0 0 0 0.6rem rgba(247,147,30,0); } }

/* Spelers kiezen */
.open-chosen { margin-bottom: 0.9rem; }
.open-chosen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.open-chosen-sum { font-size: var(--fs-klein); font-weight: 700; color: var(--navy-700); }
.open-search { margin-top: 0.2rem; }
.who-chip.is-sel .who-chip-av svg { width: 0.85rem; height: 0.85rem; }

/* De ronde: score van een set rechtstreeks in de baankaart. */
.open-court { border-left: 3px solid var(--orange-400); }
.open-score-line { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px dashed var(--border); }
.open-score-val { font-family: Georgia, serif; font-weight: 700; font-size: 1.35rem; color: var(--navy-700); letter-spacing: 0.04em; }
.open-score-editbtn { padding: 0.25rem 0.6rem; font-size: var(--fs-klein); }
.open-score-form { display: grid; grid-template-columns: 1fr 1.2rem 1fr 3rem; gap: 0.4rem; align-items: center; margin-top: 0.6rem; }
.open-score-form[hidden] { display: none; }
.open-score-form .score-err { grid-column: 1 / -1; }
.open-score-form .score-err:empty { display: none; }
.open-score-btn { padding: 0.45rem 0; min-width: 0; }
.open-score-btn svg { width: 1.2rem; height: 1.2rem; }
.open-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.open-earlier { margin-top: 1.1rem; }
.open-earlier summary { cursor: pointer; font-size: var(--fs-klein); font-weight: 700; color: var(--orange-700); }
.open-earlier .open-court { opacity: 0.85; }

/* Klassement van de avond: zes kolommen, geen uitklaprij. */
.open-table .kl-head, .open-table .kl-r { grid-template-columns: 2.1rem 1fr 2.3rem 3.2rem 2.8rem 2.4rem; cursor: default; }
.open-table .kl-r { border-bottom: 1px solid var(--border); }
.open-table .kl-head span:nth-child(6) { text-align: center; }

/* In de feed */
.feed-open-tag { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-50); border-radius: 999px; padding: 0.15rem 0.55rem; margin-left: auto; margin-right: 0.5rem; }
.feed-open-sum { padding: 0.6rem 0.8rem; background: var(--mist-100); border-radius: 0.8rem; margin-bottom: 0.6rem; }
.feed-open-win { display: flex; align-items: baseline; gap: 0.5rem; font-family: Georgia, serif; font-size: 1.05rem; color: var(--navy-700); }
.feed-open-win-lbl { font-family: inherit; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-700); }

/* ===== Home compacter (v1.0.29): volgende keer en opstelling nemen minder plaats ===== */
.next-slot .next-card { padding: 0.8rem 0.95rem 0.8rem; margin-bottom: 0.7rem; }
.next-slot .next-card-eyebrow { margin-bottom: 0.15rem; }
.next-slot .next-card-date { font-size: 1.2rem; }
.next-slot .next-card-time { font-size: 0.86rem; }
.next-slot .next-card-countdown { margin-top: 0.4rem; font-size: var(--fs-micro); padding: 0.12rem 0.5rem; }
.next-slot .att-btns { margin-top: 0.65rem; gap: 0.5rem; }
.next-slot .att-btn { padding: 0.5rem 0.4rem; flex-direction: row; gap: 0.4rem; font-size: 0.92rem; border-radius: 0.65rem; }
.next-slot .att-btn svg { width: 18px; height: 18px; }
.next-slot .card { padding: 0.75rem 0.9rem 0.8rem; }
.next-slot .who-chip { font-size: 0.74rem; padding: 0.12rem 0.45rem 0.12rem 0.15rem; gap: 0.25rem; }
.next-slot .who-chip-av { width: 1.15rem; height: 1.15rem; font-size: 0.55rem; }
.next-slot .who-row { gap: 0.3rem; margin-top: 0.3rem; }
.next-slot .tiny { margin-top: 0.4rem !important; }
.next-slot .lineup-court { padding: 0.5rem 0.65rem; }
.next-slot .lineup-team-name { font-size: 0.92rem; }

/* De oranje banner voor de losse wedstrijd, bovenaan Home. */
.open-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.85rem;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
  border-radius: 1rem; padding: 0.85rem 1rem; margin: 0 0 0.9rem; text-decoration: none; color: #fff;
  box-shadow: 0 6px 18px rgba(189,88,0,0.25);
}
.open-banner-ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,0.22); color: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.open-banner-ico svg { width: 1.35rem; height: 1.35rem; }
.open-banner-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.open-banner-title { display: flex; align-items: center; gap: 0.4rem; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.open-banner-sub { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.9); margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open-banner-arrow { font-size: 1.4rem; color: #fff; position: relative; z-index: 1; }
.open-banner-ball { position: absolute; right: 1.6rem; bottom: -1.6rem; width: 6rem; height: 6rem; color: rgba(255,255,255,0.12); }
.open-banner-ball svg { width: 100%; height: 100%; }
.open-banner.is-live { background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-500) 100%); box-shadow: 0 6px 18px rgba(6,32,79,0.25); }
.open-banner.is-live .open-live-dot { background: var(--orange-400); }

/* Wedstrijdtype kiezen en de klok (v1.0.29) */
.open-formats { display: flex; flex-direction: column; gap: 0.35rem; }
.open-format {
  display: flex; align-items: center; gap: 0.6rem; text-align: left; width: 100%;
  padding: 0.55rem 0.75rem; border-radius: 0.65rem; border: 1.5px solid var(--border); background: #fff; color: var(--navy-700);
  font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
}
.open-format::before { content: ''; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 2px solid var(--border-2); flex: none; box-sizing: border-box; }
.open-format.is-on { border-color: var(--orange-400); background: var(--orange-50); }
.open-format.is-on::before { border-color: var(--orange-500); background: var(--orange-500); box-shadow: inset 0 0 0 2.5px #fff; }
.open-format-line { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: -0.4rem 0 0.6rem; }
.open-clock { font-family: Georgia, serif; font-weight: 700; color: var(--navy-700); font-size: 1rem; }
.open-court .card.mt-3 { margin-top: 0.6rem; padding: 0.7rem 0.75rem; box-shadow: none; }
.open-court .sb-edit { margin-top: 0.5rem; }
/* Soort groep bij Seizoen instellen (v1.0.29) */
.cs-kind { align-items: flex-start; padding: 0.7rem 0.8rem; }
.cs-kind::before { margin-top: 0.2rem; }
.cs-kind > span { display: block; min-width: 0; }
.cs-kind-sub { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.35; }
.cs-kind:disabled { opacity: 1; cursor: default; }
.bottom-nav-svg { display: inline-flex; width: 35px; height: 35px; align-items: center; justify-content: center; color: var(--orange-400); }
.bottom-nav-svg svg { width: 26px !important; height: 26px !important; }
/* Context per speler (v1.0.29) */
.note-row { display: grid; grid-template-columns: 5.2rem 1fr; align-items: center; gap: 0.5rem; }
.note-row-name { font-weight: 600; color: var(--navy-700); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-row .input { padding: 0.45rem 0.6rem; font-size: 0.92rem; }
/* De laatste tracteert (v1.0.29) */
.treat-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.85rem;
  background: linear-gradient(135deg, #f7b733 0%, var(--orange-400) 60%, var(--orange-500) 100%);
  border-radius: 1rem; padding: 0.9rem 1rem; margin: 0.9rem 0 0.4rem; color: #fff;
  box-shadow: 0 6px 18px rgba(189,88,0,0.25); border: 1px solid rgba(255,255,255,0.35);
}
.treat-ico { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; color: #fff; position: relative; z-index: 1; }
.treat-ico svg { width: 1.6rem; height: 1.6rem; }
.treat-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.treat-eyebrow { display: block; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.treat-title { display: block; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.2; margin-top: 0.1rem; }
.treat-sub { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.9); margin-top: 0.2rem; }
.treat-foam { position: absolute; right: -0.6rem; bottom: -1.4rem; width: 6rem; height: 6rem; color: rgba(255,255,255,0.14); transform: rotate(-12deg); }
.treat-foam svg { width: 100%; height: 100%; }
/* Spelers kiezen (v1.0.29): een chip die je nog kan toevoegen heeft een stippellijn en een plusje. */
.who-chip.is-pick { background: #fff; border: 1.5px dashed var(--navy-200); color: var(--navy-700); }
.who-chip.is-pick .who-chip-av { background: var(--navy-100); color: var(--navy-700); }
.who-chip-plus { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--orange-400); color: #fff; font-weight: 700; font-size: 0.85rem; margin-left: 0.15rem; }
.open-chosen .open-search { margin-top: 0; }
/* Spelers kiezen (v1.0.29): een chip die je nog kan toevoegen heeft een stippellijn en een plusje. */
.who-chip.is-pick { background: #fff; border: 1.5px dashed var(--navy-200); color: var(--navy-700); }
.who-chip.is-pick .who-chip-av { background: var(--navy-100); color: var(--navy-700); }
.who-chip-plus { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--orange-400); color: #fff; font-weight: 700; font-size: 0.85rem; margin-left: 0.15rem; }
.open-chosen .open-search { margin-top: 0; }
.open-add-hint { display: inline-flex; align-items: center; font-size: 0.82rem; color: var(--orange-700); font-weight: 600; padding: 0.25rem 0.2rem; }
.open-add-hint::after { content: '↓'; margin-left: 0.3rem; }
.btn-ghost-danger { color: var(--red); }
.open-add-btn { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.4rem; padding: 0.5rem 0.9rem; font-size: 0.9rem; border-radius: 999px; }
.open-add-btn svg { width: 1.1rem; height: 1.1rem; }
.open-search { margin-top: 0.9rem; }
.open-search-wrap { position: relative; display: block; margin-top: 0.9rem; }
.open-search-ico { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--text-faint); display: inline-flex; pointer-events: none; }
.open-search-ico svg { width: 1.1rem; height: 1.1rem; }
.open-search-wrap .open-search { margin-top: 0; padding-left: 2.5rem; }
.open-add-chev { color: var(--text-faint); margin-left: 0.1rem; }
.open-add-btn { max-width: 100%; }
.open-add-btn > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
