/* ============================================================================
   CODEX VOLO ET BELLUM - FLIGHT TEST SYSTEM STYLESHEET
   Mobile Legends-Style Dual-Thumb Controls, Arc Skill Cluster, & Renaissance HUD
   ============================================================================ */

/* Container and Canvas */
#realm-view-test {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: #0d0a07;
    overflow: hidden;
    display: none;
    user-select: none;
    -webkit-user-select: none;
}

#realm-view-test.active-realm {
    display: block !important;
}

#flight-test-canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#flight-test-canvas-container > canvas:not(#bg-radar-canvas),
#flight-test-canvas-container canvas:not(#bg-radar-canvas):not(.flight-speed-lines-canvas) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    display: block;
}

/* Supersonic Speed Lines & Warp Tunnel Camera Overlay */
.flight-speed-lines-canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 4 !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease-out;
}

.flight-speed-lines-canvas.active {
    opacity: 1;
}

.flight-speed-warp-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(ellipse at center, transparent 38%, rgba(245, 158, 11, 0.08) 65%, rgba(217, 119, 6, 0.35) 100%);
    box-shadow: inset 0 0 110px rgba(245, 158, 11, 0.50);
    transition: opacity 0.15s ease-in-out;
}

.flight-speed-warp-vignette.active {
    opacity: 0.85;
    transform: none;
    transition: opacity 0.4s ease-out;
    will-change: opacity;
    pointer-events: none;
}

/* Master HUD Overlay */
.flight-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px;
    box-sizing: border-box;
    font-family: 'Cinzel', Georgia, serif;
}

/* Interactive elements inside HUD enable pointer events */
.flight-hud-overlay button,
.flight-hud-overlay .flight-touch-interactive {
    pointer-events: auto;
}

/* ============================================================================
   TOP BAR & TELEMETRY
   ============================================================================ */
.flight-hud-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.flight-hud-left {
    position: absolute;
    top: 72px;
    right: 14px;
    left: auto;
    width: 264px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: scale(1.32);
    transform-origin: top right;
    z-index: 990;
}

.flight-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 22, 18, 0.88);
    border: 1.5px solid #c29a53;
    border-radius: 4px;
    color: #f7edd4;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.flight-btn-back:hover {
    background: #2a2017;
    border-color: #e5b967;
    transform: translateY(-1px);
}

.flight-btn-back .back-arrow {
    font-size: 16px;
    line-height: 1;
}

