:root {
  --ink: #070912;
  --ink-2: #0d1120;
  --panel: rgba(17, 22, 39, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --paper: #f4f7fb;
  --muted: #8d96aa;
  --cyan: #3bf4d5;
  --blue: #6177ff;
  --violet: #9b6cff;
  --orange: #ff6b35;
  --red: #ff476f;
  --success: #55f28b;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "DM Mono", monospace;
  --site-width: min(1440px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 44px 44px;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, #fff 0, #fff .5px, transparent .5px, transparent 3px);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 500px;
  height: 500px;
  right: -220px;
  top: 120px;
  background: rgba(97, 119, 255, .18);
}

.ambient-two {
  width: 430px;
  height: 430px;
  left: -260px;
  top: 55vh;
  background: rgba(59, 244, 213, .11);
}

.site-header {
  width: var(--site-width);
  height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.brand-mark {
  width: 56px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  font: 600 12px/1 var(--font-mono);
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}

.brand-name {
  font-size: 14px;
  letter-spacing: .16em;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  height: 100%;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--paper);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -35px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.header-cta {
  justify-self: end;
  padding: 12px 0 12px 16px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .04em;
  color: var(--paper);
}

.header-cta span {
  color: var(--cyan);
  margin-left: 8px;
}

.header-cta.returning {
  color: var(--muted);
  font-size: 11px;
}

.header-cta.returning span {
  color: inherit;
}

.header-cta.returning:hover {
  color: var(--paper);
}

.nav-toggle {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: .12em;
}

.eyebrow span {
  color: var(--cyan);
}

.hero {
  width: var(--site-width);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 7vw;
  padding: 74px 0 92px;
}

.hero h1,
.metrics-hero h1 {
  margin: 24px 0 24px;
  font-size: clamp(64px, 6.2vw, 112px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 600;
}

.hero h1 em,
.metrics-hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px rgba(244, 247, 251, .78);
}

.hero-lede {
  width: min(630px, 92%);
  margin: 0 0 38px;
  color: #aab2c4;
  font-size: 18px;
  line-height: 1.65;
}

.signal-search {
  max-width: 650px;
}

.signal-search > label,
.sidebar-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-control {
  height: 66px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line-strong);
  transition: border .2s ease, box-shadow .2s ease;
}

.search-control:focus-within {
  border-color: rgba(59, 244, 213, .7);
  box-shadow: 0 0 0 3px rgba(59, 244, 213, .08);
}

.search-prefix {
  color: var(--cyan);
  text-align: center;
  font: 500 18px/1 var(--font-mono);
}

.search-control input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-size: 16px;
}

.search-control button,
.sidebar-form button {
  height: calc(100% + 2px);
  margin: -1px;
  padding: 0 26px;
  border: 0;
  color: var(--ink);
  background: var(--cyan);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .08em;
  transition: background .2s ease, transform .2s ease;
}

.sidebar-form .consent-check {
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font: 400 9px/1.55 var(--font-mono);
  letter-spacing: 0;
  text-transform: none;
}

.sidebar-form .consent-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cyan);
}

.search-control button:hover,
.sidebar-form button:hover {
  background: #74ffe8;
}

.search-control button:active,
.sidebar-form button:active {
  transform: translateY(1px);
}

.search-control button span,
.sidebar-form button span {
  margin-left: 12px;
}

.input-hint {
  margin: 11px 0 0;
  color: #687185;
  font: 400 10px/1.5 var(--font-mono);
}

.region-field {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto minmax(190px, 280px);
  align-items: center;
  gap: 14px;
}

.region-field label {
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.region-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(97,119,255,.24), transparent 70%);
  filter: blur(12px);
}

.radar-grid {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
}

.radar-grid::before,
.radar-grid::after,
.radar-grid span {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
}

.radar-grid::before { inset: 70px; }
.radar-grid::after { inset: 150px; }
.radar-grid span:nth-child(1) {
  left: 50%; top: -6px; width: 12px; height: 12px;
  background: var(--cyan); border: 0; box-shadow: 0 0 22px var(--cyan);
}
.radar-grid span:nth-child(2) {
  left: 16px; top: 32%; width: 7px; height: 7px;
  background: var(--orange); border: 0;
}
.radar-grid span:nth-child(3) {
  right: 22px; bottom: 24%; width: 8px; height: 8px;
  background: var(--blue); border: 0;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-card {
  width: min(430px, 90vw);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(24,30,51,.97), rgba(10,13,25,.95));
  box-shadow: 0 36px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.06);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transform: rotate(1.5deg);
}

.hero-card-top,
.player-lockup,
.signal-score,
.hero-stats,
.hero-pick {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-dot {
  color: var(--cyan);
  font: 500 10px/1 var(--font-mono);
}

.live-dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.mono,
.label,
.panel-kicker {
  font-family: var(--font-mono);
}

.mono {
  color: var(--muted);
  font-size: 10px;
}

.player-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-monogram {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--violet);
  font-weight: 700;
  clip-path: polygon(50% 0, 100% 25%, 92% 83%, 50% 100%, 8% 83%, 0 25%);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .11em;
}

