/* ==========================================================================
   Legendary Hackers Golf Club — site styles
   ========================================================================== */

@font-face { font-family: "Big Shoulders"; src: url("../assets/fonts/big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../assets/fonts/libre-franklin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../assets/fonts/libre-franklin-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --green-950: #08190f;
  --green-900: #0c2417;
  --green-800: #10301f;
  --green-700: #16422b;   /* logo green */
  --green-600: #1f5a3a;
  --green-500: #2d7350;
  --green-100: #dfe9e1;
  --gold: #f9bf2d;        /* logo gold */
  --gold-600: #d99a0b;
  --gold-100: #fdf0c9;
  --ink: #141714;
  --ink-2: #2b302b;
  --muted: #5a6358;
  --paper: #f6f2e7;
  --paper-2: #ede6d3;
  --card: #fffdf7;
  --line: #ddd4bd;
  --line-2: #c9bea2;

  --display: "Big Shoulders", "Oswald", "Arial Narrow", Impact, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 0 rgba(20, 23, 20, .04), 0 10px 30px -12px rgba(12, 36, 23, .25);
  --wrap: 1180px;
  --tabbar-h: 0px;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: var(--tabbar-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 36, 23, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid rgba(249, 191, 45, .18);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; }
.brand-sub { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: rgba(255,255,255,.86); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--gold); }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  :root { --tabbar-h: calc(64px + env(safe-area-inset-bottom)); }
  .site-nav { display: none; }
  .site-header .wrap { min-height: 60px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .7rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(6, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 60;
    height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom);
    background: var(--green-900); border-top: 1px solid rgba(249,191,45,.25);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: rgba(255,255,255,.72); text-decoration: none;
    font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  }
  .tabbar svg { width: 20px; height: 20px; }
  .tabbar a[aria-current="page"] { color: var(--gold); }
  .tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 6px rgba(249,191,45,.35)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(249,191,45,.16), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 46px, rgba(0,0,0,.05) 46px 92px),
    linear-gradient(180deg, var(--green-800), var(--green-900));
}
.hero::after { /* subtle bottom fringe like the edge of a green */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-600));
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2.5rem; align-items: center; padding: 4.25rem 0 4.5rem; }
.hero--compact .wrap { grid-template-columns: 1fr auto; padding: 3rem 0 3.25rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: .9rem;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.9rem, 8vw, 6.2rem); letter-spacing: .005em; line-height: .9;
  margin: .9rem 0 1.1rem;
}
.hero h1 .gold { color: var(--gold); }
.hero--compact h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: .8rem; }
.lede { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.4; color: rgba(255,255,255,.88); max-width: 40ch; }
.hero-mark { justify-self: end; position: relative; }
.hero-mark img {
  width: min(330px, 34vw); aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 6px var(--gold), 0 0 0 14px rgba(249,191,45,.15), 0 30px 60px -20px rgba(0,0,0,.6);
  transform: rotate(-4deg);
}
.hero--compact .hero-mark img { width: 140px; box-shadow: 0 0 0 4px var(--gold), 0 20px 40px -18px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.status-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
@media (max-width: 760px) {
  .hero .wrap, .hero--compact .wrap { grid-template-columns: 1fr; padding: 2.5rem 0 2.75rem; gap: 1.5rem; }
  .hero-mark { display: none; }
}

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.25rem; min-height: 48px; border-radius: 999px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffcd4a; color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { color: #fff; border-color: var(--gold); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn svg { width: 18px; height: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; line-height: 1.2;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pill-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pill-green { background: var(--green-100); color: var(--green-700); border-color: #c4d6c8; }
.pill-muted { background: var(--paper-2); color: var(--muted); border-color: var(--line); }
.pill-major { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section + .section { padding-top: 0; }
.section-alt { background: var(--paper-2); padding: 4rem 0; }
.section-dark { background: var(--green-900); color: #fff; padding: 4rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2, .h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem); color: var(--green-700);
}
.section-dark .section-head h2 { color: #fff; }
.kicker { font-family: var(--display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--gold-600); margin-bottom: .35rem; display: block; }
.section-dark .kicker { color: var(--gold); }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 60ch; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.link-arrow { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }
@media (max-width: 760px) { .section, .section-alt, .section-dark { padding: 2.75rem 0; } }

/* ---------- Schedule list ---------- */
.schedule { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sched-row {
  display: grid; grid-template-columns: 64px 118px 1fr auto auto; align-items: center; gap: 1.25rem;
  padding: 1rem 1.5rem; border-top: 1px solid var(--line);
  position: relative;
}
.sched-row:first-child { border-top: 0; }
.sched-row.is-major { background: linear-gradient(90deg, rgba(249,191,45,.16), rgba(249,191,45,.04) 60%, transparent); }
.sched-row.is-major::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.rd { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--green-700); line-height: 1; text-align: center; }
.rd small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.date { line-height: 1.1; }
.date .dow { display: block; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.date .dow.sat { color: #a1460b; }
.date .md { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--ink); }
.course-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); line-height: 1; }
.course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.course-meta .sep { color: var(--line-2); }
.tee { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--green-700); text-align: right; white-space: nowrap; }
.tee small { display: block; font-size: .7rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.sched-winner { min-width: 170px; text-align: right; }
.sched-winner .lbl { display: block; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sched-winner a { font-weight: 700; color: var(--ink); text-decoration: none; }
.sched-winner a:hover { color: var(--green-600); text-decoration: underline; }
.trophy { color: var(--gold-600); }
@media (max-width: 900px) {
  .sched-row { grid-template-columns: 52px 1fr auto; grid-template-areas: "rd course tee" "rd date winner"; gap: .35rem 1rem; padding: 1rem 1.1rem; }
  .sched-row .rd { grid-area: rd; align-self: start; font-size: 1.75rem; }
  .sched-row .date { grid-area: date; display: flex; gap: .5rem; align-items: baseline; }
  .sched-row .date .md { font-size: 1.1rem; }
  .sched-row .date .dow { font-size: .78rem; }
  .sched-row .course { grid-area: course; }
  .sched-row .tee { grid-area: tee; font-size: 1.15rem; }
  .sched-row .sched-winner { grid-area: winner; min-width: 0; }
  .course-name { font-size: 1.35rem; }
}
@media (max-width: 480px) {
  .sched-row { grid-template-columns: 44px 1fr auto; grid-template-areas: "rd course tee" "rd date date" "rd winner winner"; }
  .sched-row .sched-winner { text-align: left; display: flex; gap: .4rem; align-items: baseline; }
  .sched-row .sched-winner .lbl { font-size: .7rem; }
}

.schedule-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.schedule-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--gold); display: inline-block; }

/* month-grouped schedule (schedule page) */
.month-group { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.month-group:first-of-type { border-top: 0; padding-top: 0; }
.month-label { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; color: var(--green-700); line-height: .9; position: sticky; top: 90px; align-self: start; }
.month-label small { display: block; font-size: .85rem; letter-spacing: .2em; color: var(--muted); margin-top: .4rem; }
.event-cards { display: grid; gap: 1rem; }
.event-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 112px 1fr auto; overflow: hidden;
}
.event-card.is-major { border-color: var(--gold-600); }
.event-date {
  background: var(--green-700); color: #fff; text-align: center; padding: 1.1rem .75rem;
  display: flex; flex-direction: column; justify-content: center; gap: .1rem;
}
.is-major .event-date { background: var(--ink); color: var(--gold); }
.event-date .dow { font-family: var(--display); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; opacity: .85; }
.event-date .day { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: .9; }
.event-date .mon { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; }
.event-body { padding: 1.1rem 1.4rem; }
.event-body .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.event-body h3 { font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; color: var(--ink); }
.event-body .meta { color: var(--muted); margin-top: .3rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .95rem; }
.event-body .meta strong { color: var(--ink-2); }
.event-side { padding: 1.1rem 1.4rem; display: flex; flex-direction: column; justify-content: center; align-items: end; gap: .6rem; border-left: 1px dashed var(--line); min-width: 210px; }
.event-side .winner-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; text-align: right; }
.event-side .lbl { font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.event-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: end; font-size: .92rem; font-weight: 600; }
@media (max-width: 760px) {
  .month-group { grid-template-columns: 1fr; gap: .75rem; padding: 1.25rem 0; }
  .month-label { position: static; font-size: 1.9rem; display: flex; align-items: baseline; gap: .75rem; }
  .month-label small { margin: 0; }
  .event-card { grid-template-columns: 84px 1fr; }
  .event-date .day { font-size: 2.4rem; }
  .event-side { grid-column: 1 / -1; border-left: 0; border-top: 1px dashed var(--line); align-items: stretch; flex-direction: row; justify-content: space-between; flex-wrap: wrap; min-width: 0; padding: .85rem 1.1rem; }
  .event-side .winner-name { text-align: left; }
  .event-links { justify-content: start; align-items: center; }
  .event-body { padding: 1rem 1.1rem; }
  .event-body h3 { font-size: 1.6rem; }
}

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.stat { background: var(--green-900); padding: 1.25rem 1.4rem; }
.stat .v { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--gold); }
.stat .k { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: rgba(255,255,255,.75); margin-top: .4rem; }
.stats.light { background: var(--line); border-color: var(--line); }
.stats.light .stat { background: var(--card); }
.stats.light .stat .v { color: var(--green-700); }
.stats.light .stat .k { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Champion feature ---------- */
.champ {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(249,191,45,.22), transparent 70%),
    linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: calc(var(--radius) + 6px); padding: 2.25rem; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(8,25,15,.7);
}
.champ::after { content: "LH"; position: absolute; right: -10px; bottom: -60px; font-family: var(--display); font-weight: 900; font-size: 15rem; color: rgba(249,191,45,.07); line-height: 1; pointer-events: none; transform: skew(-12deg); }
.champ-medal {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 45%, var(--gold-600));
  color: var(--ink); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 12px 30px -10px rgba(0,0,0,.6);
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95;
}
.champ-medal b { display: block; font-size: 2.6rem; }
.champ-medal span { font-size: .78rem; letter-spacing: .14em; }
.champ h2 { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.champ .lede { max-width: 52ch; margin: .6rem 0 1.1rem; }
.honors { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.honors li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid rgba(249,191,45,.45); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.honors li b { color: var(--gold); font-weight: 800; }
@media (max-width: 640px) { .champ { grid-template-columns: 1fr; padding: 1.6rem; gap: 1.25rem; } .champ-medal { width: 104px; height: 104px; } .champ-medal b { font-size: 2rem; } }

/* ---------- Cards grid ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }
.link-card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease;
}
.link-card:hover { transform: translateY(-2px); border-color: var(--green-500); color: var(--ink); }
.link-card h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; color: var(--green-700); }
.link-card p { color: var(--muted); margin: 0; }
.link-card .go { margin-top: auto; padding-top: .5rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600); }
.link-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-700); color: var(--gold); }
.link-card .icon svg { width: 24px; height: 24px; }

/* ---------- Leaderboard (top 5) ---------- */
.leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.leader { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: .85rem 1.1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); }
.leader .pos { font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: var(--gold); text-align: center; }
.leader .nm { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.leader .amt { font-family: var(--display); font-weight: 900; font-size: 1.5rem; }
.leader .bar { grid-column: 2 / -1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: -.35rem; }
.leader .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--gold)); border-radius: 3px; }
.leader:first-child { background: rgba(249,191,45,.12); border-color: rgba(249,191,45,.45); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Podium (money page) ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1rem; align-items: end; }
.podium-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.25rem; text-align: center; position: relative; }
.podium-step .place { font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.podium-step .nm { font-family: var(--display); font-weight: 900; font-size: 1.7rem; text-transform: uppercase; line-height: 1; margin: .35rem 0 .5rem; }
.podium-step .amt { font-family: var(--display); font-weight: 900; font-size: 2.6rem; color: var(--green-700); line-height: 1; }
.podium-step .sub { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.podium-step.p1 { background: linear-gradient(180deg, var(--green-700), var(--green-900)); color: #fff; border-color: var(--green-900); padding-top: 2.2rem; padding-bottom: 2rem; }
.podium-step.p1 .place { color: var(--gold); }
.podium-step.p1 .amt { color: var(--gold); font-size: 3.4rem; }
.podium-step.p1 .sub { color: rgba(255,255,255,.75); }
.podium-step.p1::before { content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--paper); }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } .podium .p1 { order: -1; } .podium-step.p1 .amt { font-size: 3rem; } }

