        :root {
            --navy: #0f172a;
            --navy-light: #1e293b;
            --blue: #2563eb;
            --blue-light: #3b82f6;
            --blue-glow: rgba(37,99,235,.12);
            --emerald: #059669;
            --emerald-light: #10b981;
            --amber: #d97706;
            --amber-light: #f59e0b;
            --red: #dc2626;
            --slate: #64748b;
            --slate-light: #94a3b8;
            --surface: #ffffff;
            --bg: #f8fafc;
            --bg-alt: #e2e8f0;
            --text: #0f172a;
            --text-muted: #64748b;
            --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
            --shadow-md: 0 4px 16px rgba(0,0,0,.08);
            --shadow-lg: 0 10px 40px rgba(0,0,0,.1);
            --radius-lg: 16px;
            --radius-xl: 24px;
        }
        * { font-family: "PeydaFaNum", Tahoma, "Segoe UI", Arial, sans-serif; }
        html { overflow-x: clip; }
        body { background: var(--bg); color: var(--text); line-height: 1.85; font-size: .95rem; overflow-x: clip; }
        img.glass-lazy {
            background: linear-gradient(110deg, rgba(255,255,255,.08) 8%, rgba(255,255,255,.28) 18%, rgba(255,255,255,.08) 33%);
            background-size: 200% 100%;
            animation: glassShimmer 1.2s linear infinite;
            border-radius: inherit;
            filter: blur(0.2px);
            transition: opacity .25s ease, filter .25s ease;
        }
        img.glass-lazy.loaded {
            animation: none;
            filter: none;
            background: none;
        }
        @keyframes glassShimmer { to { background-position-x: -200%; } }

        /* Navbar */
        .main-nav { background: var(--navy); border-bottom: none; }
        .main-nav .container { max-width: 1200px; }
        .navbar-brand { font-weight: 900; font-size: 1.35rem; color: #fff !important; letter-spacing: -.02em; display: inline-flex; align-items: center; }
        .navbar-brand__logo { height: 36px; width: auto; display: block; }
        .navbar-brand__text { color: #fff; }
        .navbar-brand__accent {
            background: linear-gradient(135deg, var(--blue-light), var(--emerald-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .navbar-brand__rest {
            color: #fff !important;
            -webkit-text-fill-color: #fff;
        }
        .nav-link { color: rgba(255,255,255,.7) !important; font-weight: 500; font-size: .9rem; padding: .6rem 1rem !important; border-radius: 8px; transition: all .2s; }
        .nav-link:hover, .nav-link.active { color: #fff !important; background: rgba(255,255,255,.08); }

        .nav-item-ai { margin-inline-start: .25rem; align-self: center; }
        .nav-link-ai {
            padding: .15rem !important;
            background: transparent !important;
            border-radius: 999px !important;
        }
        .nav-link-ai:hover,
        .nav-link-ai:focus { background: transparent !important; }
        .nav-ai-glow {
            position: relative;
            display: inline-flex;
            border-radius: 999px;
            padding: 2px;
            overflow: hidden;
            isolation: isolate;
            box-shadow: 0 0 20px rgba(99, 102, 241, .35);
        }
        .nav-ai-glow::before {
            content: '';
            position: absolute;
            inset: -120%;
            background: conic-gradient(from 0deg, #2563eb, #10b981, #f59e0b, #ec4899, #8b5cf6, #06b6d4, #2563eb);
            animation: aiNavBorderSpin 2.8s linear infinite;
            z-index: 0;
        }
        @keyframes aiNavBorderSpin { to { transform: rotate(360deg); } }
        .nav-ai-inner {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            padding: .48rem 1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            color: #fff !important;
            font-weight: 700;
            font-size: .84rem;
            white-space: nowrap;
            line-height: 1.2;
        }
        .nav-ai-inner i {
            font-size: 1.05rem;
            background: linear-gradient(135deg, #93c5fd, #c4b5fd, #6ee7b7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav-link-ai:hover .nav-ai-glow { box-shadow: 0 0 26px rgba(139, 92, 246, .5); }
        .nav-link-ai:hover .nav-ai-inner { background: linear-gradient(135deg, #273449 0%, #111827 100%); }

        .nav-account { margin-inline-start: 0; }
        /* Keep brand + account/toggler on one row; collapse always full-width below on mobile.
           Avoid fragile flex `order` on the collapse itself â€” that caused nav links to sit as a
           narrow column on the right on some Android Chrome widths. */
        .main-nav .container {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }
        .main-nav-tools {
            display: flex;
            align-items: center;
            gap: .35rem;
            margin-inline-start: auto;
            flex: 0 0 auto;
        }
        .nav-account-slot {
            display: flex;
            align-items: center;
        }
        .main-nav .navbar-toggler {
            flex: 0 0 auto;
            padding: .4rem .55rem;
        }
        @media (min-width: 992px) {
            .navbar-brand { order: 1; }
            .navbar-collapse { order: 2; flex-grow: 1; }
            .main-nav-tools { order: 3; margin-inline-start: .5rem; }
        }
        .nav-account .dropdown-toggle {
            display: inline-flex; align-items: center; gap: .4rem;
            color: rgba(255,255,255,.85) !important;
            background: transparent;
            border: 1px solid rgba(255,255,255,.2);
            border-radius: 8px;
            padding: .42rem .75rem !important;
            font-weight: 600; font-size: .84rem;
            transition: background .15s ease, color .15s ease, border-color .15s ease;
        }
        .nav-account .dropdown-toggle::after { margin-right: .15rem; margin-left: 0; opacity: .55; }
        .nav-account .dropdown-toggle:hover,
        .nav-account .dropdown-toggle:focus,
        .nav-account .dropdown-toggle.show {
            background: rgba(255,255,255,.08);
            border-color: rgba(255,255,255,.28);
            color: #fff !important;
        }
        .nav-account .dropdown-menu {
            min-width: 12.5rem; border: 1px solid #e2e8f0; border-radius: 12px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
            padding: .35rem; margin-top: .4rem !important;
        }
        .nav-account .dropdown-item {
            border-radius: 8px; font-size: .86rem; font-weight: 600;
            padding: .5rem .65rem; display: flex; align-items: center; gap: .4rem;
        }
        .nav-account .dropdown-item i { color: #64748b; }
        .nav-account .dropdown-item:hover { background: #f1f5f9; }
        .nav-account .dropdown-divider { margin: .3rem .2rem; }
        .nav-account-login {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            color: #fff !important;
            text-decoration: none;
            font-weight: 700;
            font-size: .82rem;
            line-height: 1;
            padding: .62rem 1.05rem;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, .22);
            background: transparent;
            box-shadow:
                0 1px 0 rgba(255, 255, 255, .12) inset,
                0 4px 12px rgba(0, 0, 0, .2);
            transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
            white-space: nowrap;
        }
        .nav-account-login i {
            font-size: 1.05rem;
            opacity: 1;
            filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
        }
        .nav-account-login:hover {
            color: #fff !important;
            border-color: rgba(255, 255, 255, .36);
            background: rgba(255, 255, 255, .08);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, .18) inset,
                0 8px 18px rgba(0, 0, 0, .28);
            transform: translateY(-1px);
        }
        .nav-account-login:active {
            transform: translateY(0);
            background: rgba(255, 255, 255, .05);
            box-shadow:
                0 1px 0 rgba(255, 255, 255, .1) inset,
                0 2px 6px rgba(0, 0, 0, .22);
        }
        @media (max-width: 575px) {
            .nav-account-login span.nav-account-login__text { display: none; }
            .nav-account-login {
                padding: .72rem;
                min-width: 2.7rem;
                min-height: 2.7rem;
                border-radius: 10px;
                justify-content: center;
            }
        }

        .site-top-bar { position: sticky; top: 0; z-index: 1000; }
        .ai-promo-banner {
            display: none;
            align-items: center;
            justify-content: center;
            gap: .55rem;
            min-height: 42px;
            padding: .52rem 1.15rem;
            text-decoration: none;
            color: #e2e8f0;
            font-size: .88rem;
            font-weight: 600;
            background: linear-gradient(135deg, #1a2332 0%, #0f172a 100%);
            position: relative;
            overflow: visible;
            border-bottom: 1px solid rgba(255, 255, 255, .06);
            transition: color .2s ease, background .2s ease;
        }
        .ai-promo-banner:hover {
            color: #fff;
            background: linear-gradient(135deg, #243044 0%, #111827 100%);
        }
        .ai-promo-banner::before,
        .ai-promo-banner::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 2px;
            z-index: 1;
            background: linear-gradient(90deg, #2563eb, #10b981, #f59e0b, #ec4899, #8b5cf6, #06b6d4, #2563eb);
            background-size: 300% 100%;
            animation: aiBannerSlide 4.5s linear infinite;
        }
        .ai-promo-banner::before { top: 0; }
        .ai-promo-banner::after {
            bottom: 0;
            animation-direction: reverse;
            animation-duration: 5.5s;
        }
        @keyframes aiBannerSlide {
            to { background-position: 300% 0; }
        }
        .ai-promo-banner > * { position: relative; z-index: 2; }
        .ai-promo-banner i.bi-stars {
            font-size: 1rem;
            background: linear-gradient(135deg, #93c5fd, #c4b5fd, #6ee7b7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .ai-promo-banner .ai-promo-cta {
            color: #93c5fd;
            font-size: .8rem;
            font-weight: 700;
            white-space: nowrap;
        }
        @media (max-width: 991px) {
            .site-top-bar:has(#mainNav.show) .ai-promo-banner { display: none; }
            .ai-promo-banner {
                display: flex;
                font-size: .84rem;
                min-height: 40px;
                padding: .48rem .85rem;
                gap: .4rem;
                box-shadow:
                    0 10px 22px -6px rgba(0, 0, 0, .45),
                    0 6px 14px -4px rgba(99, 102, 241, .22);
            }
            .ai-promo-banner .ai-promo-cta { display: none; }
        }
        @media (max-width: 380px) {
            .ai-promo-banner { font-size: .78rem; }
        }

        @media (max-width: 991.98px) {
            .main-nav .navbar-collapse {
                flex: 0 0 100% !important;
                flex-basis: 100% !important;
                width: 100% !important;
                max-width: 100% !important;
                padding: .35rem 0 .85rem;
                background: var(--navy);
            }
            /* Belt-and-suspenders: some WebViews leave collapse visible without .show */
            .main-nav .navbar-collapse.collapse:not(.show) {
                display: none !important;
            }
            .main-nav .navbar-collapse.collapse.show {
                display: block !important;
            }
            .main-nav .navbar-nav {
                width: 100%;
                gap: .1rem !important;
                flex-direction: column !important;
                align-items: stretch !important;
            }
            .main-nav .navbar-nav .nav-item {
                width: 100%;
            }
            .main-nav .navbar-nav .nav-link:not(.nav-link-ai) {
                display: block !important;
                width: 100%;
                padding: .55rem .85rem !important;
                border-radius: 10px;
                box-sizing: border-box;
            }
            .nav-item-ai {
                width: 100%;
                margin: .75rem 0 0;
                padding-top: .75rem;
                border-top: 1px solid rgba(255, 255, 255, .1);
                border-bottom: none;
                align-self: stretch;
            }
            .nav-link-ai {
                display: block !important;
                width: 100%;
                padding: 0 !important;
            }
            .nav-ai-glow {
                width: 100%;
                max-width: 100%;
                display: flex;
                border-radius: 14px;
                box-shadow: 0 0 14px rgba(99, 102, 241, .28);
                box-sizing: border-box;
            }
            .nav-ai-inner {
                width: 100%;
                max-width: 100%;
                justify-content: center;
                border-radius: 12px;
                padding: .78rem 1rem;
                font-size: .92rem;
                white-space: nowrap;
                min-height: 48px;
                box-sizing: border-box;
            }
            .nav-ai-inner i { font-size: 1.12rem; }
        }
        @media (max-width: 380px) {
            .nav-ai-inner {
                font-size: .8rem;
                padding: .72rem .7rem;
                gap: .35rem;
            }
        }

        /* Hero */
        .hero { background: var(--navy); position: relative; overflow: hidden; padding: 3rem 0 0; }
        .hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 100%, rgba(37,99,235,.15), transparent), radial-gradient(ellipse 60% 50% at 80% 0%, rgba(5,150,105,.1), transparent); }
        .hero-content { position: relative; z-index: 2; }
        .hero h1 { font-weight: 900; font-size: 2.3rem; line-height: 1.35; color: #fff; }
        .hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--blue-light), var(--emerald-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero p { color: var(--slate-light); font-size: 1.05rem; }

        /* Apple-style search */
        .apple-search { max-width: 520px; margin: 0 auto; position: relative; }
        .apple-search input {
            width: 100%; background: rgba(255,255,255,.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,.18); border-radius: 50px; padding: .85rem 5.6rem .85rem 3.2rem;
            color: #fff; font-size: .92rem; transition: all .3s; outline: none;
        }
        .apple-search input::placeholder { color: rgba(255,255,255,.4); }
        .apple-search input:focus { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
        .apple-search .search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.4); font-size: 1rem; pointer-events: none; }
        .apple-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--blue); border: none; border-radius: 50px; padding: .5rem 1.1rem; color: #fff; font-weight: 600; font-size: .82rem; transition: all .2s; }
        .apple-search button:hover { background: var(--blue-light); }

        .hero-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
        .hero-stat { color: var(--slate-light); font-size: .88rem; }
        .hero-stat strong { color: #fff; font-size: 1.15rem; margin-left: .3rem; }

        /* Floating loan bubbles */
        .loan-bubbles-container { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
        .loan-bubble {
            position: absolute;
            display: flex; align-items: center; gap: .5rem;
            background: rgba(255,255,255,.07); backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
            padding: .5rem .7rem;
            pointer-events: none; white-space: nowrap;
            opacity: 0; transition: opacity .6s ease;
        }
        .loan-bubble.visible { opacity: .8; animation: bubbleFloat 5s ease-in-out infinite; }
        .loan-bubble img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; flex-shrink: 0; }
        .bubble-text { display: flex; flex-direction: column; line-height: 1.2; }
        .bubble-bank { color: rgba(255,255,255,.9); font-size: .68rem; font-weight: 700; }
        .bubble-info { color: rgba(255,255,255,.5); font-size: .6rem; font-weight: 400; }

        .bubble-0 { top: 0; right: -100px; }
        .bubble-1 { bottom: 65px; left: -110px; animation-delay: 2.5s; }

        @keyframes bubbleFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }

        @media (max-width: 992px) {
            .loan-bubbles-container { display: none; }
        }

        /* Bank carousel in hero */
        .hero-banks { padding: 2rem 0 0; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.06); position: relative; }
        .carousel-track { display: flex; gap: 0; direction: ltr; will-change: transform; }
        .carousel-track.animating { animation: carouselScroll var(--carousel-duration, 30s) linear infinite; }
        .carousel-track.animating:hover, .carousel-track.dragging { animation-play-state: paused; }
        .carousel-wrapper { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%); padding-bottom: 1.5rem; }

        .bank-show-item { width: 210px; flex-shrink: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 1.4rem 1rem 1rem; margin: 0 6px; text-align: center; transition: background .3s, border-color .3s; }
        .bank-show-item:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
        .bank-show-header { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin-bottom: .8rem; text-decoration: none; }
        .bank-show-logo-wrap { width: 80px; height: 80px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.2); margin-bottom: .4rem; transition: transform .3s; }
        .bank-show-item:hover .bank-show-logo-wrap { transform: scale(1.06); }
        .bank-show-logo { width: 100%; height: 100%; border-radius: 14px; object-fit: contain; }
        .bank-show-name { color: #fff; font-weight: 800; font-size: .92rem; line-height: 1.3; }
        .bank-badge-neo { display: inline-block; font-size: .58rem; background: rgba(37,99,235,.3); color: var(--blue-light); padding: .1rem .4rem; border-radius: 4px; margin-top: .15rem; font-weight: 600; }
        .bank-badge-platform { display: inline-block; font-size: .58rem; background: rgba(217,119,6,.28); color: #fcd34d; padding: .1rem .4rem; border-radius: 4px; margin-top: .15rem; font-weight: 600; }
        .bank-show-count { color: var(--slate-light); font-size: .72rem; font-weight: 400; }
        .bank-loan-chips { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; }
        .bank-loan-chip { display: inline-block; background: rgba(37,99,235,.15); color: var(--blue-light); padding: .18rem .5rem; border-radius: 8px; font-size: .68rem; font-weight: 500; text-decoration: none; transition: all .2s; white-space: nowrap; }
        .bank-loan-chip:hover { background: var(--blue); color: #fff; }
        .bank-loan-chip .chip-rate { color: var(--amber-light); margin-right: .2rem; font-weight: 700; }
        .bank-loan-chip.chip-more { background: rgba(255,255,255,.08); color: var(--slate-light); }

        /* Loan Card - NO absolute badges */
        .card { border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(.4,0,.2,1); overflow: hidden; background: var(--surface); }
        .card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
        .loan-card { position: relative; display: flex; flex-direction: column; }
        .loan-card.is-hot { border-top: 3px solid var(--red); }
        .loan-card.is-featured { border-top: 3px solid var(--amber); }
        .loan-card .card-top { padding: 1.15rem 1.15rem .4rem; display: flex; align-items: center; gap: .5rem; }
        .loan-card .bank-name { display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-size: .8rem; font-weight: 600; text-decoration: none; }
        .loan-card .bank-name img { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; }
        .loan-card .bank-name:hover { color: var(--blue-light); }
        .loan-card .card-tag { padding: .15rem .45rem; border-radius: 5px; font-size: .68rem; font-weight: 700; white-space: nowrap; margin-right: auto; }
        .loan-card .tag-hot { background: rgba(220,38,38,.1); color: var(--red); }
        .loan-card .tag-featured { background: rgba(217,119,6,.1); color: var(--amber); }
        .loan-card .rate-pill { background: rgba(5,150,105,.08); color: var(--emerald); padding: .15rem .5rem; border-radius: 5px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
        .loan-card h5 { font-weight: 700; font-size: .96rem; margin: .5rem 0 .25rem; padding: 0 1.15rem; }
        .loan-card h5 a { color: var(--text); text-decoration: none; }
        .loan-card h5 a:hover { color: var(--blue); }
        .loan-card .card-desc { padding: 0 1.15rem; color: var(--text-muted); font-size: .82rem; margin-bottom: .75rem; line-height: 1.6; min-height: 3.2rem; }
        .loan-card .card-meta { padding: .65rem 1.15rem; border-top: 1px solid rgba(0,0,0,.05); display: flex; gap: 1rem; font-size: .8rem; margin-top: auto; }
        .loan-card .card-meta .meta-item { display: flex; flex-direction: column; }
        .loan-card .card-meta .meta-label { color: var(--slate-light); font-size: .7rem; }
        .loan-card .card-meta .meta-value { font-weight: 700; color: var(--text); }
        .loan-card .card-actions { padding: .65rem 1.15rem 1.15rem; display: flex; gap: .5rem; }
        .loan-credit-check-btn {
            display: flex; align-items: center; justify-content: center; gap: .45rem;
            width: 100%; padding: .7rem; margin: 0;
            background: var(--cc-btn-bg, linear-gradient(135deg,#2563eb,#1d4ed8));
            color: var(--cc-btn-color, #fff);
            border: var(--cc-btn-border, none);
            border-radius: var(--cc-btn-radius, 10px);
            box-shadow: var(--cc-btn-shadow, none);
            font-weight: 600; font-size: .84rem;
            cursor: pointer; transition: all .18s;
        }
        .loan-credit-check-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
        .loan-credit-check-btn i { font-size: .98rem; opacity: .95; }
        /* Loan-list card context: the button is a direct card child, so inset it to match card padding */
        .loan-credit-check-btn--card { width: calc(100% - 2.3rem); margin: 0 1.15rem 1.15rem; }

        /* Mobile sticky action bar for the loan detail page */
        .cc-mobile-bar { display: none; }
        @media (max-width: 991.98px) {
            .cc-mobile-bar {
                display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1029;
                background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
                box-shadow: 0 -6px 22px rgba(15,23,42,.14); padding: .55rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
                border-top: 1px solid rgba(0,0,0,.06);
            }
            .cc-mobile-bar .loan-credit-check-btn {
                width: 100%; margin: 0; padding: .82rem; font-size: .92rem;
                box-shadow: 0 3px 10px rgba(15, 23, 42, .16);
            }
            body.has-cc-mobile-bar { padding-bottom: 78px; }
            /* Hide sticky bar whenever a modal (incl. the sheet itself) is open */
            body.modal-open .cc-mobile-bar { display: none; }
            /* Support FAB only hidden on loan pages that have the credit sticky bar */
            body:not(.has-cc-mobile-bar) .support-fab {
                display: grid;
                right: 12px;
                bottom: calc(12px + env(safe-area-inset-bottom, 0px));
            }
            body.has-cc-mobile-bar .support-fab,
            body.has-cc-mobile-bar .support-panel {
                display: none !important;
            }
        }

        /* Buttons */
        .btn-primary-custom { background: var(--blue); color: #fff; border: none; border-radius: 10px; padding: .5rem 1.1rem; font-weight: 600; font-size: .84rem; transition: all .2s; }
        .btn-primary-custom:hover { background: var(--blue-light); color: #fff; box-shadow: 0 4px 16px rgba(37,99,235,.3); }
        .btn-outline-custom { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 10px; padding: .45rem 1rem; font-weight: 600; font-size: .84rem; transition: all .2s; }
        .btn-outline-custom:hover { background: var(--blue); color: #fff; }
        .btn-ext-link { background: var(--emerald); color: #fff; border: none; border-radius: 10px; padding: .5rem 1.1rem; font-weight: 600; font-size: .84rem; transition: all .2s; }
        .btn-ext-link:hover { background: var(--emerald-light); color: #fff; }

        /* Section */
        .section { padding: 3.5rem 0; }
        .section-alt { background: var(--surface); }
        .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
        .section-header h2 { font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
        .section-header h2 .icon-box { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }

        /* Type Cards */
        .type-card { background: var(--surface); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; text-decoration: none; color: var(--text); transition: all .3s; display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 100%; }
        .type-card:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); transform: translateY(-3px); color: var(--text); }
        .type-card .type-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--blue-glow); display: flex; align-items: center; justify-content: center; margin: 0 auto .6rem; font-size: 1.3rem; color: var(--blue); transition: all .3s; flex-shrink: 0; }
        .type-card:hover .type-icon { background: var(--blue); color: #fff; }
        .type-card h6 { font-weight: 700; margin-bottom: .35rem; font-size: .9rem; }
        .type-card-desc { color: var(--text-muted); font-size: .76rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }

        /* Bank Cards */
        .bank-card { background: var(--surface); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; text-decoration: none; color: var(--text); transition: all .3s; }
        .bank-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
        .bank-card-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; margin: 0 auto .75rem; display: block; background: #fff; padding: 3px; border: 1px solid rgba(0,0,0,.06); }

        /* Filter / Form */
        .filter-bar { background: var(--surface); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius-xl); padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
        .form-control, .form-select { border-radius: 10px; border: 1.5px solid var(--bg-alt); padding: .65rem 1rem; font-size: .9rem; }
        .form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }

        /* Breadcrumb */
        .breadcrumb { background: transparent; padding: 0; font-size: .85rem; }
        .breadcrumb-item a { color: var(--blue); text-decoration: none; }

        /* Footer */
        footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 3.5rem 0 1.5rem; margin-top: 4rem; margin-bottom: 0; }
        footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: .95rem; }
        footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
        footer a:hover { color: #fff; }
        footer .footer-brand { font-weight: 900; font-size: 1.2rem; color: #fff; margin-bottom: .75rem; }
        footer .footer-brand span { background: linear-gradient(135deg, var(--blue-light), var(--emerald-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .footer-links li { padding: .2rem 0; }
        .footer-links a::before { content: '\F285'; font-family: 'bootstrap-icons'; margin-left: .4rem; font-size: .65rem; opacity: .4; }
        footer .footer-socials a {
            width: 36px; height: 36px; border-radius: 10px;
            display: inline-grid; place-items: center;
            background: rgba(255,255,255,.08); color: #fff; font-size: 1.05rem;
        }
        footer .footer-socials a:hover { background: rgba(255,255,255,.16); color: #fff; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; margin-top: 2rem; text-align: center; font-size: .8rem; }

        .amount-display { font-weight: 700; color: var(--emerald); }
        .view-count { display: inline-flex; align-items: center; gap: .3rem; color: var(--slate); font-size: .76rem; }
        .container { max-width: 1200px; }
        #smartSearchPrompt .modal-content {
            border: none !important;
            border-radius: 0 0 22px 22px !important;
            overflow: hidden;
            box-shadow: 0 24px 55px rgba(15,23,42,.22) !important;
            position: relative;
        }
        #smartSearchPrompt .modal-dialog {
            max-width: 760px;
            width: calc(100% - 2rem);
            margin: 1.75rem auto;
        }
        #smartSearchPrompt .smart-cover {
            width: 100%;
            height: 280px;
            object-fit: cover;
            display: block;
            background: #e2e8f0;
            border-radius: 0 !important;
        }
        #smartSearchPrompt .smart-body {
            padding: 1rem 1.15rem 1.2rem;
        }
        #smartSearchPrompt .smart-title {
            font-size: 1.05rem;
            font-weight: 900;
            margin-bottom: .45rem;
            color: #0f172a;
        }
        #smartSearchPrompt .smart-text {
            color: #475569;
            font-size: .9rem;
            line-height: 1.95;
            margin-bottom: .95rem;
        }
        #smartSearchPrompt .smart-cta {
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg,#2563eb,#1d4ed8);
            color: #fff !important;
            font-weight: 800;
            display: block;
            text-align: center;
            padding: .75rem 1rem;
            text-decoration: none;
            box-shadow: 0 10px 24px rgba(37,99,235,.28);
            transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
        }
        #smartSearchPrompt .smart-cta:hover {
            transform: translateY(-1px);
            filter: brightness(1.05);
            box-shadow: 0 14px 26px rgba(37,99,235,.34);
        }
        #smartSearchPrompt.bottomsheet .modal-dialog {
            margin: 0 !important;
            position: fixed !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            top: auto !important;
            max-width: 100% !important;
            width: 100% !important;
            transform: translateY(105%) !important;
            transition: transform .35s cubic-bezier(.22,.61,.36,1) !important;
        }
        #smartSearchPrompt.bottomsheet.show .modal-dialog { transform: translateY(0) !important; }
        #smartSearchPrompt.bottomsheet .modal-content { border-radius: 0 !important; }
        #smartSearchPrompt.bottomsheet .modal-header::before {
            content: ''; width: 38px; height: 4px; border-radius: 999px; background: #d1d5db;
            position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
        }
        #smartSearchPrompt.bottomsheet .smart-cover { height: 170px; }
        #smartSearchPrompt .smart-close {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 3;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            border: none;
            background: rgba(15,23,42,.48);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }
