/* ANIMUS v1.2.8 · compact race UI */
:root{--compact-gap:10px}
.public-mode .app,.driver-mode .app{padding-bottom:54px!important}
.public-mode .section,.driver-mode .section{margin-top:12px!important}
.public-mode .page-head,.driver-mode .page-head{padding:14px 20px!important;margin-bottom:12px!important}
.public-mode .page-head::before,.driver-mode .page-head::before{height:2px!important;width:34px!important;margin-bottom:9px!important}
.public-mode .page-head h1,.driver-mode .page-head h1{font-size:clamp(36px,4.2vw,54px)!important;line-height:.9!important;margin:5px 0 7px!important}
.public-mode .page-head p,.driver-mode .page-head p{font-size:11px!important;line-height:1.45!important}
.public-mode .season-badge,.driver-mode .season-badge{padding:7px 9px!important;font-size:9px!important}
.public-mode .card-title,.driver-mode .card-title{margin-bottom:10px!important}
.public-mode .card-title h2,.driver-mode .card-title h2{font-size:22px!important}
.public-mode .card:not(.race-intel-graph):not(.cockpit-panel),.driver-mode .card:not(.race-intel-graph):not(.cockpit-panel){padding:14px!important}
.public-mode .metric,.driver-mode .metric{padding:12px!important;min-height:82px!important}.public-mode .metric strong,.driver-mode .metric strong{font-size:24px!important}
.apex-section-head{margin-bottom:11px!important}.apex-section-head h2{font-size:28px!important;line-height:.95!important;margin:4px 0!important}.apex-section-head p{font-size:11px!important;line-height:1.45!important}

