/* VTR identity: the supplied logo stays unchanged; object-fit frames its mark. */
:root{--bg:#07090d;--surface:#10141b;--surface2:#171c27;--stroke:#282e3a;--text:#f4f6fb;--muted:#a9b1c2;--accent:#21d4f4;--red:#21d4f4;--vtr-gradient:linear-gradient(105deg,#00deee 0%,#087cf7 44%,#6028ff 72%,#d600ed 100%)}
body{background:var(--bg);color:var(--text)}
.sidebar{background:#000;border-bottom-color:#222936;padding-top:15px;padding-bottom:15px}
.sidebar .brand{gap:14px;letter-spacing:0;font-style:normal}
.sidebar .brand .brand-logo{display:block;width:138px;height:43px;overflow:hidden;flex-shrink:0;background:#000}
.brand-logo img,.login-logo img{width:100%;height:100%;object-fit:cover;object-position:50% 48%;display:block}
.sidebar .brand .brand-name{font-size:9px;letter-spacing:1.15px;color:#bbc3d3;border-left:1px solid #323849;padding-left:14px;line-height:1.8}
.brand small{color:var(--accent);font-size:9px;letter-spacing:2px}
.nav-link{color:#b1bacb;font-size:12px}.nav-link:hover{background:#121722;color:#fff}.nav-link.active{border-bottom-color:var(--accent);color:#fff}
.top-heading{color:#8c98b0;font-size:10px;letter-spacing:2px}
.hero.dashboard-hero{background:#000;border:1px solid #262f41;min-height:490px}
.hero.dashboard-hero:after{background:repeating-linear-gradient(125deg,transparent 0 45px,#6886cb12 46px 47px);opacity:.65}
.hero.dashboard-hero h1{color:#f3f6ff;font-size:clamp(48px,5.5vw,78px);font-weight:850;line-height:.98}
.hero.dashboard-hero h1 em{background:var(--vtr-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;font-style:italic}
.hero.dashboard-hero .eyebrow{color:#9cacc9;letter-spacing:2.3px}
.hero.dashboard-hero p{color:#aab5ca}.race-preview{border-top:0;position:relative;padding-top:30px}.race-preview:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--vtr-gradient)}
.race-preview h2{font-weight:600}.season-label{border-color:#2b3342;color:#8e9db8}.season-label strong{color:#ecf1fc}
.portal-button,button:not(.outline):not(.secondary){background:var(--accent);color:#06121a;border-color:var(--accent)}
.portal-button{border-radius:2px;font-weight:650}.portal-button.outline{background:transparent;color:#e9effb;border-color:#46536d}.portal-button.outline:hover{border-color:#91a8d3;background:#101722}
.outline,.secondary{color:#dce6fa;border-color:#364158}.secondary{background:#202a3d}.outline:hover:not(:disabled){background:#151d2b;border-color:#64769a}
button:focus-visible,a:focus-visible{outline-color:var(--accent)}input:focus,select:focus,textarea:focus{outline:2px solid #21d4f459;border-color:var(--accent)}
.card{background:#10141b;border-color:#293142}.card h2,.card h3{color:#edf2ff}.muted{color:var(--muted)}
#publicDashboard .standings-grid .card{border-top:2px solid #257fe9}#publicDashboard .standings-grid .card:nth-child(2){border-top-color:#9551ef}
.news-grid article{background:#10141b;border-top-color:#7d43e9}.section:before{background:var(--accent)}
.guest-login-panel{background:#0b0f16;border-color:#29354d;border-top:2px solid #6b44ee}
.login-logo{display:block;width:220px;height:76px;margin:0 0 26px;overflow:hidden;background:#000;border-radius:3px}
#login{background:#21d4f4;color:#06121a;font-weight:650}#guestContinue{border-color:#3d4c69;color:#cad5e9}
#driverDialog,#raceDialog{background:#0e131d;border-color:#303f59;border-top-color:var(--accent)}
#auctionPage .auction-overview{background:#101722;border-color:#30466a}#auctionPage .bid-primary{background:var(--accent);color:#05141b}.bid-warning,#auctionTimer.is-expired{color:#ff7b8b!important}.outbid-alert{background:#301824;border-left-color:#ff6d88}
footer{display:flex;align-items:center;justify-content:center;gap:18px;background:#000;color:#92a0ba;border-top-color:#232b39}footer .footer-logo{width:70px;height:27px;overflow:hidden;display:block}footer img{width:100%;height:100%;object-fit:cover;object-position:50% 48%}
@media(max-width:1100px){.sidebar .brand .brand-logo{width:120px;height:39px}.sidebar .brand .brand-name{font-size:8px;padding-left:11px}.sidebar nav{gap:0}.nav-link{font-size:11px}}
@media(max-width:1000px){.hero.dashboard-hero h1{font-size:66px}}
@media(max-width:760px){.sidebar{padding:13px 20px}.sidebar .brand{gap:10px}.sidebar .brand .brand-logo{width:105px;height:36px}.sidebar .brand .brand-name{font-size:8px;letter-spacing:.7px}.brand small{font-size:8px}.menu-toggle{font-size:12px}.sidebar nav .nav-link{font-size:13px}.hero.dashboard-hero{min-height:0}.hero.dashboard-hero h1{font-size:48px}.race-preview{margin-top:15px}.login-logo{width:190px;height:65px}footer{gap:12px;font-size:11px}}
@media(max-width:360px){.sidebar .brand .brand-name{font-size:7px;padding-left:8px}.sidebar .brand .brand-logo{width:88px;height:31px}.sidebar .brand{gap:6px}.sidebar{padding:12px 16px}.hero.dashboard-hero h1{font-size:42px}.menu-toggle{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}


/* Driver statistics: personal season overview and compact race history. */
#ownStatistics{padding:28px;margin-bottom:36px;border-radius:8px;background:linear-gradient(125deg,#142130 0%,#10141b 48%,#181326 100%);position:relative;overflow:hidden}
#ownStatistics:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:var(--vtr-gradient)}
.stats-personal-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.stats-identity{min-width:0}.stats-eyebrow{color:#86dff1;font-size:10px;letter-spacing:1.8px;text-transform:uppercase;margin:0 0 9px;line-height:1.6}
#ownStatistics .stats-identity h3{font-size:clamp(25px,3vw,38px);font-weight:750;letter-spacing:-.8px;margin:0;overflow-wrap:anywhere;line-height:1.15}.stats-team{font-size:13px;color:#b6c3d6;margin:9px 0 0;line-height:1.5}
.stats-number{font-size:clamp(40px,6vw,72px);font-weight:850;font-style:italic;letter-spacing:-3px;line-height:1;color:#71ddf5;flex-shrink:0;font-variant-numeric:tabular-nums}
#ownStatistics .driver-stat-grid,.driver-statistics .driver-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}
#ownStatistics .driver-stat,.driver-statistics .driver-stat{background:#080d15a6;border:1px solid #2c3749;border-radius:5px;padding:18px;min-width:0}
#ownStatistics .driver-stat dt,.driver-statistics .driver-stat dt{font-size:11px;color:#b3bfd2;letter-spacing:.2px;line-height:1.5}
#ownStatistics .driver-stat dd,.driver-statistics .driver-stat dd{font-size:32px;font-weight:750;margin:8px 0 0;line-height:1.1;color:#f6f8ff;letter-spacing:-.8px;overflow-wrap:anywhere}
#ownStatistics .driver-stat-grid .driver-stat:first-child,.driver-statistics .driver-stat-grid .driver-stat:first-child{border-color:#30758b;background:#10283480}
#ownStatistics .driver-stat-grid .driver-stat:first-child dd,.driver-statistics .driver-stat-grid .driver-stat:first-child dd{color:#79e8f7}
.stats-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0 0 18px;border-bottom:1px solid #2a3444}
#ownStatistics .stats-detail-grid .driver-stat,.driver-statistics .stats-detail-grid .driver-stat{border:0;border-radius:0;padding:0;background:none}
#ownStatistics .stats-detail-grid dd,.driver-statistics .stats-detail-grid dd{font-size:21px;letter-spacing:-.3px;margin-top:6px}
.stats-statuses{display:flex;flex-wrap:wrap;gap:8px 22px;margin:16px 0 7px;font-size:12px;line-height:1.6;color:#a9b7cc}.stats-statuses strong{color:#ecf1fa;font-weight:600;margin-right:3px}
.stats-note{font-size:11px;color:#9eacc1;line-height:1.6;margin:0}.stats-details{margin-bottom:25px}
.stats-recent{padding-top:22px;border-top:1px solid #2a3444}.stats-recent-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}.stats-recent-heading h4{font-size:15px;font-weight:650;margin:0;color:#eff4fc}
.stats-race-list{list-style:none;margin:0;padding:0}.stats-race-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #283142}.stats-race-row:last-child{border-bottom:0}
.stats-finish{display:flex;align-items:center;justify-content:center;min-width:48px;height:44px;border:1px solid #364257;background:#182131;border-radius:4px;color:#e2eafa;font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}.stats-finish-podium{color:#7de7f6;border-color:#317184;background:#112b36}
.stats-race-name{min-width:0;flex:1}.stats-race-name h4{font-size:14px;font-weight:600;margin:0 0 4px;overflow-wrap:anywhere;line-height:1.5}.stats-race-name p{font-size:11px;color:#a7b5c9;line-height:1.6;margin:0;overflow-wrap:anywhere}
.stats-race-points{display:flex;flex-direction:column;align-items:flex-end;min-width:42px;gap:3px}.stats-race-points strong{font-size:21px;font-weight:700;font-variant-numeric:tabular-nums;color:#f0f6ff}.stats-race-points span{font-size:10px;color:#9fafc6}
.stats-personal-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:20px;padding-top:20px;border-top:1px solid #2a3444}.stats-personal-footer button{flex-shrink:0;font-size:12px;padding:11px 15px}
.stats-empty{padding:20px;border:1px dashed #3b4960;border-radius:5px;background:#0a111b80;color:#b3c0d4;font-size:13px;line-height:1.8;margin:0}.stats-all-title{font-size:18px;margin:0 0 16px;font-weight:650}
.driver-statistics{margin-top:26px}.driver-statistics>h3{font-size:16px;margin-bottom:18px}.driver-statistics .stats-race-name h4{font-size:13px}
@media(max-width:640px){#ownStatistics{padding:21px 17px}.stats-personal-header{gap:12px;margin-bottom:22px}.stats-number{font-size:46px;letter-spacing:-2px}.stats-eyebrow{font-size:9px;letter-spacing:1.2px}#ownStatistics .stats-identity h3{font-size:25px}#ownStatistics .driver-stat-grid,.driver-statistics .driver-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#ownStatistics .driver-stat,.driver-statistics .driver-stat{padding:15px}#ownStatistics .driver-stat dd,.driver-statistics .driver-stat dd{font-size:28px}.stats-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.stats-personal-footer{align-items:stretch;flex-direction:column;gap:12px}.stats-personal-footer button{width:100%}.stats-recent-heading{align-items:flex-start;flex-direction:column;gap:4px}.stats-race-row{gap:10px}.stats-finish{min-width:42px;height:40px;font-size:14px}.stats-race-points strong{font-size:19px}.stats-race-name h4{font-size:13px}.stats-statuses{gap:6px 14px}}


/* Race preview, championship progression and driver comparison. */
.hero.dashboard-hero .next-race-countdown{color:#76e6f5;font-size:21px;font-weight:650;letter-spacing:-.4px;margin:20px 0 12px}.next-race-link{color:#becce2;text-decoration:none;font-size:12px;border-bottom:1px solid #485974;padding-bottom:5px;display:inline-block}.next-race-link:hover{color:#79e8f6;border-color:#79e8f6}
.wm-chart{margin:26px 0;padding:22px 0;border-top:1px solid #2c3749;border-bottom:1px solid #2c3749;min-width:0}.wm-chart h4{font-size:15px;font-weight:650;margin:0}.wm-chart-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.wm-chart-controls{display:flex;gap:5px}.wm-chart-controls button{font-size:11px;padding:8px 12px;min-height:35px}.wm-chart-controls button[aria-pressed=true]{background:#17313d;color:#8cebf6;border-color:#39849a}.wm-chart-legend{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:12px;margin-bottom:10px}.wm-chart-legend span{overflow-wrap:anywhere}.wm-chart-legend span:before{content:'';display:inline-block;width:15px;height:3px;background:currentColor;vertical-align:middle;margin-right:7px}.wm-series-0{color:#69dff3}.wm-series-1{color:#e6a0ff}.wm-chart-plot svg{display:block;width:100%;height:auto;min-height:160px;overflow:visible}.wm-line{stroke-width:3;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.wm-line.wm-series-1{stroke-dasharray:7 5}.wm-dot{stroke:#111923;stroke-width:2;fill:currentColor}.wm-dot:hover,.wm-dot:focus{r:8;stroke:#fff;outline:none}.wm-gridline{stroke:#2b3647;stroke-dasharray:3 5}.wm-axis{fill:#a8b8cc;font-size:11px;font-family:inherit}.wm-chart-readout{min-height:2.8em;line-height:1.6;font-size:12px;color:#c4d2e6;margin:6px 0 12px;overflow-wrap:anywhere}.wm-chart-data{margin-top:16px;min-width:0}.wm-chart-data summary{cursor:pointer;font-size:12px;color:#bdcce1;padding:8px 0}.wm-chart-data .race-table-wrap{margin-top:10px}.driver-comparison{padding:26px;margin-bottom:30px}.driver-comparison>h3{font-size:24px;margin:6px 0 12px;letter-spacing:-.5px}.comparison-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:22px 0 14px}.comparison-form label{font-size:12px;color:#bac8dd;display:flex;flex-direction:column;gap:8px;min-width:0}.comparison-form select{width:100%;min-width:0;box-sizing:border-box;padding:12px;background:#0a1019;color:#f0f5ff;border:1px solid #374760;font:inherit}.comparison-form button{min-height:43px;font-size:12px;padding:11px 18px}.comparison-metrics{margin:24px 0 10px}.comparison-metric{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:13px 0;border-bottom:1px solid #293447;font-size:13px;align-items:center}.comparison-metric>span{color:#aebdd2}.comparison-metric strong{text-align:center;overflow-wrap:anywhere;font-weight:600}.comparison-metric .comparison-better{color:#83e6f3;background:#12323f;border-radius:3px;justify-self:center;padding:4px 10px}.comparison-names{background:#111c2b;padding:16px 12px;font-size:12px;border-bottom:1px solid #3b4960}.comparison-duel h4{font-size:17px;margin:0 0 14px}.comparison-duel>p:not(.stats-note){font-size:17px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}.comparison-duel .stats-note{margin-bottom:18px}
@media(max-width:640px){.driver-comparison{padding:22px 17px}.comparison-form{grid-template-columns:1fr;gap:14px}.comparison-form button{width:100%}.wm-chart{padding:20px 0}.wm-chart-header{align-items:flex-start;flex-wrap:wrap;gap:12px}.wm-chart-controls button{padding:8px 10px}.wm-chart-legend{font-size:11px}.wm-chart-plot svg{min-height:130px}.comparison-metric{font-size:12px;gap:8px}.comparison-names{padding:13px 7px;font-size:11px}.comparison-metric .comparison-better{padding:3px 6px}.hero.dashboard-hero .next-race-countdown{font-size:20px}}
