/* ... existing content ... */

/* Mobile Earthquake Card Style (Shared) */
.earthquake-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05)); /* Default to glass/dark if var not set */
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: transform 0.1s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.earthquake-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.1);
}

.mag-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-location {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    margin-left: 8px;
}

/* Magnitude Colors for Card */
.bg-mag-low { background: var(--success); }
.bg-mag-mod { background: var(--accent); }
.bg-mag-high { background: var(--warning); }
.bg-mag-extreme { background: var(--danger); }
