:root {
  --bg: #fff7ed;
  --bg-soft: #fffbf5;
  --surface: #ffffff;
  --surface-warm: #fff3e0;
  --text: #1f2933;
  --muted: #6b7280;
  --accent: #f58220;
  --accent-dark: #d96a0f;
  --accent-soft: #ffe1bf;
  /* Logo: oranje uit "baas" / kroon */
  --brand-orange: #f5a030;
  --brand-orange-deep: #e8640a;
  --brand-orange-soft: #fff0e0;
  --brand-gray: #3d3d3d;
  --blue: #1d4ed8;
  --danger: #c2410c;
  --danger-bg: #fff1f2;
  --ok: #15803d;
  --ok-bg: #ecfdf3;
  --border: #eadfd2;
  --shadow: 0 16px 40px rgba(127, 74, 20, 0.1);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 130, 32, 0.16), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 52%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

a:hover { text-decoration: underline; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(127, 74, 20, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--text);
  min-width: 0;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  display: block;
  width: clamp(12rem, 26vw, 18rem);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.nav a,
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #374151;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav a:hover,
.link-button:hover {
  background: var(--surface-warm);
  color: var(--accent-dark);
  text-decoration: none;
}

.nav a.active {
  background: var(--accent);
  color: #ffffff;
}

.nav-user {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding-inline: 0.35rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-user:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.nav .nav-faq {
  margin-left: auto;
  border: 1px solid var(--accent-soft);
  color: var(--brand-orange-deep);
  font-weight: 700;
}

.nav .nav-faq:hover {
  background: var(--brand-orange-soft);
  border-color: var(--brand-orange);
  color: var(--brand-orange-deep);
}

.nav .nav-faq.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent-dark);
}

.faq-page {
  max-width: 60rem;
}

.faq-lead {
  margin-bottom: 1.25rem;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  padding: 0.85rem;
  background: rgba(255, 240, 224, 0.55);
  border: 1px solid #f0d4b8;
  border-radius: var(--radius);
}

.faq-toc-item {
  padding: 0.35rem 0.7rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-orange-deep);
  text-decoration: none;
}

.faq-toc-item:hover {
  background: var(--brand-orange-soft);
  border-color: var(--brand-orange);
  text-decoration: none;
}

.faq-section {
  margin-bottom: 2rem;
  scroll-margin-top: 5rem;
}

.faq-section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--brand-orange-deep);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 0.35rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(31, 41, 51, 0.04);
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--brand-orange);
  box-shadow: 0 10px 24px rgba(217, 106, 15, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  flex: 1 1 auto;
  font-size: 1rem;
}

.faq-question-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-question-icon {
  transform: rotate(45deg);
  background: var(--brand-orange);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: #4b5563;
  line-height: 1.55;
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: var(--brand-orange-deep);
}

.faq-answer em {
  font-style: normal;
  background: var(--brand-orange-soft);
  padding: 0 0.35em;
  border-radius: 4px;
  color: var(--brand-orange-deep);
  font-weight: 600;
}

.faq-cta {
  margin-top: 2rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 130, 32, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-orange-soft) 100%);
  border: 1px solid #f0d4b8;
  border-left: 4px solid var(--brand-orange-deep);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 10px 24px rgba(217, 106, 15, 0.08);
}

.faq-cta h2 {
  margin: 0 0 0.4rem;
  color: var(--brand-orange-deep);
  font-size: 1.15rem;
}

.faq-cta p {
  margin: 0 0 0.6rem;
  color: #5c5348;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

@media (max-width: 760px) {
  .nav .nav-faq {
    margin-left: 0;
  }

  .faq-toc {
    padding: 0.6rem;
  }

  .faq-question {
    padding: 0.7rem 0.85rem;
  }

  .faq-answer {
    padding: 0 0.85rem 0.9rem;
  }
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: var(--surface-warm);
  color: var(--accent-dark);
  outline: none;
}

.nav-dropdown-toggle.active {
  background: var(--accent);
  color: #ffffff;
}

.nav-dropdown-caret {
  font-size: 0.75em;
  line-height: 1;
  transition: transform 0.18s ease;
}

.nav-dropdown.open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  right: 0;
  min-width: 13rem;
  display: none;
  flex-direction: column;
  padding: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
  z-index: 20;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  min-height: 0;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--surface-warm);
  color: var(--accent-dark);
  text-decoration: none;
  outline: none;
}

.nav-dropdown-menu a.active {
  background: var(--accent);
  color: #ffffff;
}

.inline-form { display: inline; margin: 0; }

.link-button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.main {
  flex: 1;
  width: min(1120px, 100% - 2rem);
  margin: 1.25rem auto 2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(234, 223, 210, 0.9);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
}

.site-footer-text {
  margin: 0;
  max-width: none;
  font-size: clamp(0.68rem, 0.55vw + 0.62rem, 0.875rem);
  line-height: 1.35;
  white-space: nowrap;
}

.site-footer-text strong {
  color: #5c5348;
  font-weight: 700;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
}

.site-footer-nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus {
  color: var(--accent, #f58220);
  border-bottom-color: var(--accent, #f58220);
}

.site-footer-sep {
  color: var(--muted);
  opacity: 0.55;
}

@media (max-width: 420px) {
  .site-footer {
    padding-inline: 0.35rem;
  }

  .site-footer-text {
    font-size: clamp(0.56rem, 2.65vw, 0.72rem);
    letter-spacing: -0.02em;
    white-space: normal;
    text-align: center;
  }

  .site-footer-nav {
    font-size: 0.78rem;
    gap: 0.25rem 0.4rem;
  }

  .site-footer-sep {
    display: none;
  }
}

/* === Akkoord-checkbox bij registratie === */
.stack-form label.form-check,
.form-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  margin: 0.2rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent, #f58220);
}

.form-check span {
  flex: 1 1 auto;
  min-width: 0;
}

.form-check a {
  color: var(--accent, #f58220);
  font-weight: 600;
}

/* === Algemene voorwaarden pagina === */
.terms-page {
  max-width: 720px;
  margin: 0 auto;
}

.terms-page h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.terms-page p,
.terms-page ul {
  line-height: 1.65;
}

.terms-page ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0.8rem;
}

.terms-page ul li {
  margin-bottom: 0.3rem;
}

.terms-page .lead {
  margin-top: 0.5rem;
}

.terms-back {
  margin-top: 2rem;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-top: 1.5rem;
}

.hero {
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(245, 130, 32, 0.16), transparent 40%),
    linear-gradient(135deg, #ffffff 0%, var(--brand-orange-soft) 55%, #ffe8cc 100%);
  border: 1px solid #f0d4b8;
  border-left: 5px solid var(--brand-orange-deep);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 14px 36px rgba(217, 106, 15, 0.1);
}

.hero h1 {
  color: var(--brand-gray);
}

.hero h1 .hero-accent {
  color: var(--brand-orange-deep);
}

.hero .lead {
  color: #5c5348;
  max-width: 45rem;
  font-size: 1.08rem;
}

.lead {
  color: #4b5563;
  max-width: 45rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.hero-guest-lead {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.hero-pills {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #f0d4b8;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(217, 106, 15, 0.05);
  min-width: 0;
}

.hero-pill-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  border: 1px solid #f0c9a2;
  color: var(--brand-orange-deep);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.hero-pill-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-pill-body strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-gray);
  line-height: 1.2;
}

.hero-pill-sub {
  font-size: 0.72rem;
  line-height: 1.3;
  color: #6b5c4f;
}

@media (min-width: 900px) {
  .hero-pills {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-pill {
    padding: 0.65rem 0.75rem;
  }

  .hero-pill-body strong {
    font-size: 0.9rem;
  }

  .hero-pill-sub {
    font-size: 0.76rem;
  }
}

@media (max-width: 560px) {
  .hero-guest {
    padding: 1rem 0.85rem;
  }

  .hero-pills {
    grid-template-columns: 1fr;
  }

  .hero-pill-sub {
    font-size: 0.7rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-dashboard h1 {
  margin-bottom: 1.15rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #f0d4b8;
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  min-width: 0;
}

.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-orange-deep);
  margin-bottom: 0.35rem;
}

.hero-stat-value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-stat-value strong {
  font-size: 1.35rem;
  color: var(--brand-gray);
}

.hero-stat-meta {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5c5348;
  margin-top: 0.15rem;
}

.hero-stat-sub {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: #6b5c4f;
}

.hero-action-line {
  margin-bottom: 1rem;
}

.hero-next-match,
.hero-checklist {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #f0d4b8;
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
}

.hero-match-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.hero-match-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-weight: 700;
  color: var(--brand-gray);
}

.hero-match-team {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-match-vs {
  color: var(--muted);
  font-weight: 600;
}

.hero-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.88rem;
  color: #5c5348;
}

.hero-match-meta .muted {
  font-size: 0.86rem;
}

.hero-match-note {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
}

.hero-match-cta {
  margin-top: 0.65rem;
}

.hero-checklist ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hero-checklist li {
  margin: 0;
}

.hero-checklist a,
.hero-check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #5c5348;
  text-decoration: none;
}

.hero-checklist a:hover {
  color: var(--brand-orange-deep);
  text-decoration: none;
}

.hero-checklist li.is-done .hero-check-row {
  color: #6b7280;
}

.hero-check-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  position: relative;
}

.hero-checklist li.is-done .hero-check-icon {
  border-color: var(--brand-orange-deep);
  background: var(--brand-orange-deep);
}

.hero-checklist li.is-done .hero-check-icon::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.12rem;
  width: 0.3rem;
  height: 0.55rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hero-checklist li.is-todo .hero-check-icon {
  border-color: #f0c9a2;
  background: #fff;
}

.home-steps {
  margin-top: 2rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 0% 100%, rgba(245, 130, 32, 0.1), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-orange-soft) 100%);
  border: 1px solid #f0d4b8;
  border-top: 3px solid var(--brand-orange);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 12px 32px rgba(217, 106, 15, 0.08);
}

.home-steps-intro {
  margin: 0 0 1.15rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: #5c5348;
  font-weight: 500;
  line-height: 1.5;
}

.brand-highlight {
  color: var(--brand-orange-deep);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid #f0d4b8;
  border-top: 3px solid var(--brand-orange-deep);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(217, 106, 15, 0.08);
  padding: 1.15rem 1.15rem 1.25rem;
  min-width: 0;
}

.step-number {
  display: block;
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-orange-deep);
}

.step-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--brand-orange-deep);
}

.step-card p {
  margin: 0;
  color: #5c5348;
  font-size: 0.96rem;
  flex: 1 1 auto;
}

.step-scores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  width: 100%;
}

.step-scores li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.32rem 0.25rem;
  background: var(--brand-orange-soft);
  border: 1px solid #f0c9a2;
  border-radius: 999px;
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  color: #6b5c4f;
  white-space: nowrap;
  line-height: 1.2;
}

.step-scores strong {
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  color: var(--brand-orange-deep);
  font-weight: 800;
}

.step-card .btn-secondary {
  background: #ffffff;
  border-color: var(--brand-orange-deep);
  color: var(--brand-orange-deep);
  box-shadow: none;
}

.step-card .btn-secondary:hover {
  background: var(--brand-orange-deep);
  border-color: var(--brand-orange-deep);
  color: #ffffff;
}

.step-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.step-cta:hover {
  text-decoration: none;
}

.step-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  width: 100%;
}

.step-actions .step-cta {
  margin-top: 0;
}

.step-link {
  display: block;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-orange-deep);
}

.step-link:hover {
  color: var(--brand-orange);
  text-decoration: underline;
}

.home-wk-countdown {
  margin-top: 2rem;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 160, 48, 0.22), transparent 70%),
    linear-gradient(165deg, #2a1408 0%, #4a220c 42%, #6b3410 100%);
  border: 1px solid #8a4a18;
  border-radius: calc(var(--radius) + 10px);
  box-shadow:
    0 16px 40px rgba(42, 20, 8, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff8f0;
  text-align: center;
}

.home-wk-countdown-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.home-wk-countdown-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.home-wk-countdown h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.home-wk-countdown-lead {
  margin: 0 0 1.35rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 248, 240, 0.88);
}

.home-wk-countdown-lead strong {
  color: var(--brand-orange);
  font-weight: 700;
}

.wk-countdown-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.wk-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 4.25rem;
}

.wk-countdown-value {
  display: block;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.wk-countdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 232, 204, 0.75);
}

.wk-countdown-sep {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-orange);
  opacity: 0.85;
}

.home-wk-countdown-date {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 232, 204, 0.7);
}

.home-wk-countdown-done {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 248, 240, 0.92);
}

.home-wk-countdown-done strong {
  color: var(--brand-orange);
}

.home-wk-countdown-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.25rem 0 0;
}

.home-wk-countdown .btn-primary {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.home-wk-countdown .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 232, 204, 0.45);
  color: #fff8f0;
}

.home-wk-countdown .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff8f0;
  color: #ffffff;
}

.home-wk-countdown.is-started .home-wk-countdown-lead {
  margin-bottom: 1rem;
}

.home-schedule-banner {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.home-schedule-banner .btn-schedule {
  width: auto;
  max-width: none;
}

.schedule-page .schedule-intro {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
}

.schedule-round-cell,
.schedule-row-round {
  white-space: nowrap;
}

.schedule-round-num {
  font-size: 0.82em;
  color: var(--muted, #6b7280);
  font-weight: 500;
}

.schedule-row--round-label {
  display: block;
  padding: 0.55rem 0.7rem;
  background: #e8c4a0;
  color: #4a2510;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(74, 37, 16, 0.12);
  list-style: none;
}

.schedule-row--round-label .schedule-round-label-text {
  display: block;
}

.schedule-round-label--above-day {
  margin: 0.9rem 0 0;
  padding: 0.55rem 0.7rem;
  background: #e8c4a0;
  color: #4a2510;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(74, 37, 16, 0.12);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.schedule-round-label--above-day:first-child {
  margin-top: 0;
}

.schedule-round-label--above-day + .schedule-day {
  margin-top: 0;
}

.schedule-day--after-round .schedule-day-header {
  border-radius: 0;
  border-top: none;
}

.data-table.schedule-table tr.schedule-round-banner-row td.schedule-round-banner-cell {
  padding: 0.55rem 0.7rem;
  background: #e8c4a0;
  color: #4a2510;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(74, 37, 16, 0.1);
  border-bottom: 1px solid rgba(74, 37, 16, 0.12);
}

.data-table.schedule-table tr.schedule-round-banner-row:first-child td.schedule-round-banner-cell {
  border-top: none;
}

.schedule-table-wrap {
  margin-top: 1.25rem;
}

.schedule-table {
  width: 100%;
}

.schedule-table th,
.schedule-table td {
  vertical-align: middle;
}

.schedule-team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.schedule-team span {
  white-space: nowrap;
}

.schedule-score-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* === Wedstrijdschema mobile: gegroepeerd per dag === */
.schedule-mobile { display: none; }

.schedule-day {
  margin: 0 0 0.9rem;
}

.schedule-day-header {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c2d12;
  background: var(--surface-warm, #fef3c7);
  border: 1px solid var(--accent-soft, rgba(245, 130, 32, 0.25));
  border-radius: 10px 10px 0 0;
}

.schedule-day-today .schedule-day-header {
  background: var(--accent, #f58220);
  color: #fff;
  border-color: var(--accent, #f58220);
}

.schedule-day-rel { font-weight: 800; }
.schedule-day-sep { margin: 0 0.3rem; opacity: 0.6; }

.schedule-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(31, 41, 51, 0.04);
}

.schedule-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "time match"
    ".    round";
  align-items: center;
  column-gap: 0.55rem;
  row-gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.06));
}

.schedule-row:last-child { border-bottom: none; }

.schedule-row-time {
  grid-area: time;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.schedule-row-match {
  grid-area: match;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.schedule-team-mobile {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.schedule-team-mobile.team-home {
  justify-content: flex-end;
  text-align: right;
}

.schedule-team-mobile.team-away {
  justify-content: flex-start;
  text-align: left;
}

.schedule-team-mobile .schedule-team-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
}

.schedule-team-mobile .country-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.schedule-row-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  min-width: 2.8rem;
  text-align: center;
}

.schedule-row-score .muted {
  font-weight: 500;
  font-size: 0.85rem;
}

.schedule-row-round {
  grid-area: round;
  font-size: 0.76rem;
  color: var(--muted, #6b7280);
  text-align: right;
}

@media (min-width: 761px) {
  .schedule-table {
    font-size: 0.92rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.5rem 0.55rem;
    white-space: nowrap;
  }

  .schedule-team-cell {
    max-width: 11rem;
  }

  .schedule-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 8.5rem;
  }
}

@media (max-width: 760px) {
  .home-schedule-banner {
    flex-direction: column;
  }

  .home-schedule-banner .btn-schedule {
    width: 100%;
  }

  .schedule-team {
    flex-wrap: wrap;
  }

  /* Op mobiel: toon gegroepeerde lijst, verberg desktop-tabel */
  .schedule-mobile { display: block; }
  .schedule-desktop { display: none; }
}

.standings-page .standings-intro {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
}

.standings-legend {
  margin: 0.75rem 0 1rem;
  font-size: 0.85rem;
}

.standings-legend strong {
  color: var(--brand-orange-deep);
  font-weight: 800;
}

.standings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.standings-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-orange-deep);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05);
  padding: 0.85rem 1rem 1rem;
  min-width: 0;
  overflow: hidden;
}

.standings-group-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--brand-orange-deep);
}

.standings-card {
  min-width: 0;
}

.standings-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}

