.alert-danger {
    color: #a94442;
    font-weight: bold;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert .alert-success {
    color: #3c763d;
    font-weight: bold;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert-info {
    color: #31708f;
    font-weight: bold;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.alert-warning {
    color: #8a6d3b;
    font-weight: bold;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.dt-input { width: 60px }
#dt-search-0 { width: 250px }
/* Dashboard Styles */
.dashboard-hero {
    background: linear-gradient(135deg, #14532d 0%, #166534 60%, #15803d 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
    line-height: 1;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.quick-action-card {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76,175,80,0.4);
    color: white;
    text-decoration: none;
}

/* ── Log a Run card ── */
.log-run-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}
.log-run-context {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.log-run-nudge {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}
.log-run-detail {
    font-size: 0.875rem;
    color: #94a3b8;
}
.log-run-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #16a34a;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.log-run-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,163,74,0.4);
    color: white;
    text-decoration: none;
}

/* ── Sticky FAB ── */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(22,163,74,0.45);
    transition: all 0.2s ease;
}
.fab:hover {
    background: #15803d;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(22,163,74,0.55);
    color: white;
    text-decoration: none;
}

.feature-card {
    border-radius: 15px;
    padding: 1.75rem;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.feature-card:hover {
    transform: translateY(-4px);
    color: white;
    text-decoration: none;
}
.feature-card-blue {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(37,99,235,0.35);
}
.feature-card-blue:hover { box-shadow: 0 8px 28px rgba(37,99,235,0.45); }
.feature-card-teal {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    box-shadow: 0 4px 15px rgba(13,148,136,0.35);
}
.feature-card-teal:hover { box-shadow: 0 8px 28px rgba(13,148,136,0.45); }
.feature-card-orange {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    box-shadow: 0 4px 15px rgba(234,88,12,0.35);
}
.feature-card-orange:hover { box-shadow: 0 8px 28px rgba(234,88,12,0.45); }

.recent-runs-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.run-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.run-item:hover {
    background-color: #f8fafc;
}

.run-item:last-child {
    border-bottom: none;
}

.run-date {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.parks-badge {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.taunts-notification {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.welcome-message {
    position: relative;
    z-index: 1;
}

.progress-ring {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    fill: transparent;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.progress-ring-progress {
    fill: transparent;
    stroke: #4CAF50;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

/* Run Details Styles */
.run-hero {
    background: linear-gradient(135deg, #14532d 0%, #166534 60%, #15803d 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.run-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.park-item {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 10px rgba(76,175,80,0.3);
    transition: transform 0.2s ease;
}

.park-item:hover {
    transform: translateY(-2px);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(238,90,36,0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238,90,36,0.4);
    color: white;
    text-decoration: none;
}

.share-section {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
}

.share-btn.challenge { background: linear-gradient(45deg, #00b894, #00a085); }
.share-btn.copy { background: linear-gradient(45deg, #636e72, #2d3436); }
.share-btn.twitter { background: linear-gradient(45deg, #1da1f2, #0d8bd9); }
.share-btn.facebook { background: linear-gradient(45deg, #3b5998, #2d4373); }

.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.run-title {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-hero {
    background: linear-gradient(135deg, #14532d 0%, #166534 60%, #15803d 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.form-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #16a34a;
    background: white;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    min-height: 120px;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: #16a34a;
    background: white;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.file-upload-container {
    position: relative;
    display: inline-block;
}

.file-upload-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
    border: none;
}

.file-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

.file-name {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.submit-btn {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.form-grid.two-cols {
    grid-template-columns: 1fr 1fr;
}

.form-grid.full-width {
    grid-column: 1 / -1;
}

.hero-title {
    position: relative;
    z-index: 1;
}

.gpx-info {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Navigation Styles */
.nav-dropdown {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    margin-top: 0.5rem;
}

.nav-dropdown-item {
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: linear-gradient(45deg, #16a34a, #15803d);
    color: white;
    text-decoration: none;
}

.nav-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 0.5rem 0;
}

.nav-admin-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-admin-item {
    padding: 0.75rem 1rem;
    color: #dc2626;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-admin-item:hover {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 640px) {
    .form-grid.two-cols {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .dashboard-hero,
    .run-hero,
    .form-hero {
        padding: 1.5rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .share-buttons {
        gap: 0.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-logo {
        height: 2.5rem;
    }

    .nav-auth-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-auth-link {
        text-align: center;
        width: 100%;
    }
}

/* ── Dashboard v2 ── */

.db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.db-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #16a34a;
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.db-cta:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,163,74,0.4);
    color: white;
    text-decoration: none;
}

.db-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.db-stat {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.db-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #16a34a;
    border-radius: 1rem 1rem 0 0;
}

.db-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.db-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.db-stat-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.db-main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

.db-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
}

.db-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.db-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.db-card-body {
    padding: 1.25rem 1.5rem;
}

.db-run-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    transition: background 0.15s ease;
}
.db-run-row:last-child {
    border-bottom: none;
}
.db-run-row:hover {
    background: #f8fafc;
}

.db-run-date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.db-run-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 0.15rem;
}

.db-run-notes {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.db-count-badge {
    display: inline-flex;
    align-items: center;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
}

.db-park-tag {
    display: inline-block;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.db-overflow-tag {
    display: inline-block;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.db-parks-pill {
    display: inline-block;
    font-size: 0.75rem;
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    font-weight: 500;
}

.db-parks-pill-gpx {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.db-parks-pill-plain {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.db-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}

.db-progress-fill {
    height: 100%;
    background: #16a34a;
    border-radius: 99px;
    transition: width 0.5s ease;
}

.db-challenge-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8fafc;
}

.db-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .db-main-grid { grid-template-columns: 1fr; }
    .db-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .db-stats { grid-template-columns: repeat(2, 1fr); }
    .db-features { grid-template-columns: 1fr; }
}

/* ── Shared form styles ── */
.v2-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.375rem;
}
.v2-form-input {
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    width: 100%;
    color: #0f172a;
    font-size: 0.875rem;
    background: white;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.v2-form-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #16a34a;
}
.v2-form-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.375rem;
}
.v2-file-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #f8fafc;
}
.v2-file-upload:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}
.v2-file-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #16a34a;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.v2-file-label:hover { background: #15803d; }

/* ── Share buttons on run details ── */
.v2-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    color: white;
}
.v2-share-challenge { background: #16a34a; }
.v2-share-challenge:hover { background: #15803d; }
.v2-share-copy { background: #475569; }
.v2-share-copy:hover { background: #334155; }
.v2-share-twitter { background: #0f172a; }
.v2-share-twitter:hover { background: #1e293b; }
.v2-share-facebook { background: #1d4ed8; }
.v2-share-facebook:hover { background: #1e40af; }

/* ── Leaderboard table ── */
.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.v2-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}
.v2-table tr:last-child td { border-bottom: none; }
.v2-table tr:hover td { background: #f8fafc; }

/* ── Park card in unique parks grid ── */
.v2-park-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    background: white;
    transition: box-shadow 0.2s ease;
}
.v2-park-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }