:root {
  --bg: #f3f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fbfd;
  --ink: #101820;
  --muted: #5e6d78;
  --line: #d7e7f1;
  --line-strong: #b7d7e9;
  --green: #39a0df;
  --green-deep: #063d63;
  --green-soft: #e7f6fe;
  --blue: #227ab7;
  --blue-soft: #e5f3fb;
  --amber: #fccc00;
  --amber-soft: #fff6cf;
  --red: #f47a1f;
  --red-soft: #fff0e7;
  --black: #050708;
  --shadow: 0 16px 34px rgba(6, 61, 99, 0.12);
  --shadow-soft: 0 8px 20px rgba(6, 61, 99, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #e9f6fd 0, var(--bg) 330px),
    linear-gradient(90deg, rgba(57, 160, 223, 0.08), rgba(252, 204, 0, 0.05)),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: var(--blue);
  font-weight: 650;
  text-decoration-color: rgba(34, 122, 183, 0.35);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }
.topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 30px 40px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(5, 7, 8, 0.98) 0%, rgba(6, 61, 99, 0.98) 55%, rgba(34, 122, 183, 0.96) 100%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 19px);
  color: white;
  border-bottom: 1px solid rgba(6, 61, 99, 0.3);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--red), var(--green), var(--blue));
}
.topbar > * { position: relative; z-index: 1; }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.club-logo {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}
.topbar h1 {
  margin: 0;
  max-width: 780px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}
.subhead {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}
.subhead strong { color: white; }
.eyebrow {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.button, button.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: white;
  box-shadow: var(--shadow-soft);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.button {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button:hover, button.copy:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.button:disabled,
button.copy:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}
.button.secondary {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--green-deep);
}
.topbar .button {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.topbar .button.secondary {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
  box-shadow: none;
}
button.copy {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: none;
}
.quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px 52px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4px 24px 34px;
  color: var(--muted);
}
.site-footer span {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sharpset-logo {
  display: block;
  width: min(172px, 46vw);
  height: auto;
  object-fit: contain;
}
.band {
  padding: 8px 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(183, 215, 233, 0.74);
}
.band:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--green-deep);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
}
.stat-grid, .instruction-grid, .rules-grid, .timeline, .ctb-grid, .output-grid, .message-grid, .event-grid {
  display: grid;
  gap: 16px;
}
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.instruction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrix-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rules-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ctb-grid { grid-template-columns: 180px 180px minmax(280px, 1fr); align-items: start; }
.ctb-form-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.inline-status {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-weight: 750;
}
.inline-status.success {
  color: var(--green-deep);
}
.inline-status.error {
  color: var(--red);
}
.output-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; margin-top: 18px; }
.output-grid > div:last-child { grid-column: 1 / -1; }
.speech-grid { grid-template-columns: 1fr; margin-top: 0; }
.message-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.helper-stack {
  display: grid;
  gap: 10px;
}
.helper-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
  box-shadow: var(--shadow-soft);
}
.helper-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.helper-panel summary::-webkit-details-marker {
  display: none;
}
.helper-panel summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.helper-panel[open] summary::after {
  content: "-";
}
.helper-panel summary strong {
  display: block;
  line-height: 1.25;
}
.helper-panel summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.helper-content {
  padding: 0 16px 16px;
}
.helper-panel .message-grid > div,
.helper-panel .output-grid > div {
  box-shadow: none;
}
.stat, .instruction-grid article, .rules-grid article, .timeline > div, .output-grid > div, .message-grid > div {
  border: 1px solid rgba(215, 231, 241, 0.95);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.stat {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--green);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}