.standings-table th,
.standings-table td {
  padding: 0.35rem 0.4rem;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.standings-table tbody tr:last-child td {
  border-bottom: none;
}

.standings-table th {
  font-weight: 700;
  color: #6b5c4f;
  text-align: center;
  background: rgba(255, 240, 224, 0.55);
}

.standings-table .col-rank {
  width: 1.75rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.standings-table .col-team {
  text-align: left;
  width: auto;
  min-width: 0;
  padding-left: 0.4rem;
}

.standings-table .col-stat {
  width: 2.1rem;
  text-align: center;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.standings-table .col-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  height: auto;
}

.standings-table .col-team .country-icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 0.95rem;
  border-radius: 2px;
  vertical-align: middle;
  margin: 0;
}

.standings-team-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.standings-table .col-points {
  font-weight: 800;
  color: var(--brand-orange-deep);
}

.standings-table tbody tr:nth-child(-n+2) td {
  background: rgba(255, 240, 224, 0.35);
}

.standings-page--league .standings-table tbody tr:nth-child(-n+2) td {
  background: transparent;
}

.standings-page--league .standings-table tbody tr.is-qualify-r16 td {
  background: rgba(22, 163, 74, 0.08);
}

.standings-page--league .standings-table tbody tr.is-qualify-playoff td {
  background: rgba(37, 99, 235, 0.06);
}

.standings-page--league .standings-table tbody tr.is-out td {
  color: var(--muted);
}

.standings-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.standings-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.standings-legend-item::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.standings-legend-r16::before { background: rgba(22, 163, 74, 0.45); }
.standings-legend-po::before { background: rgba(37, 99, 235, 0.4); }
.standings-legend-out::before { background: #d4d4d4; }

.archive-banner {
  margin: 0 0 1rem;
  padding: 0.7rem 1rem;
  background: #f4f4f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.cl-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange-deep);
}

.cl-rounds {
  margin: 1.75rem 0;
}

.cl-rounds-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.cl-rounds-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cl-rounds-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cl-schedule-wait {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  background: var(--brand-orange-soft);
  border: 1px solid #f0d4b8;
  border-left: 4px solid var(--brand-orange-deep);
  border-radius: var(--radius);
}

.cl-schedule-wait h2 {
  margin: 0 0 0.5rem;
}

.schedule-archive-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.cl-club-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
}

.cl-club-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.home-cl-club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

@media (min-width: 720px) {
  .cl-rounds-list,
  .cl-club-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .cl-club-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cl-rounds-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .standings-card {
    padding: 0.75rem 0.75rem 0.85rem;
  }

  .standings-table {
    font-size: 0.85rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 0.3rem 0.2rem;
  }

  .standings-table .col-rank {
    width: 1.4rem;
    padding-left: 0;
    padding-right: 0.15rem;
  }

  .standings-table .col-stat {
    width: 1.75rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .standings-table .col-team {
    gap: 0.3rem;
    padding-left: 0.2rem;
  }

  .standings-table .col-team .country-icon {
    width: 1.05rem;
    height: 0.8rem;
  }
}

@media (min-width: 720px) {
  .standings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standings-page--league .standings-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1080px) {
  .standings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .standings-page--league .standings-grid {
    grid-template-columns: 1fr;
  }

  .standings-table {
    font-size: 0.85rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 0.3rem 0.25rem;
  }

  .standings-table .col-stat {
    width: 1.85rem;
  }

  .standings-table .col-team .country-icon {
    margin: 0;
  }
}

.ranking-empty-card {
  margin-top: 1.25rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 130, 32, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-orange-soft) 100%);
  border: 1px solid #f0d4b8;
  border-left: 4px solid var(--brand-orange-deep);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 10px 24px rgba(217, 106, 15, 0.08);
}

.ranking-empty-card h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-orange-deep);
}

.ranking-empty-card p {
  margin: 0 0 0.6rem;
  color: #5c5348;
  line-height: 1.55;
}

.ranking-empty-card p:last-child {
  margin-bottom: 0;
}

.ranking-empty-card strong {
  color: var(--brand-orange-deep);
}

.home-groups {
  margin-top: 2rem;
}

.home-teaser {
  margin: 2.5rem 0 1rem;
  padding: clamp(0.75rem, 2.5vw, 1.5rem) 0;
  background: transparent;
  text-align: center;
  position: relative;
}

.home-teaser-eyebrow {
  display: inline;
  font-family: 'Caveat', 'Segoe Script', 'Brush Script MT', cursive;
  font-size: 1em;
  font-weight: 700;
  color: var(--brand-orange-deep);
  margin-right: 0.25rem;
}

.home-teaser-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.home-teaser-quote p {
  margin: 0;
  font-family: 'Caveat', 'Segoe Script', 'Brush Script MT', cursive;
  font-size: clamp(1.1rem, 2.05vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: #4a3a2e;
  quotes: "“" "”" "‘" "’";
  text-wrap: balance;
}

.home-teaser-quote p::before {
  content: open-quote;
  margin-right: 0.15em;
  color: var(--brand-orange-deep);
  font-weight: 700;
}

.home-teaser-quote p::after {
  content: close-quote;
  margin-left: 0.15em;
  color: var(--brand-orange-deep);
  font-weight: 700;
}

.home-teaser-accent {
  color: var(--brand-orange-deep);
  font-weight: 700;
  white-space: nowrap;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin-bottom: 0.25rem;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
  padding: 1rem;
}

.group-card h3 {
  margin: 0 0 0.75rem;
  color: #7c2d12;
  font-size: 1.05rem;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.country-icon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 3px;
}

.team-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.team-cell > span {
  min-width: 0;
}

.country-icon-placeholder {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.24);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-warm);
  border-color: var(--accent-soft);
}

.btn-small {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.stack-form {
  width: min(100%, 28rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stack-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(245, 130, 32, 0.18);
  border-color: var(--accent);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.alert {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 650;
}

.alert-error {
  background: var(--danger-bg);
  border: 1px solid #fecaca;
  color: var(--danger);
}

.alert-success {
  background: var(--ok-bg);
  border: 1px solid #bbf7d0;
  color: var(--ok);
}

.alert-info {
  background: #e7f1ff;
  border: 1px solid #bcd0fb;
  color: #0a4ea3;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.big-code,
code {
  background: var(--surface-warm);
  border: 1px solid var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 8px;
  padding: 0.15rem 0.35rem;
}

.big-code {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  position: sticky;
  top: 0;
  background: var(--surface-warm);
  color: #7c2d12;
  white-space: nowrap;
}

.data-table tr:nth-child(even) td {
  background: #fffaf3;
}

.data-table th .th-sort {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-weight: 700;
  white-space: nowrap;
}

.data-table th .th-sort:hover {
  text-decoration: underline;
}

.data-table th .th-sort--active {
  color: #b45309;
}

.ranking-table {
  min-width: 0;
  table-layout: fixed;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
  width: 3.2rem;
  text-align: center;
}

.ranking-table th:nth-child(3),
.ranking-table td:nth-child(3) {
  width: 5.2rem;
  text-align: right;
}

.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
  width: auto;
  overflow-wrap: anywhere;
}

.score-input {
  width: 4rem;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pred-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem;
  width: 100%;
  max-width: 20rem;
}

.pred-scores {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.pred-score-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
}

.pred-score-hint {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  line-height: 1;
}

.pred-sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 0.45rem;
  line-height: 1;
}

.pred-form .score-input {
  width: 3.25rem;
  min-height: 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.35rem 0.4rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pred-form--filled .score-input {
  background: var(--brand-orange-soft);
  border-color: #f0b070;
  color: var(--brand-gray);
}

.pred-save {
  flex: 0 0 auto;
}

@media (min-width: 761px) {
  .predictions-table th,
  .predictions-table td {
    padding: 0.45rem 0.55rem;
    vertical-align: middle;
  }

  .predictions-table .pred-score-hint {
    display: none;
  }

  .pred-form {
    align-items: center;
    max-width: none;
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .pred-scores {
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
  }

  .pred-score-field {
    flex-direction: row;
  }

  .pred-form .score-input {
    width: 2.5rem;
    min-height: 1.85rem;
    padding: 0.15rem 0.25rem;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .pred-sep {
    padding-bottom: 0;
    font-size: 0.95rem;
  }

  .predictions-table .pred-save {
    min-height: 1.85rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.82rem;
  }

  .predictions-table .pred-current {
    display: none;
  }
}

.pred-current {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
}

.pred-result {
  font-weight: 700;
}

.inline-pred,
.inline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.inline-row label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 12rem;
  font-weight: 700;
}

.predictions-ko-notice {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5c2a0a;
  background: var(--surface-warm, #fef3c7);
  border: 1px solid var(--accent-soft, rgba(245, 130, 32, 0.28));
  border-radius: 10px;
}

.predictions-ko-notice a {
  font-weight: 600;
  white-space: nowrap;
}

.admin-ko-score-note {
  margin-top: -0.35rem;
}

.predictions-filter {
  margin: 1rem 0 1.35rem;
}

.predictions-filter label {
  min-width: min(100%, 16rem);
}

.predictions-table-wrap {
  margin-top: 0.75rem;
}

.admin-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.admin-links a {
  display: block;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05);
}

.admin-links a:hover {
  background: var(--surface-warm);
  text-decoration: none;
}

/* === Admin: gebruikers-overzicht === */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.admin-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05);
}

.admin-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.admin-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1f2933;
}

.admin-stat-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.admin-sort-bar {
  display: none;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-sort-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  flex: 1 1 10rem;
}

.admin-sort-field select {
  font-weight: 600;
  color: #1f2933;
  min-height: 2.5rem;
}

.admin-bulk-panel {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
}

.admin-bulk-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.admin-bulk-summary::-webkit-details-marker {
  display: none;
}

.admin-bulk-summary::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.9em;
  transition: transform 0.15s ease;
}

.admin-bulk-panel[open] .admin-bulk-summary::before {
  transform: rotate(90deg);
}

.admin-bulk-title {
  flex: 1 1 auto;
  font-size: 1.05rem;
}

.admin-bulk-summary-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.admin-bulk-panel[open] .admin-bulk-summary-hint {
  display: none;
}

.admin-bulk-panel > p:first-of-type {
  margin-top: 0.75rem;
}

