/* stats/public/brand.css */
:root { --bg: #0e0f13; --fg: #eef0f4; --muted: #8b90a0; --line: #23252e; --pos: #47d18a; --neg: #e5646e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: "Inter", system-ui, sans-serif; }
.hero { padding: 56px 20px 28px; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(28px, 6vw, 52px); letter-spacing: 0.02em; }
.tagline { margin: 8px 0 0; color: var(--muted); font-style: italic; }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
section { margin-top: 32px; }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 10px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
tr.pos td:nth-child(3), tr.pos td:nth-child(4) { color: var(--pos); }
tr.neg td:nth-child(3), tr.neg td:nth-child(4) { color: var(--neg); }
.updated { margin-top: 24px; color: var(--muted); font-size: 12px; text-align: center; }

/* Табы */
.tabs { display: flex; gap: 8px; justify-content: center; margin: 8px 0 0; }
.tab { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.tab.active { color: var(--fg); border-color: var(--fg); }
.tabpane { display: none; }
.tabpane.active { display: block; }

/* Разворот групп */
tr.group { cursor: pointer; }
tr.group:hover td { background: rgba(255,255,255,0.03); }
tr.detail.hidden { display: none; }
tr.detail > td { padding: 0 0 12px; border-bottom: 1px solid var(--line); }

/* Построчная таблица ставок */
table.bets { width: 100%; margin: 4px 0 0; font-size: 12px; }
table.bets th { font-size: 10px; }
table.bets th, table.bets td { padding: 6px 10px; }
td.pos { color: var(--pos); }
td.neg { color: var(--neg); }
