@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090a0c;
  --bg-2: #111318;
  --ink: #f3f0e7;
  --muted: #9b968c;
  --line: rgba(243, 240, 231, 0.16);
  --acid: #e4ff47;
  --cyan: #7ad7ff;
  --heat: #ff4d2e;
  --paper: #f4f1ea;
  --paper-ink: #141414;
  --header: 72px;
  --sans: "Syne", "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --text: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Syne", sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: var(--acid); color: #111; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--acid);
  color: #111;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
  padding: 0 28px;
  background: rgba(9, 10, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.top.is-stuck { border-bottom-color: var(--line); }
.mark {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: 18px;
}
.mark i {
  color: var(--acid);
  font-style: normal;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a, .ext {
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a.is-on, .nav a:hover, .ext:hover { color: var(--ink); }
.nav a.is-on { color: var(--acid); }
.language-picker { flex: 0 0 auto; }
.language-picker select {
  max-width: 108px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 28px 6px 11px;
  background: #111318;
  color: var(--ink);
  font: 700 12px/1.4 var(--sans);
  cursor: pointer;
}
.ext, .nav-button {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.menu {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-gridlayer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 240, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 240, 231, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 68%);
  pointer-events: none;
}
.eyebrow, .kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin: 0;
  position: relative;
}
.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  margin-top: auto;
  padding-bottom: 18px;
}
h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(4.6rem, 13vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
h1 .stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 240, 231, 0.88);
}
.portrait {
  justify-self: end;
  width: 196px;
}
.portrait img {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(228, 255, 71, 0.7), 18px 18px 0 rgba(122, 215, 255, 0.16);
}
.portrait figcaption {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  text-align: right;
}
.lede {
  position: relative;
  max-width: 38rem;
  font-size: 1.15rem;
  margin: 8px 0 28px;
}
.disciplines {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.disciplines a {
  text-decoration: none;
  padding: 18px 16px 22px;
  border-right: 1px solid var(--line);
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.disciplines a:last-child { border-right: 0; }
.disciplines a:hover { background: rgba(228, 255, 71, 0.06); }
.disciplines em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--acid);
}
.disciplines strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.marquee {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.marquee b { color: var(--ink); font-weight: 700; }
@keyframes ticker { to { transform: translateX(-50%); } }

.chapter {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 88px 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
}
.chapter-index {
  position: sticky;
  top: 96px;
  align-self: start;
  font-family: var(--sans);
}
.chapter-index span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--acid);
}
.chapter-index strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.chapter h2 {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.chapter .en {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin: -8px 0 22px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 42px;
  align-items: start;
}
.prose p { margin: 0 0 1em; }
.prose a { color: var(--acid); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
.stats div { background: var(--bg); padding: 16px; }
.stats b {
  display: block;
  font-family: var(--sans);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.attempts { list-style: none; margin: 0; padding: 0; }
.attempts li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.attempts li:last-child { border-bottom: 1px solid var(--line); }
.attempts em {
  grid-row: span 2;
  font-family: var(--sans);
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.attempts span { font-family: var(--sans); font-size: 1.2rem; }
.attempts b { font-weight: 500; color: var(--muted); }
.attempts .done span, .attempts .done em { color: var(--acid); }
.attempts .done b { color: var(--ink); }

#run { background:
  radial-gradient(900px 320px at 90% 0%, rgba(122, 215, 255, 0.09), transparent 60%),
  var(--bg); }
.pace {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.pace i {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform-origin: left;
}
.pace i:nth-child(1) { width: 92%; }
.pace i:nth-child(2) { width: 74%; opacity: 0.7; }
.pace i:nth-child(3) { width: 58%; opacity: 0.45; }
.note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin-top: 18px;
}

#tennis {
  background: var(--paper);
  color: var(--paper-ink);
}
#tennis .chapter-index span { color: var(--heat); }
#tennis .en, #tennis .note { color: #5e5a53; }
#tennis .attempts, #tennis .attempts li { border-color: rgba(20, 20, 20, 0.14); }
.court-wrap { display: grid; gap: 18px; }
.court {
  position: relative;
  overflow: hidden;
  height: 280px;
  border: 2px solid #171717;
  background:
    linear-gradient(#171717, #171717) center/2px 100% no-repeat,
    linear-gradient(#171717, #171717) center/42% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(20, 20, 20, 0.04) 19px);
}
.court::before, .court::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 16%;
  bottom: 16%;
  border: 2px solid #171717;
}
.court::after {
  left: 28%;
  right: 28%;
  top: 16%;
  bottom: 16%;
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
  background:
    linear-gradient(#171717, #171717) 0 32% / 100% 2px no-repeat,
    linear-gradient(#171717, #171717) 0 68% / 100% 2px no-repeat;
}
.ball {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
  offset-path: path("M 36 210 C 90 40, 180 30, 250 150");
  offset-rotate: 0deg;
  animation: rally 2.8s cubic-bezier(.4, .1, .2, 1) infinite alternate;
  z-index: 1;
}
@keyframes rally { to { offset-distance: 100%; } }
.scores {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.scores span:last-child { color: var(--heat); }

#aidc { background:
  radial-gradient(700px 280px at 0% 100%, rgba(228, 255, 71, 0.06), transparent 55%),
  var(--bg); }
.racks {
  display: grid;
  gap: 8px;
}
.ru {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-family: var(--sans);
  letter-spacing: 0.14em;
  font-size: 12px;
}
.leds { display: flex; gap: 6px; }
.leds i {
  width: 28px;
  height: 8px;
  background: #1c2128;
  display: block;
  position: relative;
  overflow: hidden;
}
.leds i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  animation: scan 2.4s ease-in-out infinite;
}
.ru:nth-child(2) .leds i::after { animation-delay: .2s; }
.ru:nth-child(3) .leds i::after { animation-delay: .45s; }
.ru:nth-child(4) .leds i::after { animation-delay: .7s; }
.ru:nth-child(3) .leds i::after { background: var(--acid); }
@keyframes scan {
  0%, 20% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}
.aidc-points { margin: 18px 0 0; padding: 0; list-style: none; }
.aidc-points li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.aidc-points b { font-family: var(--sans); font-weight: 700; }

.quote {
  margin: 0;
  padding: 72px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.quote span {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--muted);
}

.journal { padding: 72px 28px 40px; border-top: 1px solid var(--line); scroll-margin-top: var(--header); }
.journal h2 {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 8px;
  letter-spacing: -0.04em;
}
.entries { list-style: none; margin: 28px 0 0; padding: 0; }
.entries a {
  display: grid;
  grid-template-columns: 120px 88px minmax(0, 1fr);
  gap: 16px;
  text-decoration: none;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.entries li:last-child a { border-bottom: 1px solid var(--line); }
.entries a:hover { color: var(--acid); }
.entries time, .entries em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.entries a:hover time, .entries a:hover em { color: inherit; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--ink); text-underline-offset: 3px; }
.footer-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
  font: 700 12px/1 var(--sans);
  letter-spacing: .08em;
}
.footer-button:hover { border-color: var(--acid); color: var(--acid); }

.community-section {
  padding: 84px 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
}
.community-page[hidden] { display: none; }
.community-pager {
  position: sticky;
  top: var(--header);
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #090a0c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.community-pager a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 28px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--sans);
  border-right: 1px solid var(--line);
}
.community-pager a:last-child { border-right: 0; }
.community-pager a em { color: var(--acid); font-style: normal; font-size: 11px; }
.community-pager a.is-active { background: var(--acid); color: #111; }
.community-pager a.is-active em { color: #111; }
.sport-log { background: #eef1f4; color: #17191d; }
.sport-party { background: #0e1116; }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 34px; }
.section-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.section-head p:not(.section-code) { max-width: 48rem; margin: 16px 0 0; color: #60656c; }
.sport-party .section-head p:not(.section-code) { color: var(--muted); }
.section-code { color: #738100; font: 700 12px/1 var(--sans); letter-spacing: .18em; }
.sport-party .section-code { color: var(--acid); }
.section-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sport-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  border: 1px solid rgba(20,25,30,.16);
}
.sport-overview article { padding: 22px; border-right: 1px solid rgba(20,25,30,.16); }
.sport-overview article:last-child { border-right: 0; }
.sport-overview span { color: #738100; font: 700 11px/1 var(--sans); letter-spacing: .14em; }
.sport-overview h3 { margin: 14px 0 8px; font: 800 1.55rem/1 var(--sans); }
.sport-overview p { margin: 0; color: #5e646b; font-size: 14px; }
.ui-button, .icon-button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: 700 12px/1 var(--sans);
  letter-spacing: .08em;
  padding: 12px 16px;
  cursor: pointer;
}
.ui-button.primary { background: var(--acid); border-color: var(--acid); color: #111; }
.ui-button.ghost { opacity: .72; }
.ui-button:hover, .icon-button:hover { opacity: .75; }
.public-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(20,25,30,.16); margin-bottom: 26px; }
.public-stats div { padding: 18px; border-right: 1px solid rgba(20,25,30,.16); }
.public-stats div:last-child { border-right: 0; }
.public-stats b { display: block; font: 800 1.8rem/1 var(--sans); }
.public-stats span { display: block; margin-top: 8px; color: #6a7078; font-size: 13px; }
.calendar-shell { border: 1px solid rgba(20,25,30,.2); background: #fff; }
.calendar-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 20px; border-bottom: 1px solid rgba(20,25,30,.15); }
.calendar-toolbar strong { min-width: 170px; text-align: center; font-family: var(--sans); }
.icon-button { padding: 8px 11px; color: #20242a; }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-week span { padding: 9px; text-align: center; color: #777d84; font-size: 12px; }
.calendar-day { position: relative; min-height: 104px; border-top: 1px solid rgba(20,25,30,.12); border-right: 1px solid rgba(20,25,30,.12); padding: 8px; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.is-other { color: #aeb3b8; background: #f7f8f9; }
.calendar-day.is-today .day-number { background: #17191d; color: #fff; }
.day-number { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font: 700 12px/1 var(--sans); }
.workout-chip { display: block; margin-top: 5px; padding: 4px 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: #dff0a2; color: #2b330c; font-size: 11px; border: 0; width: 100%; text-align: left; cursor: pointer; }
.section-note { color: #697078; font-size: 13px; }
.party-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.party-card { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; min-height: 270px; }
.party-card .party-type { color: var(--acid); font: 700 11px/1 var(--sans); letter-spacing: .16em; }
.party-card h3 { font: 800 1.5rem/1.1 var(--sans); margin: 16px 0 10px; }
.party-meta { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14px; }
.party-meta li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.party-note { color: var(--ink); font-size: 14px; }
.party-card .party-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 8px; }
.empty-state { color: var(--muted); }
.page-back { margin-top: 28px; }
.app-dialog { width: min(520px, calc(100% - 28px)); border: 1px solid var(--line); background: #111318; color: var(--ink); padding: 30px; box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.app-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }
.app-dialog h3 { margin: 6px 0 22px; font: 800 1.6rem/1 var(--sans); }
.app-dialog form { display: grid; gap: 14px; }
.app-dialog label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.app-dialog input, .app-dialog select { width: 100%; background: #090a0c; border: 1px solid var(--line); color: var(--ink); padding: 11px 12px; border-radius: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dialog-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.dialog-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 8px 0; margin-right: 18px; cursor: pointer; }
.dialog-tabs button.is-active { color: var(--acid); border-bottom-color: var(--acid); }
.form-error { min-height: 20px; margin: 0; color: #ff8a76; font-size: 13px; }
.miss {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 900px) {
  .top { gap: 10px; padding-inline: 16px; }
  .menu { display: inline-block; }
  .nav { display: none; }
  .top.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 12;
    left: 0;
    right: 0;
    top: var(--header);
    background: rgba(9, 10, 12, 0.96);
    padding: 12px 28px 22px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  #tennis .top.nav-open .nav,
  .top.nav-open .nav { background: #090a0c; }
  .hero-main, .split, .chapter, .entries a { grid-template-columns: 1fr; }
  .chapter-index { position: static; display: flex; gap: 12px; align-items: baseline; }
  .portrait { justify-self: start; }
  .disciplines { grid-template-columns: 1fr 1fr; }
  .disciplines a:nth-child(odd) { border-right: 1px solid var(--line); }
  .disciplines a:nth-child(1), .disciplines a:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .entries a { grid-template-columns: 1fr; gap: 4px; }
  .section-head { align-items: start; flex-direction: column; }
  .party-grid { grid-template-columns: 1fr; }
  .sport-overview { grid-template-columns: 1fr; }
  .sport-overview article { border-right: 0; border-bottom: 1px solid rgba(20,25,30,.16); }
  .sport-overview article:last-child { border-bottom: 0; }
  .public-stats { grid-template-columns: 1fr 1fr; }
  .public-stats div:nth-child(2) { border-right: 0; }
  .public-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(20,25,30,.16); }
  .calendar-day { min-height: 72px; padding: 4px; }
  .workout-chip { font-size: 0; height: 8px; padding: 0; }
}

@media (max-width: 520px) {
  .community-section { padding-left: 16px; padding-right: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .calendar-week span { padding: 6px 2px; }
  .calendar-day { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .ball, .leds i::after { animation: none; }
  .ball { offset-distance: 40%; }
  .leds i::after { transform: none; opacity: 0.85; }
}