.player-lockup strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 20px;
}

.player-lockup small {
  color: var(--muted);
  font-size: 11px;
}

.signal-score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 28px;
}

.signal-score strong {
  font-size: 62px;
  line-height: .9;
  letter-spacing: -.07em;
}

.signal-score small {
  color: var(--muted);
}

.signal-bars {
  height: 66px;
  display: flex;
  align-items: end;
  gap: 5px;
}

.signal-bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(var(--cyan), var(--blue));
  opacity: .78;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stats div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-stats span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font: 400 8px/1 var(--font-mono);
}

.hero-stats strong {
  font-size: 17px;
}

.hero-pick {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  border-bottom: 0;
}

.pick-rank {
  color: var(--cyan);
  font: 500 12px/1 var(--font-mono);
}

.hero-pick strong {
  display: block;
  margin-top: 5px;
}

.confidence {
  padding: 7px 9px;
  color: var(--cyan);
  border: 1px solid rgba(59,244,213,.35);
  font: 500 9px/1 var(--font-mono);
}

.visual-note {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  color: var(--muted);
  background: var(--ink);
  border: 1px solid var(--line);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .1em;
}

.note-a { left: 2%; top: 20%; }
.note-b { right: 0; bottom: 13%; }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cyan);
  color: var(--ink);
}

.ticker > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 0;
  animation: marquee 25s linear infinite;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: .12em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.feature-section,
