/* Radix Colors, MIT. See /radix-colors.LICENSE.txt. Color-only theme; existing layout and behavior preserved. */
:root{--c28-bg:#f9f9f8;--c28-surface:#ffffff;--c28-surface2:#f1f0ef;--c28-line:#dad9d6;--c28-border:#cfceca;--c28-text:#21201c;--c28-muted:#63635e;--c28-accent:#ce2c31;--c28-onAccent:#ffffff;--c28-accentText:#ce2c31;--c28-accentSoft:#feebec;--c28-accentHover:#ffdbdc;--c28-accentBorder:#f4a9aa;--c28-rowHover:#fff7f7;--c28-shadow:rgba(20, 25, 23, .05);--bg:var(--c28-bg);--surface:var(--c28-surface);--surface-2:var(--c28-surface2);--surface-3:var(--c28-accentSoft);--ink:var(--c28-text);--muted:var(--c28-muted);--line:var(--c28-line);--brand:var(--c28-accentText);--brand-2:var(--c28-accent);--gold:var(--c28-accentBorder);--gold-deep:var(--c28-accentText);--deep:var(--c28-text);--shadow:0 8px 28px var(--c28-shadow);}
html[data-theme="dark"]{--c28-bg:#191918;--c28-surface:#111110;--c28-surface2:#222221;--c28-line:#3b3a37;--c28-border:#494844;--c28-text:#eeeeec;--c28-muted:#b5b3ad;--c28-accent:#e5484d;--c28-onAccent:#111111;--c28-accentText:#ff9592;--c28-accentSoft:#3b1219;--c28-accentHover:#500f1c;--c28-accentBorder:#8c333a;--c28-rowHover:#201314;--c28-shadow:rgba(0, 0, 0, .18);--bg:var(--c28-bg);--surface:var(--c28-surface);--surface-2:var(--c28-surface2);--surface-3:var(--c28-accentSoft);--ink:var(--c28-text);--muted:var(--c28-muted);--line:var(--c28-line);--brand:var(--c28-accentText);--brand-2:var(--c28-accent);--gold:var(--c28-accentBorder);--gold-deep:var(--c28-accentText);--deep:var(--c28-text);--shadow:0 8px 28px var(--c28-shadow);}
html body{background-color:var(--c28-bg)!important;background-image:none!important;color:var(--c28-text)!important;}
html body .site-header,html body .live-strip,html body .recent-panel,html body .mini-scratch,html body .history-section,html body .insight-panel,html body .sequence-workbench,html body .matches-section,html body .subpage-card,html body .content-page{background-color:var(--c28-surface)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .live-lead{background-color:var(--c28-surface2)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .live-lead .eyebrow,html body .issue-line span,html body .draw-line b,html body .countdown-chip strong{color:var(--c28-text)!important;}
html body .countdown-chip,html body .draw-meta>span{background-color:var(--c28-accentSoft)!important;background-image:none!important;color:var(--c28-accentText)!important;border-color:var(--c28-accentBorder)!important;box-shadow:none!important;}
html body .ball{background-color:var(--c28-accentSoft)!important;background-image:none!important;color:var(--c28-accentText)!important;border-color:var(--c28-accentBorder)!important;box-shadow:none!important;}
html body .ball.sum,html body .primary-button,html body .pagination button[aria-current=page]{background-color:var(--c28-accent)!important;background-image:none!important;color:var(--c28-onAccent)!important;border-color:var(--c28-accent)!important;box-shadow:none!important;}
html body .section-kicker,html body .history-table thead th,html body .results-head,html body .match-title{background-color:var(--c28-surface2)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:none!important;}
html body .section-kicker small,html body .results-head .eyebrow,html body .results-head h2,html body .results-head>p,html body .match-title span{color:var(--c28-text)!important;}
html body .history-equation b,html body .history-equation em,html body .mini-equation b,html body .mini-equation em,html body .range-badge,html body .insight-head>strong,html body .recent-list>li>em{background-color:var(--c28-accentSoft)!important;background-image:none!important;color:var(--c28-accentText)!important;border-color:var(--c28-accentBorder)!important;box-shadow:none!important;}
html body .history-table tbody tr:nth-child(even){background-color:var(--c28-bg)!important;background-image:none!important;}
html body .history-table tbody tr:hover{background-color:var(--c28-rowHover)!important;background-image:none!important;}
html body .sequence-slot,html body .sequence-slot:nth-child(2),html body .sequence-slot:nth-child(3),html body .sequence-slot:nth-child(4),html body .sequence-slot:nth-child(5),html body .sequence-slot:nth-child(6),html body .draw-tile,html body .dragon-list article{background-color:var(--c28-surface2)!important;background-image:none!important;color:var(--c28-text)!important;border-color:var(--c28-line)!important;box-shadow:0 8px 28px var(--c28-shadow)!important;}
html body .content-page article,html body .live-lead::after,html body .mini-scratch-stage,html body .sequence-slot{border-color:var(--c28-accentBorder)!important;}
html body .brand-mark{background-color:var(--c28-accent)!important;background-image:none!important;color:var(--c28-onAccent)!important;border-color:var(--c28-accent)!important;box-shadow:none!important;}
html body main :is(input,select,textarea){background-color:var(--c28-surface)!important;color:var(--c28-text)!important;border-color:var(--c28-border)!important;}
