:root {
    --f1-red: #ff183b !important;
    --f1-dark: #070910 !important;
    --f1-gray: #111621 !important;
    --f1-card: #171d2a !important;
    --f1-gold: #ffcc4a !important;
    --f1-blue: #4fd8ff !important;
    --text: #f5f7fb !important;
    --text-muted: #9ca7ba !important;
}

body {
    background:
        radial-gradient(circle at 85% 0%, rgba(65, 86, 255, 0.12), transparent 32rem),
        radial-gradient(circle at 18% 75%, rgba(255, 24, 59, 0.07), transparent 30rem),
        #070910 !important;
    color: var(--text) !important;
    -webkit-font-smoothing: antialiased;
}

body:not(.lang-en) div.zh,
body:not(.lang-en) p.zh,
body:not(.lang-en) h1.zh,
body:not(.lang-en) h2.zh,
body:not(.lang-en) h3.zh,
body:not(.lang-en) h4.zh,
body:not(.lang-en) ul.zh { display: block !important; }

body:not(.lang-en) li.zh { display: list-item !important; }

.sidebar {
    width: 248px !important;
    background: linear-gradient(180deg, rgba(10, 13, 21, 0.98), rgba(7, 9, 16, 0.96)) !important;
    border-right: 1px solid rgba(255,255,255,0.085) !important;
    box-shadow: 18px 0 60px rgba(0,0,0,0.22);
    backdrop-filter: blur(18px);
}

.sidebar-header { padding: 30px 22px 24px !important; }
.sidebar-logo { letter-spacing: -0.055em !important; }
.sidebar-nav { gap: 7px !important; padding: 18px 14px !important; }

.sidebar-nav a {
    min-height: 46px;
    border-radius: 14px !important;
    font-weight: 600;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.055) !important;
    border-color: rgba(255,255,255,0.09) !important;
}

.sidebar-nav a.active {
    background: linear-gradient(115deg, rgba(255,24,59,0.2), rgba(255,24,59,0.055)) !important;
    border-color: rgba(255,24,59,0.34) !important;
    box-shadow: inset 3px 0 0 var(--f1-red), 0 10px 28px rgba(0,0,0,0.16);
}

.main-content { margin-left: 248px !important; }

header {
    min-height: 280px;
    display: grid;
    place-content: center;
    background:
        radial-gradient(circle at 76% 30%, rgba(255,255,255,0.1), transparent 24rem),
        linear-gradient(125deg, #171d2b 0%, #111522 44%, #2a0b16 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header::before { opacity: 0.035 !important; letter-spacing: -0.08em; }
header h1 { letter-spacing: -0.055em !important; line-height: 1.04; }

.container { max-width: 1280px !important; }

h2 {
    border-left: 0 !important;
    padding-left: 0 !important;
    letter-spacing: -0.035em;
}

h2::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 0.85em;
    margin-right: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--f1-red), #ff5b73);
    box-shadow: 0 0 22px rgba(255,24,59,0.28);
}

.lang-toggle,
.zoom-controls {
    border: 1px solid rgba(255,255,255,0.13) !important;
    background: rgba(12, 16, 25, 0.8) !important;
    box-shadow: 0 14px 42px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px) saturate(140%);
}

.lang-btn.active,
.zoom-btn:hover,
.menu-toggle {
    background: var(--f1-red) !important;
    box-shadow: 0 8px 24px rgba(255,24,59,0.28);
}

.card,
.compare-box,
.feature-card,
.result-card,
.standings-card,
.detail-section,
.history,
.track-layout,
.schedule-card,
.calendar-card,
.wind-tunnel-section,
.aero-video-card {
    border: 1px solid rgba(255,255,255,0.085) !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, rgba(24,30,44,0.94), rgba(14,18,28,0.94)) !important;
    box-shadow: 0 18px 55px rgba(0,0,0,0.2);
}

.card,
.compare-box,
.feature-card,
.result-card,
.standings-card,
.team-card,
.driver-profile-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.card:hover,
.compare-box:hover,
.feature-card:hover,
.result-card:hover,
.standings-card:hover {
    border-color: rgba(255,255,255,0.16) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 24px 65px rgba(0,0,0,0.28) !important;
}

.team-card,
.driver-profile-card {
    border-radius: 20px !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--team-color) 55%, #121722), rgba(11,14,23,0.96)) !important;
    box-shadow: 0 15px 42px rgba(0,0,0,0.2);
}

.team-card:hover,
.driver-profile-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 65px rgba(0,0,0,0.34) !important;
}

.detail-card,
.driver-card,
.stat {
    border-radius: 15px !important;
    background: rgba(255,255,255,0.038) !important;
    border-color: rgba(255,255,255,0.09) !important;
}

table {
    border: 1px solid rgba(255,255,255,0.085);
    border-radius: 18px !important;
    background: rgba(17,22,33,0.92) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

th { background: rgba(255,24,59,0.13) !important; }
tr:hover { background: rgba(255,255,255,0.045) !important; }

.tag,
.next-badge,
.result-link {
    border-radius: 999px !important;
}

footer {
    background: rgba(4,6,10,0.72) !important;
    border-top-color: rgba(255,255,255,0.08) !important;
}

@media (max-width: 900px) {
    .main-content { margin-left: 0 !important; }
    .sidebar { width: min(290px, 84vw) !important; }
    header { min-height: 240px; padding-left: 64px !important; padding-right: 64px !important; }
    .lang-toggle { top: 14px !important; right: 12px !important; }
    .zoom-controls { top: 14px !important; right: 132px !important; }
    .menu-toggle { top: 14px !important; left: 12px !important; border-radius: 13px !important; }
}

@media (max-width: 540px) {
    header { min-height: 220px; }
    .container { padding-left: 14px !important; padding-right: 14px !important; }
    .card, .compare-box, .feature-card { padding: 22px 18px !important; }
    .zoom-controls { display: none !important; }
    .car-comparison-section::before { inset-inline: 0; }
}

/* 2025 vs 2026 technical comparison */
.car-comparison-section {
    --era-2025: #8792a6;
    --era-2026: #ff183b;
    position: relative;
    margin: 0;
}

.car-comparison-section::before {
    content: "";
    position: absolute;
    inset: 80px -6% auto;
    height: 420px;
    pointer-events: none;
    background: radial-gradient(circle at 72% 25%, rgba(255,24,59,0.14), transparent 45%);
    filter: blur(12px);
}

.section-kicker {
    position: relative;
    display: block;
    margin-bottom: 10px;
    color: #ff5c75;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.comparison-lead {
    position: relative;
    max-width: 980px;
    margin: -8px 0 34px;
    color: #aeb8c9;
    font-size: 1.04rem;
    line-height: 1.85;
}

.era-overview {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: stretch;
    margin: 28px 0 22px;
}

.era-card {
    position: relative;
    overflow: hidden;
    min-height: 308px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 23px;
    background: linear-gradient(145deg, rgba(23,29,42,0.96), rgba(11,15,24,0.94));
    box-shadow: 0 22px 62px rgba(0,0,0,0.25);
}

.era-card::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -70px;
    bottom: -95px;
    border-radius: 50%;
    opacity: 0.2;
}

.era-2025::after { background: var(--era-2025); }
.era-2026 {
    border-color: rgba(255,24,59,0.32);
    background: linear-gradient(145deg, rgba(34,24,35,0.98), rgba(12,15,24,0.96));
}
.era-2026::after { background: var(--era-2026); }

.era-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.era-year {
    color: #fff;
    font-size: 2.15rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.era-status {
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: #b8c0cf;
    font-size: 0.76rem;
    font-weight: 700;
}

.era-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.38rem;
}

.era-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 26px;
    color: #aeb7c7;
    line-height: 1.78;
}

.era-signature {
    position: absolute;
    right: 30px;
    bottom: 26px;
    left: 30px;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.era-signature strong {
    color: #fff;
    font-size: 1.48rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.era-signature > span {
    color: #858fa2;
    font-size: 0.78rem;
}

.era-transition {
    display: grid;
    place-items: center;
    z-index: 2;
}

.era-transition span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,24,59,0.38);
    border-radius: 50%;
    background: #161b27;
    color: #ff3655;
    font-size: 1.25rem;
    box-shadow: 0 0 28px rgba(255,24,59,0.2);
}

.metric-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 30px;
}

.metric-card {
    padding: 20px 18px 17px;
    border: 1px solid rgba(255,255,255,0.085);
    border-radius: 17px;
    background: rgba(19,24,35,0.78);
}

.metric-label {
    display: block;
    min-height: 24px;
    color: #8f99aa;
    font-size: 0.75rem;
    font-weight: 700;
}

.metric-card div {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 8px 0 4px;
    white-space: nowrap;
}