.stat:nth-child(2) { border-top-color: var(--blue); }
.stat:nth-child(3) { border-top-color: var(--amber); }
.stat:nth-child(4) { border-top-color: var(--red); }
.stat span {
  display: block;
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
  color: var(--green-deep);
}
.stat p {
  margin: 8px 0 0;
  color: var(--muted);
}
.instruction-grid article, .rules-grid article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}
.instruction-grid article::before, .rules-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue));
}
.instruction-grid h3, .rules-grid h3, .timeline h3, .output-grid h3, .message-grid h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
}
ul { margin: 0; padding-left: 19px; }
ol { margin: 0; padding-left: 20px; }
li { margin: 6px 0; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; background: white; }
th, td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: #e8f5fc;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 850;
}
tbody tr:nth-child(even) td { background: #fbfdfe; }
tbody tr:hover td { background: #eff8fd; }
tr:last-child td { border-bottom: 0; }
.prize-table th { background: var(--red); color: white; }
.info-hero {
  align-items: center;
}
.info-shell {
  max-width: 1180px;
}
.info-intro-band {
  padding-top: 6px;
}
.info-card-grid,
.division-info-grid,
.info-layout,
.volunteer-code-row {
  display: grid;
  gap: 14px;
}
.info-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compact-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.division-info-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.info-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-card-grid article,
.info-panel,
.score-demo,
.info-rule {
  border: 1px solid rgba(215, 231, 241, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.info-card-grid article,
.info-panel {
  padding: 16px;
}
.info-card-grid article {
  border-top: 4px solid var(--green);
}
.info-card-grid article:nth-child(2n) {
  border-top-color: var(--amber);
}
.info-card-grid article:nth-child(3n) {
  border-top-color: var(--red);
}
.info-card-grid h3,
.info-panel h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 16px;
  line-height: 1.2;
}
.info-card-grid p {
  margin: 0;
  color: var(--muted);
}
.info-panel {
  display: grid;
  gap: 9px;
  align-content: start;
}
.info-panel h3 {
  margin-bottom: 2px;
}
.info-rule {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 12px;
  align-content: center;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}
.info-rule strong {
  color: var(--green-deep);
  font-size: 14px;
  line-height: 1.2;
}
.info-rule span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.handicap-explainer {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: 14px;
  align-items: stretch;
}
.score-demo {
  display: grid;
  align-content: center;
  min-height: 170px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(5, 7, 8, 0.96), rgba(6, 61, 99, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  color: #ffffff;
}
.score-demo span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.score-demo strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.08;
}
.volunteer-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 8, 0.54);
}
.volunteer-gate[hidden] {
  display: none;
}
.volunteer-gate-card {
  position: relative;
  width: min(100%, 440px);
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.volunteer-gate-card .eyebrow {
  color: var(--blue);
}
.volunteer-gate-card h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 24px;
  line-height: 1.2;
}
.volunteer-gate-card p {
  margin: 8px 0 0;
  color: var(--muted);
}
.volunteer-gate-card form {
  margin-top: 16px;
}
.volunteer-code-row {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 7px;
}
.volunteer-code-status {
  min-height: 20px;
  font-weight: 750;
}
.volunteer-code-status.error {
  color: var(--red);
}
.volunteer-gate-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--green-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.compact-events-band .section-head {
  margin-bottom: 12px;
}
.compact-event-table {
  min-width: 620px;
  table-layout: fixed;
}
.compact-event-table th,
.compact-event-table td {
  padding: 8px 10px;
}
.compact-event-table th:first-child,
.compact-event-table td:first-child {
  width: 64px;
  white-space: nowrap;
}
.compact-event-table th:nth-child(2),
.compact-event-table td:nth-child(2) {
  width: 106px;
  white-space: nowrap;
}
.compact-event-table th:nth-child(4),
.compact-event-table td:nth-child(4) {
  width: 150px;
}
.compact-event-table th:last-child,
.compact-event-table td:last-child {
  width: 120px;
}
.compact-event-table .round-cell {
  color: var(--green-deep);
  font-weight: 850;
}
.compact-event-table .muted-note {
  display: block;
  margin-top: 1px;
}
.compact-event-actions {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.compact-event-actions a {
  font-size: 12px;
}
.results-shell {
  max-width: 1320px;
  padding-top: 12px;
}
.results-hero {
  padding: 10px 22px;
  align-items: center;
}
.results-hero .club-logo {
  width: 42px;
  height: 42px;
  padding: 4px;
}
.results-hero h1 {
  font-size: 23px;
  line-height: 1.15;
}
.results-hero .subhead {
  margin-top: 5px;
  font-size: 14px;
}
.results-top-actions {
  align-items: center;
}
.season-switch,
.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.season-switch-item,
.view-switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.view-switch-item {
  min-width: 68px;
}
.season-switch-item.is-active,
.view-switch-item.is-active {
  background: #ffffff;
  color: var(--green-deep);
}
.season-switch-item.is-disabled {
  opacity: 0.62;
}
.season-switch-item:not(.is-active):hover,
.view-switch-item:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.metrix-season-link {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 11px;
}
.result-top-button {
  min-width: 54px;
  box-shadow: none;
}
.result-info-link {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 11px;
}
.results-browser-band {
  padding-top: 0;
  margin-bottom: 0;
}
.results-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eaf6fd);
  box-shadow: var(--shadow-soft);
}
.results-tab {
  flex: 0 0 92px;
  min-width: 0;
  min-height: 54px;
  padding: 7px 8px;
  border: 1px solid rgba(183, 215, 233, 0.9);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(57, 160, 223, 0.08);
}
.results-tab:hover {
  border-color: var(--green);
  background: white;
}
.results-tab.is-active {
  background: linear-gradient(180deg, var(--green), var(--blue));
  border-color: var(--blue);
  color: white;
  box-shadow: 0 9px 18px rgba(6, 61, 99, 0.2), inset 0 -3px 0 var(--amber);
}
.results-tab strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 13px;
  line-height: 1.1;
}
.results-tab em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}
.results-tab.is-active em {
  color: rgba(255, 255, 255, 0.82);
}
.results-tab span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.results-tab.is-active span {
  color: rgba(255, 255, 255, 0.78);
}
.results-panels {
  margin-top: 18px;
}
.results-panel[hidden] {
  display: none;
}
.results-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft));
  box-shadow: var(--shadow-soft);
}
.results-panel-kicker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.results-panel-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 850;
}
.results-panel-kicker span:last-child {
  background: var(--amber-soft);
  color: #7a4b00;
}
.results-panel-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}
.results-panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.muted-eyebrow {
  color: var(--blue);
  font-weight: 850;
}
.results-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.result-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.result-status.imported {
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid rgba(57, 160, 223, 0.25);
}
.result-status.needs-import {
  background: var(--amber-soft);
  color: #7a4b00;
  border: 1px solid rgba(252, 204, 0, 0.32);
}
.result-metrix-link {
  width: auto;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--blue);
  border-color: rgba(57, 160, 223, 0.45);
  background: #ffffff;
  box-shadow: none;
  font-size: 12px;
}
.result-metrix-link:hover {
  background: var(--green-soft);
  box-shadow: none;
}
.result-import-note {
  margin-top: 16px;
}
.results-section-grid {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}
.results-prize-section,
.results-division-section {
  min-width: 0;
}
.prize-graphic {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 61, 99, 0.22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(6, 61, 99, 0.13);
}
.prize-graphic::after {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--red), var(--green), var(--blue));
}
.prize-graphic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px 17px;
  background:
    linear-gradient(115deg, rgba(5, 7, 8, 0.98) 0%, rgba(6, 61, 99, 0.97) 42%, rgba(20, 118, 84, 0.96) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  color: #ffffff;
}
.prize-graphic-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.prize-graphic-head h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0;
}
.prize-graphic-head p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
}
.prize-graphic-event strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.prize-graphic-event span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}
.prize-card-logo {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  padding: 7px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.prize-graphic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, #ffffff, #f4f9fb);
}
.prize-winner-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(197, 208, 202, 0.88);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(6, 61, 99, 0.07);
}
.prize-row-handicap {
  border-left-color: var(--amber);
}
.prize-winner-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
}
.prize-row-handicap .prize-winner-icon {
  background: var(--amber-soft);
  color: #815400;
}
.prize-winner-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prize-winner-copy {
  min-width: 0;
}
.prize-winner-type {
  display: block;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.prize-row-handicap .prize-winner-type {
  color: #815400;
}
.prize-winner-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.prize-winner-copy em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174d79;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}
.prize-row-ctb .prize-winner-copy em {
  background: var(--green-soft);
  color: var(--green-deep);
}
.prize-graphic-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #ffffff;
}
.prize-graphic-notes {
  display: grid;
  gap: 6px;
  padding: 0 14px 14px;
  background: #f4f9fb;
}
.prize-graphic-notes p {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(229, 160, 48, 0.36);
  border-radius: 8px;
  background: #fff8ea;
  color: #5d430e;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}
.compact-section-head {
  align-items: flex-start;
  margin-bottom: 10px;
}
.compact-section-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
.compact-section-head p {
  max-width: 560px;
  font-size: 13px;
}
.result-division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.result-division-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.result-division-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, var(--green-soft));
}
.result-division-head h3 {
  margin: 0;
  font-size: 15px;
  color: var(--green-deep);
}
.result-division-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.results-table-wrap {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.results-table-wrap th,
.results-table-wrap td {
  padding: 8px 9px;
  font-size: 13px;
}
.scorecard-table-wrap {
  overflow-x: auto;
}
.scorecard-table {
  min-width: 900px;
  --score-pos-width: 36px;
  --score-name-width: 140px;
}
.scorecard-table .pos-col,
.scorecard-table .name-col {
  position: sticky;
  background: #ffffff;
  z-index: 2;
}
.scorecard-table .pos-col {
  left: 0;
  width: var(--score-pos-width);
  min-width: var(--score-pos-width);
  text-align: center;
}
.scorecard-table .name-col {
  left: var(--score-pos-width);
  box-shadow: 8px 0 12px -12px rgba(31, 54, 44, 0.55);
}
.scorecard-table th.pos-col,
.scorecard-table th.name-col {
  background: #e8f5fc;
  z-index: 4;
}
.scorecard-table tbody tr:nth-child(even) .pos-col,
.scorecard-table tbody tr:nth-child(even) .name-col {
  background: #fbfdfe;
}
.scorecard-table tbody tr:hover .pos-col,
.scorecard-table tbody tr:hover .name-col {
  background: #eff8fd;
}
.podium-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #152018;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75), 0 3px 8px rgba(31, 54, 44, 0.16);
}
.podium-1 {
  background: linear-gradient(145deg, #fff4ba, #e2a51d);
}
.podium-2 {
  background: linear-gradient(145deg, #ffffff, #aeb9c2);
}
.podium-3 {
  background: linear-gradient(145deg, #ffd9aa, #b36b27);
  color: #271606;
}
.scorecard-table .name-col {
  width: var(--score-name-width);
  min-width: var(--score-name-width);
  max-width: var(--score-name-width);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scorecard-table .to-par-col {
  width: 38px;
  min-width: 38px;
  text-align: center;
  font-weight: 850;
}
.scorecard-table .rating-col {
  width: 48px;
  min-width: 48px;
  text-align: center;
}
.scorecard-table .raw-col,
.scorecard-table .hc-col,
.scorecard-table .net-col {
  width: 42px;
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.scorecard-table .hole-col,
.scorecard-table .score-cell {
  width: 24px;
  min-width: 24px;
  padding-left: 3px;
  padding-right: 3px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.scorecard-table .score-cell {
  border-left-color: rgba(197, 208, 202, 0.75);
  font-weight: 500;
}
.scorecard-table .score-holeinone {
  background: #ffd60a;
  color: #3f2600;
}
.scorecard-table .score-eagle {
  background: #55d57d;
  color: #06351f;
}
.scorecard-table .score-birdie {
  background: #d8f0e5;
  color: #0b3f38;
}
.scorecard-table .score-bogey {
  background: #ffe1c2;
  color: #7a3b00;
}
.scorecard-table .score-dbogey {
  background: #f8e7e4;
  color: #8c2c27;
}
.scorecard-table .score-fail {
  background: #f8e7e4;
  color: #8c2c27;
}
.handicap-leader-list {
  margin-top: 14px;
}
.handicap-leader-list h4 {
  margin: 0 0 8px;
  font-size: 15px;
}
.results-empty {
  margin: 0;
  padding: 13px 12px;
  color: var(--muted);
  font-size: 13px;
}
.compact-empty {
  padding-top: 8px;
  padding-bottom: 0;
}
.stats-shell {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.stats-filter-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: none;
}
.stats-filter-bar::-webkit-scrollbar {
  display: none;
}
.stats-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  width: max-content;
  min-width: 0;
}
.stats-filter-group > span,
.profile-filter > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.division-check {
  position: relative;
  display: inline-flex;
}
.division-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.division-check span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
}
.division-check input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}
.division-check input:focus-visible + span,
.profile-filter select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.profile-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.profile-filter select {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 28px 5px 10px;
}
.profile-panel-head {
  align-items: center;
}
.profile-panel-head .profile-filter {
  flex: 0 0 auto;
}
.stats-view,
.stats-panel,
.stats-overview-band {
  min-width: 0;
}
.stats-overview-band {
  margin-bottom: 0;
}
.stats-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stats-card {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
  box-shadow: var(--shadow-soft);
}
.stats-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.stats-card strong {
  display: block;
  margin-top: 6px;
  color: var(--green-deep);
  font-size: 26px;
  line-height: 1.05;
}
.stats-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.stats-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stats-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.stats-panel .section-head {
  margin-bottom: 12px;
}
.scoring-panel {
  overflow: hidden;
}
.score-mix-bar {
  display: flex;
  height: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}
.score-mix-bar span {
  display: block;
  min-width: 2px;
}
.score-mix-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
}
.score-mix-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
  line-height: 1;
}
.score-mix-pill strong,
.score-mix-pill em,
.score-mix-pill small {
  font: inherit;
  font-weight: 850;
}
.score-mix-pill em {
  font-style: normal;
}
.score-mix-pill small {
  opacity: 0.78;
}
.mix-aces {
  background: #ffd60a;
  color: #3f2600;
}
.mix-eagles {
  background: #55d57d;
  color: #06351f;
}
.mix-birdies {
  background: #d8f0e5;
  color: #0b3f38;
}
.mix-pars {
  background: #ffffff;
  color: var(--ink);
}
.mix-bogeys {
  background: #ffe1c2;
  color: #7a3b00;
}
.mix-double-plus {
  background: #f8e7e4;
  color: #8c2c27;
}
.attendance-chart {
  display: grid;
  gap: 8px;
}
.attendance-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px 92px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.attendance-row span {
  color: var(--green-deep);
  font-weight: 850;
}
.attendance-row div {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
}
.attendance-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.attendance-row strong {
  text-align: right;
}
.attendance-row small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: none;
}
.stats-table-wrap table {
  min-width: 560px;
}
.compact-stats-table table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.top-rounds-table th:nth-child(1),
.top-rounds-table td:nth-child(1) {
  width: 38%;
}
.top-rounds-table th:nth-child(2),
.top-rounds-table td:nth-child(2) {
  width: 24%;
}
.top-rounds-table th:nth-child(3),
.top-rounds-table td:nth-child(3) {
  width: 13%;
}
.top-rounds-table th:nth-child(4),
.top-rounds-table td:nth-child(4) {
  width: 13%;
}
.top-rounds-table th:nth-child(5),
.top-rounds-table td:nth-child(5) {
  width: 12%;
}
.top-rounds-table td:nth-child(1) {
  white-space: normal;
  line-height: 1.25;
}
.prize-count-table th:first-child,
.prize-count-table td:first-child {
  width: 46%;
}
.prize-count-table th:not(:first-child),
.prize-count-table td:not(:first-child) {
  width: 18%;
  text-align: center;
}
.difficulty-table th:nth-child(1),
.difficulty-table td:nth-child(1) {
  width: 16%;
}
.difficulty-table th:nth-child(2),
.difficulty-table td:nth-child(2) {
  width: 31%;
}
.difficulty-table th:nth-child(3),
.difficulty-table td:nth-child(3) {
  width: 19%;
}
.difficulty-table th:nth-child(4),
.difficulty-table td:nth-child(4),
.difficulty-table th:nth-child(5),
.difficulty-table td:nth-child(5) {
  width: 17%;
}
.stats-table-wrap th,
.stats-table-wrap td {
  padding: 8px 9px;
  font-size: 12px;
}
.compact-stats-table th,
.compact-stats-table td {
  padding: 7px 5px;
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-table-wrap td:first-child {
  font-weight: 750;
}
.stats-table-wrap th button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.stats-table-wrap th .label-full,
.stats-table-wrap th .label-short {
  overflow: hidden;
  text-overflow: ellipsis;
}
.stats-table-wrap th .label-short {
  display: none;
}
.sort-indicator::after {
  content: "\2195";
  color: var(--muted);
  font-size: 10px;
}
.stats-table-wrap th[aria-sort="ascending"] .sort-indicator::after {
  content: "\2191";
  color: var(--blue);
}
.stats-table-wrap th[aria-sort="descending"] .sort-indicator::after {
  content: "\2193";
  color: var(--blue);
}
.heat-good-1 { --heat-bg: #ebf8ef; --heat-fg: #0f5132; background: var(--heat-bg); color: var(--heat-fg); }
.heat-good-2 { --heat-bg: #d8f0e5; --heat-fg: #0b3f38; background: var(--heat-bg); color: var(--heat-fg); }
.heat-good-3 { --heat-bg: #b7e8cd; --heat-fg: #07351f; background: var(--heat-bg); color: var(--heat-fg); }
.heat-good-4 { --heat-bg: #8addae; --heat-fg: #062f1c; background: var(--heat-bg); color: var(--heat-fg); }
.heat-neutral-1 { --heat-bg: #eff8fc; --heat-fg: #17465f; background: var(--heat-bg); color: var(--heat-fg); }
.heat-neutral-2 { --heat-bg: #dff1fb; --heat-fg: #15425c; background: var(--heat-bg); color: var(--heat-fg); }
.heat-neutral-3 { --heat-bg: #cae8f7; --heat-fg: #11374c; background: var(--heat-bg); color: var(--heat-fg); }
.heat-neutral-4 { --heat-bg: #b5dff3; --heat-fg: #0e2f42; background: var(--heat-bg); color: var(--heat-fg); }
.heat-warn-1 { --heat-bg: #fff4e5; --heat-fg: #6e3f00; background: var(--heat-bg); color: var(--heat-fg); }
.heat-warn-2 { --heat-bg: #ffe1c2; --heat-fg: #7a3b00; background: var(--heat-bg); color: var(--heat-fg); }
.heat-warn-3 { --heat-bg: #ffc58e; --heat-fg: #612900; background: var(--heat-bg); color: var(--heat-fg); }
.heat-warn-4 { --heat-bg: #ffad66; --heat-fg: #552100; background: var(--heat-bg); color: var(--heat-fg); }
.heat-bad-1 { --heat-bg: #fdecea; --heat-fg: #7a2722; background: var(--heat-bg); color: var(--heat-fg); }
.heat-bad-2 { --heat-bg: #f8d1cc; --heat-fg: #8c2c27; background: var(--heat-bg); color: var(--heat-fg); }
.heat-bad-3 { --heat-bg: #efaaa4; --heat-fg: #711d1a; background: var(--heat-bg); color: var(--heat-fg); }
.heat-bad-4 { --heat-bg: #e68079; --heat-fg: #5f1714; background: var(--heat-bg); color: var(--heat-fg); }
.stats-table-wrap td[class*="heat-"] {
  background: var(--heat-bg);
  color: var(--heat-fg);
}
.difficulty-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.difficulty-pair .stats-card strong {
  font-size: 17px;
  line-height: 1.18;
}
.player-profile-panel {
  overflow: hidden;
}
.season-dashboard-table {
  min-width: 1120px;
}
.season-dashboard-table td:first-child {
  white-space: nowrap;
}
.season-dashboard-table .muted-note {
  display: block;
  margin-top: 3px;
}
.compact-list {
  margin: 0;
  padding-left: 17px;
}
.compact-list li {
  margin: 4px 0;
}
.muted-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 105px;
}
.link-list a {
  color: var(--green-deep);
  font-weight: 800;
  text-decoration: none;
}
.link-list a:hover {
  text-decoration: underline;
}
.command-inline {
  display: inline-block;
  min-width: 205px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: #1d2b22;
  font-size: 12px;
  line-height: 1.35;
}
.event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 231, 241, 0.96);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f9fcfe);
  box-shadow: var(--shadow-soft);
}
.event-card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--green);
}
.event-card:nth-child(4n+2)::before { background: var(--amber); }
.event-card:nth-child(4n+3)::before { background: var(--blue); }
.event-card:nth-child(4n+4)::before { background: var(--red); }
.event-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
}
.event-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}
.event-card:nth-child(4n+2) .event-card-head span { background: var(--amber-soft); color: #7a4b00; }
.event-card:nth-child(4n+3) .event-card-head span { background: var(--blue-soft); color: #174d79; }
.event-card:nth-child(4n+4) .event-card-head span { background: var(--red-soft); color: #9a3d08; }
.event-card-head strong {
  display: block;
  text-align: right;
  font-size: 16px;
  line-height: 1.25;
}
.event-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 14px 12px;
}
.event-card-meta div {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.event-card-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.event-card-meta strong {
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}
.event-card-actions {
  display: flex;
  gap: 10px;
  padding: 12px 14px 14px;
  background: #f2f8fc;
  border-top: 1px solid var(--line);
}
.event-card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: white;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.event-card-actions a:first-child {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.notice-card {
  max-width: 980px;
  padding: 16px 18px;
  border: 1px solid rgba(252, 204, 0, 0.46);
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--amber-soft));
  color: #433405;
  box-shadow: var(--shadow-soft);
}
.notice-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.notice-card p {
  margin: 0;
  color: #624b08;
}
.not-played-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.event-facts-row {
  margin: 0 0 14px;
}
.event-facts {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fbfe);
  box-shadow: var(--shadow-soft);
}
.event-facts summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
  list-style: none;
}
.event-facts summary::-webkit-details-marker {
  display: none;
}
.event-facts summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--green-deep);
  font-weight: 900;
}
.event-facts[open] summary::after {
  content: "-";
}
.event-facts summary strong {
  flex: 0 0 auto;
  font-size: 14px;
}
.event-facts summary span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-facts-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 16px;
  padding: 0 12px 12px;
}
.event-facts-list div {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}
.event-facts-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}
.event-facts-list strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}
.event-facts-list a {
  overflow-wrap: anywhere;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.detail-list div, .status-list div {
  position: relative;
  min-height: 86px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f9fcfe);
  box-shadow: var(--shadow-soft);
}
.detail-list div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--green);
}
.detail-list div:nth-child(2)::before { background: var(--blue); }
.detail-list div:nth-child(3)::before { background: var(--amber); }
.detail-list div:nth-child(4)::before { background: var(--red); }
.detail-list div:nth-child(5)::before { background: var(--green); }
.event-shell > .detail-band {
  padding-top: 0;
}
.detail-list span, .status-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}
.detail-list strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.25;
}
.timeline {
  counter-reset: phase;
}
.timeline > div {
  position: relative;
  padding-top: 48px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}
