/* GGPoker Belgium — one-pager. Donker, rood accent (#d10000), Roboto.
   Mobile-first; breekpunten 640 / 900 / 1200. Beelden falen stil (placeholder-vlak). */

:root {
  --bg: #0f0f12;
  --bg-alt: #16161b;
  --bg-card: #1c1c22;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f4f7;
  --muted: #a9a8b3;
  --red: #d10000;
  --red-deep: #8f0000;
  --red-glow: rgba(209, 0, 0, 0.35);
  --gold: #e3b341;
  --radius: 16px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Footer altijd onderaan het scherm, ook op korte pagina's (bv. een zoekopdracht zonder resultaten): de body vult minstens de viewport en <main> rekt uit. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
img.is-missing { visibility: hidden; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 18, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand-group { display: flex; align-items: center; min-width: 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-img { width: clamp(120px, 14vw, 170px); height: auto; }
.brand-text { display: none; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-text span { color: var(--red); }
.brand-img.is-missing { display: none; }
.brand-img.is-missing + .brand-text { display: inline; }
.header-nav { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; }
.lang {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none;
  color: var(--muted); padding: 8px 9px; border-radius: 8px; transition: color .15s, background .15s;
}
.lang:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.lang.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 2px 2px; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-style: italic; letter-spacing: 0.02em;
  text-decoration: none; text-transform: uppercase; font-size: 0.95rem; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-red { background: linear-gradient(180deg, #e81111, var(--red)); color: #fff; box-shadow: 0 8px 24px var(--red-glow); }
.btn-dark { background: #26262e; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.btn-small { padding: 10px 18px; font-size: 0.78rem; }
.btn-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.25); font-size: 0.65rem; font-style: normal; font-weight: 900; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 70% 20%, rgba(209,0,0,0.22), transparent 60%), var(--bg); }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 0.85; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,18,0.92) 0%, rgba(15,15,18,0.55) 45%, rgba(15,15,18,0.15) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 1; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: center; padding: 64px 0 96px; }
.hero-title { display: grid; font-weight: 900; text-transform: uppercase; line-height: 0.95; text-shadow: 0 6px 30px rgba(0,0,0,0.45); }
.hero-amount { font-size: clamp(3rem, 9vw, 6.5rem); color: #fff; letter-spacing: -0.03em; }
.hero-word { font-size: clamp(1.9rem, 6vw, 4.4rem); color: var(--red); letter-spacing: 0.02em; }
.banner { position: relative; z-index: 1; background: linear-gradient(90deg, var(--red-deep), var(--red) 50%, var(--red-deep)); padding: 16px 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.4); }
.banner-text { margin: 0; text-align: center; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(0.85rem, 2.2vw, 1.25rem); color: #fff; }

/* ---------- secties ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); font-weight: 700; margin-bottom: 18px; }
.section-intro { color: var(--muted); max-width: 760px; font-size: 1.05rem; margin-bottom: 36px; }
.section-lead { color: var(--ink); font-weight: 500; margin: -16px 0 32px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); text-align: center; color: #e6e5ea; }
.intro { padding-top: 40px; }

.grid-3 { display: grid; gap: 28px; grid-template-columns: 1fr; }
.grid-3.center { text-align: center; }

/* what to play */
.play-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, border-color .2s ease; }
.play-card:hover { transform: translateY(-4px); border-color: rgba(209,0,0,0.5); }
.play-media { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #2a2a33, #15151a); margin-bottom: 22px; }
.play-media img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 1.6rem; font-weight: 900; font-style: italic; padding-bottom: 12px; position: relative; margin-bottom: 14px; }
.card-title::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--red) 0 40px, rgba(255,255,255,0.12) 40px); }
.gtd { font-weight: 700; color: var(--gold); letter-spacing: 0.02em; margin-bottom: 10px; }
.play-card p:last-child { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* road */
.road-card { padding: 8px; }
.road-media { width: min(260px, 70%); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(209,0,0,0.35), rgba(209,0,0,0.05) 70%); display: grid; place-items: center; }
.road-media img { width: 100%; height: 100%; object-fit: contain; }
.road-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.road-card p { color: var(--muted); margin: 0; }