.admin-bulk-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.admin-bulk-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-bulk-label input[type="datetime-local"] {
  width: auto;
  min-width: 14rem;
  max-width: 100%;
}

.admin-bulk-count {
  flex: 1 1 100%;
  margin: 0;
}

.admin-mail-filters {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.admin-mail-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
}

.admin-mail-filters-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-mail-filters-grid input,
.admin-mail-filters-grid select {
  width: 100%;
}

.admin-mail-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-mail-log-table .mail-log-error-cell {
  max-width: 18rem;
  font-size: 0.82rem;
  color: #991b1b;
  word-break: break-word;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.admin-shortcuts {
  margin: 0.5rem 0 0;
}

/* Gespeelde wedstrijden in de filter-dropdown duidelijk markeren */
.match-option--played {
  color: #15803d;
}

.admin-matches-table .admin-match-row--finished td {
  background: #f0fdf4;
  color: #166534;
}

.admin-matches-table .admin-match-row--finished:nth-child(even) td {
  background: #dcfce7;
}

.admin-matches-table .admin-match-row--focus td {
  scroll-margin-top: 5.5rem;
  box-shadow: inset 3px 0 0 var(--accent);
}

.admin-matches-table .admin-match-row--pending td {
  background: #fffbeb;
  color: #92400e;
}

.admin-matches-table .admin-match-teams-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  max-width: 22rem;
}

.admin-matches-table .admin-match-teams-form select {
  min-width: 7rem;
  max-width: 10rem;
  font-size: 0.85rem;
}

.team-name--placeholder,
.team-cell--placeholder {
  font-style: italic;
  color: var(--muted, #6b7280);
}

.predictions-table .predictions-row--pending td {
  background: #fffbeb;
}

.predictions-table .pred-locked {
  display: inline-block;
  font-size: 0.9rem;
}

.predictions-match-round {
  display: block;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.admin-drunen-predictions .schedule-row.admin-match-row--finished {
  background: #f0fdf4;
  color: #166534;
}

.admin-drunen-predictions .schedule-table .admin-match-row--finished td {
  background: #f0fdf4;
  color: #166534;
}

.admin-drunen-predictions .schedule-table .admin-match-row--finished:nth-child(even) td {
  background: #dcfce7;
}

.admin-drunen-predictions .schedule-row.admin-match-row--focus,
.admin-drunen-predictions .schedule-table .admin-match-row--focus td {
  scroll-margin-top: 5.5rem;
  box-shadow: inset 3px 0 0 var(--accent);
}

.admin-drunen-predictions .schedule-row {
  grid-template-areas:
    "time match"
    ".    round"
    "preds preds";
}

.admin-pool-preds {
  grid-area: preds;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.15rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #e5e7eb;
  font-size: 0.85rem;
}

.admin-drunen-predictions .schedule-row.admin-match-row--finished .admin-pool-preds {
  border-top-color: #bbf7d0;
}

.admin-pool-pred strong {
  font-weight: 600;
  margin-right: 0.15rem;
}

.admin-pool-pred-col,
.admin-pool-pred-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: center;
}

.admin-pagination-current {
  background: var(--accent);
  color: #fff;
  cursor: default;
}

.admin-pagination-gap {
  padding: 0 0.25rem;
  color: var(--muted);
}

.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.admin-delete-user {
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.admin-delete-user h2 {
  margin: 0 0 0.25rem;
}

.admin-delete-pool {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.admin-delete-pool-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.admin-delete-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.admin-delete-radio input[type="radio"] {
  width: auto;
  margin: 0;
}

.admin-delete-select {
  width: auto;
  min-width: 12rem;
  max-width: 100%;
}

.admin-delete-confirm.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.25rem 0;
  font-weight: 400;
}

.admin-delete-confirm.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.admin-delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.account-delete-page {
  max-width: 40rem;
}

.account-delete-page h2 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.15rem;
}

.account-delete-form {
  width: 100%;
  max-width: 40rem;
  margin-top: 1.25rem;
}

.account-delete-pool-outcome {
  margin: 0.35rem 0 0;
}

.account-delete-form .admin-delete-pool {
  width: 100%;
}

.account-delete-form .admin-delete-radio {
  flex-direction: row;
  font-weight: 500;
  width: auto;
}

.account-delete-form .admin-delete-radio input[type="radio"] {
  width: auto;
}

.account-delete-form .admin-delete-select {
  width: auto;
}

.badges-account-footer,
.pools-account-footer {
  margin-top: 2.5rem;
  font-size: 0.85rem;
}

.account-delete-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.account-delete-link:hover,
.account-delete-link:focus-visible {
  color: #991b1b;
}

.status-pill,
.badge-pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.status-ok {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

.status-warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.admin-pill {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  margin-left: 0.3rem;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1rem, 1120px);
  }

  .header-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .brand-logo {
    width: min(72vw, 14rem);
  }

  .nav-dropdown-menu {
    z-index: 100;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    box-shadow: 0 12px 32px rgba(31, 41, 51, 0.18);
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .site-header,
  .header-inner {
    overflow: visible;
  }

  .nav a,
  .link-button {
    white-space: nowrap;
    min-height: 2rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.88rem;
  }

  .nav-user {
    display: none;
  }

  .main {
    width: min(100% - 1rem, 1120px);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
  }

  .hero {
    padding: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-match-row {
    flex-direction: column;
  }

  .hero-match-teams {
    font-size: 0.95rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .wk-countdown-unit {
    min-width: 3.35rem;
  }

  .wk-countdown-sep {
    margin-top: 0.2rem;
  }

  .home-wk-countdown-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-wk-countdown-cta .btn {
    width: 100%;
  }

  .step-card {
    padding: 1rem;
  }

  .step-number {
    font-size: 2.1rem;
  }

  .group-grid {
    grid-template-columns: 1fr;
  }

  .stack-form {
    width: 100%;
  }

  .inline-row,
  .inline-pred {
    align-items: stretch;
  }

  .inline-row label,
  .inline-row select,
  .inline-row input {
    width: 100%;
    min-width: 0;
  }

  .score-input {
    width: 4.4rem;
  }

  .admin-links {
    grid-template-columns: 1fr;
  }

  .admin-sort-bar {
    display: flex;
  }

  .ranking-table {
    min-width: 0;
    font-size: 0.9rem;
  }

  .ranking-table th,
  .ranking-table td {
    padding: 0.6rem 0.45rem;
  }

  .ranking-table th:first-child,
  .ranking-table td:first-child {
    width: 2.6rem;
  }

  .ranking-table th:nth-child(3),
  .ranking-table td:nth-child(3) {
    width: 4.4rem;
  }

  .responsive-card-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .responsive-card-table thead {
    display: none;
  }

  .responsive-card-table,
  .responsive-card-table tbody,
  .responsive-card-table tr,
  .responsive-card-table td {
    display: block;
    width: 100%;
  }

  .responsive-card-table tr {
    width: calc(100% - 1rem);
    margin: 0.85rem auto;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05);
  }

  .responsive-card-table tr:nth-child(even) td {
    background: transparent;
  }

  .responsive-card-table td {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.75rem;
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0;
  }

  .responsive-card-table td:last-child {
    border-bottom: none;
  }

  .responsive-card-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
  }

  .table-wrap:has(.responsive-card-table) {
    border: none;
    background: transparent;
    overflow-x: visible;
  }

  .predictions-table td.pred-cell {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .predictions-table td.pred-cell::before {
    margin-bottom: 0.1rem;
  }

  .pred-form {
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }

  .pred-scores {
    justify-content: center;
    gap: 0.65rem;
  }

  .pred-score-field {
    flex: 1 1 0;
    max-width: 5.5rem;
  }

  .pred-form .score-input {
    width: 100%;
    max-width: 5.5rem;
    min-height: 2.75rem;
    font-size: 1.15rem;
  }

  .pred-sep {
    padding-bottom: 0.55rem;
    font-size: 1.35rem;
  }

  .pred-save {
    width: 100%;
    min-height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .wk-countdown-grid {
    flex-wrap: nowrap;
    gap: 0.2rem 0.3rem;
    width: 100%;
  }

  .wk-countdown-unit {
    min-width: 0;
    flex: 1 1 0;
  }

  .wk-countdown-value {
    font-size: clamp(1.4rem, 7.5vw, 2rem);
    letter-spacing: -0.03em;
  }

  .wk-countdown-sep {
    margin-top: 0.15rem;
    font-size: 1.15rem;
  }

  .wk-countdown-label {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
}

/* Badges */
.home-badges-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 50%, rgba(245, 130, 32, 0.18), transparent 55%),
    linear-gradient(135deg, var(--brand-orange-soft) 0%, var(--surface) 100%);
  border: 1px solid var(--accent-soft);
  box-shadow: var(--shadow);
}

.home-badges-banner-text h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.home-badges-banner-text p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 32rem;
}

.home-badges-banner-actions {
  margin-bottom: 0 !important;
}

.home-badges-banner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem 0.5rem;
}

.home-badges-banner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.45rem 0.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-width: 0;
}

.home-badges-banner-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(205, 127, 50, 0.45);
}

.home-badges-banner-badge--silver .home-badges-banner-icon {
  box-shadow: 0 0 0 2px rgba(160, 174, 192, 0.7);
}

.home-badges-banner-badge--gold .home-badges-banner-icon {
  box-shadow: 0 0 0 2px rgba(255, 196, 0, 0.7);
}

