:root { color-scheme: light dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #0d1117; color: #e6edf3; }
a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 72px; }
.shell.wide { width: min(1500px, calc(100% - 32px)); }
.hero, .page-head { margin-bottom: 30px; }
.eyebrow { margin: 0 0 8px; color: #8b949e; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; }
h2 { margin: 10px 0 8px; }
p { line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { display: block; padding: 24px; border: 1px solid #30363d; border-radius: 16px; background: #161b22; color: inherit; }
.card:hover { border-color: #58a6ff; text-decoration: none; transform: translateY(-1px); }
.icon { font-size: 28px; }
.note { color: #8b949e; margin-top: 24px; }
.note.compact { margin: 0 0 16px; }
footer { margin-top: 40px; }
nav { margin-bottom: 28px; color: #8b949e; }
.map-frame { overflow: auto; border: 1px solid #30363d; border-radius: 16px; background: #fff; padding: 8px; }
.map-frame object { display: block; width: 100%; min-width: 980px; min-height: 720px; border: 0; }
.leaderboard { margin-top: 42px; padding-top: 30px; border-top: 1px solid #30363d; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid #3d444d; border-radius: 14px; background: #161b22; }
.elo-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 980px; font-size: 14px; }
.elo-table th, .elo-table td { padding: 12px 13px; border-right: 1px solid #30363d; border-bottom: 1px solid #30363d; text-align: left; vertical-align: middle; }
.elo-table th:last-child, .elo-table td:last-child { border-right: 0; }
.elo-table tbody tr:last-child td { border-bottom: 0; }
.elo-table th { position: sticky; top: 0; z-index: 1; background: #21262d; color: #f0f6fc; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.elo-table tbody tr:nth-child(even) { background: rgba(110, 118, 129, 0.07); }
.elo-table tbody tr:hover { background: rgba(88, 166, 255, 0.10); }
.elo-table td:nth-child(1), .elo-table td:nth-child(3), .elo-table td:nth-child(4), .elo-table td:nth-child(5), .elo-table td:nth-child(6), .elo-table td:nth-child(8) { white-space: nowrap; }
.elo-table td:nth-child(2) { min-width: 420px; line-height: 1.35; }
.elo-table td:nth-child(3) { font-weight: 700; }
.elo-table td a { font-weight: 600; }
.elo-updated { margin: 12px 2px 0; color: #8b949e; font-size: 13px; }
@media (max-width: 760px) { .shell, .shell.wide { width: min(100% - 20px, 1500px); padding-top: 28px; } .map-frame object { min-width: 900px; } .section-head { align-items: flex-start; flex-direction: column; } }