.timeline > div::before {
  counter-increment: phase;
  content: "0" counter(phase);
  position: absolute;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 24px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}
.timeline > div:nth-child(4n+2)::before { background: var(--amber-soft); color: #7a4b00; }
.timeline > div:nth-child(4n+3)::before { background: var(--blue-soft); color: #174d79; }
.timeline > div:nth-child(4n+4)::before { background: var(--red-soft); color: #9a3d08; }
.timeline > div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
}
.timeline > div:nth-child(4n+2)::after { background: var(--amber); }
.timeline > div:nth-child(4n+3)::after { background: var(--blue); }
.timeline > div:nth-child(4n+4)::after { background: var(--red); }
.task {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.task:first-of-type { border-top: 0; }
.guide-item {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line);
}
.guide-item:first-of-type { border-top: 0; }
.guide-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.timeline > div:nth-child(4n+2) .guide-item::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}
.timeline > div:nth-child(4n+3) .guide-item::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.timeline > div:nth-child(4n+4) .guide-item::before {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.guide-item strong {
  display: block;
  line-height: 1.3;
}
.guide-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.task input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}
.task strong {
  display: block;
  line-height: 1.3;
}
.task small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.task:has(input:checked) {
  color: var(--muted);
}
.task:has(input:checked) strong {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
label {
  font-weight: 750;
  color: var(--ink);
}
input[type="number"],
input[type="tel"],
input[type="password"],
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(23, 32, 42, 0.04);
}
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: 3px solid rgba(57, 160, 223, 0.18);
  border-color: var(--green);
}
textarea { resize: vertical; }
pre {
  min-height: 160px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfd;
  color: #1d2b34;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(23, 32, 42, 0.04);
}
.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.status-list strong { display: block; margin-bottom: 4px; }
code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--blue-soft);
  color: #26333c;
}


