:root {
  color-scheme: light;
  --paper: #faf8f6;
  --white: #fffdfc;
  --ink: #251819;
  --muted: #675858;
  --line: #ded2ce;
  --red: #a30707;
  --deep-red: #900808;
  --wine: #3b080d;
  --hero-fill: linear-gradient(110deg, #2b080c 0%, #530a0f 45%, var(--deep-red) 100%);
  --hero-lines: linear-gradient(132deg, transparent 43%, #f04e3633 43.1%, #f04e362b 56%, transparent 56.1%), linear-gradient(48deg, transparent 45%, #fa665829 45.1%, #fa665818 58%, transparent 58.1%);
  --ball-fill: radial-gradient(circle at 35% 28%, #fff 5%, #fcf6f3 42%, #e4cbc2 73%, #8d6862 100%);
  --light-red: #f8e7e3;
  --radius-control: 2px;
  --accent-rule: 3px;
  --gutter: clamp(16px, 5vw, 72px);
  --display: 'Bahnschrift Condensed', 'Arial Narrow', 'Liberation Sans Narrow', 'Segoe UI', sans-serif;
  --condensed: Impact, 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 100%;
  font-synthesis: none;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html:not(.graphic-page) { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html:not(.graphic-page) { overflow-y: scroll; }
}
body { margin: 0; min-width: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:where(button, input, select, textarea, .button, .day-tabs a, .language-picker summary, .info-hero-actions a, .info-map) { border-radius: var(--radius-control); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #bb261f; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: 0.7; }
#site { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; outline: none; }
#main:has(.hero) { min-height: 100svh; }
.shell, .masthead-inner { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.shell { width: min(100%, 1360px); margin-inline: auto; }
.skip { position: absolute; z-index: 15; top: 8px; left: 16px; padding: 8px 12px; transform: translateY(-180%); background: white; }
.skip:focus { transform: translateY(0); }
.loading { padding-block: 64px; color: var(--muted); }

.masthead { position: sticky; top: 0; z-index: 11; padding-top: env(safe-area-inset-top); background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 74px; width: min(100%, 1360px); margin-inline: auto; }
.masthead-actions { display: flex; justify-self: end; align-items: center; gap: clamp(8px, 1.2vw, 16px); }
.masthead-ball { position: relative; flex: none; width: var(--masthead-ball-size, 38px); aspect-ratio: 1; border-radius: 50%; background: var(--ball-fill); }
.masthead:not([data-hero-nav]) .masthead-ball { display: none; }
.masthead[data-hero-nav='impact'] .masthead-ball { visibility: hidden; }
.masthead[data-hero-nav='impact']:not(:focus-within) { visibility: hidden; }
.masthead[data-hero-nav='red'] {
  border-bottom-color: #ffbdae45;
  background: var(--hero-lines), var(--hero-fill);
  background-size: 67% 100%, 67% 100%, 100% 100%;
  background-position: right;
  background-repeat: no-repeat;
}
.masthead[data-hero-nav='red'] :is(.brand, .nav, .language-picker) { animation: hero-nav-reveal .24s ease-out both; }
@keyframes hero-nav-reveal { from { opacity: 0; transform: translateY(4px); } }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand img { width: 69px; height: auto; }
.brand span { color: var(--ink); font: 700 0.85rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; min-width: 0; gap: clamp(12px, 2.4vw, 32px); }
.nav a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 62px; font-size: .94rem; font-weight: 650; text-decoration: none; white-space: nowrap; color: var(--muted); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--deep-red); }
.nav a[aria-current='page']::after { position: absolute; content: ''; inset: auto 0 0; height: var(--accent-rule); background: var(--red); }
.nav a.has-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.language-picker { position: relative; justify-self: end; color: var(--deep-red); }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 42px; padding-inline: 11px; border: 1px solid var(--line); background: var(--white); font-size: .84rem; font-weight: 750; cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { width: 6px; height: 6px; margin: -3px 2px 0 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; content: ''; transform: rotate(45deg); }
.language-picker[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.language-picker summary:hover, .language-picker[open] summary { border-color: #dcada5; background: var(--light-red); }
.language-globe { position: relative; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; }
.language-globe::before { position: absolute; inset: -1px 3px; border: solid currentColor; border-width: 0 1px; border-radius: 50%; content: ''; }
.language-globe::after { position: absolute; inset: 50% 0 auto; border-top: 1px solid currentColor; content: ''; }
.language-options { position: absolute; z-index: 2; inset: calc(100% + 7px) 0 auto auto; width: 188px; padding: 5px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 4px 12px #3b080d24; }
.language-options a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-inline: 10px; color: var(--ink); font-size: .9rem; text-decoration: none; }
.language-options a:hover { background: var(--paper); }
.language-options a[aria-current] { background: var(--light-red); color: var(--deep-red); font-weight: 700; }
.language-options small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.language-options a[aria-current] small::before { margin-inline-end: 5px; color: var(--deep-red); content: '✓'; }
.masthead[data-hero-nav='red'] :is(.brand span, .nav a, .language-picker) { color: #fff8f5; }
.masthead[data-hero-nav='red'] .brand img { filter: brightness(0) invert(1); }
.masthead[data-hero-nav='red'] .nav a:hover { color: #ffcec2; }
.masthead[data-hero-nav='red'] .nav a[aria-current='page']::after, .masthead[data-hero-nav='red'] .nav a.has-live::before { background: #ffd2c8; }
.masthead[data-hero-nav='red'] .language-picker summary { border-color: #fff8f55c; background: #fff8f514; }
.masthead[data-hero-nav='red'] .language-picker summary:hover, .masthead[data-hero-nav='red'] .language-picker[open] summary { background: #fff8f530; }
.masthead[data-hero-nav='red'] :is(.brand, .nav a, summary):focus-visible { outline-color: #ffd2c8; }
.footer { margin-top: 50px; border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 66px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 10px; color: var(--muted); font-size: .88rem; }
.footer-inner span:first-child { font-weight: 700; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }

.mobile-nav { display: none; }
.mobile-more {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 470px);
  max-width: 100%;
  max-height: calc(100dvh - env(safe-area-inset-top) - 12px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-top: var(--accent-rule) solid var(--red);
  border-bottom: 0;
  background: var(--white);
  color: var(--ink);
  overscroll-behavior: contain;
}
.mobile-more::backdrop { background: #25181970; }
body:has(.mobile-more[open]) { overflow: hidden; }
.mobile-more-panel { padding: 12px max(16px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.mobile-more header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.mobile-more h2 { font: 750 1.45rem/1.2 var(--display); }
.mobile-more button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.45rem; line-height: 1; }
.mobile-more nav { display: grid; gap: 3px; }
.mobile-more a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-inline-start: var(--accent-rule) solid transparent; font-weight: 650; text-decoration: none; }
.mobile-more a::after { width: 7px; height: 7px; flex: none; border: solid currentColor; border-width: 1.5px 1.5px 0 0; content: ''; transform: rotate(45deg); }
.mobile-more a[aria-current], .mobile-more button:hover { background: var(--light-red); color: var(--deep-red); }
.mobile-more a[aria-current] { border-inline-start-color: var(--red); }
.mobile-more [data-admin-entry] { margin-top: 4px; border-top: 1px solid var(--line); }
@media (hover: hover) {
  .mobile-more a:hover { background: var(--light-red); color: var(--deep-red); }
}

.hero { position: sticky; top: var(--hero-sticky-top, auto); z-index: 5; isolation: isolate; overflow: hidden; color: #fff8f5; background: var(--hero-fill); }
.hero.hero-shot { top: var(--hero-shot-top); transition: top .17s ease-out; }
.masthead[data-hero-nav='impact'] ~ #main .hero-inner > :not(.hero-track):not(:focus-within) { visibility: hidden; }
.hero::before { position: absolute; content: ''; z-index: -1; inset: 0 0 0 33%; pointer-events: none; background: var(--hero-lines); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; min-height: 367px; padding-top: 32px; padding-bottom: 105px; }
.hero-location { display: flex; align-items: center; gap: 8px; color: #ffd6ce; font-size: .83rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.hero-location span { color: #f3a295; }
.hero h1 { margin: .18em 0 .15em; font: 400 clamp(3.65rem, 10.1vw, 9rem)/.98 var(--condensed); letter-spacing: -.027em; text-transform: uppercase; white-space: nowrap; }
.hero-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 16px; color: #ffe3dc; font-size: 1rem; font-weight: 550; }
.hero-detail span { color: #ffbdae; }
.hero-year { display: grid; justify-items: end; gap: 10px; }
.hero-year strong { font: 400 clamp(4rem, 13.5vw, 12.5rem)/.78 var(--condensed); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #ffcec2a6; }
.hero-year span { color: #ffe6de; font-size: .86rem; }
.hero-track { --ball-target: 45px; --pin-width: 23px; --pin-height: 68px; --pin-step: 11px; --rack-width: calc(var(--pin-width) + 8 * var(--pin-step)); position: absolute; inset: auto calc(var(--gutter) + var(--rack-width)) 0 var(--gutter); height: calc(var(--pin-height) + 5px); pointer-events: none; }
.hero-ball { position: absolute; z-index: 3; bottom: 0; left: 0; width: var(--ball-size, var(--ball-target)); height: var(--ball-size, var(--ball-target)); overflow: hidden; border-radius: 50%; background: var(--ball-fill); }
.hero-roll-ball { transform: translateX(var(--ball-x, 0px)); }
.hero-result-ball { transform: translate(var(--result-x, 0px), var(--result-y, 0px)); }
.hero-ball-face { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-roll-ball .hero-ball-face { transform: rotate(var(--ball-angle, 0rad)); }
.hero-ball-face::before { position: absolute; content: ''; inset: 4px; border: 1px solid transparent; border-bottom-color: #a3070760; border-radius: 50%; }
.hero-ball-face img { width: 73%; }
.hero-ball-score { position: absolute; inset: 0; display: grid; place-items: center; color: var(--red); font: 750 calc(var(--ball-size, var(--ball-target)) * .65)/1 var(--display); font-variant-numeric: tabular-nums; animation: hero-score-pulse 1s ease-in-out; }
@keyframes hero-score-pulse {
  0%, 100% { opacity: .62; transform: scale(.88); }
  45% { opacity: 1; transform: scale(1.18); }
}
.hero-rack { position: absolute; inset: 0 auto 0 100%; width: var(--rack-width); }
.hero-rack-cleared { opacity: 0; transition: opacity .13s ease-out; }
.hero-pin { position: absolute; width: var(--pin-width); height: var(--pin-height); transform-origin: center 58%; }
.hero-rack .hero-pin { --pin-scale: calc(1 - var(--pin-depth) * .08); z-index: calc(2 - var(--pin-depth)); bottom: calc(var(--pin-depth) * 4px); left: calc(var(--pin-index) * var(--pin-step)); width: calc(var(--pin-width) * var(--pin-scale)); height: calc(var(--pin-height) * var(--pin-scale)); filter: drop-shadow(1px 0 #652323) brightness(calc(1 - var(--pin-depth) * .1)); }
.hero-pin::before { position: absolute; content: ''; inset: 0; background: radial-gradient(ellipse 58% 15% at 40% 10%,#fff,transparent 86%),linear-gradient(90deg,#b8a5a0,#faf3ee 32%,#fff9f4 52%,#9c8178 100%); clip-path: polygon(50% 0%,66% 1%,80% 3%,90% 7%,94% 11%,93% 15%,86% 20%,76% 26%,72% 32%,72% 39%,75% 46%,82% 54%,91% 65%,98% 76%,100% 83%,97% 89%,89% 94%,76% 98%,63% 100%,37% 100%,24% 98%,11% 94%,3% 89%,0% 83%,2% 76%,9% 65%,18% 54%,25% 46%,28% 39%,28% 32%,24% 26%,14% 20%,7% 15%,6% 11%,10% 7%,20% 3%,34% 1%); }
.hero-pin-fall { position: fixed; inset: 0 auto auto 0; z-index: 6; pointer-events: none; filter: drop-shadow(1px 0 #651d21) drop-shadow(-1px 0 #651d21) drop-shadow(0 1px #651d21) drop-shadow(0 -1px #651d21); }

.home-panel { padding-top: 34px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(268px, .9fr); gap: clamp(22px, 4vw, 54px); }
.home-aside { display: grid; gap: 12px; align-content: start; }
.home-finals { margin-top: clamp(28px, 5vw, 64px); }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 385px)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.archive-card { display: grid; height: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.archive-card:is(:hover, :focus-visible) { border-color: #c98983; }
.archive-card-cover { position: relative; display: grid; align-items: end; min-height: 135px; aspect-ratio: 2 / 1; padding: 14px 19px; isolation: isolate; background: var(--wine); }
.archive-card-cover img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.archive-card-cover::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #26070ee6, transparent 80%); content: ''; }
.archive-card-cover > span { color: #fff8f5; font: 750 clamp(2.3rem, 7vw, 3.5rem)/.95 var(--display); }
.archive-card-body { padding: 16px 19px 18px; }
.archive-card-body h2 { margin-bottom: 6px; font: 750 1.6rem/1.15 var(--display); }
.archive-card-body p { color: var(--muted); font-size: .9rem; }
.archive-card-action { display: inline-flex; gap: 7px; margin-top: 13px; color: var(--deep-red); font-weight: 700; }
.finals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.finals-card { min-width: 0; }
.finals-card h3 { font: 750 1.45rem/1.1 var(--display); }
.finals-card > p { font-size: .85rem; }
.finals-list { margin: 12px 0 5px; padding: 0; list-style: none; }
.finals-list li { display: grid; grid-template-columns: 1.65em minmax(0, 1fr) auto; align-items: center; gap: 5px; min-height: 43px; border-bottom: 1px solid var(--line); cursor: pointer; }
.finals-list li:is(:hover, :focus-within) { background: var(--light-red); }
.finals-list a { overflow-wrap: anywhere; font-size: .9rem; font-weight: 650; text-decoration-color: #b28b83; text-underline-offset: 3px; }
.finals-list strong { font: 750 1.25rem/1 var(--display); font-variant-numeric: tabular-nums; }
.finals-rank { font-size: .9rem; color: var(--muted); }
.finals-list li:first-child :is(strong, .finals-rank) { color: var(--deep-red); }
.section-head, .page-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 18px; margin-bottom: 18px; }
.section-head h2, .box-title { font: 750 clamp(1.65rem, 3.45vw, 2.55rem)/1.02 var(--display); letter-spacing: -.035em; }
.section-head p, .page-head p { color: var(--muted); margin-top: 6px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--deep-red); font-size: .94rem; font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { color: #bf1816; }
.hero-info-link { gap: 7px; margin-top: 3px; color: #fff8f5; }
.hero-info-link:hover { color: #ffbdae; }
.hero-info-link:focus-visible { outline-color: #ffbdae; }
.section-head .text-link { text-align: right; }
.page { padding-block: clamp(23px, 5vw, 54px) 8px; }
.page-head { border-bottom: 1px solid var(--line); padding-bottom: 19px; margin-bottom: 21px; }
.page-head h1 { font: 750 clamp(2.15rem, 6vw, 4.35rem)/.99 var(--display); letter-spacing: -.045em; }
.page-head small { font-size: .87rem; color: var(--muted); }
.panel, .side-card { background: var(--white); border: 1px solid var(--line); }
.panel { min-width: 0; padding: clamp(14px, 2vw, 26px); }
.side-card { padding: 16px 18px; }
.side-card.live-card { border-left: var(--accent-rule) solid var(--red); }
.side-card h3 { margin: 7px 0 2px; font-size: 1.12rem; overflow-wrap: anywhere; }
.side-card p, .muted, .empty { color: var(--muted); }
.empty { padding: 24px 12px; text-align: center; background: var(--white); border: 1px dashed #dccdc9; }
.notice { padding: 11px 13px; color: #63332d; background: var(--light-red); }
.notice:empty { display: none; }
.freshness { font-size: .86rem; color: var(--muted); }
.freshness.stale { color: var(--deep-red); }
.status { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 3px 8px; font-size: .82rem; font-weight: 700; background: #f0eae7; color: #685651; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live, .status.progress { background: var(--light-red); color: var(--deep-red); }
.status.finished, .status.confirmed { background: #eeeae7; color: #514746; }
.status.quiet::before { display: none; }

.scores { width: 100%; border-collapse: collapse; table-layout: auto; font-variant-numeric: tabular-nums; }
.scores :is(th,td) { padding: 10px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.scores thead { border-top: 1px solid var(--line); }
.scores thead th { padding-block: 8px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.scores :is(th,td):first-child { width: 45px; padding-left: 0; text-align: left; }
.scores :is(th,td):nth-child(2) { text-align: left; }
.scores :is(th,td):last-child { padding-right: 0; }
.scores tbody th { font-weight: 680; font-size: .96rem; overflow-wrap: anywhere; }
.scores tbody th a { display: inline-block; padding-block: 3px; text-underline-offset: 4px; text-decoration-color: #b28b83; }
.scores tbody th a:hover { color: var(--deep-red); }
.scores [data-player-result] { cursor: pointer; }
.scores [data-player-result]:is(:hover,:focus-within) { background: var(--light-red); }
.scores tbody td:first-child, .scores .score-total { font: 750 1.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.scores .score-total { font-size: 1.75rem; white-space: nowrap; }
.scores tbody tr:first-child td:is(:first-child,:last-child) { color: var(--red); }
.subline { display: block; margin-top: 2px; font-size: .84rem; font-weight: 450; color: var(--muted); }
.filter-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 13px; }
.filter-panel label { min-width: 136px; }
.filter-panel .search-field { flex: 1 1 175px; }
.filter-panel .check-label { margin-inline: 5px 0; padding-block: 9px; }
label.field { display: grid; gap: 5px; }
.field > span, .check-label { font-size: .88rem; color: var(--muted); font-weight: 600; }
.field :is(input,select), .result-search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; background: var(--white); border: 1px solid #dacac6; color: var(--ink); }
.field select { padding-right: 29px; appearance: none; background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%); background-position: calc(100% - 13px) 53%,calc(100% - 8px) 53%; background-size: 5px 5px; background-repeat: no-repeat; }
.check-label { min-height: 43px; display: flex; align-items: center; gap: 8px; }
input[type='checkbox'] { width: 17px; height: 17px; accent-color: var(--red); }
.filter-note { margin-block: 0 11px; color: var(--muted); font-size: .87rem; }
.results-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; }
.filter-combined { display: inline-block; margin-bottom: 9px; color: var(--deep-red); font-size: .87rem; text-underline-offset: 3px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--red); background: var(--red); color: white; text-decoration: none; font-size: .92rem; font-weight: 700; }
.button:hover { background: #7e090c; border-color: #7e090c; }
.button.secondary { border-color: #dcc9c5; background: var(--white); color: var(--deep-red); }
.button.secondary:hover { background: #fcf0ec; }

.day-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.day-tabs a { display: inline-grid; place-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: .91rem; font-weight: 650; text-decoration: none; }
.day-tabs a:hover { color: var(--deep-red); border-color: #dcb2aa; background: #fbefeb; }
.day-tabs a[aria-current] { color: var(--deep-red); border-color: var(--red); background: var(--light-red); }
.result-toolbar {
  --search-min: calc(14ch + 38px);
  --search-width: calc(var(--search-min) + var(--search-extra, 0ch));
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 15px;
  font-size: .91rem;
}
.result-tabs { display: flex; flex: none; align-items: center; gap: inherit; }
.result-tabs:lang(de) { column-gap: 12px; }
.result-search { flex: 0 1 var(--search-width); min-width: min(100%, var(--search-min)); min-height: 44px; }
.result-search input { display: block; }
.result-search input:focus { position: absolute; inset-inline-start: 0; z-index: 1; width: min(100%, var(--search-width)); }
.result-toolbar .day-tabs { margin-bottom: 0; }
.result-categories { padding-left: 16px; border-left: 1px solid var(--line); }
.result-toolbar .result-mode { gap: 0; padding: 3px; border: 1px solid var(--line); background: #efe8e5; }
.result-mode a { min-height: 36px; border-color: transparent; background: transparent; font-size: .82rem; }
.result-mode a[aria-current] { background: var(--white); }
.stats-summary {
  padding: clamp(18px, 3vw, 38px);
  background: linear-gradient(108deg, #341016, #5c1015 63%, #831412);
  color: #fff8f5;
}
.stats-summary h2 { font: 750 clamp(1.5rem, 3vw, 2.45rem)/1 var(--display); letter-spacing: -.025em; }
.stats-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; }
.stats-metrics > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: 6px; padding-inline: clamp(8px, 2vw, 25px); border-inline-start: 1px solid #fff5ee33; }
.stats-metrics > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stats-metrics dt { color: #ffdbd4; font-size: .87rem; font-weight: 650; }
.stats-metrics dd { margin: 0; font: 750 clamp(2.05rem, 5.15vw, 4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.stats-note { margin-top: 15px; color: #ffdbd4; font-size: .82rem; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; margin-block: 14px; }
.stats-weeks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(34px, 1fr); gap: clamp(3px, 1vw, 14px); margin: 20px 0 0; padding: 0 0 5px; overflow-x: auto; list-style: none; }
.stats-weeks li { display: flex; flex-direction: column; align-items: center; justify-content: end; height: 215px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.stats-weeks li strong { margin-bottom: 4px; font-size: .93rem; font-variant-numeric: tabular-nums; }
.stats-week-bar { flex: none; width: min(69%, 50px); height: calc(var(--week-height) * .72); min-height: 3px; background: #d99589; }
.stats-weeks .busiest strong { color: var(--deep-red); }
.stats-weeks .busiest .stats-week-bar { background: linear-gradient(#b4291f, #7d100f); }
.stats-weeks time { margin-top: 7px; color: var(--muted); font-size: .74rem; white-space: nowrap; }
.stats-players { list-style: none; margin: 14px 0 0; padding: 0; }
.stats-players li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 8px; cursor: pointer; }
.stats-players li:last-child { border-bottom: 0; }
.stats-players li:is(:hover, :focus-within) { background: var(--light-red); }
.stats-players a, .stats-phases a { text-underline-offset: 3px; text-decoration-color: #b28b83; overflow-wrap: anywhere; }
.stats-players a { font-size: .9rem; font-weight: 700; }
.stats-players strong { color: var(--deep-red); font: 750 1.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.stats-empty { margin-top: 14px; }
.stats-phase-panel .section-head { align-items: center; margin-bottom: 8px; }
.stats-phases { width: 100%; border-collapse: collapse; color: var(--ink); font-size: .92rem; font-variant-numeric: tabular-nums; }
.stats-phases :is(th, td) { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.stats-phases :is(th, td):first-child { padding-inline-start: 0; text-align: left; }
.stats-phases :is(th, td):last-child { padding-inline-end: 0; text-align: left; }
.stats-phases thead th { color: var(--muted); font-size: .82rem; }
.stats-phases tbody tr:last-child :is(th, td) { border-bottom: 0; }
.stats-phases td strong { color: var(--deep-red); font: 750 1.25rem/1 var(--display); margin-inline-end: 4px; }

.info-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  overflow: hidden;
  padding: clamp(24px, 4.4vw, 66px);
  color: #fff9f6;
  background: linear-gradient(110deg, #2f090d, #570b10 59%, #840e13);
}
.info-hero.has-poster { grid-template-columns: minmax(0, 1.15fr) minmax(230px, 1fr); }
.info-hero::before { position: absolute; content: ''; z-index: -1; inset: 0 0 0 16%; background: linear-gradient(130deg, transparent 44%, #f1604630 44.1%, #f1604620 61%, transparent 61.1%); }
.info-edition { margin-bottom: 14px; color: #ffcbc0; font-size: .79rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info-hero h1 { max-width: 12ch; font: 750 clamp(2.7rem, 6.15vw, 6.3rem)/.91 var(--display); letter-spacing: -.045em; }
.info-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 3vw, 36px); }
.info-hero-actions a, .info-map { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 13px; min-height: 44px; border: 1px solid transparent; font-size: .89rem; font-weight: 700; text-decoration: none; }
.info-primary { background: #fff5ef; color: #5d1114; }
.info-primary:hover { background: white; }
.info-hero-actions .info-outline { color: #fff5ef; border-color: #ffcec17a; }
.info-outline:hover, .info-poster:hover { background: #ffffff18; }
.info-hero a:focus-visible { outline-color: #ffd2c8; }
.info-poster { display: block; min-width: 0; align-self: center; padding: 7px 7px 0; border: 1px solid #ffd2c84d; background: #ffffff0b; color: #fff5ef; text-decoration: none; }
.info-poster img { width: 100%; height: auto; aspect-ratio: 1555 / 875; object-fit: contain; background: #23070a; color: #fff5ef; }
.info-poster > span { display: flex; justify-content: space-between; gap: 8px; padding: 10px 7px; font-weight: 650; font-size: .86rem; }
.info-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); overflow: hidden; gap: 1px; margin: 12px 0 clamp(36px, 5vw, 63px); border: 1px solid var(--line); background: var(--line); }
.info-facts > div { min-width: 0; padding: clamp(12px, 2vw, 22px); background: var(--white); }
.info-facts dt, .info-contacts dt { margin-bottom: 4px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.info-facts dd { margin: 0; font: 750 clamp(1.08rem, 2.1vw, 1.5rem)/1.14 var(--display); overflow-wrap: anywhere; }
.info-facts small { display: block; margin-top: 4px; color: var(--muted); font: 450 .84rem/1.35 'Segoe UI', system-ui, sans-serif; }
.info-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); gap: clamp(24px, 4vw, 55px); align-items: start; }
.info-grid:has(.info-format:only-child) { grid-template-columns: minmax(0, 1fr); }
.info-timeline, .info-phase-list { margin: 0; padding: 0; list-style: none; }
.info-timeline > li { position: relative; margin-inline-start: 5px; padding: 0 0 23px 20px; border-inline-start: 1px solid #d8b9b2; }
.info-timeline > li:last-child { padding-bottom: 0; border-inline-start-color: transparent; }
.info-timeline > li::before { position: absolute; content: ''; top: 6px; inset-inline-start: -5px; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px #bd786d; }
.info-event-time { color: var(--deep-red); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.info-event-time span { margin-inline: 3px; }
.info-timeline h3, .info-cost-grid h3 { margin: 3px 0 5px; font: 750 clamp(1.25rem, 2.3vw, 1.65rem)/1.08 var(--display); }
.info-event-detail { max-width: 66ch; color: var(--muted); font-size: .92rem; }
.info-finalists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 7px; margin: 10px 0 0; }
.info-finalists > div { padding: 8px 10px; border: 1px solid var(--line); background: var(--white); }
.info-finalists dt { color: var(--ink); font-weight: 700; }
.info-finalists dd { margin: 3px 0 0; font-size: .8rem; }
.info-phase-list { display: flex; flex-wrap: wrap; gap: 8px; }
.info-phase-list li { padding: 8px 12px; border: 1px solid var(--line); background: var(--white); }
.info-contact { min-width: 0; padding: clamp(16px, 2.3vw, 28px); border: 1px solid var(--line); background: var(--white); }
.info-venue { position: relative; overflow: hidden; margin-top: 15px; padding: clamp(14px, 2vw, 24px); border: 1px solid #e8ceca; background: linear-gradient(135deg, #fcf2ee, #f7e5de); }
.info-venue strong { display: block; font: 750 clamp(1.65rem, 3vw, 2.4rem)/1.05 var(--display); }
.info-venue address { margin-top: 7px; color: var(--muted); font-size: .9rem; font-style: normal; }
.info-venue .info-map { min-height: 38px; margin-top: 12px; border-color: #e3c2b9; background: var(--white); color: var(--deep-red); }
.info-map:hover { background: #fff6f2; }
.info-contacts { margin: 10px 0 0; }
.info-contacts div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.info-contacts dt, .info-contacts dd { margin: 0; }
.info-contacts dd { overflow-wrap: anywhere; font-size: .9rem; font-weight: 650; }
.info-contacts a { text-underline-offset: 3px; }
.info-costs { margin-top: clamp(36px, 5vw, 60px); }
.info-cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.info-fees { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: .9rem; }
.info-fees :is(th, td) { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: end; vertical-align: top; }
.info-fees th:first-child { padding-inline-start: 0; text-align: start; }
.info-fees :is(th, td):last-child { padding-inline-end: 0; }
.info-fees thead th { color: var(--muted); font-weight: 650; font-size: .78rem; }
.info-fees tbody tr:last-child :is(th, td) { border-bottom: 0; }
.info-fees small { display: block; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.info-fees td strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.info-prizes { margin-top: 7px; }
.info-prizes details { border-bottom: 1px solid var(--line); }
.info-prizes summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 10px; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; list-style: none; }
.info-prizes summary::-webkit-details-marker { display: none; }
.info-prizes summary::after { content: ''; width: 7px; height: 7px; border-inline-end: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.info-prizes details[open] summary::after { transform: rotate(225deg); }
.info-prizes summary strong { color: var(--deep-red); font: 750 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }
.info-prizes ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(66px, 1fr)); gap: 5px 19px; margin: 0 0 10px; padding-inline-start: 21px; font-size: .86rem; }
.info-prizes p { margin-bottom: 10px; color: var(--muted); font-size: .82rem; }
.info-contact .text-link, .info-costs .text-link { gap: 5px; }

.schedule { display: grid; gap: 9px; }
.program-row { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0,1fr) auto; align-items: center; gap: 10px 18px; padding-block: 14px; }
.program-row h2 { font-size: 1.15rem; }
.program-date { color: var(--muted); font-size: .91rem; }
.schedule-item { padding: 15px; border: 1px solid var(--line); background: var(--white); }
.schedule-item.current { border-left: var(--accent-rule) solid var(--red); padding-left: 13px; }
.slot-time { font: 750 1.65rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.schedule-item[open] .slot-time { color: var(--red); }
.schedule-item summary { display: grid; grid-template-columns: 74px minmax(0,1fr) auto; align-items: start; gap: 10px 16px; cursor: pointer; list-style: none; }
.schedule-item summary::-webkit-details-marker { display: none; }
.slot-heading { min-width: 0; display: block; position: relative; padding-right: 18px; overflow-wrap: anywhere; }
.slot-heading::after { content: ''; position: absolute; right: 1px; top: 8px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); }
.schedule-item[open] .slot-heading::after { transform: rotate(225deg); top: 11px; }
.slot-heading strong { display: block; }
.schedule-entries { margin: 9px 0 0 90px; border-top: 1px solid var(--line); padding-top: 9px; }
.slot-entries { display: grid; gap: 4px; }
.entry-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(75px,auto) auto; align-items: center; gap: 8px; min-height: 36px; color: var(--ink); font-size: .91rem; }
.entry-line a { overflow-wrap: anywhere; text-underline-offset: 3px; text-decoration-color: #b28b83; }
.entry-line .muted { font-size: .84rem; }
.entry-line .entry-score { min-width: 38px; font-weight: 750; text-align: right; }
.show-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(255px,1fr); align-items: start; gap: 14px; }
.show-grid .section-head { margin-bottom: 12px; }
.lane-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,143px),1fr)); gap: 8px; margin-block: 14px 7px; }
.lane { min-width: 0; padding: 10px; border: 1px solid var(--line); background: #fbf7f5; }
.lane h3 { margin: 4px 0 2px; font-size: 1rem; overflow-wrap: anywhere; }
.lane p:first-child { color: var(--muted); font-size: .83rem; }
.lane .lane-total { margin-top: 7px; color: var(--deep-red); font: 750 2rem/1 var(--display); }
.lane .lane-total span { color: var(--muted); font: 450 .82rem/1.3 'Segoe UI',sans-serif; }
.video-link { margin-top: 13px; }
.detail-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); margin: 16px 0; background: var(--line); }
.detail-metrics div { padding: 12px; background: var(--white); }
.detail-metrics dt { color: var(--muted); font-size: .86rem; }
.detail-metrics dd { margin: 4px 0 0; font: 750 1.9rem/1 var(--display); }
.detail-metrics div:last-child dd { color: var(--deep-red); }
.details-meta { display: flex; flex-wrap: wrap; gap: 4px 17px; margin-bottom: 14px; color: var(--muted); font-size: .94rem; }

body:has(.player-modal[open]) { overflow: hidden; }
.player-modal {
  --player-padding: clamp(14px, 4vw, 28px);
  width: min(calc(100% - 24px), 760px);
  max-width: none;
  max-height: min(90dvh, 800px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: var(--accent-rule) solid var(--red);
  background: var(--white);
  color: var(--ink);
}
.player-modal[open] { display: flex; flex-direction: column; }
.player-modal::backdrop { background: #2a1015a6; }
.player-modal-header { display: flex; flex: none; justify-content: space-between; align-items: start; gap: 12px; padding: 21px var(--player-padding) 16px; }
.player-modal-header h2 { overflow-wrap: anywhere; font: 750 clamp(1.65rem, 4.5vw, 2.4rem)/1.08 var(--display); letter-spacing: -.025em; }
.player-modal-header p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.player-modal-close { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--deep-red); font: 500 1.4rem/1 sans-serif; }
.player-modal-close:hover { background: var(--light-red); }
.player-modal-body { min-height: 0; padding-inline: var(--player-padding); overflow: auto; overscroll-behavior: contain; }
.player-scores { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.player-scores :is(td,th) { padding: 9px clamp(4px, 1vw, 10px); border-bottom: 1px solid var(--line); text-align: right; }
.player-scores thead th { position: sticky; top: 0; z-index: 1; color: var(--muted); background: var(--paper); font-size: .81rem; font-weight: 650; }
.player-scores :is(.player-phase, .player-date), .player-scores thead th:nth-child(-n+2) { text-align: left; }
.player-scores tbody .player-phase { padding-top: 10px; vertical-align: top; font-weight: 700; overflow-wrap: anywhere; }
.player-scores .player-date { color: var(--muted); font-weight: 500; }
.player-scores .player-time { white-space: nowrap; }
.player-scores .player-slot { display: block; font-size: .8em; overflow-wrap: anywhere; }
.player-scores .player-rank { color: var(--muted); }
.player-scores .player-total { position: relative; color: var(--deep-red); font: 750 1.3rem/1 var(--display); white-space: nowrap; }
.player-score { display: inline-block; padding: 5px 7px; }
.player-best { background: var(--light-red); }
.player-total sup { position: absolute; top: 50%; right: 9px; transform: translateY(-100%); font: 700 .71rem/1 'Segoe UI', sans-serif; }
.player-a11y-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.player-scores :is(.metric-short, .player-compact-phase, .player-compact-heading) { display: none; }
.player-modal-footer { display: flex; flex: none; align-items: center; gap: 12px; padding: 12px var(--player-padding) 15px; }
.player-source-note { color: var(--muted); font-size: .8rem; }
.player-brand { display: grid; flex: 0 0 44px; height: 44px; margin-inline-start: auto; place-items: center; border: 1px solid var(--line); background: var(--white); }

@media (max-width: 540px) {
  .player-modal { --player-padding: 11px; }
  .player-modal-header { align-items: center; padding-block: 15px 12px; }
  .player-modal-header h2 { font-size: clamp(1.45rem, 5vw, 1.9rem); }
  .player-scores .metric-full { display: none; }
  .player-scores .metric-short { display: inline; }
  .player-scores { font-size: .8rem; }
  .player-scores thead th { font-size: .73rem; }
  .player-scores :is(td,th) { padding: 7px 3px; }
  .player-scores .player-total { font-size: 1.12rem; }
  .player-score { padding-inline: 4px; }
  .player-total sup { right: 2px; }
  .player-modal-footer { padding-block: 9px 11px; }
  .player-brand { flex-basis: 38px; height: 38px; }
  .player-brand img { width: 26px; height: auto; }
}

@media (max-width: 440px) {
  .player-scores :is(.player-phase, .player-date-heading) { display: none; }
  .player-scores .player-compact-heading { display: inline; }
  .player-scores .player-compact-phase { display: block; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
}

.admin-seasons { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.admin-seasons .field { flex: 1 1 230px; max-width: 360px; }
.admin-phase-summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.admin-phase-summary li { display: flex; flex: 1 1 175px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); }
.admin-phase-options .check-label { color: var(--ink); }
.admin-phase-options .check-label:not(:first-of-type) { border-top: 1px solid var(--line); }
.admin-phase-options .status { margin-inline-start: auto; }
.admin-phase-options .muted { margin: 6px 0 0; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-block: 12px 18px; padding: 5px; border: 1px solid var(--line); background: var(--white); }
.admin-tabs a { display: inline-flex; align-items: center; min-height: 42px; padding-inline: 14px; border-bottom: var(--accent-rule) solid transparent; color: var(--muted); font-weight: 650; text-decoration: none; }
.admin-tabs a:hover { color: var(--deep-red); background: var(--paper); }
.admin-tabs a[aria-current='page'] { border-bottom-color: var(--red); color: var(--deep-red); background: var(--light-red); }
.admin-panel .section-head { align-items: center; flex-wrap: wrap; }
.admin-panel .section-head h2 { font: 750 clamp(1.6rem, 4.2vw, 2.35rem)/1 var(--display); }
.admin-panel + .admin-panel { margin-top: 14px; }
.admin-filter { width: min(100%, 330px); }
.availability-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 18px; margin-bottom: 14px; }
.availability-toolbar .day-tabs { margin: 0; }
.availability-date { width: min(100%, 290px); }
.availability-date-nav, .availability-week-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
.availability-date-nav { width: min(100%, 348px); align-items: end; }
.availability-week-nav { align-items: center; margin-bottom: 14px; }
.availability-week-nav p { text-align: center; font-weight: 700; }
.availability-step { min-height: 44px; padding: 0; font-size: 1.45rem; line-height: 1; }
.availability-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; font-size: .8rem; }
.availability-legend > span { padding: 4px 8px; }
.booking-grid-scroll { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.booking-grid { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); font-size: .88rem; font-variant-numeric: tabular-nums; }
.booking-grid :is(th, td) { min-width: 78px; padding: 8px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); text-align: center; }
.booking-grid :is(th, td):last-child { border-inline-end: 0; }
.booking-grid tbody tr:last-child > * { border-bottom: 0; }
.booking-grid thead th { background: var(--paper); color: var(--muted); white-space: nowrap; }
.booking-grid tr > th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 60px; width: 60px; background: var(--paper); color: var(--ink); }
.booking-grid td:has(.booking-cell-action) { padding: 0; }
.booking-cell-action { display: grid; place-content: center; width: 100%; min-height: 44px; padding: 6px; border: 0; background: transparent; color: inherit; text-decoration: none; font-weight: 750; }
.booking-cell-action:hover { box-shadow: inset 0 0 0 1px currentColor; }
.booking-cell-action:focus-visible { outline-offset: -3px; }
.booking-free { color: #24573f; background: #eaf5ee; }
.booking-booked { color: var(--deep-red); background: var(--light-red); }
.booking-partial { color: #70420d; background: #fbefde; }
.booking-unavailable { color: var(--muted); background: var(--paper); }
.admin-table-wrap { max-width: 100%; overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.admin-table :is(th,td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table thead { color: var(--muted); background: var(--paper); font-size: .82rem; }
.admin-table thead th { white-space: nowrap; }
.admin-table tbody th { min-width: 116px; }
.admin-table td:last-child:not(.booked,.available) { text-align: right; }
.admin-table small { display: block; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.admin-table .button { min-height: 38px; white-space: nowrap; }
.admin-result-filters { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.admin-results-count { margin-bottom: 8px; font-size: .85rem; }
.admin-entrant-options { display: grid; gap: 4px; margin-top: -6px; padding: 8px; border: 1px solid var(--line); }
.admin-entrant-options p { color: var(--muted); font-size: .82rem; }
.admin-entrant-options > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: 5px; }
.admin-entrant-options button { display: grid; align-content: center; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); background: var(--paper); text-align: left; color: var(--ink); cursor: pointer; }
.admin-entrant-options button:hover { background: var(--light-red); }
.admin-entrant-options small { color: var(--muted); overflow-wrap: anywhere; }
.admin-result-review :is(th, td) { white-space: normal; overflow-wrap: anywhere; padding-inline: 7px; }
.admin-modal { width: min(calc(100% - 28px), 660px); max-height: min(88dvh, 850px); padding: 0; border: 1px solid var(--line); border-top: var(--accent-rule) solid var(--red); background: var(--white); color: var(--ink); }
.admin-modal[open] { display: flex; flex-direction: column; }
.admin-modal::backdrop { background: #2a1015a6; }
.admin-modal-header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.admin-modal-header h2 { font: 750 clamp(1.5rem, 5vw, 2.15rem)/1.1 var(--display); overflow-wrap: anywhere; }
.admin-modal-header button { flex: none; }
.admin-modal-body { min-height: 0; padding: 18px 22px; overflow-y: auto; }
.admin-modal-body .notice:not(:empty) { margin-bottom: 12px; }
.admin-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.admin-modal-actions [data-admin-archive] { margin-inline-end: auto; }
.admin-modal-body [data-admin-reload] { margin-top: 12px; }
.admin-modal-body textarea { width: 100%; padding: 8px 10px; border: 1px solid #dac9c5; font: inherit; resize: vertical; }
.admin-fieldset { min-width: 0; margin: 0; padding: 8px 11px 11px; border: 1px solid var(--line); }
.admin-fieldset legend { padding-inline: 4px; font-size: .88rem; font-weight: 700; }
.admin-fieldset .muted { margin-bottom: 8px; font-size: .84rem; }
.admin-lanes { display: flex; flex-wrap: wrap; gap: 2px 15px; }
.admin-weekdays { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 10px; }
.admin-day-times { min-width: 0; margin: 0; padding: 8px; border: 1px solid var(--line); }
.admin-day-times > legend { font-size: .82rem; }
.admin-time-row { display: flex; gap: 6px; margin-bottom: 7px; }
.admin-time-row input { min-width: 0; width: 100%; padding: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.admin-time-row > .button { min-height: 38px; padding-inline: 10px; }
.admin-time-actions { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.admin-time-actions > .button { min-height: 36px; padding: 6px 10px; text-align: left; }
.admin-time-actions > .text-link, .admin-range-actions > .text-link { min-height: 30px; padding: 2px 0; border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: .8rem; text-align: left; }
.admin-range-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; }
.admin-booking-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.admin-booking-nav .day-tabs { margin: 0; }
.admin-booking-nav > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.admin-booking-nav .button { min-width: 38px; min-height: 38px; padding: 4px; text-align: center; }
.admin-booking-nav button:disabled { opacity: .4; }
.admin-booking-nav input { min-height: 38px; }
.admin-booking-period { margin-bottom: 12px; font-weight: 700; }
.admin-booking-week-empty { margin-top: 12px; }
.admin-booked-cell { display: grid; row-gap: 2px; text-align: left; }
.admin-booked-cell :is(strong, small) { overflow-wrap: anywhere; }
.booking-outside { font-size: .71rem; color: var(--muted); }
.graphic-controls h2 { margin-bottom: 10px; }
.forms { display: grid; gap: 11px; }
.admin-access-page .shell { max-width: 760px; }
.admin-access-page h1 { margin-bottom: 20px; font: 750 clamp(1.9rem, 5vw, 3rem)/1.08 var(--display); }
.admin-access-page .panel + .panel { margin-top: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; }
.score-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.graphic-controls { margin-top: 14px; }
.scene-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.scene-card { display: flex; flex-direction: column; padding: 12px; background: #faf4f1; border: 1px solid var(--line); }
.scene-card h3 { font-size: 1rem; line-height: 1.25; }
.scene-card p { margin: 4px 0 10px; color: var(--muted); font-size: .87rem; }
.scene-card .form-actions { margin-top: auto; }
.scene-preview { background: repeating-conic-gradient(#d8ccc7 0% 25%,#eee6e3 0% 50%) 0 0 / 20px 20px; margin-top: 12px; border: 1px solid var(--line); overflow: hidden; }
.scene-preview iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.copy-url { display: block; width: 100%; min-height: 38px; padding: 6px; border: 1px solid #d7c5c0; background: white; color: var(--ink); margin-top: 8px; }
.screen-workspace { display: grid; gap: 22px; align-items: start; }
.screen-fields, .screen-segments { display: grid; align-items: start; gap: 8px; }
.screen-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 154px), 1fr)); }
.screen-segments { grid-template-columns: repeat(auto-fit, minmax(min(100%, 208px), 1fr)); }
.screen-segment { display: grid; gap: 8px; }
.screen-segment .screen-fields { grid-template-columns: minmax(0, 1fr); }
.screen-segment .check-label { min-height: 32px; }
.screen-preview-panel { display: grid; min-width: 0; gap: 10px; }
.screen-preview-panel .scene-preview { margin-top: 0; }

@media (min-width: 1120px) {
  .screen-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .result-toolbar { flex-direction: column; align-items: flex-start; }
  .result-search { flex: none; width: min(100%, var(--search-width)); }
  .result-tabs { flex-wrap: wrap; max-width: 100%; }
}

@media (max-width: 820px) {
  .hero-inner { min-height: 315px; }
  .home-grid { gap: 20px; }
  .scores .score-secondary { display: none; }
  .score-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 880px) {
  .masthead-inner { min-height: auto; grid-template-columns: auto minmax(0, 1fr); gap: 0 9px; padding-top: 7px; }
  .brand img { width: 57px; }
  .brand { gap: 7px; }
  .masthead-actions { grid-column: 2; grid-row: 1; }
  .language-picker summary { min-height: 36px; }
  .nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: clamp(6px, 2vw, 16px); }
  .nav a { min-height: 43px; }
}

@media (max-width: 760px) {
  .footer-links [data-admin-entry] { display: none; }
  :root:not(.admin-page, .graphic-page) {
    --mobile-nav-height: calc(max(61px, 3.75rem) + env(safe-area-inset-bottom));
    scroll-padding-bottom: var(--mobile-nav-height);
  }
  :root:not(.admin-page, .graphic-page) #site { padding-bottom: var(--mobile-nav-height); }
  :root:not(.admin-page, .graphic-page) .masthead-inner { min-height: 57px; padding-block: 4px; }
  :root:not(.admin-page, .graphic-page) .masthead .nav { display: none; }
  :root:not(.admin-page, .graphic-page) .language-picker summary { min-height: 44px; }
  :root:not(.admin-page, .graphic-page) .mobile-nav {
    position: fixed;
    z-index: 12;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: var(--mobile-nav-height);
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  .mobile-nav :is(a, button) {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    padding: 2px;
    border: 0;
    border-top: var(--accent-rule) solid transparent;
    border-radius: 0;
    background: none;
    color: var(--muted);
    font-size: .71rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }
  .mobile-nav :focus-visible { outline-offset: -3px; }
  .mobile-nav-icon { position: relative; display: grid; place-items: center; width: 43px; max-width: 100%; height: 27px; }
  .mobile-nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; }
  .mobile-nav .has-live .mobile-nav-icon::after { position: absolute; inset: 1px 5px auto auto; width: 8px; height: 8px; border: 1px solid var(--white); border-radius: 50%; background: var(--red); content: ''; }
  .mobile-nav :is([aria-current], [aria-expanded='true'], .has-current-page) { border-top-color: var(--red); background: var(--light-red); color: var(--deep-red); font-weight: 800; }
  .info-hero.has-poster, .info-grid, .info-cost-grid { grid-template-columns: minmax(0, 1fr); }
  .info-hero h1 { font-size: clamp(2.7rem, 10vw, 4.65rem); }
  .info-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .nav a { font-size: .85rem; }
  .page-head { flex-wrap: wrap; }
  :is(.admin-manual-form, .admin-edition-form) .form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
  .admin-result-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-result-filters > :first-child { grid-column: 1 / -1; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .nav a { justify-content: center; min-height: 34px; }
}

@media (max-width: 635px) {
  .admin-results-table :is(th,td):nth-child(n+3):nth-child(-n+5) { display: none; }
  .admin-results-table { font-size: .84rem; }
  .admin-results-table thead { font-size: .75rem; }
  .admin-results-table :is(th,td) { padding-inline: 6px; }
  .admin-results-table tbody th { min-width: 0; overflow-wrap: anywhere; }
  .admin-results-table .button { padding-inline: 8px; font-size: .82rem; white-space: normal; }
  .hero-inner { min-height: 240px; padding-top: 24px; padding-bottom: 83px; align-items: start; gap: 4px; }
  .hero-location { display: block; font-size: .75rem; letter-spacing: .09em; }
  .hero-location span { margin-inline: 3px; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 4.8rem); white-space: normal; }
  .hero-year { align-self: end; gap: 5px; }
  .hero-year strong { font-size: clamp(2.65rem,11vw,4.9rem); }
  .hero-year span { font-size: .78rem; white-space: nowrap; }
  .hero-detail { font-size: .91rem; gap: 2px 8px; }
  .hero-track { --ball-target: 33px; --pin-width: 16px; --pin-height: 45px; --pin-step: 7.5px; height: calc(var(--pin-height) + 8px); }
  .hero-rack .hero-pin { bottom: calc(var(--pin-depth) * 3px); }
  .home-panel { padding-top: 21px; }
  .home-grid, .finals-grid, .show-grid { grid-template-columns: minmax(0,1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 0; }
  .stats-metrics > div:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats-metrics > div:nth-child(n + 3) { padding-top: 12px; border-top: 1px solid #fff5ee33; }
  .stats-weeks { grid-auto-columns: minmax(30px, 1fr); }
  .stats-weeks li { height: 170px; }
  .stats-phases { font-size: .83rem; }
  .stats-phases :is(th, td) { padding-inline: 5px; }
  .stats-phases :is(thead th, .subline) { font-size: .75rem; }
  .section-head, .page-head { align-items: start; }
  .filter-panel label { min-width: 0; flex: 1 1 124px; }
  .result-toolbar { column-gap: 9px; }
  .result-toolbar .day-tabs a { padding-inline: 8px; }
  .result-categories { gap: 5px; padding-left: 0; border-left: 0; }
  .filter-panel .search-field { flex-basis: 100%; }
  .filter-panel .check-label { flex-basis: 100%; padding: 2px 0; }
  .scores :is(th,td):first-child { width: 30px; }
  .scores :is(th,td) { padding-inline: 6px; }
  .schedule-item { padding: 10px; }
  .program-row { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .schedule-item summary { grid-template-columns: 55px minmax(0,1fr); gap: 7px 10px; }
  .schedule-item.current { padding-left: 8px; }
  .schedule-item .status { grid-column: 2; }
  .schedule-entries { margin-left: 0; }
  .scene-cards { grid-template-columns: minmax(0,1fr); }
  .detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (forced-colors: active) {
  .hero-year strong { color: CanvasText; -webkit-text-stroke: 0; }
  .nav a[aria-current='page']::after { background: Highlight; forced-color-adjust: none; }
  .mobile-nav :is([aria-current], [aria-expanded='true'], .has-current-page) { border-top-color: Highlight; }
  .mobile-more a[aria-current] { border-inline-start-color: Highlight; }
  .day-tabs a[aria-current] { border-color: Highlight; }
  .admin-tabs a[aria-current='page'] { border-bottom-color: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { position: relative; top: auto; }
}