.home-badges-banner-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 860px) {
  .home-badges-banner {
    grid-template-columns: 1fr;
    padding: 1rem 1.1rem;
  }

  .home-badges-banner-text h2 {
    font-size: 1.35rem;
  }

  .home-badges-banner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .home-badges-banner-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
  }

  .home-badges-banner-name {
    font-size: 0.6rem;
    line-height: 1.1;
  }
}

.badges-page-header {
  margin-bottom: 1.5rem;
}

.badges-page-intro {
  margin-top: 0.4rem;
  max-width: 36rem;
}

.badges-empty {
  border: 1px dashed var(--border);
  background: var(--surface-warm);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
}

.badges-empty p {
  margin: 0 0 0.6rem;
}

.badges-empty p:last-child {
  margin: 0;
}

.badges-section-title {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.85rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.85rem;
}

.badge-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.9rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 7.5rem;
}

.badge-tile--earned {
  position: relative;
}

.badge-tier-bronze.badge-tile--earned {
  box-shadow: 0 0 0 2px rgba(205, 127, 50, 0.45), var(--shadow);
}

.badge-tier-silver.badge-tile--earned {
  box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.65), var(--shadow);
}

.badge-tier-gold.badge-tile--earned {
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.55), var(--shadow);
}

.badge-tile--locked {
  background: #f3f4f6;
  border-style: dashed;
  opacity: 0.92;
}

.badge-tile-icon {
  font-size: 2rem;
  line-height: 1;
}

.badge-tile-icon--muted {
  opacity: 0.45;
  filter: grayscale(1);
}

.badge-tile-lock {
  font-size: 0.75rem;
  line-height: 1;
}

.badge-tile-name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.badge-tile-meta,
.badge-tile-hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.badge-tile-hint {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-row--me {
  background: var(--brand-orange-soft);
  scroll-margin-top: 1rem;
}

.ranking-me-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--brand-orange);
  border-radius: 999px;
  vertical-align: middle;
}

.ranking-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ranking-comp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.ranking-comp-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.ranking-comp-tab:hover,
.ranking-comp-tab:focus-visible {
  border-color: var(--accent);
}

.ranking-comp-tab.is-active {
  background: var(--accent, #16a34a);
  border-color: var(--accent, #16a34a);
  color: #fff;
}

.ranking-comp-tab-meta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.ranking-toolbar p {
  margin: 0;
}

.ranking-player-cell {
  vertical-align: middle;
}

.ranking-player-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.ranking-player-name {
  font-weight: 600;
}

.player-badges {
  display: inline-flex;
  gap: 0.15rem;
  align-items: center;
}

.player-badge {
  font-size: 0.95rem;
  line-height: 1;
  cursor: help;
}

.badge-toast-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.badge-toast {
  border-radius: var(--radius);
  border: 1px solid var(--accent-soft);
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, var(--brand-orange-soft) 100%);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  animation: badge-toast-in 0.35s ease-out;
}

.badge-toast-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.badge-toast-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.badge-toast-desc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.badge-toast-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.badge-toast.is-dismissed {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes badge-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Pool invite (compact: 2 rijen op desktop/iPad, 2 rijen op mobiel) === */
.pool-invite-card {
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--accent-soft, rgba(245, 130, 32, 0.25));
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 130, 32, 0.10), transparent 55%),
    var(--surface, #fff7ed);
  box-shadow: var(--shadow, 0 6px 18px rgba(31, 41, 51, 0.06));
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pool-invite-line {
  display: flex;
  align-items: center;
  gap: 0.4rem 0.6rem;
  flex-wrap: wrap;
  min-width: 0;
}

.pool-invite-line-code {
  flex-wrap: nowrap;
}

.pool-invite-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text, #1f2933);
  white-space: nowrap;
  flex-shrink: 0;
}

.pool-invite-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.btn-small {
  padding: 0.4rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.1;
}

.btn-icon {
  display: inline-block;
  margin-right: 0.25rem;
}

.btn-share .btn-icon {
  font-size: 1rem;
}

