@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #edf1f6;
  --table-surface: #f7f9fc;
  --table-heading: #e3eaf4;
  --navy: #102240;
  --ink: #162d50;
  --quiet: #4d5f7a;
  --rule: #cbd6e4;
  --soft-blue: #e8eef7;
  --gold: #efc86c;
  --gold-soft: #f8ebc9;
  --gold-ink: #765318;
  --accent: #b58233;
  --focus-ring: #956414;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --content: 78rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1220;
  --surface: #1e2d42;
  --table-surface: #142034;
  --table-heading: #28384f;
  --navy: #020617;
  --ink: #e5e7eb;
  --quiet: #94a3b8;
  --rule: #40536b;
  --soft-blue: #1f2937;
  --gold: #fde047;
  --gold-soft: #ffe17e;
  --gold-ink: var(--gold-soft);
  --gold-border: #e0bd16;
  --accent: var(--gold);
  --focus-ring: var(--gold);
}

.theme-toggle {
  flex: none;
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: transparent;
}
.theme-toggle::before, .theme-toggle::after { content: ""; grid-area: 1 / 1; }
.theme-toggle::before {
  width: 2.125rem;
  height: 1.125rem;
  border: 1px solid #9aa9bf;
  border-radius: .35rem;
  background: #273b5e;
}
.theme-toggle::after {
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: #f5f7fb;
  transform: translateX(-.5rem);
}
.theme-toggle:hover::before { border-color: var(--gold); }
.theme-toggle[aria-checked="true"]::before { background: var(--gold); border-color: var(--gold); }
.theme-toggle[aria-checked="true"]::after { background: var(--navy); transform: translateX(.5rem); }

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; font-family: var(--body); color: var(--ink); background: var(--paper); }
main { flex: 1; }
main:focus { outline: none; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
.shell { max-width: var(--content); width: calc(100% - 6rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
.fallback { padding-block: 4rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { color: #f5f7fb; background: var(--navy); border-bottom: 1px solid #546380; }
.development-banner { margin: 0; padding: .3rem 1rem; color: #102240; background: #f6cf50; font-size: .85rem; font-weight: 700; text-align: center; }
.header-inner { min-height: 4.65rem; display: flex; gap: clamp(.85rem, 1.7vw, 1.65rem); align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; flex: none; font-family: var(--display); font-size: 1.5rem; line-height: .88; }
.wordmark-logo { display: block; width: 2.7rem; height: auto; }
.site-footer .wordmark-logo { width: 2.45rem; }
.wordmark-secondary { display: block; }
.target-mark { position: relative; width: 2.2rem; aspect-ratio: 1; border: 2px solid currentColor; border-radius: 100%; display: inline-grid; place-items: center; }
.target-mark::before { content: ""; width: 68%; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius: 100%; }
.target-mark::after { content: ""; position: absolute; width: .45rem; aspect-ratio: 1; background: var(--accent); border-radius: 100%; }
.site-header .target-mark { color: var(--gold); }
.site-header .target-mark::after { background: var(--gold); }
.main-nav { display: flex; gap: clamp(.75rem, 1.55vw, 1.65rem); align-self: stretch; align-items: stretch; }
.main-nav a, .search-link, .report-menu > summary { display: inline-flex; align-items: center; text-decoration: none; font-size: .91rem; font-weight: 650; }
.main-nav a, .report-menu > summary { border-block: 3px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--gold); color: var(--gold); }
.report-menu { position: relative; }
.report-menu > summary { height: 100%; gap: .45rem; cursor: pointer; list-style: none; -webkit-tap-highlight-color: #ff9aa433; }
.report-menu > summary::-webkit-details-marker { display: none; }
.report-menu > summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.1rem) rotate(45deg); }
.report-menu > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.report-menu[open] > summary, .report-menu:has(a[aria-current]) > summary { border-bottom-color: #ff9aa4; }
.report-menu[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.report-options { position: absolute; z-index: 2; top: 100%; left: 0; min-width: 12rem; padding: .3rem; margin: 0; list-style: none; background: #101e34; border: 1px solid #546380; border-radius: .35rem; box-shadow: 0 .4rem 1rem #02061766; }
.report-options a { display: flex; min-height: 2.75rem; padding: .46rem .65rem; border: 0; border-radius: .25rem; }
.report-options a:hover, .report-options a[aria-current] { background: #273b5e; }
.search-link, .menu-toggle { border: 1px solid #ad925d; color: #f8dc97; border-radius: .35rem; }
.search-link { gap: .65rem; padding: .62rem .9rem; white-space: nowrap; }
.search-link:hover, .search-link[aria-current], .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: #273b5e; }
.search-icon { display: inline-block; width: .81rem; height: .81rem; border: 1.5px solid currentColor; border-radius: 100%; position: relative; flex: none; margin: 0 .15rem .12rem 0; }
.search-icon::after { content: ""; position: absolute; width: .39rem; right: -.3rem; bottom: -.14rem; height: 1.5px; transform: rotate(48deg); background: currentColor; }
.header-actions { display: flex; align-items: center; gap: .5rem; justify-self: end; }
.facebook-footer-link { display: inline-flex; align-items: center; text-decoration: none; margin-left: .5rem; vertical-align: middle; }
.facebook-footer-link svg { width: 1.6rem; height: 1.6rem; display: block; }
.facebook-footer-link:hover svg { filter: brightness(1.1); }
.sport-bar { color: #f5f7fb; background: #101c32; border-bottom: 1px solid #354866; }
.sport-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-block: .45rem; }
.sport-bar-label { margin-inline-end: .25rem; color: #9fb0c9; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sport-button { padding: .28rem .7rem; border: 1px solid #4a5f80; border-radius: 999px; background: transparent; color: #dbe4f2; font-size: .78rem; font-weight: 700; cursor: pointer; }
.sport-button:hover { border-color: var(--gold); color: var(--gold); }
.sport-button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: #102240; }
.sport-bar-note { margin-inline-start: auto; color: #9fb0c9; font-size: .76rem; }
.association-icons { display: flex; align-items: center; gap: .3rem; padding-inline-start: .45rem; border-inline-start: 1px solid #354866; }
.association-icon { display: grid; place-items: center; flex: none; width: 1.85rem; height: 1.85rem; padding: .16rem; border: 1px solid #d8e0ed; border-radius: .3rem; background: #f8fafc; }
.association-icon img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.association-icon:hover { border-color: var(--gold); box-shadow: 0 .15rem .5rem #07152c55; }
.association-icon--dark { background: #102240; border-color: #8fa2c1; }
html[data-theme="dark"] .sport-bar { background: #0b1426; }
@media (max-width: 60rem) {
  .association-icons {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}
@media (max-width: 42rem) {
  .sport-bar-inner { justify-content: center; }
  .sport-bar-label { flex-basis: 100%; margin-inline-end: 0; text-align: center; }
  .sport-bar-note { flex-basis: 100%; margin-inline-start: 0; }
  .association-icons {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: clamp(.25rem, 1.25vw, .5rem);
  }
  .association-icon { width: 100%; height: auto; aspect-ratio: 1; }
}

@media (max-width: 23rem) {
  .header-actions .search-link { width: 2.75rem; padding: 0; justify-content: center; }
  .header-actions .search-link > span:last-child { display: none; }
}
.dev-login-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.55rem; padding: .5rem .75rem; border: 1px solid #7f92b3; border-radius: .35rem; background: transparent; color: #f8dc97; font: 650 .88rem var(--body); white-space: nowrap; cursor: pointer; }
.dev-login-link:hover { background: #273b5e; }
.dev-login-link[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
.dev-login-icon { width: .72rem; height: .8rem; border: 1.5px solid currentColor; border-radius: .15rem; position: relative; flex: none; }
.dev-login-icon::after { content: ""; position: absolute; inset: .12rem .1rem auto; height: .12rem; border-radius: .1rem; background: currentColor; box-shadow: 0 .2rem 0 currentColor; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 1.15rem; height: 2px; border-radius: 1px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset: 0; }
.menu-icon::before { transform: translateY(-.32rem); }
.menu-icon::after { transform: translateY(.32rem); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

.hero {
  --hero-night: #080f1d;
  color: #f4f7fc;
  background: var(--hero-night);
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0 59%, transparent 100%);
}
.hero::before {
  background:
    radial-gradient(circle at 4% 22%, #eac36c92 0 .65px, transparent 1.35px),
    radial-gradient(circle at 6% 16%, #dfac579f 0 .6px, transparent 1.45px),
    radial-gradient(circle at 8% 19%, #ecc785bd 0 .65px, transparent 1.5px),
    radial-gradient(circle at 9% 12%, #fed689c9 0 .8px, #d09c4c4a 1.45px, transparent 2.4px),
    radial-gradient(circle at 12% 10%, #edc47d98 0 .55px, transparent 1.3px),
    radial-gradient(circle at 15% 7%, #ffd88bd1 0 .7px, #deb26a3d 1.65px, transparent 2.5px),
    radial-gradient(circle at 18% 4%, #d5a05485 0 .55px, transparent 1.35px),
    radial-gradient(circle at 22% 8%, #e6bb6f89 0 .7px, transparent 1.45px),
    radial-gradient(circle at 40% 94%, #e4b76291 0 .6px, transparent 1.55px),
    radial-gradient(circle at 44% 96%, #efd7978a 0 .55px, transparent 1.35px),
    radial-gradient(circle at 47% 91%, #ffd889cf 0 .8px, #dfa64e50 1.9px, transparent 2.65px),
    radial-gradient(circle at 51% 88%, #edbc709a 0 .65px, transparent 1.45px),
    radial-gradient(circle at 55% 92%, #dbb875b5 0 .6px, transparent 1.45px),
    radial-gradient(circle at 60% 86%, #edc980ae 0 .6px, transparent 1.35px),
    repeating-linear-gradient(132deg, #a7bfe506 0 1px, transparent 1px 3px),
    repeating-linear-gradient(42deg, #0308151a 0 1px, transparent 1px 4px),
    linear-gradient(132deg,
      transparent 6%, #d6b47819 13%, #7492bf43 16%, transparent 24% 41%,
      #456a9e29 47%, #9eb6da37 51%, transparent 59% 67%,
      #355c9c36 74%, #d7b57b39 78%, #3555802e 81%, transparent 90%),
    radial-gradient(ellipse at 43% 45%, #13233c, #0b1528 55%, #050b15 100%);
}
.hero::after {
  background: linear-gradient(132deg, transparent 39%, #b4cafd15 46%, #f5d28e50 51%,
    #a2bde833 54%, transparent 62%) 100% 0 / 230% 100% no-repeat;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: hero-shimmer 19s ease-in-out infinite; }
}
@keyframes hero-shimmer {
  0% { background-position: 100% 0; opacity: 0; }
  12% { opacity: .67; }
  33%, 100% { background-position: 0 0; opacity: 0; }
}
.hero-visual { position: absolute; inset: 0 0 0 41%; margin: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 63%; filter: saturate(.76); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-night) 0%, #102240ba 18%, #10224026 54%), linear-gradient(0deg, #1022405a, transparent 45%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(2.65rem, 4.4vw, 4.9rem); display: grid; grid-template-columns: minmax(0, 1fr) min(60%, 44rem); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero-copy {
  --navy: var(--hero-night);
  --gold: #f8d35e;
  --gold-soft: #f7d589;
  --gold-border: var(--gold);
  color-scheme: dark;
  max-width: none;
}
.home-latest-result { width: min(100%, 44rem); margin: 0; justify-self: center; }
.hero h1 { font-size: clamp(4.75rem, 8.6vw, 7.85rem); line-height: .8; letter-spacing: -.022em; }
.hero-logo { line-height: 0; position: relative; isolation: isolate; width: min(100%, 26rem); }
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -20% -13%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 41% 18% at 46% 20%, #ffc57673, #e4a35930 52%, transparent 98%),
    radial-gradient(ellipse 44% 14% at 53% 84%, #e4ad5d59, transparent 98%);
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 .26rem #ffd17daa) drop-shadow(0 .25rem 1.2rem #d5924b80);
}
.hero h1 span { display: block; }
.hero h1 span:first-child { margin-bottom: .13em; }
.hero-description { color: #e1e9f6; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.57; max-width: 35ch; margin-block: 1.4rem 1.25rem; }
.hero-search { display: flex; gap: .55rem; max-width: 30rem; margin-bottom: .9rem; }
.hero-search label { flex: 1; min-width: 0; }
.hero-search input { color: #f4f7fc; display: block; min-height: 3rem; width: 100%; border: 1px solid #8b9db7; border-radius: .35rem; padding: .45rem .8rem; background: #1d2b40; }
.hero-search input::placeholder { color: #acbed4; }
.hero-search .button { min-height: 3rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid var(--navy); border-radius: .35rem; min-height: 2.85rem; padding: .65rem .95rem; text-decoration: none; font-weight: 700; font-size: .9rem; background: var(--navy); color: var(--paper); }
.button:hover { background: #294367; }
.button-light { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button-light:hover { background: #f7d589; }
.button-outline { background: transparent; color: var(--navy); border-color: #9daec8; }
.button-outline:hover { background: var(--soft-blue); }
.hero-copy .hero-actions .button-outline { color: #f5d479; border-color: #c69c44; }
.hero-copy .hero-actions .button-outline:hover { color: #f5d479; background: #253650; }
.site-header :focus-visible, .hero :focus-visible, .shooter-hero :focus-visible { outline-color: var(--gold); }
.arrow { font-family: system-ui, sans-serif; font-weight: 400; }

.archive-stats { background: var(--gold-soft); border-block: 1px solid #ddc995; color: var(--navy); }
.archive-stats dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; }
.archive-stat { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: .85rem; min-height: 6.1rem; padding-inline: clamp(.9rem, 2vw, 2rem); }
.archive-stat:first-child { padding-left: 0; }
.archive-stat + .archive-stat { border-left: 1px solid #dac58f; }
.archive-stats dd { margin: 0; font-family: var(--display); font-size: clamp(2.75rem, 4vw, 3.8rem); line-height: .9; font-variant-numeric: tabular-nums; }
.archive-stats dt { font-size: .88rem; font-weight: 650; line-height: 1.25; max-width: 12ch; }

.home-content { padding-block: 2.9rem 4.8rem; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-head h2, .section-title { font-size: clamp(2.35rem, 4.5vw, 3.6rem); line-height: .98; }
.home-feed-note { margin: -.55rem 0 .8rem; }
.text-link { font-weight: 700; font-size: .9rem; }
.text-link:hover { color: var(--gold-ink); }
.champion-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.champion-column { min-width: 0; }
.champion-columns .section-head { align-items: baseline; margin-bottom: .8rem; container-type: inline-size; }
.champion-columns .section-head h2 { font-size: clamp(1.25rem, 8cqi, 2.35rem); }
@supports (grid-template-rows: subgrid) {
  @media (width > 42rem) {
    .champion-columns { row-gap: 0; }
    .champion-column { display: grid; grid-template-rows: subgrid; grid-row: span calc(var(--champion-feed-limit) + 2); }
    .champion-column > .home-log { display: grid; grid-template-rows: subgrid; grid-row: span var(--champion-feed-limit); }
  }
  @media (42rem < width <= 55rem) {
    .champion-column:nth-child(n+3) { margin-block-start: 1.6rem; }
  }
}
.home-feed-section { margin-top: 2.8rem; }
.home-log { border-top: 1px solid var(--rule); }
.home-log-row { min-height: 4.1rem; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; border-bottom: 1px solid var(--rule); padding-block: .65rem; }
.home-log-year { color: var(--quiet); font-weight: 700; font-variant-numeric: tabular-nums; }
.home-log-date { display: grid; gap: .12rem; line-height: 1; }
.home-log-date span + span { font-size: .76rem; font-weight: 600; }
.home-log-person { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); gap: .55rem; align-items: center; min-width: 0; }
.home-feed-section .home-log-person:not(:has(.portrait)) { grid-template-columns: minmax(0, 1fr); }
.champion-column .home-log-person { align-items: start; align-self: start; }
.home-log-detail { min-width: 0; }
.champion-column .home-log-detail { grid-column: 2; }
.home-log-name { margin: 0; min-width: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1; font-weight: 700; white-space: nowrap; }
.champion-column .home-log-name { white-space: normal; overflow-wrap: anywhere; }
.home-log-name .shooter-flag { width: 1.25rem; height: .9375rem; margin-inline-end: .38rem; }
.home-log-name a { text-decoration-color: transparent; text-decoration-thickness: 1px; }
.home-log-name a:hover { text-decoration-color: currentColor; }
.home-log-person .portrait { width: 3.8rem; flex: none; }
.home-log-competition { display: block; margin-top: .25rem; color: var(--navy); font-size: .86rem; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.home-log-competition a { text-decoration-color: transparent; text-decoration-thickness: 1px; }
.home-log-competition a:hover { text-decoration-color: currentColor; }
html[data-theme="dark"] .home-log-competition { color: var(--gold); }
.home-log-score { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.meta { color: var(--quiet); font-size: .83rem; line-height: 1.45; }
.regional-callout { margin-top: 2.6rem; background: var(--soft-blue); border: 1px solid var(--rule); border-left: 4px solid var(--accent); padding: 1.35rem 1.55rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.regional-callout h2 { font-size: 2.2rem; line-height: 1; }
.regional-callout p { margin-top: .35rem; color: var(--quiet); }
.featured-shooters { margin-top: 2.9rem; }

.page-intro { background: var(--soft-blue); border-bottom: 1px solid var(--rule); padding-block: 2.45rem 2.7rem; }
.page-intro h1 { font-size: clamp(3.8rem, 8vw, 6.2rem); line-height: .93; letter-spacing: -.012em; max-width: 24ch; }
.page-intro p { color: var(--quiet); margin-top: .8rem; max-width: 66ch; font-size: 1rem; line-height: 1.55; }
.breadcrumbs { margin-bottom: .9rem; color: var(--quiet); font-size: .86rem; }
.breadcrumbs a { font-weight: 700; }
.page-body { padding-block: 1.7rem 4.5rem; }
.view-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.35rem; }
.view-switch :is(a, button) { font: 700 .9rem var(--body); text-decoration: none; border: 1px solid #a1b1c9; border-radius: .35rem; background: var(--surface); color: var(--ink); padding: .6rem .85rem; cursor: pointer; }
.view-switch :is(a, button):hover { background: var(--soft-blue); }
.view-switch a[aria-current], .view-switch button[aria-pressed="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.filter-panel { display: flex; flex-wrap: wrap; gap: .85rem; align-items: flex-end; padding: 1rem; border: 1px solid var(--rule); background: var(--surface); }
.field { flex: 1 1 8rem; min-width: 7rem; display: grid; gap: .32rem; font-size: .82rem; font-weight: 700; }
.field-search { flex: 2.5 1 13rem; }
.field input, .field select { min-height: 2.65rem; border-radius: .35rem; width: 100%; background: var(--paper); border: 1px solid #a6b5cb; padding: .45rem .62rem; font-size: .91rem; font-weight: 500; }
.filter-reset { min-height: 2.65rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .2em; padding: .25rem .55rem; font-size: .83rem; font-weight: 700; }
.filter-reset:hover { background: var(--soft-blue); }
.archive-caption { margin-block: 0 1rem; color: var(--quiet); font-size: .92rem; line-height: 1.5; }
.results-status { margin: 1.15rem 0 .55rem; color: var(--quiet); font-size: .88rem; font-weight: 600; }
.table-frame { overflow-x: auto; border: 1px solid var(--rule); border-radius: .35rem; background: var(--table-surface); }
.table-frame:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.archive-table { width: 100%; border-collapse: collapse; text-align: left; }
.archive-table th { font-size: .83rem; color: var(--quiet); font-weight: 700; background: var(--table-heading); white-space: nowrap; }
.archive-table th, .archive-table td { padding: .67rem .85rem; vertical-align: top; }
.archive-table td { border-top: 1px solid var(--rule); font-size: .91rem; line-height: 1.4; min-width: 6rem; }
.archive-table td:first-child { width: 14%; }
.archive-table td:last-child { white-space: nowrap; }
.archive-table td[data-label="Evidence"] { white-space: normal; overflow-wrap: anywhere; }
.archive-table td[data-label="Shooter"] { white-space: nowrap; }
.archive-table td[data-label="Shooter"] .subline { white-space: normal; }
.archive-table .primary { font-weight: 700; }
.name-inline { white-space: nowrap; }
.archive-table .score { display: inline-block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; white-space: nowrap; line-height: 1; }
.archive-table a { text-decoration-color: #899bb8; }
.archive-table a:hover { text-decoration-color: currentColor; }
.archive-table .share-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.archive-table .share-link .social-icon { width: 1.05rem; height: 1.05rem; color: #1877f2; }
.subline { display: block; margin-top: .23rem; }
.score-straight { color: var(--navy); background: var(--gold-soft); border: 1px solid #ead5a0; border-radius: .3rem; padding: .25rem .45rem; }
.empty { border: 1px solid var(--rule); background: var(--surface); padding: 1.3rem; margin-top: .5rem; }
.pager { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.pager button:disabled { opacity: .5; cursor: default; }
.pager span { color: var(--quiet); font-size: .88rem; }

.profile-section + .profile-section { margin-top: 2.4rem; }
.profile-section h2 { margin-bottom: .65rem; }
.profile-section .archive-caption { margin-bottom: .6rem; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.source-card { border: 1px solid var(--rule); border-top: 3px solid var(--accent); background: var(--surface); padding: 1.15rem; }
.source-card h2 { font-size: 1.9rem; line-height: 1.05; }
.source-card p { line-height: 1.5; margin-block: .5rem .7rem; font-size: .91rem; }
.source-card ul { margin-block: .6rem 0; padding-left: 1.2rem; font-size: .89rem; }
.source-card li + li { margin-top: .35rem; }
.coverage-note { max-width: 77ch; line-height: 1.55; margin-bottom: 1.2rem; }
.kent-coverage { margin-bottom: 1rem; }
.kent-coverage .coverage-note { margin-bottom: .45rem; }
.coverage-section { margin-block: 1.8rem 2.4rem; }
.coverage-section h2, .source-title { margin-bottom: .7rem; }
.coverage-section td:first-child { width: auto; }

.policy-page { max-width: 78ch; }
.policy-updated { color: var(--quiet); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.policy-intro { font-size: 1rem; line-height: 1.65; margin-bottom: .8rem; }
.policy-section { border-top: 1px solid var(--rule); padding-block: 1.35rem; }
.policy-section h2 { font-size: 2rem; line-height: 1.05; margin-bottom: .6rem; }
.policy-section p, .policy-section li { line-height: 1.65; }
.policy-section ul { padding-left: 1.25rem; }
.policy-section p + p, .policy-section p + ul, .policy-section ul + p { margin-top: .7rem; }
.policy-section li + li { margin-top: .28rem; }

.portrait { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; aspect-ratio: 1; color: #ffda89; background: #253c61; border-radius: .45rem; }
.portrait::before, .portrait::after { content: ""; position: absolute; z-index: -1; aspect-ratio: 1; width: 82%; border: 1px solid #e6c17b6b; border-radius: 50%; }
.portrait::after { width: 66%; }
.portrait-initials { font-family: var(--display); font-size: 2rem; letter-spacing: .045em; line-height: 1; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; color: transparent; }
.portrait:has(img[data-portrait]) .portrait-initials { display: none; }
.shooter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; transition: opacity .5s ease; }
.shooter-grid[data-fade="out"] { opacity: 0; transition-duration: .22s; }
.shooter-grid:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .shooter-grid { transition: none; } }
.shooter-card { min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: .45rem; }
.shooter-card:hover { border-color: #a98749; }
.shooter-card-link { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); align-items: center; gap: .7rem; min-height: 100%; padding: .7rem; text-decoration: none; }
.shooter-card-info { display: grid; gap: .13rem; overflow-wrap: anywhere; }
.shooter-card-name { font-family: var(--display); font-size: 1.35rem; line-height: 1; font-weight: 700; }
.shooter-card-link:hover .shooter-card-name { text-decoration: underline; }
.shooter-card-counts { font-size: .77rem; line-height: 1.35; color: var(--quiet); }

.shooter-hero { padding-block: 1.4rem 2.25rem; color: var(--paper); background: linear-gradient(105deg, #102240, #183760); border-bottom: 3px solid var(--accent); }
.shooter-hero .breadcrumbs, .shooter-hero .meta { color: #dbe6f7; }
.shooter-hero-grid { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.7rem); align-items: center; }
.shooter-photo { margin: 0; }
.shooter-photo .portrait { padding-block-end: 2.75rem; border: 1px solid #e9ba66; box-shadow: 0 0 0 4px #223a5d; }
.shooter-photo .portrait:has(img[data-portrait]) { aspect-ratio: auto; }
.shooter-photo .portrait img { position: static; width: auto; height: auto; max-width: 100%; max-height: min(24rem, 60vh); }
.shooter-photo .portrait-initials { font-size: clamp(3.7rem, 8vw, 6.2rem); }
.portrait-action {
  position: absolute;
  inset-inline-end: .35rem;
  inset-block-end: .35rem;
  min-width: 3rem;
  min-height: 2rem;
  padding: .2rem .55rem;
  border: 1px solid #c69849;
  border-radius: .25rem;
  background: #102240;
  color: #ffe17e;
  font: 700 .78rem var(--body);
  cursor: pointer;
}
.portrait-action:hover { background: #294367; }
.portrait-action:focus-visible { outline-offset: 2px; }
.shooter-photo figcaption { color: #d9e3f0; font-size: .72rem; line-height: 1.5; margin-top: .5rem; }
.shooter-photo figcaption a { color: #f4d580; font-size: inherit; }

.share-page { padding-block: 1.2rem 2.5rem; }
.share-page h1 { font-size: 1.15rem; margin: 1rem auto .7rem; max-width: 42rem; }
.share-card {
  max-width: 42rem;
  margin-inline: auto;
  padding: 1.25rem 1.4rem;
  color: #fff;
  background: linear-gradient(120deg, #102240, #1d4370);
  border-left: .3rem solid var(--accent);
  border-radius: .55rem;
  box-shadow: 0 .6rem 1.6rem #1022402e;
}
.share-card-head { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: 1rem; }
.share-card-photo { width: 5.5rem; height: 5.5rem; border-radius: .45rem; border: 2px solid #e9ba66; background: #253c61; object-fit: contain; }
.share-card-initials { display: grid; place-items: center; font-family: var(--display); font-size: 2.1rem; color: #ffda89; }
.share-card-brand { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f4d580; }
.share-card-name { font-family: var(--display); font-size: 2rem; line-height: 1.05; margin-top: .18rem; }
.share-card-affiliation { margin-top: .3rem; font-size: .85rem; color: #dbe6f7; }
.share-card-result { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; color: #f4d580; margin-top: 1.1rem; }
.share-card-details { margin-top: .45rem; font-size: .95rem; color: #dbe6f7; }
.share-card-details span { color: #f4d580; padding-inline: .18rem; }
.share-card-counts { border-top: 1px solid #7f92b3; margin-top: 1rem; padding-top: .6rem; font-size: .85rem; color: #dbe6f7; }
.share-tools { max-width: 42rem; margin: 1rem auto 0; text-align: center; }
.share-post-text { font-weight: 700; margin-bottom: .8rem; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; align-items: center; }
.share-actions .button { display: inline-flex; align-items: center; gap: .45rem; }
.share-actions .social-icon { width: 1.2rem; height: 1.2rem; }
.profile-photos { display: flex; flex-wrap: wrap; gap: 1rem; }
.profile-photos figure { width: min(100%, 21rem); margin: 0; }
.profile-photos img { width: 100%; height: auto; border-radius: .35rem; }
.profile-photos figcaption { margin-top: .4rem; }
.shooter-subtitle, .shooter-alias { color: #dbe6f7; font-size: .97rem; line-height: 1.45; margin-top: .5rem; }
.shooter-alias { font-size: .8rem; }
.shooter-stats { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 3vw, 2rem); margin: 1.25rem 0 0; }
.shooter-stats div { display: flex; flex-direction: column-reverse; gap: .25rem; }
.shooter-stats div + div { border-left: 1px solid #637694; padding-left: clamp(.65rem, 3vw, 2rem); }
.shooter-stats dt { color: #e4ecf7; font-size: .78rem; line-height: 1.2; }
.shooter-stats dd { margin: 0; color: var(--gold); font-family: var(--display); font-size: 2.35rem; line-height: .9; }
.profile-details { padding: 1.2rem; background: var(--surface); border: 1px solid var(--rule); border-radius: .45rem; margin-bottom: 2.15rem; }
.profile-details .section-head { margin-bottom: .6rem; }
.profile-details .section-head h2 { font-size: 2.45rem; }
.profile-details-edit { min-height: 2.2rem; padding: .35rem .7rem; font-size: .8rem; }
.profile-inline-editor { display: grid; gap: .9rem; margin-top: .8rem; }
.profile-inline-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.profile-inline-fields .profile-editor-bio { grid-column: 1 / -1; }
.profile-inline-fields :is(input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .6rem .7rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.35 var(--body);
}
.profile-inline-fields :is(input, textarea)::placeholder { color: var(--quiet); opacity: 1; }
.profile-inline-fields textarea { resize: vertical; }
.profile-inline-fields textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.profile-inline-alert {
  margin-bottom: 0;
  padding: .55rem .7rem;
  border-inline-start: 3px solid currentColor;
  background: var(--paper);
  color: #a32f24;
  font-size: .88rem;
  line-height: 1.45;
}
html[data-theme="dark"] .profile-inline-alert { color: #ffb2a7; }
.profile-inline-alert:empty { margin: 0; padding: 0; border: 0; }
.profile-inline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
:is(.profile-inline-social, .profile-inline-sponsors, .profile-editor-social, .profile-editor-sponsors, .profile-inline-shotgun, .profile-editor-shotgun, .profile-extra-fields) { min-width: 0; margin: 0; padding: .8rem 0 0; border: 0; border-top: 1px solid var(--rule); }
:is(.profile-inline-social, .profile-inline-sponsors, .profile-editor-social, .profile-editor-sponsors, .profile-inline-shotgun, .profile-editor-shotgun, .profile-extra-fields) legend { padding: 0 .3rem 0 0; font-size: 1.05rem; font-weight: 700; }
.profile-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .8rem; }
.profile-shotgun-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem .8rem; }
:is(.profile-shotgun-grid, .profile-extra-grid) label { display: grid; align-content: start; gap: .25rem; min-width: 0; font-size: .85rem; font-weight: 700; }
:is(.profile-shotgun-grid, .profile-extra-grid) :is(input[type="text"], select) { width: 100%; min-width: 0; min-height: 2.4rem; padding: .45rem .6rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); color: var(--ink); font: 400 .9rem/1.35 var(--body); }
.profile-extra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .55rem .8rem; }
.profile-extra-grid label[hidden] { display: none; }
.profile-extra-fields > .meta { margin-bottom: .5rem; }
.profile-shotgun-grid .profile-shotgun-custom { display: flex; align-items: center; align-self: end; gap: .4rem; min-height: 2.4rem; }
.profile-shotgun-grid .profile-shotgun-wide { grid-column: 1 / -1; }
.profile-shotgun-grid input[type="checkbox"] { margin: 0; accent-color: var(--accent); }
.profile-shotgun-editor .meta:first-of-type { min-height: 1.2em; margin: .35rem 0 0; }
.profile-social-row { display: grid; grid-template-columns: minmax(7rem, auto) minmax(0, 1fr); align-items: center; gap: .5rem; min-width: 0; }
.profile-social-row label { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.profile-social-row input[type="checkbox"] { margin: 0; accent-color: var(--accent); }
.profile-social-row input[type="text"], .profile-sponsor-row :is(input[type="text"], input[type="url"]) {
  width: 100%;
  min-width: 0;
  min-height: 2.4rem;
  padding: .45rem .6rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: 400 .9rem/1.35 var(--body);
}
.profile-sponsor-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .65rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--surface); }
.profile-sponsor-row > .profile-editor-field { font-size: .85rem; }
.profile-sponsor-row > button:last-child { justify-self: start; }
.profile-sponsor-logo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; grid-column: 1 / -1; min-width: 0; }
.profile-sponsor-upload { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; }
.profile-sponsor-upload input { max-width: 16rem; padding: .25rem .35rem; }
.profile-sponsor-logo .meta { flex: 1 1 10rem; margin: 0; }
.profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 0; }
.profile-facts > div { padding: .7rem 0; border-top: 1px solid var(--rule); }
.profile-facts dt { font-size: .82rem; font-weight: 700; color: var(--quiet); margin-bottom: .3rem; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; }
.profile-fact-value { display: block; font-weight: 700; line-height: 1.45; }
.profile-affiliation dt { font-size: 1.64rem; line-height: 1.15; }
.profile-affiliation .profile-fact-value { font-size: 2rem; line-height: 1.15; overflow-wrap: anywhere; }
.profile-affiliation .shooter-flag { width: 1.25em; height: .9375em; margin-inline-end: .38em; }
.profile-affiliation .county-flag { width: 1.5em; height: 1em; margin-inline-end: .35em; }
.profile-fact-source { display: block; margin: .17rem 0 .5rem; }
.profile-fact-source a { font-size: .8rem; }
.profile-notes { border-top: 1px solid var(--rule); margin-top: .3rem; padding-top: .75rem; max-width: 78ch; }
.profile-notes p { font-size: .91rem; line-height: 1.5; }
.profile-notes p + p { margin-top: .5rem; }
.profile-bio { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-sponsor-social { border-top: 1px solid var(--rule); margin-top: .75rem; padding-top: .75rem; }
.profile-sponsor-social h3 { font-size: 1.8rem; line-height: 1; margin-bottom: .65rem; }
.profile-sponsors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .7rem; }
.profile-sponsor { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .55rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.profile-sponsor img { flex: none; width: 6.8rem; height: 6.8rem; object-fit: contain; background: var(--navy); border-radius: .2rem; }
.profile-sponsor div { display: grid; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.profile-sponsor a { font-size: .8rem; line-height: 1.35; }
.profile-social-links { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: .7rem; }
.profile-social-links a { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; }
.profile-social-links .social-icon { flex: none; width: 1em; height: 1em; }
.profile-save-status:not(:empty) { display: block; margin-block-start: .65rem; }
.profile-photo-viewer { max-width: 38rem; padding: .8rem 1rem; margin-bottom: 2rem; background: var(--surface); border: 1px solid var(--rule); border-radius: .45rem; }
.profile-photo-viewer summary { font-weight: 700; cursor: pointer; }
.profile-photo-viewer summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.profile-photo-embed iframe { display: block; width: 100%; aspect-ratio: 594 / 395; border: 0; margin-block: .75rem .45rem; }

.place-label { display: inline-block; min-width: 2.3rem; padding: .16rem .42rem; background: var(--soft-blue); border: 1px solid var(--rule); border-radius: .25rem; color: var(--ink); font-size: .83rem; font-weight: 700; text-align: center; }
.place-label[data-place="1"] { color: var(--gold-ink); border-color: #d4ad51; background: var(--gold-soft); }
.place-label[data-place="2"] { color: #26364d; border-color: #8a9ab0; background: #e4e9f1; }
.place-label[data-place="3"] { color: #6a371e; border-color: #b77750; background: #f1ddcd; }
.medal-icon { width: 1.05rem; height: 1.05rem; flex: none; margin-inline-start: .35rem; color: #6f829b; vertical-align: -.18rem; }
.medal-icon[data-place="1"] { color: #b88720; }
.medal-icon[data-place="2"] { color: #6f829b; }
.medal-icon[data-place="3"] { color: #a05935; }
.medal-icon text { font-family: var(--body); }
.shooter-flag { display: inline-block; width: 1.25rem; height: .9375rem; margin-inline-end: .38rem; vertical-align: -.13em; object-fit: contain; border: 1px solid #9aa9bf; border-radius: .12rem; }
.county-flag { display: inline-block; width: 1.5rem; height: 1rem; margin-inline-end: .35rem; vertical-align: -.14em; object-fit: contain; border: 1px solid #9aa9bf; border-radius: .12rem; }
.championship-winner h3 .county-flag { width: 1.85rem; height: 1.24rem; margin-inline-end: .55rem; }
.shooter-profile-name { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; font: 700 clamp(3.5rem, 8.2vw, 6.15rem)/.9 var(--display); letter-spacing: -.018em; }
.shooter-profile-name h1 { min-width: 0; font: inherit; overflow-wrap: anywhere; }
.shooter-profile-name .shooter-flag { flex: none; width: auto; height: .7em; height: 1cap; margin-inline-end: .15em; }
.event-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 2.25rem); margin-bottom: 2.1rem; }
.event-main { display: grid; gap: 1rem; min-width: 0; }
.event-info { min-width: 0; border: 1px solid var(--rule); border-radius: .45rem; background: var(--surface); padding: 1.1rem; }
.event-info h2 { margin-bottom: .7rem; font-size: 2.15rem; line-height: 1; }
.event-winners { border-top: 3px solid var(--accent); }
.championship-winner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-block: .75rem; border-top: 1px solid var(--rule); }
.championship-winner .portrait { width: clamp(3.5rem, 8vw, 5.2rem); }
.championship-winner .portrait-initials { font-size: 2.3rem; }
.championship-winner h3 { font-size: clamp(1.65rem, 4vw, 2.55rem); line-height: 1; margin-block: .15rem .23rem; }
.championship-winner h3 a { text-decoration-color: #a28c66; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.winner-score { text-align: right; font-family: var(--display); font-size: 2.15rem; line-height: 1; }
.winner-score .meta { font-family: var(--body); }
.winner-award { font-weight: 700; color: var(--gold-ink); }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 0; }
.event-facts dt { color: var(--quiet); font-size: .82rem; font-weight: 700; margin-bottom: .3rem; }
.event-facts dd { margin: 0; overflow-wrap: anywhere; }
.weather-report { margin-block: 1rem .65rem; }
.weather-report h3 { font-size: 1.4rem; }
.weather-report p { margin-top: .28rem; font-size: .9rem; line-height: 1.5; }
.event-facts + .meta, .weather-details { margin-top: .85rem; }
.weather-details summary, .more-trophies summary, .selection-scores summary { cursor: pointer; font-weight: 700; }
.weather-details .table-frame { margin-block: .6rem .4rem; }
.weather-details th, .weather-details td { padding-inline: .4rem; font-size: .84rem; }
.event-trophy { margin: 0 0 .75rem; }
.event-trophy img { width: 100%; max-height: 26rem; object-fit: contain; background: var(--soft-blue); border: 1px solid var(--rule); border-radius: .4rem; }
.event-trophy figcaption { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; margin-top: .55rem; }
.event-trophy figcaption .meta { flex-basis: 100%; }
.more-trophies figure { margin-top: .8rem; }
.event-sources { margin-top: 2rem; }
.event-international-link { margin-bottom: 1.6rem; }

.season-archive { margin-top: clamp(2rem, 5vw, 3.5rem); }
.season-panel { min-width: 0; margin-bottom: .65rem; border: 1px solid var(--rule); border-left: 3px solid var(--gold); border-radius: .35rem; background: var(--surface); }
.season-panel:last-child { margin-bottom: 0; }
.season-panel > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem; padding: .9rem 1rem; cursor: pointer; list-style: none; }
.season-panel > summary::-webkit-details-marker { display: none; }
.season-panel > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.season-panel > summary::before { content: "+"; color: var(--gold-ink); font-weight: 700; }
.season-panel[open] > summary::before { content: "−"; }
.season-panel-title { font: 700 clamp(1.6rem, 3vw, 2.1rem)/1 var(--display); }
.season-panel-body { padding: .9rem 1rem 1.1rem; border-top: 1px solid var(--rule); }
.season-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.season-person { min-width: 0; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.season-person-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: center; padding: .7rem; text-decoration: none; }
.season-person-head .portrait { width: 3.4rem; }
.season-person-id { display: grid; gap: .16rem; min-width: 0; }
.season-person-id strong { font: 700 1.14rem/1.1 var(--display); overflow-wrap: anywhere; }
.season-person-body { padding: 0 .75rem .75rem; }
.season-person-group h4 { margin: .45rem 0 .25rem; color: var(--gold-ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.season-person-group ul { margin: 0; padding-left: 1.05rem; font-size: .88rem; }
.season-person-group li + li { margin-top: .22rem; }
@media (max-width: 55rem) { .season-grid { grid-template-columns: 1fr; } }

.championship-index { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.championship-picker + .championship-picker { margin-top: 1.6rem; }
.championship-index > .section-title,
.championship-picker h2,
.championship-search-heading { margin-bottom: .7rem; }
.championship-index-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; margin-bottom: .7rem; }
.championship-index-heading .section-title { margin-bottom: 0; }
.championship-areas { display: grid; gap: 1.45rem; }
.championship-area-heading { display: flex; align-items: center; gap: .45rem; margin-bottom: .65rem; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.championship-area-flags { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .18rem; }
.championship-area-flags img { width: 1.4rem; height: auto; }
.championship-cards { --championship-card-gap: .85rem; display: grid; gap: var(--championship-card-gap); }
.major-cards, .international-cards, .minor-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.championship-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 7.4rem;
  padding: .8rem .85rem;
  background: #101e34;
  color: #fff5dd;
  border: 1px solid #394e6c;
  border-left: 3px solid var(--gold);
  border-radius: .4rem;
  text-decoration: none;
}
.championship-card:hover, .championship-card:focus-visible { color: #fff5dd; border-color: var(--gold); }
.championship-card:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .17em; }
.championship-card-label { min-width: 0; }
.championship-card strong { display: block; font: 700 clamp(1.35rem, 2.15vw, 1.9rem)/1.04 var(--display); }
.championship-card-label > span { display: block; margin-top: .35rem; color: #d2def0; font-size: .83rem; }
.international-cards .championship-card { padding-inline: clamp(.7rem, 1.6vw, 1.1rem); }
.international-cards .championship-card strong { font-size: clamp(1.18rem, 2.1vw, 1.65rem); }
.championship-card-art {
  width: clamp(4.25rem, 7.2vw, 6rem);
  aspect-ratio: 1;
  border-radius: .28rem;
  background: #14223a url("assets/championship-trophies.webp") no-repeat;
  background-size: 300% 200%;
}
.international-cards .championship-card-art { width: clamp(4.5rem, 8vw, 6.5rem); }
.championship-card-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 60rem) {
  .major-cards, .international-cards, .minor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.major-cards, .international-cards, .minor-cards) .championship-card {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    justify-items: center;
    gap: .4rem;
    padding-inline: .75rem;
    text-align: center;
    overflow-wrap: anywhere;
  }
  :is(.major-cards, .international-cards, .minor-cards) .championship-card-art {
    grid-row: 1;
    width: min(100%, 5rem);
  }
  :is(.major-cards, .international-cards, .minor-cards) > .championship-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--championship-card-gap)) / 2);
  }
}
.county-card-art, .area-card-art { background: none !important; display: grid; place-items: center; }
/* Championship cards (including county cards) have a dark base palette. */
html:not([data-theme="dark"]) .championship-card {
  background: var(--surface);
  border-color: var(--rule);
  color: var(--ink);
}
html:not([data-theme="dark"]) .championship-card:hover,
html:not([data-theme="dark"]) .championship-card:focus-visible { color: var(--ink); }
html:not([data-theme="dark"]) .championship-card-label > span { color: var(--quiet); }
.shooter-profile-name .county-flag { width: 40px; height: 30px; }
.profile-honours { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; max-width: 100%; letter-spacing: normal; }
.profile-honour {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-height: 1.65rem;
  padding: .18rem .4rem;
  border: 1px solid rgba(240, 202, 120, .55);
  border-radius: .35rem;
  background: rgba(8, 22, 44, .55);
  color: #ffe1a3;
  font: 700 clamp(.68rem, 1.5vw, .82rem)/1 var(--body);
  white-space: nowrap;
}
.profile-honour .shooter-flag,
.shooter-profile-name .profile-honours .county-flag { flex: none; width: 1.35rem; height: 1rem; margin-inline-end: 0; border-color: rgba(255, 255, 255, .55); }
.shooter-profile-name .profile-honours .county-flag { width: 1.5rem; height: 1.05rem; }
.profile-honour-count { color: #fff0c2; font-family: var(--display); font-size: .95rem; letter-spacing: .02em; }
.profile-honour-streak { font-family: var(--display); letter-spacing: .02em; }
.profile-honour-label { font-family: var(--body); font-size: .92em; font-weight: 700; letter-spacing: .01em; }
.profile-honour-value { font-family: var(--display); font-size: 1.05rem; letter-spacing: .02em; }
.profile-honour-straight { border-color: rgba(240, 202, 120, .7); }
.profile-straight-honours { display: flex; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: inherit; min-width: 0; }
.profile-honour-pair { display: inline-flex; flex-wrap: wrap; gap: inherit; align-items: center; max-width: 100%; }
.profile-honour-first-straight { border-color: rgba(240, 202, 120, .9); background: rgba(120, 78, 20, .65); text-decoration: none; }
a.profile-honour-first-straight:is(:hover, :focus-visible) { background: #77511d; color: #fff0c2; }
.profile-honour-date { color: #fff0c2; font-size: .875rem; white-space: nowrap; }
.profile-honour-appearance { flex-wrap: wrap; gap: .35rem .5rem; max-width: 100%; padding-block: .3rem; line-height: 1.2; }
.profile-honour-team { display: inline-flex; align-items: center; gap: .3rem; }
.profile-honour-appearance .profile-honour-date { border-inline-start: 1px solid rgba(240, 202, 120, .4); padding-inline-start: .5rem; }
.profile-honour-club-straight { border-color: rgba(240, 202, 120, .9); background: rgba(120, 78, 20, .72); color: #fff3d2; }
.profile-honour-international-high-gun,
.profile-honour-british-open,
.profile-honour-national-open { border-color: rgba(253, 224, 71, .75); }
.profile-trophy,
.profile-badge-icon { flex: none; width: 1.05rem; height: 1.05rem; color: var(--gold); }
.profile-honour-manager { border-color: rgba(111, 184, 255, .75); background: rgba(22, 63, 104, .72); color: #dceeff; }
.profile-honour-captain { border-color: rgba(129, 220, 164, .75); background: rgba(24, 83, 58, .72); color: #defbe8; }
.profile-honour-hcit-score { border-color: currentColor; color: #fff; }
.profile-honour-hcit-25 { background: rgba(33, 118, 122, .78); color: #d3ffff; }
.profile-honour-hcit-50 { background: rgba(38, 91, 168, .78); color: #d9e8ff; }
.profile-honour-hcit-75 { background: rgba(104, 71, 168, .78); color: #eee1ff; }
.profile-honour-hcit-100 { background: rgba(168, 104, 33, .78); color: #ffe7c9; }
.profile-honour-hcit-125 { background: rgba(168, 46, 104, .78); color: #ffdbec; }
.profile-honour-hcit-150 { background: rgba(168, 49, 49, .78); color: #ffdede; }
.captain-marker { color: var(--gold-ink); font-weight: 700; }
[data-championship="british-open-esk"] .championship-card-art { background-position: left top; }
[data-championship="english-open-esk"] .championship-card-art { background-position: center top; }
[data-championship="english-open-skd"] .championship-card-art { background-position: right top; }
[data-championship="national-ic-esk"] .championship-card-art { background-position: left bottom; }
[data-championship="regional-team"] .championship-card-art { background-position: center bottom; }
[data-championship="regional-individual"] .championship-card-art { background-position: right bottom; }
[data-championship="international-minor"] .championship-card-art { background-position: center; background-size: cover; }
[data-international="high-gun"] .championship-card-art { background-image: url("assets/international-high-gun.webp"); background-position: center; background-size: contain; }
[data-international="overall"] .championship-card-art { background-position: left top; }
[data-international="senior"] .championship-card-art { background-position: center top; }
[data-international="junior"] .championship-card-art { background-position: right top; }
[data-international="ladies"] .championship-card-art { background-position: left bottom; }
[data-international="veteran"] .championship-card-art { background-position: center bottom; }
[data-international="super-veteran"] .championship-card-art { background-position: right bottom; }
.trophy-art-note { margin-top: .6rem; }

.championship-series-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1rem; }
.championship-summary { margin-bottom: 1rem; }
.championship-summary h2, .championship-records h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); line-height: 1; margin-bottom: .6rem; }
.championship-summary .table-frame { border-top: 2px solid var(--accent); }
.championship-summary-scroll .table-frame { max-height: min(55vh, 32rem); overflow-y: auto; }
.championship-summary-scroll th { position: sticky; top: 0; }
.championship-summary .archive-table td:first-child { width: 5rem; min-width: 0; }
.championship-summary .archive-table td:last-child { white-space: normal; }
.championship-summary-list { margin: 0; padding: 0; list-style: none; }
.championship-summary-list li + li { margin-top: .2rem; }
.team-roster { margin-top: .2rem; }
.team-roster summary { width: fit-content; color: var(--accent); cursor: pointer; font: 700 .78rem var(--body); }
.team-roster-list { columns: 2; column-gap: 1rem; margin: .3rem 0 0; padding-inline-start: 1.1rem; font-size: .8rem; }
.team-roster-list li { break-inside: avoid; }
.international-trophy-summary .trophy-editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: .85rem; margin-top: .7rem; }
.trophy-edition { min-width: 0; border: 1px solid var(--rule); border-top: 2px solid var(--accent); border-radius: .35rem; padding: .85rem .95rem; background: var(--surface); }
.trophy-edition-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .55rem; }
.trophy-edition-head .primary { font: 700 1.5rem/1 var(--display); }
.trophy-edition-format { color: var(--gold-ink); font: 700 .75rem var(--body); letter-spacing: .04em; text-transform: uppercase; }
.trophy-edition-head .meta { flex-basis: 100%; margin: 0; }
.trophy-edition-results { display: grid; gap: .45rem; margin: .75rem 0; }
.trophy-edition-results > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .5rem; align-items: start; }
.trophy-edition-results dt { color: var(--quiet); font: 700 .72rem var(--body); letter-spacing: .04em; text-transform: uppercase; }
.trophy-edition-results dd { margin: 0; }
.trophy-edition-results .championship-summary-list li + li { margin-top: .15rem; }
.trophy-edition-roster { border-top: 1px solid var(--rule); padding-top: .55rem; }
.trophy-edition-roster h4 { margin: 0; color: var(--quiet); font: 700 .72rem var(--body); letter-spacing: .04em; text-transform: uppercase; }
.trophy-edition-roster .team-roster { margin-top: .2rem; }
.trophy-edition-sources { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; border-top: 1px solid var(--rule); margin-top: .6rem; padding-top: .5rem; font-size: .8rem; }
.trophy-edition-sources .meta { margin: 0; }
.championship-records { margin-block: 1.15rem 1.35rem; }
.championship-group-editions .championship-records { margin-bottom: 0; }
.championship-record-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: start; gap: .8rem; margin-top: .65rem; }
.championship-record { min-width: 0; border: 1px solid var(--rule); border-top: 2px solid var(--accent); border-radius: .35rem; padding: .8rem .95rem; background: var(--surface); overflow-wrap: anywhere; }
.championship-record h3 { color: var(--quiet); font: 700 .88rem var(--body); }
.championship-record-count { margin-top: .25rem; color: var(--gold-ink); font: 700 clamp(1.9rem, 3.6vw, 2.45rem)/1 var(--display); }
.championship-record-count span { font: 700 .88rem var(--body); }
.championship-record-holders { margin: .3rem 0 0; padding: 0; list-style: none; }
.championship-record-holders li + li { margin-top: .35rem; }
.championship-record-years, .championship-record-more { font-size: .83rem; }
.championship-record-years { margin: .3rem 0 0; padding: 0; list-style: none; }
.championship-record-years li + li { margin-top: .2rem; }
.championship-record-coverage, .championship-record-more { margin-top: .4rem; }
.championship-record-more summary { width: fit-content; cursor: pointer; font-weight: 700; }
.championship-record-more summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.championship-record-more .table-frame { margin-top: .5rem; }
.championship-context { margin-bottom: 1.35rem; }
.championship-groups, .championship-group-editions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.championship-group > summary strong { font: 700 clamp(1.35rem, 3vw, 1.7rem)/1.1 var(--display); }
.championship-group-editions { padding: .8rem .95rem 1rem; border-top: 1px solid var(--rule); background: var(--paper); }
.championship-seasons { display: grid; gap: 1.5rem; }
.championship-season { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.championship-season h2 { font-size: clamp(1.9rem, 4.4vw, 2.75rem); line-height: 1; }
:is(.championship-group, .championship-edition) { min-width: 0; border: 1px solid var(--rule); border-radius: .35rem; background: var(--surface); }
.championship-group { border-left: 3px solid var(--accent); }
:is(.championship-group, .championship-edition) > summary { display: flex; align-items: center; gap: .75rem; padding: .82rem .95rem; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
:is(.championship-group, .championship-edition) > summary::-webkit-details-marker { display: none; }
:is(.championship-group, .championship-edition) > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
:is(.championship-group, .championship-edition) > summary::before { content: "+"; color: var(--gold-ink); font-weight: 700; }
:is(.championship-group, .championship-edition)[open] > summary::before { content: "−"; }
.championship-edition > summary strong { font-weight: 700; }
.championship-edition > summary > span:first-of-type { flex: 1; min-width: 0; }
.championship-edition-winner { flex: none; max-width: 35%; text-align: right; font-size: .85rem; color: var(--gold-ink); font-weight: 700; }
.championship-edition-body { padding: .8rem .95rem 1rem; border-top: 1px solid var(--rule); }
.championship-edition-link { margin-bottom: .75rem; }
.championship-placings + .championship-placings { margin-top: 1.25rem; }
.championship-placings h3 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1; margin-bottom: .55rem; }

.hcit-overall-winners { display: grid; gap: 1.1rem; }
.hcit-overall-winners:focus { outline: none; }
.hcit-winner-year { min-width: 0; padding: .9rem 1rem; border: 1px solid var(--rule); border-left: 3px solid var(--gold); border-radius: .35rem; background: var(--surface); }
.hcit-winner-year > h2 { font-size: clamp(1.85rem, 4vw, 2.35rem); line-height: 1; margin-bottom: .6rem; }
.hcit-winner-discipline { min-width: 0; margin-top: .9rem; }
.hcit-winner-discipline:first-of-type { margin-top: .2rem; }
.hcit-winner-discipline > h3 { margin-bottom: .45rem; color: var(--quiet); font-size: .86rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hcit-winner-entry { min-width: 0; padding: .65rem .75rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--table-surface); }
.hcit-winner-entry + .hcit-winner-entry { margin-top: .55rem; }
.hcit-winner-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
.hcit-winner-heading .score { font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.hcit-winner-team { min-width: 0; font-size: 1.1rem; font-weight: 700; overflow-wrap: anywhere; }
.hcit-winner-results { margin-left: auto; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.hcit-winner-results:hover { text-decoration: underline; }
.hcit-winner-entry > .subline { display: block; margin-top: .25rem; }
.hcit-winner-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1.25rem; margin: .65rem 0 0; padding: 0; list-style: none; font-size: .86rem; }
.hcit-winner-members li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .1rem .45rem; align-items: start; min-width: 0; padding: .18rem 0; border-top: 1px solid var(--rule); }
.hcit-member-rank { color: var(--quiet); font-size: .76rem; font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1.45; }
.hcit-member-detail { min-width: 0; white-space: nowrap; }
.hcit-member-score { display: block; margin-top: .1rem; }
.hcit-member-score .score { color: var(--quiet); font-family: var(--display); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.hcit-winner-source { margin-top: .5rem; font-size: .82rem; }
.hcit-links { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-bottom: 1.2rem; }
.hcit-jump { border: 0; background: none; color: inherit; padding: 0; font-family: inherit; cursor: pointer; }
.hcit-winners { margin-bottom: 1.6rem; }
.hcit-podiums td { vertical-align: top; }
.podium-team { display: block; font-weight: 700; }
.podium-team + .podium-team { margin-top: .55rem; }
.podium-team .score { font-size: 1.15rem; }
.hcit-awards { margin-bottom: .75rem; padding: .8rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--surface); }
.hcit-awards summary { cursor: pointer; font-weight: 700; }
.hcit-awards .table-frame { margin-top: .7rem; }
.hcit-squad-title { margin-top: 1.8rem; }
.national-squad-overview { margin-bottom: 1.6rem; }
.national-squad-overview .section-title { margin-bottom: .8rem; font-size: clamp(1.85rem, 3.4vw, 2.65rem); }
.international-selections { margin-bottom: 1.6rem; }
.international-selections > .section-title { margin-bottom: .8rem; font-size: clamp(1.85rem, 3.4vw, 2.65rem); }
.international-selections .international-list { display: grid; gap: .6rem; }
.national-squad-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.national-squad-card {
  display: block; min-width: 0; padding: .8rem .9rem; border: 1px solid var(--rule);
  border-block-start: 2px solid var(--gold); border-radius: .35rem; background: var(--surface); text-decoration: none;
}
.national-squad-card:hover { border-color: var(--accent); }
.national-squad-card:hover h3 { text-decoration: underline; }
.national-squad-card h3 { font-size: clamp(1.2rem, 3vw, 1.65rem); line-height: 1.05; }
.national-squad-card p { margin: .35rem 0 0; }
.squad-officials-row { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: -.35rem 0 .85rem; }
.squad-official { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .4rem; }
.squad-official b { color: var(--quiet); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.hcit-roster-officials { display: grid; gap: .25rem; }
.hcit-roster-officials .squad-official { align-items: center; margin: 0; }
.hcit-roster-officials .portrait { width: 2rem; flex: none; border-radius: .3rem; }
.hcit-roster-officials .portrait-initials { font-size: 1rem; }
.selection-country[open] { grid-column: 1 / -1; }
.selection-country > summary { display: grid; gap: .3rem; cursor: pointer; list-style: none; }
.selection-country > summary::-webkit-details-marker { display: none; }
.selection-country-name { font-size: clamp(1.2rem, 3vw, 1.65rem); font-weight: 700; line-height: 1.05; }
.selection-country .international-list { display: grid; gap: .6rem; margin-top: .85rem; }
.national-squad-match { margin: .8rem 0 0; }
@media (max-width: 54rem) {
  .national-squad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.international-list:focus { outline: none; }
.international-edition { margin-bottom: 1.55rem; padding: clamp(.9rem, 2.5vw, 1.45rem); border: 1px solid var(--rule); background: var(--surface); border-radius: .45rem; }
.competition-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.05rem; padding-bottom: .85rem; border-bottom: 1px solid var(--rule); }
.competition-summary h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.05; }
.competition-summary .meta { margin-top: .32rem; }
.competition-summary > div:last-child { flex: none; }
.nations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.nation-panel { min-width: 0; padding: .82rem; border: 1px solid var(--rule); background: var(--paper); border-radius: .35rem; }
.nation-panel:has(.team-squad[open]) { grid-column: 1 / -1; }
.nation-panel h3 { font-size: 1.7rem; line-height: 1; margin-bottom: .65rem; }
.team-squad { margin-top: .5rem; border: 1px solid var(--rule); border-radius: .3rem; background: var(--surface); }
.team-squad summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .6rem .7rem; cursor: pointer; font-size: .87rem; font-weight: 700; }
.team-squad summary::-webkit-details-marker { display: none; }
.team-squad summary::before { content: "+"; font-weight: 700; color: var(--gold-ink); }
.team-squad[open] summary::before { content: "−"; }
.team-squad summary > span:first-child { flex: 1; }
.team-squad-result { display: flex; align-items: center; gap: .42rem; }
.team-squad-result .score { font-family: var(--display); font-size: 1.25rem; }
.team-squad > p { padding: .6rem .75rem; margin: 0; }
.selection-rounds { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; margin: 0 0 .9rem; padding: 0; font-size: .84rem; color: var(--quiet); }
.selection-rounds strong { color: var(--ink); }
.selection-scores .table-frame { margin-top: .65rem; }
.score-category { margin-top: 1.1rem; }
.score-category h3 { color: var(--gold-ink); font-size: 1.5rem; line-height: 1.1; }

.grounds-map { margin-bottom: 1.9rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); background: var(--surface); }
.grounds-map .section-head { margin-bottom: .7rem; }
.grounds-map-frame { max-width: 47rem; margin-inline: auto; border: 1px solid var(--rule); border-radius: .35rem; background: #f8fafd; }
.grounds-map svg { display: block; width: 100%; height: auto; }
.grounds-map .land { fill: #dce6f2; stroke: #9caec6; stroke-width: 1.5; }
.grounds-map .land-uk { fill: #d2dfee; }
.grounds-map .map-names text { fill: #71839d; font: 700 14px var(--body); letter-spacing: .09em; text-transform: uppercase; }
.grounds-map .jersey-inset rect { fill: #fff; stroke: #b6c4d7; stroke-dasharray: 4 3; }
.grounds-map .guernsey-inset rect { fill: #fff; stroke: #b6c4d7; stroke-dasharray: 4 3; }
.grounds-map .guernsey-inset path { fill: #dce6f2; stroke: #9caec6; stroke-width: 1.2; }
.grounds-map .guernsey-inset text { fill: #71839d; font: 700 10px var(--body); text-anchor: middle; }
.grounds-map .jersey-inset path { fill: #dce6f2; stroke: #9caec6; stroke-width: 1.2; }
.grounds-map .jersey-inset text { fill: #71839d; font: 700 12px var(--body); text-anchor: middle; }
.ground-marker circle { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; transition: r .15s ease; }
.ground-marker[data-nation="england"] circle { fill: #c8102e; }
.ground-marker[data-nation="scotland"] circle { fill: #0065bd; }
.ground-marker[data-nation="wales"] circle { fill: #00a650; }
.ground-marker[data-nation="northern-ireland"] circle { fill: #3c8b56; }
.ground-marker[data-nation="ireland"] circle { fill: #169b62; }
.ground-marker[data-nation="jersey"] circle { fill: #e12735; }
.ground-marker[data-nation="guernsey"] circle { fill: #d3142f; }
.ground-marker[data-nation="isle-of-man"] circle { fill: #c8102e; }
.ground-marker.marker-approximate circle { r: 5.5; fill: #fff; stroke: #4d5f7a; stroke-width: 2.5; }
.ground-marker:hover circle, .ground-marker:focus-visible circle { r: 10; stroke: var(--navy); stroke-width: 3; }
.ground-marker:focus-visible { outline: none; }
.grounds-map-key { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem; margin-top: .85rem; color: var(--quiet); font-size: .83rem; }
.key-dot { display: inline-block; width: 12px; height: 12px; margin-right: .35rem; border: 2px solid #fff; border-radius: 50%; background: #c8102e; box-shadow: 0 0 0 1px #9caec6; vertical-align: -1px; }
.key-dot.marker-approximate { background: #fff; border-color: #4d5f7a; }
.grounds-map > .meta { margin: .7rem 0 0; font-size: .8rem; }
.ground-research-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1.1rem; }
.ground-research-summary > div { padding: .8rem .9rem; border: 1px solid var(--rule); background: var(--surface); }
.ground-research-summary strong { display: block; color: var(--accent); font: 700 1.6rem/1 var(--display); }
.ground-research-summary span { display: block; margin-top: .35rem; color: var(--quiet); font-size: .78rem; line-height: 1.35; }
.ground-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ground-card { padding: 1.1rem 1.2rem; border: 1px solid var(--rule); border-top: 3px solid var(--accent); background: var(--surface); scroll-margin-top: 8rem; }
.fixtures-link { white-space: nowrap; }
.fixture-card { border-top-color: var(--gold); }
.fixture-days { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .75rem; }
.fixture-day { display: inline-flex; align-items: center; min-height: 1.7rem; padding: .15rem .55rem; border: 1px solid var(--gold-border); border-radius: 999px; background: #fde04724; font-size: .78rem; font-weight: 700; }
.fixture-day[data-kind="competition"] { border-color: var(--accent); background: #148f7d24; }
.fixture-day[data-kind="practice"] { border-color: var(--gold-border); }
.fixture-unpublished { color: var(--muted); font-size: .84rem; font-style: italic; }
.meta-label { display: block; margin: .45rem 0 .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ground-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px #efc86c55; }
.ground-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.ground-card h3 { font: 700 1.5rem/1.1 var(--display); }
.ground-card h3 .shooter-flag { width: 22px; height: 16px; margin-right: .45rem; vertical-align: -1px; }
.ground-card > .meta { margin: .45rem 0 0; font-size: .84rem; }
.ground-status { flex: 0 0 auto; max-width: 44%; padding: .24rem .42rem; border: 1px solid var(--rule); border-radius: .25rem; color: var(--quiet); font-size: .73rem; font-weight: 700; text-align: center; }
.ground-status[data-status="open"] { background: var(--gold-soft); color: var(--gold-ink); }
.ground-status-source { margin: .55rem 0 0; font-size: .84rem; }
.ground-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0; }
.ground-facts dt { color: var(--quiet); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ground-facts dd { margin: .2rem 0 0; font-size: .87rem; font-weight: 700; line-height: 1.3; }
.ground-links { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .84rem; }
.ground-evidence { margin-top: .85rem; padding-top: .65rem; border-top: 1px solid var(--rule); }
.ground-evidence summary { cursor: pointer; font-size: .85rem; font-weight: 700; }
.ground-evidence blockquote { margin: .55rem 0 .35rem; padding-left: .7rem; border-left: 3px solid var(--accent); color: var(--quiet); font-size: .83rem; font-style: italic; line-height: 1.45; }
.ground-events { margin-top: .85rem; padding-top: .65rem; border-top: 1px solid var(--rule); }
.ground-events summary { cursor: pointer; font-size: .85rem; font-weight: 700; }
.ground-events ul { margin: .55rem 0 0; padding-left: 1.1rem; font-size: .84rem; line-height: 1.5; }

.site-footer { background: var(--soft-blue); border-top: 1px solid var(--rule); color: var(--ink); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.35rem; justify-content: space-between; align-items: center; padding-block: 1.3rem; }
.footer-inner p { font-size: .86rem; color: var(--quiet); }

html[data-theme="dark"] .shooter-hero { color: var(--ink); }

html[data-theme="dark"] :is(.search-link, .dev-login-link, .button-outline, .menu-toggle) {
  border-color: var(--gold-border);
  color: var(--gold-ink);
}
html[data-theme="dark"] :is(.search-link, .dev-login-link, .button-outline, .menu-toggle):hover {
  background: var(--gold-soft);
  color: var(--navy);
}
html[data-theme="dark"] .button:not(.button-outline, .button-report):hover { background: var(--gold-soft); }

html[data-theme="dark"] :is(
  .skip-link,
  .archive-stats,
  .score-straight,
  .button:not(.button-outline, .button-report),
  .place-label[data-place="1"],
  .view-switch a[aria-current],
  .view-switch button[aria-pressed="true"],
  .search-link[aria-current]
) {
  background: var(--gold);
  border-color: var(--gold-border);
  color: var(--navy);
}
html[data-theme="dark"] .view-switch :is(a, button):hover { border-color: var(--gold-border); }
html[data-theme="dark"] :is(.archive-stat + .archive-stat, .shooter-card:hover, .shooter-photo .portrait) {
  border-color: var(--gold-border);
}
html[data-theme="dark"] .archive-stats {
  background: var(--gold);
  border-color: var(--gold-border);
  color: var(--navy);
}
html[data-theme="dark"] :is(.home-log-score, .portrait, .shooter-photo figcaption a) {
  color: var(--gold-ink);
}
html[data-theme="dark"] .championship-winner h3 a { text-decoration-color: var(--gold-border); }

@media (max-width: 70rem) {
  .shell { width: calc(100% - 4rem); }
  .hero h1 { font-size: clamp(4.85rem, 9.4vw, 7rem); }
  .shooter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 78rem) {
  .header-inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding-top: .85rem; }
  .header-inner .wordmark { grid-area: 1 / 1; }
  .header-actions { grid-area: 1 / 2; }
  .main-nav { grid-area: 2 / 1 / 3 / 3; flex-wrap: wrap; gap: .2rem 1rem; min-height: 2.9rem; margin-top: .55rem; }
  .main-nav a { min-height: 2.5rem; }
}

@media (max-width: 60rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; padding-block: .5rem; }
  .header-inner .wordmark { justify-self: start; }
  .header-actions { grid-area: 1 / 2; }
  .search-link, .dev-login-link { min-height: 2.75rem; }
  .menu-toggle { display: grid; grid-area: 1 / 3; place-items: center; }
  .main-nav {
    grid-area: 2 / 1 / 3 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem;
    min-height: 0;
    margin: 0;
    padding: .4rem;
    border: 1px solid #546380;
    border-radius: .35rem;
    background: #101e34;
  }
  .menu-toggle[aria-expanded="false"] + .main-nav { display: none; }
  .main-nav a { min-height: 2.75rem; padding-inline: .65rem; white-space: normal; }
  .report-menu { grid-column: 1 / -1; }
  .report-menu > summary { display: flex; width: 100%; height: auto; min-height: 2.75rem; padding-inline: .65rem; }
  .report-options { position: static; min-width: 0; box-shadow: none; }
  .main-nav .theme-toggle { justify-self: start; }
}

@media (max-width: 55rem) {
  .partner-logos { max-width: min(25.5rem, calc(40vw - 3.25rem)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(4.2rem, 9.5vw, 5.8rem); }
  .hero-copy { max-width: 58%; }
  .hero-visual { left: 40%; }
  .champion-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; }
  .shooter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ground-grid { grid-template-columns: 1fr; }
  .ground-research-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-logo { width: min(100%, 20rem); }
}

@media (max-width: 42rem) {
  .championship-group-editions, :is(.championship-group, .championship-edition) > summary, .championship-edition-body { padding-inline: .65rem; }
  .shell { width: calc(100% - 2rem); }
  :is(.search-link, .dev-login-link) { padding: .46rem .65rem; font-size: .81rem; }
  .hero {
    --hero-photo-height: clamp(10rem, 57vw, 15rem);
    display: flex;
    flex-direction: column-reverse;
  }
  .hero::before, .hero::after {
    inset: 0 0 var(--hero-photo-height);
    width: auto;
    mask-image: linear-gradient(#000 0 58%, transparent 98%);
  }
  .hero-inner { padding-block: 2.25rem 2.05rem; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(4rem, 13.9vw, 6rem); }
  .hero-logo { width: min(100%, 17rem); margin-inline: auto; }
  .hero-description { margin-block: 1rem 1.15rem; }
  .hero-visual { position: relative; inset: auto; height: var(--hero-photo-height); }
  .hero-visual img { object-position: 63% 68%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--hero-night), #1022405a 13%, transparent 43%); }
  .hero-actions { gap: .5rem; }
  .hero-actions .button { padding-inline: .7rem; font-size: .82rem; }
  .grounds-map { padding: .75rem; }
  .ground-card-head { flex-direction: column; }
  .ground-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-stat { min-height: 5.35rem; flex-direction: column-reverse; justify-content: center; align-items: flex-start; gap: .25rem; padding-inline: .58rem; }
  .archive-stats dd { font-size: clamp(2.05rem, 8vw, 3rem); }
  .archive-stats dt { font-size: .75rem; }
  .home-content { padding-block: 2.1rem 3rem; }
  .champion-columns, .source-grid { grid-template-columns: 1fr; gap: 1.9rem; }
  .home-feed-section { margin-top: 2rem; }
  .section-head h2 { font-size: 2.4rem; }
  .regional-callout { align-items: flex-start; flex-direction: column; margin-top: 1.9rem; }
  .page-intro { padding-block: 1.7rem 1.8rem; }
  .page-body { padding-block: 1.2rem 3rem; }
  .table-frame { overflow: visible; border: 0; background: transparent; }
  .archive-table, .archive-table tbody { display: block; }
  .archive-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .archive-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .68rem .8rem; margin-bottom: .65rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--table-surface); padding: .75rem; }
  .archive-table td, .archive-table td:first-child { display: block; min-width: 0; width: auto; border: 0; padding: 0; white-space: normal; overflow-wrap: anywhere; }
  .championship-summary .archive-table td:first-child { width: auto; }
  .archive-table td::before { content: attr(data-label); display: block; font-size: .74rem; color: var(--quiet); font-weight: 700; margin-bottom: .14rem; }
  .archive-table td[data-label^="Competition"], .archive-table td[data-label="Award or result"] { grid-column: 1 / -1; }
  .field-search { flex-basis: 100%; }
  .shooter-grid { grid-template-columns: 1fr; }
  .shooter-card-link { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .home-log-person { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .home-log-person .portrait { width: 3.4rem; }
  .shooter-hero { padding-block: 1.05rem 1.4rem; }
  .shooter-hero-grid { grid-template-columns: minmax(6.7rem, 31%) minmax(0, 1fr); gap: .7rem; align-items: start; }
  .shooter-photo { display: contents; }
  .shooter-photo .portrait { grid-area: 1 / 1; }
  .shooter-photo figcaption { grid-area: 2 / 1 / 3 / 3; margin: 0; }
  .shooter-heading, .shooter-heading > .shooter-profile-name { display: contents; }
  .shooter-profile-name { font-size: clamp(2.25rem, 9.3vw, 3.6rem); }
  .shooter-heading h1 { grid-area: 1 / 2; align-self: center; }
  .shooter-heading .profile-honours, .shooter-profile-summary { grid-column: 1 / -1; min-width: 0; }
  .profile-honour { min-height: 1.45rem; padding: .14rem .3rem; }
  .shooter-subtitle { font-size: .82rem; margin-top: .35rem; }
  .shooter-stats { gap: .6rem; margin-top: .85rem; }
  .shooter-stats div + div { padding-left: .6rem; }
  .shooter-stats dd { font-size: 1.8rem; }
  .shooter-stats dt { font-size: .7rem; }
  .profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-overview, .nations-grid { grid-template-columns: 1fr; }
  .hcit-winner-members { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hcit-winner-results { margin-left: 0; }
  .competition-summary { flex-direction: column; gap: .55rem; }
  .championship-winner { gap: .6rem; }
  .winner-score { font-size: 1.75rem; }
  .team-squad .table-frame { padding: .4rem; }
  .footer-inner { gap: .9rem; }
}

.profile-editor {
  width: min(42rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 5.5rem 6rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.25rem 3.5rem #02061766;
}
.profile-editor::backdrop { background: #020617ad; }
.portrait-upload-dialog { width: min(31rem, calc(100% - 1.5rem)); }
.portrait-upload-or { text-align: center; }
.profile-editor-header, .profile-editor-content, .profile-editor-footer { padding-inline: clamp(1rem, 3vw, 1.55rem); }
.profile-editor-header, .profile-editor-footer { position: sticky; z-index: 1; background: var(--surface); }
.profile-editor-header {
  inset-block-start: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--rule);
}
.profile-editor-header h2 { font-size: clamp(2rem, 5vw, 2.65rem); line-height: .98; }
.profile-editor-header p { margin-top: .25rem; overflow-wrap: anywhere; }
.profile-editor-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--surface);
  font-size: 1.45rem;
  line-height: 1;
}
.profile-editor-close:hover { background: var(--soft-blue); }
.profile-editor-content { display: grid; gap: .9rem; padding-block: 1rem 1.2rem; }
.profile-editor-content > .text-link { justify-self: start; }
.profile-editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.profile-editor-field { display: grid; gap: .28rem; min-width: 0; font-size: .87rem; font-weight: 700; }
.profile-editor-field :is(input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .6rem .7rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.35 var(--body);
}
.profile-editor-field :is(input, textarea)::placeholder { color: var(--quiet); opacity: 1; }
.profile-editor-field textarea { resize: vertical; }
.profile-editor-field textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.profile-editor-bio { grid-column: 1 / -1; }
.profile-editor-fields, .profile-inline-fields { align-items: start; }
.profile-location-field summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  list-style: none;
  font: 400 1rem/1.35 var(--body);
  cursor: pointer;
}
.profile-location-field summary::-webkit-details-marker { display: none; }
.profile-location-field summary::after {
  content: "";
  flex: none;
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  margin-inline: .15rem;
  transform: translateY(-.12rem) rotate(45deg);
}
.profile-location-field details[open] summary::after { transform: translateY(.12rem) rotate(225deg); }
.profile-location-value, .profile-ground-link, .profile-equipment-artwork {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-equipment-logos { display: inline-flex; gap: .4rem; flex: none; }
.profile-equipment-artwork:has(.profile-equipment-logos) { flex-wrap: wrap; }
.profile-location-image {
  flex: none;
  width: 2rem;
  height: 1.5rem;
  padding: .08rem;
  border: 1px solid var(--rule);
  border-radius: .2rem;
  background: #fff;
  object-fit: contain;
}
.profile-location-panel {
  display: grid;
  gap: .42rem;
  margin-top: .3rem;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
}
.profile-location-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.profile-location-actions button, .profile-location-option {
  color: var(--ink);
  background: var(--paper);
  font: 650 .87rem/1.3 var(--body);
  text-align: start;
  cursor: pointer;
}
.profile-location-actions button { padding: .4rem .6rem; border: 1px solid var(--rule); border-radius: .3rem; }
.profile-location-options { max-height: 14rem; overflow-y: auto; border-top: 1px solid var(--rule); }
.profile-location-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 2.75rem;
  padding: .4rem .55rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}
.profile-location-option small { display: block; color: var(--quiet); font-weight: 400; }
.profile-location-option:hover, .profile-location-option[aria-current], .profile-location-actions button:hover {
  background: var(--soft-blue);
}
.profile-location-option:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.profile-location-empty { margin: .2rem .55rem; }
.profile-location-other[hidden] { display: none; }
.profile-equipment-picker[hidden] { display: none; }
.profile-equipment-picker summary { min-height: 2.4rem; padding: .35rem .6rem; font-size: .9rem; }
:is(.profile-equipment-picker, .profile-equipment-artwork) .profile-location-image { width: 2.65rem; height: 1.85rem; }
.profile-shotgun-grid:has(.profile-equipment-picker) .profile-shotgun-custom { align-self: start; margin-top: 1.3rem; }
.profile-editor-photos { display: grid; gap: .42rem; padding-top: .85rem; border-top: 1px solid var(--rule); }
.profile-editor input[type="file"] { padding: .3rem .4rem; }
.profile-editor ::file-selector-button {
  margin-inline-end: .65rem;
  padding: .38rem .55rem;
  border: 1px solid var(--rule);
  border-radius: .25rem;
  background: var(--soft-blue);
  color: var(--ink);
  font: 650 .86rem var(--body);
  cursor: pointer;
}
.profile-editor-cover { min-width: 0; margin: .35rem 0 0; padding: 0; border: 0; }
.profile-editor-cover legend { padding: 0; font-size: .87rem; font-weight: 700; }
.profile-editor-cover input[type="radio"] { flex: none; margin: 0; accent-color: var(--accent); }
.profile-editor-default-photo, .profile-editor-photo-actions label {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .42rem;
  cursor: pointer;
}
.profile-editor-default-photo { font-size: .9rem; }
.profile-editor-photo-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.profile-editor-photo { min-width: 0; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.profile-editor-photo:has(input:checked) { border-color: var(--focus-ring); }
.profile-editor-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  border-radius: calc(.35rem - 1px) calc(.35rem - 1px) 0 0;
  background: var(--soft-blue);
}
.profile-editor-photo-actions { display: flex; flex-wrap: wrap; justify-content: space-between; padding-inline: .5rem; font-size: .79rem; }
.profile-editor-photo-actions button {
  min-height: 2.75rem;
  padding: 0 .12rem;
  border: 0;
  background: transparent;
  color: var(--quiet);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.profile-editor-photo-actions button:hover { color: var(--ink); }
.profile-editor-footer { inset-block-end: 0; padding-block: .65rem; border-top: 1px solid var(--rule); }
.profile-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.profile-editor-sign-out { margin-inline-end: auto; }
.profile-editor :disabled { cursor: default; opacity: .65; }
.profile-editor-alert {
  margin-bottom: .55rem;
  padding: .55rem .7rem;
  border-inline-start: 3px solid currentColor;
  background: var(--paper);
  color: #a32f24;
  font-size: .88rem;
  line-height: 1.45;
}
html[data-theme="dark"] .profile-editor-alert { color: #ffb2a7; }
.profile-editor-alert:empty { margin: 0; padding: 0; border: 0; }
.profile-editor-sign-in .profile-editor-alert { margin-bottom: 0; }
.profile-editor-sign-in .profile-editor-alert:empty { margin-top: -.9rem; }
.profile-editor [data-progress]:not(:empty) { margin-bottom: .5rem; }

@media (max-width: 35rem) {
  .profile-editor-fields { grid-template-columns: 1fr; }
  .profile-editor-photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-editor-actions { gap: .42rem; }
  .profile-editor-actions .button { padding-inline: .65rem; }
  .profile-inline-fields { grid-template-columns: 1fr; }
  .profile-social-grid, .profile-sponsor-row { grid-template-columns: 1fr; }
  .profile-shotgun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-social-row { grid-template-columns: 1fr; }
  .profile-inline-actions { gap: .42rem; }
  .profile-inline-actions .button { padding-inline: .65rem; }
}

@media (max-height: 30rem) {
  .profile-editor { scroll-padding-block: 1rem; }
  .profile-editor-header, .profile-editor-footer { position: static; }
}

.dev-login-dialog {
  width: min(30rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.25rem 3.5rem #02061766;
}
.dev-login-dialog::backdrop { background: #020617ad; }
.dev-login-dialog-header, .dev-login-dialog-body { padding-inline: clamp(1rem, 3vw, 1.4rem); }
.dev-login-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--rule);
}
.dev-login-dialog-header h2 { font-size: 1.85rem; line-height: 1; }
.dev-login-dialog-header p { margin-top: .25rem; font-size: .85rem; color: var(--quiet); }
.dev-login-dialog-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}
.dev-login-dialog-close:hover { background: var(--soft-blue); }
.dev-login-dialog-body { display: grid; gap: .85rem; padding-block: 1rem 1.2rem; }
.dev-login-field { display: grid; gap: .3rem; font-size: .86rem; font-weight: 700; }
.dev-login-field :is(select, input) {
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.35 var(--body);
}
.dev-login-message { margin: 0; font-size: .85rem; line-height: 1.4; }
.dev-login-message[data-state="error"] { color: #a32f24; }
html[data-theme="dark"] .dev-login-message[data-state="error"] { color: #ffb2a7; }
.dev-login-message:empty { display: none; }
.dev-login-field[hidden] { display: none; }
.signup-terms { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; }
.signup-terms input { flex: none; accent-color: var(--accent); margin: .18rem 0 0; width: 1rem; height: 1rem; }
.signup-terms + p { margin: .35rem 0 0 1.5rem; }
.account-settings { margin-bottom: 1rem; }
.account-settings .button { margin-top: .75rem; }
.account-delete-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
.dev-login-switch { justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font: 650 .85rem var(--body); text-decoration: underline; cursor: pointer; }
.dev-login-switch:hover { color: var(--gold); }

.dashboard-hero { padding-block: clamp(1.4rem, 3vw, 2.4rem); background: var(--navy); border-bottom: 1px solid #294367; color: #f8fafc; }
.dashboard-hero-grid { display: grid; grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr) auto; gap: clamp(.9rem, 2vw, 1.6rem); align-items: center; }
.dashboard-hero .portrait { width: 100%; }
.dashboard-hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: .9; }
.dashboard-hero p { margin-top: .45rem; color: #d8e2f0; }
.dashboard-hero .button { border-color: #7f92b3; }
.dashboard-hero .button-outline { color: #f8fafc; }
.dashboard-hero .button-light { border-color: var(--gold); }
.dashboard-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.dashboard-tabs { display: flex; flex-wrap: wrap; gap: .2rem; border-bottom: 1px solid var(--rule); }
.dashboard-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--quiet); padding: .75rem 1rem; font: 700 .92rem var(--body); cursor: pointer; }
.dashboard-tabs button:hover { color: var(--ink); }
.dashboard-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
html[data-theme="dark"] .dashboard-tabs button[aria-selected="true"] { color: var(--gold-ink); }
.dashboard-tab-panel[hidden] { display: none; }
.latest-report-list { display: grid; }
.latest-report-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .9rem; border-top: 1px solid var(--rule); padding: .65rem 0; }
.latest-report-row:first-child { border-top: 0; }
.latest-report-date { color: var(--quiet); font-size: .85rem; white-space: nowrap; }
.latest-report-detail { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; }
.latest-report-row .share-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.latest-report-row .share-link .social-icon { width: 1.05rem; height: 1.05rem; color: #1877f2; }
.dashboard-profile-card { display: grid; gap: .75rem; }
.dashboard-profile-card .section-head { margin-bottom: 0; }
.dashboard-profile-name h3 { margin: 0; font: 700 2rem/1 var(--display); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: clamp(1.2rem, 2.5vw, 2rem) 3rem; }
.dashboard-card { min-width: 0; padding: clamp(.9rem, 2vw, 1.35rem); border: 1px solid var(--rule); border-radius: .5rem; background: var(--surface); box-shadow: 0 .2rem .7rem #0206170f; }
.dashboard-card-wide { grid-column: 1 / -1; }
.dashboard-card h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .6rem; margin: 0; }
.dashboard-metrics div { padding: .75rem; border-radius: .35rem; background: var(--paper); }
.dashboard-metrics dt { color: var(--quiet); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dashboard-metrics dd { margin: .2rem 0 0; font-family: var(--display); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-facts { display: grid; gap: .5rem; margin: 0; }
.dashboard-facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .6rem; padding-block: .35rem; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.dashboard-facts dt { color: var(--quiet); font-weight: 700; }
.dashboard-facts dd { margin: 0; overflow-wrap: anywhere; }
.score-chart { display: block; width: 100%; height: auto; min-height: 12rem; }
.score-chart-grid { stroke: var(--rule); stroke-width: 1; }
.score-chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.score-chart-point { fill: var(--accent); }
.score-chart-label { fill: var(--quiet); font: 600 .72rem var(--body); }
.score-chart-empty { margin: 0; color: var(--quiet); }
.dashboard-recent { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.dashboard-recent li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: .35rem; border-bottom: 1px solid var(--rule); font-size: .87rem; }
html[data-theme="dark"] .dashboard-card { background: var(--navy); }
html[data-theme="dark"] .dashboard-metrics div { background: var(--surface); }

.booking-card { border-top: 3px solid var(--accent); }
.booking-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.booking-month-label { margin: 0; font: 700 1.35rem/1 var(--display); letter-spacing: .02em; }
.booking-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.booking-controls .button { padding-inline: .8rem; font-size: .85rem; }
.booking-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; margin-bottom: .35rem; }
.booking-weekdays span { color: var(--quiet); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.booking-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.booking-day { display: grid; align-content: start; gap: .25rem; min-height: 5.75rem; padding: .4rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); cursor: pointer; }
.booking-day:hover { border-color: var(--accent); }
.booking-day.is-empty { border-color: transparent; background: transparent; cursor: default; }
.booking-day.has-bookings { background: var(--soft-blue); }
.booking-day.is-today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.booking-day-head { display: flex; align-items: center; justify-content: space-between; gap: .25rem; }
.booking-day-number { padding: 0; border: 0; background: none; color: var(--ink); font: 700 .9rem var(--body); cursor: pointer; }
.booking-day.is-today .booking-day-number { color: var(--accent); text-decoration: underline; }
.booking-count { min-width: 1.25rem; padding: .05rem .3rem; border-radius: 1rem; background: var(--accent); color: var(--paper); font-size: .7rem; font-weight: 700; text-align: center; }
.booking-chip { display: block; width: 100%; padding: .2rem .3rem; border: 1px solid var(--rule); border-radius: .2rem; background: var(--paper); color: var(--ink); font: 600 .72rem/1.25 var(--body); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.booking-chip:hover { border-color: var(--accent); color: var(--accent); }
.booking-more { color: var(--quiet); font-size: .7rem; }
.booking-lists { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; margin-top: 1.4rem; }
.booking-lists h3 { margin: 0 0 .6rem; font-size: 1.35rem; }
.booking-competition-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.booking-competition-heading h3 { margin-bottom: .2rem; }
.booking-competition-heading .meta { margin: 0; }
.booking-competition-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 .35rem; }
.booking-competition-filters .button { min-width: 3.15rem; padding-inline: .7rem; }
.booking-competition-filters .button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #10223d; }
.booking-competition-list { margin: 0; padding: 0; list-style: none; }
.booking-competition {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid var(--rule);
  padding: .65rem 0;
}
.booking-competition:last-child { border-bottom: 1px solid var(--rule); }
.booking-competition-date { font-size: .86rem; font-variant-numeric: tabular-nums; }
.booking-competition-info { display: grid; gap: .15rem; font-size: .9rem; overflow-wrap: anywhere; }
.booking-competition .button { padding-inline: .7rem; font-size: .8rem; }
@media (max-width: 62rem) {
  .booking-lists { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .booking-competition {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "date action" "info info";
    gap: .35rem .65rem;
  }
  .booking-competition-date { grid-area: date; }
  .booking-competition-info { grid-area: info; }
  .booking-competition .button { grid-area: action; }
}
.booking-upcoming { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.booking-item { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .75rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.booking-item-body { display: grid; gap: .25rem; min-width: 0; font-size: .88rem; }
.booking-item-body strong { font-variant-numeric: tabular-nums; }
.booking-item-title { font-weight: 700; overflow-wrap: anywhere; }
.booking-tags { color: var(--quiet); font-size: .82rem; }
.booking-squad { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .1rem 0 0; padding: 0; list-style: none; }
.booking-squad li::before { content: "• "; color: var(--accent); }
.booking-squad-link { color: var(--accent); text-decoration: underline; }
.booking-notes { margin: .1rem 0 0; color: var(--quiet); font-size: .82rem; line-height: 1.4; white-space: pre-line; }
.booking-item-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.booking-item-actions .button { padding-inline: .7rem; font-size: .8rem; }
.button-danger { border-color: #a32f24; color: #a32f24; }
html[data-theme="dark"] .button-danger { border-color: #ffb2a7; color: #ffb2a7; }
.booking-editor { margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.booking-editor[hidden] { display: none; }
.booking-editor h3 { font-size: 1.35rem; }
.booking-error { margin: .5rem 0; padding: .5rem .7rem; border-left: 3px solid #a32f24; background: var(--soft-blue); color: #a32f24; font-size: .85rem; }
.booking-error[hidden] { display: none; }
html[data-theme="dark"] .booking-error { color: #ffb2a7; }
.booking-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; }
.booking-field { display: grid; align-content: start; gap: .3rem; font-size: .84rem; font-weight: 700; }
.booking-field .meta { font-size: .76rem; font-weight: 400; }
.booking-field :is(input, select, textarea) {
  width: 100%; min-height: 2.6rem; padding: .5rem .6rem;
  border: 1px solid var(--rule); border-radius: .35rem;
  background: var(--paper); color: var(--ink); font: 400 .9rem/1.35 var(--body);
}
.booking-field textarea { min-height: 5rem; resize: vertical; }
.booking-field textarea.booking-venue { min-height: 2.6rem; }
.booking-flags { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin: .9rem 0; padding: .6rem .8rem; border: 1px solid var(--rule); border-radius: .35rem; }
.booking-flags legend { padding-inline: .3rem; font-size: .8rem; font-weight: 700; }
.booking-flags label { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; }
.booking-flags input { margin: 0; accent-color: var(--accent); }
.booking-form-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
html[data-theme="dark"] :is(.booking-day, .booking-chip, .booking-item, .booking-field :is(input, select, textarea)) { background: var(--surface); }
html[data-theme="dark"] .booking-day.has-bookings { background: var(--table-heading); }

.kite-guide h3 { font-size: 1.2rem; margin: 1.1rem 0 .6rem; }
.kite-round-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .5rem; margin: 0; }
.kite-round-profile div { padding: .6rem .75rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--paper); }
.kite-round-profile dt { color: var(--quiet); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kite-round-profile dd { margin: .2rem 0 0; font-family: var(--display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.kite-round-profile .kite-strong { border-color: #2e7d32; }
.kite-round-profile .kite-strong dd { color: #2e7d32; }
.kite-round-profile .kite-weak { border-color: #b4402f; }
.kite-round-profile .kite-weak dd { color: #b4402f; }
html[data-theme="dark"] .kite-round-profile div { background: var(--surface); }
.kite-table-wrap { overflow-x: auto; }
.kite-scores-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.kite-scores-table th, .kite-scores-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.kite-scores-table th { color: var(--quiet); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.kite-rounds { display: flex; gap: .25rem; }
.kite-round { display: inline-block; min-width: 2rem; padding: .1rem .3rem; border-radius: .2rem; background: var(--paper); text-align: center; font-variant-numeric: tabular-nums; }
.kite-round.kite-perfect { background: var(--gold-soft); font-weight: 700; }
html[data-theme="dark"] .kite-round { background: var(--surface); }
html[data-theme="dark"] .kite-round.kite-perfect { background: #4a3c12; }
.kite-total { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.kite-year-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .75rem 0; }
.kite-year-label { color: var(--quiet); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kite-year-button { padding: .3rem .6rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: inherit; font: inherit; font-size: .82rem; cursor: pointer; }
.kite-year-button:hover, .kite-year-button:focus-visible { border-color: var(--gold); }
.kite-year-button.is-active { border-color: var(--gold); background: var(--gold-soft); font-weight: 700; }
html[data-theme="dark"] .kite-year-button { background: var(--surface); }
html[data-theme="dark"] .kite-year-button.is-active { background: #4a3c12; }
.kite-reading { max-width: 20rem; white-space: normal; color: var(--quiet); font-size: .78rem; }
.kite-reading.kite-uncertain { color: #8a4b00; }
html[data-theme="dark"] .kite-reading.kite-uncertain { color: #f0c674; }

@media (max-width: 60rem) {
  .dashboard-hero-grid { grid-template-columns: minmax(5rem, 7rem) minmax(0, 1fr); }
  .dashboard-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 42rem) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-card-wide { grid-column: auto; }
  .dashboard-facts div { grid-template-columns: 1fr; gap: .1rem; }
  .booking-toolbar { align-items: flex-start; flex-direction: column; }
  .booking-month-grid, .booking-weekdays { gap: .2rem; }
  .booking-day { min-height: 4.4rem; padding: .25rem; }
  .booking-chip { font-size: .68rem; }
  .booking-form-grid { grid-template-columns: 1fr; }
  .booking-item-actions { width: 100%; }
}

.demo-win-card {
  border: 1px solid rgba(239, 200, 108, .45);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(244, 213, 128, .24), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(239, 200, 108, .12), transparent 26%),
    linear-gradient(135deg, #0b1a33 0%, #15315f 48%, #1f4b7d 100%);
  color: #f8fafc;
  box-shadow: 0 1.15rem 2.4rem rgba(16, 34, 64, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
  position: relative;
}
.demo-win-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 11px);
  pointer-events: none;
}
.demo-win-card > * { position: relative; z-index: 1; }
.demo-win-card .demo-win-heading {
  margin: 0 0 .8rem;
  font: 700 1.2rem/1.2 var(--body);
  color: #f4d580;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.demo-win-heading > span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.demo-win-name-ending { white-space: nowrap; }
.demo-win-heading .county-flag { margin-inline: .35rem 0; }
.demo-win-badge {
  padding: .25rem .65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8ebc9, #efc86c);
  color: #5b3f08;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .2);
}
.demo-win-images {
  --result-image-count: 5;
  --result-image-gap: clamp(.4rem, 1.6vw, .85rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(5.25rem,
    calc((100% - (var(--result-image-count) - 1) * var(--result-image-gap)) / var(--result-image-count)));
  justify-content: center;
  align-items: center;
  gap: var(--result-image-gap);
  margin-bottom: .85rem;
}
.demo-win-images:has(> :nth-child(6)) { --result-image-count: 6; }
.demo-win-image {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 213, 128, .65);
  border-radius: .65rem;
  background: #101e36;
}
.demo-win-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(.18rem, .45vw, .3rem);
  object-fit: contain;
}
.demo-win-images > a { text-decoration: none; }
.demo-win-images > a:hover { border-color: #f4d580; }
.demo-win-images > a:focus-visible { outline: 2px solid #f4d580; outline-offset: 2px; }
.demo-win-portrait {
  border-color: #f4d580;
  background: linear-gradient(145deg, #08111f, #1d4370);
}
.demo-win-portrait > img { padding: 0; }
.demo-win-portrait span { color: #f4d580; font-family: var(--display); font-size: clamp(1.45rem, 4.5vw, 2.6rem); line-height: 1; text-shadow: 0 .2rem .8rem rgba(0, 0, 0, .45); }
.demo-win-equipment-logo { background: #fff; }
:is(.profile-location-image, .demo-win-equipment-logo)[data-dark-background] { background-color: #142842; }
.demo-win-content { width: min(100%, 34rem); margin-inline: auto; text-align: center; }
.demo-win-trophy { display: inline-block; width: 2rem; height: 2rem; vertical-align: -.35rem; margin-left: .2rem; filter: drop-shadow(0 .25rem .5rem rgba(0, 0, 0, .35)); }
.demo-win-trophy svg { width: 100%; height: 100%; }
.demo-win-kicker { margin: 0 0 .15rem; color: #f4d580; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.demo-win-event { margin: 0 0 .1rem; color: #f4d580; font: 700 1.65rem/1.1 var(--display); }
.demo-win-competition { margin: 0 0 .45rem; color: rgba(248, 250, 252, .82); font-size: .9rem; line-height: 1.3; }
.demo-win-competition a { color: #f4d580; }
.demo-win-facts {
  display: grid;
  gap: .15rem;
  margin: 0 0 .55rem;
  font-size: .82rem;
  line-height: 1.35;
}
.demo-win-facts dt { color: #f4d580; font-weight: 800; }
.demo-win-facts dd { margin: 0; color: rgba(248, 250, 252, .9); overflow-wrap: anywhere; }
.demo-win-fact > :is(dt, dd) { display: inline; }
.demo-win-fact dt { margin-inline-end: .2rem; }
.demo-win-rankings { display: grid; gap: .15rem; padding: 0; margin: 0; list-style: none; }
.demo-win-label { color: #f4d580; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.demo-win-card .meta { color: rgba(248, 250, 252, .72); }
.demo-win-card [data-home-result-detail] { transition: opacity var(--home-result-fade) ease-in-out; }
.demo-win-card [data-home-result-detail][data-fade="out"] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .demo-win-card [data-home-result-detail] { transition: none; }
}
.demo-sponsor-list, .demo-social-list { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; justify-content: center; }
.demo-sponsor {
  display: inline-flex;
  min-width: 6.5rem;
  max-width: 9rem;
  min-height: 3.6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .45rem .5rem;
  border: 1px solid rgba(244, 213, 128, .35);
  border-radius: .7rem;
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.demo-sponsor:hover, .demo-sponsor:focus-visible {
  transform: translateY(-2px);
  border-color: #f4d580;
  background: rgba(244, 213, 128, .18);
}
.demo-sponsor img { max-width: 7rem; max-height: 2rem; object-fit: contain; filter: drop-shadow(0 .2rem .4rem rgba(0, 0, 0, .3)); }
.demo-sponsor span { font-size: .68rem; font-weight: 700; line-height: 1.15; color: #ffffff; }
.demo-sponsor-static { cursor: default; }
.demo-social-list > :is(a, span) {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border: 1px solid rgba(244, 213, 128, .35);
  border-radius: 999px;
  color: #ffffff;
  font-size: .75rem;
  text-decoration: none;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.demo-social-list a:hover, .demo-social-list a:focus-visible {
  transform: translateY(-1px);
  border-color: #f4d580;
  background: rgba(244, 213, 128, .18);
}
.demo-social-list .social-icon { width: .9rem; height: .9rem; }
html[data-theme="dark"] .demo-win-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(244, 213, 128, .18), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(239, 200, 108, .1), transparent 26%),
    linear-gradient(135deg, #050b16 0%, #0f1f3d 48%, #17345c 100%);
}
@media (max-width: 42rem) {
  .home-latest-result .demo-sponsor-list { align-items: stretch; }
  .home-latest-result .demo-sponsor { flex-basis: calc((100% - .9rem) / 3); min-width: 0; max-width: none; overflow-wrap: anywhere; }
  .home-latest-result .demo-sponsor img { max-width: 100%; }
}
