:root {
  --ink: #17241e;
  --muted: #5d6b63;
  --cream: #f3eee4;
  --paper: #fbf8f2;
  --line: rgba(23, 36, 30, 0.1);
  --green: #143528;
  --green-2: #1e5c40;
  --gold: #c6a15a;
  --gold-2: #f0e2bc;
  --shadow: 0 18px 50px rgba(20, 40, 28, 0.1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(198, 161, 90, 0.16), transparent 60%),
    var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

a { color: inherit; }

img { max-width: 100%; }

button, input { font: inherit; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.mast {
  color: var(--gold-2);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, #10291f 0%, var(--green) 70%, #1a4634 100%);
  padding: 28px 0 78px;
}

.mast.is-compact { padding-bottom: 56px; }

.mast-bar,
.mast-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.flag {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(240, 226, 188, 0.45);
  background: #1d6b43;
  position: relative;
  flex: none;
}

.flag::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 9px;
  width: 2px;
  height: 28px;
  background: #f7f1e4;
}

.flag::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  border-style: solid;
  border-width: 6px 0 6px 13px;
  border-color: transparent transparent transparent var(--gold);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.brand h1,
.display {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.brand h1 {
  margin: 0;
  font-size: 34px;
  line-height: 0.9;
  color: #f7f3ea;
}

.mast-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}

.mast-bar .brand { justify-self: start; }

.mast-bar .account { justify-self: end; }

.seasons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-self: center;
}

.seasons .season-link:not(:last-child) { display: none; }

.seasons .season-link { min-width: 112px; }

.season-select {
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: #f7f3ea;
  border: 1px solid rgba(244, 239, 228, 0.32);
  border-radius: 999px;
  padding: 8px 28px 8px 14px;
  margin: 0;
  min-width: 112px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f7f3ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.season-select.is-on {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #241b0c;
  font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23241b0c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
}

.season-select option,
.season-select optgroup {
  background-color: var(--paper);
  color: var(--ink);
}

.season-select option:disabled {
  background-color: var(--paper);
  color: var(--muted);
}

.seasons .season-link:last-child {
  position: relative;
  margin-left: 11px;
}

.seasons .season-link:last-child::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(244, 239, 228, 0.32);
}

.season-link,
.filter,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 239, 228, 0.32);
  color: #f7f3ea;
  background: transparent;
  cursor: pointer;
}

.season-link[aria-current="page"],
.filter.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #241b0c;
  font-weight: 600;
}

.mast-foot { margin-top: 34px; align-items: flex-end; }

.mast-foot h2 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #f7f3ea;
}

.rule {
  margin: 0;
  max-width: 280px;
  text-align: right;
  color: rgba(247, 243, 234, 0.82);
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: -52px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
  min-height: 176px;
}

.podium-card:nth-child(1) { order: 2; padding-top: 26px; padding-bottom: 82px; }
.podium-card:nth-child(2) { order: 1; padding-bottom: 50px; }
.podium-card:nth-child(3) { order: 3; }

.podium-card { transition: transform 0.18s ease; }
.podium-card:hover { transform: translateY(-4px); }

.watermark {
  position: absolute;
  right: 8px;
  bottom: -34px;
  font-family: var(--serif);
  font-size: 132px;
  line-height: 1;
  color: rgba(20, 53, 40, 0.07);
  pointer-events: none;
}

.podium-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1;
}
.podium-avatar {
  position: relative;
  display: block;
  flex: none;
  width: 64px;
  height: 64px;
}
.podium-card.is-place-2 .podium-avatar { width: 72px; height: 72px; }
.podium-card.is-place-1 .podium-avatar { width: 112px; height: 112px; }
.podium-avatar .monogram {
  width: 100%;
  height: 100%;
  font-size: 22px;
  border-width: 3px;
}
.podium-card.is-place-2 .podium-avatar .monogram { font-size: 25px; }
.podium-card.is-place-1 .podium-avatar .monogram { font-size: 38px; }
.podium-crown {
  position: absolute;
  top: -10px;
  left: 56%;
  width: 38px;
  height: 26px;
  transform: rotate(26deg);
  transform-origin: 40% 85%;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(40, 28, 6, 0.35));
}
.podium-crown svg { display: block; width: 100%; height: 100%; overflow: visible; }

