:root {
  color-scheme: light;
  --ink: #18212d;
  --muted: #5d6875;
  --navy: #101a27;
  --red: #c3342b;
  --red-dark: #a8241d;
  --cream: #f6f5f1;
  --line: #e2e6e9;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 30, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: #ad2922; text-underline-offset: .18em; }
a:hover { color: #801b16; }
a:focus-visible { outline: 3px solid #f1a79e; outline-offset: 4px; border-radius: 3px; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { color: var(--white); font-weight: 800; font-size: .92rem; letter-spacing: -.015em; line-height: 1.25; text-decoration: none; max-width: 18rem; }
.brand:hover, .site-nav a:hover { color: #fff; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-nav a { color: #d5dce4; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #e2736a; text-underline-offset: .55rem; }
.eyebrow { margin: 0 0 .8rem; color: #eb7770; font-size: .79rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow--dark { color: var(--red-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); letter-spacing: -.06em; line-height: 1.03; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.045em; line-height: 1.12; margin-bottom: .5rem; }
h3 { font-size: 1.13rem; letter-spacing: -.025em; line-height: 1.25; margin-bottom: .4rem; }
.title-date { display: block; margin-top: .45rem; color: #f0a39c; font-size: .42em; letter-spacing: -.02em; line-height: 1.15; }
.lead { color: #dde4eb; font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 41rem; }
.muted { color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .76rem 1.15rem; border-radius: 9px; background: var(--red); color: #fff; font-weight: 750; font-size: .91rem; text-align: center; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.button--light { background: #fff; color: var(--ink); }
.button--light:hover { background: #eef1f3; color: var(--ink); }
.button--outline { background: transparent; color: var(--ink); border: 1px solid #c9d0d6; }
.button--outline:hover { background: #eef1f3; color: var(--ink); }
.hero { background: radial-gradient(circle at 90% 10%, #344457 0, #192635 38%, var(--navy) 75%); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.rules-hero { padding-block: 3.5rem; }
.hero-copy { max-width: 650px; }
.hero-meta { display: inline-flex; margin-bottom: 1.1rem; padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.24); border-radius: 100px; color: #e9eef3; font-size: .84rem; font-weight: 650; }
.poster-link { display: block; max-width: 370px; margin-inline: auto; border-radius: 16px; overflow: hidden; box-shadow: 0 28px 65px rgba(0,0,0,.32); transform: rotate(1.5deg); transition: transform .2s; }
.poster-link:hover { transform: rotate(0); }
.poster-link img { width: 100%; height: auto; }
.main-content { padding-block: clamp(2.5rem, 5vw, 4.5rem) 5rem; }
.section { margin-top: clamp(3rem, 5vw, 5rem); }
.section:first-child { margin-top: 0; }
.section-intro { max-width: 680px; margin-bottom: 1.4rem; }
.section-intro p { color: var(--muted); margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fact { min-width: 0; padding: 1.35rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.fact-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fact-value { display: block; margin-top: .3rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.fact-note { display: block; margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.fact-note a { font-weight: 750; }
.documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.documents--single { grid-template-columns: minmax(0, 540px); }
.document { display: block; min-height: 184px; padding: 1.4rem; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.document:hover { color: var(--ink); transform: translateY(-3px); border-color: #c7cdd3; }
.document-type { color: var(--red-dark); font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.document h3 { margin-top: .6rem; font-size: 1.34rem; }
.document p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.document-arrow { float: right; color: var(--red-dark); font-size: 1.5rem; line-height: 1; }
.document-previews { display: flex; align-items: flex-start; gap: .55rem; margin: 0 0 .8rem; }
.document-previews img { flex: none; width: 66px; height: 94px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.notice { padding: 1.1rem 1.3rem; border: 1px solid #e5d3ce; border-left: 4px solid var(--red); border-radius: 8px; background: #fff; }
.notice p:last-child { margin-bottom: 0; }
.notice--warning { background: #fff8f6; }
.notice--sold-out { width: fit-content; max-width: 100%; margin: 0 auto 1.25rem; text-align: center; padding: .75rem 1.1rem; background: #fff8f6; }
.notice--sold-out strong { color: var(--red); font-size: 1.15em; }
.detail-hero .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(190px, .55fr); padding-block: 3rem; }
.detail-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.detail-hero .poster-link { max-width: 230px; }
.detail-summary { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.detail-summary span { display: inline-block; padding: .33rem .7rem; border: 1px solid rgba(255,255,255,.24); border-radius: 100px; color: #e4eaf0; font-size: .83rem; font-weight: 650; }
.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.schedule-card { padding: 1.35rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.schedule-card .day { color: var(--red-dark); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.schedule-card .time { display: block; font-size: 2rem; line-height: 1.2; letter-spacing: -.05em; font-weight: 800; margin: .25rem 0; }
.schedule-card p { color: var(--muted); margin-bottom: 0; }
.location-map { max-width: 760px; margin: 1.1rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #e9ecec; }
.location-map iframe { display: block; width: 100%; height: 280px; border: 0; }
.inline-callout { margin-top: 1.2rem; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #ced8e1; border-radius: 12px; background: #eef3f7; }
.inline-callout p { margin: .2rem 0 0; color: var(--muted); font-size: .91rem; }
.payment-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.2rem; align-items: start; }
.payment-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
.payment-card { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.payment-card h3 { margin-top: 0; }
.payment-card dl { margin: 0; }
.payment-card dl > div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.payment-card dl > div:first-child { padding-top: 0; }
.payment-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.payment-card dt { color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.payment-card dd { margin: .15rem 0 0; font-weight: 650; overflow-wrap: anywhere; }
.payment-card .iban { font-size: clamp(.95rem, 1.5vw, 1.1rem); letter-spacing: .03em; }
.requirements { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 1rem; }
.requirements > div { min-width: 0; }
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.stage-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.stage-card img { width: 100%; height: auto; }
.stage-card a { display: block; }
.stage-caption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; align-items: baseline; }
.stage-caption strong { font-size: 1.08rem; }
.stage-caption span { color: var(--muted); font-size: .86rem; }
.squad-preview { margin-top: 1.1rem; }
.squad-preview summary { width: fit-content; color: var(--red-dark); cursor: pointer; font-weight: 750; text-underline-offset: .18em; }
.squad-preview summary:hover { text-decoration: underline; }
.squad-preview[open] summary { margin-bottom: 1.2rem; }
.squad-preview .stage-card:last-child { grid-column: 1 / -1; width: calc(50% - .6rem); justify-self: center; }
.stage-download, .section-after { margin-top: 1.5rem; }
.rules-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.section--compact { margin-top: 0; }
.page-title { font-size: clamp(2.5rem, 5.5vw, 4.3rem); }
.breadcrumb { margin: 0 0 2.25rem; color: var(--muted); font-size: .88rem; }
.breadcrumb span { margin: 0 .45rem; color: #9da6af; }
.archive-list { display: grid; gap: .8rem; }
.archive-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.archive-card:hover { color: var(--ink); transform: translateY(-2px); border-color: #c7cdd3; }
.archive-date { flex: none; min-width: 6.8rem; color: var(--red-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; }
.archive-body { display: grid; gap: .14rem; }
.archive-body strong { font-size: 1.1rem; }
.archive-body span { color: var(--muted); font-size: .9rem; }
.archive-card .document-arrow { margin-left: auto; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.result-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.result-card:hover { color: var(--ink); transform: translateY(-2px); border-color: #c7cdd3; }
.result-card img { width: 100%; height: 310px; object-fit: contain; object-position: top; background: #f8f9fa; border-bottom: 1px solid var(--line); }
.result-card-copy { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 1.1rem; }
.result-card-copy strong { font-size: 1.08rem; }
.result-card-copy span { color: var(--muted); font-size: .88rem; }
.result-card-copy i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--red-dark); font-style: normal; font-size: 1.35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.results-hero { padding-block: 3.8rem; }
.results-page { max-width: 1280px; }
.results-controls { position: sticky; top: .75rem; z-index: 2; margin-bottom: 1rem; padding: 1rem; border: 1px solid #d9e0e5; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(18,30,43,.09); backdrop-filter: blur(10px); }
.stage-tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.stage-tabs button { min-height: 38px; padding: .45rem .85rem; border: 1px solid #cad2d8; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 750; cursor: pointer; }
.stage-tabs button[aria-selected="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.result-filter-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.result-search { position: relative; flex: 1 1 260px; }
.result-search label { display: block; }
.result-search input { padding-right: 2.6rem !important; }
.result-search input::-webkit-search-cancel-button { display: none; }
.result-search__clear { position: absolute; top: 50%; right: .45rem; display: grid; width: 1.9rem; height: 1.9rem; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #eef1f3; color: #53616d; font: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.result-search__clear:hover, .result-search__clear:focus-visible { outline: none; background: #fbe4e1; color: var(--red-dark); }
.result-search__clear[hidden] { display: none; }
.results-count { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: .15rem .7rem; }
.clear-filters { padding: 0; border: 0; background: none; color: var(--red-dark); font: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.clear-filters:hover { color: #801b16; }
.clear-filters[hidden] { display: none; }
.result-search input, .result-select select, .result-multi summary { width: 100%; min-height: 42px; padding: .55rem .7rem; border: 1px solid #cad2d8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.result-select { display: grid; gap: .18rem; min-width: 165px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.result-multi { position: relative; min-width: 190px; }
.result-multi details { min-width: 0; }
.result-multi summary { display: flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; font-size: .82rem; font-weight: 700; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.result-multi summary::-webkit-details-marker { display: none; }
.result-multi summary span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.result-multi summary::after { content: ""; flex: none; width: .45rem; height: .45rem; margin: -.2rem .1rem 0 0; border: solid var(--ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.result-multi[open] summary, .result-multi summary:focus-visible { border-color: var(--red); outline: none; box-shadow: 0 0 0 2px #f6cdc8; }
.result-multi__panel { position: absolute; top: calc(100% + .35rem); right: 0; z-index: 10; display: grid; min-width: 100%; padding: .35rem; border: 1px solid #cad2d8; border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(18,30,43,.16); }
.result-multi__panel label { display: flex; align-items: center; gap: .6rem; min-height: 42px; padding: .35rem .6rem; border-radius: 7px; color: var(--ink); font-size: .9rem; font-weight: 650; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
.result-multi__panel label:hover { background: #fff5f3; }
.result-multi__panel input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--red); }
.result-multi__all { margin-bottom: .25rem; border-bottom: 1px solid var(--line); border-radius: 7px 7px 0 0 !important; }
.results-table-card, .shooter-detail { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.results-table-heading, .detail-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.results-table-heading .eyebrow, .detail-heading .eyebrow { margin-bottom: .35rem; }
.results-table-heading h2, .detail-heading h2 { margin-bottom: 0; }
.results-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#results-table, .detail-table { width: 100%; min-width: 1030px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#results-table th, #results-table td, .detail-table th, .detail-table td { padding: .72rem .65rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-size: .89rem; }
#results-table th, .detail-table th { color: var(--muted); font-size: .71rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
#results-table th:nth-child(2), #results-table td:nth-child(2), #results-table th:nth-child(3), #results-table td:nth-child(3), .detail-table .cell-stage { text-align: left; }
.detail-table .cell-thumb { position: relative; width: 3.1rem; padding: .3rem .2rem !important; }
.detail-table td.cell-thumb a { display: block; position: absolute; inset: .3rem .2rem; overflow: hidden; border: 1px solid #d5dbe0; border-radius: 5px; background: #fff; transition: border-color .16s, box-shadow .16s; }
.detail-table td.cell-thumb a:hover, .detail-table td.cell-thumb a:focus-visible { border-color: var(--red); box-shadow: 0 0 0 2px #f6cdc8; }
.detail-table td.cell-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.detail-table tbody td, .detail-table tbody th { height: 3.6rem; }
.detail-table .cell-pct { color: var(--ink); font-size: .98rem; font-weight: 850; }
.detail-table .cell-pct__pos { display: none; }
.cell-pct__mpts { display: none; }
#results-table td.cell-mpts, .detail-table td.cell-mpts { font-weight: 750; }
#results-table th.th-penalty, .detail-table th.th-penalty { color: var(--red-dark); }
#results-table td.cell-hit--bad, .detail-table td.cell-hit--bad { color: var(--red-dark); font-weight: 850; }
#results-table td.cell-pct { color: var(--ink); font-weight: 850; }
.detail-table td.cell-spos { font-weight: 750; }
.detail-heading { align-items: center; }
.detail-heading > div:first-child { flex: 1; min-width: 0; }
#results-table th, #results-table td { padding-inline: .4rem; }
#results-table th { letter-spacing: .03em; }
#results-table tbody tr { cursor: pointer; transition: background .16s; }
#results-table tbody tr:hover, #results-table tbody tr:focus { outline: none; background: #fff5f3; }
#results-table td strong { display: block; font-size: .92rem; }
#results-table td small { display: block; margin-top: .1rem; color: var(--muted); font-size: .76rem; }
#results-table .is-dq td:first-child { color: var(--red-dark); font-weight: 800; }
#results-table .division-start td { padding-top: 1rem; border-top: 3px solid #8f9ca6; }
#results-table .division-start:first-child td { border-top: 0; }
#results-table .division-start td:nth-child(3) { color: #334957; font-weight: 850; }
#results-table .division-heading { display: none; }
.rank-badge { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid rgba(0,0,0,.16); border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 2px 5px rgba(25,37,46,.12); color: #342710; font-size: .85rem; font-weight: 900; line-height: 1; }
.rank-badge--gold { border-color: #c99a22; background: linear-gradient(145deg, #fff1a6, #d89c19); }
.rank-badge--silver { border-color: #aeb7bc; background: linear-gradient(145deg, #fff, #b9c2c8); color: #35414a; }
.rank-badge--bronze { border-color: #aa6534; background: linear-gradient(145deg, #f7c08c, #b96936); color: #fffaf3; }
.shooter-detail { margin-top: 1rem; scroll-margin-top: 11rem; border-color: #e1c2bd; background: #fffdfa; }
.detail-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1e7e5; color: var(--red-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.detail-tags > * { padding: .2rem .55rem; border: 0; font-family: inherit; line-height: 1.6; border-radius: 5px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.detail-tags > * + * { background: #e6eaed; color: #334957; }
.detail-tags button { cursor: pointer; }
.detail-tags button:hover, .detail-tags button:focus-visible { outline: none; box-shadow: 0 0 0 2px #f1a79e; }
.detail-tags .is-dq { background: var(--red) !important; color: #fff !important; }
.scoreboard { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); margin-bottom: 1.1rem; overflow: hidden; border-radius: 12px; background: var(--navy); color: #fff; }
.scoreboard__link { border: 0; }
.scoreboard > * { display: grid; align-content: center; gap: .3rem; padding: 1rem 1.2rem; border-left: 1px solid rgba(255,255,255,.12); }
.scoreboard > *:first-child { border-left: 0; }
.scoreboard b { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 850; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scoreboard b small { font-size: .55em; font-weight: 750; letter-spacing: 0; color: #aebbc7; }
.scoreboard span { color: #aebbc7; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.scoreboard__main { background: var(--red); }
.scoreboard__link { background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .16s; }
.scoreboard__link:hover, .scoreboard__link:focus-visible { outline: none; background: rgba(255,255,255,.07); }
.scoreboard__link span { text-decoration: underline dotted rgba(174,187,199,.6); text-underline-offset: .3em; }
.scoreboard__main b { font-size: clamp(2.3rem, 4.6vw, 3.3rem); }
.scoreboard__main b small, .scoreboard__main span { color: #ffd9d5; }
.scoreboard--dq { grid-template-columns: 1fr; }
.scoreboard--three { grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr)); }
.detail-penalty { color: var(--red-dark) !important; font-weight: 800; }
.detail-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.1rem; }
.detail-block { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.detail-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem .8rem; margin-bottom: .75rem; }
.detail-block__head h3 { margin: 0; color: var(--red-dark); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.detail-block__head span { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.hit-sheet { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 0; padding: 0; list-style: none; border: 1px solid #cfd6dc; border-radius: 8px; overflow: hidden; }
.hit-sheet li { display: grid; text-align: center; border-left: 1px solid #cfd6dc; }
.hit-sheet li:first-child { border-left: 0; }
.hit-sheet span { padding: .2rem 0; background: #eef1f3; color: #53616d; font-size: .68rem; font-weight: 850; letter-spacing: .06em; }
.hit-sheet b { padding: .35rem 0 .3rem; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.hit-sheet .is-penalty span { background: #fbe4e1; color: var(--red-dark); }
.hit-sheet .is-bad span { background: var(--red); color: #fff; }
.hit-sheet .is-bad b { color: var(--red-dark); }
.stage-bars { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.stage-bars button { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr) 4.4rem 1.7rem; align-items: center; gap: .6rem; width: 100%; padding: .28rem .35rem; border: 0; border-radius: 7px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.stage-bars button:hover, .stage-bars button:focus-visible { outline: none; background: #fff5f3; }
.stage-bars__name { font-size: .78rem; font-weight: 850; color: #53616d; }
.stage-bars__track { height: .6rem; overflow: hidden; border-radius: 99px; background: #eef1f3; }
.stage-bars__track i { display: block; height: 100%; border-radius: inherit; background: var(--navy); }
.stage-bars__track i.is-best { background: var(--red); }
.stage-bars b { font-size: .95rem; text-align: right; font-variant-numeric: tabular-nums; }
.stage-bars small { color: var(--muted); font-size: .8rem; font-weight: 750; text-align: right; }
.result-tooltip { position: fixed; z-index: 30; max-width: 18rem; padding: .5rem .7rem; border-radius: 8px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 650; line-height: 1.5; white-space: pre-line; font-variant-numeric: tabular-nums; box-shadow: 0 10px 28px rgba(18,30,43,.25); pointer-events: none; }
#results-table [data-tip] { cursor: help; }
#results-table th[data-tip] { text-decoration: underline dotted #aab3bb; text-underline-offset: .3em; }
.dq-badge { display: inline-grid; min-width: 2.3rem; height: 1.6rem; padding: 0 .4rem; place-items: center; border-radius: 5px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
#results-table .is-dq { background: repeating-linear-gradient(135deg, #fff 0 10px, #fbf3f2 10px 20px); }
#results-table .is-dq td { color: #8a949e; }
#results-table .is-dq td strong { color: var(--ink); }
.dq-badge--dnf { background: #5d6875; }
.detail-tags .is-dnf { background: #5d6875 !important; color: #fff !important; }
.scoreboard--dnf .scoreboard__main { background: #5d6875; }
.scoreboard--dnf .scoreboard__main span { color: #e4e9ed; }
.detail-dq:has(+ .detail-summary-grid--single) { border-left-color: #5d6875; border-color: #d5dbe0; }
.stage-bars b.is-pending { color: var(--muted); font-size: .8rem; font-weight: 700; }
.detail-summary-grid--single { grid-template-columns: minmax(0, 1fr); }
.detail-table .cell-pending { color: var(--muted); font-style: italic; text-align: left !important; }
.detail-table tr.is-pending .cell-stage { color: var(--muted); }
.stage-bars b { white-space: nowrap; }
.detail-dq { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid #e5c3be; border-left: 4px solid var(--red); border-radius: 10px; background: #fff; }
.detail-dq p { margin: 0; color: var(--muted); }
.stage-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline dotted #b9c2c9; text-underline-offset: .25em; cursor: pointer; }
.stage-link:hover, .stage-link:focus-visible { outline: none; color: var(--red-dark); text-decoration: underline solid; }
#results-table tbody tr.is-focus { background: #fff1ee; box-shadow: inset 4px 0 0 var(--red); animation: row-focus 1.6s ease-out; }
@keyframes row-focus { from { background: #fbd3cd; } to { background: #fff1ee; } }
.results-documents { margin-top: 2.5rem; }
.site-footer { padding: 1.75rem 0 2rem; background: #e9ecec; border-top: 1px solid #d8dddf; color: var(--muted); text-align: center; font-size: .88rem; }
.site-footer p { margin: 0; }
.footer-quiet { display: block; margin-top: .45rem; font-size: .77rem; }
.footer-quiet a { color: #4e5a68; }

@media (max-width: 760px) {
  .wrap { width: min(560px, calc(100% - 2rem)); }
  .site-header__inner { min-height: 66px; }
  .brand { font-size: .8rem; max-width: 11rem; }
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .78rem; }
  .site-nav { flex-wrap: nowrap; }
  .hero-grid, .detail-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.8rem 3.4rem; }
  .poster-link { max-width: 260px; }
  .detail-hero .poster-link { display: none; }
  .facts { grid-template-columns: 1fr; }
  .documents, .schedule, .stage-grid, .rules-list, .payment-layout, .requirements, .result-grid { grid-template-columns: 1fr; }
  .archive-card { align-items: flex-start; gap: .8rem; }
  .archive-date { min-width: 5.25rem; }
  .result-card img { height: 360px; }
  .results-table-heading { align-items: start; flex-direction: column; }
  .result-select { flex: 1 1 140px; min-width: 0; }
  .squad-preview .stage-card:last-child { grid-column: auto; width: 100%; }
  .inline-callout { flex-direction: column; align-items: start; }
  .inline-callout .button { width: 100%; }
  .button-row .button { flex: 1 1 100%; }
  .document-previews { gap: .45rem; }
  .document-previews img { width: 58px; height: 82px; }
}

@media (max-width: 760px) {
  .results-hero { padding-block: 1.9rem 2.1rem; }
  .results-hero h1 { font-size: 2.3rem; margin-bottom: .6rem; }
  .results-hero .lead { font-size: .98rem; margin-bottom: 0; }
  .results-page { padding-top: 1.1rem; }
  .results-page .breadcrumb { margin-bottom: 1rem; }
  .results-controls { position: relative; z-index: 4; margin-inline: -1rem; padding: .65rem 1rem .75rem; border-width: 1px 0; border-radius: 0; box-shadow: none; }
  .stage-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding-inline: 1rem; scrollbar-width: none; }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .stage-tabs { gap: .3rem; }
  .stage-tabs button { flex: 1 0 auto; min-height: 40px; padding-inline: .45rem; font-size: .82rem; }
  .result-filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .6rem; }
  .result-search { grid-column: 1 / -1; }
  .result-search input { font-size: 16px; }
  .result-select { font-size: .68rem; }
  .result-select select, .result-multi summary { min-height: 40px; padding-block: .4rem; font-size: 16px; }
  .result-multi { min-width: 0; }
  .result-multi__panel label { min-height: 46px; font-size: 1rem; }
  .results-table-card { margin-inline: -1rem; padding: 1rem 0 .4rem; border-inline: 0; border-radius: 0; box-shadow: none; }
  .results-table-heading { flex-direction: row; align-items: end; margin: 0 1rem .6rem; }
  .results-table-heading h2 { font-size: 1.45rem; }
  .results-table-heading p { margin: 0; font-size: .82rem; white-space: nowrap; }
  .results-table-heading h2 { white-space: nowrap; }
  .results-count { flex-direction: column; align-items: flex-end; gap: .1rem; }
  .results-table-wrap { overflow: visible; }
  #results-table, #results-table tbody { display: block; min-width: 0; }
  #results-table thead { display: none; }
  #results-table tbody tr { display: grid; grid-template-columns: repeat(42, minmax(0, 1fr)); column-gap: 0; padding: .75rem 1rem .7rem; border-bottom: 1px solid var(--line); }
  #results-table tbody tr:active { background: #fff5f3; }
  #results-table th, #results-table td { padding: 0; border: 0; font-size: .9rem; }
  #results-table .division-start td { padding-top: 0; border-top: 0; }
  #results-table .division-heading { display: block; position: sticky; top: 0; z-index: 1; padding: .5rem 1rem; border-top: 3px solid #8f9ca6; border-bottom: 1px solid var(--line); background: #eef1f3; }
  #results-table tbody .division-heading:first-child { border-top: 0; }
  #results-table .division-heading th { display: block; color: #334957; font-size: .78rem; letter-spacing: .12em; text-align: left; }
  #results-table .cell-pos { grid-column: 1 / 7; grid-row: 1 / span 2; align-self: center; text-align: left; font-weight: 800; color: var(--muted); }
  #results-table .cell-name { grid-column: 7 / 31; grid-row: 1; min-width: 0; padding-right: .3rem !important; text-align: left; white-space: normal; }
  #results-table .cell-name strong { font-size: .97rem; line-height: 1.25; }
  #results-table .cell-div { display: none; }
  #results-table .cell-mpts, .detail-table .cell-mpts { display: none; }
  .cell-pct__mpts { display: block; margin-top: .1rem; color: var(--muted); font-size: .76rem; font-weight: 750; text-align: right; }
  #results-table .cell-pct { grid-column: 31 / 43; grid-row: 1; font-size: 1.05rem; font-weight: 850; color: var(--ink); }
  #results-table .cell-time { grid-column: 7 / 19; grid-row: 2; margin-top: .15rem; text-align: left; color: var(--muted); font-size: .84rem; }
  #results-table .cell-hf { grid-column: 19 / 31; grid-row: 2; margin-top: .15rem; text-align: center; color: var(--muted); font-size: .84rem; }
  #results-table .cell-points { grid-column: 31 / 43; grid-row: 2; margin-top: .15rem; color: var(--muted); font-size: .84rem; }
  #results-table .cell-hf::before { content: "HF "; color: #8a949e; font-size: .7rem; font-weight: 750; }
  #results-table .cell-points::after { content: " pts"; color: #8a949e; font-size: .7rem; font-weight: 750; }
  .cell-hit { grid-row: 3; grid-column: span 7; margin: .55rem .15rem 0;  padding: .25rem 0 !important; border-radius: 6px !important; background: #f3f5f6; text-align: center !important; font-weight: 750; line-height: 1.2; }
  .cell-hit::before { content: attr(data-label); display: block; color: #8a949e; font-size: .62rem; font-weight: 800; letter-spacing: .03em; }
  .cell-hit--bad { background: #fdecea; color: var(--red-dark); }
  .has-ap .cell-hit { grid-column: span 6; }
  #results-table .is-dq .cell-empty { display: none; }
  #results-table .is-dq .cell-pos { grid-row: 1; }
  #results-table .is-dq .cell-name { grid-column: 7 / -1; align-self: center; }
  .rank-badge { width: 1.85rem; height: 1.85rem; }
  body.detail-open { overflow: hidden; }
  .shooter-detail { position: fixed; inset: 0; z-index: 20; margin: 0; padding: 0 1rem 2rem; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: var(--cream); }
  .shooter-detail .detail-heading { position: sticky; top: 0; z-index: 1; margin: 0 -1rem 1rem; padding: 1rem 1rem .8rem; align-items: start; background: var(--cream); border-bottom: 1px solid var(--line); }
  .shooter-detail h2 { font-size: 1.5rem; }
  .shooter-detail .muted { margin: .2rem 0 0; font-size: .9rem; }
  .detail-close { flex: none; width: 44px; height: 44px; }
  .shooter-detail .results-table-wrap { overflow: visible; }
  .detail-table, .detail-table tbody { display: block; min-width: 0; }
  .detail-table thead { display: none; }
  .detail-table tbody tr { display: grid; grid-template-columns: 4.2rem repeat(42, minmax(0, 1fr)); column-gap: 0; margin-bottom: .6rem; padding: .75rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .detail-table th, .detail-table td { padding: 0 !important; border: 0 !important; font-size: .88rem !important; }
  .detail-table .cell-spos { display: none; }
  .detail-table .cell-pct { grid-column: 20 / 44; grid-row: 1; font-size: 1.12rem !important; }
  .detail-table .cell-pct__pos { display: inline; color: var(--muted); font-size: .85rem; font-weight: 750; }
  .detail-table .cell-stage { grid-column: 2 / 20; grid-row: 1; color: var(--ink); font-size: 1rem !important; letter-spacing: 0; text-transform: none; }
  .detail-table .cell-hf { grid-column: 14 / 32; grid-row: 2; margin-top: .1rem; text-align: center; color: var(--muted); }
  .detail-table .cell-time { grid-column: 2 / 14; grid-row: 2; margin-top: .1rem; text-align: left; color: var(--muted); }
  .detail-table .cell-points { grid-column: 32 / 44; grid-row: 2; margin-top: .1rem; color: var(--muted); }
  .detail-table tbody td, .detail-table tbody th { height: auto; }
  .detail-table .cell-pending { grid-column: 2 / -1; grid-row: 2; font-size: .9rem !important; }
  .detail-table tr.is-pending { min-height: 5.4rem; align-content: start; }
  .detail-table .cell-thumb { grid-column: 1; grid-row: 1 / span 3; width: auto; margin-right: .45rem; padding: 0 !important; }
  .detail-table td.cell-thumb a { inset: 0; border-radius: 7px; }
  .detail-table tbody tr { padding-left: .6rem; }
  .detail-table .cell-hf::before { content: "HF "; color: #8a949e; font-size: .7rem; font-weight: 750; }
  .detail-table .cell-points::after { content: " pts"; color: #8a949e; font-size: .7rem; font-weight: 750; }
  .shooter-detail .detail-heading { gap: .7rem; }
}

@media (max-width: 760px) {
  .scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: .8rem; }
  .scoreboard > * { padding: .8rem .9rem; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .scoreboard > *:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); }
  .scoreboard > *:nth-child(-n+2) { border-top: 0; }
  .scoreboard b { font-size: 1.45rem; }
  .scoreboard__main b { font-size: 2.3rem; }
  .scoreboard--dq { grid-template-columns: 1fr; }
  .scoreboard--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scoreboard--three .scoreboard__main { grid-column: 1 / -1; }
  .scoreboard--three > *:nth-child(2) { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .scoreboard--three > *:nth-child(3) { border-left: 1px solid rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); }
  .detail-summary-grid { grid-template-columns: 1fr; gap: .8rem; margin-bottom: .8rem; }
  .detail-block { padding: .85rem .8rem; }
  .hit-sheet b { font-size: 1.1rem; }
  .detail-tags > * { font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  #results-table tbody tr.is-focus { animation: none; }
  html { scroll-behavior: auto; }
  .button, .document, .poster-link { transition: none; }
}
