:root {
  --bg: #071321;
  --surface: #10283a;
  --surface-light: #163449;
  --line: #31536a;
  --text: #edf5fa;
  --muted: #99adbc;
  --accent: #d5ff5a;
  --blue: #6ca8ff;
  --good: #74d59a;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 Inter, ui-sans-serif, system-ui, sans-serif; }
header { height: 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding: 0 max(32px, calc((100vw - 1440px) / 2)); }
.brand { color: var(--text); font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: -.5px; }
.brand span { color: var(--accent); }
header p { color: var(--muted); margin: 0; flex: 1; }
.methodology { color: var(--accent); font-weight: 700; text-decoration: none; }
main { max-width: 1440px; margin: auto; padding: 34px; }
.intro { background: linear-gradient(110deg, #17364a, #102330); border: 1px solid var(--line); border-radius: 18px; padding: 34px; display: flex; justify-content: space-between; gap: 24px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 7px 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
h2 { margin: 0 0 16px; font-size: 24px; } h3 { margin: 0 0 18px; font-size: 18px; }
.intro p, .caption { color: var(--muted); margin: 0; }
.intro .provisional-note { color: #f5cc6b; font-size: 12px; margin-top: 12px; max-width: 700px; }
.snapshot { display: grid; grid-template-columns: repeat(3, minmax(74px, 1fr)); align-content: center; gap: 4px 22px; }
.snapshot strong { color: var(--accent); font-size: 32px; } .snapshot span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.workspace { display: grid; grid-template-columns: 290px 1fr; gap: 24px; margin-top: 26px; }
.explorer, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin: 13px 0; text-transform: uppercase; letter-spacing: .04em; }
input, select { width: 100%; margin-top: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--bg); font: inherit; }
.player-list { border-top: 1px solid var(--line); margin: 18px -20px -20px; max-height: 660px; overflow-y: auto; }
.player { background: transparent; border: 0; border-bottom: 1px solid #244457; color: var(--text); cursor: pointer; display: block; padding: 14px 20px; text-align: left; width: 100%; }
.player:hover, .player.selected { background: var(--surface-light); }
.player strong { display: block; }.player small { color: var(--muted); }.player .mini-score { color: var(--accent); float: right; font-weight: 800; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; margin: 5px 4px 24px; }
.profile-heading h2 { font-size: 42px; letter-spacing: -.04em; margin: 4px 0; }.profile-heading p { color: var(--muted); margin: 0; }
.profile-heading .profile-note { color: #f5cc6b; font-size: 12px; margin-top: 8px; max-width: 670px; }
.score { text-align: right; }.score span { color: var(--muted); display: block; font-size: 11px; font-weight: 800; }.score strong { color: var(--accent); font-size: 60px; line-height: .9; }.score small { color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.radar-panel { min-height: 500px; }.radar-panel canvas { display: block; height: auto; max-width: 100%; width: 100%; }
.caption { font-size: 12px; text-align: center; }
.axis-row, .role-row { display: grid; grid-template-columns: 160px 1fr 42px; gap: 10px; align-items: center; margin: 16px 0; }
.axis-row span, .role-row span { font-weight: 700; }.bar { background: #27465a; border-radius: 99px; height: 11px; overflow: hidden; }.bar i { background: linear-gradient(90deg, var(--blue), var(--accent)); display: block; height: 100%; }
.role-row i { background: var(--good); }.value { color: var(--accent); font-weight: 800; text-align: right; }
.panel-title-row { align-items: center; display: flex; justify-content: space-between; gap: 16px; }.panel-title-row select { width: auto; margin: 0; }
.similar { border-bottom: 1px solid #244457; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 13px 0; }.similar:hover { color: var(--accent); }.similar small { color: var(--muted); }
.empty-state { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); padding: 60px 20px; text-align: center; }
.methodology-page { max-width: 1160px; }.methodology-page > h1 { margin-bottom: 14px; }.lead { color: var(--muted); font-size: 18px; max-width: 880px; }.methodology-page section { margin-top: 30px; }
.metric-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.metric-card { display: flex; flex-direction: column; }
.metric-card.provisional-card { border-color: #f5cc6b; }
.caveat { color: #f5cc6b; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-grid div h3 { margin-top: 0; }
@media (max-width: 900px) { .method-grid, .metric-cards { grid-template-columns: 1fr; } }
@media (max-width: 900px) { header { padding: 0 18px; } header p { display: none; } main { padding: 18px; }.intro, .workspace, .profile-grid { grid-template-columns: 1fr; display: grid; }.snapshot { grid-template-columns: repeat(3, 1fr); } .explorer { grid-row: 1; } }
