/* ==============================================
   AEROFIELD  SOLAR SYSTEM
   3D viewer with NASA Earth imagery.
   Theme-integrated: Indus Valley + 2026 UI
   ============================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-primary, #0a0a0f);
    color: var(--text-primary, #e8e4dc);
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}


/* ==============================================
   BACKGROUND LAYERS (theme grid + radial)
   ============================================== */
.ss-bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.018;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(212,160,74,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,160,74,0.35) 1px, transparent 1px);
    background-size: 80px 80px;
}

.ss-bg-radial {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,160,74,0.03) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 90%, rgba(99,102,241,0.02) 0%, transparent 50%);
}


/* ==============================================
   NAVBAR
   ============================================== */
.ss-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 40px);
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle, rgba(212, 160, 74, 0.08));
}

.ss-navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(212,160,74,0.15),
        rgba(99,102,241,0.1),
        transparent);
}

.ss-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ss-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--glow-amber, #d4a04a), var(--glow-copper, #c87533));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    box-shadow: 0 0 18px rgba(212, 160, 74, 0.3);
}

.ss-logo-icon svg { width: 22px; height: 22px; }

.ss-logo-text {
    font-family: var(--font-display, 'Cinzel', serif);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--glow-amber, #d4a04a) 0%, #e8c985 50%, var(--glow-copper, #c87533) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ss-nav-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ss-nav-title {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(99, 102, 241, 0.55);
}

.ss-nav-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 100px;
    border: 1px solid rgba(45,212,168,0.12);
    background: rgba(45,212,168,0.04);
}

.ss-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--glow-teal, #2dd4a8);
    box-shadow: 0 0 8px var(--glow-teal, #2dd4a8);
    animation: dotPulse 2s ease-in-out infinite;
}

.ss-status-text {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(45,212,168,0.65);
}

.ss-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ss-nav-link {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary, #9a9488);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.ss-nav-link:hover {
    color: var(--glow-amber, #d4a04a);
    background: rgba(212,160,74,0.06);
}

.ss-btn {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(212, 160, 74, 0.12);
    background: rgba(212, 160, 74, 0.04);
    color: var(--glow-amber, #d4a04a);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ss-btn:hover {
    background: rgba(212, 160, 74, 0.1);
    border-color: rgba(212, 160, 74, 0.25);
    box-shadow: 0 0 16px rgba(212, 160, 74, 0.08);
}

.ss-btn--reset { padding: 6px 10px; }
.ss-btn--reset svg { width: 15px; height: 15px; }

.ss-btn--speed {
    min-width: 42px;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.ss-btn--speed.active {
    background: rgba(212, 160, 74, 0.15);
    border-color: rgba(212, 160, 74, 0.35);
    color: #f0d080;
}


/* ==============================================
   3D VIEWPORT
   ============================================== */
.ss-viewport {
    position: fixed;
    inset: 0;
    z-index: 1;
    cursor: grab;
}

.ss-viewport:active { cursor: grabbing; }
body.pointer-over .ss-viewport { cursor: pointer; }

.ss-viewport canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}


/* ==============================================
   CORNER BRACKETS (3D viewer frame overlay)
   ============================================== */
.ss-frame {
    position: fixed;
    z-index: 50;
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.ss-frame--tl {
    top: 76px;
    left: 16px;
    border-top: 1px solid rgba(212,160,74,0.18);
    border-left: 1px solid rgba(212,160,74,0.18);
}

.ss-frame--tr {
    top: 76px;
    right: 16px;
    border-top: 1px solid rgba(212,160,74,0.18);
    border-right: 1px solid rgba(212,160,74,0.18);
}

.ss-frame--bl {
    bottom: 52px;
    left: 16px;
    border-bottom: 1px solid rgba(212,160,74,0.18);
    border-left: 1px solid rgba(212,160,74,0.18);
}

.ss-frame--br {
    bottom: 52px;
    right: 16px;
    border-bottom: 1px solid rgba(212,160,74,0.18);
    border-right: 1px solid rgba(212,160,74,0.18);
}


/* ==============================================
   PLANET QUICKNAV (left sidebar)
   ============================================== */
.ss-quicknav {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 190;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 6px 14px;
    border-radius: 0 0 12px 12px;
    background: rgba(10,10,20,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212,160,74,0.06);
    border-top: none;
}

.ss-quicknav-label {
    font-size: 18px;
    color: rgba(212,160,74,0.35);
    text-align: center;
    margin-right: 6px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(212,160,74,0.2));
}

.ss-quicknav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 4px 7px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.ss-quicknav-item:hover {
    background: rgba(212,160,74,0.08);
}

.ss-quicknav-item.active {
    background: rgba(212,160,74,0.12);
}

.ss-quicknav-item.active .ss-qn-glyph {
    filter: drop-shadow(0 0 8px currentColor);
    transform: scale(1.25);
}

.ss-qn-glyph {
    font-size: 18px;
    line-height: 1.2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-qn-glyph svg {
    display: block;
}

.ss-qn-divider {
    width: 1px;
    height: 18px;
    background: rgba(212,160,74,0.1);
    margin: 0 3px;
}

.ss-qn--home .ss-qn-glyph {
    filter: drop-shadow(0 0 6px rgba(34,136,255,0.4));
}

.ss-qn--home::after {
    content: '\u2302';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 6px;
    color: rgba(45,212,168,0.5);
}

.ss-qn--sun .ss-qn-glyph {
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(255,170,0,0.6));
}
.ss-qn--sun {
    border: 1px solid rgba(255,170,0,0.25);
}


/* ==============================================
   TELEMETRY READOUT (top-right overlay)
   ============================================== */
.ss-telemetry {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 160;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(10,10,20,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99,102,241,0.08);
    min-width: 120px;
}

.ss-telem-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.ss-telem-label {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(99,102,241,0.4);
}

.ss-telem-value {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: rgba(99,102,241,0.6);
    letter-spacing: 0.5px;
}


/* ==============================================
   FLASHCARD PANEL (skyview style)
   ============================================== */
.ss-info-panel {
    position: fixed;
    right: -440px;
    top: 80px;
    width: 380px;
    max-height: calc(100vh - 160px);
    z-index: 300;
    background: rgba(8, 8, 16, 0.92);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border: 1px solid rgba(212, 160, 74, 0.08);
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 24px 20px 18px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.ss-info-panel.active { right: 0; }

.ss-info-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(99,102,241,0.008) 3px,
        rgba(99,102,241,0.008) 6px
    );
    border-radius: inherit;
    z-index: -1;
}

.ss-info-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(232, 228, 220, 0.25);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    z-index: 2;
}
.ss-info-close:hover {
    color: var(--text-primary, #e8e4dc);
    transform: rotate(90deg);
}

/* Flashcard internals */
.flashcard-body { position: relative; }

.fc-glyph {
    font-size: 52px;
    line-height: 1;
    text-align: center;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 18px rgba(212,160,74,0.3));
}
.fc-glyph[data-type="terrestrial"] { color: var(--glow-teal, #2dd4a8); filter: drop-shadow(0 0 18px rgba(45,212,168,0.3)); }
.fc-glyph[data-type="gas-giant"]   { color: var(--glow-amber, #d4a04a); }
.fc-glyph[data-type="ice-giant"]   { color: var(--glow-indigo, #6366f1); filter: drop-shadow(0 0 18px rgba(99,102,241,0.3)); }
.fc-glyph[data-type="home"]        { color: var(--glow-sky, #38bdf8); filter: drop-shadow(0 0 18px rgba(56,189,248,0.3)); }

.fc-name {
    font-family: var(--font-display, 'Cinzel', serif);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary, #e8e4dc);
    text-align: center;
    margin-bottom: 2px;
}

.fc-vedic {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(212, 160, 74, 0.5);
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.fc-badge {
    display: block;
    text-align: center;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin: 0 auto 12px;
    padding: 2px 14px;
    border-radius: 4px;
    width: fit-content;
    color: var(--bg-primary, #0a0a0f);
    background: linear-gradient(135deg, var(--glow-amber, #d4a04a), var(--glow-copper, #c87533));
}
.fc-badge[data-type="terrestrial"] { background: linear-gradient(135deg, var(--glow-teal, #2dd4a8), #1a9a7a); }
.fc-badge[data-type="gas-giant"]   { background: linear-gradient(135deg, var(--glow-amber, #d4a04a), var(--glow-copper, #c87533)); }
.fc-badge[data-type="ice-giant"]   { background: linear-gradient(135deg, var(--glow-indigo, #6366f1), var(--glow-violet, #8b5cf6)); }
.fc-badge[data-type="home"]        { background: linear-gradient(135deg, var(--glow-sky, #38bdf8), #2255aa); }
.fc-badge[data-type="star"]        { background: linear-gradient(135deg, #ff6600, #ffcc00); }
.fc-badge[data-type="satellite"]   { background: linear-gradient(135deg, #8899aa, #667788); }
.fc-badge[data-type="asteroid"]    { background: linear-gradient(135deg, #887755, #665533); }
.fc-glyph[data-type="star"]        { color: #ffcc00; text-shadow: 0 0 20px #ff6600, 0 0 40px #ff4400; }
.fc-glyph[data-type="satellite"]   { color: #aabbcc; text-shadow: 0 0 12px rgba(136,170,204,0.4); font-size: 2rem; }
.fc-glyph[data-type="asteroid"]    { color: #bb9966; text-shadow: 0 0 12px rgba(187,153,102,0.3); font-size: 2rem; }

.fc-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glow-amber, #d4a04a), transparent);
    margin: 0 auto 14px;
    opacity: 0.35;
}

/* Astro / Horoscopic grid */
.fc-astro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.fc-astro-item {
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.06);
    border-radius: 8px;
    padding: 7px 10px;
    transition: border-color 0.3s;
}
.fc-astro-item:hover { border-color: rgba(99, 102, 241, 0.15); }

.fc-astro-label {
    display: block;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(139, 92, 246, 0.4);
    margin-bottom: 2px;
}

.fc-astro-value {
    display: block;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: rgba(139, 92, 246, 0.75);
}

.fc-astro-desc {
    font-size: 11.5px;
    line-height: 1.7;
    color: rgba(232, 228, 220, 0.4);
    margin-bottom: 14px;
    font-style: italic;
}

/* Stats grid */
.fc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
}

.fc-stat {
    background: rgba(212, 160, 74, 0.03);
    border: 1px solid rgba(212, 160, 74, 0.05);
    border-radius: 8px;
    padding: 7px 10px;
    transition: border-color 0.3s;
}
.fc-stat:hover { border-color: rgba(212, 160, 74, 0.15); }

.fc-stat-label {
    display: block;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(232, 228, 220, 0.25);
    margin-bottom: 2px;
}

.fc-stat-value {
    display: block;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--glow-amber, #d4a04a);
}

/* Flashcard actions */
.fc-actions {
    text-align: center;
}

.fc-actions .ss-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 6px;
    border: 1px solid rgba(45,212,168,0.12);
    background: rgba(45,212,168,0.04);
    color: var(--glow-teal, #2dd4a8);
    cursor: pointer;
    transition: all 0.25s ease;
}

.fc-actions .ss-btn:hover {
    background: rgba(45,212,168,0.1);
    border-color: rgba(45,212,168,0.25);
    box-shadow: 0 0 18px rgba(45,212,168,0.08);
}

/* ── Milankovitch Cycle Cards ── */
.fc-section-title {
    font-family: var(--font-display, 'Cinzel', serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--glow-amber, #d4a04a);
    text-align: center;
    margin-bottom: 8px;
    opacity: 0.85;
}

.fc-cycles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fc-cycle-item {
    background: rgba(212,160,74,0.04);
    border: 1px solid rgba(212,160,74,0.1);
    border-radius: 6px;
    padding: 6px 8px;
}

.fc-cycle-name {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--glow-amber, #d4a04a);
}

.fc-cycle-period {
    font-family: var(--font-mono, 'Rajdhani', sans-serif);
    font-size: 9px;
    color: rgba(232,228,220,0.5);
    margin-left: 8px;
    letter-spacing: 1px;
}

.fc-cycle-range {
    display: block;
    font-family: var(--font-mono, 'Rajdhani', sans-serif);
    font-size: 9px;
    color: rgba(45,212,168,0.7);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.fc-cycle-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 9px;
    line-height: 1.5;
    color: rgba(232,228,220,0.4);
    margin: 3px 0 0;
}

.ss-telem-warp {
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--glow-teal, #2dd4a8) !important;
}


/* ==============================================
   TIME CONTROL BAR (real-time + warp)
   ============================================== */
.ss-time-ctrl {
    position: fixed;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    border-radius: 10px;
    background: rgba(8, 8, 18, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(99,102,241,0.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.tc-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Transport buttons */
.tc-btn {
    font-family: inherit;
    font-size: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(99,102,241,0.1);
    color: rgba(232,228,220,0.55);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.tc-btn:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.25);
    color: rgba(232,228,220,0.85);
}

.tc-btn--live {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 10px;
    color: var(--glow-teal, #2dd4a8);
    border-color: rgba(45,212,168,0.15);
}

.tc-btn--live:hover {
    background: rgba(45,212,168,0.1);
    border-color: rgba(45,212,168,0.3);
}

.tc-btn--pause {
    font-size: 13px;
}

/* Date display */
.tc-date-display {
    gap: 8px;
    padding: 0 8px;
    border-left: 1px solid rgba(99,102,241,0.08);
    border-right: 1px solid rgba(99,102,241,0.08);
}

.tc-warp-badge {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(45,212,168,0.08);
    color: var(--glow-teal, #2dd4a8);
    border: 1px solid rgba(45,212,168,0.12);
}

.tc-warp-badge.tc-live {
    background: rgba(45,212,168,0.12);
    color: var(--glow-teal, #2dd4a8);
    box-shadow: 0 0 8px rgba(45,212,168,0.15);
}

.tc-warp-badge.tc-rew {
    background: rgba(244,63,94,0.08);
    color: var(--glow-rose, #f43f5e);
    border-color: rgba(244,63,94,0.15);
}

.tc-date {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(232,228,220,0.65);
    letter-spacing: 0.5px;
    min-width: 130px;
    text-align: center;
}

.tc-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--glow-teal, #2dd4a8);
    opacity: 0;
    transition: opacity 0.3s;
}

.tc-live-dot.tc-active {
    opacity: 1;
    animation: tc-pulse 1.5s ease-in-out infinite;
}

@keyframes tc-pulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px rgba(45,212,168,0.3); }
    50%      { opacity: 1;   box-shadow: 0 0 10px rgba(45,212,168,0.5); }
}

/* Jump-to-date */
.tc-jump {
    gap: 5px;
}

.tc-jump-label {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(99,102,241,0.4);
    cursor: pointer;
}

.tc-date-input {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(232,228,220,0.55);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 4px;
    padding: 3px 6px;
    outline: none;
    width: 105px;
    color-scheme: dark;
}

.tc-date-input:focus {
    border-color: rgba(99,102,241,0.25);
    background: rgba(99,102,241,0.06);
}


/* ==============================================
   HUD (enhanced mission-control)
   ============================================== */
.ss-hud {
    position: fixed;
    bottom: 42px;
    left: 230px;
    right: 24px;
    z-index: 150;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.ss-hud-label {
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.3);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ss-hud-label svg {
    width: 13px;
    height: 13px;
    opacity: 0.5;
    color: var(--glow-amber, #d4a04a);
}

.ss-hud-hint {
    font-size: 10px;
    color: rgba(232, 228, 220, 0.2);
    letter-spacing: 0.5px;
}

.ss-hud-coord {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: rgba(99, 102, 241, 0.35);
    letter-spacing: 1px;
}


/* ==============================================
   SANSKRIT FOOTER STRIP
   ============================================== */
.footer-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    border-top: 1px solid rgba(212, 160, 74, 0.1);
    background: linear-gradient(180deg,
        rgba(10, 10, 14, 0.85) 0%,
        rgba(10, 10, 14, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.footer-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(212, 160, 74, 0.15),
        rgba(139, 92, 246, 0.1),
        rgba(45, 212, 168, 0.08),
        transparent);
}

.footer-strip-inner {
    padding: 6px 0;
}

.sanskrit-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

.sanskrit-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: sanskrit-scroll 80s linear infinite;
    will-change: transform;
}

.sanskrit-quote {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(212, 160, 74, 0.4);
    padding: 0 10px;
    transition: color 0.4s ease;
}

.sanskrit-sep {
    color: rgba(139, 92, 246, 0.2);
    font-size: 7px;
    padding: 0 5px;
    vertical-align: middle;
}

.footer-strip:hover .sanskrit-quote {
    color: rgba(212, 160, 74, 0.65);
}

.footer-strip:hover .sanskrit-sep {
    color: rgba(139, 92, 246, 0.35);
}

.footer-strip:hover .sanskrit-marquee-track {
    animation-play-state: paused;
}


/* ==============================================
   LOADING (orbital animation)
   ============================================== */
.ss-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary, #0a0a0f);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.ss-loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ss-loading-inner { text-align: center; }

.ss-loading-orbit {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.ss-loading-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffeedd 0%, #d4a04a 50%, #c87533 100%);
    box-shadow: 0 0 20px rgba(212,160,74,0.5), 0 0 40px rgba(212,160,74,0.2);
}

.ss-loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ss-loading-ring--1 {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-color: rgba(212,160,74,0.12);
    border-top-color: var(--glow-amber, #d4a04a);
    animation: ssLoadOrbit 1.2s linear infinite;
}

.ss-loading-ring--2 {
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-color: rgba(99,102,241,0.08);
    border-top-color: var(--glow-indigo, #6366f1);
    animation: ssLoadOrbit 1.8s linear infinite reverse;
}

.ss-loading-ring--3 {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-color: rgba(45,212,168,0.06);
    border-top-color: rgba(45,212,168,0.3);
    animation: ssLoadOrbit 2.5s linear infinite;
}

.ss-loading-text {
    font-family: var(--font-display, 'Cinzel', serif);
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--glow-amber, #d4a04a);
    margin-bottom: 8px;
}

.ss-loading-sub {
    font-size: 11px;
    color: rgba(232, 228, 220, 0.25);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.ss-loading-bar {
    width: 160px;
    height: 2px;
    border-radius: 1px;
    background: rgba(212,160,74,0.08);
    margin: 0 auto;
    overflow: hidden;
}

.ss-loading-bar-fill {
    width: 40%;
    height: 100%;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--glow-amber, #d4a04a), var(--glow-copper, #c87533));
    animation: ssLoadBar 1.5s ease-in-out infinite;
}


/* ==============================================
   PLANET LABELS (floating in 3D space)
   ============================================== */
.ss-planet-label {
    position: fixed;
    z-index: 50;
    pointer-events: none;
    font-family: var(--font-ui, 'Rajdhani', sans-serif);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(232, 228, 220, 0.45);
    text-shadow: 0 0 10px rgba(0,0,0,0.9);
    transform: translate(-50%, -100%);
    white-space: nowrap;
    padding-bottom: 4px;
}

.ss-planet-label::after {
    content: '';
    display: block;
    width: 1px;
    height: 8px;
    background: linear-gradient(180deg, rgba(212,160,74,0.25), transparent);
    margin: 2px auto 0;
}


/* ==============================================
   KEYFRAMES
   ============================================== */
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

@keyframes ssLoadOrbit {
    to { transform: rotate(360deg); }
}

@keyframes ssLoadBar {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes sanskrit-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ==============================================
   SCROLLBAR (matches theme)
   ============================================== */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212,160,74,0.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,160,74,0.4); }


/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
    .ss-telemetry { display: none; }
}

@media (max-width: 768px) {
    .ss-nav-center { display: none; }
    .ss-nav-link { display: none; }

    .ss-quicknav {
        padding: 4px 8px;
        gap: 1px;
    }
    .ss-quicknav-label { display: none; }
    .ss-qn-glyph { font-size: 14px; }
    .ss-qn-divider { height: 14px; }

    .ss-info-panel {
        width: 100%;
        right: 0;
        top: auto;
        bottom: -100%;
        max-height: 60vh;
        border-radius: 16px 16px 0 0;
        border: 1px solid rgba(212, 160, 74, 0.1);
        border-bottom: none;
        transition: bottom 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .ss-info-panel.active { bottom: 32px; right: 0; }

    .ss-frame { display: none; }

    .ss-hud-hint { font-size: 9px; }

    .ss-quantum-viewer { display: none; }

    .ss-time-ctrl {
        bottom: 48px;
        padding: 5px 10px;
        gap: 6px;
    }
    .tc-jump { display: none; }
    .tc-date { font-size: 10px; min-width: 110px; }
    .tc-btn { font-size: 12px; padding: 3px 6px; }

    .footer-strip-inner { padding: 5px 0; }
    .sanskrit-quote { font-size: 10px; padding: 0 7px; }
}

@media (max-width: 480px) {
    .ss-logo-text { display: none; }
    .ss-quicknav { display: none; }
    .ss-time-ctrl {
        bottom: 40px;
        padding: 4px 8px;
        gap: 4px;
    }
    .tc-date-display { padding: 0 4px; }
    .tc-warp-badge { display: none; }
}


/* ══════════════════════════════════════════
   GEO-ASTRO CORRELATION FEATURES
   ══════════════════════════════════════════ */

/* ── Zodiac Belt Labels ── */
.ss-zodiac-label {
    position: fixed;
    pointer-events: none;
    font-family: 'Rajdhani', sans-serif;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.ss-zodiac-label .zl-glyph {
    font-size: 14px;
    color: rgba(99, 102, 241, 0.65);
    text-shadow: 0 0 6px rgba(99, 102, 241, 0.3);
    line-height: 1;
}
.ss-zodiac-label .zl-name {
    font-size: 8px;
    letter-spacing: 0.5px;
    color: rgba(99, 102, 241, 0.4);
    font-family: 'Noto Sans Devanagari', 'Rajdhani', sans-serif;
    white-space: nowrap;
}

/* ── Lagrange Point Labels ── */
.ss-lagrange-label {
    position: fixed;
    pointer-events: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(45, 212, 168, 0.75);
    text-shadow: 0 0 8px rgba(45, 212, 168, 0.3);
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.4s ease;
    background: rgba(45, 212, 168, 0.06);
    border: 1px solid rgba(45, 212, 168, 0.15);
    border-radius: 3px;
    padding: 1px 5px;
}

/* ── Season / Equinox Labels ── */
.ss-season-label {
    position: fixed;
    pointer-events: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(212, 160, 74, 0.65);
    text-shadow: 0 0 6px rgba(212, 160, 74, 0.2);
    transform: translate(-50%, -100%);
    z-index: 10;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

/* ── Flashcard Geo Sections ── */
.fc-geo {
    padding: 2px 0 6px;
}
.fc-geo-item {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(232, 228, 220, 0.72);
    padding: 3px 0;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.fc-geo-item:last-child {
    border-bottom: none;
}
.fc-geo-note {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(45, 212, 168, 0.55);
    line-height: 1.5;
    margin: 6px 0 2px;
    font-style: italic;
}
.fc-geo-corr {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    color: rgba(99, 102, 241, 0.65);
    line-height: 1.6;
    margin: 4px 0 2px;
}


/* ═══════════════════════════════════════════
   MYTHOLOGY CARDS & HISTORY TIMELINE
   ═══════════════════════════════════════════ */

/* ── Mythology Grid ── */
.fc-myth-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.fc-myth-card {
    background: linear-gradient(135deg,
        rgba(212, 160, 74, 0.06) 0%,
        rgba(10, 10, 15, 0.5) 100%);
    border: 1px solid rgba(212, 160, 74, 0.1);
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.25s ease;
}
.fc-myth-card:hover {
    border-color: rgba(212, 160, 74, 0.3);
    background: linear-gradient(135deg,
        rgba(212, 160, 74, 0.1) 0%,
        rgba(10, 10, 15, 0.6) 100%);
    box-shadow: 0 0 16px rgba(212, 160, 74, 0.06);
}
.fc-myth-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.fc-myth-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.fc-myth-civ {
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(212, 160, 74, 0.65);
    text-transform: uppercase;
}
.fc-myth-deity {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(232, 228, 220, 0.85);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.fc-myth-lore {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* ── History Block ── */
.fc-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.fc-hist-block {
    background: rgba(99, 102, 241, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 5px;
    padding: 8px 10px;
}
.fc-hist-label {
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(99, 102, 241, 0.55);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.fc-hist-text {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}
.fc-hist-legacy {
    color: rgba(45, 212, 168, 0.5);
    font-style: italic;
}

/* ── Exploration Timeline ── */
.fc-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 6px;
    position: relative;
    padding-left: 2px;
}
.fc-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(212, 160, 74, 0.3),
        rgba(45, 212, 168, 0.3));
}
.fc-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    position: relative;
}
.fc-tl-year {
    font-family: 'Rajdhani', monospace;
    font-size: 12px;
    font-weight: 700;
    color: rgba(212, 160, 74, 0.8);
    min-width: 40px;
    text-align: right;
    flex-shrink: 0;
    position: relative;
}
.fc-tl-year::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(212, 160, 74, 0.6);
    box-shadow: 0 0 6px rgba(212, 160, 74, 0.3);
}
.fc-tl-body {
    flex: 1;
    padding-left: 4px;
}
.fc-tl-mission {
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    font-weight: 600;
    color: rgba(232, 228, 220, 0.75);
    letter-spacing: 0.3px;
}
.fc-tl-detail {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
    margin-top: 2px;
}


/* ══════════════════════════════════════════
   NASA EYES-INSPIRED FEATURES
   Hover tooltip · AU labels · Mini-map
   Search bar · Tracking badge · Distance HUD
   ══════════════════════════════════════════ */

/* ── HOVER TOOLTIP ─────────────────────── */
.ss-hover-tooltip {
    position: fixed;
    z-index: 800;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(8, 12, 28, 0.92), rgba(12, 18, 38, 0.88));
    border: 1px solid rgba(68, 170, 255, 0.35);
    border-radius: 6px;
    padding: 8px 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 8px rgba(68, 170, 255, 0.12);
    max-width: 220px;
    font-family: 'Rajdhani', sans-serif;
}
.htt-name {
    font-size: 14px;
    font-weight: 600;
    color: #e8e4dc;
    letter-spacing: 0.5px;
}
.htt-badge {
    font-size: 9px;
    font-weight: 700;
    color: rgba(68, 170, 255, 0.75);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 2px 0 4px;
}
.htt-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: rgba(45, 212, 168, 0.85);
    font-family: 'Rajdhani', monospace;
}

/* ── AU DISTANCE LABELS ────────────────── */
.ss-au-label {
    position: fixed;
    z-index: 200;
    pointer-events: none;
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    font-weight: 500;
    color: rgba(68, 136, 204, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(68, 136, 204, 0.3);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* ── QUANTUM ATOM VIEWER ───────────────── */
.ss-quantum-viewer {
    position: fixed;
    bottom: 46px;
    left: 20px;
    z-index: 170;
    width: 190px;
    border: 1px solid rgba(99, 102, 241, 0.10);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(5, 5, 16, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    transition: opacity 0.4s, transform 0.4s, height 0.4s;
    transform-origin: bottom left;
}
.ss-quantum-viewer.collapsed {
    height: 28px !important;
    opacity: 0.6;
    overflow: hidden;
}
.ss-quantum-viewer.collapsed .ss-qv-canvas-wrap,
.ss-quantum-viewer.collapsed .ss-qv-phil {
    opacity: 0;
    pointer-events: none;
}
.ss-quantum-viewer:hover {
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow: 0 2px 20px rgba(99, 102, 241, 0.08);
}
.ss-qv-canvas-wrap {
    width: 190px;
    height: 190px;
    position: relative;
    transition: opacity 0.3s;
}
.ss-qv-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.ss-qv-title {
    position: relative;
    z-index: 2;
    padding: 5px 0 2px;
    font-family: 'Rajdhani', monospace;
    font-size: 8px;
    font-weight: 600;
    color: rgba(99, 102, 241, 0.45);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}
.ss-qv-phil {
    padding: 6px 10px 10px;
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    font-size: 9px;
    line-height: 1.55;
    color: rgba(200, 196, 188, 0.55);
    text-align: center;
    letter-spacing: 0.3px;
    transition: opacity 0.4s;
    min-height: 36px;
}
.ss-qv-phil .qv-sanskrit {
    display: block;
    font-size: 10px;
    color: rgba(212, 160, 74, 0.5);
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}
.ss-qv-toggle {
    position: absolute;
    top: 3px;
    right: 6px;
    z-index: 3;
    background: none;
    border: none;
    color: rgba(99, 102, 241, 0.5);
    font-size: 13px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.3s;
}
.ss-qv-toggle:hover {
    color: rgba(99, 102, 241, 0.85);
}

/* ── SEARCH BAR ────────────────────────── */
.ss-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.ss-search-input {
    width: 140px;
    padding: 5px 10px 5px 28px;
    background: rgba(8, 12, 28, 0.75);
    border: 1px solid rgba(68, 170, 255, 0.25);
    border-radius: 4px;
    color: #e8e4dc;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s, width 0.3s;
}
.ss-search-input:focus {
    border-color: rgba(68, 170, 255, 0.6);
    width: 180px;
    background: rgba(8, 12, 28, 0.9);
}
.ss-search-input::placeholder {
    color: rgba(232, 228, 220, 0.3);
    font-style: italic;
}
.ss-search-icon {
    position: absolute;
    left: 8px;
    font-size: 12px;
    opacity: 0.4;
    pointer-events: none;
}
.ss-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: rgba(8, 12, 28, 0.95);
    border: 1px solid rgba(68, 170, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    z-index: 900;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ssr-item {
    padding: 8px 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    color: #e8e4dc;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
}
.ssr-item:hover {
    background: rgba(68, 170, 255, 0.15);
}
.ssr-item:last-child {
    border-bottom: none;
}

/* ── TRACKING BADGE ────────────────────── */
.ss-tracking-badge {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 10px;
    background: linear-gradient(135deg, rgba(68, 170, 255, 0.15), rgba(8, 12, 28, 0.85));
    border: 1px solid rgba(68, 170, 255, 0.4);
    border-radius: 20px;
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    font-weight: 700;
    color: rgba(68, 170, 255, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(68, 170, 255, 0.15);
    animation: trackPulse 2s infinite;
}
.tb-icon {
    color: #44aaff;
    font-size: 14px;
    animation: trackDot 1.5s infinite;
}
.tb-name {
    color: #e8e4dc;
    font-weight: 600;
}
.tb-stop {
    background: none;
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: rgba(244, 63, 94, 0.8);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: all 0.2s;
}
.tb-stop:hover {
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.7);
}
@keyframes trackPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(68, 170, 255, 0.15); }
    50%      { box-shadow: 0 2px 20px rgba(68, 170, 255, 0.3); }
}
@keyframes trackDot {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* ── DISTANCE HUD ──────────────────────── */
.ss-dist-hud {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: rgba(8, 12, 28, 0.8);
    border: 1px solid rgba(68, 170, 255, 0.2);
    border-radius: 4px;
    font-family: 'Rajdhani', monospace;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.dh-name {
    font-size: 13px;
    font-weight: 600;
    color: #e8e4dc;
    letter-spacing: 0.5px;
}
.dh-val {
    font-size: 12px;
    color: rgba(45, 212, 168, 0.85);
    letter-spacing: 0.5px;
}

/* ── FOLLOW BUTTON ─────────────────────── */
.ss-btn--track {
    background: linear-gradient(135deg, rgba(68, 170, 255, 0.15), rgba(68, 170, 255, 0.05)) !important;
    border-color: rgba(68, 170, 255, 0.4) !important;
    color: rgba(68, 170, 255, 0.9) !important;
}
.ss-btn--track:hover {
    background: linear-gradient(135deg, rgba(68, 170, 255, 0.25), rgba(68, 170, 255, 0.1)) !important;
    border-color: rgba(68, 170, 255, 0.6) !important;
}


/* ═══════════════════════════════════════════════
   NASA LIVE DATA PANEL
   ═══════════════════════════════════════════════ */

/* ── Toggle Button ── */
.ss-nasa-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 180;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: linear-gradient(135deg, rgba(212, 160, 74, 0.12), rgba(10, 10, 15, 0.85));
    border: 1px solid rgba(212, 160, 74, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ss-nasa-toggle:hover {
    background: linear-gradient(135deg, rgba(212, 160, 74, 0.22), rgba(10, 10, 15, 0.9));
    border-color: rgba(212, 160, 74, 0.6);
    box-shadow: 0 0 20px rgba(212, 160, 74, 0.15);
}
.ss-nasa-toggle.active {
    border-color: rgba(45, 212, 168, 0.5);
    background: linear-gradient(135deg, rgba(45, 212, 168, 0.12), rgba(10, 10, 15, 0.88));
}
.ss-nasa-toggle-icon {
    font-size: 20px;
    color: #d4a04a;
    text-shadow: 0 0 8px rgba(212, 160, 74, 0.5);
    animation: nasaPulse 2s ease-in-out infinite;
}
.ss-nasa-toggle.active .ss-nasa-toggle-icon {
    color: #2dd4a8;
    text-shadow: 0 0 8px rgba(45, 212, 168, 0.5);
}
.ss-nasa-toggle-label {
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(212, 160, 74, 0.7);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}
.ss-nasa-toggle.active .ss-nasa-toggle-label {
    color: rgba(45, 212, 168, 0.7);
}

@keyframes nasaPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ── Main Panel ── */
.ss-nasa-panel {
    position: fixed;
    right: -380px;
    top: 64px;
    bottom: 48px;
    width: 360px;
    z-index: 175;
    background: linear-gradient(180deg,
        rgba(8, 8, 18, 0.95) 0%,
        rgba(5, 5, 16, 0.97) 100%);
    border-left: 1px solid rgba(212, 160, 74, 0.2);
    border-radius: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.ss-nasa-panel.open {
    right: 0;
}

/* ── Panel Header ── */
.ss-nasa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(90deg,
        rgba(212, 160, 74, 0.08) 0%,
        rgba(10, 10, 15, 0.6) 100%);
    border-bottom: 1px solid rgba(212, 160, 74, 0.15);
    flex-shrink: 0;
}
.ss-nasa-logo {
    font-size: 18px;
    color: #d4a04a;
    text-shadow: 0 0 10px rgba(212, 160, 74, 0.6);
    animation: nasaPulse 2s ease-in-out infinite;
}
.ss-nasa-title {
    font-family: 'Rajdhani', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(212, 160, 74, 0.9);
    flex: 1;
}
.ss-nasa-status {
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(45, 212, 168, 0.1);
    border: 1px solid rgba(45, 212, 168, 0.3);
    color: rgba(45, 212, 168, 0.8);
}
.ss-nasa-status.error {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
    color: rgba(244, 63, 94, 0.8);
}
.ss-nasa-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ss-nasa-close:hover {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.4);
    color: rgba(244, 63, 94, 0.8);
}

/* ── Panel Body (scrollable) ── */
.ss-nasa-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 160, 74, 0.2) transparent;
}
.ss-nasa-body::-webkit-scrollbar {
    width: 4px;
}
.ss-nasa-body::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 74, 0.25);
    border-radius: 2px;
}

/* ── Section Blocks ── */
.ss-nasa-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ss-nasa-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(212, 160, 74, 0.75);
    background: rgba(212, 160, 74, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: default;
    user-select: none;
}
.ns-icon {
    font-size: 14px;
}
.ns-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4a8;
    box-shadow: 0 0 6px rgba(45, 212, 168, 0.6);
    animation: nasaPulse 1.5s ease-in-out infinite;
    margin-left: auto;
}
.ns-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: rgba(244, 63, 94, 0.85);
}
.ns-content {
    padding: 8px 16px 12px;
}
.ns-loading {
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
    padding: 8px 0;
    animation: nsLoadBlink 1.2s ease-in-out infinite;
}
@keyframes nsLoadBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ── NEO Cards ── */
.ns-neo-card {
    background: linear-gradient(135deg,
        rgba(244, 63, 94, 0.06) 0%,
        rgba(10, 10, 15, 0.4) 100%);
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 6px;
    transition: all 0.2s;
    cursor: pointer;
}
.ns-neo-card:hover {
    border-color: rgba(244, 63, 94, 0.35);
    background: linear-gradient(135deg,
        rgba(244, 63, 94, 0.12) 0%,
        rgba(10, 10, 15, 0.5) 100%);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.08);
}
.ns-neo-card.hazardous {
    border-color: rgba(244, 63, 94, 0.3);
    background: linear-gradient(135deg,
        rgba(244, 63, 94, 0.1) 0%,
        rgba(10, 10, 15, 0.5) 100%);
}
.ns-neo-name {
    font-family: 'Rajdhani', monospace;
    font-size: 12px;
    font-weight: 600;
    color: rgba(232, 228, 220, 0.85);
    letter-spacing: 0.5px;
}
.ns-neo-hazard {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    background: rgba(244, 63, 94, 0.2);
    color: rgba(244, 63, 94, 0.9);
    margin-left: 6px;
    letter-spacing: 0.8px;
}
.ns-neo-stats {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}
.ns-neo-stats span {
    color: rgba(45, 212, 168, 0.7);
}

/* ── ISS Section ── */
.ns-iss-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.ns-iss-stat {
    background: rgba(68, 170, 255, 0.05);
    border: 1px solid rgba(68, 170, 255, 0.1);
    border-radius: 5px;
    padding: 6px 8px;
    text-align: center;
}
.ns-iss-stat-label {
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(68, 170, 255, 0.5);
    font-weight: 600;
}
.ns-iss-stat-value {
    font-family: 'Rajdhani', monospace;
    font-size: 14px;
    font-weight: 700;
    color: rgba(68, 170, 255, 0.9);
    letter-spacing: 0.5px;
}
.ns-iss-crew {
    margin-top: 6px;
    padding: 6px 8px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 5px;
}
.ns-iss-crew-label {
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(99, 102, 241, 0.5);
    font-weight: 600;
    margin-bottom: 3px;
}
.ns-iss-crew-list {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ── Space Weather ── */
.ns-weather-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 4px;
    background: rgba(212, 160, 74, 0.04);
    border: 1px solid rgba(212, 160, 74, 0.08);
    border-radius: 5px;
}
.ns-weather-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.ns-weather-info {
    flex: 1;
    min-width: 0;
}
.ns-weather-type {
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    font-weight: 600;
    color: rgba(212, 160, 74, 0.8);
    letter-spacing: 0.5px;
}
.ns-weather-detail {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}
.ns-weather-time {
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    color: rgba(45, 212, 168, 0.55);
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.ns-weather-summary {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}
.ns-weather-pill {
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(212, 160, 74, 0.08);
    border: 1px solid rgba(212, 160, 74, 0.15);
    color: rgba(212, 160, 74, 0.7);
}
.ns-weather-pill.active {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.3);
    color: rgba(244, 63, 94, 0.85);
}

/* ── EPIC Earth ── */
.ns-epic-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(45, 212, 168, 0.15);
    margin-bottom: 6px;
}
.ns-epic-img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) saturate(1.15);
    transition: filter 0.3s;
}
.ns-epic-img:hover {
    filter: contrast(1.2) saturate(1.3);
}
.ns-epic-meta {
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    color: rgba(45, 212, 168, 0.5);
    letter-spacing: 0.5px;
    text-align: center;
    padding: 2px 0;
}
.ns-epic-caption {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    line-height: 1.4;
}

/* ── APOD Section ── */
.ns-apod-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
    margin-bottom: 6px;
}
.ns-apod-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}
.ns-apod-img:hover {
    transform: scale(1.02);
}
.ns-apod-title {
    font-family: 'Rajdhani', monospace;
    font-size: 12px;
    font-weight: 600;
    color: rgba(99, 102, 241, 0.85);
    letter-spacing: 0.5px;
    margin-top: 6px;
}
.ns-apod-date {
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}
.ns-apod-desc {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
    margin-top: 6px;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── No-data fallback ── */
.ns-nodata {
    font-family: 'Rajdhani', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 12px 0;
    letter-spacing: 0.5px;
}

/* ── 3D object labels — ISS ── */
.ss-iss-label {
    position: absolute;
    pointer-events: none;
    font-family: 'Rajdhani', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(68, 170, 255, 0.9);
    text-shadow: 0 0 8px rgba(68, 170, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    z-index: 50;
}
.ss-neo-label {
    position: absolute;
    pointer-events: none;
    font-family: 'Rajdhani', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(244, 63, 94, 0.8);
    text-shadow: 0 0 6px rgba(244, 63, 94, 0.4), 0 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    z-index: 50;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ss-nasa-panel {
        width: 100%;
        right: -100%;
        top: 56px;
        bottom: 40px;
    }
    .ss-nasa-toggle {
        right: 8px;
        top: auto;
        bottom: 90px;
        transform: none;
        flex-direction: row;
        padding: 6px 10px;
    }
    .ss-nasa-toggle-label {
        writing-mode: horizontal-tb;
        text-orientation: initial;
    }
}


/* ══════════════════════════════════════════════════════════════
   DARK SIDE MYSTERY — "The Selene Anomaly" — Phase 29
   Hidden Easter egg panel for Moon's far side
   ══════════════════════════════════════════════════════════════ */

/* ── Mystery Glyph ── */
.dark-side-glyph {
    font-size: 2.4rem !important;
    color: #6366f1 !important;
    text-shadow:
        0 0 20px rgba(99, 102, 241, 0.8),
        0 0 40px rgba(99, 102, 241, 0.4),
        0 0 60px rgba(99, 102, 241, 0.2) !important;
    animation: ds-glyph-pulse 3s ease-in-out infinite;
}

@keyframes ds-glyph-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 40px rgba(99, 102, 241, 0.4); }
    50% { text-shadow: 0 0 30px rgba(99, 102, 241, 1), 0 0 60px rgba(99, 102, 241, 0.6), 0 0 80px rgba(45, 212, 168, 0.3); }
}

.dark-side-title {
    background: linear-gradient(90deg, #6366f1, #2dd4a8, #6366f1) !important;
    background-size: 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: ds-title-shift 4s linear infinite;
}

@keyframes ds-title-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.dark-side-badge {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(99, 102, 241, 0.25)) !important;
    border: 1px solid rgba(244, 63, 94, 0.5) !important;
    color: #f43f5e !important;
    letter-spacing: 2px !important;
    animation: ds-badge-flicker 2s steps(3) infinite;
}

@keyframes ds-badge-flicker {
    0%, 90% { opacity: 1; }
    92% { opacity: 0.3; }
    94% { opacity: 1; }
    96% { opacity: 0.5; }
    100% { opacity: 1; }
}

.dark-side-div {
    border-color: rgba(99, 102, 241, 0.2) !important;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent) !important;
}

/* ── Signal Pattern ── */
.dark-side-signal {
    padding: 10px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 6px;
    margin: 6px 0;
}

.ds-signal-label {
    font-family: 'Rajdhani', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f43f5e;
    margin-bottom: 6px;
    animation: ds-badge-flicker 1.5s steps(2) infinite;
}

.ds-signal-wave {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #2dd4a8;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 8px rgba(45, 212, 168, 0.5);
    animation: ds-wave-scroll 8s linear infinite;
}

@keyframes ds-wave-scroll {
    0%, 100% { text-shadow: 0 0 8px rgba(45, 212, 168, 0.5); }
    50% { text-shadow: 0 0 15px rgba(45, 212, 168, 0.8), 0 0 30px rgba(99, 102, 241, 0.3); }
}

.ds-frequency {
    font-family: 'Rajdhani', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.ds-blink {
    color: #f43f5e;
    animation: ds-blink-anim 1s steps(2) infinite;
}

@keyframes ds-blink-anim {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ── Discovery Log ── */
.dark-side-log {
    padding: 8px 0;
}

.ds-log-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ds-log-entry {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0 5px 10px;
    border-left: 2px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 4px;
    line-height: 1.4;
    transition: border-color 0.3s;
}

.ds-log-entry:hover {
    border-left-color: rgba(99, 102, 241, 0.6);
}

.ds-date {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #2dd4a8;
    margin-right: 6px;
    font-size: 0.65rem;
}

.ds-redacted {
    background: rgba(244, 63, 94, 0.15);
    color: rgba(244, 63, 94, 0.7);
    padding: 1px 3px;
    border-radius: 2px;
    text-decoration: line-through;
    text-decoration-color: rgba(244, 63, 94, 0.4);
}

/* ── Energy Readings ── */
.dark-side-readings {
    padding: 6px 0;
}

.ds-readings-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.ds-anom {
    color: #f43f5e !important;
    text-shadow: 0 0 6px rgba(244, 63, 94, 0.4);
}

/* ── Surface Inscriptions ── */
.dark-side-symbols {
    padding: 8px 0;
}

.ds-sym-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ds-symbols {
    font-size: 1.4rem;
    text-align: center;
    color: #d4a04a;
    letter-spacing: 6px;
    padding: 10px;
    background: rgba(212, 160, 74, 0.05);
    border: 1px solid rgba(212, 160, 74, 0.15);
    border-radius: 6px;
    text-shadow: 0 0 12px rgba(212, 160, 74, 0.5);
    animation: ds-sym-glow 4s ease-in-out infinite;
}

@keyframes ds-sym-glow {
    0%, 100% { text-shadow: 0 0 12px rgba(212, 160, 74, 0.5); }
    50% { text-shadow: 0 0 20px rgba(212, 160, 74, 0.8), 0 0 40px rgba(212, 160, 74, 0.3); }
}

.ds-sym-note {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

/* ── Decoded Message ── */
.dark-side-message {
    padding: 8px 0;
}

.ds-msg-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ds-msg-content {
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(45, 212, 168, 0.08));
    border-left: 3px solid rgba(99, 102, 241, 0.5);
    border-radius: 0 6px 6px 0;
    margin-bottom: 6px;
}

.ds-decoded {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    line-height: 1.8;
    animation: ds-decode-reveal 0.5s ease-out both;
}

.ds-decoded:nth-child(1) { animation-delay: 0.3s; }
.ds-decoded:nth-child(3) { animation-delay: 0.6s; }
.ds-decoded:nth-child(5) { animation-delay: 0.9s; }
.ds-decoded:nth-child(7) { animation-delay: 1.2s; }

@keyframes ds-decode-reveal {
    from { opacity: 0; transform: translateX(-10px); filter: blur(4px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.ds-msg-footer {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: right;
    font-style: italic;
}

/* ── Warning Footer ── */
.dark-side-footer {
    text-align: center;
    padding: 8px 0;
}

.ds-warn {
    font-family: 'Rajdhani', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f43f5e;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    animation: ds-badge-flicker 2.5s steps(4) infinite;
}

.ds-class {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.5;
    letter-spacing: 0.3px;
}