/* ===== TABS ===== */
.tabs-container {
    display: flex;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin: 14px 16px 0;
    padding: 4px;
    gap: 4px;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    user-select: none;
}

.tab-item i {
    font-size: 12px;
}

.tab-item.active {
    background: var(--primary-gradient);
    color: var(--primary-ink);
    box-shadow: 0 6px 16px var(--primary-glow);
}

/* ===== MY REQUESTS SECTION ===== */
.my-requests-section {
    margin: 18px 16px 0;
    position: relative;
    display: none;
}

.my-requests-section.visible {
    display: block;
    animation: fadeUp 0.35s ease both;
}

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

.my-requests-glow-wrap {
    position: relative;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 176, 32, 0.7) 0%, rgba(245, 158, 11, 0.4) 40%, rgba(255, 210, 122, 0.65) 100%);
    box-shadow: 0 0 18px rgba(255, 176, 32, 0.22), 0 0 36px rgba(255, 176, 32, 0.08);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(255, 176, 32, 0.22), 0 0 36px rgba(255, 176, 32, 0.08); }
    50% { box-shadow: 0 0 26px rgba(255, 176, 32, 0.36), 0 0 52px rgba(255, 176, 32, 0.16); }
}

.my-requests-inner {
    background: var(--surface);
    border-radius: 20px;
    padding: 12px;
}

.my-req-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.my-req-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.my-req-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-soft);
    border: 1px solid rgba(255, 176, 32, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #B45309;
}

.my-req-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}

.my-req-count {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--primary);
    color: var(--primary-ink);
}

.my-req-see-all {
    font-size: 11.5px;
    font-weight: 700;
    color: #B45309;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.my-req-see-all:hover {
    color: var(--primary);
}

.my-req-see-all i {
    font-size: 9px;
}

.my-req-scroll-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.my-req-scroll-track::-webkit-scrollbar {
    display: none;
}

.my-req-mini-card {
    flex-shrink: 0;
    width: 140px;
    background: var(--bg-2);
    border: 1px solid rgba(255, 176, 32, 0.25);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.3s ease both;
    color: inherit;
    text-decoration: none;
}

.my-req-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 176, 32, 0.5), transparent);
}

.my-req-mini-card:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.mini-img-wrap {
    width: 100%;
    height: 48px;
    background: var(--surface);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

.mini-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.mini-img-wrap i {
    font-size: 18px;
}

.mini-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.mini-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mini-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px rgba(22, 163, 74, 0.55);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mini-status-text {
    font-size: 10px;
    color: var(--success);
    font-weight: 700;
}

/* ===== AD SLIDER ===== */
.ad-slider-outer {
    margin: 0 16px 12px;
    animation: fadeUp 0.3s ease both;
}

.ad-slider-wrap {
    border-radius: 20px;
    padding: 2px;
    position: relative;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.ad-slider-wrap.ad-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.45));
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.18), 0 0 40px rgba(59, 130, 246, 0.08);
}

.ad-slider-wrap.ad-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.5), rgba(22, 163, 74, 0.3), rgba(34, 197, 94, 0.45));
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.18), 0 0 40px rgba(34, 197, 94, 0.08);
}

.ad-slider-wrap.ad-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.55), rgba(234, 88, 12, 0.3), rgba(251, 146, 60, 0.5));
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.22), 0 0 40px rgba(249, 115, 22, 0.10);
}

.ad-slider-wrap.ad-purple {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(124, 58, 237, 0.3), rgba(167, 139, 250, 0.45));
    box-shadow: 0 0 18px rgba(167, 139, 250, 0.18), 0 0 40px rgba(167, 139, 250, 0.08);
}

.ad-slider-inner {
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
}

.ad-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-slide {
    min-width: 100%;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.ad-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.ad-blue .ad-slide::before { background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent); }
.ad-green .ad-slide::before { background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent); }
.ad-orange .ad-slide::before { background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.5), transparent); }
.ad-purple .ad-slide::before { background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent); }

.ad-icon-wrap {
    width: 46px;
    height: 57px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.ad-blue .ad-icon-wrap { background: rgba(59, 130, 246, 0.10); border: 1px solid rgba(59, 130, 246, 0.28); color: #3B82F6; }
.ad-green .ad-icon-wrap { background: rgba(34, 197, 94, 0.10); border: 1px solid rgba(34, 197, 94, 0.28); color: #16A34A; }
.ad-orange .ad-icon-wrap { background: rgba(249, 115, 22, 0.10); border: 1px solid rgba(249, 115, 22, 0.30); color: #EA580C; }
.ad-purple .ad-icon-wrap { background: rgba(167, 139, 250, 0.10); border: 1px solid rgba(167, 139, 250, 0.28); color: #7C3AED; }

.ad-body {
    flex: 1;
    min-width: 0;
}

.ad-pretitle {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.ad-blue .ad-pretitle { color: #3B82F6; }
.ad-green .ad-pretitle { color: #16A34A; }
.ad-orange .ad-pretitle { color: #EA580C; }
.ad-purple .ad-pretitle { color: #7C3AED; }

.ad-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-cta {
    flex-shrink: 0;
    padding: 7px 13px;
    border-radius: var(--r-sm);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    border: 1px solid transparent;
}

.ad-blue .ad-cta { background: rgba(59, 130, 246, 0.12); color: #3B82F6; border-color: rgba(59, 130, 246, 0.35); }
.ad-green .ad-cta { background: rgba(34, 197, 94, 0.12); color: #16A34A; border-color: rgba(34, 197, 94, 0.35); }
.ad-orange .ad-cta { background: rgba(249, 115, 22, 0.14); color: #EA580C; border-color: rgba(249, 115, 22, 0.35); }
.ad-purple .ad-cta { background: rgba(167, 139, 250, 0.12); color: #7C3AED; border-color: rgba(167, 139, 250, 0.35); }

.ad-tag-label {
    position: absolute;
    top: 9px;
    right: 11px;
    font-family: 'Inter', sans-serif;
    font-size: 8.5px;
    font-weight: 800;
    color: var(--text-subtle);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.ad-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px 0 5px;
}

.ad-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.ad-dot.active { width: 16px; border-radius: 3px; }

.ad-blue .ad-dot.active { background: #3B82F6; }
.ad-green .ad-dot.active { background: #16A34A; }
.ad-orange .ad-dot.active { background: #EA580C; }
.ad-purple .ad-dot.active { background: #7C3AED; }

/* ===== Filter groups visibility ===== */
.filter-group { display: none; }
.filter-group.active { display: flex; }

/* ===== Loader / empty / error ===== */
.loader {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}

.loader i { font-size: 22px; color: var(--primary); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 13.5px;
}

.empty-state .empty-icon { font-size: 32px; opacity: 0.35; margin-bottom: 12px; }
.error-state i { color: var(--danger); font-size: 24px; display: block; margin-bottom: 10px; }
.section-label { padding: 0 16px; margin: 16px 0 10px; }
.card-top-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .card-title { margin: 6px 0 3px; font-size: 15px; font-weight: 700; color: var(--text); }
.card .card-desc {
    color: var(--text-muted); font-size: 12.5px; line-height: 1.45; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
.card .card-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--text-subtle); }
.card .card-meta i { margin-right: 4px; }

/* 🚀 PAID BADGE & HIGHLIGHT CSS */
.paid-badge {
    background: var(--success-soft);
    color: var(--success);
    padding: 3px 8px;
    border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card.paid-highlight {
    background: linear-gradient(135deg, var(--surface) 50%, rgba(22, 163, 74, 0.08) 100%);
    border: 1px solid rgba(22, 163, 74, 0.4);
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.15);
    position: relative;
    overflow: hidden;
}
.card.paid-highlight:hover {
    border-color: var(--success);
    box-shadow: 0 6px 24px rgba(22, 163, 74, 0.3);
    transform: translateY(-2px);
}
.card.paid-highlight::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 4px;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

[data-theme="dark"] .card.paid-highlight {
    background: linear-gradient(135deg, var(--surface) 50%, rgba(16, 185, 129, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}
[data-theme="dark"] .card.paid-highlight:hover {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}
[data-theme="dark"] .card.paid-highlight::after {
    background: #34D399;
    box-shadow: 0 0 10px #34D399;
}

.my-req-mini-card.paid-highlight {
    background: linear-gradient(135deg, var(--bg-2) 40%, rgba(22, 163, 74, 0.12) 100%);
    border: 1px solid rgba(22, 163, 74, 0.5);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}
[data-theme="dark"] .my-req-mini-card.paid-highlight {
    background: linear-gradient(135deg, var(--bg-2) 40%, rgba(16, 185, 129, 0.18) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

/* ===== Weather + Road Conditions Card ===== */
.weather-card {
    max-width: 480px; margin: 5px 16px; padding: 14px 16px; border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.35) 0%, rgba(186, 230, 253, 0.25) 50%, rgba(191, 219, 254, 0.30) 100%), var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden; animation: fadeUp 0.35s ease both;
}

[data-theme="dark"] .weather-card {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.14) 0%, rgba(30, 64, 175, 0.10) 50%, rgba(2, 132, 199, 0.10) 100%), var(--surface);
}
#weather-icon:before{ font-size: 24px; }

.weather-icon-wrap {
    width: 40px; height: 40px; border-radius: var(--r-md); background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%);
    display: flex; align-items: center; justify-content: center; font-size: 26px; color: #D97706; flex-shrink: 0; box-shadow: 0 6px 16px rgba(252, 211, 77, 0.35);
}
.weather-icon-wrap.cold { background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%); color: #1E40AF; box-shadow: 0 6px 16px rgba(147, 197, 253, 0.4); }
.weather-icon-wrap.rain { background: linear-gradient(135deg, #BFDBFE 0%, #60A5FA 100%); color: #1E3A8A; box-shadow: 0 6px 16px rgba(96, 165, 250, 0.4); }
.weather-icon-wrap.snow { background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%); color: #0369A1; box-shadow: 0 6px 16px rgba(186, 230, 253, 0.4); }
.weather-icon-wrap.cloudy { background: linear-gradient(135deg, #E5E7EB 0%, #9CA3AF 100%); color: #374151; box-shadow: 0 6px 16px rgba(156, 163, 175, 0.4); }
.weather-icon-wrap.night { background: linear-gradient(135deg, #6366F1 0%, #3730A3 100%); color: #F0F9FF; box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45); }

.weather-body { flex: 1; min-width: 0; }
.weather-top-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.weather-temp { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.weather-desc { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.weather-meta-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.road-badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-full);
    font-size: 11px; font-weight: 700; border: 1px solid transparent;
}
.road-badge i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.road-dry { background: rgba(22, 163, 74, 0.12); color: #15803D; border-color: rgba(22, 163, 74, 0.24); }
.road-wet { background: rgba(245, 158, 11, 0.14); color: #B45309; border-color: rgba(245, 158, 11, 0.28); }
.road-ice { background: rgba(220, 38, 38, 0.14); color: #DC2626; border-color: rgba(220, 38, 38, 0.28); }
.road-cold { background: rgba(59, 130, 246, 0.14); color: #1E40AF; border-color: rgba(59, 130, 246, 0.28); }
.road-dry i { background: #16A34A; box-shadow: 0 0 6px #16A34A; }
.road-wet i { background: #F59E0B; box-shadow: 0 0 6px #F59E0B; }
.road-ice i { background: #DC2626; box-shadow: 0 0 6px #DC2626; animation: pulse-red 1.5s ease-in-out infinite; }
.road-cold i { background: #3B82F6; box-shadow: 0 0 6px #3B82F6; }

@keyframes pulse-red { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

[data-theme="dark"] .road-dry { color: #4ADE80; background: rgba(16, 185, 129, 0.15); }
[data-theme="dark"] .road-wet { color: #FBBF24; background: rgba(245, 158, 11, 0.18); }
[data-theme="dark"] .road-ice { color: #F87171; background: rgba(224, 17, 95, 0.18); }
[data-theme="dark"] .road-cold { color: #60A5FA; background: rgba(59, 130, 246, 0.18); }

.winter-chip {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px;
    background: rgba(186, 230, 253, 0.4); color: #075985; border-radius: var(--r-full);
    font-size: 10.5px; font-weight: 700; border: 1px solid rgba(14, 165, 233, 0.25);
}

[data-theme="dark"] .winter-chip { background: rgba(14, 165, 233, 0.20); color: #7DD3FC; border-color: rgba(14, 165, 233, 0.35); }

.weather-meta-mini { font-size: 10.5px; color: var(--text-subtle); display: inline-flex; align-items: center; gap: 4px; }
.weather-card .refresh-btn {
    width: 30px; height: 30px; border-radius: 50%; background: transparent; border: none;
    color: var(--text-subtle); cursor: pointer; font-size: 12px; flex-shrink: 0; transition: color 0.2s, transform 0.3s;
}
.weather-card .refresh-btn:hover { color: var(--primary); }
.weather-card .refresh-btn.spinning { animation: spin 0.8s linear; }

/* ============================================================
   🎬 HERO BANNERS — top advertising carousel
   ============================================================ */
.hero-banners { max-width: 480px; margin: 16px auto 0; padding: 0 16px; }
.hb-shell { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-2); }
.hb-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); user-select: none; }
.hb-slide { min-width: 100%; height: 110px; position: relative; overflow: hidden; display: block; text-decoration: none; color: inherit; }
.hb-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hb-slide-grad {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.35) 60%, rgba(15, 23, 42, 0.65) 100%);
}
.hb-slide-content { position: relative; z-index: 2; height: 100%; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; color: white; }
.hb-pretitle {
    font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase;
    opacity: 0.85; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px); border-radius: var(--r-full); border: 1px solid rgba(255, 255, 255, 0.22); align-self: flex-start;
}
.hb-title {
    font-size: 15px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-desc {
    font-size: 11.5px; opacity: 0.9; margin-bottom: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.hb-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-cta {
    display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; background: white; color: #0F172A;
    border-radius: var(--r-full); font-family: inherit; font-size: 11px; font-weight: 800; border: none; cursor: pointer;
    text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease; white-space: nowrap;
}
.hb-cta:active { transform: scale(0.96); }
.hb-cta i { font-size: 9px; }
.hb-ad-tag {
    position: absolute; top: 8px; right: 8px; z-index: 3; font-family: 'Inter', sans-serif; font-size: 8.5px; font-weight: 800;
    letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.35); padding: 2px 6px;
    border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.2);
}
.hb-dots { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 4px; }
.hb-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); border: none; padding: 0; cursor: pointer; transition: all 0.25s ease; }
.hb-dot.active { width: 18px; border-radius: 3px; background: white; }

.hb-slide.tone-orange .hb-slide-grad { background: linear-gradient(135deg, rgba(234, 88, 12, 0.85) 0%, rgba(249, 115, 22, 0.5) 60%, rgba(180, 83, 9, 0.85) 100%); }
.hb-slide.tone-blue .hb-slide-grad { background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(59, 130, 246, 0.5) 60%, rgba(15, 23, 42, 0.85) 100%); }
.hb-slide.tone-green .hb-slide-grad { background: linear-gradient(135deg, rgba(21, 128, 61, 0.85) 0%, rgba(22, 163, 74, 0.5) 60%, rgba(20, 83, 45, 0.85) 100%); }
.hb-slide.tone-purple .hb-slide-grad { background: linear-gradient(135deg, rgba(91, 33, 182, 0.85) 0%, rgba(124, 58, 237, 0.5) 60%, rgba(15, 23, 42, 0.85) 100%); }

/* ===== SOS Button ===== */
.sos-fab {
    position: fixed; right: 18px; bottom: 100px; z-index: 900; width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B 0%, #DC2626 100%); color: white; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1px; box-shadow: 0 10px 30px rgba(220, 38, 38, 0.55), 0 0 0 0 rgba(220, 38, 38, 0.7);
    border: 3px solid white; cursor: pointer; animation: sosPulse 2s ease-in-out infinite; transition: transform 0.15s ease;
}
.sos-fab:hover { transform: scale(1.06); }
.sos-fab:active { transform: scale(0.94); }
.sos-fab .sos-icon { font-size: 16px; }
.sos-fab .sos-lbl { font-size: 10px; font-weight: 900; letter-spacing: 0.08em; font-family: 'Inter', sans-serif; }

@keyframes sosPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.55), 0 0 0 0 rgba(220, 38, 38, 0.6); }
    50% { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.55), 0 0 0 14px rgba(220, 38, 38, 0); }
}

/* SOS Overlay */
.sos-overlay {
    position: fixed; inset: 0; background: radial-gradient(circle at center, #EF4444, #7F1D1D); z-index: 10000;
    display: none; align-items: center; justify-content: center; flex-direction: column; color: white; text-align: center; padding: 20px;
}
.sos-overlay.open { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#sos-countdown-view, #sos-sent-view { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 420px; }
.sos-countdown-ring {
    width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 6px solid rgba(255, 255, 255, 0.25);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; position: relative;
}
.sos-countdown-ring::before {
    content: ''; position: absolute; inset: -10px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); animation: ringPulse 1s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.sos-count-num { font-size: 96px; font-weight: 900; font-family: 'Inter', sans-serif; line-height: 1; }
.sos-title { font-size: 26px; font-weight: 900; margin-bottom: 10px; letter-spacing: 0.05em; }
.sos-sub { font-size: 15px; opacity: 0.85; margin-bottom: 40px; max-width: 320px; line-height: 1.5; }
.sos-cancel-btn { background: white; color: var(--danger); padding: 16px 42px; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 800; border: none; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.sos-cancel-btn:active { transform: scale(0.97); }
.sos-sent-icon { font-size: 76px; margin-bottom: 18px; animation: popIn 0.4s ease; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ===== ROADS FEED STYLES ===== */
#roads-map {
    width: 100%; 
    height: 280px; 
    background: var(--bg-2); 
    border-radius: var(--r-lg); 
    border: 1px solid var(--border); 
    z-index: 1;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.road-feed-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.road-feed-card:active { transform: scale(0.97); }

.road-feed-header {
    display: flex; 
    justify-content: space-between; 
    font-size: 11px; 
    color: var(--text-muted); 
    margin-bottom: 8px;
    font-weight: 600;
}

.road-feed-title {
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 12px; 
    color: var(--text);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.rf-icon {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 26px; 
    height: 26px; 
    border-radius: 50%; 
    color: white; 
    margin-right: 10px; 
    font-size: 12px;
    flex-shrink: 0;
}
.rf-icon.question { background: #3B82F6; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); }
.rf-icon.hazard { background: #DC2626; box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3); }
.rf-icon.traffic { background: #F59E0B; box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); }

.road-feed-footer {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.road-feed-actions { 
    display: flex; 
    gap: 16px; 
    color: var(--text-muted); 
}

.road-action-btn { 
    background: none; 
    border: none; 
    color: inherit; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-family: inherit; 
    font-weight: 700; 
    font-size: 12px; 
    cursor: pointer; 
    padding: 4px 0; 
}
.road-action-btn:hover { color: var(--primary); }

/* ===== MODALS & MAP CROSSHAIR ===== */
.map-crosshair {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 400; 
    pointer-events: none; 
    font-size: 22px; 
    color: var(--text);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

.modal-overlay {
    position: fixed; inset: 0; z-index: 9500;
    background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(6px);
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-sheet {
    background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0;
    border: 1px solid var(--border); padding: 24px 22px 34px;
    width: 100%; max-width: 520px; margin: 0 auto;
    transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: var(--shadow-lg); box-sizing: border-box;
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }

.modal-handle { width: 44px; height: 5px; background: var(--border-strong); border-radius: 3px; margin: 0 auto 20px; }
.modal-title { font-size: 17px; font-weight: 800; margin-bottom: 4px; text-align: center; color: var(--text); }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; text-align: center; }

.quick-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.quick-tag { 
    padding: 8px 14px; background: var(--surface-strong); border: 1px solid var(--border); 
    border-radius: var(--r-full); font-size: 13px; font-weight: 600; cursor: pointer; 
    transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; color: var(--text); 
}
.quick-tag.selected { background: var(--primary-soft); color: #B45309; border-color: var(--primary); }

.modal-input { 
    width: 100%; padding: 12px; background: var(--surface-strong); 
    border: 1px solid var(--border); border-radius: var(--r-md); 
    font-family: inherit; font-size: 13px; outline: none; color: var(--text); 
    margin-bottom: 16px; resize: none; box-sizing: border-box;
}
.modal-input:focus { border-color: var(--primary); }

.modal-btns { display: flex; gap: 10px; }
.modal-btn { flex: 1; padding: 13px; border-radius: var(--r-md); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.modal-btn.cancel { background: var(--surface-strong); color: var(--text-muted); border-color: var(--border); }
.modal-btn.submit { background: var(--primary-gradient); color: var(--primary-ink); box-shadow: 0 8px 20px var(--primary-glow); }