.metric-card strong { color: #f4f7fb; font-size: 1.28rem; font-weight: 900; }
.metric-card strong:last-of-type { color: #ff4b67; }
.metric-card em { color: #788296; font-size: 0.65rem; font-style: normal; }
.metric-card i { margin: 0 3px; color: #596274; font-style: normal; }
.metric-card small { color: #ff6a81; font-size: 0.7rem; font-weight: 800; }

.comparison-table-wrap {
    position: relative;
    overflow-x: auto;
    margin: 0 0 42px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;
    background: rgba(12,16,24,0.78);
    box-shadow: 0 24px 70px rgba(0,0,0,0.25);
    scrollbar-color: #ff304f #151a25;
}

.car-comparison-table {
    min-width: 920px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.car-comparison-table th,
.car-comparison-table td {
    padding: 17px 18px;
    border-color: rgba(255,255,255,0.065);
    vertical-align: top;
    color: #aeb7c6;
    font-size: 0.82rem;
    line-height: 1.58;
    text-transform: none;
    letter-spacing: 0;
}

.car-comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #171c28 !important;
    color: #7f899b;
    font-size: 0.71rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.car-comparison-table tbody th {
    width: 15%;
    background: rgba(255,255,255,0.025);
    color: #f3f5f8;
    font-weight: 760;
}

.car-comparison-table tbody td:nth-child(2) { width: 24%; }
.car-comparison-table tbody td:nth-child(3) { width: 27%; color: #f0f3f7; }
.car-comparison-table tbody td:nth-child(4) { width: 34%; }
.car-comparison-table tbody tr:hover { background: rgba(255,255,255,0.035) !important; }

.year-pill {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.year-pill-2025 { background: rgba(135,146,166,0.15); color: #bdc5d2; }
.year-pill-2026 { background: rgba(255,24,59,0.15); color: #ff6980; }

.track-impact-heading { margin: 4px 0 18px; }
.track-impact-heading h3 { margin: 0; color: #fff; font-size: 1.55rem; }

.track-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 28px;
}

.impact-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.085);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(22,27,39,0.9), rgba(13,17,25,0.9));
}

.impact-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,24,59,0.12);
    color: #ff5670;
    font-size: 1.1rem;
    font-weight: 900;
}

.impact-card h4 { margin: 0 0 9px; color: #f3f5f8; font-size: 1rem; }
.impact-card p { margin: 0; color: #98a3b5; font-size: 0.84rem; line-height: 1.72; }

.reg-update-callout {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 28px 0 18px;
    padding: 26px;
    border: 1px solid rgba(0,212,255,0.22);
    border-radius: 21px;
    background: linear-gradient(120deg, rgba(0,171,214,0.1), rgba(17,22,33,0.92) 40%, rgba(255,24,59,0.08));
}

.update-badge {
    display: grid;
    min-height: 94px;
    place-content: center;
    border: 1px solid rgba(0,212,255,0.22);
    border-radius: 16px;
    background: rgba(3,15,24,0.56);
    text-align: center;
}

.update-badge span { color: #5bdfff; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.16em; }
.update-badge strong { color: #fff; font-size: 1.65rem; line-height: 1.2; }
.update-copy .section-kicker { margin-bottom: 5px; color: #5bdfff; }
.update-copy h3 { margin: 0 0 7px; color: #fff; font-size: 1.16rem; }
.update-copy p { margin: 0; color: #a9b4c6; font-size: 0.87rem; line-height: 1.7; }

.comparison-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: baseline;
    padding: 17px 2px;
    color: #7f899b;
    font-size: 0.73rem;
    line-height: 1.65;
}

.comparison-sources strong { color: #a7b0bf; }
.comparison-sources a { color: #ff627a; text-decoration: none; font-weight: 750; }
.comparison-sources a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1100px) {
    .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .track-impact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .era-overview { grid-template-columns: 1fr; gap: 0; }
    .era-transition { height: 48px; }
    .era-transition span { transform: rotate(90deg); }
    .era-card { min-height: 320px; padding: 24px; }
    .era-signature { right: 24px; bottom: 22px; left: 24px; }
    .reg-update-callout { grid-template-columns: 1fr; gap: 18px; }
    .update-badge { width: 118px; }
}

@media (max-width: 520px) {
    .comparison-lead { font-size: 0.94rem; }
    .metric-strip { grid-template-columns: 1fr; }
    .metric-card div { gap: 6px; }
    .metric-card strong { font-size: 1.45rem; }
    .era-card { min-height: 0; }
    .era-card-top { flex-direction: column; align-items: flex-start; gap: 10px; }
    .era-status { max-width: 100%; text-align: left; }
    .era-signature { position: relative; right: auto; bottom: auto; left: auto; display: block; margin-top: 22px; }
    .era-signature > span { display: block; margin-top: 2px; }
    .impact-card, .reg-update-callout { padding: 21px; }
}

/* Interactive 2025 DRS vs 2026 active-aero mode lab */
.aero-mode-lab {
    position: relative;
    overflow: hidden;
    margin: 34px 0 36px;
    padding: clamp(20px, 2.5vw, 34px);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255,35,68,0.13), transparent 29%),
        radial-gradient(circle at 88% 38%, rgba(55,226,210,0.085), transparent 31%),
        linear-gradient(145deg, rgba(16,21,31,0.985), rgba(6,9,15,0.99));
    box-shadow: 0 36px 100px rgba(0,0,0,0.42);
}

.aero-mode-lab::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,0.018) 46% 46.7%, transparent 46.7% 100%);
}

.aero-lab-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 38px;
    align-items: end;
    padding: 3px 4px 24px;
}

.aero-lab-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ff6a80;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.aero-lab-kicker i {
    width: 25px;
    height: 2px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff2749, #42e7d6);
    box-shadow: 0 0 16px rgba(255,39,73,0.45);
}

.aero-lab-head h3 {
    margin: 0;
    max-width: 880px;
    color: #f8f9fc;
    font-size: clamp(1.65rem, 2.65vw, 2.75rem);
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.aero-lab-head > p {
    margin: 0;
    color: #95a1b4;
    font-size: 0.82rem;
    line-height: 1.78;
}

.aero-mode-tabs {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 21px;
    background: rgba(4,7,12,0.65);
}

.aero-mode-button {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    min-height: 76px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
    color: #8793a6;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.aero-mode-button:hover,
.aero-mode-button:focus-visible {
    color: #fff;
    border-color: rgba(255,255,255,0.14);
    outline: none;
    transform: translateY(-1px);
}

.aero-mode-button.active {
    border-color: rgba(255,63,94,0.42);
    background: linear-gradient(135deg, rgba(225,6,0,0.25), rgba(17,23,34,0.92));
    color: #fff;
    box-shadow: 0 12px 34px rgba(0,0,0,0.25), inset 3px 0 0 #ff304f;
}

.aero-mode-button[data-aero-mode="straight"].active {
    border-color: rgba(66,231,214,0.4);
    background: linear-gradient(135deg, rgba(35,181,170,0.19), rgba(17,23,34,0.92));
    box-shadow: 0 12px 34px rgba(0,0,0,0.25), inset 3px 0 0 #42e7d6;
}

.aero-mode-button .mode-year {
    grid-row: 1 / span 2;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    color: #ff6078;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.aero-mode-button[data-aero-mode="straight"] .mode-year { color: #56e6d8; }
.aero-mode-button strong { align-self: end; font-size: 0.94rem; line-height: 1.25; }
.aero-mode-button small { align-self: start; color: #6f7b8e; font-size: 0.64rem; line-height: 1.35; }
.aero-mode-button.active small { color: #a6b0bf; }

.aero-lab-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(560px, 1.35fr) minmax(380px, 0.65fr);
    gap: 20px;
    margin-top: 20px;
}

.aero-car-stage {
    position: relative;
    overflow: hidden;
    min-height: 568px;
    border: 1px solid rgba(255,255,255,0.085);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 52%, rgba(255,37,70,0.09), transparent 36%),
        linear-gradient(180deg, rgba(6,10,16,0.96), rgba(10,14,21,0.92));
}

.wind-direction {
    position: absolute;
    z-index: 5;
    top: 18px;
    left: 21px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #596679;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.wind-direction i {
    position: relative;
    width: 52px;
    height: 1px;
    background: linear-gradient(90deg, #42e7d6, rgba(66,231,214,0.2));
}

.wind-direction i::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #42e7d6;
    border-right: 1px solid #42e7d6;
    transform: rotate(45deg);
}

.aero-car-svg {
    position: absolute;
    z-index: 1;
    top: 52px;
    right: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: auto;
    max-height: 460px;
}

.mode-flow {
    opacity: 0;
    transition: opacity 260ms ease;
}

.mode-flow .air-path {
    fill: none;
    stroke: #43e9d8;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 3 15;
    marker-end: url(#windArrow);
    filter: url(#aeroCyanGlow);
    animation: aeroWind 1.2s linear infinite;
}

.mode-flow .lower-flow { stroke-opacity: 0.67; }
.mode-flow .wake-path { stroke: #ff5a72; stroke-width: 3; marker-end: none; filter: url(#aeroRedGlow); animation-duration: 1.55s; }
.flow-corner .air-path { stroke-width: 4.5; }
.flow-straight .air-path { stroke-width: 3.5; stroke-dasharray: 8 14; animation-duration: 0.72s; }
.flow-drs .air-path { animation-duration: 0.92s; }

@keyframes aeroWind { to { stroke-dashoffset: -36; } }

.aero-mode-lab[data-aero-mode="drs"] .flow-drs,
.aero-mode-lab[data-aero-mode="corner"] .flow-corner,
.aero-mode-lab[data-aero-mode="straight"] .flow-straight { opacity: 0.82; }

.front-active-flap,
.rear-active-flap {
    transform-box: fill-box;
    transition: transform 520ms cubic-bezier(.2,.78,.25,1), stroke 260ms ease, filter 260ms ease;
    filter: url(#aeroRedGlow);
}

.front-active-flap { transform-origin: right center; }
.rear-active-flap { transform-origin: left center; }

.aero-mode-lab[data-aero-mode="drs"] .front-active-flap { transform: rotate(-7deg); stroke: #96a0b1; filter: none; }
.aero-mode-lab[data-aero-mode="drs"] .rear-active-flap { transform: translate(4px,-13px) rotate(-24deg); }
.aero-mode-lab[data-aero-mode="corner"] .front-active-flap { transform: rotate(-12deg); }
.aero-mode-lab[data-aero-mode="corner"] .rear-active-flap { transform: rotate(-5deg); }
.aero-mode-lab[data-aero-mode="straight"] .front-active-flap { transform: translateY(12px) rotate(7deg); stroke: #43e4d4; filter: url(#aeroCyanGlow); }
.aero-mode-lab[data-aero-mode="straight"] .rear-active-flap { transform: translate(3px,12px) rotate(14deg); stroke: #43e4d4; filter: url(#aeroCyanGlow); }

.load-arrow {
    fill: none;
    stroke: #ff4866;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
    filter: url(#aeroRedGlow);
    transition: opacity 260ms ease, stroke-width 260ms ease;
    animation: aeroLoad 1.1s linear infinite;
}

@keyframes aeroLoad { to { stroke-dashoffset: -32; } }
.aero-mode-lab[data-aero-mode="corner"] .load-arrow { opacity: 0.95; stroke-width: 5; }
.aero-mode-lab[data-aero-mode="drs"] .load-front { opacity: 0.65; }
.aero-mode-lab[data-aero-mode="drs"] .load-rear { opacity: 0.18; }
.aero-mode-lab[data-aero-mode="straight"] .load-arrow { opacity: 0.13; stroke-width: 2; }

.wing-label {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px 9px 8px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(7,11,17,0.86);
    color: #aab4c3;
    box-shadow: 0 10px 28px rgba(0,0,0,0.34);
    backdrop-filter: blur(12px);
}

.wing-label-front { bottom: 53px; left: 20px; }
.wing-label-rear { right: 20px; bottom: 53px; }
.wing-label > b { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: rgba(255,48,79,0.12); color: #ff5d76; font-size: 0.61rem; }
.wing-label > span { display: grid; gap: 2px; }
.wing-label strong { color: #edf1f6; font-size: 0.64rem; letter-spacing: 0.05em; }
.wing-label small { color: #42dfd0; font-size: 0.52rem; font-weight: 850; letter-spacing: 0.06em; }
.wing-state { display: none; }
.aero-mode-lab[data-aero-mode="drs"] .wing-label-front .wing-state-fixed,
.aero-mode-lab[data-aero-mode="drs"] .wing-label-rear .wing-state-drs,
.aero-mode-lab[data-aero-mode="corner"] .wing-state-high,
.aero-mode-lab[data-aero-mode="straight"] .wing-state-open { display: block; }

.aero-stage-legend {
    position: absolute;
    z-index: 4;
    right: 20px;
    bottom: 14px;
    left: 20px;
    display: flex;
    justify-content: center;
    gap: 17px;
    color: #657184;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.aero-stage-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.aero-stage-legend i { display: inline-block; width: 19px; height: 3px; border-radius: 4px; }
.legend-air { background: #42e7d6; box-shadow: 0 0 9px rgba(66,231,214,0.42); }
.legend-load { background: #ff4866; box-shadow: 0 0 9px rgba(255,72,102,0.42); }
.legend-pivot { width: 7px !important; height: 7px !important; border-radius: 50% !important; background: #42e7d6; }

.aero-mode-readouts {
    display: grid;
    min-height: 568px;
}

.aero-mode-panel {
    display: none;
    height: 100%;
    padding: clamp(24px, 2.5vw, 34px);
    border: 1px solid rgba(255,255,255,0.085);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,35,68,0.065), transparent 38%),
        rgba(12,17,26,0.84);
}

.aero-mode-panel.active { display: block; animation: aeroPanelIn 280ms ease both; }
@keyframes aeroPanelIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.readout-head { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.readout-head > span { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border: 1px solid rgba(255,60,92,0.32); border-radius: 17px; background: rgba(255,38,71,0.1); color: #ff637c; font-size: 0.78rem; font-weight: 950; }
.readout-head small { display: block; margin-bottom: 4px; color: #647185; font-size: 0.55rem; font-weight: 900; letter-spacing: 0.13em; }
.readout-head h4 { margin: 0; color: #f7f9fc; font-size: clamp(1.22rem, 1.7vw, 1.65rem); line-height: 1.25; letter-spacing: -0.03em; }
.aero-mode-panel > p { margin: 0 0 21px; color: #9aa6b7; font-size: 0.78rem; line-height: 1.76; }

.wing-state-list { display: grid; gap: 8px; margin: 0; }
.wing-state-list > div { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 12px; align-items: start; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.065); border-radius: 12px; background: rgba(4,7,12,0.42); }
.wing-state-list dt { color: #6f7c90; font-size: 0.62rem; font-weight: 850; }
.wing-state-list dd { display: flex; align-items: center; gap: 8px; margin: 0; color: #d9dee7; font-size: 0.68rem; line-height: 1.5; }
.state-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; }
.state-dot.fixed { background: #8792a4; box-shadow: 0 0 0 4px rgba(135,146,164,0.09); }
.state-dot.closed { background: #ff4b68; box-shadow: 0 0 0 4px rgba(255,75,104,0.09); }
.state-dot.open { background: #42e3d3; box-shadow: 0 0 0 4px rgba(66,227,211,0.09); }

.aero-meters { display: grid; gap: 10px; margin-top: 21px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,0.075); }
.aero-meters > div > span { display: flex; justify-content: space-between; margin-bottom: 5px; color: #7f8b9e; font-size: 0.59rem; font-weight: 800; }
.aero-meters b { color: #dfe4eb; font-size: 0.57rem; }
.aero-meters i { display: block; overflow: hidden; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.07); }
.aero-meters em { display: block; width: var(--meter); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff294c, #ffb447); box-shadow: 0 0 13px rgba(255,47,78,0.31); transition: width 460ms ease; }
#aero-panel-straight .aero-meters em { background: linear-gradient(90deg, #25b9b1, #54eadb); box-shadow: 0 0 13px rgba(66,231,214,0.27); }
.meter-note { grid-column: 1; align-self: end; margin: -25px 18px 13px; color: #596679; font-size: 0.55rem; line-height: 1.5; }

.overtake-separation {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 20px;
    padding: 21px 23px;
    border: 1px solid rgba(255,191,58,0.22);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(255,175,37,0.085), rgba(17,21,29,0.78) 48%, rgba(66,231,214,0.045));
}

.overtake-symbol { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: rgba(255,185,48,0.11); font-size: 1.45rem; box-shadow: inset 0 0 0 1px rgba(255,185,48,0.15); }
.separation-kicker { display: block; margin-bottom: 4px; color: #e9ae3e; font-size: 0.55rem; font-weight: 900; letter-spacing: 0.13em; }
.overtake-separation h4 { margin: 0 0 5px; color: #f5f7fa; font-size: 1.03rem; }
.overtake-separation p { margin: 0; max-width: 920px; color: #919db0; font-size: 0.72rem; line-height: 1.7; }
.overtake-separation p strong { color: #e8ecf2; }
.separation-flow { display: flex; align-items: center; gap: 10px; color: #687589; font-size: 0.55rem; font-weight: 900; letter-spacing: 0.07em; }
.separation-flow i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.055); color: #ffbf3a; font-style: normal; font-size: 0.82rem; }

.aero-compare-wrap { position: relative; z-index: 2; overflow-x: auto; margin-top: 20px; border: 1px solid rgba(255,255,255,0.085); border-radius: 20px; background: rgba(6,9,14,0.56); }
.aero-compare-table { width: 100%; min-width: 820px !important; border-collapse: collapse; color: #a9b3c2; font-size: 0.7rem; line-height: 1.55; }
.aero-compare-table th, .aero-compare-table td { padding: 15px 17px; border-right: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; vertical-align: top; }
.aero-compare-table tr:last-child th, .aero-compare-table tr:last-child td { border-bottom: 0; }
.aero-compare-table th:last-child, .aero-compare-table td:last-child { border-right: 0; }
.aero-compare-table thead th { background: rgba(255,255,255,0.035); color: #e9edf3; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.04em; }
.aero-compare-table thead th:nth-child(2) { color: #ff7187; }
.aero-compare-table thead th:nth-child(3) { color: #ffb046; }
.aero-compare-table thead th:nth-child(4) { color: #4be5d6; }
.aero-compare-table tbody th { width: 15%; color: #778397; font-size: 0.62rem; font-weight: 850; }
.aero-compare-table tbody td { width: 28.33%; }
.aero-compare-table tbody tr:hover { background: rgba(255,255,255,0.025); }

.aero-source-line { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px 13px; align-items: baseline; margin-top: 14px; padding: 0 3px; color: #667286; font-size: 0.61rem; line-height: 1.6; }
.aero-source-line strong { color: #8d98a9; }
.aero-source-line a { color: #45dccc; font-weight: 800; text-decoration: none; }
.aero-source-line a:hover, .aero-source-line a:focus-visible { color: #fff; text-decoration: underline; }

@media (max-width: 1260px) {
    .aero-lab-grid { grid-template-columns: 1fr; }
    .aero-mode-readouts { min-height: 0; }
    .aero-mode-panel { height: auto; }
    .meter-note { margin-top: 8px; }
}

@media (max-width: 820px) {
    .aero-mode-lab { margin-right: -2px; margin-left: -2px; border-radius: 24px; }
    .aero-lab-head { grid-template-columns: 1fr; gap: 12px; padding-bottom: 18px; }
    .aero-mode-tabs { grid-template-columns: 1fr; }
    .aero-mode-button { min-height: 65px; }
    .aero-car-stage { min-height: 510px; }
    .overtake-separation { grid-template-columns: auto minmax(0,1fr); }
    .separation-flow { grid-column: 1 / -1; justify-content: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 560px) {
    .aero-mode-lab { padding: 13px; border-radius: 20px; }
    .aero-lab-head { padding: 6px 4px 16px; }
    .aero-lab-head h3 { font-size: 1.55rem; }
    .aero-lab-head > p { font-size: 0.75rem; }
    .aero-mode-tabs { gap: 6px; padding: 6px; border-radius: 16px; }
    .aero-mode-button { min-height: 58px; padding: 9px 11px; border-radius: 12px; }
    .aero-mode-button .mode-year { width: 40px; height: 40px; border-radius: 11px; }
    .aero-car-stage { min-height: 370px; border-radius: 17px; }
    .aero-car-svg { top: 54px; right: 5px; left: 5px; width: calc(100% - 10px); }
    .wind-direction { top: 14px; left: 14px; }
    .wing-label { bottom: 43px; gap: 6px; padding: 6px 8px 6px 5px; border-radius: 10px; }
    .wing-label-front { left: 8px; }
    .wing-label-rear { right: 8px; }
    .wing-label > b { width: 24px; height: 24px; border-radius: 8px; font-size: 0.5rem; }
    .wing-label strong { font-size: 0.52rem; }
    .wing-label small { font-size: 0.44rem; }
    .aero-stage-legend { right: 8px; bottom: 11px; left: 8px; gap: 9px; font-size: 0.47rem; }
    .aero-mode-panel { padding: 22px 16px; border-radius: 18px; }
    .readout-head > span { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }
    .wing-state-list > div { grid-template-columns: 68px minmax(0,1fr); gap: 8px; padding: 9px; }
    .overtake-separation { grid-template-columns: 1fr; padding: 18px 16px; }
    .overtake-symbol { width: 44px; height: 44px; }
    .separation-flow { grid-column: auto; justify-content: flex-start; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .mode-flow .air-path, .load-arrow, .aero-mode-panel.active { animation: none; }
    .front-active-flap, .rear-active-flap, .mode-flow, .aero-mode-button, .aero-meters em { transition: none; }
}

/* Interactive 2025 vs 2026 car-parts model */
.car-model-explainer {
    position: relative;
    overflow: hidden;
    margin: 34px 0 32px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 38%, rgba(255,24,59,0.09), transparent 32%),
        radial-gradient(circle at 82% 65%, rgba(56,232,209,0.07), transparent 31%),
        linear-gradient(145deg, rgba(18,23,34,0.97), rgba(7,10,16,0.98));
    box-shadow: 0 32px 90px rgba(0,0,0,0.34);
}

.car-model-explainer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.018) 42% 43%, transparent 43% 100%);
}

.model-intro {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 38px;
    align-items: end;
    padding: 5px 4px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.model-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    color: #ff637b;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.model-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2749;
    box-shadow: 0 0 0 6px rgba(255,39,73,0.1), 0 0 24px rgba(255,39,73,0.6);
}

.model-intro h3 {
    max-width: 760px;
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(1.45rem, 2.2vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.model-intro > p {
    margin: 0;
    color: #8f9bad;
    font-size: 0.83rem;
    line-height: 1.75;
}

.model-explainer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(390px, 0.88fr) minmax(470px, 1.12fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 24px;
}

.model-stage {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    border: 1px solid rgba(255,255,255,0.075);
    border-radius: 23px;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,24,59,0.09), transparent 33%),
        linear-gradient(180deg, rgba(8,12,19,0.95), rgba(12,16,24,0.82));
}

.model-stage::after {
    content: "";
    position: absolute;
    inset: 10% 15%;
    z-index: 0;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.model-stage-head {
    position: absolute;
    z-index: 3;
    top: 17px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #5f6a7d;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.model-axis { width: 28px; height: 1px; background: linear-gradient(90deg, #ff2749, #485366); }

.f1-model-svg {
    position: absolute;
    z-index: 1;
    top: 42px;
    bottom: 34px;
    left: 50%;
    width: min(82%, 445px);
    height: calc(100% - 76px);
    transform: translateX(-50%);
}

.car-zone {
    opacity: 0.48;
    transition: opacity 220ms ease, filter 220ms ease;
}

.car-zone.active {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,48,79,0.55));
}

.model-hotspot {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 5px 11px 5px 6px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(11,15,23,0.88);
    color: #a3adbd;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
    transition: border-color 170ms ease, color 170ms ease, background 170ms ease, transform 170ms ease;
}

.model-hotspot:hover,
.model-hotspot:focus-visible {
    border-color: rgba(255,82,109,0.55);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

.model-hotspot.active {
    border-color: rgba(255,51,82,0.65);
    background: linear-gradient(135deg, rgba(225,6,0,0.95), rgba(123,7,29,0.94));
    color: #fff;
    box-shadow: 0 11px 34px rgba(225,6,0,0.27);
}

.model-hotspot b {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #ff6078;
    font-size: 0.59rem;
    letter-spacing: 0.04em;
}

.model-hotspot.active b { background: rgba(255,255,255,0.16); color: #fff; }
.hotspot-front { top: 9%; right: 4%; }
.hotspot-tyres { top: 25%; left: 3%; }
.hotspot-chassis { top: 38%; right: 2%; }
.hotspot-floor { top: 51%; left: 2%; }
.hotspot-power { top: 66%; right: 2%; }
.hotspot-rear { right: 4%; bottom: 6%; }

.model-mode-legend {
    position: absolute;
    z-index: 3;
    bottom: 17px;
    left: 20px;
    display: flex;
    gap: 14px;
    color: #657083;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.model-mode-legend span { display: inline-flex; align-items: center; gap: 6px; }
.model-mode-legend i { width: 14px; height: 3px; border-radius: 3px; }
.legend-2025 { background: #7f899b; }
.legend-2026 { background: #ff2749; box-shadow: 0 0 10px rgba(255,39,73,0.4); }

.model-detail-stack {
    display: grid;
    min-height: 760px;
    align-content: stretch;
}

.model-part-panel {
    display: none;
    min-height: 100%;
    padding: clamp(26px, 3.1vw, 44px);
    border: 1px solid rgba(255,255,255,0.075);
    border-radius: 23px;
    background:
        linear-gradient(135deg, rgba(255,24,59,0.055), transparent 36%),
        rgba(15,20,30,0.78);
}

.model-part-panel.active {
    display: block;
    animation: modelPanelIn 260ms ease both;
}

@keyframes modelPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.part-panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.part-index {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border: 1px solid rgba(255,54,86,0.38);
    border-radius: 16px;
    background: rgba(255,24,59,0.1);
    color: #ff5e77;
    font-size: 0.84rem;
    font-weight: 900;
}

.part-panel-head small {
    display: block;
    margin-bottom: 5px;
    color: #657184;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.part-panel-head h4 {
    margin: 0;
    color: #f6f8fb;
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    letter-spacing: -0.025em;
}

.model-year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.model-year-card {
    min-height: 265px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(7,10,16,0.52);
}

.model-year-card > b {
    display: inline-flex;
    margin-bottom: 25px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.model-year-card.year-2025 > b { background: rgba(135,146,166,0.14); color: #b5bdca; }
.model-year-card.year-2026 { border-color: rgba(255,42,75,0.22); background: linear-gradient(145deg, rgba(255,24,59,0.075), rgba(8,11,18,0.72)); }
.model-year-card.year-2026 > b { background: rgba(255,24,59,0.14); color: #ff7187; }

.model-year-card strong {
    display: block;
    min-height: 52px;
    color: #f1f4f8;
    font-size: 1.01rem;
    line-height: 1.45;
}

.model-year-card p {
    margin: 15px 0 0;
    color: #8f9bad;
    font-size: 0.8rem;
    line-height: 1.72;
}

.part-impact {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 18px 0 0;
    padding: 18px 20px;
    border: 1px solid rgba(56,232,209,0.15);
    border-radius: 17px;
    background: rgba(56,232,209,0.045);
    color: #a7b3c4;
    font-size: 0.8rem;
    line-height: 1.7;
}

.part-impact > span:first-child {
    color: #43dcca;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.model-source-note {
    align-self: end;
    margin: 12px 4px 0;
    color: #606c7e;
    font-size: 0.65rem;
    line-height: 1.65;
}

@media (max-width: 1180px) {
    .model-explainer-grid { grid-template-columns: 1fr; }
    .model-stage { min-height: 720px; }
    .model-detail-stack { min-height: 0; }
    .model-part-panel { min-height: 0; }
}

@media (max-width: 760px) {
    .car-model-explainer { margin-right: -2px; margin-left: -2px; padding: 16px; border-radius: 22px; }
    .model-intro { grid-template-columns: 1fr; gap: 12px; padding: 3px 2px 20px; }
    .model-stage { min-height: 680px; border-radius: 18px; }
    .model-year-grid { grid-template-columns: 1fr; }
    .model-year-card { min-height: 0; }
    .model-year-card > b { margin-bottom: 16px; }
    .model-year-card strong { min-height: 0; }
}

@media (max-width: 520px) {
    .car-model-explainer { padding: 12px; }
    .model-stage { min-height: 610px; }
    .f1-model-svg { top: 46px; bottom: 38px; width: 86%; height: calc(100% - 84px); }
    .model-hotspot { min-height: 32px; gap: 5px; padding: 3px 8px 3px 4px; font-size: 0.58rem; }
    .model-hotspot b { width: 23px; height: 23px; font-size: 0.52rem; }
    .hotspot-front { top: 9%; right: 1%; }
    .hotspot-tyres { top: 25%; left: 1%; }
    .hotspot-chassis { right: 0; }
    .hotspot-floor { left: 0; }
    .hotspot-power { right: 0; }
    .hotspot-rear { right: 1%; bottom: 7%; }
    .model-part-panel { padding: 22px 16px; }
    .part-panel-head { margin-bottom: 21px; }
    .part-index { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
    .model-year-card { padding: 18px; }
    .part-impact { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .model-part-panel.active { animation: none; }
    .car-zone, .model-hotspot { transition: none; }
}

/* Constructors' championship leaderboard */
.constructor-leaderboard-section {
    margin: 0;
}

.leaderboard-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.leaderboard-title-row h2 {
    margin: 4px 0 0 !important;
}

.leaderboard-kicker {
    color: #ff526d;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.leaderboard-update {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    color: #aab4c4;
    font-size: 0.74rem;
    font-weight: 700;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2749;
    box-shadow: 0 0 0 5px rgba(255,39,73,0.12);
}

.leaderboard-table {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;
    background: rgba(10,14,22,0.74);
    box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

.leaderboard-header,
.leaderboard-row {
    display: grid;
    grid-template-columns: 76px minmax(280px, 1fr) 140px 150px 36px;
    align-items: center;
}

.leaderboard-header {
    min-height: 48px;
    padding: 0 22px;
    background: #171c28;
    color: #747f91;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.leaderboard-header > div:nth-child(3),
.leaderboard-header > div:nth-child(4) {
    text-align: right;
}

.leaderboard-row {
    position: relative;
    min-height: 82px;
    padding: 9px 22px;
    border-top: 1px solid rgba(255,255,255,0.065);
    background: rgba(18,23,34,0.72);
    color: inherit;
    text-decoration: none;
    transition: background 170ms ease, transform 170ms ease, box-shadow 170ms ease;
    isolation: isolate;
}

.leaderboard-row::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 15px;
    bottom: 15px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--team-color);
    box-shadow: 0 0 22px color-mix(in srgb, var(--team-color) 55%, transparent);
}

.leaderboard-row::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    width: var(--progress);
    max-width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--team-color), transparent);
    opacity: 0.55;
}

.leaderboard-row > * {
    position: relative;
    z-index: 2;
}

.leaderboard-row.is-leader {
    background: linear-gradient(90deg, color-mix(in srgb, var(--team-color) 12%, #141925), rgba(18,23,34,0.8) 42%);
}

.leaderboard-row:hover {
    z-index: 2;
    background: color-mix(in srgb, var(--team-color) 8%, #171d2a);
    transform: translateX(4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
}

.lb-rank {
    color: #c7cfdb;
    font-size: 1.12rem;
    font-weight: 900;
}

.lb-rank span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
}

.leaderboard-row:nth-of-type(1) .lb-rank span {
    background: linear-gradient(145deg, #ffd54a, #b78000);
    color: #17120a;
    box-shadow: 0 8px 24px rgba(255,193,7,0.16);
}

.leaderboard-row:nth-of-type(2) .lb-rank span {
    background: linear-gradient(145deg, #dfe5ed, #7d8795);
    color: #11151c;
}

.leaderboard-row:nth-of-type(3) .lb-rank span {
    background: linear-gradient(145deg, #d39258, #7b431e);
    color: #18100b;
}

.lb-team {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.lb-logo {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: 50%;
    background: var(--team-badge-color, var(--team-color));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 22px color-mix(in srgb, var(--team-badge-color, var(--team-color)) 32%, transparent);
}

.lb-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
    filter: drop-shadow(0 3px 7px rgba(0,0,0,0.32));
}

.lb-team-copy {
    display: block;
    min-width: 0;
}

.lb-team-copy strong {
    display: block;
    overflow: hidden;
    color: #f5f7fa;
    font-size: 1rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-team-copy small {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: #7f899b;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-gap {
    justify-self: end;
    color: #8993a4;
    font-size: 0.78rem;
    font-weight: 750;
}

.lb-gap.leader {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0,210,190,0.1);
    color: #3be0ce;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
}

.lb-points {
    display: flex;
    justify-self: end;
    align-items: baseline;
    gap: 7px;
}

.lb-points strong {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.lb-points small {
    color: #ff526d;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.lb-arrow {
    justify-self: end;
    color: #5f6a7d;
    font-size: 1.4rem;
    transition: color 170ms ease, transform 170ms ease;
}

.leaderboard-row:hover .lb-arrow {
    color: var(--team-color);
    transform: translateX(3px);
}

.leaderboard-note {
    margin: 16px 3px 0;
    color: #747f91;
    font-size: 0.73rem;
    line-height: 1.65;
}

@media (max-width: 780px) {
    .leaderboard-title-row { align-items: flex-start; }
    .leaderboard-header,
    .leaderboard-row { grid-template-columns: 58px minmax(0, 1fr) 112px 26px; padding-right: 15px; padding-left: 16px; }
    .leaderboard-header > div:nth-child(3),
    .leaderboard-row > .lb-gap { display: none; }
    .leaderboard-header > div:nth-child(4) { text-align: right; }
    .lb-team { gap: 12px; }
}

@media (max-width: 540px) {
    .leaderboard-title-row { display: block; }
    .leaderboard-update { margin: 14px 0 0 18px; }
    .leaderboard-table { border-radius: 17px; }
    .leaderboard-header,
    .leaderboard-row { grid-template-columns: 46px minmax(0, 1fr) 78px 18px; }
    .leaderboard-header { min-height: 42px; font-size: 0.6rem; }
    .leaderboard-row { min-height: 74px; padding-top: 8px; padding-bottom: 8px; }
    .lb-rank span { width: 30px; height: 30px; border-radius: 9px; }
    .lb-logo { width: 44px; height: 44px; flex-basis: 44px; border-radius: 50%; }
    .lb-logo img { padding: 7px; }
    .lb-team-copy strong { font-size: 0.9rem; }
    .lb-team-copy small { display: none; }
    .lb-points { display: block; text-align: right; }
    .lb-points strong { display: block; font-size: 1.18rem; line-height: 1.05; }
    .lb-points small { font-size: 0.54rem; }
}

/* 2026 official team marks: team-colour circles with white official marks. */
img[src*="images/teams/mercedes.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/mercedes.png"]) { --team-badge-color: #00a99d; }
img[src*="images/teams/ferrari.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/ferrari.png"]) { --team-badge-color: #ed1131; }
img[src*="images/teams/mclaren.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/mclaren.png"]) { --team-badge-color: #f47600; }
img[src*="images/teams/rbr.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/rbr.png"]) { --team-badge-color: #3671c6; }
img[src*="images/teams/alpine.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/alpine.png"]) { --team-badge-color: #2293d1; }
img[src*="images/teams/racingbulls.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/racingbulls.png"]) { --team-badge-color: #6692ff; }
img[src*="images/teams/haas.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/haas.png"]) { --team-badge-color: #a7aaad; }
img[src*="images/teams/williams.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/williams.png"]) { --team-badge-color: #1868db; }
img[src*="images/teams/audi.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/audi.png"]) { --team-badge-color: #e20b28; }
img[src*="images/teams/astonmartin.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/astonmartin.png"]) { --team-badge-color: #229971; }
img[src*="images/teams/cadillac.png"],
:where(.lb-logo, .sc-logo, .team-badge):has(> img[src*="images/teams/cadillac.png"]) { --team-badge-color: #8d9299; }

img.team-badge,
.team-badge {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
    border: 1px solid rgba(255,255,255,0.27) !important;
    border-radius: 50% !important;
    background: var(--team-badge-color, var(--team-color, #6f7783)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 16px color-mix(in srgb, var(--team-badge-color, var(--team-color, #6f7783)) 34%, transparent) !important;
    overflow: hidden;
}

img.team-badge {
    padding: 7px !important;
    object-fit: contain !important;
}

.team-badge img {
    width: 100% !important;
    height: 100% !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    box-shadow: none !important;
}

.tc-logo {
    width: 60px !important;
    height: 60px !important;
    padding: 10px !important;
    border: 1px solid rgba(255,255,255,0.29) !important;
    border-radius: 50% !important;
    background: var(--team-badge-color, var(--team-color, #6f7783)) !important;
    object-fit: contain !important;
    filter: drop-shadow(0 7px 12px rgba(0,0,0,0.28));
}

.sc-logo {
    display: grid;
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.27);
    border-radius: 50% !important;
    background: var(--team-badge-color, var(--team-color, #6f7783));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 7px 18px color-mix(in srgb, var(--team-badge-color, var(--team-color, #6f7783)) 32%, transparent);
    overflow: hidden;
}

.sc-logo img {
    width: 100% !important;
    height: 100% !important;
    padding: 9px;
    border-radius: 0 !important;
    object-fit: contain !important;
}

.result-team img,
.podium-team img {
    border: 1px solid rgba(255,255,255,0.27) !important;
    border-radius: 50% !important;
    background: var(--team-badge-color, var(--team-color, #6f7783)) !important;
    object-fit: contain !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 4px 12px rgba(0,0,0,0.24) !important;
}

.result-team img { width: 32px !important; height: 32px !important; padding: 6px !important; }
.podium-team img { width: 24px !important; height: 24px !important; padding: 4px !important; }

:where(.lb-logo, .sc-logo, .team-badge):has(img[src*="ferrari.png"]) img,
img.tc-logo[src*="ferrari.png"],
img.team-badge[src*="ferrari.png"] { padding: 5px !important; }

:where(.lb-logo, .sc-logo, .team-badge):has(img[src*="rbr.png"]) img,
img.tc-logo[src*="rbr.png"],
img.team-badge[src*="rbr.png"] { padding: 6px !important; }

@media (max-width: 768px) {
    img.team-badge,
    .team-badge { width: 36px !important; height: 36px !important; flex-basis: 36px; border-radius: 50% !important; }
    img.team-badge,
    .team-badge img { padding: 6px !important; }
    .tc-logo { width: 52px !important; height: 52px !important; padding: 8px !important; border-radius: 50% !important; }
    .sc-logo { width: 46px !important; height: 46px !important; flex-basis: 46px; }
}

@media (max-width: 480px) {
    img.team-badge,
    .team-badge { width: 32px !important; height: 32px !important; flex-basis: 32px; }
    img.team-badge,
    .team-badge img { padding: 5px !important; }
    .tc-logo { width: 48px !important; height: 48px !important; }
    .sc-logo { width: 42px !important; height: 42px !important; flex-basis: 42px; }
}

/* ===== 2017-2026 standings history ===== */
.main-content > header[data-season]::before { content: attr(data-season) !important; }

.season-picker {
    position: fixed;
    top: 78px;
    right: 20px;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    padding: 9px 11px 9px 14px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(17,18,29,0.92);
    box-shadow: 0 14px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
}

.season-picker label {
    color: #8b90a3;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.season-picker select {
    flex: 1;
    min-width: 0;
    padding: 8px 30px 8px 10px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    outline: none;
    background: #202231;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    color-scheme: dark;
}

.season-picker select:focus-visible { border-color: #ff3147; box-shadow: 0 0 0 3px rgba(255,49,71,0.16); }

.standings-history-shell {
    margin: 0 0 50px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(20,22,35,0.96), rgba(9,10,17,0.98));
    box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.history-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.history-kicker { color: #ff3147; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.history-title-row h2 { margin: 7px 0 0 !important; padding-left: 16px !important; font-size: clamp(1.65rem, 3vw, 2.35rem) !important; }

.history-view-switch { display: inline-flex; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; background: rgba(0,0,0,0.25); }
.history-view-switch a { padding: 8px 12px; border-radius: 10px; color: #969cad; text-decoration: none; font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
.history-view-switch a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.history-view-switch a.active { color: #fff; background: #e10600; box-shadow: 0 7px 18px rgba(225,6,0,0.25); }

.history-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #a7adbc; font-size: 0.86rem; font-weight: 650; }
.history-status .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3147; box-shadow: 0 0 14px rgba(255,49,71,0.85); }
.history-status .live-dot.is-final { background: #48d7a5; box-shadow: 0 0 14px rgba(72,215,165,0.7); }

.history-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.history-summary article { min-height: 92px; padding: 16px 18px; border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; background: rgba(255,255,255,0.035); }
.history-summary small { display: block; margin-bottom: 7px; color: #7f8597; font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.history-summary strong { color: #f4f5f8; font-size: 1.18rem; }
.history-summary em { color: #7f8597; font-size: 0.68em; font-style: normal; }

.history-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; background: #12141f; scrollbar-color: #e10600 #12141f; }
.history-table { width: 100%; min-width: 760px !important; border-collapse: collapse; background: transparent !important; border-radius: 0 !important; }
.history-table th { padding: 13px 16px !important; background: #29131f !important; color: #ff3147 !important; font-size: 0.72rem !important; letter-spacing: 0.09em !important; }
.history-table td { padding: 11px 16px !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; vertical-align: middle; }
.history-table tbody tr:last-child td { border-bottom: 0 !important; }
.history-table tbody tr { transition: background 0.18s ease; }
.history-table tbody tr:hover { background: rgba(255,255,255,0.035) !important; }
.history-table tbody tr.is-champion { background: linear-gradient(90deg, color-mix(in srgb, var(--entry-color) 13%, transparent), transparent 72%) !important; }

.history-rank { width: 72px; color: #dfe2ea; font-weight: 900; font-variant-numeric: tabular-nums; }
.history-rank span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; background: rgba(255,255,255,0.035); }
.is-champion .history-rank span { border-color: color-mix(in srgb, var(--entry-color) 55%, transparent); color: #fff; box-shadow: inset 3px 0 0 var(--entry-color); }

.history-person, .history-team { display: flex; align-items: center; gap: 11px; }
.history-image-badge { position: relative; display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--entry-color) 68%, rgba(255,255,255,0.2)); border-radius: 15px; background: radial-gradient(circle at 34% 24%, color-mix(in srgb, var(--entry-color) 86%, #fff 8%), color-mix(in srgb, var(--entry-color) 67%, #090b13)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 8px 18px rgba(0,0,0,0.24); }
.history-image-badge > * { grid-area: 1 / 1; }
.history-image-badge img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; }
.history-image-fallback { z-index: 1; color: #fff; font-size: 0.7rem; font-weight: 900; letter-spacing: -0.03em; opacity: 0; }
.history-image-badge.is-missing .history-image-fallback { opacity: 1; }
.history-driver-photo { flex-basis: 64px; width: 64px; height: 64px; border-radius: 18px; }
.history-driver-photo img { object-fit: contain; object-position: center bottom; }
.history-team-logo { border-radius: 50%; }
.history-team-logo img { box-sizing: border-box; object-fit: contain; padding: 7px; }
.history-team-logo-compact { flex-basis: 31px; width: 31px; height: 31px; }
.history-team-logo-compact img { padding: 5px; }
.history-team-logo-compact .history-image-fallback { font-size: 0.55rem; }
.history-driver-podium { display: grid; grid-template-columns: repeat(3, minmax(180px, 210px)); justify-content: center; gap: 16px; margin: 2px auto 24px; }
.history-podium-card { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 250px; padding: 18px 15px 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); border-top: 4px solid var(--podium-metal, var(--entry-color)); border-radius: 18px; background: linear-gradient(155deg, color-mix(in srgb, var(--entry-color) 11%, #191a2a), #171827 62%); box-shadow: 0 16px 34px rgba(0,0,0,0.2); text-align: center; }
.history-podium-card::after { content: ''; position: absolute; inset: auto -20px -60px; height: 125px; background: radial-gradient(circle, color-mix(in srgb, var(--entry-color) 18%, transparent), transparent 68%); pointer-events: none; }
.history-podium-1 { --podium-metal: #ffd600; }
.history-podium-2 { --podium-metal: #c9cbd1; }
.history-podium-3 { --podium-metal: #d47d28; }
.history-podium-position { margin-bottom: 10px; color: var(--podium-metal); font-size: 2rem; font-weight: 950; letter-spacing: -0.04em; }
.history-podium-photo { flex-basis: 94px; width: 94px; height: 94px; margin-bottom: 12px; border-radius: 22px; }
.history-podium-photo img { object-fit: contain; object-position: center bottom; }
.history-podium-name { position: relative; z-index: 1; max-width: 100%; overflow: hidden; color: #fff; font-size: 1rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.history-podium-team { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; margin-top: 8px; color: #9ca2b2; font-size: 0.74rem; font-weight: 700; }
.history-podium-team > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-podium-points { position: relative; z-index: 1; margin-top: 8px; color: #7e8596; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; }
.history-name strong, .history-team-primary strong { display: block; color: #f4f5f8; font-size: 0.93rem; }
.history-name small, .history-team-primary small { display: block; margin-top: 2px; color: #777e90; font-size: 0.72rem; }
.history-team-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--entry-color); box-shadow: 0 0 12px color-mix(in srgb, var(--entry-color) 70%, transparent); }
.history-team-primary { position: relative; min-width: 280px; }
.history-progress { display: block; width: min(360px, 72%); height: 3px; margin: 7px 0 0 57px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.06); }
.history-progress i { display: block; width: var(--entry-progress); height: 100%; border-radius: inherit; background: var(--entry-color); }
.history-gap { color: #aab0bf; font-weight: 750; font-variant-numeric: tabular-nums; }
.history-points { width: 110px; text-align: right !important; font-variant-numeric: tabular-nums; }
.history-points strong { color: #fff; font-size: 1.08rem; }
.history-points small { margin-left: 5px; color: #777e90; font-size: 0.66rem; }

.history-footnote { margin: 14px 2px 0; color: #767d8e; font-size: 0.78rem; line-height: 1.65; }
.history-footnote a { color: #aebcff; text-decoration: none; }
.history-footnote a:hover { color: #fff; text-decoration: underline; }
#historySpecialNote:empty { display: none; }
.legacy-standings { display: none !important; }
.history-mobile-hint { display: none; margin: -4px 2px 10px; color: #858b9c; font-size: 0.75rem; text-align: right; }

@media (max-width: 900px) {
    .season-picker { top: 74px; right: 12px; min-width: 188px; }
    .standings-history-page .main-content > header { padding-top: 132px !important; }
    .standings-history-shell { padding: 20px 14px; border-radius: 20px; }
    .history-title-row { flex-direction: column; }
    .history-summary { grid-template-columns: 1fr; }
    .history-summary article { min-height: 78px; }
    .history-driver-podium { justify-content: start; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
    .history-podium-card { width: 190px; }
}

@media (max-width: 520px) {
    .season-picker { min-width: 168px; padding-left: 10px; }
    .season-picker label { display: none; }
    .history-mobile-hint { display: block; }
    .history-view-switch { width: 100%; }
    .history-view-switch a { flex: 1; text-align: center; }
    .history-table { min-width: 690px !important; }
    .history-table th, .history-table td { padding-left: 10px !important; padding-right: 10px !important; }
    .history-driver-photo { flex-basis: 58px; width: 58px; height: 58px; border-radius: 16px; }
}

/* ===== Power-unit evolution and 2026 Overtake Mode story ===== */
.pu-explainer,
.overtake-operation {
    position: relative;
    margin: 34px 0;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 0, rgba(47,228,209,0.11), transparent 30%),
        radial-gradient(circle at 0 100%, rgba(225,6,0,0.1), transparent 33%),
        linear-gradient(145deg, #121721, #090c13 64%);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.overtake-operation {
    background:
        radial-gradient(circle at 88% 4%, rgba(217,255,69,0.09), transparent 26%),
        radial-gradient(circle at 0 100%, rgba(20,215,193,0.1), transparent 31%),
        linear-gradient(145deg, #111722, #090c13 64%);
}
.pu-explainer::before,
.overtake-operation::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
}
.tech-story-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 28px;
}
.tech-story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #7f8ca1;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}
.tech-story-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42e8d4;
    box-shadow: 0 0 14px rgba(66,232,212,0.9);
}
.tech-story-kicker.overtake i { background: #d9ff45; box-shadow: 0 0 14px rgba(217,255,69,0.8); }
.tech-story-head h3 {
    margin: 8px 0 0;
    color: #f7f9fc;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}
.tech-story-head > p {
    margin: 0;
    color: #98a3b5;
    font-size: 0.86rem;
    line-height: 1.8;
}
.pu-visual-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.pu-era-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    background: rgba(13,17,25,0.82);
    box-shadow: inset 0 1px rgba(255,255,255,0.035);
}
.pu-era-2026 { border-color: rgba(66,232,212,0.25); background: linear-gradient(145deg, rgba(15,39,41,0.72), rgba(10,14,22,0.92) 52%); }
.pu-era-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 2px 2px 14px; }
.pu-era-label { color: #697589; font-size: 0.6rem; font-weight: 950; letter-spacing: 0.15em; }
.pu-era-heading h4 { margin: 3px 0 0; color: #f1f4f8; font-size: 1rem; }
.pu-era-badge { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(255,107,82,0.3); border-radius: 999px; color: #ff806b; background: rgba(255,107,82,0.08); font-size: 0.58rem; font-weight: 850; }
.pu-era-badge.live { border-color: rgba(66,232,212,0.32); color: #42e8d4; background: rgba(66,232,212,0.08); }
.pu-flow-svg { display: block; width: 100%; aspect-ratio: 700 / 430; overflow: visible; }
.pu-flow-svg text { fill: #d9dee7; font-family: 'Segoe UI', Arial, sans-serif; font-size: 13px; font-weight: 850; text-anchor: middle; letter-spacing: 0.045em; }
.pu-grid-lines path { fill: none; stroke: #8d9aaf; stroke-width: 1; }
.pu-node > :first-child { fill: #161d29; stroke: #4d586c; stroke-width: 2; }
.pu-node-inner { fill: rgba(255,107,82,0.16) !important; stroke: #ff6b52 !important; }
.pu-fuel-node.sustainable > :first-child { stroke: #8ed06b; }
.pu-fuel-node.sustainable .pu-node-inner { fill: rgba(142,208,107,0.14) !important; stroke: #8ed06b !important; }
.pu-fuel-node.sustainable text { font-size: 10px; fill: #c7f5ae; }
.pu-ice-node > rect { fill: #21171b; stroke: #ff6b52; }
.pu-cylinder { fill: rgba(255,107,82,0.12) !important; stroke: #ff826d !important; stroke-width: 2 !important; }
.pu-turbo-node > circle { fill: #1b1920; stroke: #ff9d5b; }
.pu-turbo-spiral { fill: none !important; stroke: #ff9d5b !important; stroke-width: 7 !important; stroke-linecap: round; }
.pu-mguh-node > rect { fill: #112a2d; stroke: #42e8d4; }
.pu-small-text { fill: #6f8291 !important; font-size: 7px !important; }
.pu-battery-node > rect:first-child { fill: #10272b; stroke: #42e8d4; }
.pu-battery-fill { fill: rgba(66,232,212,0.18) !important; stroke: #42e8d4 !important; }
.pu-battery-tip { fill: #42e8d4 !important; stroke: none !important; }
.pu-battery-node.enlarged > rect:first-child { filter: drop-shadow(0 0 10px rgba(66,232,212,0.17)); }
.pu-mguk-node > circle { fill: #11282d; stroke: #42e8d4; }
.pu-mguk-node.enlarged > circle { stroke-width: 4; filter: drop-shadow(0 0 12px rgba(66,232,212,0.2)); }
.pu-motor-lines { fill: none !important; stroke: #42e8d4 !important; stroke-width: 7 !important; stroke-linecap: round; }
.pu-axle-node path, .pu-axle-node circle { fill: #111620; stroke: #6a768a; stroke-width: 5; }
.pu-flow-hot, .pu-flow-electric, .pu-flow-mechanical { fill: none; stroke-linecap: round; }
.pu-flow-hot { stroke: #ff6b52; stroke-width: 5; }
.pu-flow-dashed { stroke-dasharray: 8 9; }
.pu-flow-electric { stroke: #42e8d4; stroke-width: 5; filter: drop-shadow(0 0 5px rgba(66,232,212,0.45)); }
.pu-flow-electric-strong { stroke-width: 10; }
.pu-flow-recovery { stroke-width: 4; stroke-dasharray: 10 9; opacity: 0.82; }
.pu-flow-mechanical { stroke: #ff6b52; stroke-width: 5; opacity: 0.7; }
.pu-removed-node rect { fill: rgba(40,29,34,0.52); stroke: #82485a; stroke-width: 2; stroke-dasharray: 8 6; }
.pu-removed-node text { fill: #925a67; }
.pu-removed-node path { fill: none; stroke: #ff506f; stroke-width: 6; stroke-linecap: round; }
.pu-callout circle { fill: #141b26; stroke: #78859a; stroke-width: 2; }
.pu-callout path { stroke: #78859a; stroke-width: 2; }
.pu-callout > text:last-child { fill: #6f7b8e; font-size: 7px; }
.pu-callout-k circle { stroke: #42e8d4; }
.pu-callout-k > text:first-of-type { fill: #42e8d4; }
.pu-share-bar { display: flex; height: 52px; margin-top: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); border-radius: 13px; background: #090c12; }
.pu-share-bar > span { flex: 0 0 var(--share); display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 0 11px; }
.pu-share-bar b { font-size: 0.65rem; letter-spacing: 0.08em; }
.pu-share-bar em { font-size: 0.62rem; font-style: normal; white-space: nowrap; }
.pu-share-ice { color: #ff9b88; background: linear-gradient(90deg, rgba(255,80,71,0.2), rgba(255,107,82,0.1)); }
.pu-share-electric { color: #7ff4e6; background: linear-gradient(90deg, rgba(66,232,212,0.13), rgba(66,232,212,0.25)); }
.pu-era-points { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.pu-era-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
.pu-era-points strong, .pu-era-points small { display: block; }
.pu-era-points strong { color: #e9edf4; font-size: 0.75rem; }
.pu-era-points small { margin-top: 2px; color: #7f8b9e; font-size: 0.65rem; line-height: 1.55; }
.pu-point-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.12); border-radius: 9px; color: #aeb7c6; font-size: 0.58rem; font-weight: 900; }
.pu-point-icon.hot { color: #ff8a74; border-color: rgba(255,107,82,0.35); background: rgba(255,107,82,0.08); }
.pu-point-icon.electric { color: #42e8d4; border-color: rgba(66,232,212,0.35); background: rgba(66,232,212,0.08); }
.pu-point-icon.removed { color: #ff6680; border-color: rgba(255,80,111,0.35); background: rgba(255,80,111,0.08); }
.pu-change-spine { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.pu-spine-title { color: #647084; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.15em; text-align: center; }
.pu-spine-item { display: grid; place-items: center; min-height: 74px; padding: 10px 6px; border: 1px solid rgba(255,255,255,0.08); border-radius: 15px; background: rgba(18,23,33,0.9); text-align: center; }
.pu-spine-item b { color: #f1f4f8; font-size: 1rem; }
.pu-spine-item span { color: #778397; font-size: 0.58rem; font-weight: 780; line-height: 1.25; }
.pu-spine-item.removed { border-color: rgba(255,80,111,0.23); }
.pu-spine-item.removed b { color: #ff607a; text-decoration: line-through; }
.pu-spine-item.boosted { border-color: rgba(66,232,212,0.25); box-shadow: inset 0 0 20px rgba(66,232,212,0.05); }
.pu-spine-item.boosted b { color: #42e8d4; }
.pu-spine-item.fuel b { color: #aee881; }
.pu-meaning-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.pu-meaning-grid article { min-height: 155px; padding: 19px; border: 1px solid rgba(255,255,255,0.075); border-radius: 17px; background: rgba(13,17,25,0.72); }
.pu-meaning-grid article > span { color: #667286; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.13em; }
.pu-meaning-grid h4 { margin: 7px 0 6px; color: #eef1f6; font-size: 0.88rem; }
.pu-meaning-grid p { margin: 0; color: #8490a2; font-size: 0.7rem; line-height: 1.7; }
.tech-source-note { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.07); border-radius: 15px; color: #768296; background: rgba(5,8,13,0.54); font-size: 0.64rem; line-height: 1.55; }
.tech-source-note strong { color: #a7b1c1; }
.tech-source-note > span { flex: 1 1 450px; }
.tech-source-note a { color: #62ddcf; font-weight: 800; text-decoration: none; }
.tech-source-note a:hover { color: #fff; text-decoration: underline; }

.overtake-stepper { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 14px; }
.overtake-step-button { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; color: #8b96a8; background: rgba(13,17,25,0.84); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.overtake-step-button:hover { transform: translateY(-2px); border-color: rgba(217,255,69,0.28); }
.overtake-step-button.active { color: #f3f8e4; border-color: rgba(217,255,69,0.48); background: linear-gradient(135deg, rgba(217,255,69,0.13), rgba(20,215,193,0.08)); box-shadow: inset 0 0 24px rgba(217,255,69,0.04); }
.overtake-step-button > b { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #657185; background: #0a0e15; font-size: .69rem; }
.overtake-step-button.active > b { color: #d9ff45; box-shadow: 0 0 14px rgba(217,255,69,0.12); }
.overtake-step-button strong, .overtake-step-button small { display: block; }
.overtake-step-button strong { color: inherit; font-size: .74rem; }
.overtake-step-button small { margin-top: 1px; color: #687488; font-size: .57rem; font-weight: 850; letter-spacing: .08em; }
.overtake-demo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .78fr); gap: 14px; }
.overtake-track-visual, .overtake-readout { min-width: 0; border: 1px solid rgba(255,255,255,0.08); border-radius: 21px; background: rgba(9,12,18,0.8); }
.overtake-track-visual { padding: 14px; overflow: hidden; }
.overtake-track-head { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 8px; align-items: center; color: #596579; font-size: .54rem; font-weight: 900; letter-spacing: .11em; }
.overtake-track-head i { height: 1px; background: linear-gradient(90deg, #374154, transparent); }
.overtake-track-svg { display: block; width: 100%; margin-top: 2px; overflow: visible; }
.overtake-track-svg text { fill: #bbc4d2; font-family: 'Segoe UI', Arial, sans-serif; font-size: 11px; font-weight: 850; text-anchor: middle; letter-spacing: .055em; }
.ot-detection-line path { stroke: #ff5a73; stroke-width: 3; }
.ot-detection-line text { fill: #ff7388; }
.ot-gap-measure path { stroke: #d9ff45; stroke-width: 2; }
.ot-gap-measure text { fill: #d9ff45; }
.ot-car { transition: transform .62s cubic-bezier(.2,.75,.2,1); }
.ot-car rect { fill: #06090e; stroke: #596579; stroke-width: 2; }
.ot-car-body { fill: #263043; stroke: #6f7c91; stroke-width: 2; }
.ot-car-core { fill: #151c28; stroke: #8995a8; stroke-width: 2; }
.ot-follower-car .ot-car-body { fill: #0f403f; stroke: #42e8d4; }
.ot-follower-car .ot-car-core { fill: #0d2529; stroke: #d9ff45; }
.ot-follower-car text { fill: #bff8ee; }
.ot-energy-trail, .ot-power-delta, .ot-check, .ot-button-hud { opacity: 0; transition: opacity .25s; }
.ot-energy-trail path { fill: none; stroke: #42e8d4; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 14 12; filter: url(#otGlow); }
.ot-energy-trail circle { fill: #d9ff45; filter: url(#otGlow); }
.ot-battery-hud rect:first-child { fill: #0d131d; stroke: #39465a; stroke-width: 2; }
.ot-battery-hud rect:nth-of-type(2) { fill: #0b1018; stroke: #58647a; }
.ot-battery-level { fill: #42e8d4; transform-box: fill-box; transform-origin: left center; transition: transform .45s; }
.ot-battery-hud text:first-of-type { fill: #7f8da1; text-anchor: start; font-size: 9px; }
.ot-battery-value { fill: #d9ff45 !important; text-anchor: start !important; font-size: 9px !important; }
.ot-button-hud circle:first-child { fill: rgba(217,255,69,.05); stroke: #d9ff45; stroke-width: 2; filter: url(#otGlow); }
.ot-button-hud circle:nth-child(2) { fill: #17200e; stroke: #7c922b; }
.ot-button-hud text { fill: #d9ff45; font-size: 10px; }
.ot-power-delta path { stroke: #d9ff45; stroke-width: 5; stroke-dasharray: 12 9; }
.ot-power-delta circle { fill: #d9ff45; filter: url(#otGlow); }
.ot-power-delta text { fill: #b5c876; font-size: 8px; }
.ot-check circle { fill: rgba(217,255,69,.08); stroke: #d9ff45; stroke-width: 3; }
.ot-check path { fill: none; stroke: #d9ff45; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ot-check text { fill: #d9ff45; font-size: 8px; }
.overtake-operation[data-overtake-step="detect"] .ot-gap-measure,
.overtake-operation[data-overtake-step="detect"] .ot-detection-line { opacity: 1; }
.overtake-operation[data-overtake-step="armed"] .ot-leader-car { transform: translateX(160px); }
.overtake-operation[data-overtake-step="armed"] .ot-follower-car { transform: translateX(150px); }
.overtake-operation[data-overtake-step="armed"] .ot-battery-level { transform: scaleX(4.1); }
.overtake-operation[data-overtake-step="deploy"] .ot-leader-car { transform: translateX(420px); }
.overtake-operation[data-overtake-step="deploy"] .ot-follower-car { transform: translateX(390px); }
.overtake-operation[data-overtake-step="deploy"] .ot-energy-trail,
.overtake-operation[data-overtake-step="deploy"] .ot-power-delta,
.overtake-operation[data-overtake-step="deploy"] .ot-button-hud { opacity: 1; }
.overtake-operation[data-overtake-step="deploy"] .ot-battery-level { transform: scaleX(6.6); }
.overtake-operation[data-overtake-step="pass"] .ot-leader-car { transform: translateX(600px); }
.overtake-operation[data-overtake-step="pass"] .ot-follower-car { transform: translate(690px,-92px); }
.overtake-operation[data-overtake-step="pass"] .ot-energy-trail,
.overtake-operation[data-overtake-step="pass"] .ot-power-delta,
.overtake-operation[data-overtake-step="pass"] .ot-button-hud,
.overtake-operation[data-overtake-step="pass"] .ot-check { opacity: 1; }
.overtake-operation[data-overtake-step="pass"] .ot-battery-level { transform: scaleX(.5); }
.overtake-operation[data-overtake-step="armed"] .ot-battery-hud,
.overtake-operation[data-overtake-step="deploy"] .ot-battery-hud,
.overtake-operation[data-overtake-step="pass"] .ot-battery-hud { filter: drop-shadow(0 0 10px rgba(66,232,212,.15)); }
.overtake-visual-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: -4px 8px 3px; color: #737f92; font-size: .62rem; }
.overtake-visual-legend span { display: inline-flex; align-items: center; gap: 7px; }
.overtake-visual-legend i { width: 18px; height: 5px; border-radius: 999px; }
.overtake-visual-legend i.leader { background: #6f7c91; }
.overtake-visual-legend i.attacker { background: #42e8d4; box-shadow: 0 0 9px rgba(66,232,212,.5); }
.overtake-readout { display: flex; min-height: 100%; padding: 20px; }
.overtake-readout-panel { display: none; flex: 1; flex-direction: column; }
.overtake-readout-panel.active { display: flex; }
.overtake-panel-index { color: #d9ff45; font-size: .59rem; font-weight: 950; letter-spacing: .14em; }
.overtake-readout-panel h4 { margin: 9px 0 9px; color: #f0f3f7; font-size: 1.05rem; line-height: 1.35; }
.overtake-readout-panel > p { margin: 0; color: #8793a5; font-size: .72rem; line-height: 1.75; }
.overtake-panel-metric { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.overtake-panel-metric span, .overtake-panel-metric small { display: block; }
.overtake-panel-metric span { color: #697589; font-size: .57rem; font-weight: 900; letter-spacing: .13em; }
.overtake-panel-metric strong { display: block; margin: 2px 0; color: #d9ff45; font-size: 1.35rem; line-height: 1.15; }
.overtake-panel-metric small { color: #6f7a8d; font-size: .61rem; }
.overtake-tool-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.overtake-tool { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 13px; min-height: 166px; padding: 17px; border: 1px solid rgba(255,255,255,.075); border-radius: 17px; background: rgba(13,17,25,.72); }
.overtake-tool-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; color: #dce2eb; background: #0a0e15; font-size: 1.1rem; font-weight: 950; }
.overtake-tool > div:last-child > span { color: #667286; font-size: .57rem; font-weight: 900; letter-spacing: .12em; }
.overtake-tool h4 { margin: 5px 0; color: #eef1f6; font-size: .8rem; line-height: 1.35; }
.overtake-tool p { margin: 0; color: #7f8b9e; font-size: .66rem; line-height: 1.65; }
.overtake-tool.active-aero .overtake-tool-icon { color: #63d9ff; border-color: rgba(99,217,255,.3); background: rgba(99,217,255,.06); }
.overtake-tool.overtake-energy .overtake-tool-icon { color: #d9ff45; border-color: rgba(217,255,69,.34); background: rgba(217,255,69,.06); font-size: .85rem; }
.overtake-tool.boost-energy .overtake-tool-icon { color: #ff6b82; border-color: rgba(255,107,130,.32); background: rgba(255,107,130,.06); }
.overtake-current-rule { position: relative; z-index: 1; display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: center; margin-top: 14px; padding: 18px; border: 1px solid rgba(255,77,105,.22); border-radius: 18px; background: linear-gradient(135deg, rgba(225,6,0,.09), rgba(12,16,23,.72)); }
.current-rule-badge { display: grid; place-items: center; min-height: 72px; padding: 10px; border-radius: 14px; color: #ff7188; background: rgba(255,77,105,.08); font-size: .62rem; font-weight: 950; letter-spacing: .1em; text-align: center; }
.overtake-current-rule h4 { margin: 0 0 4px; color: #f0f3f7; font-size: .85rem; }
.overtake-current-rule p { margin: 0; color: #8490a3; font-size: .68rem; line-height: 1.7; }

@keyframes pu-flow-pulse { to { stroke-dashoffset: -34; } }
@keyframes ot-energy-run { to { stroke-dashoffset: -52; } }
.pu-flow-dashed, .pu-flow-recovery { animation: pu-flow-pulse 1.5s linear infinite; }
.overtake-operation[data-overtake-step="deploy"] .ot-energy-trail path,
.overtake-operation[data-overtake-step="pass"] .ot-energy-trail path,
.overtake-operation[data-overtake-step="deploy"] .ot-power-delta path,
.overtake-operation[data-overtake-step="pass"] .ot-power-delta path { animation: ot-energy-run 1.05s linear infinite; }

@media (max-width: 1160px) {
    .pu-visual-grid { grid-template-columns: 1fr; }
    .pu-change-spine { display: grid; grid-template-columns: repeat(4, 1fr); }
    .pu-spine-title { grid-column: 1 / -1; }
    .pu-spine-item { min-height: 64px; }
}
@media (max-width: 980px) {
    .tech-story-head { grid-template-columns: 1fr; gap: 12px; }
    .overtake-demo-grid { grid-template-columns: 1fr; }
    .overtake-readout { min-height: 260px; }
}
@media (max-width: 760px) {
    .pu-explainer, .overtake-operation { padding: 22px; border-radius: 22px; }
    .pu-meaning-grid, .overtake-tool-grid { grid-template-columns: 1fr; }
    .overtake-stepper { grid-template-columns: repeat(2, 1fr); }
    .overtake-tool { min-height: 0; }
    .overtake-current-rule { grid-template-columns: 1fr; }
    .current-rule-badge { min-height: 44px; }
}
@media (max-width: 540px) {
    .car-comparison-section::before { inset-inline: 0; }
    .pu-explainer, .overtake-operation { margin-inline: -4px; padding: 16px; }
    .pu-era-card { padding: 13px; }
    .pu-era-heading { flex-direction: column; }
    .pu-change-spine { grid-template-columns: repeat(2, 1fr); }
    .pu-spine-title { grid-column: 1 / -1; }
    .pu-share-bar { height: 64px; }
    .pu-share-bar > span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding-inline: 7px; }
    .pu-share-bar em { font-size: .55rem; }
    .overtake-step-button { padding: 9px; gap: 8px; }
    .overtake-step-button > b { flex-basis: 30px; width: 30px; height: 30px; }
    .overtake-track-visual { padding: 9px; overflow-x: auto; }
    .overtake-track-head { min-width: 600px; }
    .overtake-track-svg { min-width: 690px; }
    .overtake-visual-legend { min-width: 600px; }
}
@media (prefers-reduced-motion: reduce) {
    .pu-flow-dashed, .pu-flow-recovery,
    .overtake-operation .ot-energy-trail path,
    .overtake-operation .ot-power-delta path { animation: none !important; }
    .ot-car, .ot-battery-level { transition: none !important; }
}