.top-picks-section {
  width: var(--site-width);
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.closing-cta h2 {
  margin: -12px 0 0;
  font-size: clamp(48px, 5vw, 78px);
  line-height: .95;
  letter-spacing: -.055em;
}

.section-heading > p {
  max-width: 500px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 430px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: rgba(10, 13, 24, .96);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.feature-primary {
  background:
    radial-gradient(circle at 90% 10%, rgba(59,244,213,.12), transparent 45%),
    rgba(12, 17, 29, .98);
}

.feature-index {
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .1em;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 56px 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 25px;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 27px;
  letter-spacing: -.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mini-chart {
  height: 72px;
  margin-top: auto;
  display: flex;
  align-items: end;
  gap: 7px;
}

.mini-chart i {
  width: 12%;
  height: var(--v);
  background: var(--cyan);
}

.signal-list {
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font: 500 11px/1 var(--font-mono);
}

.signal-list b { color: var(--cyan); }

.text-link {
  margin-top: auto;
  color: var(--cyan);
  font: 500 11px/1 var(--font-mono);
}

.text-link span { margin-left: 10px; }

.closing-cta {
  width: var(--site-width);
  margin: 0 auto 100px;
  padding: 64px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  color: var(--ink);
  background: var(--violet);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.closing-cta h2 {
  max-width: 760px;
  margin-top: 24px;
}

.closing-cta .eyebrow,
.closing-cta .eyebrow span {
  color: rgba(7,9,18,.65);
}

.closing-cta > a {
  flex: 0 0 auto;
  padding: 18px 22px;
  color: var(--paper);
  background: var(--ink);
  font: 600 11px/1 var(--font-mono);
}

.closing-cta > a span { color: var(--cyan); margin-left: 14px; }

.site-footer {
  width: var(--site-width);
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer .riot-disclaimer {
  max-width: 720px;
  color: #687185;
  font-size: 10px;
  line-height: 1.55;
}

.footer-meta {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font: 400 10px/1 var(--font-mono);
}

.footer-meta a { color: inherit; }

.legal-page {
  width: min(840px, calc(100% - 32px));
  min-height: calc(100vh - 240px);
  margin: 0 auto;
  padding: 88px 0 120px;
}

.legal-page h1 { margin: 24px 0 40px; font-size: clamp(44px, 8vw, 82px); }
.legal-page h2 { margin: 38px 0 12px; font-size: 22px; }
.legal-page p { color: var(--muted); line-height: 1.75; }
.legal-page .text-link { display: inline-block; margin-top: 40px; color: var(--cyan); }

.operations-page {
  width: var(--site-width);
  margin: 0 auto;
  padding: 78px 0 120px;
}
.operations-hero { max-width: 850px; }
.operations-hero h1 { margin: 24px 0; font-size: clamp(58px, 9vw, 112px); line-height: .88; }
.operations-hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(244,247,251,.78); }
.operations-hero p { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.operations-grid { margin: 54px 0 28px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.operations-grid article { min-height: 150px; padding: 22px; border-right: 1px solid var(--line); background: rgba(255,255,255,.025); }
.operations-grid article:last-child { border-right: 0; }
.operations-grid span, .operations-grid small { display: block; color: var(--muted); font: 400 9px/1.4 var(--font-mono); }
.operations-grid strong { display: block; margin: 32px 0 8px; font-size: 28px; }
.cohort-summary, .history-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); }
.cohort-summary article, .history-summary article { padding: 22px; background: #0b0d10; }
.cohort-summary span, .cohort-summary small, .history-summary span { display: block; color: var(--muted); font: 400 9px/1.5 var(--font-mono); }
.cohort-summary strong, .history-summary strong { display: block; margin: 10px 0 4px; font-size: 30px; }
.history-weeks { display: grid; margin-top: 1px; border: 1px solid var(--line); }
.history-weeks article { display: grid; grid-template-columns: minmax(130px, 1.4fr) repeat(4, minmax(70px, .7fr)); gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); font: 400 10px/1.4 var(--font-mono); }
.history-weeks article:last-child { border-bottom: 0; }
.history-weeks time, .history-weeks span { color: var(--muted); }
.history-weeks strong { color: var(--acid); }
.cohort-panel { padding: 32px; }
.cohort-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.cohort-list article { padding: 15px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; background: var(--ink-2); }
.cohort-list span, .cohort-list small { color: var(--muted); font: 400 9px/1.4 var(--font-mono); }
.cohort-list strong { font-size: 12px; }

/* Analysis */
.analysis-shell {
  width: var(--site-width);
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.analysis-sidebar {
  padding: 54px 28px;
  border-right: 1px solid var(--line);
  background: rgba(7,9,18,.72);
}

.analysis-sidebar h1 {
  margin: 22px 0 18px;
  font-size: 48px;
  line-height: .92;
  letter-spacing: -.055em;
}

.analysis-sidebar > p {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sidebar-form input,
.sidebar-form select {
  width: 100%;
  height: 48px;
  margin: 0 0 20px;
  padding: 0 13px;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  outline: none;
}

.sidebar-form input:focus,
.sidebar-form select:focus {
  border-color: var(--cyan);
}

.sidebar-form button {
  width: 100%;
  height: 50px;
  margin: 2px 0 0;
}

.sidebar-note {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sidebar-note span,
.sidebar-note strong,
.sidebar-note small {
  display: block;
}

.sidebar-note span {
  color: var(--muted);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .12em;
}

.sidebar-note strong {
  margin: 9px 0;
  color: var(--cyan);
  font: 500 11px/1 var(--font-mono);
}

.sidebar-note small {
  color: #687185;
  font-size: 10px;
  line-height: 1.6;
}

.analysis-main {
  min-width: 0;
  padding: 52px clamp(28px, 4vw, 64px) 90px;
}

.analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.analysis-header h2 {
  margin: 16px 0 7px;
  font-size: clamp(38px, 4.2vw, 68px);
  line-height: .95;
  letter-spacing: -.055em;
}

.analysis-header p {
  margin: 0;
  color: var(--muted);
}

.analysis-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 8px;
  color: var(--muted);
  font: 500 10px/1 var(--font-mono);
}

.analysis-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.analysis-status.ready {
  color: var(--success);
}

.analysis-status.ready i {
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.loading-state {
  min-height: 480px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.loading-state strong {
  margin-top: 24px;
  font-size: 20px;
}

.loading-state p {
  max-width: 420px;
  color: var(--muted);
}

.loading-orbit {
  width: 76px;
  height: 76px;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: rotate 1.8s linear infinite;
}

.idle-state .loading-orbit { animation: none; opacity: .55; }

.loading-orbit::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.loading-orbit span {
  position: absolute;
  top: -4px;
  left: 32px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.error-state {
  padding: 24px;
  display: flex;
  gap: 18px;
  border: 1px solid rgba(255,71,111,.38);
  background: rgba(255,71,111,.07);
}

.error-state > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--red);
  font-weight: 700;
}

.error-state strong { color: #ff9ab1; }
.error-state p { margin: 5px 0 0; color: var(--muted); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 20px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-card {
  min-height: 142px;
  padding: 22px;
  background: rgba(12,16,29,.92);
  position: relative;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--cyan);
}

.metric-card span {
  color: var(--muted);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .11em;
}

.metric-card strong {
  display: block;
  margin: 24px 0 5px;
  font-size: 42px;
  line-height: .8;
  letter-spacing: -.055em;
}

.metric-card small {
  color: var(--muted);
  font-size: 10px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-bottom: 20px;
}

.benchmark-panel,
.routine-panel {
  width: 100%;
  margin-top: 18px;
  padding: 28px;
}

.benchmark-disclaimer,
.routine-storage-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.player-comparison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
  border: 1px solid var(--line);
}

.comparison-item {
  padding: 18px;
  background: var(--ink-2);
}

.comparison-item > div:first-child,
.comparison-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comparison-item > div:first-child span,
.comparison-item > div:first-child b,
.comparison-values small {
  color: var(--muted);
  font: 500 9px/1.3 var(--font-mono);
  letter-spacing: .08em;
}

.comparison-item.focus > div:first-child b { color: var(--orange); }
.comparison-item.on-track > div:first-child b { color: var(--success); }
.comparison-values { margin-top: 18px; justify-content: flex-start; }
.comparison-values strong { font-size: 20px; }
.comparison-values small { margin-right: auto; }
.comparison-values i { color: var(--cyan); font-style: normal; }
.comparison-track { height: 3px; margin-top: 14px; background: rgba(255,255,255,.08); }
.comparison-track i { display: block; height: 100%; background: var(--cyan); }
.comparison-item.focus .comparison-track i { background: var(--orange); }

.routine-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
}

.routine-progress-track { height: 5px; margin: -12px 0 22px; overflow: hidden; background: rgba(255,255,255,.07); }
.routine-progress-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 18px rgba(59,244,213,.5); transition: width .35s ease; }
.next-session { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 24px; border: 1px solid rgba(59,244,213,.34); background: linear-gradient(110deg, rgba(59,244,213,.11), rgba(97,119,255,.06)); }
.next-session > div > span,
.routine-live-stats span,
.routine-celebration > div > span { color: var(--cyan); font: 500 9px/1 var(--font-mono); letter-spacing: .12em; }
.next-session h4 { margin: 10px 0 6px; font-size: 23px; letter-spacing: -.025em; }
.next-session p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.next-session button,
.routine-celebration button { min-height: 46px; padding: 0 18px; color: var(--ink); border: 0; background: var(--cyan); font: 600 10px/1 var(--font-mono); letter-spacing: .06em; }
.next-session button span,
.routine-celebration button span { margin-left: 8px; }
.routine-live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.routine-live-stats > div { padding: 14px 16px; background: rgba(255,255,255,.025); }
.routine-live-stats strong { display: block; margin-top: 7px; font: 500 14px/1 var(--font-mono); }

.routine-summary > div { padding: 16px; background: rgba(255,255,255,.025); }
.routine-summary span,
.focus-item > span {
  display: block;
  color: var(--muted);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .1em;
}
.routine-summary strong { display: block; margin-top: 8px; font-size: 15px; }

.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.focus-item { padding: 18px; border: 1px solid var(--line); }
.focus-item strong { display: block; margin-top: 12px; font-size: 16px; }
.focus-item p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.routine-days { display: grid; gap: 8px; margin-top: 18px; }
.routine-day {
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.routine-day:hover { border-color: var(--line-strong); }
.routine-day input { position: absolute; opacity: 0; pointer-events: none; }
.day-index { color: var(--cyan); font: 500 12px/1 var(--font-mono); }
.day-copy strong, .day-copy small { display: block; }
.day-copy strong { font-size: 13px; }
.day-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.day-completed-at { display: block; min-height: 11px; margin-top: 7px; color: var(--success); font: normal 500 9px/1 var(--font-mono); }
.day-check { color: var(--muted); opacity: .25; font-size: 18px; text-align: right; }
.routine-day.current { border-color: rgba(59,244,213,.62); box-shadow: inset 3px 0 0 var(--cyan); background: rgba(59,244,213,.035); }
.routine-day.complete { border-color: rgba(85,242,139,.4); background: rgba(85,242,139,.05); }
.routine-day.complete .day-check { color: var(--success); opacity: 1; }
.routine-day.complete .day-copy { opacity: .58; }
.routine-celebration { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 20px; margin-top: 18px; padding: 24px; border: 1px solid rgba(85,242,139,.5); background: linear-gradient(110deg, rgba(85,242,139,.14), rgba(59,244,213,.05)); animation: celebration-in .35s ease both; }
.celebration-mark { width: 52px; height: 52px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; background: var(--success); font-size: 24px; box-shadow: 0 0 26px rgba(85,242,139,.25); }
.routine-celebration h4 { margin: 8px 0 5px; font-size: 20px; }
.routine-celebration p { margin: 0; color: var(--muted); font-size: 11px; }
@keyframes celebration-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.role-panel,
.recommendation-panel,
.champion-panel,
.matches-panel,
.role-benchmark {
  padding: 26px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 28px;
}

.panel-kicker {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: .12em;
}

.panel-heading h3,
.panel-heading h2 {
  margin: 7px 0 0;
  font-size: 23px;
  letter-spacing: -.035em;
}

.role-row {
  display: grid;
  grid-template-columns: 74px 1fr 44px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.role-row:last-child { margin-bottom: 0; }

.role-name,
.role-value {
  font: 500 10px/1 var(--font-mono);
}

.role-value {
  color: var(--muted);
  text-align: right;
}

.role-track,
.benchmark-track {
  height: 7px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
}

.role-track i,
.benchmark-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(59,244,213,.3);
}

.pulse-label {
  color: var(--success);
  font: 500 9px/1 var(--font-mono);
}

.pulse-label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.recommendation-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.recommendation-item:first-child { border-top: 0; padding-top: 0; }

.recommendation-item .rank {
  color: var(--cyan);
  font: 500 10px/1 var(--font-mono);
}

.recommendation-item strong {
  display: block;
  font-size: 15px;
}

.recommendation-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.recommendation-item b {
  color: var(--cyan);
  font: 500 12px/1 var(--font-mono);
}

.champion-panel,
.matches-panel {
  margin-bottom: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 0 14px 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-align: right;
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

th:first-child,
td:first-child {
  text-align: left;
}

td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  text-align: right;
  font: 400 12px/1 var(--font-mono);
}

tr:last-child td { border-bottom: 0; }

.champion-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
}

.champion-initial {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--violet);
  font: 700 11px/1 var(--font-display);
  clip-path: polygon(50% 0, 100% 25%, 92% 83%, 50% 100%, 8% 83%, 0 25%);
}

.winrate-good { color: var(--success); }
.winrate-low { color: var(--orange); }

.match-list {
  display: grid;
  gap: 8px;
}

.match-item {
  display: grid;
  grid-template-columns: 7px 1.2fr .8fr .8fr .7fr;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 15px 0 0;
  background: rgba(255,255,255,.03);
}

.match-result {
  align-self: stretch;
  background: var(--success);
}

.match-item.loss .match-result { background: var(--red); }

.match-item strong { font-size: 13px; }
.match-item span { color: var(--muted); font: 400 10px/1 var(--font-mono); }
.match-score { color: var(--paper) !important; }
.match-copy { min-width: 0; padding: 11px 0; }
.match-copy strong, .match-copy small { display: block; }
.match-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Metrics */
.metrics-hero {
  width: var(--site-width);
  min-height: 520px;
  margin: 0 auto;
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 80px;
}

.metrics-hero h1 {
  margin-bottom: 0;
}

.metrics-intro {
  padding-bottom: 12px;
}

.metrics-intro p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.metrics-intro strong { color: var(--paper); }

.dataset-stamp {
  display: inline-block;
  padding: 10px 12px;
  color: var(--cyan);
  border: 1px solid rgba(59,244,213,.35);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .08em;
}

.benchmark-strip {
  width: var(--site-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.benchmark-strip article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(13,17,31,.88);
}

.benchmark-strip article:last-child { border-right: 0; }
.benchmark-strip article.accent { background: var(--cyan); color: var(--ink); }

.benchmark-strip article > span {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .1em;
  color: var(--muted);
}

.benchmark-strip article.accent > span,
.benchmark-strip article.accent p { color: rgba(7,9,18,.65); }

.benchmark-strip strong {
  display: block;
  margin-top: 42px;
  font-size: 58px;
  line-height: .85;
  letter-spacing: -.06em;
}

.benchmark-strip small {
  font-size: 20px;
  letter-spacing: 0;
}

.benchmark-strip p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.metrics-content {
  width: var(--site-width);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 20px;
}

.benchmark-row {
  display: grid;
  grid-template-columns: 150px 1fr 55px;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.benchmark-label strong,
.benchmark-label span {
  display: block;
}

.benchmark-label strong { font-size: 13px; }
.benchmark-label span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.benchmark-row > b { color: var(--cyan); font: 500 11px/1 var(--font-mono); text-align: right; }

.method-panel {
  padding: 30px;
  color: var(--ink);
  background: var(--violet);
}

.method-panel .feature-index { color: rgba(7,9,18,.58); }

.method-panel h2 {
  margin: 60px 0 18px;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -.045em;
}

.method-panel > p {
  color: rgba(7,9,18,.68);
  font-size: 13px;
  line-height: 1.65;
}

.formula {
  margin-top: 25px;
  padding-top: 16px;
  border-top: 1px solid rgba(7,9,18,.25);
}

.formula span,
.formula strong { display: block; }
.formula span { font: 500 9px/1 var(--font-mono); }
.formula strong { margin-top: 7px; font-size: 13px; }

.section-heading.compact {
  display: block;
}

.section-heading.compact h2 {
  margin-top: 22px;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.role-picks {
  padding: 22px;
  background: rgba(10,13,24,.96);
}

.role-picks-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.role-picks-head span { font-weight: 700; }
.role-picks-head small { color: var(--muted); font: 500 9px/1 var(--font-mono); }

.role-picks ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-picks li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.role-picks li:last-child { border-bottom: 0; }
.role-picks .rank { color: var(--cyan); font: 500 9px/1 var(--font-mono); }
.role-picks li strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.role-picks li > span:not(.rank) { display: none; }
.role-picks li b { color: var(--muted); font: 500 10px/1 var(--font-mono); }

/* Growth history */
.growth-shell { width: var(--site-width); margin: 0 auto; padding-bottom: 110px; }
.growth-hero { min-height: 440px; display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 80px; padding: 80px 0 64px; }
.growth-hero h1 { margin: 24px 0 22px; font-size: clamp(64px, 6.2vw, 108px); line-height: .86; letter-spacing: -.065em; }
.growth-hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(244,247,251,.78); }
.growth-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.growth-profile { padding: 24px; border: 1px solid var(--line); background: rgba(17,22,39,.76); }
.growth-profile label { display: block; margin-bottom: 10px; color: var(--muted); font: 500 9px/1 var(--font-mono); letter-spacing: .12em; }
.growth-profile select { width: 100%; height: 48px; padding: 0 12px; color: var(--paper); border: 1px solid var(--line-strong); background: var(--ink-2); }
.growth-profile > span { display: block; margin-top: 13px; color: var(--cyan); font: 500 9px/1.4 var(--font-mono); }
.growth-empty { min-height: 420px; padding: 72px; border: 1px solid var(--line); text-align: center; background: var(--panel); }
.growth-empty > span { color: var(--cyan); font: 500 11px/1 var(--font-mono); }
.growth-empty h2 { margin: 28px 0 12px; font-size: 42px; }
.growth-empty p { margin: 0 auto 32px; max-width: 520px; color: var(--muted); }
.growth-empty a { display: inline-block; padding: 17px 22px; color: var(--ink); background: var(--cyan); font: 600 11px/1 var(--font-mono); }
.growth-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--line); }
.growth-overview article { min-height: 154px; padding: 23px; background: rgba(13,17,32,.94); }
.growth-overview article.accent { color: var(--ink); background: var(--cyan); }
.growth-overview span { display: block; color: var(--muted); font: 500 9px/1 var(--font-mono); letter-spacing: .1em; }
.growth-overview .accent span,
.growth-overview .accent small { color: rgba(7,9,18,.62); }
.growth-overview strong { display: block; margin: 30px 0 5px; font-size: 34px; line-height: .85; letter-spacing: -.04em; }
.growth-overview .accent strong { font-size: 26px; }
.growth-overview small { color: var(--muted); font-size: 10px; }
.growth-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.calendar-panel, .insight-panel, .checkpoint-panel { padding: 28px; }
.calendar-controls { display: flex; align-items: center; gap: 12px; }
.calendar-controls button { width: 30px; height: 30px; color: var(--paper); border: 1px solid var(--line); background: transparent; }
.calendar-controls strong { min-width: 125px; text-align: center; font: 500 11px/1 var(--font-mono); }
.calendar-weekdays, .growth-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 7px; }
.calendar-weekdays span { padding: 6px; color: var(--muted); text-align: center; font: 500 8px/1 var(--font-mono); }
.calendar-day { min-height: 67px; padding: 9px; position: relative; color: var(--muted); border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); text-align: left; }
.calendar-day:not(.blank):hover { border-color: var(--cyan); transform: translateY(-1px); }
.calendar-day.selected { z-index: 1; color: var(--paper); border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), inset 0 0 22px rgba(59,244,213,.12), 0 0 22px rgba(59,244,213,.18); transform: translateY(-2px); }
.calendar-day.blank { border-color: transparent; background: transparent; }
.calendar-day.today::after { content: ""; position: absolute; top: 7px; right: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--paper); }
.calendar-day.practice { color: var(--success); background: rgba(85,242,139,.1); border-color: rgba(85,242,139,.25); }
.calendar-day.analysis { color: var(--violet); background: rgba(155,108,255,.1); border-color: rgba(155,108,255,.25); }
.calendar-day.both { color: var(--cyan); background: linear-gradient(135deg, rgba(85,242,139,.14), rgba(97,119,255,.15)); border-color: rgba(59,244,213,.35); }
.calendar-day > span { font: 500 11px/1 var(--font-mono); }
.calendar-day > i { position: absolute; left: 9px; bottom: 8px; font: normal 500 8px/1 var(--font-mono); }
.calendar-legend { display: flex; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 9px; }
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 8px; height: 8px; background: var(--success); }
.calendar-legend i.analysis { background: var(--violet); }
.calendar-legend i.both { background: var(--cyan); }
.calendar-detail { min-height: 116px; margin: 20px 0 18px; padding: 18px; color: var(--muted); border: 1px solid rgba(59,244,213,.2); background: linear-gradient(135deg, rgba(59,244,213,.065), rgba(155,108,255,.045)); }
.calendar-detail.pulse { animation: calendar-detail-pulse .35s ease-out; }
.calendar-detail-empty > span, .calendar-detail-head > div:first-child > span { display: block; color: var(--cyan); font: 500 8px/1 var(--font-mono); letter-spacing: .12em; }
.calendar-detail-empty strong, .calendar-detail-head strong { display: block; margin-top: 8px; color: var(--paper); font-size: 16px; }
.calendar-detail-empty p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.calendar-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.calendar-detail-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.calendar-detail-badges span { padding: 7px 8px; font: 600 8px/1 var(--font-mono); letter-spacing: .06em; }
.calendar-detail-badges .practice { color: var(--success); background: rgba(85,242,139,.1); }
.calendar-detail-badges .analysis { color: var(--violet); background: rgba(155,108,255,.12); }
.calendar-detail-badges .empty { color: var(--muted); background: rgba(255,255,255,.05); }
.calendar-detail-events { display: grid; gap: 8px; padding-top: 12px; }
.calendar-event { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 10px; background: rgba(7,9,18,.46); }
.calendar-event.analysis-event { grid-template-columns: 30px minmax(120px, 1fr) auto; }
.calendar-event-icon { width: 28px; height: 28px; display: grid; place-items: center; font: 700 12px/1 var(--font-mono); }
.calendar-event-icon.practice { color: var(--ink); background: var(--success); }
.calendar-event-icon.analysis { color: var(--paper); background: var(--violet); }
.calendar-event strong, .calendar-event small { display: block; }
.calendar-event strong { color: var(--paper); font-size: 11px; }
.calendar-event small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.calendar-event-metrics { display: flex; gap: 10px; }
.calendar-event-metrics span { color: var(--muted); font: 500 7px/1 var(--font-mono); }
.calendar-event-metrics b { display: block; margin-top: 5px; color: var(--paper); font-size: 10px; }
.calendar-no-activity { margin: 0; padding: 8px 2px 2px; color: var(--muted); font-size: 10px; line-height: 1.55; }
@keyframes calendar-detail-pulse { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.insight-panel { display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(155,108,255,.2), rgba(17,22,39,.9)); }
.insight-panel.refresh { animation: coach-note-refresh .35s ease-out; }
.insight-period { display: block; margin-top: 12px; color: var(--cyan); font: 500 8px/1.45 var(--font-mono); letter-spacing: .06em; }
.insight-panel h2 { margin: 38px 0 17px; font-size: 35px; line-height: 1; letter-spacing: -.045em; }
.insight-panel > p { margin: 0; color: #aab2c4; font-size: 13px; line-height: 1.7; }
.insight-next { margin-top: auto; padding: 20px 0; border-top: 1px solid var(--line); }
.insight-next span, .insight-next strong { display: block; }
.insight-next span { color: var(--muted); font: 500 9px/1 var(--font-mono); letter-spacing: .1em; }
.insight-next strong { margin-top: 10px; font-size: 16px; }
.insight-panel > a { display: flex; justify-content: space-between; padding: 16px; color: var(--ink); background: var(--cyan); font: 600 10px/1 var(--font-mono); }
.trend-section { padding: 90px 0 28px; }
.trend-section .section-heading { margin-bottom: 32px; }
.trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trend-grid.refresh { animation: performance-trend-refresh .35s ease-out; }
.trend-empty { grid-column: 1 / -1; min-height: 150px; display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line-strong); font: 500 10px/1 var(--font-mono); letter-spacing: .08em; }
.trend-card { padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.trend-card > div { display: flex; justify-content: space-between; gap: 12px; }
.trend-card > div span { color: var(--muted); font: 500 9px/1 var(--font-mono); letter-spacing: .08em; }
.trend-card > div b { color: var(--muted); font: 500 11px/1 var(--font-mono); }
.trend-card.up > div b { color: var(--success); }
.trend-card.down > div b { color: var(--red); }
.trend-card svg { width: 100%; height: 100px; margin: 14px 0; overflow: visible; }
.trend-card polyline { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.trend-card circle { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(59,244,213,.65)); }
.trend-card footer { display: flex; align-items: center; justify-content: space-between; }
.trend-card footer i { color: var(--cyan); font-style: normal; }
.trend-card footer strong { font: 500 14px/1 var(--font-mono); }
.checkpoint-panel { margin-top: 20px; }
.checkpoint-list article { display: grid; grid-template-columns: 32px 1.4fr repeat(4, .65fr); align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.checkpoint-index { color: var(--cyan); font: 500 10px/1 var(--font-mono); }
.checkpoint-list strong, .checkpoint-list small { display: block; }
.checkpoint-list small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.checkpoint-list article > span:not(.checkpoint-index) { color: var(--muted); font: 500 8px/1 var(--font-mono); }
.checkpoint-list article > span b { display: block; margin-top: 6px; color: var(--paper); font-size: 12px; }
.routine-storage-note a { color: var(--cyan); white-space: nowrap; }
@keyframes coach-note-refresh { from { filter: brightness(.75); transform: translateY(4px); } to { filter: brightness(1); transform: translateY(0); } }
@keyframes performance-trend-refresh { from { opacity: .55; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .growth-hero { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .growth-overview, .trend-grid { grid-template-columns: repeat(2, 1fr); }
  .growth-layout { grid-template-columns: 1fr; }
  :root { --site-width: min(100% - 40px, 960px); }
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle {
    width: 42px; height: 42px;
    display: grid; place-content: center; gap: 6px;
    justify-self: end;
    color: var(--paper); background: transparent; border: 1px solid var(--line);
  }
  .nav-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; }
  .main-nav.open {
    position: absolute;
    top: 76px; right: 0;
    width: 230px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0d1120;
    border: 1px solid var(--line);
  }
  .main-nav.open a { padding: 13px; }
  .main-nav a.active::after { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 24px; }
  .hero-visual { min-height: 600px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-primary { grid-column: 1 / -1; }
  .analysis-shell { grid-template-columns: 240px 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .player-comparison { grid-template-columns: repeat(2, 1fr); }
  .benchmark-strip { grid-template-columns: repeat(2, 1fr); }
  .benchmark-strip article:nth-child(2) { border-right: 0; }
  .benchmark-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics-content { grid-template-columns: 1fr; }
  .role-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .growth-shell { width: calc(100% - 28px); }
  .growth-hero { padding: 58px 0 42px; }
  .growth-hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .growth-hero p { font-size: 14px; }
  .growth-overview { grid-template-columns: 1fr 1fr; }
  .growth-overview article { min-height: 130px; padding: 18px; }
  .growth-overview strong { margin-top: 24px; font-size: 28px; }
  .calendar-panel, .insight-panel, .checkpoint-panel { padding: 20px 14px; }
  .calendar-panel .panel-heading { display: block; }
  .calendar-controls { margin-top: 18px; justify-content: space-between; }
  .calendar-day { min-height: 49px; padding: 6px; }
  .calendar-day > i { left: 6px; bottom: 5px; }
  .calendar-detail-head { display: block; }
  .calendar-detail-badges { justify-content: flex-start; margin-top: 12px; }
  .calendar-event.analysis-event { grid-template-columns: 30px 1fr; }
  .calendar-event-metrics { grid-column: 2; flex-wrap: wrap; }
  .trend-grid { grid-template-columns: 1fr; }
  .checkpoint-list article { grid-template-columns: 28px 1fr repeat(2, .55fr); gap: 9px; }
  .checkpoint-list article > span:nth-last-child(-n+2) { display: none; }
  .growth-empty { padding: 48px 20px; }
  :root { --site-width: calc(100% - 28px); }
  .site-header { height: 72px; }
  .brand-mark { width: 48px; height: 36px; font-size: 10px; }
  .main-nav.open {
    top: 71px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .42);
  }
  .main-nav.open a { padding: 15px 14px; }
  .hero { min-height: auto; padding: 60px 0 70px; gap: 30px; }
  .hero h1, .metrics-hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-lede { width: 100%; font-size: 15px; }
  .search-control { height: auto; grid-template-columns: 42px 1fr; }
  .search-control input { height: 58px; }
  .search-control button { grid-column: 1 / -1; height: 52px; margin: 0 -1px -1px; }
  .region-field { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { min-height: 500px; margin: 0 -10px; transform: scale(.9); }
  .radar-grid { width: 430px; height: 430px; }
  .visual-note { display: none; }
  .feature-section, .top-picks-section { padding: 84px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin: 22px 0; }
  .section-heading > p { margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-primary { grid-column: auto; }
  .feature-card { min-height: 370px; }
  .closing-cta { margin-bottom: 70px; padding: 36px 28px; display: block; }
  .closing-cta h2 { font-size: 42px; }
  .closing-cta > a { display: inline-block; margin-top: 30px; }
  .site-footer { padding: 40px 0; display: block; }
  .footer-meta { margin-top: 30px; flex-direction: column; gap: 10px; }
  .analysis-shell { width: 100%; display: block; border: 0; }
  .analysis-sidebar { padding: 36px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .analysis-sidebar h1 { font-size: 40px; }
  .analysis-sidebar > p { margin-bottom: 28px; }
  .sidebar-note { margin-top: 28px; }
  .analysis-main { padding: 38px 14px 70px; }
  .analysis-header { display: block; }
  .analysis-header h2 { font-size: clamp(30px, 10vw, 42px); overflow-wrap: anywhere; }
  .analysis-status { margin-top: 20px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 125px; padding: 17px; }
  .metric-card strong { font-size: 34px; }
  .role-panel, .recommendation-panel, .champion-panel, .matches-panel, .role-benchmark { padding: 20px 16px; }
  .benchmark-panel, .routine-panel { padding: 20px 16px; }
  .player-comparison, .focus-grid { grid-template-columns: 1fr; }
  .routine-summary { grid-template-columns: 1fr; }
  .next-session { grid-template-columns: 1fr; }
  .next-session button { width: 100%; }
  .routine-live-stats > div { padding: 12px 10px; }
  .routine-celebration { grid-template-columns: 44px 1fr; padding: 18px; }
  .celebration-mark { width: 42px; height: 42px; }
  .routine-celebration button { grid-column: 1 / -1; width: 100%; }
  .routine-day { grid-template-columns: 32px 1fr 22px; gap: 10px; padding: 13px 12px; }
  .match-item { grid-template-columns: 6px 1fr auto; padding-right: 10px; }
  .match-item > span:nth-of-type(n+3) { display: none; }
  .operations-grid { grid-template-columns: 1fr 1fr; }
  .operations-grid article { border-bottom: 1px solid var(--line); }
  .cohort-summary, .history-summary { grid-template-columns: 1fr 1fr; }
  .history-weeks article { grid-template-columns: 1fr 1fr; }
  .history-weeks time { grid-column: 1 / -1; }
  .metrics-hero { min-height: auto; padding: 65px 0 50px; display: block; }
  .metrics-intro { margin-top: 42px; }
  .benchmark-strip { grid-template-columns: 1fr; }
  .benchmark-strip article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benchmark-strip article:last-child { border-bottom: 0; }
  .benchmark-row { grid-template-columns: 110px 1fr 48px; gap: 10px; }
  .role-tabs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