/* bounties */
.bounty-day + .bounty-day { margin-top: 28px; }
.bounty-date { font-size: 1.35rem; font-weight: 700; color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.bounty-date::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bounty-row {
  list-style: none; margin: 0; padding: 4px 0 12px; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.bounty { flex: 0 0 clamp(150px, 42vw, 190px); scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #2a2a33, #15151a); border: 1px solid var(--line); }
.bounty img { width: 100%; height: 100%; object-fit: cover; }

/* clubs */
.club-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.club { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.club h3 { font-size: 1.1rem; font-weight: 700; }
.club-date { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; text-transform: capitalize; }
.club-buyin { margin: 6px 0 4px; font-size: 2rem; font-weight: 900; color: var(--gold); letter-spacing: -0.02em; }
.club-specs { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.club-specs dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.club-specs dd { margin: 2px 0 0; font-weight: 700; }
.club-specs small { font-weight: 400; color: var(--muted); font-size: 0.75em; }
.club-address { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }

/* schedule */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.schedule { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.schedule th { background: linear-gradient(180deg, #a10000, var(--red-deep)); color: #fff; text-align: left; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 16px; }
.schedule td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.schedule tbody tr:hover { background: rgba(255,255,255,0.03); }
.schedule tr.is-main td { font-weight: 700; }
.schedule tr.is-main .ev::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }
.schedule td:nth-child(5), .schedule td:nth-child(6), .schedule th:nth-child(5), .schedule th:nth-child(6) { text-align: right; white-space: nowrap; }

/* split (party crashers) */
.split { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
.split-media img { width: min(320px, 70%); margin: 0 auto; }
.split-text p { color: var(--muted); font-size: 1.05rem; }

/* cake */
.cake-card {
  position: relative; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 20px;
  background: linear-gradient(120deg, #b80000 0%, #6b0000 55%, #2a0a0a 100%);
  box-shadow: 0 30px 80px rgba(209,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  padding: clamp(28px, 5vw, 56px);
}
.cake-text { text-align: center; }
.cake-text p { color: #fbeaea; }
.cake-text .closing { font-weight: 700; color: #fff; }
.signature { display: grid; place-items: center; margin-top: 18px; }
.signature img { width: min(260px, 60%); }
.signature-text { display: none; font-style: italic; font-size: 1.4rem; color: #fff; }
.signature img.is-missing { display: none; }
.signature img.is-missing + .signature-text { display: inline; }
.cake-media img { width: min(360px, 80%); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.disclaimer { color: var(--muted); font-size: 0.85rem; margin: 24px 0 0; }

/* thanks */
.thanks { padding: clamp(80px, 14vh, 160px) 0; text-align: center; }
.thanks .h2 { margin-bottom: 14px; }

/* footer */
.site-footer { padding: 40px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.legal { margin: 0 0 20px; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink); font-weight: 900; font-size: 0.7rem; margin-right: 10px; vertical-align: middle; }
.red-line { height: 2px; background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent); margin: 0 auto 20px; max-width: 900px; }
.copyright { margin: 0; text-align: center; }
.footer-brand { text-decoration: none; font-weight: 900; color: var(--ink); }
.footer-brand span { color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 639px) {
  .header-nav .btn { display: none; }
  /* speelschema als compacte kaartjes: datum · dag · uur / event / buy-in · gtd */
  .schedule thead { display: none; }
  .schedule, .schedule tbody { display: block; width: 100%; }
  .schedule tr { display: block; padding: 12px 14px 13px; border-top: 1px solid var(--line); }
  .schedule td { display: inline; border: 0; padding: 0; text-align: left !important; white-space: normal; }
  .schedule td:nth-child(1) { font-weight: 700; }
  .schedule td:nth-child(2)::before, .schedule td:nth-child(3)::before { content: " · "; color: var(--muted); }
  .schedule td:nth-child(2), .schedule td:nth-child(3) { color: var(--muted); }
  .schedule td.ev { display: block; margin: 4px 0 6px; font-size: 1.02rem; }
  .schedule tr.is-main .ev::before { display: none; }
  .schedule td:nth-child(5)::before, .schedule td:nth-child(6)::before { content: attr(data-th) " "; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .schedule td:nth-child(6)::before { content: "  ·  " attr(data-th) " "; }
  .schedule td:nth-child(6) { color: var(--gold); font-weight: 700; }
  .schedule tr.is-main { background: rgba(227,179,65,0.06); }
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 2fr; }
  .split-media img { width: 100%; max-width: 320px; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cake-card { grid-template-columns: 3fr 2fr; align-items: center; }
  .cake-text { text-align: left; }
  .signature { place-items: start; }
  .lead { text-align: center; }
  .bounty { flex-basis: calc((100% - 5 * 14px) / 6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .play-card { transition: none; }
}

/* ---------- omgevingslabel (dev/beta) en /version ---------- */
.env-badge { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(227,179,65,0.45); background: rgba(227,179,65,0.08); text-decoration: none; line-height: 1; white-space: nowrap; }
.env-badge:hover { background: rgba(227,179,65,0.16); }
.env-name { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.16em; color: var(--gold); }
.env-sha { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.7rem; color: var(--muted); }
.env-badge-lg { margin: 0; padding: 10px 18px; }
.env-badge-lg .env-name { font-size: 1.1rem; }
.env-prod .env-badge-lg { border-color: rgba(209,0,0,0.5); background: rgba(209,0,0,0.1); }
.env-prod .env-badge-lg .env-name { color: #ff6b6b; }
.version { padding: clamp(56px, 10vh, 120px) 0; }
.ver-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.ver-kicker { margin: 0 0 14px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ver-env-title { margin: 0 0 26px; }
.ver-facts { margin: 0; display: grid; gap: 14px; }
.ver-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.ver-facts dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ver-facts dd { margin: 0; display: grid; gap: 4px; }
.ver-facts a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ver-facts a:hover { color: var(--gold); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ver-full { font-size: 0.75rem; color: var(--muted); word-break: break-all; }
.ver-envs { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.ver-env { display: grid; grid-template-columns: 64px 70px 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 0.9rem; }
.ver-env.is-current { border-color: rgba(227,179,65,0.5); background: rgba(227,179,65,0.06); }
.ver-env-name { font-weight: 900; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--gold); }
.ver-env-branch { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); font-size: 0.8rem; }
.ver-env a { color: var(--ink); text-decoration: none; word-break: break-all; }
.ver-env a:hover { color: var(--gold); }
.ver-json { margin: 22px 0 0; font-size: 0.85rem; }
.ver-json a { color: var(--muted); }
@media (max-width: 639px) {
  .env-badge { margin-left: 8px; padding: 3px 8px; }
  .env-sha { display: none; }
  .ver-facts div { grid-template-columns: 1fr; gap: 4px; }
  .ver-env { grid-template-columns: 56px 1fr; }
  .ver-env-branch { display: none; }
}

/* ---------- resultaten & admin ---------- */
.nav-link { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav-link.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 2px 2px; }
.results-page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.results-page .h2 { margin-bottom: 10px; }
.filters { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 28px; padding: 18px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.filters label { display: grid; gap: 6px; }
.filters label span, .stack label span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.filters input, .stack input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: #12121a; color: var(--ink); font: inherit; font-size: 0.95rem; outline: none; color-scheme: dark; }
.filters input:focus, .stack input:focus { border-color: var(--red); }
.filter-actions { display: flex; gap: 10px; align-items: end; }
.results-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.results-empty { color: var(--muted); padding: 36px 0; text-align: center; font-size: 1.05rem; }
.tournament { margin: 0 0 22px; }
.tournament-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 20px; margin: 0 0 12px; }
.tournament-head h2 { font-size: 1.25rem; font-weight: 700; }
.tournament-head h2 a { text-decoration: none; color: var(--ink); }
.tournament-head h2 a:hover { color: var(--gold); }
.tournament-date { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.tournament-meta { margin: 0; color: var(--muted); font-size: 0.85rem; }
.results { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.results th { text-align: left; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.results td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.results .num, .results th.num { text-align: right; white-space: nowrap; }
.results .rank { width: 52px; font-weight: 700; color: var(--muted); }
.results tr.is-first .rank { color: var(--gold); }
.results tr.is-podium .rank { color: var(--ink); }
.results tr.is-first td { background: rgba(227,179,65,0.06); }
.results .nick { font-weight: 500; }
.results .nick small, .results .tour small, .results .prize small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 400; margin-top: 2px; }
.results .prize { font-weight: 700; color: var(--gold); }
.results .prize.muted, .results td.muted { color: var(--muted); font-weight: 400; }
.results .tour a { color: var(--ink); text-decoration: none; }
.results .tour a:hover { color: var(--gold); }
.results tr.is-reentry .nick { color: var(--muted); }
.show-more { display: block; width: 100%; padding: 12px; background: transparent; border: 0; border-top: 1px solid var(--line); color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; }
.show-more:hover { background: rgba(255,255,255,0.03); }
.prize-note { color: var(--muted); font-size: 0.8rem; margin: 28px 0 0; }
.crumbs { margin: 0 0 18px; font-size: 0.9rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
/* admin */
.admin { padding: clamp(40px, 8vh, 96px) 0; }
.admin-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.admin-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.admin .h3 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 10px; }
.stack { display: grid; gap: 14px; max-width: 480px; }
.stack label { display: grid; gap: 6px; }
.stack input[type=file] { padding: 9px 10px; }
.stack .btn { justify-self: start; }
.form-error { color: #ff8a8a; background: rgba(209,0,0,0.12); border: 1px solid rgba(209,0,0,0.35); padding: 10px 14px; border-radius: 10px; }
.form-ok { color: #9fe3b1; background: rgba(40,180,90,0.12); border: 1px solid rgba(40,180,90,0.35); padding: 10px 14px; border-radius: 10px; }
.form-warn { color: var(--gold); background: rgba(227,179,65,0.1); border: 1px solid rgba(227,179,65,0.35); padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; }
.stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.stats dt { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 900; }
.muted { color: var(--muted); }
details summary { cursor: pointer; color: var(--gold); }
@media (min-width: 640px) { .filters { grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr auto; align-items: end; } }
@media (max-width: 639px) {
  .nav-link { display: none; }
  .results th:nth-child(3):not(.num), .results td.tour { display: none; }
  .stats { grid-template-columns: 1fr; }
}


/* admin: bulk-upload in drie stappen */
.page-admin [hidden] { display: none !important; }
.admin-note { font-size: 0.85rem; margin-top: 14px; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.step-k { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.step.is-on { border-color: var(--red); color: var(--ink); }
.step.is-on .step-k { color: var(--red); }
.step.is-done { color: var(--ink); }
.drop { border: 1.5px dashed rgba(255,255,255,0.3); border-radius: var(--radius); padding: 34px 20px; text-align: center; cursor: pointer; background: #12121a; transition: border-color .15s, background .15s; }
.drop:hover, .drop:focus-visible, .drop.is-over { border-color: var(--red); background: rgba(209,0,0,0.06); outline: none; }
.drop p { margin: 0; }
.picked, .preview { margin-top: 18px; }
.upload-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pii { color: #ff8a8a; }
.preview .file { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.preview .file h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; word-break: break-all; }
.preview .file.is-ok { border-color: rgba(40,180,90,0.4); }
.preview .file.is-bad { border-color: rgba(209,0,0,0.5); }
.preview ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; }
.preview ul.facts { list-style: none; padding: 0; margin-bottom: 8px; }
.preview .ok { color: #9fe3b1; }
.preview .warn { color: var(--gold); }
.preview .tours li { margin: 3px 0; }

/* =============================================================================
   ---------- homepage ná het festival (SITE_MODE=aftermath, body.mode-aftermath) ----------
   Alle klassen dragen het voorvoegsel am- zodat ze de festivalpagina niet raken.
   Tokens gemeten op www.ggpokerbelgium.com (Squarespace 7.1): Roboto; secties #18181b, footer #09090b;
   rood #d10000; grijs-accent #51515c; tekst #fff en #d4d4d4; koppen weight 500, alinea's 300,
   knoppen 800 cursief in hoofdletters, radius 300px. Koppen fluid: calc((N − 1) × 1,2vw + 1rem).
   ========================================================================== */
body.mode-aftermath {
  --am-bg: #18181b; --am-bg-footer: #09090b; --am-red: #d10000; --am-grey: #51515c; --am-light: #d4d4d4; --am-muted: #8b8b95;
  --am-card: #2a2a30; --am-body: #222226; --am-line: rgba(255, 255, 255, 0.12);
  --am-h1: min(calc(3 * 1.2vw + 1rem), 68px); --am-h2: min(calc(1.8 * 1.2vw + 1rem), 47px); --am-h3: min(calc(1.2 * 1.2vw + 1rem), 37px); --am-h4: min(calc(0.6 * 1.2vw + 1rem), 26px);
  --am-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.35);
  --am-banner: linear-gradient(90deg, rgba(211, 0, 0, 0) 0%, #d30000 40%, #d30000 60%, rgba(211, 0, 0, 0) 100%);
  background: var(--am-bg); color: #fff; font-weight: 300; line-height: 1.5;
}
.mode-aftermath .am-wrap { max-width: none; margin-inline: auto; padding-inline: 4vw; }
@media (min-width: 1100px) { .mode-aftermath .am-wrap { max-width: 65vw; padding-inline: 0; } .mode-aftermath .am-header .am-wrap { max-width: none; padding-inline: 4vw; } }
.mode-aftermath h1, .mode-aftermath h2, .mode-aftermath h3 { font-weight: 500; letter-spacing: 0; text-wrap: balance; }
.mode-aftermath .am-h2 { font-size: var(--am-h2); line-height: 1.114; margin-bottom: 0.35em; }
.mode-aftermath .am-h3 { font-size: var(--am-h4); line-height: 1.17; margin-bottom: 14px; }
.mode-aftermath .am-intro { color: var(--am-light); margin: 0 0 1.6em; }
.mode-aftermath a { text-decoration: none; }

/* knoppen */
.am-btn { display: inline-block; font: italic 800 16px/1.2 Roboto, Arial, sans-serif; text-transform: uppercase; padding: 0.6em 1.2em; border-radius: 300px; background: var(--am-red); color: #fff; border: 0; cursor: pointer; transition: opacity 0.15s; white-space: nowrap; }
.am-btn:hover { opacity: 0.85; }
.am-btn-grey { background: var(--am-grey); }
.am-btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
/* Play now: witte knop waar de tekst uit gesneden is (screen laat zwart de achtergrond tonen). */
.am-btn-cut { background: #fff; color: #000; mix-blend-mode: screen; }
.am-btn:focus-visible, .am-tab:focus-visible, .am-lang-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* header: vaste donkere balk, Results · taalkeuze · Download */
.am-header { position: sticky; top: 0; z-index: 50; background: var(--am-bg); }
.am-header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.am-brand-img { height: 26px; width: auto; flex: 0 0 auto; }
.am-header .brand, .am-header .brand-group { flex: 0 0 auto; }
.am-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.am-nav-link { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--am-muted); transition: color 0.15s; }
.am-nav-link:hover { color: #fff; }
.am-lang { position: relative; }
.am-lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 38.4px; padding: 0 14px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 300px; color: #fff; font: 300 14px/1 Roboto, Arial, sans-serif; letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.am-lang-btn:hover, .am-lang-btn[aria-expanded="true"] { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.am-globe { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; position: relative; display: inline-block; }
.am-globe::before { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid #fff; transform: scaleX(0.45); }
.am-globe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid #fff; }
.am-chev { width: 6px; height: 6px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg) translateY(-2px); display: inline-block; transition: transform 0.15s; }
.am-lang-btn[aria-expanded="true"] .am-chev { transform: rotate(-135deg) translateY(1px); }
.am-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--am-body); border: 1px solid var(--am-line); border-radius: 12px; min-width: 170px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7); z-index: 5; }
.am-lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 300; font-size: 16px; color: #fff; }
.am-lang-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.am-lang-menu li[aria-selected="true"] a { font-weight: 700; }

/* hero: het festival-artwork, tekst links en verticaal gecentreerd */
.am-hero { position: relative; min-height: min(64vw, 600px); display: grid; align-items: center; overflow: hidden; background: #000; }
.am-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
/* Overlay: links donker (tot ± 40%) zodat de rode kicker niet op het lichte raam valt; rechts blijft het artwork vrij.
   z-index is nodig: zonder schildert de <img> (latere sibling) over het ::before-pseudo-element en doet de overlay niets. */
.am-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.8) 36%, rgba(0, 0, 0, 0.4) 54%, rgba(0, 0, 0, 0.08) 74%, rgba(0, 0, 0, 0) 100%); }
.am-hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 6vw, 80px); }
.mode-aftermath .am-hero-title { font-size: var(--am-h1); line-height: 1.056; font-weight: 700; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); max-width: 12ch; }
.am-hero-kicker { color: var(--am-red); font-size: min(calc(0.2 * 1.2vw + 1rem), 19.5px); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.9em 0 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 18px rgba(0, 0, 0, 0.7); }

/* rode cijferbalk: verloop zoals de banner op de huidige site; de getallen tellen op en vullen van onder naar boven */
.am-stats { background: var(--am-banner); padding-block: clamp(14px, 1.8vw, 22px); }
/* Welkomsttekst onder de rode balk: grijze radiale gloed van onderuit, zoals de 'Grey Radial' op de huidige site. */
.am-welcome { background: radial-gradient(ellipse 62% 105% at 50% 100%, #34343a 0%, #222226 50%, var(--am-bg) 100%); padding-block: clamp(48px, 6vw, 88px); text-align: center; }
.am-welcome-text { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: #fff; }
.am-welcome .am-btns { margin: 32px 0 0; }
.am-welcome .am-btn-cut { background: var(--am-red); color: #fff; mix-blend-mode: normal; }
.am-welcome .am-btn-outline { box-shadow: inset 0 0 0 1px var(--am-red); }
.am-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-stat { position: relative; text-align: center; padding: 0 12px; display: grid; align-content: center; }
.am-stat::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; border-left: 1px solid #fff; }
.am-stat:first-child::before { display: none; }
.am-stat b { --p: 0%; display: inline-block; font-size: var(--am-h3); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; background: linear-gradient(to top, #fff var(--p), rgba(255, 255, 255, 0.38) var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.am-stat span { display: block; margin-top: 0.25em; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }

/* secties: één vaste ruimte BOVEN elke sectie (--am-gap), gemeten vanaf het einde van wat eraan voorafgaat.
   Onderaan geen padding, anders is de ruimte boven "Highlights" (na het grijze welkomstblok) de helft van die boven
   "Resultaten" (einde ticker + begin sectie). Enkel de laatste sectie krijgt dezelfde ruimte onder zich, vóór de footer. */
body.mode-aftermath { --am-gap: clamp(56px, 7vw, 100px); }
.am-section { padding-block: var(--am-gap) 0; }
.am-section:last-of-type { padding-bottom: var(--am-gap); }

/* spelers in de kijker: een map met tabbladen */
.am-folder { margin-top: 28px; }
.am-tabs { display: flex; gap: 6px; align-items: flex-end; position: relative; z-index: 2; flex-wrap: wrap; }
.am-tab { font: italic 800 16px/1.2 Roboto, Arial, sans-serif; text-transform: uppercase; padding: 14px 22px 12px; border-radius: 14px 14px 0 0; border: 1px solid var(--am-line); border-bottom: 0; background: #1e1e22; color: var(--am-light); cursor: pointer; transition: background 0.2s, color 0.2s; position: relative; }
.am-tab:hover { color: #fff; background: #25252a; }
.am-tab.is-on { background: var(--am-red); border-color: var(--am-red); color: #fff; }
.am-tab.is-on::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -3px; height: 4px; background: var(--am-red); }
.am-body { position: relative; background: var(--am-body); border: 1px solid var(--am-line); border-top: 3px solid var(--am-red); border-radius: 0 18px 18px 18px; padding: clamp(24px, 3.5vw, 44px) clamp(20px, 3.5vw, 44px) clamp(28px, 3.5vw, 48px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.am-sub { color: var(--am-light); margin: 0 0 26px; }
.am-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); padding-top: 6px; }
.am-tile { position: relative; background: var(--am-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 22px; display: grid; gap: 4px; align-content: start; box-shadow: var(--am-shadow); margin-top: 34px; }
.am-tile b { font-size: var(--am-h3); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; padding-right: 96px; min-height: 1em; }
.am-tile b small { font-size: 0.5em; font-weight: 300; color: var(--am-light); }
.am-nick { font-weight: 700; font-size: 16px; margin-top: 8px; }
.am-cap { color: var(--am-light); font-size: 14px; }
.am-av { position: absolute; right: 18px; top: -34px; width: 92px; height: 92px; border-radius: 50%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.am-tile:hover .am-av { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.am-panel.is-on .am-sub, .am-panel.is-on .am-tile { animation: am-rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.am-panel.is-on .am-tile:nth-child(1) { animation-delay: 0.08s; } .am-panel.is-on .am-tile:nth-child(2) { animation-delay: 0.18s; } .am-panel.is-on .am-tile:nth-child(3) { animation-delay: 0.28s; }
.am-panel.is-on .am-av { animation: am-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.am-panel.is-on .am-tile:nth-child(1) .am-av { animation-delay: 0.25s; } .am-panel.is-on .am-tile:nth-child(2) .am-av { animation-delay: 0.35s; } .am-panel.is-on .am-tile:nth-child(3) .am-av { animation-delay: 0.45s; }
.am-body.is-open { animation: am-unfold 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes am-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes am-pop { from { opacity: 0; transform: scale(0.4) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes am-unfold { from { transform: perspective(1200px) rotateX(-6deg); transform-origin: top; } to { transform: none; } }

/* fun facts: doorlopende lijn van kaartjes, pauzeert bij hover */
.am-facts { margin-top: 22px; }
.am-ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.am-tk { display: flex; gap: 16px; width: max-content; animation: am-tk 60s linear infinite; padding: 12px 8px 20px; }
.am-ticker:hover .am-tk { animation-play-state: paused; }
@keyframes am-tk { to { transform: translateX(-50%); } }
.am-tk span { white-space: nowrap; color: var(--am-light); font-size: 14px; padding: 14px 20px; background: var(--am-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; box-shadow: var(--am-shadow); }
.am-tk span b { color: #fff; font-weight: 700; }
.am-note { margin: 4px 0 0; font-size: 14px; color: var(--am-muted); }

/* resultaten: de twaalf events in de stijl van het huidige speelschema, rode kop met ronde bovenhoeken */
.am-tblwrap { overflow-x: auto; margin-top: 36px; }
.am-tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; font-size: 14.08px; line-height: 24px; font-weight: 300; }
.am-tbl th { background: #7a1010; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 15.2px; text-align: center; padding: 13px 14px; border-bottom: 2px solid #8b1a1a; }
.am-tbl th:first-child { border-top-left-radius: 14px; text-align: left; padding-left: 20px; }
.am-tbl th:last-child { border-top-right-radius: 14px; padding-right: 52px; }
.am-tbl td { color: #e0e0e0; text-align: center; padding: 13px 14px; border-bottom: 1px solid #8b1a1a; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.2s, box-shadow 0.2s; }
.am-tbl td.ev { text-align: left; padding-left: 20px; }
.am-tbl td.ev a { color: #fff; }
.am-abroad { color: var(--am-muted); font-style: italic; }
.am-tbl td:last-child { position: relative; padding-right: 52px; }
.am-tbl td:last-child::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: translate(-8px, -50%) rotate(45deg); opacity: 0; transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.am-tbl tbody tr { cursor: pointer; transition: background 0.2s; }
.am-tbl tbody tr:hover { background: linear-gradient(90deg, rgba(209, 0, 0, 0.3), rgba(209, 0, 0, 0.04)); }
.am-tbl tbody tr:hover td { color: #fff; }
.am-tbl tbody tr:hover td.ev { box-shadow: inset 4px 0 0 var(--am-red); }
.am-tbl tbody tr:hover td:last-child::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
.am-res-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.am-res-foot small { color: var(--am-muted); font-size: 14px; }

/* partnerclubs: logoslider op repeat */
.am-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.am-mq { display: flex; gap: clamp(32px, 4vw, 64px); width: max-content; animation: am-mq 36s linear infinite; padding-block: 8px; }
.am-marquee:hover .am-mq { animation-play-state: paused; }
@keyframes am-mq { to { transform: translateX(-50%); } }
.am-club { display: grid; place-items: center; width: 180px; }
.am-club img { height: 110px; width: auto; max-width: 170px; object-fit: contain; }

/* afsluiter: rode kaart, verloop van linksboven naar rechtsonder */
.am-closer { background: linear-gradient(135deg, #a90506 0%, #2c1518 100%); border-radius: 18px; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); text-align: center; display: grid; justify-items: center; }
.am-closer p { color: #fff; margin: 14px 0 0; max-width: 62rem; }
.am-closer p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.am-closer .am-closer-sub { margin: 36px 0 0; }
.am-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 28px 0 44px; }
.am-sig { margin: 0; }
.am-sig img { width: 260px; height: auto; }

/* dankpagina's (spoor D): gecentreerd, dezelfde grijze gloed als het welkomstblok, knoppen Speel nu + Download */
.am-thanks { display: grid; align-items: center; background: radial-gradient(ellipse 62% 105% at 50% 100%, #34343a 0%, #222226 50%, var(--am-bg) 100%); text-align: center; }
.am-thanks-inner { padding-block: clamp(64px, 10vw, 140px); max-width: 720px; }
.am-thanks-kicker { margin: 0 0 0.6em; }
.mode-aftermath .am-thanks .am-h2 { margin-bottom: 0.5em; }
.mode-aftermath .am-thanks .am-intro { font-size: 16px; line-height: 1.7; }
.am-thanks .am-btns { margin: 28px 0 32px; }
.am-thanks .am-btn-outline { box-shadow: inset 0 0 0 1px var(--am-red); }
.am-thanks-back { margin: 0; font-size: 14px; }
.am-thanks-back a { color: var(--am-muted); }
.am-thanks-back a:hover { color: #fff; }

/* footer */
.am-footer { background: var(--am-bg-footer); padding-block: 40px 48px; color: var(--am-muted); font-size: 14px; }
.am-footer .am-wrap { display: grid; gap: 18px; text-align: center; }
.am-footer p { margin: 0; }
.am-footer a { color: var(--am-light); text-decoration: underline; }
.am-age { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--am-light); font-weight: 900; font-size: 11px; color: #fff; margin-right: 10px; vertical-align: middle; }
.am-rule { height: 1px; width: 100%; background: var(--am-banner); }

/* responsive */
@media (max-width: 760px) {
  .am-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .am-stat:nth-child(3)::before { display: none; }
  .am-trio { grid-template-columns: 1fr; }
  .am-hero-title { max-width: none; }
  /* smal scherm: de tekst loopt tot ver over het artwork, dus de overlay blijft langer donker */
  .am-hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.1) 100%); }
}
@media (max-width: 560px) {
  /* header: logo (vast, krimpt niet) · taalkeuze · Download; de Results-link past er niet bij (resultaten via de homepage) */
  .am-nav-link { display: none; }
  .am-header-inner { gap: 10px; min-height: 64px; }
  .am-brand-img { height: 22px; }
  .am-nav { gap: 10px; }
  .am-lang-btn { height: 34px; padding: 0 12px; }
  .am-header .am-btn { font-size: 13px; padding: 0.65em 1em; }
  /* highlights: de drie tabs naast elkaar, even breed; lange namen (Machines à cash) lopen over twee regels;
     rechts 18px vrij (= de afgeronde bovenhoek van de map), zodat de laatste tab niet over de ronding hangt */
  .am-tabs { flex-wrap: nowrap; gap: 4px; align-items: flex-end; padding-right: 18px; }
  .am-tab { flex: 1 1 0; min-width: 0; padding: 10px 5px 9px; font-size: 11.5px; line-height: 1.15; text-align: center; white-space: normal; letter-spacing: 0; border-radius: 10px 10px 0 0; }
  .am-tbl th, .am-tbl td { padding: 10px 8px; }
  .am-tbl th { font-size: 13px; letter-spacing: 0.03em; }
  .am-tbl th:first-child, .am-tbl td.ev { padding-left: 12px; }
  .am-tbl th:last-child, .am-tbl td:last-child { padding-right: 36px; }
  .am-tbl td:last-child::after { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-panel.is-on .am-sub, .am-panel.is-on .am-tile, .am-panel.is-on .am-av, .am-body.is-open { animation: none; }
  .am-tk, .am-mq { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .am-tk span { white-space: normal; }
  .am-tk span:nth-child(n+9), .am-mq .am-club:nth-child(n+9) { display: none; }
  .am-ticker, .am-marquee { mask-image: none; -webkit-mask-image: none; }
  .am-av, .am-btn { transition: none; }
}

/* ---------- resultatenpagina's in aftermath-modus (spoor B): look van de nieuwe homepage ---------- */
.mode-aftermath .results-page { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 100px); }
.mode-aftermath .results-page .am-intro { margin-bottom: 1.2em; }
.res-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.res-tab { font: italic 800 14px/1.2 Roboto, Arial, sans-serif; text-transform: uppercase; padding: 0.7em 1.2em; border-radius: 300px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; transition: background 0.15s, border-color 0.15s; }
.res-tab:hover { border-color: #fff; }
.res-tab.is-on { background: var(--am-red); border-color: var(--am-red); }
.mode-aftermath .filters { background: var(--am-body); border-color: var(--am-line); border-radius: 14px; }
.mode-aftermath .filters label span { color: var(--am-light); font-weight: 300; }
/* Velden en knoppen op dezelfde hoogte (--f-h); de knop heeft geen browserrand (was het witte randje rond "Zoeken"). */
/* --f-h = de hoogte van een gewone .am-btn (16px × 1.2 + 2 × 0.6em), zoals Download in de header en Alle resultaten. */
.mode-aftermath .filters { --f-h: 38.4px; }
.mode-aftermath .filters input { height: var(--f-h); background: #18181b; border-color: rgba(255, 255, 255, 0.18); color: #fff; border-radius: 300px; padding: 0 14px; font-size: 14px; font-weight: 300; }
.mode-aftermath .filters input:focus { border-color: var(--am-red); }
.mode-aftermath .filters input::placeholder { color: var(--am-muted); opacity: 1; }
/* Datumveld zonder waarde: de dd/mm/jjjj-tekst grijs zoals de andere placeholders (data-empty wordt door site.js bijgehouden). */
.mode-aftermath .filters input[type="date"][data-empty] { color: var(--am-muted); }
.mode-aftermath .filters input[type="date"][data-empty]::-webkit-datetime-edit { color: var(--am-muted); }
.mode-aftermath .filters input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; cursor: pointer; }
.mode-aftermath .filters .btn { height: var(--f-h); font: italic 800 14px/1 Roboto, Arial, sans-serif; text-transform: uppercase; padding: 0 1.3em; border: 0; border-radius: 300px; box-shadow: none; transform: none; letter-spacing: 0; }
.mode-aftermath .filters .btn-red { background: var(--am-red); }
.mode-aftermath .filters .btn-dark { background: var(--am-grey); }
.mode-aftermath .results-count { color: var(--am-muted); font-size: 14px; }
.mode-aftermath .results-empty { color: var(--am-light); }
.mode-aftermath .tournament { background: var(--am-body); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 22px 22px 8px; margin-bottom: 20px; box-shadow: var(--am-shadow); }
.mode-aftermath .tournament-head h2 { font-size: var(--am-h4); font-weight: 500; letter-spacing: 0; }
.mode-aftermath .tournament-head h2 a { color: #fff; }
.mode-aftermath .tournament-head h2 a:hover { color: var(--am-light); }
.mode-aftermath .tournament-date, .mode-aftermath .tournament-meta { color: var(--am-muted); font-weight: 300; }
/* metaregel: icoontje + waarde voor spelers, buy-in en prize pool; het woord staat enkel voor schermlezers (.sr-only) en als tooltip */
.tournament-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meta-item svg { width: 15px; height: 15px; fill: currentColor; opacity: 0.85; flex: 0 0 auto; }
.mode-aftermath .meta-item svg { color: var(--am-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Day 1-flights: vierkantjes met afgeronde hoeken, 1A · 1B · …; datum en spelers in de tooltip. */
.mode-aftermath .flights { margin: 0 0 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mode-aftermath .flights .flight { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--am-light); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.mode-aftermath .flights .flight:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }
/* Toernooipagina: kop zoals een kaartje (naam + datum rechtsboven, info met icoontjes eronder), podium met lucht rond en tussen de drie plaatsen. */
.mode-aftermath .am-tour-head { display: block; margin: 0; }
.mode-aftermath .am-tour-head .tournament-date { margin: 4px 0 0; }
.mode-aftermath .am-tour-head .tournament-meta { margin: 8px 0 0; font-size: 14px; }
.mode-aftermath .tournament .flights { margin: 14px 0 0; }
/* Podium op de toernooipagina. Desktop: drie plaatsen 2-1-3 met een dun medaillerandje dat naar beneden uitdooft, met lucht rond en tussen de plaatsen.
   Mobiel (≤ 639px, onderaan): één band 1 · 2 · 3 onder elkaar met een rangcirkel in medaillekleur. */
.mode-aftermath .podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: end; margin: 36px auto 40px; width: min(100%, 780px); }
.mode-aftermath .pod { --medal: #c0c0c0; --pod-bg: var(--am-body); position: relative; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--medal) 14%, var(--pod-bg)) 0%, var(--pod-bg) 78%); border: 0; border-radius: 14px; padding: 16px 14px; display: grid; gap: 2px; justify-items: center; text-align: center; }
.mode-aftermath .pod::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, var(--medal) 0%, color-mix(in srgb, var(--medal) 45%, transparent) 30%, transparent 62%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.mode-aftermath .pod::after { display: none; }
.mode-aftermath .pod.first { --medal: #d4af37; padding-block: 24px; }
.mode-aftermath .pod.second { --medal: #c0c0c0; }
.mode-aftermath .pod.third { --medal: #cd7f32; }
.mode-aftermath .pod .rk { font-size: var(--am-h4); font-weight: 700; color: var(--medal); line-height: 1; position: relative; }
.mode-aftermath .pod .nk, .mode-aftermath .pod .pz { position: relative; }
.mode-aftermath .pod.is-abroad .nk { color: var(--am-muted); font-style: italic; font-weight: 300; }
.mode-aftermath .pod.is-abroad .pz { color: var(--am-grey); }
.mode-aftermath .pod.first .rk { font-size: var(--am-h3); }
.mode-aftermath .pod .nk { font-weight: 700; margin-top: 6px; word-break: break-word; }
.mode-aftermath .pod .pz { color: var(--am-light); font-weight: 300; font-variant-numeric: tabular-nums; }
.mode-aftermath .table-wrap { border: 0; border-radius: 0; background: transparent; }
.mode-aftermath .results { font-size: 14.08px; font-weight: 300; }
.mode-aftermath .results th { color: var(--am-light); font-weight: 700; letter-spacing: 0.06em; font-size: 12px; border-bottom: 2px solid #8b1a1a; }
.mode-aftermath .results td { border-top: 1px solid rgba(139, 26, 26, 0.6); color: #e0e0e0; vertical-align: middle; }
.mode-aftermath .results .rank { color: var(--am-muted); font-weight: 700; }
.mode-aftermath .results tr.is-first .rank { color: var(--am-red); }
.mode-aftermath .results tr.is-first td { background: rgba(209, 0, 0, 0.08); }
.mode-aftermath .results tr.is-podium .rank { color: #fff; }
.mode-aftermath .results .nick { color: #fff; font-weight: 500; }
.mode-aftermath .results .prize { color: #fff; font-weight: 700; }
.mode-aftermath .results .prize.muted, .mode-aftermath .results td.muted { color: var(--am-muted); font-weight: 300; }
.mode-aftermath .results .nick small, .mode-aftermath .results .tour small, .mode-aftermath .results .prize small { color: var(--am-muted); }
.mode-aftermath .results .tour a { color: #fff; }
.mode-aftermath .results .tour a:hover { color: var(--am-light); text-decoration: underline; }
.mode-aftermath a.show-more { display: block; text-align: center; padding: 12px; text-decoration: none; }
.mode-aftermath .show-more { color: #fff; font: italic 800 14px/1.2 Roboto, Arial, sans-serif; text-transform: uppercase; border-top: 1px solid rgba(139, 26, 26, 0.6); }
.mode-aftermath .show-more:hover { background: rgba(209, 0, 0, 0.08); }
.mode-aftermath .prize-note, .mode-aftermath .crumbs { color: var(--am-muted); font-size: 14px; }
.mode-aftermath .crumbs a { color: var(--am-light); }
.mode-aftermath .crumbs a:hover { color: #fff; }
.mode-aftermath .am-nav-link.is-on { color: #fff; }
/* toernooipagina: zoeken op nickname binnen het toernooi */
.nick-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; margin: 0 0 4px; --f-h: 38.4px; }
.nick-search label { display: grid; gap: 6px; }
.nick-search label span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--am-light); font-weight: 300; }
.nick-search input { width: 100%; height: var(--f-h); padding: 0 14px; border-radius: 300px; border: 1px solid rgba(255, 255, 255, 0.18); background: #18181b; color: #fff; font: 300 14px/1.4 Roboto, Arial, sans-serif; outline: none; }
.nick-search input::placeholder { color: var(--am-muted); opacity: 1; }
.nick-search input:focus { border-color: var(--am-red); }
.nick-search .am-btn { height: var(--f-h); display: inline-flex; align-items: center; padding: 0 1.2em; }
.nick-search .nick-count { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--am-muted); min-height: 1.2em; }
.nick-search .results-empty { grid-column: 1 / -1; margin: 0; padding: 8px 0 0; text-align: left; font-size: 14px; }
.nick-search .results-empty[hidden] { display: none; }
@media (max-width: 639px) { .mode-aftermath .filter-actions { justify-content: center; margin-top: 10px; } }

/* overzicht als kaartjes: 2 of 3 naast elkaar, elke kaart klikbaar naar de eindstand */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(340px, calc((100% - 40px) / 3)), 1fr)); gap: 20px; }
.res-card { position: relative; background: var(--am-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 22px 22px 18px; box-shadow: var(--am-shadow); display: grid; gap: 12px; align-content: start; transition: transform 0.2s, border-color 0.2s; }
.res-card:hover { transform: translateY(-3px); border-color: rgba(209, 0, 0, 0.55); }
.res-card-link { position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.res-card .flights, .res-card .podium { position: relative; z-index: 2; }
.res-card .flights a { position: relative; z-index: 2; }
.res-card-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.res-card-head h2 { font-size: var(--am-h4); font-weight: 500; letter-spacing: 0; line-height: 1.17; margin: 0; }
.res-card-stamp { flex: 0 0 auto; margin-top: 0.35em; font-size: 13px; color: var(--am-muted); font-weight: 300; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-card .tournament-date { margin: 4px 0 0; }
.res-card .tournament-meta { margin: 8px 0 0; font-size: 13px; }
.res-card .flights { margin: 0; }
/* top 3 op een kaartje: rustige lijst 1-2-3, enkel het rangnummer in de medaillekleur */
.res-card .podium { display: grid; grid-template-columns: 1fr; gap: 0; margin: 2px 0 0; align-items: stretch; background: none; border: 0; border-radius: 0; overflow: visible; }
.res-card .pod { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 10px; padding: 9px 4px; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; text-align: left; justify-items: start; overflow: visible; box-shadow: none; }
.res-card .pod + .pod { border-left: 0; }
.res-card .pod::before, .res-card .pod::after { display: none; }
.res-card .pod.first { order: -1; padding-block: 9px; border-top: 0; }
.res-card .pod.third { order: 1; }
.res-card .pod .rk { grid-row: auto; width: auto; height: auto; display: inline; background: none; border-radius: 0; font-size: 15px; font-weight: 700; color: var(--medal); }
.res-card .pod.first .rk { font-size: 15px; }
.res-card .pod .nk { font-size: 14px; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.res-card .pod .pz { font-size: 14px; color: var(--am-light); font-weight: 300; justify-self: end; }
.res-card .pod.is-abroad .nk { font-weight: 300; }
.res-card .results-empty { padding: 18px 0; font-size: 14px; }
.res-card-more { margin: 6px 0 0; text-align: center; }
.res-card-more .am-btn { font-size: 14px; }
.res-card:hover .res-card-more .am-btn { background: var(--am-red); }
@media (max-width: 639px) {
  .res-grid { grid-template-columns: 1fr; }
  /* podium als band: 1 · 2 · 3 onder elkaar, rangcirkel in medaillekleur, accent links */
  .mode-aftermath .tournament .podium { grid-template-columns: 1fr; gap: 0; margin: 28px 0 32px; width: 100%; background: var(--am-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden; align-items: stretch; }
  .mode-aftermath .tournament .pod { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; gap: 0 12px; align-items: center; padding: 16px 18px; border-radius: 0; background: none; text-align: left; justify-items: start; box-shadow: inset 3px 0 0 var(--medal); overflow: visible; }
  .mode-aftermath .tournament .pod::before { display: none; }
  .mode-aftermath .tournament .pod + .pod { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .mode-aftermath .tournament .pod.first { order: -1; padding-block: 16px; }
  .mode-aftermath .tournament .pod.third { order: 1; }
  .mode-aftermath .tournament .pod .rk { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--medal); color: #111; font-size: 15px; font-weight: 800; }
  .mode-aftermath .tournament .pod.first .rk { font-size: 15px; }
  .mode-aftermath .tournament .pod .nk { margin-top: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mode-aftermath .tournament .pod .pz { font-size: 14px; }
  .mode-aftermath .tournament { padding: 16px 14px 4px; }
}
