:root { --bg: #0f1115; --panel: #161920; --line: #262a33; --text: #e8e6e3; --muted: #8b8f98; --accent: #ff8a3d; --pos: #5fd38d; --neg: #ff6b6b; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; min-height: 100vh; }
a { color: inherit; }
header { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
header h1 { font-size: 17px; font-weight: 650; }
header h1 a { text-decoration: none; }
header h1 span { color: var(--accent); }
header .sub { color: var(--muted); font-size: 13px; }
main { max-width: 1200px; margin: 0 auto; padding: 20px 16px 60px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
select, input { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 7px 10px; font: inherit; }
.muted { color: var(--muted); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .zero { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 8px; border-bottom: 1px solid var(--line); }
td { padding: 8px; border-bottom: 1px solid #1c1f26; vertical-align: middle; }
.r { text-align: right; }
tr.click { cursor: pointer; } tr.click:hover td { background: #151922; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.card h2 { font-size: 15px; margin-bottom: 10px; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stats .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.stats .v { font-size: 21px; font-weight: 650; font-variant-numeric: tabular-nums; }
.title { font-size: 22px; font-weight: 650; margin-bottom: 4px; }
.notes { white-space: pre-wrap; }
.ico { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 6px; display: inline-block; }
.bar-cell { position: relative; }
.bar-cell .bar { position: absolute; left: 0; top: 5px; bottom: 5px; background: rgba(255,138,61,0.14); border-radius: 3px; }
.bar-cell span { position: relative; }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: #222631; color: var(--muted); white-space: nowrap; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
nav.top { display: flex; gap: 14px; }
nav.top a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav.top a:hover, nav.top a.on { color: var(--text); }
.portrait { border-radius: 50%; object-fit: cover; vertical-align: middle; border: 1px solid var(--line); margin-right: 6px; }
.tagx { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: #222631; color: var(--muted); }
.tier { display: inline-flex; width: 26px; height: 22px; align-items: center; justify-content: center; border-radius: 5px; font-weight: 700; font-size: 12px; }
.tier.tS { background: #ff8a3d; color: #1a1006; } .tier.tA { background: #e0b84a; color: #1a1406; } .tier.tB { background: #5fd38d; color: #08170e; }
.tier.tC { background: #4a8fd8; color: #06101a; } .tier.tD { background: #3a3f4b; color: var(--muted); }
button.lang { margin-left: auto; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; }
button.lang:hover { border-color: var(--accent); }
.cta { background: var(--accent); color: #1a1006; border-radius: 6px; padding: 7px 14px; text-decoration: none; font-weight: 600; margin-left: auto; }
@media (max-width: 700px) { .hide-sm { display: none; } td, th { padding: 6px 4px; } }