/* Telemetry Box - Dark Leather & Satin Brass Avionics Instrument */
.flight-telemetry-box {
    background: linear-gradient(180deg, rgba(35, 22, 13, 0.94) 0%, rgba(20, 12, 7, 0.96) 100%);
    border: 1.5px solid #9a6b32;
    border-radius: 7px;
    padding: 12px 16px; /* Scaled +15% from 10px 14px */
    color: #efe4d0;
    font-size: 13.5px; /* Scaled +15% from 12px */
    min-width: 210px; /* Scaled +15% from 180px */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(223, 194, 130, 0.22);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.flight-telemetry-title {
    font-size: 13.5px; /* Scaled +15% from 11px */
    font-weight: 900;
    color: #f8ebd2;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(154, 107, 50, 0.45);
    padding-bottom: 6px;
    letter-spacing: 0.7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.flight-telemetry-status {
    font-size: 11px; /* Scaled +15% from 10px */
    padding: 3px 8px;
    border-radius: 4px;
    background: #3d2412;
    color: #f6e2b3;
    border: 1px solid #c99a49;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: none;
    animation: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.telemetry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0;
    font-size: 13.5px; /* Scaled +15% from 11.5px */
}

.telemetry-pair {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.telemetry-label {
    color: #d9c09a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
}

.telemetry-val {
    font-weight: 800;
    color: #fce7b2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* ============================================================================
   BATTLEGROUND HUD MODE (SWAPPED LAYOUT)
   Radar Taktis di Kiri Atas (top: 14px; left: 14px; width: 216px)
   Papan Skor Elevasi Tempur di Kanan Atas (Dihilangkan Sesuai Permintaan)
   Kotak Telemetri & Squad Vitals di Kanan Atas Naik Sejajar Radar (top: 14px; right: 14px; width: 228px)
   ============================================================================ */
.flight-hud-overlay.battleground-hud-mode .flight-hud-left {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    width: 228px; /* Scaled -12% from 260px */
    transform: scale(1.52) !important;
    transform-origin: top right;
    z-index: 1000;
}

.flight-hud-overlay.battleground-hud-mode .flight-telemetry-title {
    display: none !important;
}

/* Khusus Mode Misi (Tanpa Papan Skor): Telemetri naik rapi ke top: 14px sejajar Radar (+15% Enlarge) */
.flight-hud-overlay.mission-hud-mode .flight-hud-left {
    position: absolute;
    top: 14px !important;
    right: 14px !important;
    left: auto;
    width: 228px; /* Scaled -12% from 260px */
    transform: scale(1.52) !important;
    transform-origin: top right;
    z-index: 1000;
}

.flight-hud-overlay.mission-hud-mode .flight-telemetry-box,
.flight-hud-overlay.mission-hud-mode .manda-nano-liquid-widget {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.flight-hud-overlay.battleground-hud-mode .flight-telemetry-box {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px 14px 10px;
}

/* ============================================================================
   BATTLEGROUND SQUAD 1 TIM VITALS (HUD KANAN BAWAH TELEMETRI BATTLEGROUND)
   ============================================================================ */
.bg-squad-vitals-box {
    margin-top: 8px;
    border-top: 1px solid rgba(117, 85, 43, 0.55);
    padding-top: 8px;
    padding-bottom: 4px;
}

.bg-squad-section-title {
    font-size: 10px;
    font-weight: bold;
    color: #caa568;
    letter-spacing: 0.8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bg-squad-count-badge {
    display: none !important;
}

.bg-squad-unit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bg-squad-unit-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: opacity 0.3s ease;
}

.bg-squad-unit-item.ko {
    opacity: 0.55;
}

.bg-squad-unit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.bg-squad-unit-name-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bg-squad-unit-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bg-squad-unit-dot.alive {
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
}

.bg-squad-unit-dot.dead {
    background: #64748b;
    box-shadow: none;
}

.bg-squad-unit-name {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 112px;
}

.bg-squad-unit-item.ko .bg-squad-unit-name {
    text-decoration: line-through;
    color: #64748b;
}

.bg-squad-unit-hp-val {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #38bdf8;
}

.bg-squad-unit-bar-track {
    width: 100%;
    height: 5px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 3px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    overflow: hidden;
}

.bg-squad-unit-bar-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 2px;
    transition: width 0.2s ease, background 0.3s ease;
}

/* Top Right Actions: satu baris horizontal sejajar */
.flight-hud-right {
    position: relative;
    z-index: 1200;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    gap: 8px;
    transform: scale(1.38);
    transform-origin: top right;
}

.flight-hud-right > button {
    height: 34px;
    white-space: nowrap;
    justify-content: center;
}

.flight-summon-control-group {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.flight-summon-caret {
    font-size: 11px;
    color: #dfc282;
    margin-left: 3px;
    transition: transform 0.2s ease;
}

.flight-btn-summon-enemy:hover .flight-summon-caret {
    color: #ffffff;
}

.flight-adversary-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #120e0b;
    border: 1.5px solid #d4af37;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow: hidden;
    padding: 6px 0;
    animation: flightFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto !important;
}

.flight-adversary-dropdown.hidden {
    display: none !important;
}

@keyframes flightFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.flight-adv-dropdown-header {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: bold;
    color: #a1a1aa;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    text-transform: uppercase;
    font-family: monospace;
    pointer-events: none;
    user-select: none;
}

/* Tier Filter Tabs Strip */
.flight-adv-tier-tabs {
    display: flex;
    background: rgba(10, 8, 6, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4px 6px;
    gap: 4px;
}

.flight-adv-tier-tab {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: #a1a1aa;
    font-size: 9.5px;
    font-weight: bold;
    padding: 4px 2px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: monospace;
}

.flight-adv-tier-tab:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fef08a;
    border-color: #d4af37;
}

.flight-adv-tier-tab.active {
    background: #d4af37;
    color: #1c1109;
    border-color: #fef08a;
    font-weight: 800;
}

.flight-adv-tier-tab.tab-tier-m.active {
    background: #78350f;
    color: #fef3c7;
    border-color: #d97706;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.65);
}

.flight-adv-tier-tab.tab-tier-x.active {
    background: #4c1d95;
    color: #fef08a;
    border-color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.65);
}

.flight-adv-tier-tab.tab-tier-s.active {
    background: #7f1d1d;
    color: #fef08a;
    border-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.flight-adv-dropdown-list {
    max-height: 162px; /* Tepat 3 item baris (3 x 54px) sebelum scroll */
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto !important;
    display: flex;
    flex-direction: column;
}

.flight-adv-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.flight-adv-dropdown-list::-webkit-scrollbar-track {
    background: rgba(10, 8, 6, 0.85);
}

.flight-adv-dropdown-list::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.flight-adv-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    height: 54px;
    box-sizing: border-box;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    pointer-events: auto !important;
    font-family: inherit;
    outline: none;
    user-select: none;
    flex-shrink: 0;
}

.flight-adv-dropdown-item:last-child {
    border-bottom: none;
}

.flight-adv-dropdown-item:hover,
.flight-adv-dropdown-item:focus {
    background: rgba(212, 175, 55, 0.22);
    border-left: 4px solid #d4af37;
    padding-left: 14px;
}

.flight-adv-dropdown-item.tier-x {
    background: rgba(76, 29, 149, 0.22);
    border-left: 3px solid rgba(168, 85, 247, 0.85);
}

.flight-adv-dropdown-item.tier-x:hover,
.flight-adv-dropdown-item.tier-x:focus {
    background: rgba(76, 29, 149, 0.45);
    border-left: 4px solid #c084fc;
}

.flight-adv-dropdown-item.tier-x .flight-adv-item-title {
    color: #f5d0fe;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.flight-adv-dropdown-item.tier-s {
    background: rgba(127, 29, 29, 0.14);
    border-left: 3px solid rgba(239, 68, 68, 0.6);
}

.flight-adv-dropdown-item.tier-s:hover,
.flight-adv-dropdown-item.tier-s:focus {
    background: rgba(127, 29, 29, 0.35);
    border-left: 4px solid #ef4444;
}

.flight-adv-dropdown-item:active {
    background: rgba(127, 29, 29, 0.45);
    border-left: 4px solid #ef4444;
}

.flight-adv-item-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.flight-adv-item-title {
    font-size: 12px;
    font-weight: bold;
    color: #fef08a;
    font-family: 'Cinzel', serif, monospace;
    pointer-events: none;
}

.flight-adv-dropdown-item.tier-s .flight-adv-item-title {
    color: #fca5a5;
    text-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.flight-adv-item-specs {
    font-size: 10px;
    color: #cbd5e1;
    font-family: monospace;
    pointer-events: none;
}

.flight-adv-item-tier {
    background: #1e293b;
    border: 1px solid #475569;
    color: #94a3b8;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    white-space: nowrap;
    pointer-events: none;
}

.flight-adv-item-tier.tier-x {
    background: #3b0764;
    border-color: #a855f7;
    color: #fef08a;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.65);
}

.flight-adv-item-tier.tier-s {
    background: #450a0a;
    border-color: #ef4444;
    color: #fef08a;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.45);
}

.flight-adv-item-tier.tier-a {
    background: #082f49;
    border-color: #0284c7;
    color: #7dd3fc;
}

.flight-adv-item-tier.tier-b {
    background: #451a03;
    border-color: #d97706;
    color: #fde68a;
}

.flight-adv-item-tier.tier-c {
    background: #1e293b;
    border-color: #475569;
    color: #cbd5e1;
}

.flight-btn-summon-enemy {
    background: linear-gradient(180deg, rgba(30, 38, 52, 0.88) 0%, rgba(14, 18, 27, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    border-radius: 8px;
    color: #f8eed4;
    padding: 0 16px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 248, 220, 0.16);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    white-space: nowrap;
}

.flight-btn-summon-enemy:hover {
    background: linear-gradient(180deg, rgba(46, 56, 74, 0.94) 0%, rgba(22, 28, 40, 0.96) 100%);
    border-color: #f6d88c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 10px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(255, 248, 220, 0.24);
    transform: translateY(-1px);
}

.flight-btn-summon-enemy:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.flight-btn-home {
    background: linear-gradient(180deg, rgba(30, 38, 52, 0.88) 0%, rgba(14, 18, 27, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(212, 175, 55, 0.65);
    border-radius: 8px;
    color: #f8ebd2;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 248, 220, 0.16);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.flight-btn-home .flight-home-icon-svg {
    width: 19px;
    height: 19px;
    stroke: #f6e2b3;
    transition: stroke 0.18s ease, transform 0.18s ease;
}

.flight-btn-home:hover {
    background: linear-gradient(180deg, rgba(46, 56, 74, 0.94) 0%, rgba(22, 28, 40, 0.96) 100%);
    border-color: #f6d88c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 10px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(255, 248, 220, 0.24);
    transform: translateY(-1px);
}

.flight-btn-home:hover .flight-home-icon-svg {
    stroke: #f6d88c;
    transform: scale(1.08);
}

.flight-btn-home:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ============================================================================
   BOTTOM FLIGHT TERMINAL LOG (TRANSPARENT, COLLAPSIBLE, MAX 4 LINES)
   ============================================================================ */
.flight-terminal-container {
    position: absolute;
    bottom: 12px;
    left: 44%;
    transform: translateX(-50%);
    width: clamp(390px, 48vw, 644px);
    background: #0c1018;
    border: 1px solid rgba(194, 154, 83, 0.40);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), inset 0 0 12px rgba(0, 0, 0, 0.45);
    z-index: 95;
    pointer-events: auto;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.flight-terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: rgba(22, 28, 42, 0.65);
    border-bottom: 1px solid rgba(194, 154, 83, 0.25);
    user-select: none;
}

.flight-terminal-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c29a53;
}

.flight-terminal-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: terminalDotPulse 2s infinite ease-in-out;
}

@keyframes terminalDotPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1.0; transform: scale(1.15); box-shadow: 0 0 10px #4ade80; }
}

.flight-btn-toggle-terminal {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.flight-btn-toggle-terminal:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
}

.flight-terminal-toggle-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

/* Collapsed State */
.flight-terminal-container.collapsed {
    background: rgba(12, 16, 24, 0.38);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.flight-terminal-container.collapsed .flight-terminal-header {
    border-bottom: none;
}

.flight-terminal-container.collapsed .flight-terminal-body {
    max-height: 0;
    opacity: 0;
    padding: 0 10px;
}

.flight-terminal-container.collapsed .flight-terminal-toggle-icon {
    transform: rotate(180deg);
}

/* Terminal Body - Sized exactly for max 4 lines */
.flight-terminal-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3px;
    padding: 6px 10px;
    height: 76px;
    max-height: 76px;
    overflow: hidden;
    transition: all 0.28s ease;
}

.terminal-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 10.5px;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: terminalLineSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.terminal-time {
    color: #64748b;
    font-size: 9.5px;
    flex-shrink: 0;
}

.terminal-line.line-info .terminal-text {
    color: #e2e8f0;
}

.terminal-line.line-alert {
    background: rgba(239, 68, 68, 0.12);
    border-radius: 2px;
    padding: 0 4px;
}

.terminal-line.line-alert .terminal-time {
    color: #f87171;
}

.terminal-line.line-alert .terminal-text {
    color: #fca5a5;
    font-weight: 600;
}

.terminal-line.line-combat .terminal-text {
    color: #fbbf24;
}

/* ============================================================================
   BOTTOM CONTROLS: DUAL-THUMB MOBILE & DESKTOP CLUSTER
   ============================================================================ */
.flight-hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 12px;
}

/* 1. LEFT HAND: VIRTUAL JOYSTICK (+10% Enlarge & Shifted Slightly Inward for Mobile Thumbs) */
.flight-joystick-zone {
    width: 252px;
    height: 252px;
    position: relative;
    pointer-events: auto;
    touch-action: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.2s ease;
    margin-left: 44px;
    margin-bottom: 20px;
    transform: scale(1.18);
    transform-origin: bottom left;
}

.flight-joystick-zone:active,
.flight-joystick-zone:focus-within {
    opacity: 1.0;
}

.flight-joystick-base {
    width: 224px;
    height: 224px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 26, 14, 0.82) 0%, rgba(22, 13, 7, 0.92) 72%, rgba(15, 9, 4, 0.96) 100%);
    border: 2.5px solid #b5833d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.82), inset 0 0 18px rgba(0, 0, 0, 0.78);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.flight-joystick-base::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(201, 154, 73, 0.36);
    box-sizing: border-box;
}

