/* ═════════════════════════════════════════════════════════════════
   BRABUS AB 110 — LUXURY NAVAL SHOWROOM STYLESHEET
   Next Yacht Group × BRABUS Marine Masterpiece
   Zero-Gap Video Pipeline · BFS Graph Engine · Web Audio Marine Synth
   ═════════════════════════════════════════════════════════════════ */

:root {
    --cyan: #00f0ff;
    --cyan-bright: #67e8f9;
    --cyan-glow: rgba(0, 240, 255, 0.45);
    --cyan-dim: rgba(0, 240, 255, 0.15);
    --ocean-deep: #020b14;
    --ocean-mid: #051829;
    --brabus-red: #ff2233;
    --brabus-red-glow: rgba(255, 34, 51, 0.45);
    --gold-accent: #d4af37;
    --bg-dark: #03070d;
    --surface-glass: rgba(5, 14, 25, 0.68);
    --surface-glass-active: rgba(8, 22, 38, 0.82);
    --surface-glass-border: rgba(255, 255, 255, 0.12);
    --surface-glass-border-cyan: rgba(0, 240, 255, 0.35);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dim: rgba(255, 255, 255, 0.38);
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: var(--font-ui);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── PRELOADER ─────────────────────────────────────────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #061322 0%, #02070d 100%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
    max-width: 520px;
    padding: 0 24px;
}

.preloader__shipyard {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.shipyard-tag {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.shipyard-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.preloader__title {
    font-family: var(--font-heading);
    font-size: 42px;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 0 45px rgba(0, 240, 255, 0.3);
}

.preloader__title span {
    color: var(--brabus-red);
}

.preloader__subtitle {
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--text-muted);
    margin-bottom: 34px;
    font-weight: 500;
}

.preloader__bar-container {
    width: 320px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin: 0 auto 16px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.preloader__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0284c7, var(--cyan), #ffffff);
    box-shadow: 0 0 14px var(--cyan-glow);
    transition: width 0.25s ease-out;
}

.preloader__status {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* ── MAIN SHOWROOM VIEWPORT ────────────────────────────────── */
.showroom-experience {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ── INITIAL UNDERWATER ABYSS STATE ────────────────────────── */
.abyss-water-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/frames/shark_abyss_2026.jpg?v=20261013_live') center center / cover no-repeat;
    z-index: 1;
    display: block;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out);
}

/* Shimmering caustic overlay */
.caustics-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 10%, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    animation: causticBreath 6s ease-in-out infinite alternate;
}

@keyframes causticBreath {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.85; transform: scale(1.05); }
}

/* Cinematic subtle vignette */
.vignette-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 45%, rgba(2, 6, 12, 0.75) 100%);
    pointer-events: none;
    z-index: 7;
}

/* ── 3D VIDEO CONTAINER ────────────────────────────────────── */
.video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    background: #02070d;
}

.showroom-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: visible !important;
    pointer-events: none;
    will-change: opacity;
    z-index: 4;
}

.showroom-video.active {
    opacity: 1;
    z-index: 5;
}

/* ── ULTRA-SHARP RESTING FRAMES ────────────────────────────── */
.showroom-still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: visible !important;
    pointer-events: none;
    will-change: opacity;
    z-index: 4;
}

.showroom-still.active {
    opacity: 1;
    z-index: 6;
}

/* ── CANVAS PARTICLES ──────────────────────────────────────── */
.gl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}

/* ── HUD INTERFACE OVERLAY ─────────────────────────────────── */
.hud {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 36px;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out);
}

.hud.active {
    opacity: 1;
}

/* ── TOP STATUS BAR ────────────────────────────────────────── */
.hud__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    pointer-events: auto;
    gap: 16px;
}

/* Brand Identity */
.hud__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.hud__brand-symbol {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 34, 51, 0.15), rgba(0, 240, 255, 0.12));
    border: 1px solid var(--surface-glass-border-cyan);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.hud__brand-symbol::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--brabus-red);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.hud__brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hud__brand-title {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #ffffff;
}

.hud__brand-title span {
    color: var(--brabus-red);
}

.hud__brand-edition {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--cyan);
    font-weight: 600;
}

/* Telemetry Ticker */
.hud__telemetry-ticker {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ticker-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ticker-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.ticker-lbl {
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--cyan);
    font-weight: 700;
}

.ticker-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

/* Topbar Actions */
.hud__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pill {
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 0.18em;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-pill:hover {
    border-color: var(--cyan);
    color: var(--cyan-bright);
    box-shadow: 0 0 18px var(--cyan-glow);
    transform: translateY(-1px);
}

.btn-pill--active {
    border-color: var(--cyan);
    color: var(--cyan-bright);
    background: rgba(0, 240, 255, 0.15);
}

.btn-pill--cta {
    background: linear-gradient(135deg, rgba(255, 34, 51, 0.25), rgba(200, 20, 30, 0.4));
    border-color: var(--brabus-red);
    color: #ffffff;
}

.btn-pill--cta:hover {
    background: linear-gradient(135deg, var(--brabus-red), #ff4d5a);
    color: #ffffff;
    box-shadow: 0 0 24px var(--brabus-red-glow);
    transform: translateY(-1px);
}

/* Sound Bars Visualizer */
.sound-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 11px;
}

.sound-bars span {
    width: 2px;
    height: 3px;
    background: currentColor;
    border-radius: 1px;
    transition: height 0.2s ease;
}

.sound-bars.active span:nth-child(1) { animation: barPlay 0.8s infinite alternate ease-in-out; }
.sound-bars.active span:nth-child(2) { animation: barPlay 0.6s infinite alternate ease-in-out 0.2s; }
.sound-bars.active span:nth-child(3) { animation: barPlay 0.9s infinite alternate ease-in-out 0.4s; }

@keyframes barPlay {
    from { height: 2px; }
    to { height: 11px; }
}

/* ── POI HOTSPOTS LAYER ────────────────────────────────────── */
.hotspots-layer {
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.hotspots-layer.visible {
    opacity: 1;
}

.poi-beacon {
    position: absolute;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 32;
    transition: transform 0.28s var(--ease-spring);
    will-change: transform, opacity;
}

/* Entrance Animation */
.poi-beacon.entering {
    animation: beaconEntrance 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Active Resting State */
.poi-beacon.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Exit Animation */
.poi-beacon.exiting {
    animation: beaconExit 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;
    pointer-events: none;
}

.poi-beacon.exiting .poi-tag {
    opacity: 0 !important;
    transform: translateX(-10px) !important;
}

@keyframes beaconEntrance {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        filter: drop-shadow(0 0 0px transparent);
    }
    55% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 1;
        filter: drop-shadow(0 0 18px var(--cyan));
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--cyan-glow));
    }
}

@keyframes beaconExit {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--cyan-glow));
    }
    35% {
        transform: translate(-50%, -50%) scale(1.18);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        filter: drop-shadow(0 0 0px transparent);
    }
}

.poi-beacon.active:hover {
    transform: translate(-50%, -50%) scale(1.25);
}

.poi-core {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan-glow);
    border: 2px solid #ffffff;
    z-index: 2;
}

.poi-ring {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan);
    opacity: 0.7;
    animation: beaconPulse 2s infinite ease-out;
}

@keyframes beaconPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Expanding Sonar Ripple Wave on Entrance */
.poi-beacon__sonar-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1.5px solid var(--cyan-bright);
    opacity: 0;
    pointer-events: none;
}

.poi-beacon.entering .poi-beacon__sonar-wave {
    animation: sonarWaveExpand 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) both;
}

@keyframes sonarWaveExpand {
    0% {
        transform: scale(0.2);
        opacity: 1;
        border-color: #ffffff;
    }
    50% {
        opacity: 0.7;
        border-color: var(--cyan);
    }
    100% {
        transform: scale(3.2);
        opacity: 0;
        border-color: var(--cyan-bright);
    }
}

.poi-tag {
    position: absolute;
    left: 42px;
    background: var(--surface-glass-active);
    border: 1px solid var(--surface-glass-border-cyan);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s var(--ease-out);
    pointer-events: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.poi-beacon.active:hover .poi-tag {
    opacity: 1;
    transform: translateX(0);
}

/* ── POI DETAIL DRAWER / POPOVER ───────────────────────────── */
.poi-card {
    position: fixed;
    top: 96px;
    right: 36px;
    width: 350px;
    background: rgba(5, 14, 25, 0.88);
    border: 1px solid var(--surface-glass-border-cyan);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 240, 255, 0.2);
    z-index: 100;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.poi-card.closing {
    opacity: 0 !important;
    transform: translateY(18px) scale(0.92) !important;
    pointer-events: none;
}

.poi-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.poi-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.poi-card__category {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.poi-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.btn-card-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    pointer-events: auto;
}

.btn-card-close:hover {
    color: #ffffff;
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

.poi-card__desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.poi-card__specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-cell-label {
    font-size: 8px;
    letter-spacing: 0.18em;
    color: var(--cyan);
    font-weight: 700;
    display: block;
}

.spec-cell-val {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
    display: block;
}

/* ── GUIDANCE CONCIERGE ────────────────────────────────────── */
.user-guidance {
    align-self: center;
    margin-top: auto;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(5, 14, 25, 0.76);
    border: 1px solid var(--surface-glass-border-cyan);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 20px;
    border-radius: 20px;
    pointer-events: auto;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--cyan-bright);
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    transition: all 0.3s var(--ease-out);
}

.guidance-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
    animation: guidancePulse 1.6s infinite ease-in-out;
}

@keyframes guidancePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.6); opacity: 1; }
}

/* ── ULTRA-SLIM FLOATING BOTTOM CAPSULE DOCK ───────────────── */
.hud__dock-wrapper {
    align-self: center;
    pointer-events: auto;
}

.hud__capsule-dock {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-glass-border);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-track {
    height: 42px;
    padding: 0 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 24px;
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s var(--ease-out);
    white-space: nowrap;
}

.track-num {
    font-family: var(--font-mono);
    font-size: 9px;
    opacity: 0.6;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.btn-track:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-track.active {
    background: linear-gradient(135deg, #0284c7, var(--cyan));
    color: #03070d;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--cyan-glow);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-track.active .track-num {
    opacity: 0.9;
    color: #03070d;
}

/* Pulsing guidance on 01 EMERGENCE */
.pulse-anim {
    animation: arrivalPulse 1.8s infinite ease-in-out;
    border-color: var(--cyan) !important;
    color: var(--cyan-bright) !important;
}

@keyframes arrivalPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.6);
        background: rgba(0, 240, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(0, 240, 255, 0);
        background: rgba(0, 240, 255, 0.35);
    }
}

/* ── MODALS (TELEMETRY & COMMISSION) ───────────────────────── */
.telemetry-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.telemetry-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.telemetry-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.telemetry-modal__panel {
    position: relative;
    width: 90%;
    max-width: 920px;
    max-height: 88vh;
    background: radial-gradient(circle at top center, #091a2e 0%, #030912 100%);
    border: 1px solid var(--surface-glass-border-cyan);
    border-radius: 24px;
    padding: 36px 42px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.15);
    z-index: 2;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-out);
}

.telemetry-modal.active .telemetry-modal__panel {
    transform: translateY(0);
}

.telemetry-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.telemetry-modal__eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.telemetry-modal__title {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #ffffff;
}

.telemetry-modal__title span {
    color: var(--brabus-red);
}

.btn-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s var(--ease-out);
}

.btn-modal-close:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
    box-shadow: 0 0 16px var(--brabus-red-glow);
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.modal-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 8px 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-tab-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-tab-btn.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan-bright);
}

/* Telemetry Grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.telemetry-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    transition: border-color 0.2s;
}

.telemetry-card:hover {
    border-color: var(--surface-glass-border-cyan);
}

.card-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.card-val {
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.4;
    display: block;
}

.telemetry-modal__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.atelier-note {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* ── COMMISSION CONCIERGE MODAL ────────────────────────────── */
.commission-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.commission-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.commission-panel {
    position: relative;
    width: 90%;
    max-width: 580px;
    background: radial-gradient(circle at top, #0c1828 0%, #030810 100%);
    border: 1px solid var(--surface-glass-border-cyan);
    border-radius: 24px;
    padding: 34px 38px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 34, 51, 0.2);
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-out);
}

.commission-modal.active .commission-panel {
    transform: translateY(0);
}

.commission-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

.livery-selector {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.livery-pill {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.2s;
}

.livery-pill:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.livery-pill.active {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan-bright);
}

.btn-submit-commission {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--brabus-red), #ff4d5a);
    border: none;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 0 24px var(--brabus-red-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-commission:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px var(--brabus-red-glow);
}

/* ── RESPONSIVE ADAPTATIONS ────────────────────────────────── */
@media (max-width: 1024px) {
    .hud {
        padding: 20px;
    }
    .hud__telemetry-ticker {
        display: none;
    }
    .hud__capsule-dock {
        height: 48px;
        padding: 5px 8px;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .btn-track {
        height: 38px;
        padding: 0 14px;
        font-size: 10px;
        flex-shrink: 0;
    }
    .poi-card {
        top: auto;
        bottom: 96px;
        right: 20px;
        left: 20px;
        width: auto;
        max-height: calc(100dvh - 180px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 120;
    }
}

@media (max-width: 768px) {
    .hud {
        padding: 16px 14px;
    }
    .hud__topbar {
        gap: 8px;
    }
    .hud__brand-symbol {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .hud__brand-title {
        font-size: 13px;
        letter-spacing: 0.12em;
    }
    .hud__brand-edition {
        font-size: 8px;
        letter-spacing: 0.14em;
    }
    .hud__actions {
        gap: 6px;
    }
    .btn-pill {
        padding: 7px 12px;
        font-size: 9px;
        letter-spacing: 0.1em;
        border-radius: 16px;
    }
    .hud__dock-wrapper {
        max-width: 96vw;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hud__capsule-dock {
        height: 44px;
        padding: 4px 6px;
        border-radius: 24px;
        max-width: 100%;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hud__capsule-dock::-webkit-scrollbar {
        display: none;
    }
    .btn-track {
        height: 36px;
        padding: 0 11px;
        font-size: 9px;
        border-radius: 18px;
        flex-shrink: 0;
    }
    .track-num {
        font-size: 8px;
    }
    .user-guidance {
        font-size: 8.5px;
        letter-spacing: 0.12em;
        padding: 6px 14px;
        margin-bottom: 8px;
        max-width: 92vw;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .poi-card {
        top: auto;
        bottom: 82px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: min(340px, calc(100dvh - 160px));
        padding: 18px 20px;
        border-radius: 18px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 120;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 240, 255, 0.25);
    }
    .poi-card .btn-card-close {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 16px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .poi-card__title {
        font-size: 15px;
    }
    .poi-card__desc {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    .spec-cell {
        padding: 8px 12px;
    }
    .spec-cell-label {
        font-size: 8px;
    }
    .spec-cell-val {
        font-size: 10px;
    }
    .telemetry-modal__panel, .commission-panel {
        width: 95%;
        max-height: 90dvh;
        padding: 22px 18px;
        border-radius: 18px;
    }
    .telemetry-modal__title {
        font-size: 19px;
    }
    .modal-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .modal-tabs::-webkit-scrollbar {
        display: none;
    }
    .modal-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 9px;
    }
    .telemetry-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .preloader__title {
        font-size: 26px;
    }
    .hud__brand-edition {
        display: none;
    }
    #sound-label {
        display: none;
    }
    #btn-sound {
        padding: 7px 9px;
    }
    .btn-pill {
        padding: 6px 9px;
        font-size: 8.5px;
        gap: 5px;
    }
}