.podium-card .who {
  position: relative;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.podium-card .points {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.podium-card .points span,
.meta,
.muted { color: var(--muted); font-weight: 500; font-size: 13px; font-family: var(--sans); }

.medal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  flex: none;
}

.medal.lg { width: 42px; height: 42px; font-size: 18px; }

.m1 { background: linear-gradient(145deg, #f8e7a8, #b7892e); color: #3a2a08; }
.m2 { background: linear-gradient(145deg, #fbfbfb, #b7c0c9); color: #2a3136; }
.m3 { background: linear-gradient(145deg, #f0c09a, #8d552c); color: #2d180e; }
.mn { background: #e8e2d6; color: #3d4a43; }

.paper {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.board { margin-top: 18px; overflow: hidden; }

.board-head {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  padding: 14px 18px 4px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.board-head span:last-child { text-align: right; }

.board-row,
.result,
.round-top,
.dir-card,
.player-hero {
  display: grid;
  align-items: center;
}

.board-row {
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.board-row:hover,
.result:hover,
.round:hover { background: rgba(30, 92, 64, 0.04); }

.person { display: flex; flex-direction: column; min-width: 0; }
.person strong { font-size: 18px; font-weight: 600; }
.score-lg {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  text-align: right;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 54px 0 16px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.events { display: grid; gap: 22px; }

.event {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) 1.15fr;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
  min-width: 0;
  max-width: 100%;
}

.event-photo {
  position: relative;
  min-height: 240px;
  background-color: #1c3d2e;
  background-size: cover;
  background-position: center;
}

.event-photo .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 15, 0.05) 10%, rgba(8, 20, 15, 0.82) 100%);
}

.event-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #f7f3ea;
}

.event-copy p { margin: 0; }
.event-copy h3 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.winner { color: var(--gold-2); }
.winner a { color: inherit; }

.results { padding: 8px 8px 12px; }

.result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  min-width: 0;
  max-width: 100%;
}

.result > :first-child { flex: 0 0 34px; }
.result a,
.result-head > :nth-child(2) { flex: 1 1 auto; min-width: 0; }
.result .num { flex: 0 0 48px; width: 48px; }

.result a {
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result a:hover { text-decoration: underline; text-underline-offset: 3px; }

.result-head {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.num { text-align: right; font-variant-numeric: tabular-nums; }
.num small, .round-nums small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.stig { font-weight: 600; color: var(--green-2); }

.absent {
  margin: 4px 12px 10px;
  color: var(--muted);
  font-size: 14px;
}

.absent a { color: inherit; }

.site-foot {
  width: min(1080px, calc(100% - 32px));
  margin: 28px auto 40px;
  color: var(--muted);
  font-size: 14px;
}

.player-sheet { margin-top: -36px; padding: 28px 22px 18px; }

.back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-2);
  font-weight: 600;
  text-decoration: none;
}

.back:hover { text-decoration: underline; }

.player-hero {
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.monogram {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #2f8a5b, var(--green));
  color: #f7f3ea;
  font-family: var(--serif);
  font-size: 32px;
  border: 3px solid #c6a15a;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.monogram img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.player-hero h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat { padding: 18px 8px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat span { display: block; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.stat strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--green);
}

.note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.filter { color: var(--ink); border-color: #d9d0c0; background: transparent; }

.season-block { margin-top: 22px; }
.season-block h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}
.season-block h3 a {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.season-block h3 a { color: var(--green-2); text-decoration: none; }

.rounds { display: grid; gap: 8px; }

.round {
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: #f7f3ea;
}

.round-top { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; }
.round-top .course { font-weight: 600; }
.round-nums { display: flex; gap: 16px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.tags { display: flex; gap: 6px; margin-top: 3px; }
.tags:empty { display: none; }
.tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(30, 92, 64, 0.1);
  color: var(--green-2);
}
.tag.gold { background: rgba(198, 161, 90, 0.28); color: #6d5316; }

.honors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dir-card .honors { margin-top: 6px; }
.honor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px 3px 6px;
}
.honor svg { width: 11px; height: 11px; flex: none; }
.honor.honor-att { background: rgba(198, 161, 90, 0.28); color: #6d5316; }
.honor.honor-avg { background: rgba(30, 92, 64, 0.1); color: var(--green-2); }

.honors-pins { display: none; }

.honor-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 96px;
  text-align: center;
}
.pin-face {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pin-face svg { width: 22px; height: 22px; }
.honor-pin.honor-att { color: #6d5316; }
.honor-pin.honor-avg { color: var(--green-2); }
.honor-pin.honor-att .pin-face {
  background: radial-gradient(circle at 32% 28%, #fff8e8, var(--gold-2) 42%, #d4b36a 100%);
  border: 2.5px solid #b8944a;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.7),
    inset 0 -3px 4px rgba(109, 83, 22, 0.18),
    0 1px 0 #8d6a28,
    0 4px 8px rgba(20, 40, 28, 0.16);
}
.honor-pin.honor-avg .pin-face {
  background: radial-gradient(circle at 32% 28%, #f6faf6, #d7e6d8 42%, #b7cfc0 100%);
  border: 2.5px solid var(--green-2);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.7),
    inset 0 -3px 4px rgba(30, 92, 64, 0.16),
    0 1px 0 #143528,
    0 4px 8px rgba(20, 40, 28, 0.16);
}
.pin-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.pin-season { display: block; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }

@media (min-width: 801px) {
  .player-hero .honors { display: none; }
  .player-hero:has(.honors-pins) {
    grid-template-columns: auto 1fr 33.333%;
    align-items: center;
  }
  .player-hero .honors-pins {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    width: 100%;
    justify-self: stretch;
  }
}

.bar { height: 5px; margin-top: 10px; border-radius: 99px; background: #e5dece; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), #8fbf6a); border-radius: inherit; }
.round.is-win .bar i { background: linear-gradient(90deg, #8d6a28, var(--gold)); }

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -36px; }

.dir-card {
  grid-template-columns: auto 1fr;
  gap: 12px;
  text-decoration: none;
  background: var(--paper);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.dir-card:hover { transform: translateY(-3px); }
.dir-card .monogram { width: 58px; height: 58px; font-size: 22px; }
.dir-card strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 560; }

.others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.others a {
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 92, 64, 0.35);
}

.empty {
  margin-top: -36px;
  padding: 28px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .podium { grid-template-columns: 1fr 1fr; }
  .podium-card:nth-child(1) { order: 1; grid-column: 1 / -1; min-height: 0; padding-top: 22px; padding-bottom: 18px; }
  .podium-card:nth-child(2) { order: 2; min-height: 0; padding-bottom: 18px; }
  .podium-card:nth-child(3) { order: 3; min-height: 0; }
  .podium-head { justify-content: flex-start; gap: 12px; }
  .podium-card.is-place-1 .podium-head { justify-content: space-between; }
  .podium-card.is-place-1 .podium-avatar { width: 100px; height: 100px; }
  .podium-card.is-place-2 .podium-avatar,
  .podium-card.is-place-3 .podium-avatar { width: 58px; height: 58px; }
  .podium-card.is-place-1 .podium-avatar .monogram { font-size: 34px; }
  .podium-card.is-place-2 .podium-avatar .monogram,
  .podium-card.is-place-3 .podium-avatar .monogram { font-size: 20px; }
  .podium-crown { width: 34px; height: 23px; top: -9px; }
  .event { grid-template-columns: 1fr; }
  .result { gap: 6px; padding: 8px 6px; }
  .result .num { flex-basis: 40px; width: 40px; }
  .rule { text-align: left; }
  .roster { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .player-hero > div:last-child,
  .round-top > div { min-width: 0; }
  .round-top { grid-template-columns: 34px minmax(0, 1fr); }
  .round-nums {
    grid-column: 2;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 4px;
  }
  .meta, .course { overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  .mast-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    grid-template-columns: none;
  }
  .mast-bar .brand,
  .mast-bar .account { justify-self: auto; }
  .seasons { justify-content: center; justify-self: auto; width: 100%; align-items: center; flex-wrap: nowrap; }
  .seasons .season-link { flex: 0 1 100px; min-width: 0; padding-left: 6px; padding-right: 6px; }
  .seasons .season-link:not(:last-child) { display: none; }
  .mast-bar { position: relative; }
  .seasons .season-link:last-child { margin-left: 0; }
  .seasons .season-link:last-child::before { display: none; }
  .account { position: absolute; top: 4px; right: 0; }
  .season-select { min-width: 132px; max-width: 58%; }
}

.account { display: flex; gap: 8px; align-items: center; }
.account .season-link { min-width: 0; }
button.season-link { font: inherit; }

.event-social {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 12px 16px 14px;
  background: #f7f3ea;
}

.like-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.like {
  border: 1px solid #d9d0c0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.like.is-on {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-2);
}

.like:disabled { opacity: 0.55; cursor: default; }
.like-count { font-variant-numeric: tabular-nums; font-weight: 600; }
.like-names { color: var(--muted); font-size: 14px; }
.event-social a { color: var(--green-2); }

.comments { display: grid; gap: 12px; }
.comments:empty { display: none; }
.comments:not(:empty) { margin-top: 10px; }

.comment {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
}
.comment .monogram {
  width: 36px;
  height: 36px;
  font-size: 14px;
  border-width: 2px;
}
.comment-avatar-link {
  display: block;
  width: 36px;
  height: 36px;
  text-decoration: none;
}
.comment-body { min-width: 0; }
.comment-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.comment-top strong { font-weight: 600; }
.comment-text { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.react-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  position: relative;
}
.comment-body .react-row { margin-top: 6px; }
.react-chip,
.react-add {
  border: 1px solid #d9d0c0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 8px;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.react-chip.is-on,
.react-add.is-open {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-2);
}
.react-chip .react-n { font-variant-numeric: tabular-nums; font-weight: 600; }
.react-add { padding: 3px 9px; color: var(--muted); }
.react-add:disabled { opacity: 0.55; cursor: default; }
.react-picker-wrap {
  flex: 1 0 100%;
}
.react-picker {
  display: flex;
  gap: 2px;
  width: max-content;
  margin-top: 2px;
  padding: 4px;
  background: #fff;
  border: 1px solid #d9d0c0;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.react-picker button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.react-picker button:hover,
.react-picker button.is-on { background: var(--gold-2); }
.react-picker button.is-on { box-shadow: inset 0 0 0 2px var(--green); }
.react-pop {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  z-index: 7;
  min-width: max-content;
  max-width: 220px;
  padding: 6px 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9d0c0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}
.react-chip:hover .react-pop,
.react-chip.is-open .react-pop { display: block; }

.text-btn {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.comment-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.comment-form textarea { flex: 1; min-width: 0; resize: vertical; min-height: 44px; }
.comment-gate { margin: 10px 0 0; }
.social-banner { margin: 0 0 12px; }

.auth-card {
  max-width: 480px;
  margin: -36px auto 0;
  padding: 28px 24px 22px;
}

.auth-card h2 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-weight: 600; }

.field input,
.field select,
.comment-form textarea {
  font-weight: 500;
  border: 1px solid #d9d0c0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.auth-submit {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--green);
  color: #f7f3ea;
  font-weight: 600;
  cursor: pointer;
}

.auth-submit:disabled { opacity: 0.6; cursor: default; }
.form-error { min-height: 1.2em; margin: 10px 0 0; color: #8c2f2f; font-weight: 600; }

@media (max-width: 560px) {
  .comment-form { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .podium-card:hover,
  .dir-card:hover { transform: none; }
}