/* HOME RECORD TEASER */
.record-teaser-compact{border:1px solid #30291e;background:#0c0c11;padding:16px!important}
.record-teaser-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:10px}.record-teaser-head small{color:#a98943;font:800 8px Inter;letter-spacing:.18em}.record-teaser-head h2{margin:2px 0 0;color:#f1e8d4;font:900 26px/.95 "Barlow Condensed"}.record-teaser-head p{margin:4px 0 0;color:#9a9081;font-size:10px}.record-teaser-head>a{color:#d6b453;text-decoration:none;font:900 10px "Barlow Condensed";letter-spacing:1px}
.record-teaser-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.record-teaser-item{padding:10px 11px;border:1px solid #312a20;background:#111117;text-decoration:none;min-width:0}.record-teaser-item>small{display:block;color:#9a8148;font:800 7px Inter;letter-spacing:.12em}.record-teaser-item>strong{display:block;color:#e4c765;font:900 24px/.95 "Barlow Condensed";margin:5px 0}.record-teaser-item .apex-record-holders{margin-top:3px}.record-teaser-item .apex-record-holders a,.record-teaser-item .record-holder-static{font-size:10px!important;color:#f0e8da!important}.record-teaser-item .flag{width:16px;height:11px}

/* RECORDS PAGE */
.compact-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;border-bottom:1px solid #30291f;padding:0 0 9px!important}.compact-section-head small{display:block;color:#a88a43;font:800 8px Inter;letter-spacing:.17em}.compact-section-head h2{margin:2px 0 0;color:#f1e8d4;font:900 25px/.95 "Barlow Condensed"}.compact-section-head>a,.compact-section-head>span{color:#a79777;text-decoration:none;font:800 9px Inter;letter-spacing:.1em}
.compact-record-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:8px}.compact-record-card{padding:11px 12px!important;min-height:0!important;display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center}.compact-record-top small{font-size:7px!important;color:#9c8247!important;letter-spacing:.12em}.compact-record-top strong{font-size:28px!important;color:#e5c965!important;margin:4px 0 0!important}.compact-record-card>.record-holders{margin:0!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px 12px!important;align-items:center}.compact-record-card>.record-holders>a,.compact-record-card>.record-holders>.record-holder-static{font-size:11px!important;color:#f2eadb!important}.compact-record-card>.record-holders .flag{width:18px;height:12px}
.compact-record-section{border:1px solid #30291e;background:#0c0c11;padding:14px!important}.compact-event-grid{gap:7px!important;margin-top:10px}.compact-event-record{padding:10px 11px!important;min-height:0!important}.event-record-value{display:flex;align-items:end;justify-content:space-between;gap:8px;border-bottom:1px solid #28231c;padding-bottom:7px}.event-record-value small{font-size:7px!important}.event-record-value b{font-size:20px!important;margin:0!important;white-space:nowrap}.compact-event-record .event-record-ties{margin-top:7px;gap:6px}.compact-event-record .event-record-entry{gap:1px}.compact-event-record .event-record-duel a,.compact-event-record .event-record-duel>span{font-size:11px!important}.compact-event-record .event-record-entry>span{font-size:9px!important}.compact-event-record .flag{width:18px;height:12px}
.compact-track-records{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:10px}.compact-track-record{padding:11px!important;min-height:0!important}.track-record-title{display:flex;align-items:center;gap:7px}.track-record-title .flag{width:20px;height:14px}.compact-track-record h3{font-size:18px!important}.compact-track-record .track-time{font-size:23px!important}.compact-track-record .track-driver{margin-top:7px!important}.compact-track-record .track-driver .flag{width:18px;height:12px}.compact-track-record .track-driver b{font-size:11px!important}.compact-track-record .track-driver span{font-size:9px!important}

/* RESULTS / RACE CENTER INDEX */
.compact-results{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.compact-result-card{padding:13px!important}.compact-result-card h3{font-size:24px!important;margin:5px 0 2px!important}.compact-result-card p{font-size:10px!important}.compact-result-card .result-card-head>.flag{width:25px;height:17px}.compact-podium{gap:3px!important;margin-top:10px!important}.compact-podium .podium-row{padding-top:6px!important;grid-template-columns:24px 1fr auto!important}.compact-podium .podium-row strong{font-size:13px!important}.compact-podium .driver-cell{gap:7px!important}.compact-podium .driver-cell .flag{width:19px;height:13px}.compact-podium .driver-cell span{font-size:11px!important}.compact-podium em{font-size:9px!important}.result-awards{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px}.result-awards>span{padding:7px 8px;border:1px solid #29241d;background:#0b0c10;min-width:0}.result-awards small{display:block;color:#9b8147;font:800 7px Inter;letter-spacing:.13em}.result-awards b{display:flex;align-items:center;gap:5px;color:#eee6d7;font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-awards .flag{width:16px;height:11px;flex:0 0 auto}.compact-result-card .open-center{margin-top:9px!important;padding-top:8px!important;font-size:9px!important}

/* GENERAL READABILITY / DENSITY */
.public-mode .driver-cell span,.driver-mode .driver-cell span{color:#eee7da!important;font-weight:800!important}.public-mode .muted,.driver-mode .muted{color:#a09789!important}.public-mode table td,.driver-mode table td{padding:8px 9px!important}.public-mode table th,.driver-mode table th{padding:8px 9px!important}.public-mode .latest-result,.driver-mode .latest-result{padding:10px 0!important}.public-mode .round-card,.driver-mode .round-card{padding:13px 15px!important}.public-mode .calendar-list,.driver-mode .calendar-list{gap:7px!important}
/* Keep race intelligence graphs large/full-width despite compact page density. */
.race-intel-graph{padding:14px!important}.race-chart-xl{height:520px!important;min-height:520px!important}

@media(max-width:1250px){.record-teaser-grid{grid-template-columns:repeat(3,1fr)}.compact-results{grid-template-columns:repeat(2,1fr)!important}.compact-track-records{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:850px){.compact-record-grid{grid-template-columns:1fr!important}.compact-track-records{grid-template-columns:repeat(2,1fr)!important}.compact-results{grid-template-columns:1fr!important}.record-teaser-grid{grid-template-columns:repeat(2,1fr)}.compact-record-card{grid-template-columns:90px 1fr}.compact-section-head{align-items:flex-start}}
@media(max-width:560px){.compact-track-records{grid-template-columns:1fr!important}.record-teaser-grid{grid-template-columns:1fr 1fr}.record-teaser-head{align-items:flex-start;flex-direction:column}.result-awards{grid-template-columns:1fr}.race-chart-xl{height:390px!important;min-height:390px!important}}