/* Compass axes markings on joystick */
.flight-joystick-base .axis-line-h {
    position: absolute;
    width: 80%;
    height: 1px;
    background: rgba(201, 154, 73, 0.34);
}

.flight-joystick-base .axis-line-v {
    position: absolute;
    width: 1px;
    height: 80%;
    background: rgba(201, 154, 73, 0.34);
}

.flight-joystick-knob {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #b5833d 0%, #6e451b 58%, #36200b 100%);
    border: 2.5px solid #f6d88c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 244, 214, 0.28);
    position: absolute;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(0px, 0px);
    transition: transform 0.05s linear;
}

.flight-joystick-knob:active {
    cursor: grabbing;
    border-color: #fff8e7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), inset 0 2px 6px rgba(255, 244, 214, 0.35);
}

.flight-joystick-knob .knob-center-rivet {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #201207;
    border: 1.5px solid #d4a348;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* 2. RIGHT HAND: ATTACK & 4 SKILLS ARC CLUSTER (+7% Enlarge & Shifted Inward for Mobile Thumbs) */
.flight-actions-cluster {
    position: relative;
    width: 420px;
    height: 250px;
    margin-left: auto;
    margin-right: 24px;
    margin-bottom: 10px;
    pointer-events: none;
    transform: scale(1.846);
    transform-origin: bottom right;
}

.flight-actions-cluster button {
    pointer-events: auto;
}

/* Main Attack Button (Big Circle 105px) - Burnished Copper & Satin Brass Trigger (De-Neoned) */
.flight-btn-attack {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9a4b14 0%, #5c2707 58%, #2e1103 100%);
    border: 2.5px solid #d4a348;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8), inset 0 2px 5px rgba(254, 240, 210, 0.28);
    color: #fff8e7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
    overflow: hidden;
    z-index: 5;
    will-change: transform;
    animation: none;
}

.flight-btn-attack .flight-cooldown-text {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.flight-btn-attack:hover {
    border-color: #f6d88c;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.85), inset 0 2px 7px rgba(254, 240, 210, 0.38);
}

.flight-btn-attack:active,
.flight-btn-attack.pressed {
    transform: scale(0.93) !important;
    animation: none !important;
    border-color: #fff8e7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9), inset 0 4px 10px rgba(0, 0, 0, 0.6) !important;
}

/* Outer Combat Resonance Frame for Attack Button */
.flight-attack-frame {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer Renaissance Astrolabe Compass Ring */
.flight-attack-frame-compass {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(201, 154, 73, 0.52);
    box-shadow: none;
    will-change: transform;
    animation: attack-frame-spin 24s linear infinite;
}

/* Calm Inner Brass Trim Ring */
.flight-attack-frame-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.2px solid rgba(201, 154, 73, 0.28);
    box-shadow: none;
    will-change: transform, opacity;
    animation: none;
}

/* Interactive Feedback: Clean Brass Press Highlight */
.flight-btn-attack:active ~ .flight-attack-frame .flight-attack-frame-pulse,
.flight-btn-attack.pressed ~ .flight-attack-frame .flight-attack-frame-pulse {
    transform: scale(1.06) !important;
    opacity: 0.95 !important;
    border-color: #f6d88c !important;
    box-shadow: none !important;
}

@keyframes attack-frame-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flight-attack-icon {
    width: 42px;
    height: 42px;
    stroke: #fff8e7;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flight-btn-attack .attack-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.9px;
    margin-top: 2px;
    color: #fff8e7;
    text-transform: uppercase;
}

.flight-btn-attack .key-badge {
    position: absolute;
    bottom: -20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    color: #f6e2b3;
    background: #1d1108;
    border: 1px solid #9a6b32;
    padding: 1px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Steampunk Themed Circular Skill Buttons (+10% Enlarged: 53px x 53px) */
.flight-skill-btn {
    position: absolute;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #4a3319 0%, #291c0e 65%, #150d05 100%) !important;
    border: 2px solid #c29a53 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 1px 3px rgba(254, 215, 170, 0.3) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: transform 0.1s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
    z-index: 6;
}

.flight-skill-btn:hover:not(.locked) {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 16px rgba(217, 119, 6, 0.75), inset 0 2px 6px rgba(254, 240, 138, 0.45) !important;
}

.flight-skill-btn:active,
.flight-skill-btn.pressed {
    transform: scale(0.92);
}

/* Arc Positions relative to .flight-actions-cluster (Expanded Spacing & +10% Size) */
/* Radius ~108-120px from center: Horizontal Baseline (bottom: 18px) & Circular Upward Arc */

/* Skill 1: Left of attack (Horizontal Baseline Pivot) */
#flight-btn-skill-1 {
    right: 144px;
    bottom: 18px;
}

/* Skill 2: Upper-Left of attack (Weapon B - Viper Missile) */
#flight-btn-skill-2 {
    right: 130px;
    bottom: 90px;
    border-color: #ef4444;
    background: radial-gradient(circle at 35% 35%, #4c0519 0%, #1c050a 65%, #0d0205 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(239, 68, 68, 0.35);
}

#flight-btn-skill-2:hover:not(.locked) {
    border-color: #f87171;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.75), inset 0 2px 6px rgba(252, 165, 165, 0.45);
}

#flight-btn-skill-2.ready-to-fire {
    border-color: #f87171;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.65), inset 0 0 8px rgba(239, 68, 68, 0.3);
}

#flight-btn-skill-2 .skill-key-badge {
    color: #fca5a5;
    border-color: #991b1b;
    background: rgba(45, 10, 15, 0.9);
}

/* Stack Indicator Badge (2/1/0) */
.skill-stack-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    padding: 0 4px;
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5e3b1e !important;
    color: #fff8e7 !important;
    border: 1.5px solid #f6d88c !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    z-index: 12;
    pointer-events: none;
    line-height: 1;
    transition: all 0.2s ease;
}

.skill-stack-badge.has-charges {
    background: #833c07 !important;
    color: #ffffff !important;
    border-color: #f6d88c !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85) !important;
}

.skill-stack-badge.empty-charges {
    background: #2f2620 !important;
    color: #a89882 !important;
    border-color: #6b563c !important;
    box-shadow: none !important;
}

/* Skill 3: Top-Left above attack (Body Skill - Aegis Shield) */
#flight-btn-skill-3 {
    right: 76px;
    bottom: 142px;
}

#flight-btn-skill-3.body-skill-aegis {
    border-color: #38bdf8;
    background: radial-gradient(circle at 35% 35%, #0369a1 0%, #075985 65%, #082f49 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(56, 189, 248, 0.4);
}

#flight-btn-skill-3.body-skill-aegis:hover:not(.locked) {
    border-color: #7dd3fc;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.75), inset 0 2px 6px rgba(186, 230, 253, 0.45);
}

#flight-btn-skill-3.body-skill-aegis .skill-key-badge {
    color: #7dd3fc;
    border-color: #0284c7;
    background: rgba(8, 47, 73, 0.9);
}

#flight-btn-skill-3.active-buff {
    border-color: #7dd3fc;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.95), inset 0 0 12px rgba(125, 211, 252, 0.7);
    animation: pulse-shield 0.8s infinite alternate ease-in-out;
}

#flight-btn-skill-3.body-skill-living {
    border-color: #10b981;
    background: radial-gradient(circle at 35% 35%, #064e3b 0%, #022c22 65%, #011711 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(52, 211, 153, 0.4);
}

#flight-btn-skill-3.body-skill-living:hover:not(.locked) {
    border-color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.75), inset 0 2px 6px rgba(167, 243, 208, 0.45);
}

#flight-btn-skill-3.body-skill-living .skill-key-badge {
    color: #6ee7b7;
    border-color: #059669;
    background: rgba(2, 44, 34, 0.9);
}

#flight-btn-skill-3.body-skill-living.active-buff {
    border-color: #34d399;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.95), inset 0 0 12px rgba(52, 211, 153, 0.7);
    animation: pulse-living-shield 0.75s infinite alternate ease-in-out;
}

#flight-btn-skill-3.body-skill-kilat {
    border-color: #f59e0b;
    background: radial-gradient(circle at 35% 35%, #b45309 0%, #78350f 65%, #451a03 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(245, 158, 11, 0.4);
}

#flight-btn-skill-3.body-skill-kilat:hover:not(.locked) {
    border-color: #fbbf24;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.85), inset 0 2px 6px rgba(254, 240, 138, 0.45);
}

#flight-btn-skill-3.body-skill-kilat .skill-key-badge {
    color: #fde68a;
    border-color: #d97706;
    background: rgba(69, 26, 3, 0.9);
}

#flight-btn-skill-3.body-skill-kilat.active-buff {
    border-color: #fef08a;
    box-shadow: 0 0 26px rgba(245, 158, 11, 1.0), inset 0 0 14px rgba(254, 240, 138, 0.8);
    animation: pulse-kilat-dash 0.65s infinite alternate ease-in-out;
}

#flight-btn-skill-3.body-skill-bio-nova {
    border-color: #10b981;
    background: radial-gradient(circle at 35% 35%, #047857 0%, #064e3b 65%, #022c22 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(52, 211, 153, 0.4);
}

#flight-btn-skill-3.body-skill-bio-nova:hover:not(.locked) {
    border-color: #34d399;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.9), inset 0 2px 6px rgba(167, 243, 208, 0.5);
}

#flight-btn-skill-3.body-skill-bio-nova .skill-key-badge {
    color: #a7f3d0;
    border-color: #059669;
    background: rgba(2, 44, 34, 0.95);
}

#flight-btn-skill-3.body-skill-bio-nova.active-buff {
    border-color: #6ee7b7;
    box-shadow: 0 0 26px rgba(16, 185, 129, 1.0), inset 0 0 14px rgba(110, 231, 183, 0.8);
    animation: pulse-bio-nova 0.70s infinite alternate ease-in-out;
}

#flight-btn-skill-3.body-skill-the-mirror {
    border-color: #a78bfa;
    background: radial-gradient(circle at 35% 35%, #581c87 0%, #3b0764 65%, #1e1b4b 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(167, 139, 250, 0.4);
}

#flight-btn-skill-3.body-skill-the-mirror:hover:not(.locked) {
    border-color: #c4b5fd;
    box-shadow: 0 0 18px rgba(167, 139, 250, 0.9), inset 0 2px 6px rgba(196, 181, 253, 0.5);
}

#flight-btn-skill-3.body-skill-the-mirror .skill-key-badge {
    color: #ede9fe;
    border-color: #7c3aed;
    background: rgba(30, 27, 75, 0.95);
}

#flight-btn-skill-3.body-skill-the-mirror.active-buff {
    border-color: #ddd6fe;
    box-shadow: 0 0 26px rgba(167, 139, 250, 1.0), inset 0 0 14px rgba(196, 181, 253, 0.85);
    animation: pulse-the-mirror 0.70s infinite alternate ease-in-out;
}

#flight-btn-skill-3.body-skill-coldest-blue {
    border-color: #0284c7;
    background: radial-gradient(circle at 35% 35%, #0369a1 0%, #0c4a6e 60%, #082f49 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(56, 189, 248, 0.45);
}

#flight-btn-skill-3.body-skill-coldest-blue:hover:not(.locked) {
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.95), inset 0 2px 6px rgba(186, 230, 253, 0.55);
}

#flight-btn-skill-3.body-skill-coldest-blue .skill-key-badge {
    color: #e0f2fe;
    border-color: #0284c7;
    background: rgba(8, 47, 73, 0.95);
}

#flight-btn-skill-3.body-skill-coldest-blue.active-buff {
    border-color: #7dd3fc;
    box-shadow: 0 0 26px rgba(56, 189, 248, 1.0), inset 0 0 14px rgba(186, 230, 253, 0.85);
    animation: pulse-coldest-blue 0.65s infinite alternate ease-in-out;
}

@keyframes pulse-coldest-blue {
    0% { transform: scale(1.0); box-shadow: 0 0 16px rgba(2, 132, 199, 0.7); }
    100% { transform: scale(1.08); box-shadow: 0 0 28px rgba(56, 189, 248, 1.0); }
}

#flight-btn-skill-3.body-skill-bara {
    border-color: #ef4444;
    background: radial-gradient(circle at 35% 35%, #991b1b 0%, #5c0a10 60%, #2a0406 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(248, 113, 113, 0.45);
}

#flight-btn-skill-3.body-skill-bara:hover:not(.locked) {
    border-color: #f87171;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.95), inset 0 2px 6px rgba(254, 202, 202, 0.55);
}

#flight-btn-skill-3.body-skill-bara .skill-key-badge {
    color: #fecaca;
    border-color: #dc2626;
    background: rgba(69, 10, 10, 0.95);
}

#flight-btn-skill-3.body-skill-bara.active-buff {
    border-color: #fca5a5;
    box-shadow: 0 0 26px rgba(239, 68, 68, 1.0), inset 0 0 14px rgba(252, 165, 165, 0.85);
}

#flight-btn-skill-3.body-skill-serpentine {
    border-color: #22d3ee;
    background: radial-gradient(circle at 35% 35%, #0f4c5c 0%, #092532 60%, #041017 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(94, 234, 212, 0.45);
}

#flight-btn-skill-3.body-skill-serpentine:hover:not(.locked) {
    border-color: #5eead4;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.95), inset 0 2px 6px rgba(153, 246, 228, 0.55);
}

#flight-btn-skill-3.body-skill-serpentine .skill-key-badge {
    color: #ccfbf1;
    border-color: #14b8a6;
    background: rgba(8, 51, 68, 0.95);
}

#flight-btn-skill-3.body-skill-serpentine.active-buff {
    border-color: #67e8f9;
    box-shadow: 0 0 26px rgba(34, 211, 238, 1.0), inset 0 0 14px rgba(94, 234, 212, 0.85);
}

@keyframes pulse-shield {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

@keyframes pulse-living-shield {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

@keyframes pulse-kilat-dash {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.10); filter: drop-shadow(0 0 8px #f59e0b); }
}

@keyframes pulse-bio-nova {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.09); filter: drop-shadow(0 0 10px #10b981); }
}

@keyframes pulse-the-mirror {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.09); filter: drop-shadow(0 0 10px #a78bfa); }
}

/* Combat Vitals in Flight Telemetry Box */
.telemetry-combat-vitals {
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px dashed rgba(194, 154, 83, 0.3);
}

.vitals-row-compact {
    margin-bottom: 2px;
}

.telemetry-bar-track {
    width: 100%;
    height: 7px; /* Scaled from 5px */
    background: #120b06;
    border: 1px solid #78552b;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 3px;
}

.telemetry-bar-fill {
    height: 100%;
    transition: width 0.15s ease-out;
}

.telemetry-bar-fill.hp-bar-fill {
    background: linear-gradient(90deg, #2d7a53 0%, #7bcba2 100%);
    box-shadow: none;
}

.telemetry-bar-fill.shield-bar-fill {
    background: linear-gradient(90deg, #1f5f8b 0%, #9ccbf0 100%);
    box-shadow: none;
}

/* Skill 4: Top-Right above attack (Core Skill - Singularity / Tachyon) */
#flight-btn-skill-4 {
    right: 6px;
    bottom: 156px;
}

#flight-btn-skill-4.core-skill-tachyon {
    border-color: #06b6d4;
    background: radial-gradient(circle at 35% 35%, #083344 0%, #0e7490 60%, #021a24 100%);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.55), inset 0 0 8px rgba(34, 211, 238, 0.35);
}

#flight-btn-skill-4.core-skill-tachyon:hover:not(.locked) {
    border-color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.85), inset 0 0 10px rgba(103, 232, 249, 0.5);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-tachyon .skill-key-badge {
    color: #a5f3fc;
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(8, 51, 68, 0.85);
}

#flight-btn-skill-4.core-skill-tachyon.active-deploy {
    border-color: #ffffff;
    box-shadow: 0 0 24px rgba(165, 243, 252, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.8);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-tachyon-mine {
    filter: drop-shadow(0 0 4px #22d3ee);
}

/* Skill 4: Abyss Dark Hole Singularity Core Theme */
#flight-btn-skill-4.core-skill-abyss {
    border-color: #a855f7;
    background: radial-gradient(circle at 35% 35%, #3b0764 0%, #1e1b4b 60%, #030712 100%);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.45), inset 0 0 8px rgba(168, 85, 247, 0.25);
}

#flight-btn-skill-4.core-skill-abyss:hover:not(.locked) {
    border-color: #c084fc;
    box-shadow: 0 0 22px rgba(192, 132, 252, 0.75), inset 0 0 12px rgba(192, 132, 252, 0.4);
}

#flight-btn-skill-4.core-skill-abyss.active-deploy {
    border-color: #f3e8ff;
    box-shadow: 0 0 28px rgba(192, 132, 252, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.8);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-abyss-hole {
    filter: drop-shadow(0 0 5px #a855f7);
}

/* Skill 4: Solaris Prime Radiant Orbs Core Theme */
#flight-btn-skill-4.core-skill-solaris {
    border-color: #f59e0b;
    background: radial-gradient(circle at 35% 35%, #78350f 0%, #451a03 60%, #1c0a00 100%);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.55), inset 0 0 8px rgba(251, 191, 36, 0.35);
}

#flight-btn-skill-4.core-skill-solaris:hover:not(.locked) {
    border-color: #fbbf24;
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.85), inset 0 0 12px rgba(253, 230, 138, 0.5);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-solaris .skill-key-badge {
    color: #fef08a;
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(69, 26, 3, 0.9);
}

#flight-btn-skill-4.core-skill-solaris.active-deploy {
    border-color: #fef08a;
    box-shadow: 0 0 28px rgba(251, 191, 36, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-solaris-orbs {
    filter: drop-shadow(0 0 5px #f59e0b);
}

/* Skill 4: Ignis Overload Thermobaric Blast Core Theme */
#flight-btn-skill-4.core-skill-ignis {
    border-color: #ef4444;
    background: radial-gradient(circle at 35% 35%, #7f1d1d 0%, #450a0a 60%, #1c0505 100%);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.55), inset 0 0 8px rgba(249, 115, 22, 0.35);
}

#flight-btn-skill-4.core-skill-ignis:hover:not(.locked) {
    border-color: #f97316;
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.85), inset 0 0 12px rgba(254, 240, 138, 0.5);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-ignis .skill-key-badge {
    color: #fef08a;
    border-color: rgba(239, 68, 68, 0.6);
    background: rgba(69, 10, 10, 0.9);
}

#flight-btn-skill-4.core-skill-ignis.active-deploy {
    border-color: #fef08a;
    box-shadow: 0 0 28px rgba(239, 68, 68, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-ignis-overload {
    filter: drop-shadow(0 0 5px #ef4444);
}

/* Skill 4: Meranova Orange-Red Piercing Mega Laser Core Theme */
#flight-btn-skill-4.core-skill-meranova {
    border-color: #f97316;
    background: radial-gradient(circle at 35% 35%, #9a3412 0%, #7f1d1d 60%, #2a0705 100%);
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.6), inset 0 0 8px rgba(239, 68, 68, 0.4);
}

#flight-btn-skill-4.core-skill-meranova:hover:not(.locked) {
    border-color: #fb923c;
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.9), inset 0 0 12px rgba(254, 240, 138, 0.55);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-meranova .skill-key-badge {
    color: #ffedd5;
    border-color: rgba(249, 115, 22, 0.7);
    background: rgba(67, 20, 7, 0.92);
}

#flight-btn-skill-4.core-skill-meranova.active-deploy {
    border-color: #fef08a;
    box-shadow: 0 0 28px rgba(249, 115, 22, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-meranova {
    filter: drop-shadow(0 0 5px #f97316);
}

/* Skill 4: Bastion Armor Blue Kinetic Pulse Core Theme */
#flight-btn-skill-4.core-skill-bastion {
    border-color: #0284c7;
    background: radial-gradient(circle at 35% 35%, #0369a1 0%, #0c4a6e 60%, #031c2e 100%);
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.55), inset 0 0 8px rgba(56, 189, 248, 0.35);
}

#flight-btn-skill-4.core-skill-bastion:hover:not(.locked) {
    border-color: #38bdf8;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.85), inset 0 0 12px rgba(186, 230, 253, 0.5);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-bastion .skill-key-badge {
    color: #bae6fd;
    border-color: rgba(2, 132, 199, 0.6);
    background: rgba(12, 74, 110, 0.9);
}

#flight-btn-skill-4.core-skill-bastion.active-deploy {
    border-color: #bae6fd;
    box-shadow: 0 0 28px rgba(56, 189, 248, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-bastion-armor {
    filter: drop-shadow(0 0 5px #38bdf8);
}

/* Skill 4: Aether Harmoni Celestial Resonance Core Theme */
#flight-btn-skill-4.core-skill-aether {
    border-color: #f59e0b;
    background: radial-gradient(circle at 35% 35%, #78350f 0%, #451a03 60%, #1c0a02 100%);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.55), inset 0 0 8px rgba(251, 191, 36, 0.35);
}

#flight-btn-skill-4.core-skill-aether:hover:not(.locked) {
    border-color: #fbbf24;
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.85), inset 0 0 12px rgba(254, 240, 138, 0.5);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-aether .skill-key-badge {
    color: #fef08a;
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(69, 26, 3, 0.9);
}

#flight-btn-skill-4.core-skill-aether.active-deploy {
    border-color: #fef08a;
    box-shadow: 0 0 28px rgba(245, 158, 11, 1.0), inset 0 0 14px rgba(255, 255, 255, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-aether-harmony {
    filter: drop-shadow(0 0 5px #f59e0b);
}

/* Skill 4 The Serpents Theme (Emerald Venom Parabolic Orbs) */
#flight-btn-skill-4.core-skill-the-serpents {
    border-color: #10b981;
    background: radial-gradient(circle at 35% 35%, #064e3b 0%, #022c22 70%, #01140f 100%);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.50), inset 0 0 8px rgba(110, 231, 183, 0.25);
}

#flight-btn-skill-4.core-skill-the-serpents:hover:not(:disabled) {
    border-color: #6ee7b7;
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.85), inset 0 0 12px rgba(167, 243, 208, 0.45);
    transform: scale(1.06);
}

#flight-btn-skill-4.core-skill-the-serpents .skill-key-badge {
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(2, 44, 34, 0.9);
}

#flight-btn-skill-4.core-skill-the-serpents.active-deploy {
    border-color: #a7f3d0;
    box-shadow: 0 0 28px rgba(16, 185, 129, 1.0), inset 0 0 14px rgba(236, 253, 245, 0.85);
    transform: scale(1.12);
}

#flight-btn-skill-4 .skill-icon-the-serpents {
    filter: drop-shadow(0 0 5px #10b981);
}

/* Skill 1: Overdrive Active & Specifics */
#flight-btn-skill-1 {
    border-color: #f59e0b;
    background: radial-gradient(circle at 35% 35%, #452a0a 0%, #261705 70%, #150c02 100%);
}

#flight-btn-skill-1.active-buff {
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.8), inset 0 0 12px rgba(56, 189, 248, 0.4);
    animation: pulse-overdrive 1s infinite alternate;
}

@keyframes pulse-overdrive {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

/* Skill Elevasi: Sebelah Kiri Skill 1 (Garis Datar Sempurna bottom: 18px) */
#flight-btn-elevate {
    right: 216px;
    bottom: 18px;
    border-color: #38bdf8;
    background: radial-gradient(circle at 35% 35%, #075985 0%, #0c4a6e 65%, #032b42 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(125, 211, 252, 0.35);
}

#flight-btn-elevate:hover {
    border-color: #7dd3fc;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.55), inset 0 2px 6px rgba(186, 230, 253, 0.45);
}

#flight-btn-elevate .skill-key-badge {
    color: #7dd3fc;
    border-color: #0284c7;
    background: rgba(3, 43, 66, 0.9);
    font-size: 9px;
    padding: 1px 4px;
}

#flight-btn-elevate.active-buff {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.9), inset 0 0 10px rgba(125, 211, 252, 0.6);
    animation: pulse-elevate 1s infinite alternate ease-in-out;
}

@keyframes pulse-elevate {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.06); }
}

/* Skill Dash: Sebelah Kiri Skill Elevasi (Garis Datar Sempurna bottom: 18px) */
#flight-btn-dash {
    right: 288px;
    bottom: 18px;
    border-color: #10b981;
    background: radial-gradient(circle at 35% 35%, #064e3b 0%, #022c22 65%, #011711 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(52, 211, 153, 0.35);
}

#flight-btn-dash:hover {
    border-color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.65), inset 0 2px 6px rgba(110, 231, 183, 0.45);
}

#flight-btn-dash .skill-key-badge {
    color: #6ee7b7;
    border-color: #059669;
    background: rgba(2, 44, 34, 0.9);
    font-size: 9px;
    padding: 1px 3px;
}

#flight-btn-dash.active-buff {
    border-color: #34d399;
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.95), inset 0 0 12px rgba(52, 211, 153, 0.65);
    animation: pulse-dash 0.65s infinite alternate ease-in-out;
}

