        /* Revert bootstrap default anchor style to match layout */
        a { text-decoration: none !important; color: inherit; }

        /* City Slider */
        .city-slider-wrap {
            position: relative;
            display: flex;
            align-items: center;
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 8px;
            padding: 8px 36px;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .city-slider-track {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            scrollbar-width: none;
            scroll-behavior: smooth;
        }

        .city-slider-track::-webkit-scrollbar {
            display: none;
        }

        .city-slider-item {
            white-space: nowrap;
            padding: 6px 14px;
            border-radius: 20px;
            background: #f5f5f5;
            color: #444;
            font-size: 13px;
            font-weight: 600;
            border: 1px solid #e0e0e0;
            transition: .2s;
        }

        .city-slider-item.active,
        .city-slider-item:hover {
            background: #fff5f2;
            color: var(--brand, #e44d26);
            border-color: var(--brand, #e44d26);
        }

        .city-slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2;
            color: #555;
            box-shadow: 0 2px 4px rgba(0,0,0,.1);
            padding: 0;
        }

        .city-slider-btn:hover {
            color: var(--brand, #e44d26);
            border-color: var(--brand, #e44d26);
        }

        .city-slider-left { left: 4px; }
        .city-slider-right { right: 4px; }

        body.dark-mode .city-slider-wrap {
            background: #1a1a2e;
            border-color: #2a2a3e;
        }

        body.dark-mode .city-slider-item {
            background: #252540;
            border-color: #3a3a5a;
            color: #ccc;
        }

        body.dark-mode .city-slider-item.active,
        body.dark-mode .city-slider-item:hover {
            background: rgba(228,77,38,.15);
            color: var(--brand, #e44d26);
            border-color: var(--brand, #e44d26);
        }

        body.dark-mode .city-slider-btn {
            background: #1a1a2e;
            border-color: #3a3a5a;
            color: #ccc;
        }
        .cat-wrap {
            display: flex;
            gap: 20px;
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px;
        }

        .cat-left {
            width: 220px;
            flex-shrink: 0;
        }

        .cat-left-inner {
            position: sticky;
            top: 70px;
            max-height: calc(100vh - 80px);
            overflow-y: auto;
            scrollbar-width: none;
        }

        .cat-left-inner::-webkit-scrollbar {
            display: none;
        }

        .cat-center {
            flex: 1;
            min-width: 0;
        }

        .cat-right {
            width: 300px;
            flex-shrink: 0;
        }

        .cat-right-inner {
            position: sticky;
            top: 70px;
            max-height: calc(100vh - 80px);
            overflow-y: auto;
            scrollbar-width: none;
        }

        .cat-right-inner::-webkit-scrollbar {
            display: none;
        }

        .sidebar-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 12px;
            border-radius: 8px;
            font-size: 15px;
            margin-bottom: 2px;
            transition: .2s;
            font-weight: 600;
            color: #222;
            line-height: 1.3;
        }

        .sidebar-menu a:hover,
        .sidebar-menu a.active {
            background: #fff5f2;
            color: #e44d26;
        }

        .sidebar-menu .icon-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
            flex-shrink: 0;
        }

        /* First trending item as video highlight */
        .trending-item.video-highlight {
            flex-direction: column;
            gap: 8px;
            background: #fef9f5;
            border-radius: 12px;
            padding: 10px;
            margin-bottom: 16px;
            border-bottom: none;
        }

        .trending-item.video-highlight .trending-num {
            display: none;
        }

        .trending-video-thumb {
            position: relative;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
        }

        .trending-video-thumb img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
        }

        .trending-video-thumb .play-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.7);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 18px;
        }

        .trending-video-thumb .video-duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
        }

        .trending-item.video-highlight .trending-title {
            font-size: 16px;
            font-weight: 700;
            color: #111;
            line-height: 1.4;
            margin-top: 4px;
            display: block;
        }

        .trending-video-badge {
            display: inline-block;
            background: #e44d26;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .ad-banner {
            border-radius: 8px;
            border-color: #e8e8e8;
        }

        .ad-banner img {
            width: 100%;
        }

        .ad-placeholder {
            background: linear-gradient(135deg, #667eea, #764ba2);
            height: 250px;
            font-size: 13px;
            border-radius: 8px;
            flex-direction: column;
            gap: 4px;
        }

        /* DB list */
        .db-list-item {
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid #ececec;
        }

        .db-list-item:last-child {
            border-bottom: none;
        }

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

        .db-list-body h3 {
            font-size: 17px;
            font-weight: 700;
            line-height: 1.5;
            color: #111;
            margin-bottom: 8px;
        }

        .db-list-body h3:hover {
            color: #e44d26;
        }

        .db-share-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            margin-top: 8px;
            flex-wrap: wrap;
            gap: 6px;
        }

        .db-cat-pill {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            border: 1px solid #ddd;
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 13px;
            color: #444;
            font-weight: 600;
            transition: .2s;
        }

        .db-cat-pill:hover {
            border-color: #e44d26;
            color: #e44d26;
        }

        .db-wa-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            color: #25d366;
            padding: 4px 8px;
            border-radius: 6px;
            transition: .2s;
            text-decoration: none;
        }

        .db-wa-btn:hover {
            background: #e8fdf1;
        }

        .db-list-thumb {
            position: relative;
            flex-shrink: 0;
            width: 140px;
            height: 100px;
            border-radius: 6px;
            overflow: hidden;
        }

        .db-list-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .db-live-badge {
            background: #e00;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 3px;
            margin-right: 5px;
            animation: blink 1.2s infinite;
        }

        .db-section-wrap {
            background: #fff;
            border: 1px solid #ececec;
            border-radius: 8px;
            padding: 0 14px;
            margin-bottom: 20px;
        }

        .trending-widget {
            background: #fff;
            border-radius: 10px;
            padding: 16px;
            margin-bottom: 16px;
            border: 1px solid #e8e8e8;
        }

        .trending-widget h3 {
            font-size: 15px;
            font-weight: 800;
            margin-bottom: 14px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e44d26;
        }

        .trending-item {
            display: flex;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid #f5f5f5;
            align-items: flex-start;
        }

        .trending-item:last-child {
            border-bottom: none;
        }

        .trending-num {
            font-size: 20px;
            font-weight: 900;
            color: #ddd;
            min-width: 26px;
            line-height: 1;
        }

        .trending-item:hover .trending-num {
            color: #e44d26;
        }

        .trending-title {
            font-size: 13px;
            font-weight: 600;
            line-height: 1.4;
            color: #222;
        }

        .trending-title:hover {
            color: #e44d26;
        }



        /* cat header */
        .cat-header {
            background: #fff;
            border-radius: 10px;
            padding: 16px 20px;
            margin-bottom: 16px;
            border: 1px solid #ececec;
            border-left: 4px solid var(--cat-color, #e44d26);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .cat-header .cat-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }

        .cat-header h1 {
            font-size: 20px;
            font-weight: 900;
            margin-bottom: 0;
        }

        /* pagination */
        .pagination-wrap {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin: 20px 0;
            flex-wrap: wrap;
        }

        .pagination-wrap a,
        .pagination-wrap span {
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
            font-size: 13px;
            font-weight: 600;
            color: #444;
            transition: .2s;
        }

        .pagination-wrap a:hover {
            border-color: #e44d26;
            color: #e44d26;
        }

        .pagination-wrap .active-page {
            background: #e44d26;
            color: #fff;
            border-color: #e44d26;
        }

        /* dark mode */
        body.dark-mode .db-list-item {
            background: #1a1a2e;
            border-color: #2a2a3e;
        }

        body.dark-mode .db-list-body h3 {
            color: #f0f0f0;
        }

        body.dark-mode .db-section-wrap {
            background: #1a1a2e;
            border-color: #2a2a3e;
        }

        body.dark-mode .db-cat-pill {
            border-color: #3a3a5a;
            color: #aaa;
        }

        body.dark-mode .trending-widget {
            background: #1a1a2e;
            border-color: #2a2a3e;
        }

        body.dark-mode .trending-widget h3 {
            color: #f0f0f0;
        }

        body.dark-mode .trending-title {
            color: #ddd;
        }

        body.dark-mode .trending-num {
            color: #3a3a5a;
        }

        body.dark-mode .trending-item {
            border-color: #2a2a3e;
        }

        body.dark-mode .cat-header {
            background: #1a1a2e;
            border-color: #2a2a3e;
        }

        body.dark-mode .sidebar-menu a {
            color: #ccc;
        }

        body.dark-mode .sidebar-menu a:hover,
        body.dark-mode .sidebar-menu a.active {
            background: rgba(228, 77, 38, .12);
            color: #e44d26;
        }

        body.dark-mode .pagination-wrap a,
        body.dark-mode .pagination-wrap span {
            border-color: #2a2a3e;
            color: #aaa;
            background: #1a1a2e;
        }

        /* ── RESPONSIVE ── */
        @media (max-width:1024px) {
            .cat-right {
                display: none;
            }
        }

        @media (max-width:768px) {
            .cat-wrap {
                flex-direction: column;
                padding: 10px;
                gap: 10px;
            }

            .cat-left {
                display: none;
            }

            /* hide entire left sidebar on mobile */
            .cat-right {
                display: none;
            }

            .db-list-thumb {
                width: 100px;
                height: 75px;
            }

            .db-list-body h3 {
                font-size: 14px;
            }
        }

        @media (max-width:480px) {
            .db-list-thumb {
                width: 85px;
                height: 64px;
            }

            .db-list-body h3 {
                font-size: 13px;
            }
        }

        /* Modal Styles */
        .state-card {
            border: 1px solid var(--card-border, #edf2f7);
            border-radius: 12px;
            padding: .75rem .5rem;
            text-align: center;
            cursor: pointer;
            transition: .2s;
            background: var(--bs-body-bg, #fff);
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .state-card.selected {
            border-color: var(--brand, #d9482b);
            background: var(--brand-soft, rgba(217, 72, 43, 0.08));
        }

        .state-card .check-badge {
            position: absolute;
            top: 5px;
            right: 5px;
            background: var(--brand, #d9482b);
            color: #fff;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            font-size: .6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.5);
            transition: .2s;
        }

        .state-card.selected .check-badge {
            opacity: 1;
            transform: scale(1);
        }

        .state-avatar,
        .state-avatar-placeholder {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            margin: 0 auto .5rem;
            object-fit: cover;
            border: 2px solid #fff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
        }

        .state-avatar-placeholder {
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted, #64748b);
            font-size: 1.2rem;
        }

        .state-label {
            font-size: .8rem;
            font-weight: 600;
            color: var(--heading, #0f172a);
            line-height: 1.2;
        }

        .city-chip {
            padding: .4rem 1rem;
            border-radius: 50px;
            border: 1px solid var(--card-border, #edf2f7);
            background: var(--bs-body-bg, #fff);
            color: var(--heading, #0f172a);
            font-size: .85rem;
            font-weight: 500;
            cursor: pointer;
            transition: .2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .city-chip i {
            display: none;
            font-size: .7rem;
        }

        .city-chip.selected {
            background: var(--brand, #d9482b);
            border-color: var(--brand, #d9482b);
            color: #fff;
        }

        .city-chip.selected i {
            display: inline-block;
        }

        .step-dot {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--card-border, #edf2f7);
            color: var(--muted, #64748b);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .75rem;
            font-weight: 700;
        }

        .step-dot.active {
            background: var(--brand, #d9482b);
            color: #fff;
        }

        .step-dot.done {
            background: #22c55e;
            color: #fff;
        }

        .step-line {
            height: 2px;
            width: 20px;
            background: var(--card-border, #edf2f7);
        }

        .step-line.done {
            background: #22c55e;
        }
