:root {
  --paper: #ffffff;
  --ink: #0e0e0e;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --rule: #e4e2dd;
  --rule-strong: #0e0e0e;
  --wash: #f6f5f2;
  --signal: #c8102e;
  --gold: #b8860b;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.5; font-feature-settings: "kern"; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .display { font-family: var(--display); font-variation-settings: "wdth" 80; letter-spacing: -0.01em; line-height: 1; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 68px); font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-variation-settings: "wdth" 100; color: var(--ink); border-top: 2px solid var(--rule-strong); padding-top: 8px; margin: 36px 0 12px; }
h3 { font-size: 20px; font-weight: 700; font-variation-settings: "wdth" 90; }
.num, td.num, th.num, .tab { font-family: var(--display); font-variation-settings: "wdth" 90; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.serif { font-family: var(--serif); }
.signal { color: var(--signal); }

/* masthead */
.masthead { border-bottom: 1px solid var(--rule-strong); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.masthead__row { display: grid; grid-template-columns: auto minmax(220px, 360px) 1fr; align-items: center; gap: 28px; height: 58px; }
.masthead__brand { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.masthead__sub { font-family: var(--serif); font-weight: 400; text-transform: none; font-size: 12px; letter-spacing: 0; color: var(--ink-3); font-style: italic; margin-top: 3px; }
.masthead__brand:hover { text-decoration: none; }
.nav { display: flex; gap: 18px; justify-content: flex-end; font-family: var(--display); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { text-decoration: none; border-color: var(--signal); }
.search { position: relative; width: 100%; justify-self: start; display: flex; align-items: center; border: 1px solid var(--rule-strong); background: var(--paper); }
.search__icon { flex: 0 0 auto; margin: 0 6px 0 10px; color: var(--ink-3); }
.search__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: 15px var(--serif); padding: 9px 4px 8px; outline: none; border-radius: 0; -webkit-appearance: none; }
.search__input::placeholder { color: var(--ink-3); }
.search:focus-within { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.search__go { flex: 0 0 auto; font: 600 11px var(--display); letter-spacing: .1em; text-transform: uppercase; border: 0; border-left: 1px solid var(--rule); background: var(--wash); color: var(--ink); padding: 11px 12px; cursor: pointer; }
.search__go:hover { background: var(--ink); color: var(--paper); }
.search__suggest { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border: 1px solid var(--rule-strong); z-index: 30; max-height: 60vh; overflow: auto; }
.search__suggest a { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--rule); font-size: 14px; align-items: baseline; }
.search__suggest a:last-child { border-bottom: 0; }
.search__suggest a:hover, .search__suggest a.active { background: var(--wash); text-decoration: none; }
.search__suggest .t { font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.search__suggest .s { color: var(--ink-3); font-size: 12px; font-family: var(--mono); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px; cursor: pointer; justify-self: end; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero / home */
.hero { padding: 44px 0 24px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.hero p { font-size: 19px; max-width: 54ch; margin: 14px 0 0; color: var(--ink-2); }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid var(--rule); }
.ledger div { padding: 6px 16px; border-right: 1px solid var(--rule); }
.ledger .k { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.ledger .v { font-family: var(--display); font-weight: 800; font-size: 34px; font-variation-settings: "wdth" 80; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ledger .v small { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.feed .d { font-family: var(--display); font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--ink-3); letter-spacing: .04em; padding-top: 4px; }
.feed .t { font-family: var(--display); font-size: 19px; font-weight: 700; font-variation-settings: "wdth" 85; line-height: 1.15; }
.feed .m { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.feed .w { font-size: 13.5px; margin-top: 4px; }
.feed .w b { font-weight: 600; }
.feed .w .div { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-right: 4px; }
.lvl { display: inline-block; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--ink); margin-left: 6px; vertical-align: middle; }
.lvl--ii, .lvl--iii, .lvl--iv { background: var(--ink); color: var(--paper); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.list li > span:first-child { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list li > .n { flex: 0 0 auto; }
.list li .withlogo > span { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .n { font-family: var(--display); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.years { display: flex; gap: 3px; align-items: flex-end; height: 70px; margin: 8px 0 4px; }
.years div { flex: 1; background: var(--ink); min-height: 2px; position: relative; }
.years div:last-child { background: var(--signal); }
.years-x { display: flex; justify-content: space-between; font-family: var(--display); font-size: 10px; color: var(--ink-3); letter-spacing: .08em; }

/* near */
.nav__near { color: var(--signal); }
.nearbar { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; margin: 20px 0 0; background: var(--wash); border-left: 3px solid var(--signal); }
.nearbar__form { display: flex; gap: 8px; flex-wrap: wrap; }
.nearbar__form input { font: 15px var(--serif); border: 1px solid var(--ink); padding: 7px 10px; border-radius: 0; width: 150px; background: var(--paper); }
.btn--signal { border-color: var(--signal); color: var(--signal); }
.btn--signal:hover { background: var(--signal); color: var(--paper); }
.near-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.near-head form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.near-head input, .near-head select { font: 15px var(--serif); border: 1px solid var(--ink); padding: 7px 10px; border-radius: 0; background: var(--paper); }
.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.upcoming .when { font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; line-height: 1.1; }
.upcoming .when small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; }
.upcoming li > div { min-width: 0; }
.upcoming .t { font-family: var(--display); font-weight: 700; font-size: 18px; font-variation-settings: "wdth" 85; line-height: 1.25; display: flex; align-items: center; gap: 0; min-width: 0; }
.upcoming .t a { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upcoming .t .sporttag { flex: 0 0 auto; }
.withlogo > div { min-width: 0; flex: 1 1 auto; }
.upcoming .m { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.upcoming .right { text-align: right; font-family: var(--display); font-size: 13px; white-space: nowrap; }
.upcoming .right .mi { font-weight: 800; font-size: 20px; display: block; line-height: 1; }
.upcoming .right .mi small { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.upcoming .right .price { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.upcoming .right .price .muted { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.sporttag { display: inline-block; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--rule-strong); margin-right: 6px; vertical-align: middle; }
.sporttag--uspsa { background: var(--ink); color: var(--paper); }
.status--open { color: #0a7a2f; } .status--closed, .status--full { color: var(--signal); }
.geo-note { font-size: 13px; color: var(--ink-3); margin: 6px 0 0; }

/* map */
.map { height: 440px; margin: 18px 0 6px; border: 1px solid var(--rule-strong); background: var(--wash); }
.map-key { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 6px; }
.map-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.k-up { background: var(--signal); } .k-res { background: var(--ink); } .k-club { background: #bdbdbd; } .k-you { background: #fff; border: 2px solid var(--ink); box-sizing: border-box; }
.leaflet-container { font-family: var(--serif); }
.leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.leaflet-popup-content { margin: 10px 12px; font-size: 13.5px; line-height: 1.35; }
.leaflet-popup-content b { font-family: var(--display); font-size: 14px; }
.leaflet-popup-content .s { color: var(--ink-3); font-size: 12px; display: block; }
.leaflet-control-attribution { font-size: 10px; }
@media (max-width: 760px) { .map { height: 300px; } }

/* event */
.regbox { text-align: right; }
.btn--big { font-size: 14px; padding: 12px 18px; display: inline-block; }
.regbox__meta { font-family: var(--display); font-size: 12px; color: var(--ink-3); margin-top: 8px; letter-spacing: .04em; }
.md { max-width: 68ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.md h3 { font-family: var(--display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin: 20px 0 6px; font-variation-settings: "wdth" 100; }
.md h3:first-child { margin-top: 4px; }
.md p { margin: 0 0 12px; }
.md ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.md li { position: relative; padding-left: 16px; margin: 3px 0; }
.md li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--signal); }
.md a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; overflow-wrap: anywhere; }
.md strong { color: var(--ink); }
.map--event { height: 320px; }
@media (max-width: 760px) { .regbox { text-align: left; } .btn--big { display: block; text-align: center; } }

/* stage boards */
.tab--link { color: var(--signal); text-decoration: none; margin-left: auto; }
.board { border-bottom: 1px solid var(--rule); }
.board summary { cursor: pointer; padding: 10px 0; display: flex; gap: 12px; align-items: baseline; list-style: none; }
.board summary::-webkit-details-marker { display: none; }
.board summary::before { content: "+"; font-family: var(--display); font-weight: 700; width: 14px; color: var(--ink-3); }
.board[open] summary::before { content: "–"; }
.board__no { font-family: var(--display); font-weight: 800; font-size: 18px; min-width: 24px; }
.board__name { font-family: var(--display); font-weight: 700; font-size: 16px; font-variation-settings: "wdth" 85; }
.board .tbl { margin-bottom: 14px; }

/* logos, avatars, rank cards */
.pagehead.pagehead--person, .pagehead.pagehead--event { grid-template-columns: auto 1fr auto; align-items: center; }
.pagehead__chips { grid-column: 2 / -1; margin-top: -6px; align-items: center; }
.pagehead__chips .sponsors { margin: 0 0 0 6px; }
.titles { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-top: 8px; }
.logo { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--rule); background: #fff; padding: 6px; }
.logo--mono, .avatar--mono { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink-3); background: var(--wash); }
.logo--sm { width: 44px; height: 44px; padding: 3px; }
.logo--xs { width: 28px; height: 28px; padding: 2px; vertical-align: middle; }
.withlogo { display: flex; gap: 12px; align-items: flex-start; }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 1px solid var(--rule); }
.sponsors { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.rankrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.rankgrid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; border-left: 1px solid var(--rule); }
.tier { padding: 4px 14px; border-right: 1px solid var(--rule); min-width: 0; }
.tier__k { font-family: var(--display); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.tier__v { font-family: var(--display); font-weight: 800; font-size: 26px; font-variation-settings: "wdth" 80; line-height: 1.1; color: var(--signal); }
.tier__v a { color: inherit; }
.tier__v small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.tier__v.muted { color: var(--ink-3); }
.tier__s { font-size: 12px; color: var(--ink-2); }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; } .tier { padding: 4px 10px; } }
.rankcard { display: block; border: 1px solid var(--rule-strong); padding: 10px 14px; text-decoration: none; }
.rankcard:hover { background: var(--wash); text-decoration: none; }
.rankcard .k { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.rankcard .v { font-family: var(--display); font-weight: 800; font-size: 30px; font-variation-settings: "wdth" 80; line-height: 1.1; color: var(--signal); }
.rankcard .v small { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.rankcard .s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.lede { font-size: 18px; color: var(--ink); }
.contactgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) {
  .pagehead.pagehead--person, .pagehead.pagehead--event { grid-template-columns: auto 1fr; row-gap: 10px; }
  .pagehead__span { grid-column: 1 / -1; }
  .pagehead__chips { grid-column: 1 / -1; margin-top: 0; }
  .contactgrid { grid-template-columns: 1fr; }
  .logo { width: 56px; height: 56px; }
  .avatar { width: 64px; height: 64px; }
  .pagehead--person h1 { font-size: 30px; }
  .tiers { grid-template-columns: 1fr 1fr; }
}

/* rankings scope pills */
.scopes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; }
.scopes--states { margin-top: 8px; }
@media (min-width: 761px) { details.states-more > .scopes--states { display: grid !important; grid-template-columns: repeat(16, 1fr); gap: 4px; max-width: 860px; }
  .scopes--states .chip--sm { text-align: center; padding: 3px 0; } }
details.states-more summary { list-style: none; cursor: pointer; margin-top: 8px; }
details.states-more summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) { details.states-more > .scopes--states { display: flex; } }
.scopes__sep { width: 1px; height: 18px; background: var(--rule-strong); margin: 0 6px; }
.chip--sm { padding: 2px 6px; font-size: 11px; }
@media (max-width: 760px) { .scopes__sep { display: none; } }

.sorts { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 8px; }

/* head to head */
.h2h { list-style: none; margin: 0; padding: 0; }
.h2h li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.h2h li a { font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 90; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h__rec { flex: 0 0 auto; font-family: var(--display); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.h2h__rec b { font-weight: 800; font-size: 16px; }
.h2h__rec b.up { color: var(--signal); }
.h2h__rec b.down { color: var(--ink-3); }
.h2h__rec small { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }

/* shooter: match history + classifier rows */
.hist, .clf { list-style: none; margin: 0; padding: 0; }
.hist__row { display: grid; grid-template-columns: 104px 1fr 170px 84px 110px; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.hist__date, .clf__date { font-family: var(--display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.hist__main { min-width: 0; }
.hist__main a { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 88; font-size: 16px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist__sub, .clf__sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist__div { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.hist__div b { font-family: var(--display); font-weight: 700; color: var(--ink); margin-left: 4px; }
.hist__place { font-family: var(--display); white-space: nowrap; }
.hist__place b { font-size: 20px; font-weight: 800; }
.hist__place small { font-size: 11px; color: var(--ink-3); margin-left: 3px; text-transform: uppercase; letter-spacing: .06em; }
.hist__pct { font-family: var(--display); font-variant-numeric: tabular-nums; }
.hist__pct b { font-size: 15px; font-weight: 700; display: block; line-height: 1.1; }
.hist__pct i { display: block; height: 3px; background: var(--rule); position: relative; margin-top: 4px; }
.hist__pct i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--ink); }
.hist__row--win .hist__place b, .hist__row--win .hist__pct b { color: var(--signal); }
.hist__row--win .hist__pct i::after { background: var(--signal); }
.hist__row--podium .hist__place b { color: var(--ink); }
.clf__row, .clf__head { display: grid; grid-template-columns: 104px 1fr 130px 90px 80px 170px; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.clf__head { font-family: var(--display); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); border-bottom: 2px solid var(--rule-strong); padding: 4px 0 6px; }
.clf__head .r { text-align: right; }
.clf__main { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clf__code { display: inline-block; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--rule-strong); padding: 1px 6px; margin-right: 8px; vertical-align: 2px; }
.clf__stage { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 88; font-size: 15.5px; }
.clf__pb { display: inline-block; margin-left: 8px; font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--paper); background: var(--signal); padding: 1px 5px; vertical-align: 2px; }
.clf__div { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clf__hf, .clf__time { font-family: var(--display); font-weight: 800; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.clf__time { font-weight: 600; color: var(--ink-2); }
.clf__time small { font-size: 11px; color: var(--ink-3); margin-left: 1px; }
.clf__hits { display: flex; gap: 10px; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 14px; }
.clf__hits small { font-size: 10px; color: var(--ink-3); margin-left: 1px; }
.clf__hits .bad { color: var(--signal); font-weight: 700; }
@media (max-width: 760px) {
  .hist__row { grid-template-columns: 1fr auto auto; grid-template-areas: "date date date" "main main main" "div place pct"; gap: 2px 12px; padding: 10px 0; }
  .hist__date { grid-area: date; } .hist__main { grid-area: main; } .hist__div { grid-area: div; align-self: end; } .hist__place { grid-area: place; } .hist__pct { grid-area: pct; min-width: 64px; }
  .hist__main a { white-space: normal; }
  .clf__head { display: none; }
  .clf__row { grid-template-columns: auto auto 1fr; grid-template-areas: "date date div" "main main main" "hf time hits"; gap: 2px 14px; padding: 10px 0; }
  .clf__date { grid-area: date; } .clf__div { grid-area: div; text-align: right; font-size: 12px; } .clf__main { grid-area: main; white-space: normal; }
  .clf__hf { grid-area: hf; text-align: left; } .clf__time { grid-area: time; text-align: left; } .clf__hits { grid-area: hits; justify-content: flex-end; align-self: center; }
}

/* shooter home line */
.home { display: flex; gap: 0; margin-top: 12px; border-left: 1px solid var(--rule); }
.home > div { padding: 2px 14px; border-right: 1px solid var(--rule); min-width: 0; }
.home__k { display: block; font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.home__v { font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 760px) { .home { flex-wrap: wrap; } .home > div { padding: 2px 10px; } }

/* share */
.pagehead__tools { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.btn--share { display: inline-flex; align-items: center; gap: 6px; }
.btn--share.btn--done { background: var(--ink); color: var(--paper); }
.regbox .btn--share { margin-right: 8px; }
@media (max-width: 760px) { .pagehead__tools { justify-content: flex-start; } }

/* tables */
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; }
.tbl th { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-3); text-align: left; padding: 8px 8px 6px; border-bottom: 2px solid var(--rule-strong); white-space: nowrap; }
.tbl td { padding: 7px 8px; border-bottom: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: baseline; }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl tr:hover td { background: var(--wash); }
.tbl .name { font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 90; }
.tbl .first td { font-weight: 700; }
.tbl .first td.num { color: var(--signal); }
.tbl .rank { color: var(--ink-3); }
.tbl tr.dns td { color: var(--ink-3); }
.tbl .dq { color: var(--signal); font-family: var(--display); font-size: 11px; letter-spacing: .1em; }
.tbl .best { font-weight: 700; color: var(--signal); }
.tbl .sub { display: block; color: var(--ink-3); font-size: 12px; font-family: var(--serif); font-weight: 400; }
.tbl a:hover { text-decoration: underline; }
.toolbar { display: flex; gap: 10px; align-items: center; margin: 10px 0 14px; flex-wrap: wrap; }
.toolbar input, .toolbar select { font: 15px var(--serif); border: 1px solid var(--ink); background: var(--paper); padding: 7px 10px; border-radius: 0; min-width: 240px; }
.toolbar .count { margin-left: auto; font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.btn { font: 600 12px var(--display); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 8px 12px; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.pager { display: flex; gap: 10px; align-items: center; margin: 16px 0; font-family: var(--display); font-size: 13px; flex-wrap: wrap; }
.pager__jump { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pager--top { margin: 6px 0 10px; }
.btn--ghost { border-color: var(--rule); color: var(--ink-2); }
.btn--ghost:hover { background: var(--wash); color: var(--ink); }
html { scroll-behavior: smooth; }
.pager__jump input[type=number] { width: 70px; font: 14px var(--display); border: 1px solid var(--ink); padding: 6px 8px; border-radius: 0; margin-left: 6px; }
@media (max-width: 760px) { .pager__jump { margin-left: 0; } }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin: 12px 0 0; border-bottom: 2px solid var(--rule-strong); }
.tab { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; cursor: pointer; border: 0; background: none; color: var(--ink-3); font-family: var(--display); }
.tab.active { color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.tab .c { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.pane[hidden] { display: none; }

/* page heads */
.pagehead { padding: 34px 0 18px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.pagehead .eyebrow { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--signal); font-weight: 700; margin-bottom: 8px; }
.pagehead .meta { color: var(--ink-2); margin-top: 10px; font-size: 16px; overflow-wrap: anywhere; }
.pagehead > *, .grid > *, .cols > *, .facts > * { min-width: 0; }
.pagehead .eyebrow { overflow-wrap: anywhere; }
.pagehead .meta a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; border-left: 1px solid var(--rule); margin-top: 20px; }
.facts div { padding: 8px 14px; border-right: 1px solid var(--rule); }
.facts .k { font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.facts .v { font-family: var(--display); font-weight: 800; font-size: 28px; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; line-height: 1.1; }
.facts .v small { font-size: 13px; color: var(--ink-3); font-weight: 500; font-variation-settings: "wdth" 100; }
.spark { display: block; color: var(--ink); margin-top: 6px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--rule-strong); padding: 3px 8px; }
.chip b { color: var(--signal); margin-left: 4px; }
.chip--on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--on b { color: var(--paper); }
a.chip:hover { text-decoration: none; background: var(--wash); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prose { max-width: 68ch; font-size: 16.5px; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.stagegrid { font-size: 13px; }
.stagegrid th.s { text-align: right; width: 68px; }
.stagegrid td.s { text-align: right; font-family: var(--display); font-variant-numeric: tabular-nums; }
.legend { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
.rank-method { background: var(--wash); padding: 8px 12px; font-size: 11.5px; line-height: 1.45; color: var(--ink-3); max-width: 96ch; margin: 10px 0 0; border-left: 2px solid var(--rule-strong); }
.empty { padding: 40px 0; color: var(--ink-3); font-style: italic; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; }
.result-list li > a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.result-list li > span:not(.k) { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.result-list li > span.tail { flex: 0 0 auto; overflow: visible; }
@media (max-width: 760px) { .result-list .optional { display: none; } }
.result-list .k { flex: 0 0 auto; font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.colophon { border-top: 2px solid var(--rule-strong); margin-top: 72px; padding: 28px 0 0; font-size: 13.5px; color: var(--ink-2); }
.colophon__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.colophon__grid a { display: block; padding: 3px 0; color: var(--ink); }
.colophon__name { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.colophon__brand p { margin: 0 0 8px; max-width: 48ch; }
.colophon__h { font-family: var(--display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 6px; }
.colophon__fine { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.colophon__bottom { border-top: 1px solid var(--rule); margin-top: 24px; padding: 14px 20px 40px; font-size: 12px; color: var(--ink-3); }
.notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; background: var(--ink); color: var(--paper); padding: 10px 14px; display: flex; gap: 14px; align-items: center; justify-content: space-between; font-size: 13.5px; max-width: 720px; margin: 0 auto; }
.notice[hidden] { display: none; }
.notice a { color: var(--paper); text-decoration: underline; }
.notice .btn { border-color: var(--paper); color: var(--paper); background: transparent; padding: 6px 10px; }
.notice .btn:hover { background: var(--paper); color: var(--ink); }
.legal { max-width: 72ch; font-size: 15.5px; line-height: 1.6; }
.legal p { margin: 0 0 14px; }
.legal strong { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 760px) { .colophon__grid { grid-template-columns: 1fr 1fr; } .colophon__brand { grid-column: 1 / -1; } }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
  .reveal > *:nth-child(2) { animation-delay: .05s; } .reveal > *:nth-child(3) { animation-delay: .1s; } .reveal > *:nth-child(4) { animation-delay: .15s; } .reveal > *:nth-child(5) { animation-delay: .2s; } .reveal > *:nth-child(6) { animation-delay: .25s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* responsive */
@media (max-width: 1200px) {
  .masthead__row { grid-template-columns: auto 1fr; height: auto; padding: 8px 0 10px; row-gap: 8px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .nav { gap: 16px; }
}
@media (max-width: 980px) {
  .hero, .grid, .cols { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .masthead__row { grid-template-columns: 1fr auto; height: auto; padding: 10px 0; row-gap: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; border-width: 2px; }
  .search__input { font-size: 16px; padding: 11px 4px 10px; }
  .search__go { padding: 13px 14px; font-size: 12px; }
  .burger { display: block; }
  .nav { display: none; grid-column: 1 / -1; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .pagehead { grid-template-columns: 1fr; }
  .nearbar { grid-template-columns: 1fr; }
  .nearbar__form input { flex: 1; width: auto; }
  .upcoming li { grid-template-columns: 70px 1fr; }
  .upcoming .right { grid-column: 2; text-align: left; }
  .upcoming .right .mi { display: inline; font-size: 14px; margin-right: 8px; }
  .upcoming .right .price { display: inline; font-size: 16px; margin-right: 10px; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger div, .facts div { min-width: 0; overflow: hidden; }
  .ledger .v { font-size: 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .v { font-size: 24px; }
  .spark { max-width: 100%; height: auto; }
  .hero { padding-top: 24px; }
  .hero p { font-size: 17px; }
  .pagehead { padding-top: 22px; }
  .wrap { padding: 0 16px; }
  body { overflow-x: hidden; }
  .feed li { grid-template-columns: 1fr; gap: 2px; }
  /* tables become cards: first cell is the title line, the rest flow as small labelled facts */
  .tbl, .tbl thead, .tbl tbody, .tbl tr { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { border-bottom: 1px solid var(--rule); padding: 9px 0 8px; }
  .tbl td { display: inline-block; width: auto; border: 0; padding: 1px 12px 1px 0; white-space: nowrap; font-size: 13px; vertical-align: baseline; }
  .tbl td.num { text-align: left; }
  .tbl td[data-l]::before { content: attr(data-l); display: inline; font-family: var(--display); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-right: 4px; }
  .tbl td.name { display: inline; white-space: normal; font-size: 16px; padding: 0; }
  .tbl td.name::before { content: none; }
  .tbl td.name::after { content: ""; display: block; height: 3px; }
  .tbl td.name .sub { display: inline; margin-left: 6px; font-size: 12px; }
  .tbl td.rank { display: inline; margin-right: 8px; padding: 0; font-size: 16px; font-weight: 700; }
  .tbl td.rank::before { content: none; }
  .tbl td.blank { display: none; }
  .tbl td.lead { display: block; padding: 0 0 2px; font-size: 12px; color: var(--ink-3); }
  .tbl td.lead::before { content: none; }
  .scopes--states { display: none; }
  details.states-more { margin-top: 8px; }
  details.states-more summary { cursor: pointer; font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
  details.states-more[open] .scopes--states { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .scopes--states .chip--sm { text-align: center; padding: 4px 0; }
  .tbl tr:hover td { background: transparent; }
  .tbl td.optional, .tbl th.optional { display: none; }
  .tbl td.dq { display: inline-block; }
  .stagegrid td.s { display: inline-block; width: auto; margin-right: 10px; }
  .toolbar input, .toolbar select { min-width: 0; width: 100%; }
  .toolbar .count { margin-left: 0; }
}

/* small logo variants keep their size at every width */
.logo.logo--sm { width: 44px; height: 44px; padding: 3px; }
.logo.logo--xs { width: 28px; height: 28px; padding: 2px; }

/* compact tables: columns hug their content, no slack between them (after .tbl so these win) */
.tbl.tbl--compact { width: auto; min-width: 60%; table-layout: auto; }
.tbl.tbl--compact th, .tbl.tbl--compact td { padding-right: 26px; white-space: nowrap; overflow: visible; text-overflow: clip; }
.tbl.tbl--compact td.mono { font-size: 12.5px; color: var(--ink-2); }
.pager.pager--top { justify-content: space-between; margin: 8px 0 10px; }
.pager__range { color: var(--ink-3); } .pager__range b { color: var(--ink); }
.pager__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.chip--toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: var(--wash); border-color: var(--rule-strong); }
.chip--toggle .caret { font-size: 10px; }
details[open] > .chip--toggle { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .tbl.tbl--compact { width: 100%; } .tbl.tbl--compact td { white-space: normal; } .pager.pager--top { justify-content: flex-start; } }

/* career chart */
.career { margin-top: 36px; }
.career h2 { margin-bottom: 8px; }
.career__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.career__legend { display: flex; flex-wrap: wrap; gap: 6px; }
.career__legend .chip { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.career__legend .chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; }
.career__legend .chip.off { opacity: .35; }
.career__hint { font-size: 12px; color: var(--ink-3); }
.career__wrap { position: relative; }
.career svg { display: block; width: 100%; height: auto; font-family: var(--display); overflow: visible; }
.career .grid line { stroke: var(--rule); stroke-width: 1; }
.career .grid text, .career .axis text { fill: var(--ink-3); font-size: 11px; letter-spacing: .04em; }
.career .trend { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.career .pt { stroke: #fff; stroke-width: 1; cursor: pointer; transition: r .12s; }
.career .pt.dim { opacity: .12; }
.career .pt.hot { stroke: var(--ink); stroke-width: 2; }
.career .cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.career .win { fill: var(--gold); }
.career__tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); padding: 8px 10px; font-size: 12px; line-height: 1.4; min-width: 180px; max-width: 260px; z-index: 5; transform: translate(-50%, calc(-100% - 14px)); }
.career__tip b { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.career__tip .big { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.1; margin: 2px 0; }
.career__tip .big small { font-size: 12px; font-weight: 600; color: #bbb; margin-left: 4px; }
.career__tip .m { color: #bbb; }
.career__tip[hidden] { display: none; }
.career__tip.flip { transform: translate(-50%, 16px); }
@media (max-width: 760px) { .career__tip { min-width: 150px; font-size: 11px; } .career__hint { display: none; } }
