.ndt-driver-team-stats{padding:22px;margin-bottom:28px;border:1px solid rgba(183,76,224,.23);background:radial-gradient(ellipse at top right,rgba(132,40,173,.14),transparent 60%),#0d0a12;border-radius:8px;min-width:0}
.ndt-team-stats-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ndt-team-stats-heading h2{margin:5px 0 0;font:800 30px/1 'Barlow Condensed',Arial,sans-serif;text-transform:uppercase}
.ndt-stats-chart-heading button{border:0;padding:8px 10px;background:transparent;color:#bbb0c4;cursor:pointer;font-size:11px;border-radius:3px}
.ndt-stats-context,.ndt-stats-definition,.ndt-stats-hint{font-size:11px;line-height:1.55;color:#a79bad;margin:12px 0}
.ndt-team-stats-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 22px}
.ndt-team-stats-kpis button{position:relative;min-width:0;min-height:116px;text-align:left;padding:16px 13px;background:#15101d;border:1px solid #33243e;border-radius:5px;color:#f4eef8;cursor:pointer;transition:background .2s,border-color .2s}
.ndt-team-stats-kpis button[aria-pressed=true]{border-color:#b653e0;background:linear-gradient(135deg,#342041,#1b1223)}
.ndt-team-stats-kpis button span{display:block;color:#f0e7f5;font:700 14px/1.3 Inter,Arial,sans-serif;min-height:36px}
.ndt-team-stats-kpis button strong{display:block;font:800 clamp(36px,3vw,44px)/1.1 'Barlow Condensed',Arial,sans-serif;font-variant-numeric:tabular-nums;margin-top:8px}
.ndt-team-stats-kpis button:first-child strong{color:#f4c04e}
.ndt-stats-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ndt-stats-chart-heading h3{margin:0;font-size:14px}.ndt-stats-chart-heading h3 span{display:block;color:#bc9aca;font-size:10px;font-weight:400;margin-top:4px}
.ndt-stats-chart-heading button{border:1px solid #4c3459;white-space:nowrap}
.ndt-stats-hint{font-size:10px;margin:8px 0 4px}
.ndt-stats-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;min-height:154px;padding:12px 0 0}
.ndt-stats-year{min-width:0;padding:0 6px;border:0;background:transparent;color:#a79bad;cursor:pointer;border-radius:3px}
.ndt-stats-year strong{display:block;height:20px;font-size:11px;color:#f5eafb;font-variant-numeric:tabular-nums}
.ndt-stats-bar-track{position:relative;display:block;height:100px;max-width:70px;margin:0 auto;border-bottom:1px solid #63406f;background:repeating-linear-gradient(to top,transparent 0 24px,rgba(255,255,255,.035) 24px 25px)}
.ndt-stats-bar-track>span{position:absolute;bottom:0;left:12%;width:76%;height:var(--bar-height,0%);background:linear-gradient(0deg,#652083,#c25cf1);border-radius:4px 4px 0 0;transition:height .35s ease,filter .2s}
[data-active-metric=wins] .ndt-stats-bar-track>span{background:linear-gradient(0deg,#9e7026,#f4cf69)}
.ndt-stats-year[aria-pressed=true]{background:rgba(163,60,211,.16);outline:1px solid #9c48c0}
.ndt-stats-year:hover .ndt-stats-bar-track>span{filter:brightness(1.25)}
.ndt-stats-year-label{display:block;margin-top:9px;font-size:11px;color:#d7c7df}
.ndt-stats-selection{min-height:17px;margin:14px 0 0;font-size:11px;color:#ead8f2;line-height:1.5}
.ndt-stats-definition{font-size:10px;margin-bottom:0}
.ndt-driver-team-stats button:focus-visible{outline:2px solid #e0a9fb;outline-offset:3px}
.ndt-driver-history{margin-top:24px}
.ndt-driver-history h3{margin:0 0 12px;color:#f4e9fa;font:800 25px/1.05 'Barlow Condensed',Arial,sans-serif;text-transform:uppercase}
.ndt-driver-history-season{border:1px solid #402b4d;border-radius:4px;background:#130e1a}
.ndt-driver-history-season+.ndt-driver-history-season{margin-top:8px}
.ndt-driver-history-season summary{padding:10px 12px;color:#f2e6f6;cursor:pointer}
.ndt-driver-history-season summary strong{margin-left:.3em}
.ndt-driver-history-season summary span{float:right;color:#c4aecf;font-size:12px}
.ndt-driver-history-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;text-align:left}
.ndt-driver-history-table th,.ndt-driver-history-table td{padding:9px 10px;border-top:1px solid #32243e;vertical-align:top}
.ndt-driver-history-table th{color:#c9b2d3;font-size:11px;font-weight:600}
.ndt-driver-history-table :is(th,td):not(:first-child){width:68px;text-align:center;font-variant-numeric:tabular-nums}
.ndt-driver-history-table td:first-child{overflow-wrap:anywhere}
.ndt-driver-history-table time,.ndt-driver-history-table small{display:block;color:#bcacc4;font-size:11px;line-height:1.4}
.ndt-driver-history-table a,.ndt-driver-history-table td strong{display:block;margin:2px 0;color:#f4e7f8;font-weight:700}
.ndt-driver-history-table a{text-decoration:underline;text-underline-offset:3px}
.ndt-driver-history-season summary:focus-visible{outline:2px solid #e0a9fb;outline-offset:2px}
@media(max-width:460px){
  .ndt-driver-history-table :is(th,td):not(:first-child){width:54px;padding-inline:3px}
}
.ndt-driver-profile-content .ndt-driver-latest-heading{margin-bottom:14px}
.ndt-driver-profile-content .ndt-driver-latest-heading h2{font-size:30px}
.ndt-driver-profile-content .ndt-driver-latest-grid{gap:12px}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-card-image{height:82px;flex-basis:82px}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-card-body{padding:11px}
.ndt-driver-profile-content .ndt-driver-result-card h3{font-size:18px;line-height:1.08;margin:5px 0}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-class{font-size:10px;margin:5px 0 9px}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-position{font-size:26px}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-sim-logo{width:85px;bottom:8px}
.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-event-logo{width:50px;height:34px;bottom:7px}
@media(max-width:600px){.ndt-driver-team-stats{padding:16px}.ndt-team-stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ndt-team-stats-kpis button{min-height:98px}.ndt-team-stats-heading h2{font-size:27px}.ndt-stats-bars{gap:4px}.ndt-stats-year{padding:0 2px}.ndt-stats-year strong{font-size:10px}.ndt-driver-profile-content .ndt-driver-result-card .ndt-result-card-image{height:94px;flex-basis:94px}}
@media(prefers-reduced-motion:reduce){.ndt-stats-bar-track>span,.ndt-team-stats-kpis button{transition:none}}
@media(max-width:620px){
  .ndt-driver-profile-layout>.ndt-driver-profile-wrap{width:100%!important;max-width:390px!important;height:auto!important;min-height:0!important}
  .ndt-driver-profile-layout>.ndt-driver-profile-wrap .ndt-new-driver-card{width:100%!important;min-width:0!important;max-width:390px!important;height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;aspect-ratio:2/3!important}
  .ndt-driver-profile-layout>.ndt-driver-profile-wrap .ndt-new-driver-card-inner,.ndt-driver-profile-layout>.ndt-driver-profile-wrap .ndt-new-driver-face{height:100%!important;min-height:0!important}
}