.big-code {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  color: var(--text, #1f2933);
  user-select: all;
  word-break: break-all;
  min-width: 0;
}

.pool-invite-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.pool-invite-whatsapp:hover,
.pool-invite-whatsapp:focus {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}

.is-copied {
  background: #198754 !important;
  color: #fff !important;
  border-color: #198754 !important;
}

/* label-swap: korte vs volledige tekst per breakpoint */
.label-short { display: none; }

.pool-action-buttons {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Pool-join page (invitee landing) */
.pool-join-page {
  max-width: 540px;
  margin: 0 auto;
}

.pool-invite-preview {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--accent-soft, rgba(245, 130, 32, 0.25));
  background: var(--surface, #fff7ed);
}

.pool-invite-preview-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pool-invite-preview-name {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
}

.pool-join-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

@media (max-width: 480px) {
  .pool-invite-card {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }
  .pool-invite-line {
    gap: 0.3rem 0.45rem;
  }
  .pool-invite-label {
    font-size: 0.88rem;
  }
  .label-full { display: none; }
  .label-short { display: inline; }

  .pool-invite-buttons {
    gap: 0.3rem;
  }
  /* Op mobiel: share-knoppen icon-only zodat ze samen met het label op 1 rij passen */
  .btn-share {
    padding: 0.45rem 0.55rem;
    min-width: 2.4rem;
  }
  .btn-share .btn-icon {
    margin-right: 0;
    font-size: 1.1rem;
  }
  .btn-share .btn-label {
    display: none;
  }

  .big-code {
    font-size: 0.95rem;
    padding: 0.25rem 0.45rem;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pool-invite-copy-code {
    padding: 0.4rem 0.55rem;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .pool-join-cta .btn {
    width: 100%;
  }
}

/* === SEO content blocks (home, schedule, standings, faq, auth) === */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-seo {
  margin: 4rem auto 2rem;
  max-width: 880px;
  padding: 0 1rem;
  color: var(--text, #1f2933);
}

.home-seo-block {
  margin-bottom: 2.25rem;
}

.home-seo-block h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.home-seo-block p,
.home-seo-block li,
.home-seo-block dd {
  line-height: 1.65;
  font-size: 1rem;
}

.home-seo-block p + p {
  margin-top: 0.6rem;
}

.home-seo-steps {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.home-seo-list {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.home-seo-faq {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.home-seo-faq dt {
  font-weight: 600;
}

.home-seo-faq dd {
  margin: 0.15rem 0 0;
  color: var(--muted, #4a5568);
}

.home-seo-faq-cta {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted, #4a5568);
}

.home-seo-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Schedule + standings shared lead/info */
.schedule-lead,
.standings-lead {
  margin: 0.5rem 0 1.5rem;
  max-width: 760px;
  color: var(--text, #1f2933);
  line-height: 1.6;
}

.schedule-lead p + p,
.standings-lead p + p {
  margin-top: 0.5rem;
}

.schedule-cta,
.standings-cta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.schedule-info,
.standings-info {
  margin: 2.5rem 0 1rem;
  max-width: 880px;
  line-height: 1.65;
}

.schedule-info h2,
.standings-info h2 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.6rem;
}

.schedule-points,
.standings-rules {
  padding-left: 1.25rem;
  margin: 0.4rem 0 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.standings-glossary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 0.9rem;
  margin: 0.4rem 0 0.8rem;
}

.standings-glossary dt {
  font-weight: 600;
}

.standings-glossary dd {
  margin: 0;
  color: var(--muted, #4a5568);
}

.schedule-back,
.standings-back {
  margin-top: 2rem;
}

.schedule-back a,
.standings-back a {
  color: var(--muted, #4a5568);
}

/* FAQ quick-links */
.faq-quicklinks {
  margin: 0.4rem 0 1.4rem;
  color: var(--muted, #4a5568);
  font-size: 0.95rem;
}

.faq-quicklinks a {
  margin: 0 0.15rem;
}

/* Auth pages (register/login) */
.auth-page {
  max-width: 540px;
  margin: 0 auto;
}

.auth-lead {
  margin: 0.25rem 0 1.4rem;
  line-height: 1.6;
}

.auth-forgot-line {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.92rem;
}

.auth-info {
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--surface-soft, #fff7ed);
  border-radius: 12px;
}

.auth-info h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.auth-info ul {
  padding-left: 1.2rem;
  margin: 0 0 0.6rem;
  display: grid;
  gap: 0.35rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .home-seo {
    margin-top: 2.5rem;
  }
  .home-seo-block h2,
  .schedule-info h2,
  .standings-info h2 {
    font-size: 1.2rem;
  }
}

/* ============================
   Pool uitnodigen / delen
   ============================ */

.pool-created-page {
  max-width: 42rem;
  margin: 0 auto;
}

.pool-created-card {
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.pool-created-eyebrow {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d97706;
}

.pool-created-card h1 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  line-height: 1.3;
}

.pool-created-lead {
  margin: 0 0 1.25rem;
  line-height: 1.55;
  font-size: 1rem;
}

.pool-invite-card--hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
  border-color: #f4c994;
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}

.pool-invite-buttons--hero {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pool-invite-buttons--hero .btn {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

/* Hero-variant: altijd icon + label tonen, ook op mobiel */
.pool-invite-card--hero .btn-share .btn-label {
  display: inline;
}

.pool-invite-card--hero .btn-share .btn-icon {
  margin-right: 0.4rem;
}

.pool-created-message-preview {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
}

.pool-created-message-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.pool-created-message-text {
  margin: 0 0 0.65rem;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
  background: transparent;
  border: none;
}

.pool-created-tip {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pool-created-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.pool-created-actions .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #64748b;
  font-weight: 500;
}

.pool-created-actions .btn-ghost:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.pools-share-banner {
  margin: 1rem 0 1.35rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
  border: 1px solid #f4c994;
  border-radius: 12px;
}

.pools-share-banner-title {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.pools-share-banner-text {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pools-share-banner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pools-share-banner-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.pools-share-banner-pool {
  font-size: 0.95rem;
}

.pool-list-card--quiet {
  border-color: #f4c994;
  background: linear-gradient(180deg, #fffbf5 0%, #ffffff 40%);
}

.pool-list-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e3e7ed;
}

.pool-list-member-count {
  font-size: 0.9rem;
  color: #475569;
}

.pool-list-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pool-empty-warning {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #fff7ed;
  border: 1px solid #f4c994;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
}

.pool-empty-warning strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #92400e;
}

.pool-empty-warning p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #78350f;
}

#invite {
  scroll-margin-top: 5rem;
}

@media (max-width: 600px) {
  .pool-created-card {
    padding: 1.15rem 1rem 1.35rem;
  }
  .pool-created-card h1 {
    font-size: 1.2rem;
  }
  /* Bevestigingspagina: alles verticaal, labels boven knoppen */
  .pool-invite-card--hero {
    padding: 0.85rem 0.9rem;
  }
  .pool-invite-card--hero .pool-invite-line-share {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .pool-invite-card--hero .pool-invite-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #92400e;
  }

  .pool-invite-card--hero .pool-invite-buttons--hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .pool-invite-card--hero .pool-invite-buttons--hero .btn {
    width: 100%;
    padding: 0.7rem 0.6rem;
    font-size: 0.92rem;
    min-width: 0;
    justify-content: center;
  }
  /* WhatsApp prominenter: volle breedte, grotere knop bovenaan */
  .pool-invite-card--hero .pool-invite-whatsapp {
    grid-column: 1 / -1;
    padding: 0.9rem 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  }
  .pool-invite-card--hero .pool-invite-whatsapp .btn-icon {
    font-size: 1.25rem;
  }

  /* Code-regel: label op eigen rij boven, code + kopieer-knop daaronder */
  .pool-invite-card--hero .pool-invite-line-code {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label  label"
      "code   button";
    gap: 0.45rem 0.55rem;
    align-items: center;
    flex-wrap: nowrap;
  }
  .pool-invite-card--hero .pool-invite-line-code .pool-invite-label {
    grid-area: label;
  }
  .pool-invite-card--hero .pool-invite-line-code .big-code {
    grid-area: code;
    min-width: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pool-invite-card--hero .pool-invite-line-code .pool-invite-copy-code {
    grid-area: button;
  }

  .pool-created-actions .btn {
    width: 100%;
  }
  .pool-list-card-actions .btn {
    flex: 1 1 auto;
  }
}

/* ============================
   Bonusvragen
   ============================ */

/* Banner op het dashboard */
.home-bonus-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
  border: 1px solid #f4c994;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(255, 153, 51, 0.12);
}

.home-bonus-banner-text {
  flex: 1 1 280px;
  min-width: 0;
}

.home-bonus-banner-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 0.2rem;
}

.home-bonus-banner h2 {
  margin: 0.1rem 0 0.5rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.home-bonus-banner p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.home-bonus-banner-cta {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .home-bonus-banner {
    padding: 1rem 1.1rem;
  }
  .home-bonus-banner h2 {
    font-size: 1.05rem;
  }
  .home-bonus-banner-cta .btn {
    width: 100%;
  }
}

/* Blok op de pool-detailpagina */
.pool-bonus-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  padding: 1rem 1.2rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: 12px;
  border: 1px solid #e3e7ed;
  background: #f8fafc;
}

.pool-bonus-block.pool-bonus-block-action {
  background: linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
  border-color: #f4c994;
}

.pool-bonus-block.pool-bonus-block-done {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pool-bonus-block.pool-bonus-block-closed {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.pool-bonus-text {
  flex: 1 1 260px;
  min-width: 0;
}

.pool-bonus-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.pool-bonus-text p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.pool-bonus-cta {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .pool-bonus-block {
    padding: 0.9rem 1rem;
  }
  .pool-bonus-cta .btn {
    width: 100%;
  }
}

/* Bonusvragen-pagina (user-facing) */
.bonus-page {
  display: block;
}

.bonus-hero {
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.5rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.bonus-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.6rem;
}

.bonus-hero-stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bonus-hero-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.1rem;
}

.bonus-hero-stat strong {
  font-size: 1.1rem;
  color: #0f172a;
}

.bonus-deadline {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.bonus-deadline-open {
  color: #b45309;
}

.bonus-deadline-cd {
  margin-left: 0.35rem;
  color: #92400e;
  font-weight: 600;
}

.bonus-deadline-closed {
  color: #475569;
  font-style: italic;
}

.bonus-hero-help {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bonus-questions {
  display: grid;
  gap: 0.9rem;
}

.bonus-question {
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.bonus-question-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.bonus-question-title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.bonus-question-desc {
  margin: 0;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bonus-question-points {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.bonus-points-badge {
  background: #fef3c7;
  color: #92400e;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.bonus-points-earned {
  font-size: 0.8rem;
  color: #15803d;
  font-weight: 600;
}

.bonus-points-pending {
  font-size: 0.78rem;
}

.bonus-question-body {
  display: grid;
  gap: 0.45rem;
}

.bonus-select {
  width: 100%;
  max-width: 360px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.bonus-radio {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e3e7ed;
  background: #f9fafb;
  cursor: pointer;
  font-weight: 400;
}

.bonus-radio:has(input:checked) {
  border-color: #f59e0b;
  background: #fff7ed;
}

.bonus-radio input[type="radio"] {
  /* Override van de globale `input { width:100%; padding: ... }`-regel
     zodat het bolletje gewoon zijn natuurlijke afmeting houdt. */
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}

.bonus-radio > span {
  flex: 1 1 auto;
  min-width: 0;
}

.bonus-multi-hint {
  margin: 0 0 0.35rem;
  color: #475569;
  font-size: 0.85rem;
}

.bonus-multi-selects {
  display: grid;
  gap: 0.6rem;
  max-width: 360px;
}

.bonus-multi-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  font-weight: 400;
}

.bonus-multi-label {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

.bonus-multi-select {
  width: 100%;
}

.bonus-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .bonus-question-head {
    flex-direction: column;
  }
  .bonus-question-points {
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
  }
  .bonus-multi-selects {
    max-width: 100%;
  }
  .bonus-form-actions .btn {
    width: 100%;
  }
}

/* Admin bonusvragen */
.admin-comp-switch {
  margin: 0 0 1rem;
}
.admin-comp-switch a.active {
  font-weight: 700;
  text-decoration: none;
}

.admin-bonus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}

.admin-bonus-list {
  display: grid;
  gap: 0.7rem;
}

.admin-bonus-item {
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.admin-bonus-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.admin-bonus-item-head h2 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  line-height: 1.3;
}

.admin-bonus-item-head .muted.small {
  font-size: 0.8rem;
  line-height: 1.4;
}

.admin-bonus-status {
  flex: 0 0 auto;
}

.admin-bonus-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0;
}

.admin-bonus-override {
  margin-top: 0.65rem;
  border-top: 1px dashed #e3e7ed;
  padding-top: 0.65rem;
}

.admin-bonus-override summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
}

.admin-bonus-override-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.admin-override-clubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.35rem 0.5rem;
}

.admin-override-club {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  font-size: 0.88rem;
}

.admin-override-club:hover {
  background: #f1f5f9;
}

.admin-bonus-override-actions {
  margin-top: 0.4rem;
}

/* num-col + responsive-card behaviour for ranking-table */
.ranking-table .num-col {
  text-align: right;
  white-space: nowrap;
}

.ranking-table .ranking-total {
  font-size: 1.02rem;
}

/* Reset evaluation button — danger variant */
.btn.btn-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn.btn-danger:hover,
.btn.btn-danger:focus-visible {
  background: #fee2e2;
  color: #991b1b;
}

/* Afgekorte kolomkoppen (W/B/T) + legenda: alleen op mobiel */
.ranking-table .th-abbr {
  display: none;
}

.ranking-legend {
  display: none;
}

.ranking-tiebreak-note {
  margin: -0.25rem 0 0.75rem;
}

@media (max-width: 600px) {
  .ranking-table .num-col {
    text-align: center;
  }

  .ranking-table .th-full {
    display: none;
  }

  .ranking-table .th-abbr {
    display: inline;
  }

  .ranking-legend {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    color: var(--muted);
  }

  .ranking-tiebreak-note {
    margin: -0.15rem 0 0.65rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .ranking-table th:first-child,
  .ranking-table td:first-child {
    width: 2.1rem;
  }

  .ranking-table th:nth-child(2),
  .ranking-table td:nth-child(2) {
    width: auto;
  }

  .ranking-table th:nth-child(3),
  .ranking-table td:nth-child(3),
  .ranking-table th:nth-child(4),
  .ranking-table td:nth-child(4) {
    width: 2.4rem;
  }

  .ranking-table th:nth-child(5),
  .ranking-table td:nth-child(5) {
    width: 2.9rem;
  }

  .player-badge {
    font-size: 0.8rem;
  }

  .player-badges {
    gap: 0.1rem;
  }
}

/* ---- Print-vellen (werf-flyer / stand-poster) ---- */
.sheet {
  max-width: 800px;
  margin: 0 auto;
}

.sheet-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sheet-page {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.sheet-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
}

.sheet-logo-small {
  max-width: 120px;
  margin: 0;
}

.sheet-title {
  font-size: 2rem;
  margin: 0.25rem 0;
}

.sheet-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.sheet-qr svg {
  width: 280px;
  height: auto;
  max-width: 100%;
}

.sheet-qr-small svg {
  width: 150px;
}

.sheet-cta {
  margin: 1.25rem 0 0.25rem;
  font-weight: 600;
}

.sheet-url {
  font-size: 1.1rem;
}

.sheet-usp {
  margin-top: 1.5rem;
  color: var(--muted);
}

.sheet-footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.sheet-poster-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.sheet-poster-head .sheet-title {
  font-size: 1.5rem;
}

.sheet-potw {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 0 0.5rem;
  padding: 0.6rem 0.9rem;
  background: #fff7ed;
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-align: left;
}

.sheet-potw-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.sheet-potw div {
  display: flex;
  flex-direction: column;
}

.sheet-poster-intro {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  text-align: left;
}

.sheet-ranking {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.sheet-ranking th,
.sheet-ranking td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.sheet-ranking th:last-child,
.sheet-ranking td:last-child {
  text-align: right;
}

.sheet-ranking th:first-child,
.sheet-ranking td:first-child {
  width: 3rem;
}

.sheet-poster-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  text-align: left;
}

/* Eigenaars-tip op de poolpagina */
.pool-owner-tip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff7ed;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.pool-owner-tip p {
  margin: 0.25rem 0 0;
}

.pool-members-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pool-members-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.pool-members-item:last-child {
  border-bottom: none;
}

.pool-members-name {
  min-width: 0;
}

.pool-member-remove-link {
  flex-shrink: 0;
}

.pool-member-remove-user {
  margin: 1rem 0;
}

.pool-member-remove-confirm {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}

.pool-member-remove-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stats-check {
  color: #16a34a;
  font-weight: 700;
}

.stats-partial {
  color: var(--muted);
}

.stats-pct {
  font-weight: 700;
}

.stats-member-table th.num-col,
.stats-member-table td.num-col {
  text-align: center;
}

.admin-user-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0 0.75rem;
}

.admin-user-search input[type="search"] {
  flex: 1 1 260px;
  max-width: 360px;
}

/* ---- Affiliate-blokken (shoppartners) ---- */
.affiliate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  background: #fff7ed;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}

.affiliate-card--soft {
  background: #fafafa;
  border-color: #e5e7eb;
}

.affiliate-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.affiliate-title {
  font-size: 1.15rem;
  line-height: 1.3;
}

.affiliate-sub {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.affiliate-btn {
  align-self: flex-start;
}

.affiliate-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.affiliate-note {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  padding-top: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.affiliate-note .affiliate-tag {
  top: 0.4rem;
  left: 1rem;
  right: auto;
}

.affiliate-note a {
  font-weight: 600;
}

.affiliate-slim {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.65rem 0 1.1rem;
  padding: 0.45rem 0.65rem 0.45rem 0.75rem;
  padding-top: 1.35rem;
  background: var(--brand-orange-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
}

.affiliate-slim .affiliate-tag {
  position: absolute;
  top: 0.35rem;
  left: 0.75rem;
  right: auto;
  color: var(--accent-dark);
}

.affiliate-slim-link {
  min-height: 0;
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  background: #fff;
  border-color: var(--accent-soft);
  color: var(--brand-orange-deep);
}

.affiliate-slim-link:hover {
  background: #fff7ed;
  border-color: var(--brand-orange);
  color: var(--accent-dark);
}

/* ---- Voetbalshirtskoning-banner (responsive) ---- */
.affiliate-banner {
  display: flex;
  justify-content: center;
  padding: 1.4rem 1rem 1rem;
  margin: 1.5rem 0;
}

.affiliate-banner-link {
  display: inline-block;
  line-height: 0;
}

.affiliate-banner-link img {
  max-width: 100%;
  height: auto;
}

.affiliate-banner--mobile {
  display: none;
}

@media (max-width: 599px) {
  .affiliate-banner--desktop {
    display: none;
  }

  .affiliate-banner--mobile {
    display: inline-block;
  }
}

/* ---- Shirt-carrousel (herbruikbare advertentie) ---- */
.shirt-carousel {
  padding-top: 1.35rem;
  padding-bottom: 1rem;
}

.shirt-carousel-head {
  margin-bottom: 0.85rem;
  padding-right: 4.5rem;
}

.shirt-carousel-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.shirt-carousel-sub {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shirt-carousel-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0.5rem;
}

.shirt-carousel-viewport {
  position: relative;
  min-width: 0;
}

/* Vaste CTA-kaart rechts: shirts roteren ernaast, deze blijft staan */
.shirt-carousel-cta-fixed {
  width: 8.5rem;
  align-self: stretch;
}

.shirt-carousel-cta-fixed .shirt-card-cta-inner {
  aspect-ratio: auto;
  height: 100%;
}

.shirt-carousel-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0.1rem 0.35rem;
}

.shirt-carousel-track::-webkit-scrollbar {
  display: none;
}

.shirt-card {
  flex: 0 0 calc((100% - 0.75rem) / 1.65);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shirt-card:hover,
.shirt-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  outline: none;
}

.shirt-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.shirt-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.shirt-card--cta .shirt-card-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  aspect-ratio: 1 / 1;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
}

.shirt-card--cta .shirt-card-cta-text {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
}

.shirt-card--cta .shirt-card-cta-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.shirt-card--cta:hover .shirt-card-cta-inner,
.shirt-card--cta:focus-visible .shirt-card-cta-inner {
  filter: brightness(1.05);
}

.shirt-carousel--compact .shirt-card--cta .shirt-card-cta-text {
  font-size: 0.8rem;
}

.shirt-carousel--compact .shirt-carousel-cta-fixed {
  width: 7rem;
}

@media (max-width: 599px) {
  .shirt-carousel--compact .shirt-carousel-cta-fixed {
    width: 5.5rem;
  }
}

.shirt-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.shirt-carousel-btn--prev {
  left: 0.1rem;
}

.shirt-carousel-btn--next {
  right: 0.1rem;
}

.shirt-carousel-btn:hover:not(:disabled) {
  background: #fff;
  border-color: var(--accent);
}

.shirt-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (min-width: 600px) {
  .shirt-card {
    flex-basis: calc((100% - 2.25rem) / 3.5);
  }
}

@media (min-width: 900px) {
  .shirt-card {
    flex-basis: calc((100% - 3rem) / 4.25);
  }
}

@media (min-width: 1100px) {
  .shirt-card {
    flex-basis: calc((100% - 3.75rem) / 5);
  }
}

@media (max-width: 599px) {
  .shirt-carousel-head {
    padding-right: 0;
  }

  .shirt-carousel-wrap {
    gap: 0.4rem;
  }

  .shirt-card {
    flex-basis: calc((100% - 0.75rem) / 2.4);
  }

  .shirt-carousel-cta-fixed {
    width: 6rem;
  }

  .shirt-carousel-cta-fixed .shirt-card-cta-inner {
    padding: 0.4rem;
    gap: 0.25rem;
  }

  .shirt-carousel-cta-fixed .shirt-card-cta-text,
  .shirt-carousel--compact .shirt-carousel-cta-fixed .shirt-card-cta-text {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .shirt-carousel-cta-fixed .shirt-card-cta-arrow {
    font-size: 1rem;
  }

  .shirt-carousel-btn {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 1.1rem;
  }
}

/* Compact-variant (bijv. voorspel-pagina): iets kleiner dan homepage, meer shirts zichtbaar */
.shirt-carousel--compact {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  margin: 1rem 0;
}

.shirt-carousel--compact .shirt-carousel-head {
  margin-bottom: 0.6rem;
}

.shirt-carousel--compact .shirt-carousel-title {
  font-size: 1rem;
}

.shirt-carousel--compact .shirt-carousel-sub {
  font-size: 0.88rem;
}

.shirt-carousel--compact .shirt-carousel-track {
  gap: 0.5rem;
}

.shirt-carousel--compact .shirt-card {
  flex-basis: calc((100% - 0.5rem) / 2.25);
}

.shirt-carousel--compact .shirt-card-media {
  border-radius: 8px;
}

.shirt-carousel--compact .shirt-card-media img {
  padding: 0.25rem;
}

@media (min-width: 600px) {
  .shirt-carousel--compact .shirt-card {
    flex-basis: calc((100% - 2rem) / 4.5);
  }
}

@media (min-width: 900px) {
  .shirt-carousel--compact .shirt-card {
    flex-basis: calc((100% - 2.5rem) / 5.5);
  }
}

@media (min-width: 1100px) {
  .shirt-carousel--compact .shirt-card {
    flex-basis: calc((100% - 3rem) / 7);
  }
}

/* Oranje-accent variant (bijv. Oranje-spelers carrousel) */
.shirt-carousel--oranje {
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(245, 160, 48, 0.18), transparent 60%),
    linear-gradient(160deg, #fff6ec 0%, #ffe9d2 100%);
  border-color: var(--brand-orange);
}

.shirt-carousel--oranje .affiliate-tag {
  padding: 0.1rem 0.4rem;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 999px;
}

.shirt-carousel--oranje .affiliate-eyebrow {
  color: var(--brand-orange-deep);
}

.shirt-carousel--oranje .shirt-carousel-title {
  color: #7c2d12;
}

.shirt-carousel--oranje .shirt-carousel-btn {
  border-color: var(--brand-orange);
}

/* === Match Day banner (Oranje vs tegenstander) === */
.match-day-banner {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.1rem 1rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(245, 130, 32, 0.22), transparent 55%),
    linear-gradient(145deg, #fff4e8 0%, #ffe3c4 48%, #f5d5b8 100%);
  border: 1px solid var(--brand-orange);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.1);
}

.match-day-banner .affiliate-tag {
  padding: 0.1rem 0.45rem;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 999px;
}

.match-day-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "home center away";
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.match-day-shirt--home {
  grid-area: home;
}

.match-day-shirt--away {
  grid-area: away;
}

.match-day-center {
  grid-area: center;
  text-align: center;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  border: 1px solid rgba(245, 130, 32, 0.35);
  box-shadow: 0 4px 16px rgba(124, 45, 18, 0.06);
}

.match-day-shirt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.match-day-shirt:hover {
  transform: translateY(-2px);
}

.match-day-shirt-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 9.5rem;
  aspect-ratio: 4 / 5;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  border: 1px solid rgba(124, 45, 18, 0.12);
  box-shadow: 0 4px 14px rgba(31, 41, 51, 0.08);
}

.match-day-shirt-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-day-shirt-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7c2d12;
  text-align: center;
  line-height: 1.25;
}

.match-day-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange-deep, #c2410c);
}

.match-day-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #7c2d12;
}

.match-day-fixture {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2933;
}

.match-day-kickoff {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-orange-deep, #c2410c);
}

.match-day-sub {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted, #6b7280);
}

.match-day-cta {
  margin-top: 0.75rem;
}

.match-day-fanshop-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(124, 45, 18, 0.12);
  font-size: 0.82rem;
}

.match-day-fanshop-links a {
  font-weight: 600;
  color: #7c2d12;
}

.match-day-fanshop-sep {
  color: var(--muted);
}

@media (max-width: 720px) {
  .match-day-banner {
    padding: 1rem 0.85rem 0.85rem;
    margin: 1.1rem 0;
  }

  .match-day-banner-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "home away";
    gap: 0.5rem 0.55rem;
    align-items: stretch;
  }

  .match-day-center {
    padding: 0.55rem 0.6rem;
  }

  .match-day-title {
    font-size: 1.12rem;
    margin-bottom: 0.3rem;
  }

  .match-day-fixture {
    font-size: 0.95rem;
  }

  .match-day-kickoff {
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
  }

  .match-day-sub {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .match-day-shirt {
    gap: 0.3rem;
  }

  .match-day-shirt-media {
    max-width: none;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    padding: 0.25rem;
    border-radius: 10px;
  }

  .match-day-shirt-label {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .match-day-fanshop-links {
    margin-top: 0.65rem;
    padding-top: 0.5rem;
    font-size: 0.78rem;
  }
}

/* Oranje-spelers carrousel — vervolg */

/* Poolpagina: compacte carrousels bovenaan / op ranking */
.pool-gadget-carousel,
.pool-shirts-carousel {
  margin: 0.75rem 0 1.1rem;
}

@media (max-width: 599px) {
  .pool-gadget-carousel.shirt-carousel--compact {
    padding: 0.8rem 0.7rem 0.65rem;
    margin: 0.65rem 0 1rem;
    border-radius: 10px;
  }

  .pool-gadget-carousel .shirt-carousel-head {
    padding-right: 3.75rem;
    margin-bottom: 0.45rem;
  }

  .pool-gadget-carousel .shirt-carousel-title {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .pool-gadget-carousel .shirt-carousel-sub {
    font-size: 0.8rem;
    margin-top: 0.1rem;
  }

  .pool-gadget-carousel.shirt-carousel--compact .shirt-carousel-track {
    gap: 0.4rem;
  }

  .pool-gadget-carousel.shirt-carousel--compact .shirt-card {
    flex-basis: calc((100% - 0.8rem) / 3);
  }

  .pool-gadget-carousel.shirt-carousel--compact .shirt-card-media img {
    padding: 0.15rem;
  }

  .pool-gadget-carousel .shirt-carousel-cta-fixed {
    width: 4.75rem;
  }

  .pool-gadget-carousel .shirt-carousel-cta-fixed .shirt-card-cta-text {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .pool-gadget-carousel .shirt-carousel-btn {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 1rem;
  }

  .pool-shirts-carousel.shirt-carousel--compact {
    padding: 0.8rem 0.7rem 0.65rem;
    margin: 0.65rem 0 1rem;
    border-radius: 10px;
  }

  .pool-shirts-carousel .shirt-carousel-head {
    padding-right: 3.75rem;
    margin-bottom: 0.45rem;
  }

  .pool-shirts-carousel .shirt-carousel-title {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .pool-shirts-carousel .shirt-carousel-sub {
    font-size: 0.8rem;
    margin-top: 0.1rem;
  }

  .pool-shirts-carousel.shirt-carousel--compact .shirt-carousel-track {
    gap: 0.4rem;
  }

  .pool-shirts-carousel.shirt-carousel--compact .shirt-card {
    flex-basis: calc((100% - 0.8rem) / 3);
  }

  .pool-shirts-carousel.shirt-carousel--compact .shirt-card-media img {
    padding: 0.15rem;
  }

  .pool-shirts-carousel .shirt-carousel-cta-fixed {
    width: 4.75rem;
  }

  .pool-shirts-carousel .shirt-carousel-cta-fixed .shirt-card-cta-text {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .pool-shirts-carousel .shirt-carousel-btn {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 1rem;
  }
}

/* ---- Oranje-sentiment op de homepage ---- */
.nl-sentiment {
  background: #fff7ed;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}

.nl-sentiment-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.nl-sentiment-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.nl-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nl-swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 3px;
}

.nl-swatch-win { background: var(--accent); }
.nl-swatch-draw { background: #d1d5db; }
.nl-swatch-loss { background: #6b7280; }

.nl-sentiment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nl-sentiment-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 0.75rem;
}

.nl-sentiment-match {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-weight: 600;
  min-width: 0;
}

.nl-sentiment-teams {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.nl-team--oranje span {
  color: var(--accent);
  font-weight: 700;
}

.nl-sentiment-when {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.nl-team {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.nl-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nl-vs {
  color: var(--muted);
}

.nl-bar {
  display: flex;
  width: 100%;
  height: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e7eb;
}

.nl-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}

.nl-seg-win { background: var(--accent); }
.nl-seg-draw { background: #9ca3af; }
.nl-seg-loss { background: #6b7280; }

@media (max-width: 600px) {
  .nl-sentiment-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .affiliate-card {
    padding: 1rem;
  }

  .affiliate-title {
    font-size: 1.05rem;
  }

  .affiliate-btn {
    align-self: stretch;
    text-align: center;
  }

  .affiliate-note {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .alert,
  .badge-toast-stack {
    display: none !important;
  }

  body,
  main,
  .main,
  .container {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .sheet-page {
    border: none;
    border-radius: 0;
    padding: 1.5cm;
  }

  /* Compacte poster zodat top 15 + speler van de week op 1 A4 past */
  .sheet-poster .sheet-page {
    padding: 0.8cm 1cm;
  }

  .sheet-poster {
    page-break-inside: avoid;
  }

  .sheet-poster .sheet-logo-small {
    max-width: 90px;
  }

  .sheet-poster .sheet-title {
    font-size: 1.25rem;
  }

  .sheet-poster .sheet-subtitle {
    margin-bottom: 0;
    font-size: 0.85rem;
  }

  .sheet-poster .sheet-potw {
    margin: 0.6rem 0 0.4rem;
    padding: 0.4rem 0.7rem;
  }

  .sheet-poster .sheet-poster-intro {
    font-size: 0.8rem;
  }

  .sheet-poster .sheet-ranking {
    margin: 0.6rem 0;
  }

  .sheet-poster .sheet-ranking th,
  .sheet-poster .sheet-ranking td {
    padding: 0.22rem 0.7rem;
    font-size: 0.92rem;
  }

  .sheet-poster .sheet-poster-foot {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
  }

  .sheet-poster .sheet-qr-small svg {
    width: 120px;
  }

  @page {
    size: A4 portrait;
    margin: 1cm;
  }
}

.admin-match-score-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 10rem;
}

.admin-match-score-row,
.admin-ko-fields {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-match-score-sep {
  color: var(--muted, #6b7280);
  font-size: 0.9rem;
}

.admin-ko-result {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.admin-ko-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}

.admin-ko-label-text {
  color: var(--muted, #6b7280);
}

.admin-ko-fields-label {
  font-size: 0.78rem;
  color: var(--muted, #6b7280);
  min-width: 5.5rem;
}

.score-input--small {
  width: 3.25rem;
}

.schedule-score-cell strong,
.schedule-row-score strong {
  white-space: nowrap;
  font-size: 0.92rem;
}
