:root {
  color-scheme: dark;
  --bg: #08080f;
  --panel: #13131f;
  --line: #ffffff17;
  --text: #fbf9ff;
  --muted: #b0aabd;
  --accent: #c084fc;
  --display: "Rajdhani", "Arial Narrow", Impact, sans-serif;
}
@font-face {
  font-family: "Rajdhani";
  src: url("assets/rajdhani-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Rajdhani";
  src: url("assets/rajdhani-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: block;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #08080fe0, #08080ffa 510px, var(--bg) 850px),
    url("assets/binnenplaats.webp") center top / max(100%, 1100px) auto no-repeat, var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--display);
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1192px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 10px; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 3; background: #0b0b14f5; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { object-fit: contain; }
nav { display: flex; gap: clamp(16px, 3vw, 38px); }
nav a { font-family: var(--display); font-size: 1.06rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
nav a:hover, .footer a:hover { color: var(--accent); }
.button { padding: 8px 15px; border-radius: 8px; background: #5865e9; font: 700 1rem/1.4 var(--display); }
.button:hover { background: #6b77f6; }
.portal-login { display: inline-flex; align-items: center; gap: 8px; }
.discord-mark {
  display: inline-block; width: 20px; height: 16px; background: currentColor;
  mask: url("assets/discord.svg") center / contain no-repeat;
}
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portal-grid h2, .portal-welcome h2, .portal-season-status h2 { font-size: 2rem; margin-bottom: 10px; }
.portal-welcome { max-width: 620px; margin: 0 auto; text-align: center; padding: 36px; }
.portal-welcome p { margin-bottom: 20px; color: var(--muted); }
.portal-details { margin-block: 18px; }
.portal-details > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.portal-details dt { color: var(--muted); }
.portal-details dd { margin: 0; overflow-wrap: anywhere; }
.portal-season-status { margin-top: 20px; }
.portal-note { margin-top: 10px; color: var(--muted); }
.stats-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 20px 26px; }
.stats-heading h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-block: 4px; }
.stats-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.stats-metrics button {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--muted); background: #10101b; font: 700 1rem/1.3 var(--display); cursor: pointer;
}
.stats-metrics button[aria-pressed="true"] { border-color: #a855f78c; background: #a855f724; color: #e9d5ff; }
.stats-metrics button:hover { border-color: var(--accent); color: var(--text); }
.stats-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stats-toolbar label { display: grid; gap: 4px; color: var(--muted); font-weight: 700; }
.stats-toolbar label:first-child { flex: 1; min-width: min(200px, 100%); }
.stats-toolbar input, .stats-toolbar select {
  padding: 8px 12px; min-height: 40px; max-width: 100%; border: 1px solid var(--line);
  border-radius: 7px; color: var(--text); background: var(--bg); font: 400 1rem/1.3 var(--display);
}
.stats-toolbar select { padding-right: 24px; }
.stats-summary { margin-block: 20px 12px; }
.stats-summary h2 { font-size: 1.7rem; text-transform: uppercase; }
.stats-summary p, .stats-updated, #stats-message { color: var(--muted); }
#stats-message:not(:empty) { padding: 24px 0; }
.stats-ranking { list-style: none; margin: 0; padding: 0; }
.stats-row {
  width: 100%; display: grid; grid-template-columns: 28px 36px minmax(110px, 1fr) minmax(60px, 1.5fr) 110px;
  align-items: center; gap: 12px; padding: 12px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 6px; color: var(--text); background: transparent; text-align: left; font: inherit; cursor: pointer;
}
.stats-row:hover, .stats-row:focus-visible { background: #a855f710; }
.stats-position { font-weight: 700; color: var(--muted); }
.stats-ranking li:nth-child(-n+3) .stats-position { color: #e8be70; }
.stats-head { display: block; object-fit: contain; image-rendering: pixelated; border-radius: 5px; background: #35263f; }
.stats-name { overflow-wrap: anywhere; }
.stats-bar { height: 8px; background: #292132; border-radius: 9px; overflow: hidden; }
.stats-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #7e36b7, #c084fc); border-radius: inherit; }
.stats-value { text-align: right; font-variant-numeric: tabular-nums; }
.stats-updated { margin-top: 12px; font-size: .9rem; }
.stats-dialog { width: min(620px, calc(100% - 28px)); max-height: 85vh; color: var(--text); }
.stats-dialog::backdrop { background: #08080fcc; }
.stats-player-heading { display: flex; align-items: center; gap: 12px; }
.stats-player-heading h2 { font-size: 2rem; overflow-wrap: anywhere; }
.stats-player-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
.stats-player-values > div { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0b0b14; }
.stats-player-values dt { color: var(--muted); }
.stats-player-values dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 700; }
@media (max-width: 640px) {
  .stats-heading { flex-wrap: wrap; }
  .stats-row { grid-template-columns: 24px 32px minmax(0, 1fr) 86px; gap: 8px; padding-inline: 0; }
  .stats-row .stats-head { width: 32px; height: 32px; }
  .stats-bar { display: none; }
  .stats-board { padding-inline: 14px; }
}
@media (max-width: 640px) { .portal-grid { grid-template-columns: 1fr; } }
.hero { padding: 48px 0 36px; text-align: center; }
.pill {
  display: inline-block; padding: 4px 13px; border: 1px solid #a855f765;
  border-radius: 99px; background: #a855f71c; color: #e2bdff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}
.season-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; }
.season-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.season-status[data-state="live"]::before { background: #22c55e; }
.season-status[data-state="ended"]::before { background: var(--muted); }
.intro h1 { margin-block: 12px 14px; }
h1, h2 { font-family: var(--display); line-height: 1.03; }
h1 { font-size: clamp(2.75rem, 7.5vw, 5.6rem); text-transform: uppercase; letter-spacing: .015em; margin: 8px 0 10px; text-wrap: balance; }
h1 em { color: #ac5ff2; font-style: normal; white-space: nowrap; }
.subtitle { color: var(--muted); font-size: clamp(.94rem, 2vw, 1.1rem); }
.feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.art, .announcement, .panel { border: 1px solid var(--line); border-radius: 16px; }
.art {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center;
  isolation: isolate; overflow: hidden; border-color: #a855f76b; background: var(--bg);
}
.art-scenes { position: absolute; inset: 0; z-index: -1; }
.art-scenes::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #08080f29 38%, #08080fb8);
}
.art-scenes span {
  position: absolute; inset: -10px; background-position: center; background-size: cover;
  filter: blur(5px); opacity: 0; animation: scene-fade 21s linear infinite;
}
.art-scenes .scene-arena { background-image: url("assets/wereld-arena.webp"); animation-delay: -1s; }
.art-scenes .scene-luchtbeeld { background-image: url("assets/wereld-luchtbeeld.webp"); animation-delay: 6s; }
.art-scenes .scene-wereld { background-image: url("assets/wereld-wereld.webp"); animation-delay: 13s; }
@keyframes scene-fade {
  0%, 38.1%, 100% { opacity: 0; }
  4.76%, 33.33% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .art-scenes span { animation: none; }
  .art-scenes .scene-arena { opacity: 1; }
}
.season-logo { display: block; width: min(78%, 560px); height: auto; filter: drop-shadow(0 13px 18px #000); }
.art-label, .eyebrow, .timeline h2 {
  color: var(--accent); font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
}
.art-label { position: absolute; bottom: 16px; left: 20px; color: #ead6ff; }
.announcement, .panel { background: linear-gradient(180deg, var(--panel), #0d0d16); padding: 24px 26px; }
.announcement { display: flex; flex-direction: column; gap: 14px; }
.announcement h2 { font-size: 2rem; }
.news-page-heading { margin-bottom: 2rem; }
.news-feed { display: grid; gap: 1.5rem; width: 100%; max-width: 960px; margin: 0 auto; }
.news-feed .news-card { gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); min-height: 0; }
.news-feed .news-card-latest { border-color: #a855f74d; }
.news-feed .news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; flex: none; }
.news-meta span + span, .news-meta time + span { border-left: 1px solid var(--line); padding-left: 1rem; }
.news-feed .news-card h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.2; letter-spacing: 0; text-transform: none; }
.news-copy { max-width: 76ch; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.news-copy p { margin: 0; }
.news-copy p + p { margin-top: .75rem; }
.news-feed .news-action { align-self: flex-start; display: inline-flex; width: auto; max-width: 100%; margin-top: .25rem; justify-content: center; }
.news-planning-link { align-self: flex-start; color: var(--accent); font-weight: 700; text-underline-offset: .2em; }
.announcement > p:not(.eyebrow) { color: var(--muted); flex: 1; }
.text-link { color: var(--accent); font-size: .88rem; font-weight: 700; }
.text-link:hover { color: var(--text); }
.announcement .text-link { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 12px; }
.timeline { margin-top: 20px; }
.timeline h2 { font-size: 1.35rem; }
.timeline-head { align-items: center; }
.timeline-period { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .82rem; }
.timeline-days {
  --axis-top: 118px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  position: relative; margin: 8px 0 0; padding: 0;
  list-style: none; text-align: center;
}
.timeline-days::before { content: ""; position: absolute; top: var(--axis-top); inset-inline: calc(100% / 44); height: 3px; border-radius: 4px; background: #383245; }
.timeline-days li { --label-end: calc(var(--axis-top) - 18px); position: relative; min-width: 0; padding-top: calc(var(--axis-top) + 14px); }
.timeline-days li::before {
  content: ""; position: absolute; top: calc(var(--axis-top) + 1.5px); left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: #6c6277;
}
.timeline-days .timeline-event::before { width: 15px; height: 15px; background: #171222; border: 3px solid var(--accent); }
.timeline-label {
  position: absolute; left: 50%; bottom: calc(100% - var(--label-end)); transform: translateX(-50%); z-index: 1;
  padding: 5px 10px; border: 1px solid #a855f77a; border-radius: 8px;
  background: #191222; color: #efe2ff; white-space: nowrap;
  font: 700 1rem/1.15 var(--display);
}
.timeline-event::after { content: ""; position: absolute; top: var(--label-end); left: 50%; width: 1px; height: calc(var(--axis-top) - var(--label-end) - 7px); background: var(--accent); }
.timeline-event:first-child .timeline-label { left: 0; transform: none; }
.timeline-event:last-child .timeline-label { left: auto; right: 0; transform: none; }
.timeline-label span { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.timeline-date { color: var(--muted); font-size: .77rem; font-variant-numeric: tabular-nums; }
.timeline-event .timeline-date { color: var(--accent); font-weight: 700; }
.timeline-day-button {
  position: absolute; inset: calc(var(--axis-top) - 12px) 0 0;
  padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer;
}
.timeline-day-button:focus-visible { z-index: 2; outline-offset: 0; }
.timeline-days li:has(.timeline-day-button) .timeline-label { cursor: pointer; }
.timeline-days li:is(:hover, :focus-within)::before { background: var(--accent); box-shadow: 0 0 9px #c084fc80; scale: 1.2; }
.timeline-days li:is(:hover, :focus-within) .timeline-date { color: var(--text); }
.timeline-days li:is(:hover, :focus-within) .timeline-label { margin-bottom: 3px; border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .timeline-days li::before { transition: scale 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
  .timeline-label { transition: margin-bottom 150ms ease, border-color 150ms ease; }
}
.timeline-dialog { width: min(460px, calc(100% - 32px)); max-height: 80vh; color: var(--text); }
.timeline-dialog::backdrop { background: #08080fc9; }
.timeline-dialog h3 { font: 700 1.65rem/1.1 var(--display); text-transform: capitalize; }
.timeline-close {
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px;
  color: var(--text); background: #211830; font: inherit; cursor: pointer;
}
.timeline-dialog-section { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.timeline-dialog-section h4 { margin: 0 0 4px; color: var(--accent); font: 700 1.1rem/1.2 var(--display); }
.timeline-dialog-section p { color: var(--muted); }
.timeline-dialog-section p:empty { display: none; }
.timeline-days :is(.end-opening, .passage-opening) { --label-end: 52px; }
@media (max-width: 900px) {
  .timeline-days { --axis-top: 214px; }
  .timeline-days .realm-opening { --label-end: 52px; }
  .timeline-days .nether-opening { --label-end: 52px; }
  .timeline-days :is(.end-opening, .passage-opening) { --label-end: 100px; }
  .timeline-days .realm-finale { --label-end: 148px; }
}
@media (max-width: 420px) {
  .realm-opening .timeline-label { left: -8px; transform: translateX(-50%); }
  .nether-opening .timeline-label { left: auto; right: 0; transform: translateX(50%); }
}
@media (max-width: 580px) {
  .timeline-days li::before { width: 5px; height: 5px; }
  .timeline-days .timeline-event::before { width: 9px; height: 9px; border-width: 2px; }
  .timeline-date { font-size: .6rem; }
}
.archive { margin: 42px 0 28px; }
.participants { margin: 18px auto 0; max-width: 980px; }
.participants-intro { text-align: center; padding: 10px 0 20px; }
.participants-intro .eyebrow { font-size: 1rem; }
.participants-intro h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.participants .team-filters { min-width: 0; }
.participants .team-filters legend { font: 700 1.17rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.team-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.participants .team-options label {
  position: relative;
  display: inline-flex; gap: 8px;
  margin: 0; padding: 5px 10px;
  border-radius: 8px; background: linear-gradient(155deg, #181625, #0d0d16);
  font: 700 1.1rem/1.1 var(--display);
}
.participants .team-options img { width: 32px; height: 32px; }
.participants .team-filters input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.participants .team-filters label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.participants .team-options label:is(:hover, :has(:checked)) { border-color: var(--team-color); }
.participants .team-options label:has(:checked) { background: color-mix(in srgb, var(--team-color) 13%, #13131f); box-shadow: inset 0 -3px var(--team-color); }
.participants .all-teams { font: 700 1.12rem/1.2 var(--display); }
.participant-results { margin-top: 22px; text-align: center; }
#participant-status { font: 700 1.23rem/1.3 var(--display); }
.rules-intro-copy { max-width: 62ch; margin-inline: auto; color: var(--muted); }
.season-rules-layout { display: grid; grid-template-columns: minmax(215px, .34fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.season-rules-index { position: sticky; top: 86px; }
.season-rules-index .rules-navigation { display: grid; gap: 5px; }
.season-rules-index nav a { text-transform: none; letter-spacing: normal; padding: 6px 9px; border-radius: 6px; }
.season-rules-index nav a:hover { background: #a855f71c; }
.smp-rule-index {
  list-style: none; max-height: min(18rem, 38vh); overflow-y: auto;
  margin: 0 0 10px; padding: 0 4px 8px 0; border-bottom: 1px solid var(--line);
  scrollbar-color: #715895 transparent;
}
.smp-rule-index a { display: block; padding: 5px 8px; border-radius: 5px; line-height: 1.25; }
.smp-rule-index a:hover, .smp-rule-index a:focus-visible { background: #a855f71c; color: var(--accent); }
#rules-search-label { font: 700 1.15rem/1.3 var(--display); }
#rules-search {
  width: 100%; margin-block: 6px 14px; padding: 10px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; font: inherit;
}
.season-rules-content .rules-section { margin-bottom: 28px; }
.season-rules-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 5px; }
.season-rules-content h3, .season-rules-content h4 { font-family: var(--display); font-size: 1.2rem; margin-block: 8px; }
.season-rules-content :is(.rules-card, .rule-item, .rules-section > .rules-entry) {
  margin-top: 12px; padding: 16px 20px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--panel); overflow-wrap: anywhere;
}
.season-rules-content .rules-card > .rules-entry { border-top: 1px solid var(--line); margin-top: 12px; }
.season-rules-content p { color: var(--muted); }
.season-rules-content p + p { margin-top: 8px; }
.season-rules-content a { color: var(--accent); }
.season-sanctions { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.sanction-overview { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.sanction-overview table { width: 100%; border-collapse: collapse; text-align: left; }
.sanction-overview :is(th, td) { padding: 12px clamp(12px, 3vw, 22px); }
.sanction-overview thead { background: #a855f71c; font: 700 1.08rem/1.2 var(--display); }
.sanction-overview tbody tr { border-top: 1px solid var(--line); }
.sanction-overview tbody th { width: 8rem; color: var(--accent); }
.rule-penalty {
  margin-top: 12px; padding: 10px 12px;
  border-inline-start: 3px solid var(--accent);
  border-radius: 4px; background: #a855f712;
}
.rule-penalty strong { color: var(--text); }
@media (max-width: 760px) {
  .season-rules-layout { grid-template-columns: minmax(0, 1fr); }
  .season-rules-index { position: static; }
  .season-rules-index .rules-navigation { display: flex; flex-wrap: wrap; }
}
.season-page { min-height: 50vh; padding-block: 20px 36px; }
.season-page { flex: 1; }
.season-page .text-link { font: 700 .98rem/1.4 var(--display); }
.season-page > .hero { padding-top: 28px; }
.season-page > .art { max-width: 800px; margin-inline: auto; }
.page-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.page-links a { text-transform: none; letter-spacing: normal; }
.page-links a:hover { border-color: var(--accent); }
.page-links strong { display: block; font-size: 1.35rem; }
.page-links span { color: var(--muted); font: 400 1rem/1.5 var(--display); }
.header nav a[aria-current="page"] { color: var(--accent); }
.header nav { flex-wrap: nowrap; gap: clamp(12px, 1.65vw, 24px); }
.header nav a { white-space: nowrap; }
.header .discord { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; gap: 0 10px; padding-top: 5px; }
  .header nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding-block: 6px 10px; }
  .header nav a { font-size: .9rem; }
}
.team-filters img { display: block; border-radius: 3px; }
.participants h2 { font-size: 2rem; }
.team-filters { border: 0; padding: 0; margin: 14px 0; }
.team-filters legend { color: var(--muted); margin-bottom: 8px; }
.team-filters label {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 6px 6px 0; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.team-filters label:has(:checked) { border-color: var(--accent); background: #a855f71c; }
.team-filters input { margin: 0; accent-color: var(--team-color, var(--accent)); }
.team-filters .rome { --team-color: #f5cd53; }
.team-filters .sparta { --team-color: #ff747e; }
.team-filters .athene { --team-color: #74b4ff; }
.team-filters .macedonie { --team-color: #66e9a8; }
#participant-list:empty { display: none; }
#participant-status { color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.archive h2, .faq h2 { font-size: 2rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.gallery figure { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 16px 10px; background: linear-gradient(transparent, #08080ff2); font-weight: 700; }
.faq { margin-bottom: 32px; }
.faq h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 8px; }
.faq summary { cursor: pointer; }
.faq details p { color: var(--muted); padding-top: 6px; }
.faq a { color: var(--accent); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: .82rem; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 14px; }
  .announcement { min-height: 210px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .hero { padding: 32px 0 25px; }
  .announcement, .panel { padding: 17px 14px; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .footer > p { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Scorebord */
/* Statistiekenpagina: scorebord. Gebruikt de tokens van de pagina (--accent, --muted, ...). */
.sp{display:flex;flex-direction:column;gap:22px}
.sp-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
.sp-head .eyebrow{margin-bottom:6px}
.sp-season{display:flex;align-items:center;gap:10px}
.sp-season select{padding:9px 34px 9px 12px;border:1px solid var(--line);border-radius:10px;background:#11111b;color:var(--fg);font:600 14px var(--body)}

.seg{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:12px;background:rgba(13,13,22,.85);gap:2px;flex-wrap:wrap}
.seg button{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:600 13px var(--body);cursor:pointer;white-space:nowrap}
.seg button:hover{color:var(--fg);background:rgba(255,255,255,.04)}
.seg button[aria-pressed="true"]{background:var(--accent);color:#fff}
.seg button i{width:8px;height:8px;border-radius:50%;background:var(--c)}
.seg button[aria-pressed="true"] i{background:#fff}

.sp-bar{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(19,19,31,.96),rgba(10,10,17,.98))}
.sp-stats{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.stat-pick{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--muted);font:600 13px var(--body);cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.stat-pick:hover{color:var(--fg);border-color:rgba(168,85,247,.35)}
.stat-pick span.ic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(168,85,247,.12);color:var(--accent-soft)}
.stat-pick[aria-pressed="true"]{border-color:var(--accent);background:rgba(168,85,247,.14);color:var(--fg)}
.stat-pick[aria-pressed="true"] span.ic{background:var(--accent);color:#fff}
.sp-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sp-filters .grow{flex:1}
.tool-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(13,13,22,.85);color:var(--muted);font:600 13px var(--body);cursor:pointer}
.tool-btn:hover{color:var(--fg);border-color:rgba(168,85,247,.4)}
.tool-btn[aria-pressed="true"]{border-color:var(--accent);color:var(--fg);background:rgba(168,85,247,.14)}
.day-pick{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}
.day-pick select{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#11111b;color:var(--fg);font:600 13px var(--body)}

/* Podium */
.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}
.pod{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 16px 18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(var(--rgb),.16),rgba(13,13,22,.95) 70%);cursor:pointer;color:inherit;font:inherit;text-align:center;transition:transform .15s,border-color .15s}
.pod:hover{transform:translateY(-3px);border-color:rgba(var(--rgb),.6)}
.pod.p1{order:2;padding-top:30px;border-color:rgba(var(--rgb),.55)}
.pod.p2{order:1}.pod.p3{order:3}
.pod .medal{position:absolute;top:-14px;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgb(var(--rgb));color:#14141f;font:800 15px var(--display);box-shadow:0 0 0 4px var(--bg)}
.pod img{width:84px;height:84px;border-radius:12px;object-fit:cover;image-rendering:pixelated;border:2px solid rgba(var(--rgb),.7)}
.pod.p1 img{width:104px;height:104px}
.pod b{font-family:var(--display);font-size:22px;letter-spacing:.5px;line-height:1}
.pod .val{color:rgb(var(--rgb));font:800 20px var(--body);font-variant-numeric:tabular-nums}
.pod .meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
@media (max-width:640px){.podium{grid-template-columns:minmax(0,1fr)}.pod.p1,.pod.p2,.pod.p3{order:0}}

/* Ranglijst */
.board{display:flex;flex-direction:column;gap:8px}
.row{display:grid;grid-template-columns:46px 44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 16px 10px 12px;border:1px solid var(--line);border-radius:14px;background:rgba(19,19,31,.9);color:inherit;font:inherit;text-align:left;cursor:pointer;position:relative;overflow:hidden;transition:border-color .15s}
.row:hover{border-color:rgba(168,85,247,.45)}
.row .rk{font:800 18px var(--display);color:var(--dim);text-align:center;font-variant-numeric:tabular-nums}
.row img{width:44px;height:44px;border-radius:10px;object-fit:cover;image-rendering:pixelated}
.row .who{min-width:0;display:flex;flex-direction:column;gap:6px}
.row .who b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .track{height:6px;border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden}
.row .track i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,var(--accent),#c084fc)}
.row .right{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}
.row .right strong{font-size:16px}
.delta{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:7px;font-size:11px;font-weight:800}
.delta.up{background:rgba(34,197,94,.15);color:#86efac}
.delta.down{background:rgba(239,68,68,.15);color:#fca5a5}
.delta.same{background:rgba(255,255,255,.06);color:var(--dim)}
.tagmini{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.06);font-size:11px;font-weight:700;color:var(--muted)}
.tagmini i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.st-dead{color:#fca5a5}.st-loser{color:#fcd34d}
@media (max-width:600px){.row{grid-template-columns:30px 40px minmax(0,1fr);}.row .right{grid-column:3}}
.sp-empty{padding:30px;border:1px dashed var(--line);border-radius:16px;color:var(--dim);text-align:center}

/* Grafiek */
.chart-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(19,19,31,.9)}
.chart-card h3{margin:0 0 4px;font-family:var(--display);font-size:18px;letter-spacing:1.5px;color:var(--accent-soft)}
.chart-card p{margin:0 0 12px;color:var(--dim);font-size:13px}
.chart-box{overflow-x:auto}
.chart-box svg{display:block;min-width:620px;width:100%;height:auto}
.legend-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.legend-row button{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--fg);font:600 12px var(--body);cursor:pointer}
.legend-row button[aria-pressed="false"]{opacity:.4}
.legend-row i{width:9px;height:9px;border-radius:50%;background:var(--c)}

/* Pop-ups */
.sp-overlay{position:fixed;inset:0;z-index:10000;background:rgba(4,4,10,.78);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px}
.sp-modal{position:relative;width:min(640px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;padding:0;border:1px solid rgba(168,85,247,.35);border-radius:20px;background:linear-gradient(180deg,#17172280,#0c0c14),#101018;box-shadow:0 30px 90px rgba(0,0,0,.6);display:flex;flex-direction:column;gap:18px}
.sp-scroll{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:24px 18px 24px 24px;margin-right:6px;display:flex;flex-direction:column;gap:18px;scrollbar-width:thin;scrollbar-color:rgba(168,85,247,.55) transparent}
.sp-scroll::-webkit-scrollbar{width:6px}
.sp-scroll::-webkit-scrollbar-track{background:transparent;margin:18px 0}
.sp-scroll::-webkit-scrollbar-thumb{background:rgba(168,85,247,.5);border-radius:6px}
.sp-scroll::-webkit-scrollbar-thumb:hover{background:rgba(168,85,247,.8)}
.sp-close{position:absolute;top:14px;right:20px;z-index:2;width:38px;height:38px;border:0;border-radius:10px;background:rgba(255,255,255,.05);color:var(--fg);font-size:22px;cursor:pointer}
.sp-close:hover{background:rgba(255,255,255,.1)}
.pm-head{display:flex;align-items:center;gap:16px;padding-right:40px}
.pm-head img{width:72px;height:72px;border-radius:14px;object-fit:cover;image-rendering:pixelated;border:2px solid rgba(168,85,247,.5)}
.pm-head h2{margin:0;font-family:var(--display);font-size:30px;letter-spacing:1px;line-height:1}
.pm-head .sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;color:var(--muted);font-size:14px}
.pm-head .sub strong{color:var(--fg);font-size:16px}
.rank-chip{padding:3px 9px;border-radius:8px;background:rgba(168,85,247,.18);color:#e9d5ff;font-weight:800;font-size:12px}
.mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.mini-grid div{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.035)}
.mini-grid span{display:block;color:var(--dim);font-size:12px}
.mini-grid b{font-size:16px;font-variant-numeric:tabular-nums}
.mini-grid .on{outline:1px solid var(--accent);background:rgba(168,85,247,.12)}
.sec-title{margin:0;color:var(--dim);font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:2px}
.days{display:flex;flex-direction:column;gap:6px}
.days div{display:grid;grid-template-columns:70px 56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.03);font-variant-numeric:tabular-nums}
.days span{color:var(--muted);font-size:13px}
.days .bar{height:6px;border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden}
.days .bar i{display:block;height:100%;background:var(--accent);border-radius:6px}

/* Verdeling */
.donut-wrap{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center}
@media (max-width:560px){.donut-wrap{grid-template-columns:minmax(0,1fr);justify-items:center}}
.donut-wrap svg{width:220px;height:220px}
.share-list{display:flex;flex-direction:column;gap:6px;width:100%}
.share-list div{display:grid;grid-template-columns:12px minmax(0,1fr) auto 46px;align-items:center;gap:10px;font-size:13px;font-variant-numeric:tabular-nums}
.share-list i{width:10px;height:10px;border-radius:50%;background:var(--c)}
.share-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-list em{font-style:normal;color:var(--dim);text-align:right}

/* Vergelijken */
.cmp-pick{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center}
.cmp-pick select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#11111b;color:var(--fg);font:600 14px var(--body)}
.cmp-pick .vs{font:800 16px var(--display);color:var(--dim)}
.cmp-rows{display:flex;flex-direction:column;gap:10px}
.cmp-row{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);gap:10px;align-items:center;font-variant-numeric:tabular-nums}
.cmp-row .lab{text-align:center;color:var(--muted);font-size:12px;font-weight:700}
.cmp-side{display:flex;align-items:center;gap:8px}
.cmp-side.l{flex-direction:row-reverse}
.cmp-side .b{flex:1;height:10px;border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden;display:flex}
.cmp-side.l .b{justify-content:flex-end}
.cmp-side .b i{display:block;height:100%;border-radius:6px}
.cmp-side.l .b i{background:#a855f7}.cmp-side.r .b i{background:#38bdf8}
.cmp-side b{min-width:70px;font-size:13px}
.cmp-side.l b{text-align:right}
.cmp-side b.win{color:#fff}.cmp-side b.lose{color:var(--dim)}
.cmp-heads{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);align-items:center;gap:10px;text-align:center}
.cmp-heads div{display:flex;flex-direction:column;align-items:center;gap:6px}
.cmp-heads img{width:56px;height:56px;border-radius:12px;image-rendering:pixelated}
.cmp-heads strong{font-family:var(--display);font-size:20px}
.cmp-heads .score{font:800 28px var(--display);color:var(--fg)}

/* Dagkiezer in seizoensmenu-stijl */
.day-picker{display:flex;align-items:center;gap:6px}
.day-picker .sx-trigger.day-trigger{min-width:190px}
.day-step{width:38px;height:46px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:#11111b;color:#c4b5fd;cursor:pointer}
.day-step:hover:not([disabled]){border-color:rgba(168,85,247,.5);color:#fff}
.day-step[disabled]{opacity:.35;cursor:default}
.day-picker .sx-menu.day-menu{left:44px;right:auto;width:250px}
.day-list{max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:3px;padding-right:2px;scrollbar-width:thin;scrollbar-color:#3b3150 transparent}
.day-date{margin-left:auto;color:#8b8b99;font-weight:600;font-size:12px}
.day-list .sx-opt .sx-check{margin-left:6px}
.day-list .sx-opt{white-space:nowrap}

#statsPage,.sp-overlay{--line:rgba(255,255,255,.1);--fg:#faf9ff;--bg:#08080f;--dim:#8b8b99;--body:Rajdhani,sans-serif;--display:Rajdhani,sans-serif;--accent:#a855f7;--accent-soft:#c084fc;--muted:#b8b8cd}#statsPage .page-title{margin:0;font-size:clamp(36px,5vw,60px);line-height:1.1;letter-spacing:3px}#statsPage .eyebrow{color:#c084fc;font-weight:700;letter-spacing:2px}#statsPage .sp-stats{flex-wrap:wrap;overflow:visible}#statsPage button:disabled{opacity:.4;cursor:default}#statsPage .sx-trigger{display:flex;align-items:center;gap:12px;border:1px solid #393047;border-radius:12px;background:#0e0e18;padding:10px 16px;min-width:160px}#statsPage .sx-copy{display:flex;flex-direction:column;line-height:1.15}#statsPage .sx-copy small{font-size:11px;letter-spacing:1.5px;color:#8b8b99;font-weight:700}#statsPage .sx-copy strong{font-size:17px}#statsPage .sx-icon{color:#a855f7;background:#a855f71a;padding:6px;border-radius:8px}#statsPage .stats-bars{display:flex;flex-direction:column;gap:14px}#statsPage .stats-bars button{display:grid;grid-template-columns:36px 140px 1fr auto;align-items:center;gap:12px;border:0;background:transparent;color:#fff;font:inherit;cursor:pointer;text-align:left}#statsPage .stats-bars img{width:36px;image-rendering:pixelated;border-radius:6px}#statsPage .track{height:8px;background:#ffffff0f;border-radius:8px;overflow:hidden}#statsPage .track i{display:block;height:100%;border-radius:8px}.sp-overlay button,.sp-overlay select{font-family:Rajdhani,sans-serif}.sp-modal h2{color:#fff}.sp-overlay:has(.sp-modal){color:#faf9ff}@media(max-width:600px){#statsPage .stats-bars button{grid-template-columns:32px 1fr auto}#statsPage .stats-bars .track{grid-column:2/-1}.cmp-row{grid-template-columns:1fr 80px 1fr}.cmp-side b{min-width:40px}.cmp-heads{grid-template-columns:1fr 80px 1fr}}

/* Mijn SMP applications */
.signup-section{margin-top:24px;padding:clamp(20px,3vw,36px)}.signup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.signup-heading h2{margin:0;font-size:32px}.signup-heading .eyebrow{margin:0 0 6px}.signup-badge{border:1px solid #a855f747;background:#a855f714;color:#d8b4fe;border-radius:99px;padding:6px 14px;font-weight:700;white-space:nowrap}.signup-section>p{max-width:850px;color:#b8b8cd}.signup-section form{margin-top:28px}.signup-section fieldset{border:0;padding:0;margin:0;min-width:0}.signup-section legend,.signup-section h3{font-size:22px;font-weight:700;margin:22px 0 14px;color:#faf9ff}.signup-section label{display:flex;flex-direction:column;gap:8px;font-weight:700;margin-bottom:18px}.signup-section input:not([type=checkbox]),.signup-section textarea,.signup-section select{box-sizing:border-box;width:100%;border:1px solid #ffffff20;border-radius:10px;background:#080810;color:#faf9ff;padding:12px 14px;font:400 16px Rajdhani,sans-serif}.signup-section input:focus-visible,.signup-section textarea:focus-visible,.signup-section select:focus-visible{outline:2px solid #c084fc;outline-offset:2px}.signup-section textarea{resize:vertical}.signup-section :disabled{cursor:not-allowed}.signup-section input:disabled,.signup-section textarea:disabled,.signup-section select:disabled{color:#b8b8cd;opacity:1}.signup-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.signup-section small,.signup-optional{font-size:14px;font-weight:400;color:#b8b8cd}.signup-section .signup-days{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.signup-days legend{font-size:16px}.signup-section .signup-days label{flex-direction:row;align-items:center;gap:8px;border:1px solid #ffffff20;border-radius:9px;padding:9px 13px;margin:0}.signup-section input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#a855f7;margin:3px 0}.signup-agreements{display:flex;flex-direction:column;gap:12px;margin:16px 0}.signup-section .signup-agreements label{display:flex;flex-direction:row;align-items:flex-start;gap:14px;background:#a855f70a;border:1px solid #a855f72e;border-radius:12px;padding:18px;margin:0}.signup-agreements label>span{display:flex;flex-direction:column;gap:6px;font-weight:400;color:#b8b8cd}.signup-agreements strong{color:#faf9ff;font-size:18px}.signup-agreements a{color:#c084fc;text-decoration:underline;width:fit-content}.signup-section button:disabled{opacity:.55}#signup-feedback:empty{display:none}@media(max-width:600px){.signup-grid{grid-template-columns:1fr;gap:0}.signup-heading{align-items:flex-start;flex-direction:column}.signup-heading h2{font-size:28px}}

.participation-note{margin-top:18px;padding:18px;border-left:3px solid #a855f7;background:#a855f70a;border-radius:0 10px 10px 0}.participation-note h3{font-size:18px;margin:0 0 8px}.participation-note p{margin:0;white-space:pre-wrap}.participation-card{padding:18px;border:1px solid #ffffff18;background:#0b0b14;border-radius:12px;margin:12px 0}.participation-card p{white-space:pre-wrap;overflow-wrap:anywhere;color:#b8b8cd}.participation-card>strong{font-size:18px}.participation-card>.timeline-close{margin-left:12px}.participation-card summary{cursor:pointer;font-size:20px;font-weight:700;color:#e9d5ff}.participation-card form{border-top:1px solid #ffffff18;padding-top:20px}.participation-card h4{font-size:20px;margin:0 0 12px}#participation-badge{display:inline-block}#participation-badge[hidden]{display:none}#absence-feedback:empty{display:none}

/* Season 2 information and staff destinations */
.portal-destinations,.guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.portal-destination{display:flex;flex-direction:column;gap:12px;padding:26px}.portal-destination h2,.portal-destination p{margin:0}.portal-destination p{flex:1;color:#b5b5c9;font-size:17px}.portal-destination .button{align-self:flex-start}.guide-steps .panel{padding:28px}.guide-steps h2{font-size:28px}.season-alert{display:flex;align-items:flex-start;gap:10px 20px;flex-wrap:wrap;background:#a855f70c;border:1px solid #a855f738;border-radius:12px;padding:18px 22px;margin-bottom:26px}.season-alert strong{color:#d8b4fe}.season-alert span{flex:1;min-width:200px;color:#b5b5c9}.season-alert a{font-weight:700;color:#d8b4fe}.portal-staff-shortcut{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:26px}.portal-staff-shortcut p{margin:6px 0}.portal-staff-shortcut .button{flex-shrink:0}.editorial-panel{padding:clamp(24px,4vw,44px)}.editorial-panel p{font-size:19px;max-width:850px;color:#b5b5c9}.staff-access-gate{padding:34px}.staff-access-gate .button{margin-right:10px}.footer-navigation p{margin:0 0 9px}.footer-navigation nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;font-size:15px}.footer-navigation a{color:#b5b5c9}.staff-portal-search{max-width:420px}.signup-section :is(.participation-card input,.participation-card textarea){background:#090911}.participation-card summary{line-height:1.5}#staff-portal-workspace .portal-destinations{margin-bottom:32px}@media(max-width:650px){.portal-destinations,.guide-steps{grid-template-columns:1fr}.portal-staff-shortcut{align-items:flex-start;flex-direction:column}.season-alert{flex-direction:column}.footer-navigation nav{justify-content:flex-start}}

.staff-season-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.staff-season-metric{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#a855f70a;border:1px solid #ffffff18;border-radius:12px;padding:18px;color:#b5b5c9;font:400 16px Rajdhani,sans-serif;cursor:pointer;transition:border-color .15s,transform .15s}.staff-season-metric:hover{border-color:#a855f780;transform:translateY(-2px)}.staff-season-metric strong{font-size:36px;color:#f8f7ff;line-height:1}.staff-season-filters{display:flex;align-items:end;gap:18px}.staff-season-filters>label{flex:1}.staff-season-filters select{min-height:48px}@media(max-width:650px){.staff-season-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-season-filters{flex-direction:column;align-items:stretch}}

/* Reading and accepting the complete current rulebook. */
.rules-modal-open{overflow:hidden}.rules-read-dialog{width:min(980px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #a855f760;border-radius:18px;background:#10101a;color:#faf9ff;box-shadow:0 28px 100px #0009}.rules-read-dialog[open]{display:flex;flex-direction:column}.rules-read-dialog::backdrop{background:#03030bce;backdrop-filter:blur(8px)}.rules-read-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 12px;flex-shrink:0}.rules-read-header h2{font:700 30px/1.2 Rajdhani,sans-serif;margin:5px 0 0}.rules-read-header .eyebrow{margin:0;color:#c084fc}.rules-read-hint{padding:0 28px 20px;margin:0;color:#b5b5c9;font-size:16px;border-bottom:1px solid #ffffff18;flex-shrink:0}.rules-read-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;max-height:60dvh;padding:24px 28px;scrollbar-width:thin;scrollbar-color:#a855f7 #15151f;font-size:17px;line-height:1.7}.rules-read-scroll:focus-visible{outline:2px solid #c084fc;outline-offset:-4px}.rules-read-scroll .season-rules-content{max-width:100%;width:100%;padding:0;margin:0}.rules-read-scroll .season-rules-content+.season-rules-content{margin-top:28px}.rules-read-scroll .rules-section{margin-top:0;margin-bottom:32px}.rules-read-scroll .rules-section h2{font-size:27px}.rules-read-scroll .rules-card,.rules-read-scroll .rules-chapter{margin:14px 0}.rules-read-scroll :is(p,li){font-size:17px}.rules-read-scroll table{width:100%}.rules-read-footer{flex-shrink:0;border-top:1px solid #ffffff18;padding:18px 28px 22px;display:flex;flex-direction:column;gap:16px;background:#0d0d17}.rules-read-footer progress{display:block;width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;accent-color:#a855f7}.rules-read-footer progress::-webkit-progress-bar{background:#ffffff12}.rules-read-footer progress::-webkit-progress-value{background:#a855f7}.rules-read-footer progress::-moz-progress-bar{background:#a855f7}.rules-read-footer p{margin:8px 0 0;font-size:15px;color:#b5b5c9}.rules-read-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.rules-read-actions .button:disabled{opacity:.4;cursor:not-allowed}.signup-section .rules-read-link{align-self:flex-start;background:none;border:0;color:#c084fc;font:700 16px Rajdhani,sans-serif;padding:0;text-decoration:underline;cursor:pointer}.signup-section .rules-read-link:disabled{cursor:not-allowed}.rules-read-dialog :is(button,a):focus-visible{outline:2px solid #c084fc;outline-offset:3px}@media(max-width:600px){.rules-read-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.rules-read-header{padding:18px 18px 10px;gap:12px}.rules-read-header h2{font-size:25px}.rules-read-hint{padding:0 18px 14px}.rules-read-scroll{padding:18px;max-height:none}.rules-read-footer{padding:14px 18px 18px}.rules-read-actions{gap:10px}.rules-read-actions .button{width:100%}.rules-read-scroll .rules-card{padding:16px}}

.participants-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:20px 0}.participants-toolbar label{display:flex;flex-direction:column;gap:8px;font-size:16px;flex:1;max-width:420px}.participants-toolbar input{border:1px solid #ffffff24;border-radius:10px;background:#0b0b14;color:#faf9ff;font:400 17px Rajdhani,sans-serif;padding:12px 15px;width:100%}.participants-toolbar p{font-weight:700;color:#c084fc;margin:0 0 12px}.participants-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;gap:16px;padding:0;margin:24px 0}.participant-card{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:24px 16px;border:1px solid #ffffff18;border-radius:14px;background:linear-gradient(145deg,#14141f,#0e0e18);transition:transform .15s,border-color .15s}.participant-card:hover{transform:translateY(-3px);border-color:#a855f760}.participant-card img{width:64px;height:64px;image-rendering:pixelated;border-radius:10px}.participant-card strong{font-size:20px;overflow-wrap:anywhere;max-width:100%}@media(max-width:850px){.participants-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.participants-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.participants-toolbar{align-items:stretch;flex-direction:column}.participants-toolbar label{max-width:none}.participant-card strong{font-size:18px}}

.participant-teams{margin:0 0 2rem}.participant-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;padding:0;list-style:none}.participant-team-preview{display:flex;align-items:center;gap:.75rem;padding:1rem;border:1px solid #ffffff16;border-radius:12px;background:#12121c}.participant-team-preview img{width:48px;height:48px;border-radius:7px;flex-shrink:0}.participant-team-preview h3{margin:0;font-size:1.2rem}.participant-team-preview p{margin:.2rem 0 0;font-size:.9rem;color:#b9afca}@media(max-width:850px){.participant-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.participant-team-grid{grid-template-columns:1fr}}

button.participant-team-preview{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}button.participant-team-preview:hover{border-color:#a855f7;transform:translateY(-2px)}button.participant-team-preview[aria-pressed="true"]{border-color:#a855f7;background:#21172e}button.participant-team-preview:focus-visible{outline:2px solid #c084fc;outline-offset:3px}@media(prefers-reduced-motion:reduce){button.participant-team-preview{transition:none}button.participant-team-preview:hover{transform:none}}
