
@font-face { font-family: 'Inter'; src: url('/vendor/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --bg: #030d1b;
  --surface: #091a2e;
  --surface-light: #102842;
  --border: #1b3955;
  --blue: #00aaff;
  --cyan: #4de2ff;
  --text: #f0f7ff;
  --muted: #91a8c0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.navbar {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 13, 27, .95);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand-icon {
  font-size: 34px;
}

.brand-accent {
  color: var(--cyan);
}

.nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--muted);
}

.hero {
  min-height: 580px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #0d5481 0%, transparent 55%),
    radial-gradient(ellipse at 90% 85%, #073958 0%, transparent 40%),
    linear-gradient(180deg, #061b32, #030d1b);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    repeating-linear-gradient(
      120deg,
      transparent 0 95px,
      rgba(77, 226, 255, .18) 96px,
      transparent 98px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 80px 24px;
  text-align: center;
}

.eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

h1 {
  margin: 25px 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 900;
}

h1 span {
  color: var(--cyan);
}

.subtitle {
  max-width: 590px;
  margin: 0 auto 35px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 710px;
  margin: auto;
  padding: 8px;
  border: 1px solid #24618a;
  border-radius: 14px;
  background: #0c2138;
  box-shadow: 0 0 45px rgba(0, 170, 255, .12);
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 16px;
  color: white;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
}

.search-box button {
  padding: 15px 24px;
  border: none;
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, #008dff, #005be0);
  font-weight: 800;
  cursor: pointer;
}

.search-box button:hover {
  filter: brightness(1.15);
}

.search-box button:disabled {
  opacity: .6;
  cursor: wait;
}

.status {
  min-height: 24px;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 13px;
}

.results {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px;
}

.hidden {
  display: none;
}

.section-heading h2 {
  margin: 12px 0 25px;
  font-size: 30px;
}

.player-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.player-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.player-avatar {
  width: 75px;
  height: 75px;
  border-radius: 15px;
  object-fit: cover;
  background: var(--surface-light);
}

.player-name {
  margin: 0 0 6px;
  font-size: 25px;
}

.player-link {
  color: var(--cyan);
  text-decoration: none;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.rating-box {
  padding: 20px;
  border-radius: 12px;
  background: var(--surface-light);
  border: 1px solid var(--border);
}

.rating-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.rating-value {
  font-size: 26px;
  font-weight: 800;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 45px 24px 80px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-icon {
  color: var(--cyan);
  font-size: 34px;
}

.feature-card h3 {
  margin: 22px 0 10px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.feature-tag {
  display: inline-block;
  margin-top: 15px;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 800;
}

.disclaimer {
  max-width: 1050px;
  margin: 0 auto 70px;
  padding: 28px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
  border-radius: 8px;
}

.disclaimer h3 {
  margin-top: 0;
}

.disclaimer p {
  color: var(--muted);
  line-height: 1.7;
}

footer {
  padding: 30px 7%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-label {
    display: none;
  }

  h1 {
    letter-spacing: -1px;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }

  .features,
  .rating-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

/* Fair Play v87 panels: extend the existing Shark Ocean Blue theme. */
.v87-review {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #0a2037, #071627 65%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}
.v87-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.v87-priority {
  margin: 12px 0 6px;
  color: var(--cyan);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
}
.v87-muted { color: var(--muted); line-height: 1.6; font-size: 13px; }
.v87-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.v87-metric {
  min-width: 0;
  padding: 18px;
  border: 1px solid #1c4360;
  border-radius: 12px;
  background: #102842;
}
.v87-metric span { display: block; margin-bottom: 8px; font-size: 11px; }
.v87-metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.8vw, 22px);
  color: #f0f7ff;
}
.v87-heading { margin: 28px 0 15px; }
.v87-heading h3 { margin: 0 0 6px; font-size: 22px; }
.v87-heading p { margin: 0; }
.v87-reasons {
  padding: 18px 18px 18px 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #091a2e;
  color: #c5dbec;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.v87-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.v87-chart {
  min-width: 0;
  min-height: 270px;
  padding: 20px;
  border: 1px solid #1b3955;
  border-radius: 14px;
  background: linear-gradient(160deg, #102842, #091a2e);
}
.v87-chart h4 { margin: 0 0 5px; font-size: 15px; color: #eaf8ff; }
.v87-chart p { margin: 0 0 18px; }
.v87-plot { display: grid; align-content: start; gap: 11px; }
.v87-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 92px) minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
}
.v87-bar-label {
  color: #a6c6dc;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.v87-bar-track {
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #071425;
}
.v87-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0074db, #4de2ff);
}
.v87-bar-number {
  text-align: right;
  font-size: 10px;
  color: #dff7ff;
  font-variant-numeric: tabular-nums;
}
.v87-empty {
  padding: 20px 4px;
  color: #789ab3;
  font-size: 12px;
  font-style: italic;
}
.v87-warning {
  padding: 17px;
  border: 1px solid #336181;
  border-radius: 10px;
  color: #b7e7ff;
  background: #102842;
  line-height: 1.7;
}
.v87-note {
  margin: 25px 0 0;
  color: #91a8c0;
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 950px) {
  .v87-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v87-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .v87-review { padding: 18px; }
  .v87-chart-grid, .v87-metrics { grid-template-columns: 1fr; }
}

/* Review loading state below the Chess.com ratings. */
.v87-progress { padding: 4px 0; }
.v87-progress-heading { color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: 1.8px; }
.v87-progress-message { color: #e6f5ff; font-size: 18px; margin: 18px 0 16px; }
.v87-progress-track { height: 11px; background: #102d47; border: 1px solid #205274; border-radius: 100px; overflow: hidden; }
.v87-progress-fill { height: 100%; width: 38%; border-radius: 100px; background: linear-gradient(90deg, #006fc7, #49ddff); animation: v87-progress-sweep 2.4s ease-in-out infinite alternate; }
.v87-progress-running { animation-duration: 1.7s; }
.v87-progress-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
@keyframes v87-progress-sweep { from { transform: translateX(-95%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .v87-progress-fill { animation: none; width: 65%; } }

/* Only the new analysis charts retain dedicated layout styling. */
.timeline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.timeline-card{min-width:0;background:#132437;border:1px solid #304960;border-radius:9px;padding:23px 22px 16px}
.timeline-card h4{margin:6px 0 16px;font-size:19px;letter-spacing:-.4px}
.timeline-category{font-size:11px;letter-spacing:1.7px;color:#95c2e6;font-weight:800}
.timeline-plot{min-width:0}
.timeline-svg{display:block;width:100%;height:auto;overflow:visible}
.timeline-svg text{font-family:Inter,system-ui,sans-serif}
.timeline-footnote{font-size:11px;color:#9eaec0;margin:12px 0 0}
@media(min-width:1100px){.timeline-card:nth-child(3n + 1){grid-column:1/-1}}
@media(max-width:720px){.timeline-grid{grid-template-columns:1fr}.timeline-card:nth-child(3n + 1){grid-column:auto}}


/* Fixed branded artwork, identical on desktop and mobile. */
.brand-logo { display: block; width: 225px; max-width: min(54vw, 225px); height: auto; }
@media (max-width: 700px) { .brand-logo { width: 190px; max-width: 70vw; } }
/* Compact per-metric charts with accessible time-control selectors. */
.timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-card:nth-child(3n + 1) { grid-column: auto; }
.timeline-card { display: flex; flex-direction: column; gap: 0; }
.timeline-card h4 { margin-bottom: 12px; }
.timeline-plot { flex: 1; }
.timeline-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.timeline-control { appearance: none; cursor: pointer; border: 1px solid #34627e; border-radius: 7px; background: #0c2138; color: #b7cfe1; padding: 8px 16px; font: 700 12px Inter, sans-serif; transition: border-color .15s, background .15s, color .15s; }
.timeline-control:hover:not(:disabled) { border-color: #53d8ee; color: #fff; }
.timeline-control.is-active { background: #096890; color: #fff; border-color: #45d6ed; }
.timeline-control:focus-visible { outline: 2px solid #6ae5ff; outline-offset: 2px; }
.timeline-control:disabled { opacity: .34; cursor: not-allowed; }
.timeline-legend { margin: 12px 0 0; text-align: center; color: #a8c5d9; font-size: 11px; line-height: 1.6; }
@media (max-width: 720px) { .timeline-grid { grid-template-columns: 1fr; } .timeline-control { flex: 1; padding: 9px 8px; } }


/* Wider review canvas, without changing the hero or overall brand. */
.results { max-width: 1560px; padding-left: clamp(16px, 3vw, 44px); padding-right: clamp(16px, 3vw, 44px); }
.timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.timeline-card { min-width: 0; padding: 27px 26px 22px; }
.timeline-card h4 { font-size: 20px; }
.timeline-plot { position: relative; min-width: 0; }
.timeline-svg { width: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.timeline-tooltip { position: absolute; z-index: 3; pointer-events: none; transform: translateY(-110%);
  display: flex; flex-direction: column; gap: 4px; min-width: 153px; max-width: 205px;
  background: #06192d; border: 1px solid #3dbce6; border-radius: 10px;
  padding: 11px 14px; box-shadow: 0 10px 28px rgba(0,0,0,.42);
  color: #d8edfa; font-size: 12px; line-height: 1.45; white-space: nowrap; }
.timeline-tooltip[hidden] { display: none !important; }
.timeline-tooltip strong { font-size: 12px; color: #4de2ff; }
.timeline-tooltip b { font-size: 19px; color: white; }
.timeline-controls { gap: 10px; margin-top: 20px; }
.timeline-control { min-width: 96px; }
@media(max-width: 1060px) {
 .timeline-grid { grid-template-columns: 1fr; }
 .timeline-card { padding: 20px; }
}
@media(max-width: 560px) {
 .results { padding-left: 12px; padding-right: 12px; }
 .v87-review { padding: 13px; }
 .timeline-card { padding: 15px 12px; }
 .timeline-card h4 { font-size: 16px; }
 .timeline-control { min-width: 0; }
 .timeline-tooltip { min-width: 125px; padding: 8px 10px; font-size: 11px; }
}


/* Elo chart: career-history toggle sits to the left of the three independent controls. */
.timeline-all-time { margin-right: auto; border-color:#34a9d1; font-weight:800; }
.timeline-career-note { text-align:center; color:#9bb8cc; font-size:11px; margin:12px 0 0; line-height:1.6; }
@media(max-width:560px) { .timeline-all-time { flex:0 0 100% !important; margin-right:0; } }


/* Primary statistical finding appears directly beneath the review priority. */
.v87-priority-finding { margin: 7px 0 12px; max-width: 850px; color: #d8e8f6; font-size: 14px; line-height: 1.65; }


/* Discord-inspired vertically stacked, wide charts. Preserve the site's navy styling. */
.timeline-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
.timeline-card { width:100%; max-width:none; padding:28px 30px 24px; }
.timeline-card:nth-child(3n + 1) { grid-column:auto; }
.timeline-plot { width:100%; min-width:0; }
.timeline-svg { width:100%; height:auto; max-height:none; }
.timeline-card h4 { font-size:22px; }
.timeline-footnote { margin-top:12px; }
.timeline-controls { justify-content:center; }
.timeline-all-time { margin-right:auto; }
.v87-progress-value { font-size:clamp(34px,5vw,54px); font-weight:850; color:#60deff; margin:8px 0 3px; font-variant-numeric:tabular-nums; letter-spacing:-2px; }
.v87-progress-track { height:16px; border-radius:999px; border:1px solid #2d7098; box-shadow:0 0 14px rgba(28,185,244,.13); }
.v87-progress-fill { height:100%; background:linear-gradient(90deg,#1365c0,#28baff,#56eced); border-radius:999px; transition:width .65s ease-out; box-shadow:0 0 14px rgba(59,210,255,.35); animation:none !important; }
.v87-progress-note { font-size:12px; color:#90aec6; margin-top:14px; line-height:1.6; }
.v87-progress-complete .v87-progress-value { color:#6be3c0; }
.opening-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.opening-card,.opening-shift { background:#11263b; border:1px solid #2b4d69; border-radius:12px; padding:20px 22px; min-width:0; }
.opening-card h4,.opening-shift h4 { margin:0 0 15px; color:#e5f8ff; font-size:18px; }
.opening-card h5 { color:#8ccdec; font-size:13px; margin:16px 0 5px; }
.opening-list { margin:0; padding-left:18px; color:#c4d8e8; line-height:1.75; font-size:13px; }
.opening-shift { margin-top:16px; }
.opening-shift p { color:#bed4e5; line-height:1.7; margin:0; }
@media(max-width:900px) { .opening-grid { grid-template-columns:1fr; } }
@media(max-width:560px) { .timeline-card { padding:19px 12px; } .timeline-card h4 { font-size:18px; } }


/* Consistent Method 3 priority severity colors. */
.v87-priority-low { color:#48d68c; }
.v87-priority-moderate { color:#f1d365; }
.v87-priority-high { color:#f5a052; }
.v87-priority-very-high { color:#f06b78; }
.opening-list li { margin:0 0 9px; }
.opening-bar-track { margin-top:4px; width:100%; height:5px; border-radius:8px; background:#091b31; overflow:hidden; }
.opening-bar-fill { height:100%; border-radius:8px; background:linear-gradient(90deg,#218fd6,#45dfdc); }


/* Compact opening overview; full details remain accessible on demand. */
.opening-compact { padding:22px 24px; }
.opening-compact h4 { margin:0 0 3px; }
.opening-subtitle { margin:0 0 18px; font-size:12px; color:#86b5d0; }
.opening-summary-list { display:grid; gap:14px; }
.opening-summary-row { min-width:0; }
.opening-summary-label { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:6px; font-size:12px; color:#d5e9f6; }
.opening-summary-label span { min-width:0; overflow-wrap:anywhere; }
.opening-summary-label strong { flex:0 0 auto; color:#5cdbed; font-variant-numeric:tabular-nums; }
.opening-summary-row .opening-bar-track { height:7px; border-radius:10px; }
.opening-details { margin-top:20px; border-top:1px solid #294760; padding-top:12px; }
.opening-details > summary { cursor:pointer; list-style:revert; font-size:12px; font-weight:700; color:#53d8f1; padding:5px; }
.opening-details > summary:hover { color:#fff; }
.opening-details-body { padding:8px 3px; display:grid; gap:12px; }
.opening-details-body h5 { margin:12px 0 0; font-size:12px; color:#8ccdec; }
.v87-progress-fill { transition:width .17s linear; }


/* Accurate stage-driven loading presentation and rotating lighthearted messages. */
.v87-progress-quips { color:#6adce5; font-size:13px; line-height:1.65; font-style:italic; min-height:21px; margin:15px 0 4px; }
.v87-progress-message { margin-bottom:18px; }
.v87-progress-track { height:17px; }
.v87-progress-fill { transition:width .19s linear; }
.v87-sample-warning { background:rgba(245,174,83,.075); border:1px solid rgba(245,174,83,.4); border-radius:10px; padding:13px 16px; color:#edc797; font-size:13px; line-height:1.6; }


/* Clear interpretation of shaded intervals, with no extra chart clutter. */
.period-explanation { display:grid; gap:8px; background:#10243a; border:1px solid #2b4860; padding:15px 19px; border-radius:11px; margin:12px 0 23px; }
.period-explanation p { margin:0; font-size:12px; line-height:1.7; color:#b8d2e3; }
.period-high { color:#f5a052; }
.period-context { color:#ba97ff; }
/* One combined opening repertoire instead of separate Rapid/Blitz/Bullet cards. */
.opening-unified { width:100%; max-width:none; padding:25px 30px; }
.opening-overview { display:flex; gap:13px; align-items:baseline; margin-bottom:22px; }
.opening-overview-count { color:#6ae4f4; font-size:29px; font-weight:800; line-height:1; font-variant-numeric:tabular-nums; }
.opening-overview-description { color:#99b9cd; font-size:13px; }
.opening-overview-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:34px; row-gap:18px; }
.opening-unified .opening-summary-label { font-size:13px; }
.opening-unified .opening-bar-track { height:7px; margin-top:6px; }
.opening-unified .opening-details { margin-top:25px; }
.opening-extra { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:34px; }
.opening-disclaimer { color:#87a5bd; font-size:11px; margin:20px 0 0; }
@media(max-width:700px) {
 .period-explanation { padding:12px; }
 .opening-unified { padding:18px 15px; }
 .opening-overview-list,.opening-extra { grid-template-columns:1fr; }
}
.v87-progress-message { color:#6adce5; font-style:normal; min-height:26px; }
.v87-progress-note { margin-top:15px; }


/* Easy-to-read priority/context guide instead of tiny chart microcopy. */
.period-explanation { padding:24px 28px; margin:18px 0 28px; gap:17px; border-color:#3c5871; }
.period-explanation p { font-size:16px; line-height:1.8; color:#d3e3f0; }
.period-explanation strong { font-weight:800; font-size:17px; }
@media(max-width:700px) {
 .period-explanation { padding:17px 16px; gap:13px; }
 .period-explanation p { font-size:14px; line-height:1.75; }
 .period-explanation strong { font-size:15px; }
}
/* Public-player sample choices; preserve the navy hero and main layout. */
.sample-section { max-width:1120px; margin:45px auto 40px; padding:0 24px; }
.sample-heading h2 { color:#f1f8ff; font-size:clamp(22px,3vw,30px); margin:9px 0 9px; }
.sample-heading p { color:#a8c4d8; font-size:14px; max-width:780px; line-height:1.7; }
.sample-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:22px; }
.sample-button { appearance:none; display:flex; flex-direction:column; align-items:flex-start; gap:9px; border:1px solid #31617b; border-radius:12px; padding:23px 25px; background:linear-gradient(150deg,#112d48,#102236); text-align:left; cursor:pointer; transition: border-color .17s,transform .17s,box-shadow .17s; }
.sample-button:hover:not(:disabled) { border-color:#54d9f5; transform:translateY(-2px); box-shadow:0 8px 28px rgba(18,153,211,.16); }
.sample-button:focus-visible { outline:2px solid #54d9f5; outline-offset:3px; }
.sample-button:disabled { opacity:.6; cursor:wait; }
.sample-player-name { font-size:19px; font-weight:800; color:#f0f8ff; }
.sample-player-handle { font-size:12px; color:#69d5ee; }
.sample-status { min-height:20px; font-size:13px; color:#a0d2e9; line-height:1.7; }
.sample-live-button { margin-left:9px; color:#fff; background:#076b93; border:1px solid #4fd6eb; border-radius:7px; padding:8px 11px; font:700 12px Inter,sans-serif; cursor:pointer; }
.sample-report-note { border:1px solid #336786; background:#102b43; padding:14px 17px; border-radius:10px; margin-bottom:20px; color:#b8e6f5; line-height:1.7; font-size:13px; }
@media(max-width:700px) {
 .sample-section { margin:28px auto; padding:0 15px; }
 .sample-options { grid-template-columns:1fr; }
 .sample-button { padding:17px 20px; }
}


/* Compact two-sided example cards use the available width without adding copy. */
.sample-section { max-width:1560px; margin:26px auto 34px; padding:0 clamp(16px,3vw,44px); }
.sample-heading h2 { font-size:21px; margin:4px 0 13px; }
.sample-heading .eyebrow { font-size:10px; }
.sample-options { gap:18px; margin-top:10px; }
.sample-button { min-height:100px; padding:17px 22px; gap:8px; }
.sample-player-name { font-size:18px; }
.sample-player-handle { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; font-size:12px; }
.sample-view { color:#d7f9ff; font-weight:800; white-space:nowrap; }
@media(min-width:1350px) {
 .sample-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.2fr); align-items:center; column-gap:22px; }
 .sample-heading h2 { margin-bottom:0; }
 .sample-options { margin-top:0; }
 .sample-status { grid-column:2; }
}
@media(max-width:700px) {
 .sample-section { padding:0 15px; margin:22px auto; }
 .sample-button { min-height:86px; padding:15px 17px; }
 .sample-player-name { font-size:16px; }
}


/* Place example previews alongside Analysis Overview when a report is visible. */
.results .section-heading { display:flex; gap:24px; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom:22px; }
.results .section-heading .overview-title-group { flex:0 0 auto; min-width:220px; }
.results .section-heading h2 { margin:10px 0 6px; }
.analysis-duration { display:inline-flex; color:#77ddf5; border:1px solid #2e617e; border-radius:7px; background:#112d45; padding:7px 11px; font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.analysis-duration[hidden] { display:none !important; }
.results .section-heading .sample-section { flex:1 1 620px; margin:0; padding:0; max-width:940px; display:block; min-width:0; }
.results .section-heading .sample-heading { display:none; }
.results .section-heading .sample-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0; }
.results .section-heading .sample-button { padding:12px 16px; min-height:75px; }
.results .section-heading .sample-player-name { font-size:14px; }
.results .section-heading .sample-player-handle { font-size:11px; }
.results .section-heading .sample-status { font-size:12px; margin:7px 0 0; }
@media(max-width:900px) {
 .results .section-heading { align-items:stretch; }
 .results .section-heading .sample-section { flex-basis:100%; }
}
@media(max-width:570px) {
 .results .section-heading .sample-options { grid-template-columns:1fr; }
}


/* On the landing page, use the left and right gutters instead of clustering cards in the center. */
@media(min-width:1100px) {
  main > .sample-section { max-width:1700px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:center; }
  main > .sample-section .sample-heading { grid-column:2; grid-row:1; text-align:center; }
  main > .sample-section .sample-options { display:contents; }
  main > .sample-section .sample-button { width:100%; max-width:345px; }
  main > .sample-section .sample-button:first-child { grid-column:1; grid-row:1; justify-self:start; }
  main > .sample-section .sample-button:last-child { grid-column:3; grid-row:1; justify-self:end; }
  main > .sample-section .sample-status { grid-column:1/-1; text-align:center; }
}


/* Definitive homepage layout: BOTH example reports on the far LEFT,
   stacked inside the empty gutter alongside the three feature cards. */
.below-hero-layout { display:grid; grid-template-columns:minmax(0,1fr); max-width:1700px; margin:0 auto; align-items:start; }
.below-hero-layout > .sample-section { max-width:none; width:auto; min-width:0; margin:26px 18px 0; padding:0; display:block; }
.below-hero-layout .sample-heading { text-align:left; }
.below-hero-layout .sample-options { display:flex; flex-direction:column; gap:13px; margin-top:16px; }
.below-hero-layout .sample-button { width:100%; max-width:none; min-height:82px; padding:15px 17px; }
.below-hero-layout .sample-player-name { font-size:16px; }
.below-hero-layout .sample-status { text-align:left; }
.below-hero-layout > .features { max-width:none; width:100%; margin:0; padding:45px 24px 80px; }
@media(min-width:1300px) {
 .below-hero-layout { grid-template-columns:290px minmax(0,1fr); gap:18px; padding:0 32px; }
 .below-hero-layout > .sample-section { grid-column:1; grid-row:1; margin:43px 0 0; }
 .below-hero-layout > .features { grid-column:2; grid-row:1; padding:45px 0 80px; }
 .below-hero-layout .sample-options { display:flex; }
 .below-hero-layout .sample-button:first-child,
 .below-hero-layout .sample-button:last-child { width:100%; max-width:none; }
}
@media(min-width:900px) and (max-width:1299px) {
 .below-hero-layout { grid-template-columns:240px minmax(0,1fr); gap:17px; padding:0 18px; }
 .below-hero-layout > .sample-section { grid-column:1; grid-row:1; margin:43px 0 0; }
 .below-hero-layout > .features { grid-column:2; grid-row:1; padding:45px 0 80px; }
 .below-hero-layout .sample-options { display:flex; }
}
@media(max-width:899px) {
 .below-hero-layout > .sample-section { margin:24px 16px 0; }
 .below-hero-layout .sample-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .below-hero-layout > .features { padding-top:32px; }
}
@media(max-width:600px) {
 .below-hero-layout .sample-options { grid-template-columns:1fr; }
 .below-hero-layout > .features { grid-template-columns:1fr; }
}


/* Final placement: the red marked left gutter starts at the viewport edge.
   The upper hero's left/right space stays empty for future navigation. */
@media (min-width:1050px) {
  main > .below-hero-layout {
    width:100%;
    max-width:none;
    margin:0;
    padding:0 22px 0 16px;
    display:grid;
    grid-template-columns: minmax(270px,300px) minmax(0,1fr);
    column-gap:26px;
    align-items:start;
  }
  main > .below-hero-layout > .sample-section {
    grid-column:1;
    grid-row:1;
    width:100%;
    max-width:none;
    min-width:0;
    margin:30px 0 0;
    padding:0;
    display:block;
  }
  main > .below-hero-layout > .features {
    grid-column:2;
    grid-row:1;
    width:100%;
    max-width:1150px;
    justify-self:center;
    min-width:0;
    margin:0;
    padding:45px 0 80px;
    gap:18px;
  }
  main > .below-hero-layout .sample-options {
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:17px;
  }
  main > .below-hero-layout .sample-button {
    display:flex;
    width:100%;
    max-width:none;
    min-height:132px;
    padding:25px 20px;
    gap:18px;
    justify-content:center;
    border-radius:14px;
  }
  main > .below-hero-layout .sample-player-name {font-size:20px;}
  main > .below-hero-layout .sample-player-handle {font-size:13px;}
  main > .below-hero-layout .sample-heading h2 {font-size:24px;}
  main > .below-hero-layout .sample-heading .eyebrow {font-size:11px;}
}
@media (min-width:1050px) and (max-width:1250px) {
  main > .below-hero-layout {
    grid-template-columns: minmax(245px,270px) minmax(0,1fr);
    column-gap:18px;
  }
  main > .below-hero-layout > .features { gap:12px; }
}


/* Fine-tune sample cards: 24px rightward from the previous far-left position. */
@media (min-width:1050px) {
  main > .below-hero-layout { padding-left:40px; }
}
/* Real Chess.com profile avatars, visually integrated with the existing navy cards. */
.below-hero-layout .sample-card-main { display:flex; align-items:center; gap:14px; min-width:0; }
.below-hero-layout .sample-avatar-frame { display:none; flex:0 0 60px; width:60px; height:60px; overflow:hidden; border:1px solid #387da2; border-radius:12px; background:#092039; }
.below-hero-layout .sample-avatar-frame.has-avatar { display:flex; }
.below-hero-layout .sample-avatar { width:100%; height:100%; object-fit:cover; }
.below-hero-layout .sample-avatar[hidden] { display:none; }
.below-hero-layout .sample-card-main .sample-player-name { min-width:0; line-height:1.3; }
@media (max-width:700px) {
  .below-hero-layout .sample-avatar-frame { flex-basis:48px; width:48px; height:48px; }
}


/* Approved white-and-cyan EloScanner artwork for the three homepage features. */
.feature-card .feature-illustration {
  display:block;
  width:112px;
  height:112px;
  max-width:100%;
  object-fit:contain;
  border-radius:13px;
  background:#031224;
}
.feature-card h3 { margin-top:18px; }
@media(max-width:600px) {
 .feature-card .feature-illustration { width:96px; height:96px; }
}

/* Keep the feature artwork directly on the card surface: no square tile. */
.feature-card .feature-illustration { background:transparent; border-radius:0; }


/* Final verified transparent SVG assets need no rectangular background or filter. */
.feature-card .feature-illustration {
  background: none !important;
  border-radius: 0;
  filter: none !important;
  opacity: 1;
}
/* Do not allow sample report labels/cards to spill outside the left viewport. */
@media (min-width:1050px) {
 main > .below-hero-layout {
   box-sizing:border-box;
   padding-left: clamp(40px, 3vw, 62px) !important;
   padding-right: clamp(24px, 3vw, 50px);
 }
 main > .below-hero-layout > .sample-section {
   margin-left:0 !important;
   transform:none !important;
   min-width:0;
 }
}


/* Community voting: appears only after analysis, immediately to right of username. */
.player-identity { display:grid; grid-template-columns:max-content max-content; column-gap:22px; row-gap:5px; align-items:center; max-width:100%; }
.player-identity .player-name { grid-column:1; grid-row:1; margin:0; overflow-wrap:anywhere; }
.player-identity .player-link { grid-column:1; grid-row:2; }
.sus-widget { grid-column:2; grid-row:1 / span 2; display:flex; align-items:center; gap:9px; flex-wrap:wrap; max-width:340px; }
.sus-button { border:1px solid #f2a35c; background:linear-gradient(135deg,#c96828,#a84723); color:#fff; font:800 13px Inter,sans-serif; padding:10px 16px; border-radius:9px; cursor:pointer; white-space:nowrap; }
.sus-button:hover:not(:disabled) { background:linear-gradient(135deg,#e57a31,#bd552c); }
.sus-button:disabled { opacity:.7; cursor:default; }
.sus-count { color:#ffc191; font-size:13px; font-weight:750; white-space:nowrap; font-variant-numeric:tabular-nums; }
.sus-description { color:#91a8c0; flex-basis:100%; font-size:11px; line-height:1.45; }
@media(max-width:760px) {
 .player-identity { grid-template-columns:minmax(0,1fr); }
 .player-identity .player-name { grid-column:1; grid-row:1; }
 .player-identity .player-link { grid-column:1; grid-row:2; }
 .sus-widget { grid-column:1; grid-row:3; margin-top:8px; }
}


/* SUS leaderboard: floats in existing unused upper-left hero space.
   Existing Magnus/Hikaru examples remain in their original lower-left section. */
.hero .hero-sus-ranking {
  position:absolute; z-index:3; left:clamp(30px,3vw,60px); top:32px;
  width:clamp(245px,17vw,294px); box-sizing:border-box;
  padding:16px 17px 13px; background:rgba(6,24,43,.78);
  border:1px solid #24516c; border-radius:13px;
  box-shadow:0 8px 30px rgba(0,0,0,.12);
  text-align:left;
}
.hero-sus-heading,.sus-top100-heading {display:flex;align-items:center;justify-content:space-between;gap:9px;}
.hero-sus-heading h2,.sus-top100-heading h2 {margin:0;color:#3fe8f6;font-size:14px;font-weight:850;line-height:1.3;}
.sus-top100-button,.sus-top100-heading button {background:#102a44;color:#fff;border:1px solid #37b7de;border-radius:7px;padding:7px 9px;cursor:pointer;font-size:11px;font-weight:750;white-space:nowrap;}
.sus-top100-button:hover,.sus-top100-heading button:hover {background:#164a64;}
.sus-ranking-list {list-style:none;margin:11px 0 0;padding:0;counter-reset:sus-rank;}
.sus-ranking-list li:not(.sus-rank-message) {counter-increment:sus-rank;display:flex;align-items:center;gap:10px;min-height:32px;border-top:1px solid rgba(84,164,206,.16);font-size:12px;color:#edf6ff;font-weight:650;}
.sus-ranking-list li:not(.sus-rank-message)::before {content:counter(sus-rank) ".";color:#a2c4d9;width:21px;flex-shrink:0;}
.sus-rank-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#eef8ff;text-decoration:none;}
.sus-rank-name:hover {color:#40e8f3;text-decoration:underline;}
.sus-rank-count {margin-left:auto;flex-shrink:0;background:#123c57;border:1px solid #205a79;padding:4px 7px;border-radius:6px;color:#fff;font-variant-numeric:tabular-nums;}
.sus-rank-message {color:#a3b9cd;font-size:12px;padding:12px 0;line-height:1.5;}
.sus-ranking-disclaimer {font-size:10px;color:#8eabc1;line-height:1.5;margin:10px 0 0;}
.sus-top100-panel[hidden] {display:none!important;}
.sus-top100-panel {position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);
 width:min(520px,calc(100vw - 30px));max-height:min(82vh,700px);overflow:auto;box-sizing:border-box;
 padding:24px;background:#071c31;border:1px solid #2990b5;border-radius:16px;
 box-shadow:0 0 0 100vmax rgba(0,7,16,.82),0 20px 80px rgba(0,0,0,.45);}
.sus-top100-heading h2 {font-size:20px;}
.sus-top100-heading button {font-size:21px;width:36px;height:36px;line-height:1;}
.sus-top100-panel .sus-ranking-list li:not(.sus-rank-message) {min-height:38px;font-size:13px;}
@media(min-width:1100px) and (max-width:1450px) {
 .hero .hero-sus-ranking {left:20px;top:23px;width:235px;padding:12px;}
 .hero-sus-heading h2 {font-size:12px;}
}
@media(max-width:1099px) {
 .hero {flex-direction:column;}
 .hero .hero-sus-ranking {position:relative;order:2;left:auto;top:auto;width:min(480px,calc(100% - 34px));margin:0 auto 24px;}
 .hero .hero-content {order:1;}
}


/* Dedicated leaderboard page, matching EloScanner's existing navy theme. */
a.sus-top100-button {display:inline-flex;align-items:center;text-decoration:none;}
.top100-home-link {color:#6adff4;text-decoration:none;font-size:13px;font-weight:750;}
.top100-page {width:min(1200px,calc(100% - 36px));margin:55px auto 100px;}
.top100-page-heading {margin-bottom:30px;}
.top100-page-heading h1 {font-size:clamp(32px,5vw,54px);margin:13px 0 18px;letter-spacing:-1.5px;}
.top100-page-heading p {max-width:850px;color:#a3c4da;line-height:1.7;}
.top100-table-wrap {overflow-x:auto;border:1px solid #28516d;border-radius:14px;background:#081e34;}
.top100-table {border-collapse:collapse;width:100%;min-width:690px;text-align:left;}
.top100-table th {font-size:11px;letter-spacing:1px;color:#73cfe6;text-transform:uppercase;background:#0e2b43;}
.top100-table td,.top100-table th {padding:16px 19px;border-bottom:1px solid #1c3d56;}
.top100-table tr:last-child td {border-bottom:0;}
.top100-table td {color:#eaf6ff;font-size:14px;}
.top100-table td a:not(.top100-analyze) {color:#dff6ff;text-decoration:none;font-weight:750;}
.top100-table td a:hover {color:#45e5ef;}
.top100-position {color:#90b9d0!important;}
.top100-votes {font-weight:850;font-variant-numeric:tabular-nums;}
.top100-priority {font-weight:850;white-space:nowrap;}
.top100-priority.priority-low {color:#5ee5a5;}
.top100-priority.priority-moderate {color:#f2cf66;}
.top100-priority.priority-high {color:#ffa35e;}
.top100-priority.priority-very-high {color:#ff767d;}
.top100-analyze {display:inline-block;text-decoration:none;background:#067bd7;color:white;padding:10px 13px;border-radius:8px;font-weight:750;white-space:nowrap;}
.top100-analyze:hover {background:#0e97f3;color:white!important;}
.top100-note {font-size:12px;color:#93b4c9;line-height:1.6;margin-top:19px;}
/* Keep Hikaru's image frame visible even when the profile API is rate limited. */
.sample-button[data-username="Hikaru"] .sample-avatar-frame {display:flex;}

.top100-priority .top100-review-link{display:inline-block;color:inherit!important;text-decoration:underline;text-underline-offset:4px;border-radius:6px;padding:5px 7px;background:rgba(255,255,255,.06)}
.top100-priority .top100-review-link:hover,.top100-priority .top100-review-link:focus-visible{background:rgba(255,255,255,.17);outline:2px solid currentColor;outline-offset:2px}

/* Keep the sample reports anchored on the left; center the three feature cards
   more closely above the Responsible Fair Play Research panel. */
@media (min-width:1300px) {
  main > .below-hero-layout > .features {
    position:relative;
    left:-55px;
    width:calc(100% + 35px);
    max-width:1100px;
  }
}
@media (min-width:1050px) and (max-width:1299px) {
  main > .below-hero-layout > .features {
    position:relative;
    left:-18px;
    width:calc(100% + 12px);
  }
}

/* Homepage desktop layout: the example reports are anchored immediately below
   the hero, independently of the dynamically inserted analysis results.
   Feature cards are centered against the full page, not the sidebar column. */
@media (min-width:1050px) {
  main { position:relative; }
  main > .below-hero-layout {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
    margin:0 !important;
  }
  main > .below-hero-layout > .sample-section {
    position:absolute !important;
    top:calc(580px + 28px);
    left:clamp(24px,3vw,56px);
    width:clamp(240px,18vw,300px) !important;
    max-width:300px !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    z-index:2;
  }
  main > .below-hero-layout > .features {
    position:static !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:min(1050px,calc(100% - 390px)) !important;
    max-width:1050px !important;
    margin:0 auto !important;
    padding:45px 0 60px !important;
    gap:18px;
    transform:none !important;
  }
}

/* All-time rating mini-charts */
.rating-grid .rating-box{position:relative;min-height:105px;padding-right:clamp(125px,55%,235px)}
.rating-grid .rating-label,.rating-grid .rating-value{position:relative;z-index:1}
.rating-sparkline{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:53%;height:70px;overflow:visible}
.rating-sparkline-path{stroke-dasharray:1100;stroke-dashoffset:1100;animation:elo-spark-draw 2.3s ease-out forwards}
.rating-sparkline-tip{opacity:0;animation:elo-spark-tip .25s ease forwards;animation-delay:2.15s}
@keyframes elo-spark-draw{to{stroke-dashoffset:0}}
@keyframes elo-spark-tip{to{opacity:1}}
@media(prefers-reduced-motion:reduce){.rating-sparkline-path{animation:none;stroke-dashoffset:0}.rating-sparkline-tip{animation:none;opacity:1}}
@media(max-width:680px){.rating-grid .rating-box{padding-right:46%}.rating-sparkline{width:42%;right:10px}}

@keyframes elo-segment-draw{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.rating-sparkline line{animation:none!important;stroke-dashoffset:0!important}}

/* Keep the dark canvas visible behind long pages and mobile overscroll. */
html,body{min-height:100%;background-color:#010817!important}
html{min-height:100vh}

/* Respect reduced-motion preferences without changing game rules or clocks. */
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Allow cross-navigation between the two examples directly from either report. */
body[data-example-player] .sample-section{display:block!important}
/* Chess.com avatars must never expand to their intrinsic image dimensions. */
.sample-options .sample-avatar,
.sample-button .sample-avatar,
.sample-options [data-player-avatar]{
 display:inline-flex;
 flex:0 0 54px;
 width:54px;
 height:54px;
 max-width:54px;
 max-height:54px;
 align-items:center;
 justify-content:center;
 overflow:hidden;
 border-radius:12px;
}
.sample-options .sample-avatar img,
.sample-button .sample-avatar img,
.sample-options [data-player-avatar] img{
 display:block;
 width:100%!important;
 height:100%!important;
 max-width:100%!important;
 max-height:100%!important;
 object-fit:cover;
 border-radius:inherit;
}
@media(max-width:700px){
 .sample-options .sample-avatar,.sample-button .sample-avatar,.sample-options [data-player-avatar]{
  flex-basis:46px;width:46px;height:46px;max-width:46px;max-height:46px;
 }
}

/* 196: Verified Chess.com photos render immediately, with initials as fallback. */
.sample-button [data-player-avatar]{position:relative;isolation:isolate}
.sample-button [data-player-avatar] img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
body[data-example-player] .sample-section{margin-bottom:24px}
.example-source-summary{padding:18px 20px;margin:14px 0 20px;border:1px solid #335875;border-radius:12px;background:#0b2034;color:#d6e5f4;line-height:1.65}
.example-source-summary h3{margin:0 0 8px;font-size:19px;color:#fff}
.example-source-summary p{margin:6px 0}
.example-source-summary a{color:#8fd7ff;text-decoration:underline;font-weight:700}
.example-source-facts{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.example-source-facts span{padding:7px 11px;border:1px solid #385c76;border-radius:8px;background:#122f47;font-size:13px}

/* Missing public game archives must not leave an empty Insights pane. */
body[data-example-player] .insights-integrated[hidden]{display:none!important}

/* Chess.com masters database overview: never imply account-archive accuracy. */
.magnus-master-report{padding:20px 0 28px}
.magnus-master-report>h2{font-size:clamp(22px,3vw,30px);margin:12px 0}
.magnus-report-note{color:#a8c3d9;line-height:1.65;max-width:850px}
.magnus-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 14px}
.magnus-report-metric{padding:20px 14px;border:1px solid #2d536c;background:#0c2035;border-radius:14px;display:flex;flex-direction:column;gap:6px}
.magnus-report-metric strong{font-size:clamp(24px,3vw,36px);color:#fff}
.magnus-report-metric span{color:#abc4d7;font-size:13px}
.magnus-result-bar{height:14px;display:flex;overflow:hidden;border-radius:999px;margin:0 0 28px}
.magnus-result-bar span{display:block;height:100%}
.magnus-result-wins{background:#4bd4a1}.magnus-result-draws{background:#8ea6c1}.magnus-result-losses{background:#ef8a8a}
.magnus-report-colors,.magnus-opening-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 28px}
.magnus-report-color,.magnus-opening-column{background:#0b2034;border:1px solid #2d536c;border-radius:14px;padding:18px}
.magnus-report-color h3,.magnus-opening-column h4{margin:0 0 8px;color:#fff}
.magnus-color-figures{display:flex;justify-content:space-between;gap:8px;margin-top:16px}
.magnus-color-figures span{display:flex;flex-direction:column;gap:3px}
.magnus-color-figures strong{font-size:22px;color:#fff}
.magnus-color-figures small{color:#abc4d7}
.magnus-opening-column ol{padding-left:20px;margin:12px 0 0}
.magnus-opening-column li{padding:8px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #29475b;color:#d5e6f2}
.magnus-opening-column li strong{white-space:nowrap;font-size:12px;color:#8fd7ff}
.magnus-report-source{display:inline-block;padding:12px 18px;margin-top:12px;border:1px solid #70c8f5;border-radius:10px;color:#8fd7ff;font-weight:700}
@media(max-width:650px){.magnus-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.magnus-report-colors,.magnus-opening-columns{grid-template-columns:1fr}}

/* Reserve chart space without building offscreen SVGs on first paint. */
.timeline-plot.timeline-awaiting-paint{aspect-ratio:1340/365;min-height:105px}
