/* Feature landing pages (CarPlay navigation on HUD, Android Auto on NBT EVO) */
.fx-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.fx-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); pointer-events: none; }
.fx-hero--android::before { background: radial-gradient(circle, color-mix(in srgb, #34c759 16%, transparent), transparent 65%); }
.fx-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.fx-hero__copy .lead { margin-top: 18px; max-width: 54ch; }
.fx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fx-actions--center { justify-content: center; }
.fx-buy .icon { width: 18px; height: 18px; }
.fx-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--text-secondary); font-size: var(--fs-small); }
.fx-hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.fx-hero__facts .icon { width: 15px; height: 15px; color: #34c759; }
.fx-soon { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; color: #1a7f37; background: color-mix(in srgb, #34c759 16%, transparent); font-weight: 700; }

/* Animated HUD mock-up */
.fx-hud { position: relative; display: grid; gap: 14px; justify-items: start; }
.fx-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-hud__glass { position: relative; z-index: 1; width: 100%; margin: 0; min-height: clamp(300px, 32vw, 440px); align-content: center; border-radius: 26px !important; background: radial-gradient(120% 140% at 50% 30%, #2a0d06 0%, #120807 55%, #070405 100%) !important; box-shadow: 0 24px 60px rgb(120 30 10 / .25); padding: clamp(16px, 2.5vw, 28px) clamp(18px, 3vw, 34px) !important; gap: clamp(10px, 1.5vw, 16px) !important; display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(180deg, rgb(255 60 20 / .06), rgb(255 60 20 / .02)); border-top: 1px solid rgb(255 90 38 / .45); border-bottom: 1px solid rgb(255 90 38 / .25); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); color: #ff5a26; text-shadow: 0 0 12px rgb(255 70 20 / .65); }
.fx-hud__glass.is-switch .fx-hud__nav { animation: fx-switch .5s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes fx-switch { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.fx-hud__lanes { display: flex; gap: 6px; }
.fx-hud__lanes[hidden] { display: none; }
.fx-hud__lanes i { display: grid; place-items: center; width: 22px; height: 26px; border: 1.5px solid rgb(255 90 38 / .35); border-radius: 5px; opacity: .45; }
.fx-hud__lanes i.is-on { opacity: 1; border-color: #ff5a26; box-shadow: 0 0 8px rgb(255 90 38 / .55); }
.fx-hud__lanes svg { width: 10px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-hud__speed { display: flex; align-items: baseline; gap: 6px; }
.fx-hud__speed b { font-size: clamp(2.2rem, 1rem + 4vw, 3.8rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-hud__speed small { opacity: .8; }
.fx-hud__nav { display: flex; align-items: center; gap: 14px; }
.fx-hud__arrow { width: clamp(56px, 7vw, 80px); height: clamp(56px, 7vw, 80px); flex: none; fill: none; stroke: #ff4a1c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgb(255 70 20 / .75)); }
.fx-hud__nav b { display: block; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-variant-numeric: tabular-nums; color: #ff6a33; }
.fx-hud__nav > div { min-width: 0; }
.fx-hud__nav span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-hud__nav span { font-size: clamp(.9rem, .7rem + .6vw, 1.15rem); opacity: .85; }
.fx-hud__bar { height: 5px; border-radius: 999px; background: rgb(255 90 38 / .18); overflow: hidden; }
.fx-hud__bar i { display: block; height: 100%; width: 0; background: #ff5a26; box-shadow: 0 0 10px #ff5a26; transition: width .25s linear; }
.fx-hud__label { position: static; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; color: var(--text-secondary); background: color-mix(in srgb, var(--text) 6%, transparent); font-size: 12.5px; font-weight: 600; }
.fx-hud__label .icon { width: 14px; height: 14px; }

/* Android screen mock-up */
.fx-screen { position: relative; }
.fx-screen__bezel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; aspect-ratio: 16 / 7; padding: 12px; border-radius: 24px; background: #0e1116; box-shadow: 0 30px 80px rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 255 255 / .06); }
.fx-screen__map { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #1f3b2d, #2b4a3c 40%, #23303a); }
.fx-screen__map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 28px 28px; }
.fx-route { position: absolute; left: 18%; bottom: -10%; width: 10px; height: 80%; border-radius: 6px; background: #4c8dff; transform: rotate(18deg); box-shadow: 0 0 14px #4c8dff; }
.fx-car { position: absolute; left: 24%; bottom: 22%; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(76 141 255 / .5); animation: fx-pulse 1.6s ease-in-out infinite; }
@keyframes fx-pulse { 50% { box-shadow: 0 0 0 10px rgb(76 141 255 / .15); } }
.fx-screen__side { display: grid; gap: 10px; }
.fx-screen__turn, .fx-screen__music { display: grid; align-content: center; gap: 2px; padding: 12px; border-radius: 14px; color: #fff; background: #1c2129; }
.fx-screen__turn { background: #1a7f37; }
.fx-screen__turn .icon { width: 28px; height: 28px; }
.fx-screen__turn b { font-size: 1.2rem; } .fx-screen__turn small, .fx-screen__music small { opacity: .75; font-size: 11.5px; }
.fx-screen__music { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.fx-screen__music i { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #ff9500, #ff2d55); animation: fx-spin 6s linear infinite; }
@keyframes fx-spin { to { filter: hue-rotate(360deg); } }
.fx-screen__music span { display: grid; }
.fx-screen .fx-hud__label { position: static; margin-top: 14px; color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }

/* Sections */
.fx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fx-feature { padding: 24px; border-radius: 24px; background: var(--surface-raised, var(--bg)); box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease-out), box-shadow .3s; }
.fx-feature:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgb(0 0 0 / .07); }
.fx-feature h3 { margin-top: 16px; font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; }
.fx-feature p { margin-top: 6px; color: var(--text-secondary); font-size: var(--fs-small); }
.fx-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fx-mode { padding: 22px; border-radius: 22px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.fx-mode > span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.fx-mode h3 { margin-top: 12px; font-size: 1rem; font-weight: 650; }
.fx-mode p { margin-top: 6px; color: var(--text-secondary); font-size: var(--fs-small); }
.fx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.fx-split .lead { margin-top: 16px; }
.fx-split--reverse > :first-child { order: 2; }
.fx-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--text-secondary); font-size: var(--fs-small); }
.fx-note .icon { flex: none; width: 17px; height: 17px; color: var(--accent); margin-top: 1px; }
.fx-table-card { padding: 22px; border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgb(0 0 0 / .05); overflow-x: auto; }
.fx-table-card h3 { margin-bottom: 12px; font-size: 1.05rem; font-weight: 650; }
.fx-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.fx-table th, .fx-table td { padding: 11px 10px; border-top: 1px solid var(--line); text-align: center; }
.fx-table thead th { border-top: 0; color: var(--text-tertiary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fx-table tbody th, .fx-table thead th:first-child { text-align: left; }
.fx-table--versions td, .fx-table--versions th { text-align: left; }
.fx-table code { font-size: 13px; font-weight: 600; }
.fx-yes, .fx-no, .fx-maybe { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 700; font-size: 13px; }
.fx-yes { color: #1a7f37; background: color-mix(in srgb, #34c759 16%, transparent); }
.fx-no { color: var(--text-tertiary); background: color-mix(in srgb, var(--text) 6%, transparent); }
.fx-maybe { color: #c25e00; background: color-mix(in srgb, #ff9500 15%, transparent); }
.fx-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; color: var(--text-tertiary); font-size: 12px; }
.fx-legend .fx-yes, .fx-legend .fx-no, .fx-legend .fx-maybe { width: 18px; height: 18px; font-size: 11px; }
.fx-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; color: #1a7f37; background: color-mix(in srgb, #34c759 13%, transparent); font-size: 11.5px; font-weight: 600; }
.fx-priority { display: grid; gap: 10px; justify-items: stretch; padding: 24px; border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.fx-priority__row { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 16px; }
.fx-priority__row span { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; }
.fx-priority__row em { color: var(--text-secondary); font-style: normal; font-size: var(--fs-small); }
.fx-priority__row.is-bmw { background: color-mix(in srgb, var(--accent) 9%, transparent); } .fx-priority__row.is-bmw span { background: var(--accent); }
.fx-priority__row.is-carplay { background: color-mix(in srgb, #34c759 10%, transparent); } .fx-priority__row.is-carplay span { background: #34c759; }
.fx-priority__arrow { justify-self: center; color: var(--text-tertiary); animation: fx-bob 1.6s ease-in-out infinite; }
@keyframes fx-bob { 50% { transform: translateY(5px); } }
.fx-menu { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; border-radius: 24px; background: #11151b; box-shadow: 0 24px 60px rgb(0 0 0 / .25); color: #e9eef5; }
.fx-menu li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; }
.fx-menu li:hover { background: rgb(255 255 255 / .06); }
.fx-menu li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #8ec5ff; background: rgb(142 197 255 / .12); }
.fx-menu li .icon { width: 18px; height: 18px; }
.fx-menu b { font-weight: 600; font-size: 15px; }
.fx-menu em { color: #93a1b3; font-style: normal; font-size: 13px; }
.fx-toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #3a4350; }
.fx-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s; }
.fx-toggle.is-on { background: #34c759; } .fx-toggle.is-on::after { transform: translateX(18px); }
.fx-compat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.fx-compat--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.fx-checklist { padding: 26px; border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.fx-checklist h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 650; }
.fx-checklist h3.is-no { margin-top: 22px; }
.fx-checklist .h2 { margin: 6px 0 16px; }
.fx-checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx-checklist li { position: relative; display: block; padding-left: 30px; font-size: var(--fs-small); line-height: 1.5; }   /* text + <strong> flow as one line */
.fx-checklist li .icon { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: #34c759; }
.fx-checklist ul.is-no li .icon { background: color-mix(in srgb, var(--text) 30%, transparent); }
.fx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.fx-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-step { position: relative; padding: 26px 22px 22px; border-radius: 24px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.fx-step__n { position: absolute; top: 18px; right: 20px; font-size: 2.4rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--accent) 16%, transparent); }
.fx-step h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 650; }
.fx-step p { margin-top: 6px; color: var(--text-secondary); font-size: var(--fs-small); }
.fx-center-note { margin-top: 22px; text-align: center; color: var(--text-secondary); }
.fx-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.fx-faq { display: grid; gap: 10px; }
.fx-q { border-radius: 18px; background: var(--surface); transition: background .2s; }
.fx-q[open] { background: var(--surface-raised, var(--bg)); box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgb(0 0 0 / .05); }
.fx-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.fx-q summary::-webkit-details-marker { display: none; }
.fx-q__icon { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.fx-q__icon::before, .fx-q__icon::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: var(--accent); transition: transform .3s; }
.fx-q__icon::after { transform: rotate(90deg); }
.fx-q[open] .fx-q__icon::after { transform: rotate(0); }
.fx-q p { padding: 0 20px 18px; color: var(--text-secondary); animation: fx-open .35s var(--ease-out); }
@keyframes fx-open { from { opacity: 0; transform: translateY(-6px); } }
.fx-cta { position: relative; overflow: hidden; padding: clamp(2.2rem, 1.5rem + 4vw, 4.5rem) clamp(1.4rem, 1rem + 3vw, 4rem); border-radius: 32px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 10% 0%, #2f7bff 0%, #0b5be0 40%, #0a2a6e 100%); }
.fx-cta .lead { margin: 14px auto 0; max-width: 46ch; color: rgb(255 255 255 / .85); }
.fx-cta .button-secondary { --btn-bg: rgb(255 255 255 / .14); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.fx-cta .button-primary { --btn-bg: #fff; --btn-fg: #0b5be0; }
@media (max-width: 960px) {
  .fx-hero__inner, .fx-split, .fx-compat, .fx-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .fx-split--reverse > :first-child { order: 0; }
  .fx-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-modes, .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-steps--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .fx-features, .fx-modes, .fx-steps { grid-template-columns: minmax(0, 1fr); }

  .fx-hud__speed b { font-size: 1.6rem; }
  .fx-screen__bezel { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
  .fx-screen__map { min-height: 150px; }
  .fx-actions .button { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .fx-hud__glass, .fx-car, .fx-screen__music i, .fx-priority__arrow, .fx-q p { animation: none; } }
/* iDrive settings replica (NBT EVO look) */
.fx-idrive { display: grid; gap: 10px; }
.fx-idrive__screen { position: relative; display: grid; grid-template-columns: 52px 1fr; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; padding: 10px 14px 10px 0; background: #050608; box-shadow: 0 30px 70px rgb(0 0 0 / .35), inset 0 0 0 6px #0c0d10; font-family: "Helvetica Neue", Arial, sans-serif; }
.fx-idrive__rail { display: grid; align-content: start; justify-items: center; gap: 10px; padding-top: 14px; border-right: 1px solid #3a3d44; background: linear-gradient(90deg, #15171b, #24272d); }
.fx-idrive__home { color: #e7e9ee; } .fx-idrive__home .icon { width: 22px; height: 22px; }
.fx-idrive__back { margin-top: 30%; border: 0; background: none; color: #ff3b30; font-size: 44px; line-height: 1; font-weight: 300; cursor: pointer; text-shadow: 0 0 8px rgb(255 40 30 / .6); }
.fx-idrive__page { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: linear-gradient(170deg, #4a4e56 0%, #2e3137 35%, #1a1c20 100%); color: #f1f2f4; animation: fx-idrive-in .3s ease-out; }
.fx-idrive__page[hidden] { display: none; }
@keyframes fx-idrive-in { from { opacity: 0; transform: translateX(14px); } }
.fx-idrive__title { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 6px 18px; border-bottom: 1px solid rgb(255 255 255 / .18); color: #c9ccd2; font-size: clamp(13px, 1.4vw, 17px); text-shadow: 0 1px 0 #000; }
.fx-idrive__clock { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid rgb(255 255 255 / .35); border-left: 0; border-bottom: 0; transform: skewX(-25deg); color: #fff; }
.fx-idrive__clock > * { transform: skewX(25deg); }
.fx-idrive__clock i { width: 12px; height: 10px; background: linear-gradient(90deg, #fff 20%, transparent 20% 40%, #fff 40% 60%, transparent 60% 80%, #fff 80%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.fx-idrive__page ul { list-style: none; margin: 0; padding: 4px 10px 8px; display: grid; align-content: start; gap: 1px; }
.fx-idrive__page li { position: relative; }
.fx-idrive__page li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: clamp(5px, .8vw, 9px) 10px; border: 1px solid transparent; background: none; color: #f4f5f7; font: inherit; font-size: clamp(13px, 1.45vw, 17px); font-weight: 600; text-align: left; text-shadow: 0 1px 1px #000; cursor: pointer; }
.fx-idrive__page li button[data-check]::before { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid #e7e9ee; background: rgb(0 0 0 / .25); }
.fx-idrive__page li button.is-checked::before { border-color: #ff3b30; background: rgb(255 59 48 / .12); }
.fx-idrive__page li button.is-checked::after { content: "✓"; position: absolute; left: 12.5px; color: #ff3b30; font-size: 13px; font-weight: 900; line-height: 1; }
.fx-idrive__page li button.is-link { padding-left: 4px; }
.fx-idrive__page li.is-focus button { border-color: #ff4d3f; background: linear-gradient(180deg, #e0242a, #8e0d14); box-shadow: 0 0 14px rgb(255 40 30 / .35); }
.fx-idrive__page li.is-focus button.is-checked::before { border-color: #fff; }
.fx-idrive__page li.is-focus button.is-checked::after { color: #fff; }
.fx-idrive__status { padding: 10px 6px; color: #d8dade; font-size: clamp(12px, 1.3vw, 16px); text-shadow: 0 1px 1px #000; }
.fx-idrive__hint { color: var(--text-tertiary); font-size: 12.5px; text-align: center; }
.fx-idrive-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-idrive-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--text-secondary); }
.fx-idrive-list li strong { color: var(--text); }
.fx-idrive-list .icon { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: #34c759; }
@media (max-width: 560px) { .fx-idrive__screen { aspect-ratio: auto; min-height: 250px; grid-template-columns: 40px 1fr; } }
/* Supported versions table: tidy on phones */
.fx-table--versions th:nth-child(2), .fx-table--versions td:nth-child(2) { white-space: nowrap; }
.fx-tag { border-radius: 10px; line-height: 1.35; }
@media (max-width: 640px) {
  .fx-table--versions thead th:last-child { display: none; }
  .fx-table--versions tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
  .fx-table--versions tbody th, .fx-table--versions tbody td { padding: 0; border: 0; }
  .fx-table--versions tbody td:last-child { grid-column: 1 / -1; }
  .fx-table--versions tbody td:last-child:not(:empty) { margin-top: 6px; }
  .fx-table--versions thead tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .fx-table--versions thead th { padding: 0 4px 8px; }
  .fx-table--versions code { font-size: 12.5px; }
  .fx-tag { font-size: 11px; }
}
/* Android Auto hero: real screen with gentle motion */
.fx-aa { display: grid; gap: 14px; justify-items: start; }
.fx-aa__frame { position: relative; width: 100%; aspect-ratio: 824 / 510; border-radius: 6.5% / 10.5%; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgb(0 0 0 / .3); transition: transform .4s cubic-bezier(.2, .8, .2, 1); animation: fx-aa-in 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fx-aa-in { from { opacity: 0; transform: perspective(1100px) rotateX(14deg) translateY(30px) scale(.94); } }
.fx-aa__img { position: absolute; inset: 0; }
.fx-aa__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* zoom in: from the whole dashboard onto the screen, then a slow breath while it stays close */
@keyframes fx-aa-zoom { 0%, 12% { transform: scale(1); } 100% { transform: scale(1.3); } }
@keyframes fx-aa-breathe { from { transform: scale(1.3); } to { transform: scale(1.33); } }
.fx-aa__car { position: absolute; left: 71.3%; top: 68.1%; width: 6.8%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgb(80 230 255 / .55); animation: fx-aa-ping 2.2s ease-out infinite; pointer-events: none; }
@keyframes fx-aa-ping { 0% { box-shadow: 0 0 0 0 rgb(80 230 255 / .55); } 100% { box-shadow: 0 0 0 28px rgb(80 230 255 / 0); } }
.fx-aa__music { position: absolute; left: 4.85%; width: 37.6%; top: 67.6%; height: .8%; border-radius: 999px; overflow: hidden; pointer-events: none; }
.fx-aa__music i { display: block; height: 100%; width: 40%; background: #e8eaed; box-shadow: 0 0 6px rgb(255 255 255 / .6); animation: fx-aa-play 18s linear infinite; }
@keyframes fx-aa-play { from { width: 22%; } to { width: 100%; } }
.fx-aa__badge { position: absolute; left: 96.8%; top: 8.6%; width: 3.4%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%, -50%); color: #0b1a3a; background: #c8d8ff; font-weight: 800; font-size: clamp(9px, 1.2vw, 14px); animation: fx-aa-badge 4s ease-in-out infinite; pointer-events: none; }
@keyframes fx-aa-badge { 0%, 70%, 100% { transform: translate(-50%, -50%) scale(1); } 78% { transform: translate(-50%, -50%) scale(1.35); } 86% { transform: translate(-50%, -50%) scale(.95); } }
.fx-aa__shine { position: absolute; inset: -20% auto -20% -40%; width: 30%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .16), transparent); transform: skewX(-18deg); animation: fx-aa-shine 7s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes fx-aa-shine { 0% { left: -40%; } 30%, 100% { left: 130%; } }
.fx-aa .fx-hud__label { position: static; color: var(--text-secondary); background: color-mix(in srgb, var(--text) 6%, transparent); }
@media (prefers-reduced-motion: reduce) { .fx-aa__frame, .fx-aa__img, .fx-aa__car, .fx-aa__music i, .fx-aa__badge, .fx-aa__shine { animation: none; } }
/* iDrive Media/Radio replica with the Android Auto pop-up (Android page) */
.fx-idrive__screen--media { grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, 1fr); aspect-ratio: 16 / 9.6; }
.fx-idrive__screen--media .fx-idrive__page li button { padding-block: clamp(4px, .65vw, 8px); }
.fx-idrive__screen--media .fx-idrive__back { margin-top: 40%; cursor: default; }
.fx-media { gap: 12px !important; }
.fx-media .icon, .fx-media__g { width: 18px; text-align: center; color: #cfd3da; font-weight: 400; }
.fx-media .icon { height: 18px; }
.fx-idrive__popup { display: grid; grid-template-rows: auto auto 1fr; align-content: start; margin: 8px 0 8px 10px; border-left: 1px solid rgb(255 255 255 / .2); background: linear-gradient(170deg, #2b2e34, #17191d); color: #f1f2f4; animation: fx-idrive-in .4s ease-out .2s both; }
.fx-idrive__title--small { font-size: clamp(11px, 1.15vw, 14px) !important; padding: 6px 10px !important; }
.fx-idrive__popup ul { list-style: none; margin: 0; padding: 2px 4px; display: grid; gap: 0; }
.fx-idrive__popup li { position: relative; }
.fx-idrive__popup li button { display: flex; align-items: center; gap: 8px; width: 100%; padding: clamp(3px, .5vw, 6px) 8px; border: 1px solid transparent; background: none; color: #f4f5f7; font: inherit; font-size: clamp(11px, 1.2vw, 15px); font-weight: 600; text-align: left; text-shadow: 0 1px 1px #000; cursor: pointer; }
.fx-idrive__popup li button[data-check]::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid #e7e9ee; }
.fx-idrive__popup li button.is-checked::before { border-color: #ff3b30; background: #ff3b30; box-shadow: inset 0 0 0 2px #1d1f24; }
.fx-idrive__popup li.is-focus button { border-color: #ff4d3f; background: linear-gradient(180deg, #e0242a, #8e0d14); }
.fx-idrive__run { margin: 6px 10px; color: #d5d8dd; font-size: clamp(10px, 1.1vw, 14px); text-shadow: 0 1px 1px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .fx-idrive__screen--media { grid-template-columns: 34px minmax(0, 1.2fr) minmax(0, 1fr); aspect-ratio: auto; min-height: 220px; } }
