@font-face {
  font-family: Anton;
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/fonts/Roboto-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b151e;
  --panel: #14232e;
  --text: #f7f7f2;
  --muted: #adbac2;
  --line: #30414d;
  --orange: #ff853b;
  --ink: #101e27;
  --display: Anton, Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Roboto, Arial, sans-serif; }
.container { width: min(1280px, calc(100% - clamp(40px, 8vw, 144px))); margin-inline: auto; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, .final-score { font: 400 clamp(42px, 4.7vw, 68px)/1.05 var(--display); letter-spacing: -.018em; }
h3 { font-size: 20px; line-height: 1.25; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb080; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 4; padding: 10px; background: var(--bg); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .brand, nav, .site-footer, .table-toolbar, .podium-heading { display: flex; align-items: center; }
.header-inner { min-height: 90px; justify-content: space-between; gap: 30px; }
.brand { text-decoration: none; gap: 16px; font-size: 19px; font-weight: 750; line-height: 1.18; }
.brand img { width: 88px; height: 76px; object-fit: contain; }
.brand small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
nav { gap: clamp(18px, 2.8vw, 40px); }
nav a, .site-footer a { padding-block: 10px; text-decoration: none; }
nav a:hover { color: var(--orange); }
.menu-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--line); padding: 9px 12px; }
.ranking-section { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); grid-template-areas: "heading next" "podium next" "table next"; column-gap: clamp(28px, 4vw, 62px); padding-block: clamp(38px, 5vw, 72px); align-items: start; }
.ranking-heading { grid-area: heading; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 18px; margin-bottom: 24px; }
.ranking-meta, .eyebrow, .poster-round { font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ranking-meta { grid-column: 1/-1; display: flex; gap: .35em; align-items: center; }
.ranking-meta:before { content: ""; background: var(--orange); height: 3px; width: 28px; margin-right: 6px; }
.tabs { display: inline-flex; align-self: end; width: max-content; background: #192c38; border: 1px solid var(--line); padding: 3px; border-radius: 5px; }
.tabs button { min-height: 36px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); padding: 6px 14px; font-size: 14px; font-weight: 650; }
.tabs button[aria-selected="true"] { background: var(--orange); color: var(--ink); }
.top-three { grid-area: podium; }
.podium-stage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.podium-tile { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; padding: 18px 22px; background: var(--panel); border-top: 1px solid #4d626f; }
.podium-ordinal { grid-column: 1/-1; align-self: start; color: var(--muted); font: 400 21px/1 var(--display); }
.podium-player { min-width: 0; }
.podium-player span { display: block; font-size: 15px; font-weight: 500; }
.podium-player strong { display: block; margin-top: 3px; font: 400 clamp(25px,2.8vw,39px)/1.08 var(--display); }
.podium-score { display: flex; align-items: baseline; gap: 4px; color: var(--muted); font-size: 12px; }
.podium-score strong { font: 400 clamp(26px,2.5vw,38px)/1 var(--display); color: var(--text); }
.podium-place-1 { grid-column: 1/-1; min-height: 142px; padding: 20px 26px 24px; background: #ff873e; color: var(--ink); border: none; }
.podium-place-1:after { position: absolute; z-index: -1; content: ""; right: 9%; bottom: -135px; width: 29%; height: 360px; border-inline: 2px solid #cc652f; transform: skewX(-27deg); }
.podium-place-1 .podium-ordinal { color: var(--ink); }
.podium-place-1 .podium-player span { font-size: 19px; }
.podium-place-1 .podium-player strong { font-size: clamp(48px,4.7vw,70px); text-transform: uppercase; }
.podium-place-1 .podium-score, .podium-place-1 .podium-score strong { color: var(--ink); }
.podium-place-1 .podium-score strong { font-size: clamp(45px,4.3vw,64px); }
.round-sidebar { grid-area: next; border: 1px solid var(--line); }
.poster { position: relative; isolation: isolate; overflow: hidden; padding: clamp(18px,2.4vw,32px); background: #203643; }
.poster-art { position: absolute; z-index: -1; width: 66%; height: 130%; top: -11%; right: -2%; object-fit: cover; object-position: left 20%; opacity: .75; }
.poster-round { display: block; color: #e8edf0; }
.poster h2 { margin-block: clamp(24px,3vw,45px) 18px; font-size: clamp(42px,4.8vw,70px); text-transform: uppercase; line-height: 1; }
.poster h2 strong { display: block; color: var(--orange); font-weight: 400; }
.poster time { font-weight: 650; font-size: 17px; }
.poster time small { font-size: inherit; }
.ticket { border-top: 1px dashed #72818a; padding: clamp(18px,2.4vw,32px); }
.ticket p { color: var(--muted); margin-top: 4px; }
.entry { display: flex; justify-content: space-between; background: var(--orange); color: var(--ink); font-weight: 750; padding: 13px 16px; margin: 20px 0 8px; text-decoration: none; }
.ticket .cutoff { font-size: 13px; }
.ranking-table-section { grid-area: table; padding-top: 28px; }
.table-toolbar { justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.table-toolbar h2, .points-table caption { font: 650 20px/1.25 Roboto,Arial,sans-serif; }
.search-field { border: 1px solid var(--line); display: flex; align-items: center; padding: 0 10px; gap: 10px; min-height: 42px; }
.search-field input { background: transparent; border: 0; color: var(--text); min-width: 0; width: 148px; font-size: 14px; }
.search-field input::placeholder { color: var(--muted); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field button { background: transparent; color: var(--text); border: 0; font-size: 20px; }
.search-symbol { width: 16px; height: 16px; background: var(--muted); mask: url("assets/icons/magnifying-glass.svg") center/contain no-repeat; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th,td { text-align: left; border-bottom: 1px solid var(--line); padding: 11px 8px; }
th { font-size: 12px; color: var(--muted); font-weight: 500; }
.ranking-table th:first-child { width: 17%; }
.ranking-table td:first-child { color: var(--muted); }
.ranking-table :is(td,th):last-child { text-align: right; }
.ranking-table td:last-child { font-weight: 750; }
.download { display: inline-block; margin-top: 14px; font-size: 14px; }
#empty-state { padding-block: 16px; }
.season-band { background: #162b36; border-block: 1px solid var(--line); }
.spread { display: grid; grid-template-columns: minmax(175px, .7fr) minmax(0, 2fr); gap: clamp(25px, 5vw, 72px); padding-block: clamp(44px, 5vw, 72px); }
.section-heading h2 { font-size: clamp(40px,4.7vw,66px); }
.section-heading p,.section-heading .eyebrow { display: block; margin-top: 12px; color: var(--muted); font: 500 14px/1.5 Roboto,Arial,sans-serif; text-transform: none; letter-spacing: 0; }
.rounds-list,.podium-list { padding: 0; list-style: none; }
.round-row { display: grid; grid-template-columns: 30px minmax(95px,.7fr) minmax(0,1.6fr) auto; gap: 16px; border-top: 1px solid #40505a; padding: 19px 0; align-items: baseline; }
.round-id { color: #b0bbc2; font: 400 17px/1 var(--display); }
.round-date { font-size: 15px; font-variant-numeric: tabular-nums; }
.round-date small { margin-left: .3em; }
.round-location h3 { font-size: 21px; }
.round-location p, .round-location a { font-size: 14px; color: #c5cfd3; margin-top: 3px; }
.round-state { display: grid; justify-items: end; gap: 6px; font-size: 13px; }
.round-state a { white-space: nowrap; }
.badge, .next .round-id { color: var(--orange); }
.next { border-top-color: var(--orange); }
.icon-external:after { content: "↗"; margin-left: 5px; display: inline-block; }
.result-details { border-top: 1px solid var(--line); min-width: 0; }
.result-details summary { display: flex; align-items: center; gap: 14px; list-style: none; padding-block: 16px; }
summary::-webkit-details-marker { display: none; }
summary small, .game-scores { color: var(--muted); }
.chevron { margin-left: auto; }
details[open] .chevron { transform: rotate(180deg); }
.final-row { background: var(--panel); border-top: 3px solid var(--orange); text-align: center; padding: 20px 12px; }
.scoreline { display: flex; gap: clamp(12px,3vw,42px); align-items: center; justify-content: center; margin: 8px 0; font-weight: 650; }
.final-score { color: var(--orange); font-size: clamp(48px,5vw,76px); }
.game-scores { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-size: 14px; }
.podium-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; }
.podium-heading { justify-content: space-between; gap: 10px; }
.podium-heading a { font-size: 13px; color: var(--muted); }
.podium-list { margin-top: 12px; }
.podium-list li { display:flex; gap:18px; border-top: 1px solid var(--line); padding: 10px 0; }
.podium-list li span { color: var(--orange); font-variant-numeric: tabular-nums; }
.rules-section { background: var(--panel); border-block: 1px solid var(--line); }
.rule-lead { font-size: clamp(21px,2vw,31px); line-height: 1.3; max-width: 30em; }
.rule-lead strong { color: var(--orange); }
.rules-copy p:not(.rule-lead) { color: var(--muted); max-width: 64ch; }
.rules-copy h3 { margin: 25px 0 6px; }
.points-table { margin: 24px 0 14px; }
.points-table caption { text-align: left; margin-bottom: 10px; }
.points-table :is(th,td) { text-align: center; padding: 9px 2px; }
.points-table th:first-child { text-align: left; }
.points-table td { font-weight: 750; }
.site-footer { gap: 25px; padding-block: 24px; color: var(--muted); font-size: 14px; }
.site-footer span { margin-right: auto; }
@media (max-width: 990px) {
  .ranking-heading { grid-template-columns: 1fr; }
  .tabs { margin-top: 8px; }
  .ranking-section { column-gap: 24px; }
  .spread { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 72px; gap: 8px; position: relative; }
  .brand { gap: 7px; font-size: 16px; }
  .brand img { width: 60px; height: 56px; }
  .brand small { font-size: 10px; }
  .menu-toggle { display: block; }
  .menu-toggle span { margin-left: 4px; }
  nav { display: none; position: absolute; z-index: 5; inset: 100% 0 auto; background: var(--panel); border: 1px solid var(--line); padding: 10px 18px; }
  nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .ranking-section { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "podium" "next" "table"; padding-block: 30px 38px; }
  .ranking-heading { margin-bottom: 16px; }
  .ranking-heading h1 { font-size: clamp(48px,10vw,68px); }
  .podium-tile { padding: 14px; gap: 6px; }
  .podium-place-1 { min-height: 132px; padding: 18px; }
  .podium-player strong { font-size: clamp(21px,5.4vw,37px); }
  .podium-place-1 .podium-player strong { font-size: clamp(38px,10vw,55px); }
  .podium-place-2,.podium-place-3 { grid-template-columns: 1fr; }
  .podium-place-2 .podium-score,.podium-place-3 .podium-score { margin-top: 3px; }
  .round-sidebar { margin-top: 26px; }
  .table-toolbar h2 { font-size: 17px; }
  .search-field input { width: 119px; }
  .round-row { grid-template-columns: 28px minmax(0,1fr) auto; gap: 4px 12px; }
  .round-date { grid-column: 2; }
  .round-location { grid-column: 2 / -1; }
  .round-state { grid-column: 3; grid-row: 1; justify-items: end; }
  .round-state:empty { display: none; }
  .round-location h3 { font-size: 19px; }
  .round-date { font-size: 14px; }
  .podium-grid { grid-template-columns: 1fr; gap: 16px; }
  .site-footer { font-size: 12px; gap: 14px; }
}
.ticket-host { display: flex; align-items: center; margin-bottom: 10px; }
.ticket-host img { width: 150px; height: auto; }

/* A single, dark system for season, venues and results. */
.entry, .tabs button, .menu-toggle, nav a, .club-card { transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.entry:hover { background: #ff9b60; text-decoration: none; }
.tabs button:not([aria-selected="true"]):hover { background: #283b48; color: var(--text); }
nav a { position: relative; }
nav a:hover::after { content: ""; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: var(--orange); }
.ranking-heading h1 { text-wrap: balance; }
.search-field:focus-within { border-color: var(--orange); }
.search-field input:focus-visible { outline: 0; }
.search-field button { min-width: 28px; min-height: 36px; }
.ranking-table tr:hover td { background: #15252f; }
.podium-tile { min-width: 0; }
.round-sidebar { background: #111f2a; }
.ticket-host img { max-width: 100%; }
.ticket-address a { text-decoration: none; font-size: 14px; }
.ticket-address a:hover { text-decoration: underline; }
.season-band { background: #11212d; }
.round-row { padding: 24px 0; align-items: start; }
.round-date strong { font: 400 27px/1.1 var(--display); letter-spacing: .015em; }
.round-date small { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.round-date > strong { font-size: 20px; }
.round-id { padding-top: 5px; font-size: 16px; }
.round-location h3 { font-size: 23px; margin-bottom: 4px; }
.round-location p { margin: 0; }
.round-location .round-club { color: var(--text); text-decoration: none; }
.round-location a:hover { color: var(--orange); text-decoration: underline; }
.round-location .round-address { display: inline-block; color: var(--muted); font-size: 13px; margin-top: 2px; text-decoration: none; }
.round-info { margin-top: 9px; font-size: 12px; color: var(--muted); }
.round-info summary { list-style: none; display: inline-block; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px; }
.round-info summary::after { content: " +"; color: var(--orange); }
.round-info[open] summary::after { content: " −"; }
.round-info p { font-size: 13px; margin-top: 6px; max-width: 43ch; }
.round-state { padding-top: 3px; gap: 8px; }
.round-state a { display: inline-block; padding: 5px 0; }
.round-label { color: var(--muted); font-size: 12px; }
.next .round-date { color: var(--orange); }
.next .round-id { color: var(--orange); }
.clubs-section { background: var(--bg); padding-block: clamp(44px,5vw,72px); border-bottom: 1px solid var(--line); }
.club-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.club-heading h2 { font-size: clamp(40px,4.7vw,66px); }
.club-heading > span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.club-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.club-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #11212c; scroll-margin-top: 24px; }
.club-card:hover { border-color: #637887; }
.club-card:target { outline: 2px solid var(--orange); outline-offset: 4px; }
.club-mark { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 9px; height: 124px; padding: 22px; background: #162b38; border-bottom: 1px solid var(--line); }
.club-mark img { display: block; width: 174px; max-width: 100%; height: 60px; object-fit: contain; }
.mark-arena img { width: 178px; height: 50px; }
.mark-wsc img { width: 190px; height: 58px; }
.mark-strzegomska img { width: 156px; height: 66px; }
.mark-rcs img { width: 154px; height: 62px; }
.mark-complex { padding: 14px; }
.mark-complex img:first-child { width: 160px; height: 58px; flex-shrink: 0; }
.mark-complex img + img { width: 112px; height: 18px; flex-shrink: 0; }
.mark-trzebnica img { background: #efeee8; width: 200px; height: 77px; padding: 10px; border-radius: 2px; }
.club-info { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 6px; min-width: 0; }
.club-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font: 700 11px/1.4 Roboto,Arial,sans-serif; letter-spacing: .1em; color: var(--orange); text-transform: uppercase; }
.club-round { font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; }
.club-info h3 { font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; margin-block: 9px 16px; }
.former-name { color: var(--muted); font-size: 12px; margin-top: -9px; margin-bottom: 12px; }
.club-route { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; min-height: 46px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; }
.route-arrow { color: var(--orange); font-size: 21px; }
.club-route:hover { color: var(--orange); text-decoration: none; }
.result-details summary { min-height: 62px; }
.result-details summary:hover { color: var(--orange); }
.scoreline > span { min-width: 0; }
.rules-copy { min-width: 0; }
.points-table td { color: var(--orange); font-size: 18px; }
.points-table th { font-size: 12px; }
.site-footer a:hover { color: var(--text); }
@media(min-width:991px) {
  .season-band .section-heading, .section.spread .section-heading, .rules-section .section-heading { position: sticky; top: 28px; align-self: start; }
}
@media(max-width:990px) {
  .club-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .podium-place-2,.podium-place-3 { grid-template-columns: 1fr; }
  .podium-place-2 .podium-score,.podium-place-3 .podium-score { margin-top: 4px; }
}
@media(max-width:720px) {
  .container { width: calc(100% - 40px); }
  .tabs { display: flex; width: 100%; margin-top: 6px; }
  .tabs button { flex: 1; min-height: 42px; }
  .round-sidebar { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .poster { padding: 18px 15px; display: flex; flex-direction: column; justify-content: center; }
  .poster-art { opacity: .3; width: 100%; height: 130%; }
  .poster-round { font-size: 10px; letter-spacing: .04em; }
  .poster h2 { margin: 12px 0; font-size: 38px; }
  .poster h2 span { font-size: 25px; }
  .poster time { font-size: 13px; }
  .poster time small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
  .ticket { padding: 18px 14px; border-top: 0; border-left: 1px dashed #627383; display: flex; flex-direction: column; justify-content: center; }
  .ticket-host img { width: 124px; }
  .ticket-address a { font-size: 12px; }
  .entry { font-size: 13px; padding: 12px 10px; margin: 12px 0 6px; gap: 5px; }
  .ticket .cutoff { font-size: 11px; }
  .ranking-table-section { padding-top: 24px; }
  .round-row { padding: 20px 0; position: relative; }
  .round-date time { display: flex; align-items: baseline; gap: 7px; }
  .round-date small { display: inline; margin: 0; }
  .round-date > strong { margin-right: 6px; }
  .round-date strong { font-size: 24px; }
  .round-location { padding-top: 7px; }
  .round-location h3 { font-size: 22px; }
  .round-location .round-club { font-size: 14px; }
  .round-location .round-address { font-size: 12px; }
  .round-state { font-size: 12px; padding-top: 0; gap: 2px; }
  .round-state a { padding-block: 2px; }
  .round-id { font-size: 14px; padding-top: 5px; }
  .club-heading { align-items: end; margin-bottom: 20px; }
  .club-heading > span { max-width: 9ch; white-space: normal; text-align: right; font-size: 12px; }
  .club-grid { grid-template-columns: 1fr; gap: 10px; }
  .club-card { display: grid; grid-template-columns: 30% minmax(0,1fr); }
  .club-mark { height: auto; min-height: 150px; padding: 12px; border-bottom: 0; border-right: 1px solid var(--line); }
  .club-mark img { width: 100%; height: auto; max-height: 60px; }
  .mark-complex img:first-child { width: 100%; height: auto; }
  .mark-complex img + img { height: auto; width: 90%; }
  .mark-trzebnica img { padding: 5px; height: auto; }
  .club-info { padding: 15px 16px 2px; }
  .club-info h3 { font-size: 19px; margin: 8px 0 13px; }
  .club-meta { font-size: 10px; }
  .club-route { font-size: 13px; }
  .points-table td { font-size: 16px; }
}
@media(max-width:380px) {
  .brand { font-size: 14px; }
  .brand img { width: 45px; }
  .menu-toggle { padding: 8px; font-size: 13px; white-space: nowrap; }
  .ranking-heading h1 { font-size: 40px; }
  .table-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .search-field input { width: 100%; }
  .search-symbol { flex-shrink: 0; }
  .podium-tile { padding: 12px; }
  .podium-place-1 { padding: 16px; }
  .podium-place-1 .podium-score strong { font-size: 39px; }
  .podium-place-1 .podium-player span { font-size: 16px; }
  .poster { padding: 15px 12px; }
  .poster h2 { font-size: 32px; }
  .poster-round { font-size: 9px; }
  .ticket { padding: 15px 10px; }
  .entry { font-size: 11px; padding-inline: 8px; gap: 3px; white-space: nowrap; }
  .club-card { grid-template-columns: 28% minmax(0,1fr); }
  .club-info { padding-inline: 12px; }
  .club-info h3 { font-size: 18px; }
  .club-route { font-size: 12px; }
  .scoreline { gap: 10px; font-size: 13px; }
  .points-table :is(th,td) { padding-inline: 1px; }
  .points-table td { font-size: 14px; }
  .points-table th { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

.podium-photo { margin: 16px 0 0; aspect-ratio: 1; overflow: hidden; background: var(--panel); }
.podium-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-open img { object-position: 50% 62.5%; }
.photo-masters img { object-position: 77.5% 50%; }