@keyframes pulse-dash {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

/* Skill Nano Liquid (Q): Sebelah Kiri Skill Dash (Garis Datar Sempurna bottom: 18px) */
#flight-btn-nano-liquid {
    right: 360px;
    bottom: 18px;
    border-color: #10b981;
    background: radial-gradient(circle at 35% 35%, #064e3b 0%, #022c22 65%, #011711 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(52, 211, 153, 0.35);
    display: none;
    color: #34d399;
}

#flight-btn-nano-liquid:hover:not(.exhausted) {
    border-color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.65), inset 0 2px 6px rgba(110, 231, 183, 0.45);
}

#flight-btn-nano-liquid .skill-key-badge {
    color: #6ee7b7;
    border-color: #059669;
    background: rgba(2, 44, 34, 0.9);
    font-size: 9px;
    padding: 1px 3px;
}

#flight-btn-nano-liquid.active-buff {
    animation: pulse-nano-buff 0.65s infinite alternate ease-in-out;
}

#flight-btn-nano-liquid.exhausted {
    opacity: 0.45;
    filter: grayscale(0.7);
    cursor: not-allowed;
    box-shadow: none !important;
}

@keyframes pulse-nano-buff {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

.skill-icon-svg {
    width: 24px;
    height: 24px;
    stroke: #e5b967;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#flight-btn-skill-1.active-buff .skill-icon-svg {
    stroke: #7dd3fc;
}

/* Key label under skill buttons */
.flight-skill-btn .skill-key-badge {
    position: absolute;
    bottom: 2px;
    font-size: 9px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #e5b967;
    pointer-events: none;
}

/* Cooldown Overlay */
.flight-cooldown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(10, 8, 6, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.flight-cooldown-overlay.in-cd {
    display: flex;
}

.flight-cooldown-text {
    font-size: 13px;
    font-weight: 900;
    color: #fff8e7;
    font-variant-numeric: tabular-nums;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Locked Skills (2, 3, 4) */
.flight-skill-btn.locked {
    opacity: 0.65;
    cursor: not-allowed;
    border-color: #5c4427;
}

.flight-skill-btn.locked .skill-icon-svg {
    stroke: #735939;
}



/* ==========================================================================
   MODAL PEMILIHAN DOK UJI TERBANG (MAIN MENU - BAB III AVIONIK)
   Gaya Klasik Da Vinci / Renaisans Codex
   ========================================================================== */

.flight-dock-modal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #100804 url('assets/wood-table.jpg') center center / cover no-repeat;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    padding: 24px;
}

@keyframes flightModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.flight-dock-modal-window {
    background: radial-gradient(circle at 50% 15%, #231c15 0%, #130f0c 100%);
    border: 2px solid #a17847;
    border-radius: 12px;
    width: 100%;
    max-width: 980px;
    max-height: calc(100vh - 24px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 32px rgba(212, 175, 55, 0.22);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Sudut Kuningan Renaisans */
.flight-dock-modal-window .brass-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #d4af37;
    border-style: solid;
    pointer-events: none;
    z-index: 2;
}

.flight-dock-modal-window .brass-corner-tl {
    top: 6px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.flight-dock-modal-window .brass-corner-tr {
    top: 6px;
    right: 6px;
    border-width: 2px 2px 0 0;
}

.flight-dock-modal-window .brass-corner-bl {
    bottom: 6px;
    left: 6px;
    border-width: 0 0 2px 2px;
}

.flight-dock-modal-window .brass-corner-br {
    bottom: 6px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.flight-dock-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 28px 16px 28px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(18, 14, 11, 0.85);
}

.flight-dock-header-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flight-dock-chapter-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 2px;
    font-family: 'Cinzel', Georgia, serif;
    text-transform: uppercase;
}

.flight-dock-modal-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fef3c7;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.flight-dock-modal-subtitle {
    font-size: 0.84rem;
    color: #bfb5a3;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.4;
}

.btn-close-flight-dock {
    background: rgba(30, 24, 19, 0.6);
    border: 1px solid rgba(161, 120, 71, 0.4);
    color: #d4af37;
    font-size: 1.5rem;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn-close-flight-dock:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
    color: #fca5a5;
    transform: rotate(90deg);
}

/* Grid Kartu 3 Dok */
.flight-dock-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.2vw, 18px);
    padding: clamp(14px, 2vh, 24px) clamp(16px, 2vw, 28px);
    background: rgba(12, 9, 7, 0.5);
    max-height: calc(100vh - 165px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #a17847 rgba(20, 16, 12, 0.8);
}

.flight-dock-cards-grid::-webkit-scrollbar {
    width: 6px;
}
.flight-dock-cards-grid::-webkit-scrollbar-thumb {
    background: #a17847;
    border-radius: 3px;
}
.flight-dock-cards-grid::-webkit-scrollbar-track {
    background: rgba(20, 16, 12, 0.8);
}

.flight-dock-card {
    background: linear-gradient(180deg, #1f1913 0%, #14100c 100%);
    border: 1.5px solid rgba(161, 120, 71, 0.45);
    border-radius: 9px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.flight-dock-card.ready-dock {
    border-color: rgba(212, 175, 55, 0.65);
    background: linear-gradient(180deg, #241d15 0%, #15110d 100%);
}

.flight-dock-card.ready-dock:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(245, 158, 11, 0.25);
}

.flight-dock-card.unready-dock {
    border-color: rgba(180, 83, 9, 0.4);
    opacity: 0.95;
}

.flight-dock-card.empty-dock {
    border-color: rgba(75, 60, 45, 0.3);
    opacity: 0.65;
    background: linear-gradient(180deg, #17130f 0%, #0e0b08 100%);
}

.flight-dock-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flight-dock-number-tag {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e5d7ba;
    background: rgba(40, 31, 23, 0.8);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(161, 120, 71, 0.35);
}

.flight-dock-pill {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 12px;
    text-transform: uppercase;
}

.flight-dock-pill.pill-ready {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid #22c55e;
    color: #86efac;
}

.flight-dock-pill.pill-unready {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.flight-dock-pill.pill-empty {
    background: rgba(107, 114, 128, 0.16);
    border: 1px solid #6b7280;
    color: #9ca3af;
}

.flight-dock-unit-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flight-dock-unit-name {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #fef08a;
    letter-spacing: 0.5px;
}

.flight-dock-frame-name {
    font-size: 0.74rem;
    color: #a89f91;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.flight-dock-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    background: rgba(10, 8, 6, 0.55);
    border: 1px dashed rgba(161, 120, 71, 0.3);
    border-radius: 6px;
    color: #d4af37;
}

.flight-dock-icon-box svg {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.flight-dock-stats-box {
    display: flex;
    justify-content: space-between;
    background: rgba(24, 19, 14, 0.7);
    border-radius: 5px;
    padding: 6px 10px;
    border: 1px solid rgba(161, 120, 71, 0.2);
}

.dock-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dock-stat-label {
    font-size: 0.62rem;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.dock-stat-val {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Checklist Syarat Kelaikan */
.flight-dock-checklist {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(14, 11, 8, 0.6);
    border: 1px solid rgba(120, 90, 60, 0.25);
    border-radius: 6px;
    padding: 8px 10px;
}

.checklist-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.73rem;
}

.checklist-item.item-ok {
    color: #86efac;
}

.checklist-item.item-fail {
    color: #fca5a5;
}

.checklist-item .chk-icon {
    font-weight: 900;
    font-size: 0.8rem;
    width: 14px;
    display: inline-block;
    text-align: center;
}

.dock-missing-alert {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 5px;
    padding: 6px 8px;
    color: #fca5a5;
    font-size: 0.7rem;
    line-height: 1.35;
}

.btn-dock-launch {
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    margin-top: auto;
}

.btn-dock-launch.btn-launch-ready {
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: #120e0a;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-dock-launch.btn-launch-ready:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

.btn-dock-launch.btn-launch-disabled {
    background: rgba(45, 36, 27, 0.6);
    border: 1px solid rgba(120, 90, 60, 0.3);
    color: #78716c;
    cursor: not-allowed;
}

.flight-dock-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(16, 12, 9, 0.9);
    gap: 16px;
}

.flight-dock-req-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: #d1c7b7;
    line-height: 1.4;
    flex: 1;
}

.flight-dock-req-star {
    color: #d4af37;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.btn-flight-dock-cancel {
    background: rgba(30, 24, 18, 0.8);
    border: 1px solid rgba(161, 120, 71, 0.4);
    color: #d4af37;
    padding: 8px 18px;
    border-radius: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-flight-dock-cancel:hover {
    background: rgba(45, 36, 26, 0.95);
    border-color: #d4af37;
    color: #fef3c7;
}

/* Responsivitas Layar Pendek / Mobile Landscape (Max Height 540px) */
@media (max-height: 540px) {
    .flight-dock-modal-overlay {
        padding: 8px 12px;
    }
    .flight-dock-modal-window {
        max-height: calc(100vh - 16px);
    }
    .flight-dock-modal-header {
        padding: 10px 18px 8px 18px;
    }
    .flight-dock-modal-title {
        font-size: 1.05rem;
    }
    .flight-dock-modal-subtitle {
        font-size: 0.72rem;
    }
    .flight-dock-cards-grid {
        padding: 8px 12px;
        gap: 8px;
        max-height: calc(100vh - 110px);
    }
    .flight-dock-card {
        padding: 10px 12px;
        gap: 6px;
    }
    .flight-dock-icon-box {
        display: none !important;
    }
    .flight-dock-checklist {
        padding: 4px 6px;
        gap: 2px;
    }
    .flight-dock-modal-footer {
        padding: 8px 18px;
    }
}


/* ============================================================================
   BATTLEGROUND INTRO WARP CINEMATIC OVERLAY (Milestone 149)
   ============================================================================ */
.bg-warp-overlay-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 180;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    will-change: opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.bg-warp-letterbox-top {
    height: 72px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.85) 75%, transparent 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.bg-warp-header-tag {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 3px;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bg-warp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.bg-warp-center-guide {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.bg-warp-portal-target-reticle {
    width: 90px;
    height: 90px;
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 50%;
    animation: rotate-portal-reticle 16s linear infinite;
    position: relative;
}

.bg-warp-portal-target-reticle::before,
.bg-warp-portal-target-reticle::after {
    content: '';
    position: absolute;
    background: rgba(56, 189, 248, 0.6);
}

.bg-warp-portal-target-reticle::before {
    top: 50%;
    left: -8px;
    right: -8px;
    height: 1px;
    transform: translateY(-50%);
}

.bg-warp-portal-target-reticle::after {
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 1px;
    transform: translateX(-50%);
}

@keyframes rotate-portal-reticle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-warp-letterbox-bottom {
    min-height: 72px;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.85) 75%, transparent 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 44px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.8);
    gap: 20px;
}

.bg-warp-bottom-left,
.bg-warp-bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bg-warp-bottom-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: #e0f2fe;
    letter-spacing: 2px;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.bg-warp-bottom-label.priority {
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.75);
}

.bg-warp-telemetry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.bg-warp-tel-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 1px;
}

.bg-warp-tel-val {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.bg-warp-progress-track {
    flex: 1;
    height: 6px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.bg-warp-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 70%, #ffffff 100%);
    box-shadow: 0 0 12px #38bdf8;
    transition: width 0.08s linear;
}

.bg-warp-flash-screen {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Mode Sinematik Warp: Sembunyikan status & seluruh tombol HUD */
.flight-hud-overlay.warp-cinematic-hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mode Dialog M01 Manda: Sembunyikan seluruh HUD Penerbangan, joystick, attack & skill */
body.manda-dialogue-active .flight-hud-overlay,
body.manda-dialogue-active .flight-hud-top,
body.manda-dialogue-active .flight-hud-bottom,
body.manda-dialogue-active #flight-joystick-zone,
body.manda-dialogue-active #flight-actions-cluster,
body.manda-dialogue-active #flight-btn-nano-liquid,
body.manda-dialogue-active #flight-terminal-container,
body.manda-dialogue-active #fl-attitude-disc,
body.manda-dialogue-active #btn-flight-home,
body.manda-dialogue-active #bg-tactical-radar,
body.manda-dialogue-active #bg-combat-scoreboard,
body.manda-dialogue-active #manda-action-prompt,
body.manda-dialogue-active #manda-nano-liquid-widget,
body.manda-dialogue-active .flight-touch-interactive {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Living Sphere Capture Hold Timer HUD */
.bg-capture-countdown-box {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0;
    margin: 0;
    padding: 0 4px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.bg-capture-countdown-box.captured-blue {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bg-capture-countdown-box.captured-red {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bg-capture-pill {
    display: none !important;
}

.bg-capture-clock {
    font-family: 'Cinzel', monospace;
    font-size: 15px; /* Enlarge countdown timer */
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #f8fafc;
}

.bg-capture-clock.captured-blue {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.bg-capture-clock.captured-red {
    color: #f87171;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

/* ============================================================================
   MOBILE PERFORMANCE PROFILE (GPU Fill-Rate & Compositing Optimization)
   ============================================================================ */
@media (max-width: 900px), (pointer: coarse) {
    /* Bypass expensive GPU backdrop blur on mobile WebGL canvas */
    .flight-hud-top,
    .flight-hud-bottom {
        background: transparent !important;
        background-color: transparent !important;
    }

    .flight-telemetry-cluster,
    .flight-status-card,
    .flight-panel,
    .bg-radar-container,
    .bg-scoreboard-modal,
    .bg-scoreboard-glass,
    .flight-alt-compass-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(13, 20, 32, 0.94) !important;
    }

    .flight-joystick-base {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: radial-gradient(circle, rgba(42, 26, 14, 0.88) 0%, rgba(22, 13, 7, 0.96) 100%) !important;
    }

    /* Prevent accidental touch delays & gestures */
    #flight-test-canvas-container,
    #flight-joystick-zone,
    #flight-actions-cluster {
        touch-action: none;
    }
}

/* ============================================================================
   ANDROID COMPOSITOR VSYNC HEARTBEAT (Zero-Stutter Presentation)
   Memaksa RenderLayerCompositor Android WebView & Chromium berjalan pada
   refresh rate penuh (90Hz/120Hz) secara konsisten baik saat skill aktif maupun idle.
   ============================================================================ */
#flight-compositor-heartbeat {
    position: fixed;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    opacity: 0.08;
    background: #000000;
    pointer-events: none;
    z-index: 10000;
    will-change: transform, opacity;
    animation: flight-compositor-tick 1s infinite alternate linear;
}

@keyframes flight-compositor-tick {
    0% { transform: translate3d(0px, 0px, 0); opacity: 0.08; }
    50% { transform: translate3d(-1px, 1px, 0); opacity: 0.12; }
    100% { transform: translate3d(0px, 0px, 0); opacity: 0.08; }
}

/* Hide Auto Aim Row */
#fl-aim-row, .telemetry-row:has(#fl-aim-label) { display: none !important; }

/* ==========================================================================
   REFINED ROLE-CODED METALLIC PALETTE FOR FLIGHT ACTION BUTTONS (BALANCED)
   ========================================================================== */
#flight-btn-skill-1,
#flight-btn-skill-2,
#flight-btn-skill-3,
#flight-btn-skill-4,
#flight-btn-elevate,
#flight-btn-dash,
#flight-btn-nano-liquid {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.75), inset 0 1px 2px rgba(255, 255, 255, 0.22), inset 0 -2px 5px rgba(0, 0, 0, 0.45) !important;
    border-width: 1.8px !important;
}

/* Skill 1: Burnished Bronze (Energy Bolt) */
#flight-btn-skill-1 {
    background: radial-gradient(circle at 32% 28%, #54391f 0%, #2c1c0d 68%, #160d05 100%) !important;
    border-color: #c99a49 !important;
    color: #fdf2d8 !important;
}
#flight-btn-skill-1 .skill-icon-svg,
#flight-btn-skill-1 .skill-icon-svg * { stroke: #f8e5bd !important; }

/* Skill 2: Muted Crimson-Copper (Weapon B) */
#flight-btn-skill-2 {
    background: radial-gradient(circle at 32% 28%, #541f27 0%, #2b0e14 68%, #160609 100%) !important;
    border-color: #c45b68 !important;
    color: #fde4e7 !important;
}
#flight-btn-skill-2 .skill-icon-svg,
#flight-btn-skill-2 .skill-icon-svg * { stroke: #fcd5da !important; }

/* Skill 3: Muted Cerulean-Steel (Body Skill) */
#flight-btn-skill-3 {
    background: radial-gradient(circle at 32% 28%, #193e54 0%, #0d2332 68%, #06121b 100%) !important;
    border-color: #559ec4 !important;
    color: #e0f2fe !important;
}
#flight-btn-skill-3 .skill-icon-svg,
#flight-btn-skill-3 .skill-icon-svg * { stroke: #cfeafd !important; }

#flight-btn-skill-3.body-skill-bara {
    background: radial-gradient(circle at 32% 28%, #7f1d1d 0%, #450a0a 68%, #1f0404 100%) !important;
    border-color: #ef4444 !important;
    color: #fee2e2 !important;
}
#flight-btn-skill-3.body-skill-bara .skill-icon-svg,
#flight-btn-skill-3.body-skill-bara .skill-icon-svg * { stroke: #fecaca !important; }
#flight-btn-skill-3.body-skill-bara #flight-stack-badge-skill-3.has-charges {
    background: #991b1b !important;
    border-color: #fca5a5 !important;
    color: #ffffff !important;
}

#flight-btn-skill-3.body-skill-serpentine {
    background: radial-gradient(circle at 32% 28%, #0f4c5c 0%, #092532 68%, #041017 100%) !important;
    border-color: #22d3ee !important;
    color: #ecfeff !important;
}
#flight-btn-skill-3.body-skill-serpentine .skill-icon-svg,
#flight-btn-skill-3.body-skill-serpentine .skill-icon-svg * { stroke: #67e8f9 !important; }

/* Skill 4: Muted Amethyst-Indigo (Core Skill) */
#flight-btn-skill-4 {
    background: radial-gradient(circle at 32% 28%, #362552 0%, #1c122d 68%, #0e0918 100%) !important;
    border-color: #8e74c4 !important;
    color: #ede9fe !important;
}
#flight-btn-skill-4 .skill-icon-svg,
#flight-btn-skill-4 .skill-icon-svg * { stroke: #ddd6fe !important; }

#flight-btn-skill-4.core-skill-meranova {
    background: radial-gradient(circle at 32% 28%, #9a3412 0%, #6b1414 68%, #260705 100%) !important;
    border-color: #f97316 !important;
    color: #ffedd5 !important;
}
#flight-btn-skill-4.core-skill-meranova .skill-icon-svg,
#flight-btn-skill-4.core-skill-meranova .skill-icon-svg * { stroke: #fed7aa !important; }

/* Mobility: Titanium-Slate (Dash & Elevate) */
#flight-btn-elevate,
#flight-btn-dash {
    background: radial-gradient(circle at 32% 28%, #2a374a 0%, #161f2d 68%, #0b1019 100%) !important;
    border-color: #6b8eb5 !important;
    color: #e2ecf7 !important;
}
#flight-btn-elevate .skill-icon-svg,
#flight-btn-elevate .skill-icon-svg *,
#flight-btn-dash .skill-icon-svg,
#flight-btn-dash .skill-icon-svg * { stroke: #d8e6f5 !important; }

/* Nano Liquid: Muted Emerald-Teal */
#flight-btn-nano-liquid {
    background: radial-gradient(circle at 32% 28%, #173e34 0%, #0c231d 68%, #06130f 100%) !important;
    border-color: #4ea88b !important;
    color: #d1fae5 !important;
}
#flight-btn-nano-liquid .skill-icon-svg,
#flight-btn-nano-liquid .skill-icon-svg * { stroke: #c6f6e4 !important; }

#flight-btn-skill-1:hover:not(.locked),
#flight-btn-skill-2:hover:not(.locked),
#flight-btn-skill-3:hover:not(.locked),
#flight-btn-skill-4:hover:not(.locked),
#flight-btn-elevate:hover:not(.locked),
#flight-btn-dash:hover:not(.locked),
#flight-btn-nano-liquid:hover:not(.exhausted) {
    filter: brightness(1.18);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.85), inset 0 1px 3px rgba(255, 255, 255, 0.32) !important;
}

#flight-btn-skill-1 .skill-key-badge,
#flight-btn-skill-2 .skill-key-badge,
#flight-btn-skill-3 .skill-key-badge,
#flight-btn-skill-4 .skill-key-badge,
#flight-btn-elevate .skill-key-badge,
#flight-btn-dash .skill-key-badge,
#flight-btn-nano-liquid .skill-key-badge {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    color: #eef2f6 !important;
    background: rgba(11, 15, 24, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 4px !important;
    padding: 1px 5px !important;
    bottom: -4px !important;
    line-height: 1.15 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

#flight-btn-skill-1.active-buff,
#flight-btn-skill-2.ready-to-fire,
#flight-btn-skill-3.active-buff,
#flight-btn-skill-4.active-deploy,
#flight-btn-elevate.active-buff,
#flight-btn-dash.active-buff,
#flight-btn-nano-liquid.active-buff {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 5px 14px rgba(0, 0, 0, 0.85) !important;
}

.flight-actions-cluster .skill-icon-svg {
    filter: none !important;
}

.flight-actions-cluster .skill-icon-svg [fill]:not([fill="none"]) {
    fill: rgba(255, 255, 255, 0.22) !important;
}

.flight-actions-cluster .flight-skill-btn.locked .skill-icon-svg,
.flight-actions-cluster .flight-skill-btn.locked .skill-icon-svg * {
    stroke: #7c8594 !important;
}

#flight-btn-nano-liquid .nano-stock-badge-cluster {
    background: #833c07 !important;
    border-color: #f6d88c !important;
    color: #ffffff !important;
}

#flight-btn-nano-liquid.nano-variant-green #flight-badge-stack-nano-liquid { background: #14532d !important; border-color: #a3dec3 !important; }
#flight-btn-nano-liquid.nano-variant-red #flight-badge-stack-nano-liquid { background: #7f1d1d !important; border-color: #f6bcc4 !important; }
#flight-btn-nano-liquid.nano-variant-blue #flight-badge-stack-nano-liquid { background: #1e3a8a !important; border-color: #9ccbf0 !important; }
#flight-btn-nano-liquid.nano-variant-purple #flight-badge-stack-nano-liquid { background: #581c87 !important; border-color: #c9bdf0 !important; }

/* Dual-Phase Action Indicator (Glowing Button + TAP Label: Kilat, Abyss Core, Meranova) */
.skill-tap-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fef08a 0%, #f59e0b 100%);
    color: #1f1204;
    border: 1.5px solid #ffffff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.9px;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 0 10px rgba(254, 240, 138, 0.95), 0 2px 6px rgba(0, 0, 0, 0.85);
    z-index: 16;
    pointer-events: none;
    white-space: nowrap;
}

.flight-skill-btn.dual-tap-ready {
    border-color: #fef08a !important;
    animation: pulse-dual-tap 0.55s infinite alternate ease-in-out !important;
}

.flight-skill-btn.dual-tap-ready .flight-cooldown-overlay.in-cd {
    background: rgba(10, 8, 6, 0.28) !important;
    align-items: flex-end !important;
    padding-bottom: 10px;
    pointer-events: none;
}

.flight-skill-btn.dual-tap-ready .flight-cooldown-text {
    font-size: 10px !important;
    opacity: 0.85;
}

@keyframes pulse-dual-tap {
    0% {
        transform: scale(1.02);
        box-shadow: 0 0 12px rgba(254, 240, 138, 0.85), 0 0 24px rgba(245, 158, 11, 0.65), inset 0 0 10px rgba(255, 255, 255, 0.45) !important;
    }
    100% {
        transform: scale(1.12);
        box-shadow: 0 0 22px rgba(254, 240, 138, 1.0), 0 0 36px rgba(245, 158, 11, 0.95), inset 0 0 16px rgba(255, 255, 255, 0.85) !important;
    }
}

/* ============================================================================
   GLOBAL COMPACT SCENE LOADING OVERLAY
   ============================================================================ */
.vg-scene-loader {
    position: absolute;
    inset: 0;
    z-index: 9500;
    background: #080a0e;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 180ms ease;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.vg-scene-loader.active {
    display: flex;
}

.vg-scene-loader.closing {
    opacity: 0;
    pointer-events: none;
}

.vg-loader-box {
    width: 340px;
    max-width: 82vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.vg-loader-pct {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-bottom: 8px;
    font-family: ui-monospace, 'Consolas', monospace;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f8fafc;
    line-height: 1;
    transform: skewX(-6deg);
}

.vg-calc-digit {
    width: 11px;
    height: 18px;
    display: block;
    overflow: visible;
}

.vg-calc-pct-sign {
    width: 12px;
    height: 18px;
    margin-left: 1px;
    display: block;
}

.vg-loader-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    overflow: hidden;
}

.vg-loader-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
    will-change: width;
}

@media (prefers-reduced-motion: reduce) {
    .vg-scene-loader {
        transition: none;
    }
}