/* ---------- Money table ---------- */
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.table-toolbar .hint { color: var(--muted); font-size: .9rem; }
.seg { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; color: var(--muted); cursor: pointer; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--green-700); color: #fff; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.money { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; }
.money th, .money td { padding: .7rem .6rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.money thead th { position: sticky; top: 0; background: var(--green-700); color: #fff; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; line-height: 1.05; vertical-align: bottom; border-bottom: 0; }
.money thead th small { display: block; font-weight: 600; font-size: .7rem; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.money thead th.major { background: var(--ink); color: var(--gold); }
.money .pos { text-align: center; width: 48px; font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--green-700); }
.money .player { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--card); min-width: 190px; box-shadow: 1px 0 0 var(--line); }
.money thead .player, .money thead .pos { z-index: 3; background: var(--green-700); color: #fff; }
.money thead .pos { position: sticky; left: 0; }
.money tbody .pos { position: sticky; left: 0; background: var(--card); z-index: 2; }
.money tbody .player { left: 48px; }
.money thead .player { position: sticky; left: 48px; }
.money .player b { font-weight: 700; }
.money .player small { display: block; color: var(--muted); font-size: .78rem; }
.money td.zero { color: #b3ab97; }
.money td.cash { color: var(--ink); font-weight: 600; }
.money td.cash.win { color: var(--green-700); font-weight: 800; background: rgba(249,191,45,.18); }
.money .sub-col { background: rgba(31,90,58,.05); color: var(--ink-2); }
.money thead th.sub-col { background: var(--green-600); }
.money .total { font-family: var(--display); font-weight: 900; font-size: 1.25rem; color: var(--green-700); background: var(--gold-100); }
.money thead th.total { background: var(--gold); color: var(--ink); }
.money tbody tr:hover td { background-color: #f3efe2; }
.money tbody tr:hover td.total { background: #fbe7ae; }
.money tbody tr.leader-row td { border-bottom-color: var(--line-2); }
.money tbody tr.leader-row .player b::after { content: "★"; color: var(--gold-600); margin-left: .35rem; }
.money tbody tr.is-zero td { color: #9c9584; }
.money tfoot td { font-family: var(--display); font-weight: 800; text-transform: uppercase; background: var(--paper-2); border-bottom: 0; color: var(--ink-2); }
.money tfoot .player { background: var(--paper-2); }
.money tfoot .pos { background: var(--paper-2); position: sticky; left: 0; }
.table-note { padding: .9rem 1.25rem; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); background: var(--paper); }
.table-note p { margin: 0 0 .35rem; }
.table-note p:last-child { margin: 0; }
@media (max-width: 760px) { .money .player { min-width: 150px; } .money tbody .player, .money thead .player { left: 40px; } .money .pos { width: 40px; } }

/* ---------- Results cards ---------- */
.jump { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem 0 .75rem; margin-bottom: 1rem; scrollbar-width: thin; }
.jump a { flex: 0 0 auto; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .7rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--green-700); font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.jump a.major { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.jump a:hover { border-color: var(--green-500); }
.results-filter { margin-bottom: 1.25rem; }

.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .results-grid { grid-template-columns: 1fr; } }
.result-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.result-card[hidden] { display: none; }
.result-card.is-major { grid-column: 1 / -1; border-color: var(--gold-600); }
.rc-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; background: var(--green-700); color: #fff; }
.is-major .rc-head { background: linear-gradient(120deg, var(--ink), var(--green-900)); }
.rc-head .rc-round { font-family: var(--display); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
.rc-head h3 { font-family: var(--display); font-weight: 900; font-size: 1.9rem; text-transform: uppercase; margin-top: .15rem; }
.rc-head .rc-when { color: rgba(255,255,255,.78); font-size: .92rem; margin-top: .2rem; }
.rc-head .tagcol { display: flex; flex-direction: column; align-items: end; gap: .4rem; }
.rc-body { padding: 1.25rem 1.35rem 1.35rem; display: grid; gap: 1.1rem; flex: 1; }
.is-major .rc-body { grid-template-columns: 1.1fr 1fr 1fr; align-items: start; }
@media (max-width: 900px) { .is-major .rc-body { grid-template-columns: 1fr; } }
.winner-block { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: linear-gradient(120deg, var(--gold-100), #fff8e1); border: 1px solid #efd88f; }
.winner-block .cup { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.winner-block .cup svg { width: 26px; height: 26px; }
.winner-block .lbl { font-family: var(--display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; color: #8a6406; }
.winner-block .nm { font-family: var(--display); font-weight: 900; font-size: 1.75rem; text-transform: uppercase; line-height: 1; }
.winner-block .amt { margin-left: auto; font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: var(--green-700); }
.payouts { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.payouts caption { text-align: left; font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--muted); padding-bottom: .4rem; }
.payouts th, .payouts td { padding: .5rem .25rem; border-top: 1px solid var(--line); text-align: left; }
.payouts th { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--green-700); width: 34%; }
.payouts td.amt { text-align: right; font-weight: 700; width: 70px; }
.payouts td.none { color: var(--muted); font-style: italic; }
.scores-pending { border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: .9rem 1rem; color: var(--muted); font-size: .92rem; display: flex; gap: .75rem; align-items: flex-start; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(221,212,189,.18) 10px 20px); }
.scores-pending svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green-600); margin-top: 1px; }
.scores-pending strong { color: var(--ink-2); display: block; }
.scoreboard caption { text-align: left; font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--muted); padding-bottom: .4rem; }
.scoreboard { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.scoreboard th, .scoreboard td { padding: .45rem .25rem; border-top: 1px solid var(--line); text-align: left; }
.scoreboard td.r { text-align: right; font-weight: 700; }
.rc-foot { padding: .8rem 1.35rem; border-top: 1px solid var(--line); background: var(--paper); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; font-size: .9rem; }
.rc-foot .total-purse { color: var(--muted); }
.rc-foot .total-purse b { color: var(--ink); }

/* ---------- Notice ---------- */
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold); color: var(--ink-2); }
.notice svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-600); margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Rules ---------- */
.rules-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: .2rem; }
.toc a { padding: .55rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; border-left: 3px solid transparent; }
.toc a:hover { background: var(--paper-2); border-left-color: var(--gold); color: var(--green-700); }
@media (max-width: 900px) { .rules-layout { grid-template-columns: 1fr; gap: 1.5rem; } .toc { position: static; display: flex; overflow-x: auto; gap: .4rem; } .toc a { flex: 0 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; } }
.rule-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; margin-bottom: 1.25rem; }
.rule-section h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; color: var(--green-700); display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.rule-section h2 .n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.rule-list li { position: relative; padding-left: 1.6rem; font-size: 1.04rem; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.rule-list .since { display: inline-block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--green-700); background: var(--green-100); border-radius: 5px; padding: .08rem .4rem; margin-right: .35rem; vertical-align: 1px; }
.rule-list .aside { display: block; color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.big-number { display: flex; gap: 1.25rem; align-items: center; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; border-radius: var(--radius-sm); background: var(--green-700); color: #fff; }
.big-number .v { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--gold); }
.big-number p { margin: 0; }
.strokes { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(11, 1fr); gap: .4rem; align-items: end; height: 220px; }
.strokes li { display: flex; flex-direction: column; align-items: center; justify-content: end; gap: .35rem; height: 100%; }
.strokes .bar { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--green-500), var(--green-700)); display: flex; align-items: start; justify-content: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.1rem; padding-top: .3rem; min-height: 28px; }
.strokes li:first-child .bar { background: linear-gradient(180deg, var(--gold), var(--gold-600)); color: var(--ink); }
.strokes li.zero .bar { background: var(--paper-2); color: var(--muted); border: 1px dashed var(--line-2); }
.strokes .pl { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: .85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) {
  .strokes { grid-template-columns: 1fr; height: auto; gap: .35rem; }
  .strokes li { flex-direction: row-reverse; justify-content: start; height: auto; }
  .strokes .pl { width: 64px; text-align: left; }
  .strokes .bar { height: 30px !important; width: var(--w); padding: 0 .6rem; align-items: center; justify-content: end; border-radius: 2px 6px 6px 2px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.75); padding: 3rem 0 2.5rem; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.foot-brand { display: flex; gap: 1rem; align-items: center; }
.foot-brand img { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--gold); }
.foot-brand strong { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; color: #fff; letter-spacing: .02em; line-height: 1; }
.foot-brand span { font-family: var(--serif); font-style: italic; color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: end; list-style: none; margin: 0; padding: 0; }
.foot-nav a { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.foot-nav a:hover { color: var(--gold); }
.foot-fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } .foot-nav { justify-content: start; } .site-footer { padding-bottom: calc(2rem + var(--tabbar-h)); } }

/* ---------- Print ---------- */
@media print {
  .site-header, .tabbar, .site-footer, .hero-actions, .jump, .seg { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero { background: #fff; color: #000; }
  .hero::after { display: none; }
  .lede { color: #333; }
  .table-scroll { overflow: visible; }
}

/* ---------- refinements ---------- */
.money th, .money td { padding: .65rem .45rem; }
.money thead th { white-space: normal; min-width: 64px; }
.money thead th.player, .money thead th.pos { white-space: nowrap; }
.money .player small { white-space: normal; max-width: 220px; line-height: 1.3; margin-top: 2px; }
@media (min-width: 1200px) { .table-toolbar .hint { visibility: hidden; } }
@media (max-width: 760px) {
  .podium { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .podium .p1 { grid-column: 1 / -1; }
  .podium-step { padding: 1rem .8rem; }
  .podium-step .nm { font-size: 1.3rem; }
  .podium-step .amt { font-size: 2rem; }
  .podium-step .sub { font-size: .8rem; }
  .money .player small { max-width: 160px; }
}
@media (max-width: 560px) {
  .strokes li { flex-direction: row; }
  .strokes .pl { order: -1; }
}


/* ---------- Motion: hero load + scroll reveals (same language as CMGA) ---------- */
/* Default (no JS): everything is visible. */
.reveal,
.hero-animate {
  opacity: 1;
  transform: none;
}
html.js:not(.reduce-motion) .hero-animate {
  opacity: 0;
  transform: translateY(20px);
}
html.js:not(.reduce-motion) .hero.is-ready .hero-animate {
  animation: fade-up 0.7s var(--ease-out) forwards;
}
html.js:not(.reduce-motion) .hero.is-ready .hero-animate:nth-child(1) { animation-delay: 0.05s; }
html.js:not(.reduce-motion) .hero.is-ready .hero-animate:nth-child(2) { animation-delay: 0.16s; }
html.js:not(.reduce-motion) .hero.is-ready .hero-animate:nth-child(3) { animation-delay: 0.28s; }
html.js:not(.reduce-motion) .hero.is-ready .hero-animate:nth-child(4) { animation-delay: 0.40s; }
html.js:not(.reduce-motion) .hero.is-ready .hero-animate:nth-child(5) { animation-delay: 0.52s; }

html.js:not(.reduce-motion) .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
html.js:not(.reduce-motion) .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

html.reveal-all .reveal,
html.reveal-all .hero-animate {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* ---------- Season winnings: chips, not an empty grid ---------- */
#money-board { background: var(--card); }
.win-list { list-style: none; margin: 0; padding: 0; }
.win-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  grid-template-areas:
    "pos who total"
    "pos chips chips";
  column-gap: 1rem;
  row-gap: 0.15rem;
  padding: 1.15rem 1.35rem 1.25rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.win-row:last-child { border-bottom: 0; }
.win-row.is-leader {
  background: linear-gradient(90deg, rgba(249,191,45,.18), rgba(249,191,45,.04) 55%, transparent);
}
.win-pos {
  grid-area: pos;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--green-700);
  padding-top: .15rem;
  line-height: 1;
}
.win-who { grid-area: who; min-width: 0; }
.win-who .nm {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}
.win-who .honors-line {
  color: var(--muted);
  font-size: .85rem;
  margin-top: .25rem;
}
.win-total {
  grid-area: total;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1;
  white-space: nowrap;
  padding-top: .05rem;
}
.win-chips {
  grid-area: chips;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
}
.payout-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: .4rem .7rem .45rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  min-width: 6.75rem;
}
a.payout-chip:hover { border-color: var(--green-500); color: var(--ink); text-decoration: none; }
.payout-chip.is-win {
  background: var(--gold-100);
  border-color: #efd88f;
}
.payout-chip.is-major:not(.is-win) {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}
.payout-chip.is-major:not(.is-win) .pc-date,
.payout-chip.is-major:not(.is-win) .pc-why { color: rgba(255,255,255,.7); }
.payout-chip.is-major:not(.is-win) .pc-amt { color: var(--gold); }
.payout-chip .pc-date {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--muted);
}
.payout-chip .pc-ev {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .95rem;
  line-height: 1.1;
}
.payout-chip .pc-amt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
  margin-top: .12rem;
}
.payout-chip .pc-why {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .08rem;
}
.payout-chip.is-win .pc-amt { color: var(--ink); }
.payout-chip.is-cat {
  min-width: 0;
  flex-direction: row;
  align-items: baseline;
  gap: .45rem;
  padding: .4rem .75rem;
}
.payout-chip.is-cat .pc-ev { font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.payout-chip.is-cat .pc-amt { margin: 0; font-size: 1.2rem; }
.win-none {
  padding: 1rem 1.35rem;
  color: var(--muted);
  font-size: .92rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.win-none strong { color: var(--ink-2); font-weight: 600; }

/* By event: only players who cashed that week */
.purse-list { display: grid; }
.purse-card { border-bottom: 1px solid var(--line); }
.purse-card:last-child { border-bottom: 0; }
.purse-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem 1.25rem;
  padding: .85rem 1.35rem;
  background: var(--green-700);
  color: #fff;
}
.purse-card.is-major .purse-head {
  background: var(--ink);
  color: var(--gold);
}
.purse-head .ph-round {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--gold);
  display: block;
}
.purse-head h3 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.45rem;
  color: #fff;
  margin-top: .1rem;
}
.purse-card.is-major .purse-head h3 { color: var(--gold); }
.purse-head .ph-when { color: rgba(255,255,255,.75); font-size: .88rem; }
.purse-head .ph-purse {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.45rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.purse-card.is-major .purse-head .ph-purse { color: var(--gold); }
.purse-head .ph-purse small {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.purse-rows { margin: 0; padding: 0; list-style: none; }
.purse-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .5rem 1rem;
  align-items: baseline;
  padding: .7rem 1.35rem;
  border-top: 1px solid var(--line);
}
.purse-row.is-win { background: rgba(249,191,45,.14); }
.purse-row .pr-name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.purse-row .pr-why { color: var(--muted); font-size: .88rem; }
.purse-row .pr-amt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
@media (max-width: 600px) {
  .win-row {
    grid-template-columns: 2.4rem 1fr auto;
    padding: 1rem 1rem 1.1rem;
    column-gap: .7rem;
  }
  .win-who .nm { font-size: 1.2rem; }
  .win-total { font-size: 1.45rem; }
  .win-pos { font-size: 1.25rem; }
  .payout-chip { min-width: 5.8rem; padding: .35rem .55rem .4rem; }
  .purse-head { padding: .75rem 1rem; }
  .purse-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name amt" "why amt";
    padding: .65rem 1rem;
  }
  .purse-row .pr-name { grid-area: name; }
  .purse-row .pr-why { grid-area: why; }
  .purse-row .pr-amt { grid-area: amt; align-self: center; }
}

/* ---------- Six-item nav: keep the bar on one line at mid widths ---------- */
@media (max-width: 1140px) and (min-width: 761px) {
  .brand-sub { display: none; }
  .site-nav a { padding: .5rem .55rem; font-size: .92rem; letter-spacing: .04em; }
}

/* ---------- Season points ---------- */
.win-total .pts-unit {
  display: inline-block;
  margin-left: .28em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 0.25em;
}
.win-row.is-leader .win-total .pts-unit { color: var(--green-700); opacity: .7; }
.tc-strokes {
  display: block;
  margin-top: .35rem;
  font-family: var(--sans, inherit);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.payout-chip.is-zero { opacity: .72; }
.payout-chip.is-zero .pc-amt { color: var(--muted); }
.podium-step .amt .pts-unit {
  display: block;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-top: .2rem;
}
.podium-step.p1 .amt .pts-unit { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ---------- Season archive ---------- */
.archive-bar { background: var(--gold); color: var(--ink); border-bottom: 1px solid var(--gold-600); }
.archive-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.25rem; padding: .55rem 0; }
.archive-bar p { margin: 0; }
.ab-label { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; font-size: .95rem; }
.ab-label strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.ab-tag { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; background: var(--green-700); color: var(--gold); border-radius: 999px; padding: .2rem .6rem; }
.ab-sub { color: var(--ink-2); }
.ab-links { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.ab-links a { color: var(--green-700); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.ab-links a:hover { color: var(--ink); text-decoration: underline; }
.ab-links svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .ab-sub { display: none; } .archive-bar .wrap { padding: .5rem 0; } }

.archive-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.archive-links a { display: inline-flex; align-items: center; padding: .45rem .85rem; border-radius: var(--radius-sm); border: 1px solid rgba(249,191,45,.45); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; background: rgba(255,255,255,.04); }
.archive-links a:hover { border-color: var(--gold); color: var(--gold); }
.season-card .archive-links a { color: var(--green-700); border-color: var(--line-2); background: var(--paper); }
.season-card .archive-links a:hover { border-color: var(--green-500); color: var(--green-600); }

.season-card { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.sc-year { display: grid; place-items: center; text-align: center; width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; box-shadow: 0 0 0 4px var(--gold); font-family: var(--display); text-transform: uppercase; line-height: 1; }
.sc-year span { display: block; font-size: .78rem; letter-spacing: .2em; color: var(--gold); font-weight: 800; }
.sc-year b { display: block; font-size: 2.9rem; font-weight: 900; }
.sc-lede { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1rem; }
.sc-honors li { background: var(--green-700); color: #fff; }
@media (max-width: 640px) { .season-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.4rem; } .sc-year { width: 104px; height: 104px; } .sc-year b { font-size: 2.2rem; } }

/* ---------- Empty states (a season with no schedule or results yet) ---------- */
.empty-state { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.75rem 1.6rem; border-radius: var(--radius); border: 1.5px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(221,212,189,.16) 12px 24px), var(--card); color: var(--ink-2); }
.empty-state .es-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-700); color: var(--gold); }
.empty-state .es-icon svg { width: 26px; height: 26px; }
.empty-state h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.7rem; color: var(--green-700); margin: 0 0 .3rem; line-height: 1.05; }
.empty-state p { margin: 0 0 .6rem; color: var(--muted); max-width: 60ch; }
.empty-state .link-arrow { font-size: 1rem; white-space: normal; }
.table-card .empty-state { border: 0; border-radius: 0; }
@media (max-width: 480px) { .empty-state { flex-direction: column; padding: 1.4rem 1.2rem; gap: .8rem; } }

/* Screen-reader-only tables: keep them from widening the page on phones */
table.visually-hidden { top: 0; left: 0; }
.rule-section { position: relative; overflow-x: clip; }
[hidden] { display: none !important; }