@media (max-width: 1100px) {
  .timeline, .rules-grid, .event-grid, .division-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .results-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .results-tab {
    flex: 0 0 92px;
  }
}

@media (max-width: 900px) {
  .topbar, .section-head { display: block; }
  .quick-links { justify-content: flex-start; margin-top: 14px; }
  .stat-grid, .instruction-grid, .rules-grid, .timeline, .ctb-grid, .output-grid, .message-grid, .event-grid, .detail-list, .event-facts-list, .status-list, .result-division-grid, .stats-card-grid, .stats-layout, .info-card-grid, .info-layout, .handicap-explainer {
    grid-template-columns: 1fr;
  }
  .volunteer-code-row {
    grid-template-columns: 1fr;
  }
  .compact-info-grid,
  .division-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .results-panel-head {
    display: block;
  }
  .results-panel-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .results-panel-actions .button {
    width: auto;
  }
  .prize-graphic-head {
    padding: 16px;
  }
  .prize-graphic-head h3 {
    font-size: 26px;
  }
  .prize-card-logo {
    width: 62px;
    height: 62px;
    padding: 6px;
  }
  .prize-graphic-list {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .prize-winner-row {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 78px;
    padding: 10px;
  }
  .prize-winner-icon {
    width: 44px;
    height: 44px;
  }
  .prize-winner-icon svg {
    width: 25px;
    height: 25px;
  }
  .prize-winner-copy strong {
    font-size: 17px;
  }
  .results-hero {
    padding: 12px 14px 14px;
  }
  .results-hero .brand-lockup {
    align-items: center;
  }
  .results-hero .club-logo {
    width: 40px;
    height: 40px;
    padding: 4px;
  }
  .results-hero h1 {
    font-size: 21px;
  }
  .results-hero .quick-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
  }
  .results-hero .quick-links .button {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .season-switch-item,
  .view-switch-item {
    min-height: 28px;
  }
  .shell { padding: 18px 14px 36px; }
  .site-footer {
    padding: 0 14px 28px;
  }
  .sharpset-logo {
    width: min(150px, 52vw);
  }
  .topbar { padding: 24px 18px 26px; }
  .brand-lockup {
    align-items: flex-start;
  }
  .club-logo {
    width: 52px;
    height: 52px;
    padding: 6px;
  }
  .topbar h1 { font-size: 28px; }
  .subhead { font-size: 15px; }
  .button, button.copy { width: 100%; }
  .event-hero .quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .event-hero .quick-links .button {
    width: auto;
    min-height: 38px;
    padding: 8px 7px;
    font-size: 13px;
    line-height: 1.15;
    text-align: center;
  }
  .results-hero .season-switch,
  .results-hero .view-switch {
    width: 100%;
    justify-content: center;
  }
  .results-hero .season-switch-item,
  .results-hero .view-switch-item {
    flex: 1 1 0;
    min-width: 0;
  }
  .results-hero .quick-links .metrix-season-link,
  .results-hero .quick-links .result-info-link {
    width: 100%;
  }
  .stats-filter-group {
    gap: 5px;
  }
  .division-check span {
    min-width: 34px;
    min-height: 28px;
    padding: 4px 9px;
  }
  .profile-panel-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .profile-panel-head .profile-filter {
    flex-direction: column;
    gap: 4px;
    min-width: 106px;
  }
  .scorecard-table {
    min-width: 860px;
    --score-pos-width: 34px;
    --score-name-width: 118px;
  }
  .scorecard-table th,
  .scorecard-table td {
    padding: 6px 3px;
  }
  .scorecard-table .to-par-col {
    width: 36px;
    min-width: 36px;
  }
  .scorecard-table .rating-col {
    width: 44px;
    min-width: 44px;
  }
  .scorecard-table .raw-col,
  .scorecard-table .hc-col,
  .scorecard-table .net-col {
    width: 38px;
    min-width: 38px;
  }
  .scorecard-table .hole-col,
  .scorecard-table .score-cell {
    width: 23px;
    min-width: 23px;
  }
  .stats-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stats-card {
    padding: 11px 10px;
  }
  .stats-card strong {
    font-size: 22px;
  }
  .score-mix-grid {
    gap: 5px;
  }
  .score-mix-pill {
    gap: 4px;
    padding: 4px 6px;
    font-size: 10px;
  }
  .difficulty-pair {
    grid-template-columns: 1fr;
  }
  .attendance-row {
    grid-template-columns: 42px minmax(0, 1fr) 30px;
  }
  .attendance-row small {
    grid-column: 2 / 4;
  }
}

@media (max-width: 430px) {
  .compact-info-grid,
  .division-info-grid {
    grid-template-columns: 1fr;
  }
  .stats-table-wrap th .has-short-label .label-full {
    display: none;
  }
  .stats-table-wrap th .has-short-label .label-short {
    display: inline;
  }
  .compact-stats-table th,
  .compact-stats-table td {
    padding-left: 4px;
    padding-right: 4px;
  }
}
