/* Timeline Styles - Modern Design */

/* Timeline-first: mini-map competes with dock; hide by default */
#mini-map {
    display: none;
}

/* Timeline Controls Bar */
.timeline-controls-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.15rem 2.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.timeline-zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-elevated);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.timeline-zoom-controls .btn-control {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
}

.timeline-zoom-controls #zoom-level {
    min-width: 3.5rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Timeline Scrubber */
.timeline-scrubber-container {
    flex: 1;
}

.timeline-scrubber {
    position: relative;
    width: 100%;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.scrubber-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.scrubber-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    cursor: grab;
    z-index: 10;
    transition: all var(--transition-fast);
}

.scrubber-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.scrubber-handle:active {
    cursor: grabbing;
}

.scrubber-preview {
    position: absolute;
    top: -2rem;
    transform: translateX(-50%);
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.timeline-scrubber:hover .scrubber-preview {
    opacity: 1;
}

.scrubber-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* ISS Tracker Panel - Right Column - Square Aspect Ratio */
.iss-tracker-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    opacity: 0.95;
}

.iss-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-elevated) 100%);
}

.iss-tracker-header h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Live Indicator */
.iss-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.iss-live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.iss-tracker-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.iss-context-note {
    color: var(--text-tertiary);
    font-size: 0.72rem;
    padding: 0.5rem 1.5rem 0.25rem;
    border-bottom: 1px dashed var(--border-subtle);
}

.iss-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.iss-stat-item {
    background: var(--bg-elevated);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.iss-stat-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.iss-stat-label {
    display: block;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.iss-stat-value {
    display: block;
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
}

.iss-map-main {
    width: 100%;
    flex: 1;
    min-height: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    margin-top: 1rem;
}

.timeline-container {
    padding: 2.25rem 2.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    height: calc(100vh - 380px);
    min-height: 460px;
    background: var(--bg-primary);
}

.timeline-and-panel {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
    padding: 0 2.5rem 0;
}

.selected-event-panel {
    height: calc(100vh - 380px);
    min-height: 460px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    overflow-y: auto;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.selected-event-header h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 650;
    margin: 0 0 0.35rem;
}

.selected-event-subtitle {
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

.selected-event-empty {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    padding: 1.25rem 0.25rem;
}

.selected-event-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin: 0.75rem 0 0.85rem;
    background: var(--bg-elevated);
}

.selected-event-title {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.selected-event-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.selected-event-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 650;
    margin-bottom: 0.6rem;
}

.selected-event-orbital-body {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.95rem;
}

.selected-event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.selected-event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.iss-dock {
    position: fixed;
    right: 1.5rem;
    top: 110px;
    bottom: auto;
    width: 340px;
    z-index: 120;
}

.iss-dock .iss-tracker-panel {
    aspect-ratio: auto;
    width: 100%;
    max-height: 70vh;
}

.timeline-wrapper {
    position: relative;
    height: 100%;
    min-width: 100%;
    cursor: grab;
}

.timeline-wrapper:active {
    cursor: grabbing;
}

.timeline-track {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(to bottom, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 50%, 
        var(--bg-primary) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

/* Timeline Scale */
.timeline-scale {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    z-index: 10;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.timeline-marker {
    position: absolute;
    height: 100%;
    width: 1px;
    background: var(--primary);
    opacity: 0.2;
}

.timeline-marker-label {
    position: absolute;
    top: 8px;
    left: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Event Markers - Modern Design */
.event-marker {
    position: absolute;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 20;
}

.event-marker:hover {
    transform: translateY(-2px) scale(1.05);
    z-index: 21;
}

.event-marker.focused {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    z-index: 22;
    border-radius: var(--radius-md);
}

.event-marker-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--bg-elevated);
    transition: all var(--transition-base);
    display: block;
}

.event-marker-thumbnail:hover {
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
    z-index: 30;
}

.event-marker-square {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.event-marker-square:hover {
    transform: scale(1.3);
    box-shadow: var(--shadow-md);
}

/* Color-coded markers by category - Subtle Modern Colors */
.marker-launch .event-marker-thumbnail {
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.marker-launch .event-marker-thumbnail:hover {
    border-color: #34d399;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.marker-launch .event-marker-square {
    background: var(--success);
    border-color: #34d399;
}

.marker-landing .event-marker-thumbnail {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.marker-landing .event-marker-thumbnail:hover {
    border-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.5);
}

.marker-landing .event-marker-square {
    background: var(--primary);
    border-color: var(--primary-hover);
}

.marker-probe .event-marker-thumbnail {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.marker-probe .event-marker-thumbnail:hover {
    border-color: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

.marker-probe .event-marker-square {
    background: var(--accent);
    border-color: var(--accent-hover);
}

.marker-crew .event-marker-thumbnail {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.marker-crew .event-marker-thumbnail:hover {
    border-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.marker-crew .event-marker-square {
    background: var(--primary);
    border-color: var(--primary-hover);
}

/* Marker size variations */
.marker-large .event-marker-thumbnail {
    width: 56px;
    height: 56px;
    border-width: 3px;
}

.marker-large .event-marker-square {
    width: 28px;
    height: 28px;
}

.marker-medium .event-marker-thumbnail {
    width: 52px;
    height: 52px;
}

.marker-medium .event-marker-square {
    width: 26px;
    height: 26px;
}

.marker-normal .event-marker-thumbnail {
    width: 48px;
    height: 48px;
}

.marker-normal .event-marker-square {
    width: 24px;
    height: 24px;
}

/* Subtle pulsing animation for important events */
.marker-important {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

.marker-important:hover {
    animation: none;
}

/* Category icons - Modern Design */
.category-icon {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--bg-elevated);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25;
    font-size: 10px;
    box-shadow: var(--shadow-sm);
}

.icon-rocket::before {
    content: '🚀';
}

.icon-landing::before {
    content: '🌙';
}

.icon-probe::before {
    content: '🛰️';
}

.icon-crew::before {
    content: '👨‍🚀';
}

/* Era markers */
.era-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
    z-index: 5;
}

.era-divider-label {
    position: absolute;
    top: 52px;
    left: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.375rem 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 6;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Map Modal */
.map-modal-content {
    max-width: 1200px;
}

.iss-stat {
    display: inline-block;
    margin: 0.5rem 1rem 0.5rem 0;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.iss-stat strong {
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: 600;
}

/* Mini-map - Modern Design */
.mini-map {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 300px;
    height: 60px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    z-index: 100;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.mini-map:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.mini-map-track {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    position: relative;
    border-radius: var(--radius-md);
}

.mini-map-viewport {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--primary);
    opacity: 0.4;
    border: 1px solid var(--primary-light);
    pointer-events: none;
    border-radius: var(--radius-md);
}

/* Image Gallery - Modern Design */
.image-gallery {
    margin-bottom: 1.5rem;
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.gallery-prev,
.gallery-next {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.gallery-counter {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.gallery-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-container img.active {
    opacity: 1;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.05);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Video Embeds */
.video-embed {
    margin: 1.5rem 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

/* Related Events */
.related-events {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.related-events h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.related-events ul {
    list-style: none;
    padding: 0;
}

.related-events li {
    margin-bottom: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.related-events li:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    transform: translateX(4px);
}

.related-events a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.related-events a:hover {
    color: var(--primary-hover);
}

/* Bookmark Button - Modern Design */
.bookmark-btn {
    position: absolute;
    top: 1.5rem;
    right: 4rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.bookmark-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.bookmark-btn.bookmarked {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.event-marker-tooltip {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    min-width: 200px;
    max-width: 300px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 30;
    box-shadow: var(--shadow-lg);
    white-space: normal;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.event-marker:hover .event-marker-tooltip {
    opacity: 1;
}

.event-marker-tooltip-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.event-marker-tooltip-date {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
}

.event-marker-tooltip-excerpt {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.event-marker-line {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 12px;
    background: var(--primary);
    opacity: 0.5;
}

/* Loading State */
.timeline-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--primary);
    font-size: 1.125rem;
    flex-direction: column;
    gap: 1.25rem;
}

.timeline-loading .loading-spinner {
    width: 50px;
    height: 50px;
    border-width: 4px;
}

/* Empty State */
.timeline-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-tertiary);
    font-size: 1rem;
}

/* Smooth marker animations */
.event-marker {
    animation: fadeIn 0.5s ease-out backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animation delays */
.event-marker:nth-child(1) { animation-delay: 0.05s; }
.event-marker:nth-child(2) { animation-delay: 0.1s; }
.event-marker:nth-child(3) { animation-delay: 0.15s; }
.event-marker:nth-child(4) { animation-delay: 0.2s; }
.event-marker:nth-child(5) { animation-delay: 0.25s; }
.event-marker:nth-child(n+6) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .timeline-container {
        padding: 1rem;
        height: calc(100vh - 320px);
    }

    .timeline-and-panel {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .selected-event-panel {
        display: none;
    }

    .iss-dock {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        top: auto;
    }
    
    .event-marker-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .event-marker-tooltip {
        min-width: 150px;
        max-width: 200px;
        font-size: 0.75rem;
    }
    
    .mini-map {
        width: 250px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    .timeline-controls-bar {
        padding: 1rem;
    }

    .iss-tracker-panel.mobile-collapsed .iss-tracker-content {
        display: none;
    }

    .iss-tracker-panel.mobile-collapsed .iss-context-note {
        display: none;
    }
}

/* ISS Orbit Line */
.iss-orbit-line {
    stroke-dasharray: 5, 10;
    animation: orbitPulse 3s ease-in-out infinite;
}

@keyframes orbitPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

.iss-orbit-label {
    pointer-events: none;
}

/* Touch support */
@media (hover: none) and (pointer: coarse) {
    .event-marker {
        touch-action: pan-y;
    }
    
    .timeline-wrapper {
        -webkit-overflow-scrolling: touch;
    }
    
    .btn-control,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        min-width: 44px;
    }
}
