/* site.css */
:root {
    --navy: #14213d;
    --navy-deep: #0f172a;
    --text: #172033;
    --muted: #667085;
    --line: #e7eaf0;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --accent: #b98a2e;
    --accent-soft: #fbf4e4;
    --green: #0f8a5f;
    --gold: #c9a04a;
    --gold-deep: #9a7120;
    --ivory: #fbfaf6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family:
        Arial,
        "Noto Sans TC",
        sans-serif;
}

a {
    color: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    border-bottom: 1px solid rgba(15,23,42,.07);

    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 11px;

    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--navy);
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.header-nav a {
    color: #475467;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.header-nav a:hover {
    color: var(--navy);
}

.partner-link {
    padding: 10px 15px;

    border: 1px solid rgba(201,160,74,.58);
    border-radius: 10px;

    background: #fffdf8;
    color: var(--navy) !important;

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.partner-link:hover {
    transform: translateY(-1px);

    border-color: var(--gold);
    background: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(154, 113, 32, .10);
}

:focus-visible {
    outline: 3px solid rgba(201, 160, 74, .35);
    outline-offset: 3px;
}

/* Hero */

.hero {
    padding: 82px 0 64px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(47,111,237,.10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;

    text-align: center;
}

.eyebrow {
    display: inline-flex;

    margin-bottom: 22px;
    padding: 7px 11px;

    border: 1px solid #dbe5f5;
    border-radius: 999px;

    background: rgba(255,255,255,.78);

    color: #45658f;

    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    margin: 0;

    color: var(--navy-deep);

    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hero-description {
    max-width: 680px;

    margin: 24px auto 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.85;
}

/* Search */

.search-wrap {
    max-width: 760px;

    margin: 36px auto 0;
}

.search-box {
    display: flex;

    padding: 7px;

    border: 1px solid #dce2ea;
    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 16px 45px
        rgba(15,23,42,.08);
}

.search-input-wrap {
    flex: 1;

    display: flex;
    align-items: center;

    padding-left: 15px;
}

.search-icon {
    margin-right: 10px;

    color: #98a2b3;

    font-size: 18px;
}

.search-box input {
    width: 100%;

    padding: 13px 4px;

    border: 0;
    outline: 0;

    color: var(--text);
    background: transparent;

    font-size: 16px;
}

.search-button {
    min-width: 104px;

    padding: 13px 18px;

    border: 0;
    border-radius: 11px;

    background: var(--navy);

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.search-hints {
    margin-top: 13px;

    color: #8b95a5;

    font-size: 13px;
}

/* Audience */

.audience-section {
    padding: 66px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 28px;
}

.section-kicker {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .06em;
}

.section-heading h2 {
    margin: 0;

    color: var(--navy-deep);

    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.03em;
}

.section-heading p {
    margin: 12px 0 0;

    color: var(--muted);

    line-height: 1.75;
}

.audience-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 22px;
}

.audience-card {
    position: relative;

    min-height: 265px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: var(--surface);

    box-shadow:
        0 12px 36px
        rgba(15,23,42,.05);

    text-decoration: none;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.audience-card:hover {
    transform: translateY(-3px);

    border-color: #cfd8e6;

    box-shadow:
        0 18px 45px
        rgba(15,23,42,.08);
}

.card-number {
    margin-bottom: 38px;

    color: #a7b0bf;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;
}

.audience-card h3 {
    margin: 0;

    font-size: 29px;
    letter-spacing: -.025em;
}

.audience-card p {
    max-width: 430px;

    margin: 12px 0 22px;

    color: var(--muted);

    line-height: 1.75;
}

.card-action {
    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}

.audience-card.personal::after,
.audience-card.business::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -45px;
    bottom: -60px;

    border-radius: 50%;

    opacity: .8;
}

.audience-card.personal::after {
    background: var(--accent-soft);
}

.audience-card.business::after {
    background: #eef9f4;
}

/* Categories */

.categories-section {
    padding: 64px 0;

    background: var(--surface-soft);
}

.category-block + .category-block {
    margin-top: 54px;
}

.category-head {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.category-head h2 {
    margin: 0;

    font-size: 28px;
    letter-spacing: -.025em;
}

.category-head p {
    margin: 7px 0 0;

    color: var(--muted);
}

.category-count {
    color: #98a2b3;

    font-size: 13px;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    gap: 14px;
}

.category-card {
    min-height: 176px;

    padding: 21px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #ffffff;
}

.category-index {
    margin-bottom: 22px;

    color: #98a2b3;

    font-size: 12px;
    font-weight: 800;
}

.category-card h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.4;
}

.category-card p {
    margin: 9px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

/* How */

.how-section {
    padding: 72px 0;
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 16px;
}

.step {
    padding: 22px;

    border-top: 2px solid #d9e0ea;
}

.step-number {
    margin-bottom: 16px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
}

.step h3 {
    margin: 0 0 8px;

    font-size: 17px;
}

.step p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}

/* Partner */

.partner-section {
    padding: 30px 0 80px;
}

.partner-panel {
    padding: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius: 24px;

    background: var(--navy);

    color: #ffffff;
}

.partner-copy {
    max-width: 620px;
}

.partner-copy small {
    color: #aebbd0;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;
}

.partner-copy h2 {
    margin: 12px 0 10px;

    font-size: 30px;
    letter-spacing: -.03em;
}

.partner-copy p {
    margin: 0;

    color: #c9d3e2;

    line-height: 1.75;
}

.partner-button {
    flex: 0 0 auto;

    padding: 13px 18px;

    border-radius: 11px;

    background: #ffffff;

    color: var(--navy);

    text-decoration: none;

    font-weight: 800;
}

/* Trust */

.trust-note {
    padding: 0 0 60px;

    color: #5f6b7c;

    font-size: 12px;
    line-height: 1.75;
}

/* Footer */

.site-footer {
    padding: 30px 0;

    border-top: 1px solid var(--line);

    color: #5f6b7c;

    font-size: 13px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

/* Responsive */

@media (max-width: 980px) {
    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .steps {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 66px;
    }

    .header-nav a:not(.partner-link) {
        display: none;
    }

    .hero {
        padding: 58px 0 46px;
    }

    .hero-description {
        font-size: 16px;
    }

    .search-box {
        display: block;
    }

    .search-input-wrap {
        padding: 3px 10px;
    }

    .search-button {
        width: 100%;
        margin-top: 5px;
    }

    .audience-grid,
    .category-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .audience-card {
        min-height: 230px;
    }

    .category-head {
        display: block;
    }

    .category-count {
        display: block;
        margin-top: 8px;
    }

    .partner-panel {
        display: block;
        padding: 30px 24px;
    }

    .partner-button {
        display: inline-block;
        margin-top: 24px;
    }

    .footer-inner {
        display: block;
    }
}

/*
|--------------------------------------------------------------------------
| Homepage anchor offset
|--------------------------------------------------------------------------
*/

#fund-search,
#funding-entry,
#providers-entry {
    scroll-margin-top: 95px;
}


/*
|--------------------------------------------------------------------------
| Featured Provider
|--------------------------------------------------------------------------
*/

.featured-provider-section {
    padding: 70px 0 80px;
    background: #f7f9fc;
}

.featured-provider-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.featured-provider-heading h2 {
    margin: 7px 0 8px;
    color: #101828;
    font-size: 34px;
}

.featured-provider-heading p {
    margin: 0;
    color: #667085;
}

.featured-provider-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    color: #101828;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.featured-provider-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    border: 1px solid #e1e6ed;
    border-radius: 22px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.featured-provider-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15,23,42,.08);
}

.featured-provider-image {
    min-height: 290px;
    background: #edf1f6;
}

.featured-provider-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
}

.featured-provider-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    padding: 24px;
    color: #667085;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
}

.featured-provider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 38px;
}

.featured-provider-company {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #475467;
}

.featured-provider-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f2f4f7;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.featured-provider-content h3 {
    margin: 0 0 13px;
    color: #101828;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.35;
}

.featured-provider-content p {
    margin: 0 0 22px;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}

.featured-provider-action {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
    color: #101828;
    font-weight: 900;
}

.featured-provider-empty {
    padding: 34px;
    border: 1px solid #e1e6ed;
    border-radius: 18px;
    background: #ffffff;
}

.featured-provider-empty h3 {
    margin-top: 0;
}

.featured-provider-empty a {
    color: #101828;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 760px) {
    .featured-provider-section {
        padding: 48px 0 58px;
    }

    .featured-provider-heading {
        display: block;
    }

    .featured-provider-more {
        margin-top: 18px;
    }

    .featured-provider-card {
        grid-template-columns: 1fr;
    }

    .featured-provider-image,
    .featured-provider-image img,
    .featured-provider-placeholder {
        min-height: 220px;
    }

    .featured-provider-content {
        padding: 24px 21px;
    }
}

/* home-simple.css */
/*
|--------------------------------------------------------------------------
| 借貸導航網首頁
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| 首頁 Header
|--------------------------------------------------------------------------
*/

.home-header-inner {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 28px;
}


/*
|--------------------------------------------------------------------------
| 共用 Header 基本樣式（即使其他頁只載入本檔也能正常顯示）
|--------------------------------------------------------------------------
*/

.home-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
}


.home-header-inner .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #172033;
    text-decoration: none;
    white-space: nowrap;
}


.home-header-inner .brand-mark {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: #14213d;
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}


.home-header-inner .brand-name {
    color: #172033;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}


.home-header-inner .partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 15px;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    background: #ffffff;
    color: #14213d;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}


/*
|--------------------------------------------------------------------------
| 跑馬燈
|--------------------------------------------------------------------------
*/

.loan-ticker {
    min-width: 0;

    overflow: hidden;
}


.loan-ticker-mask {
    position: relative;

    overflow: hidden;

    width: 100%;

    padding:
        9px 0;

    border-radius: 0;

    border: 0;

    background: transparent;
}


/*
| 左右淡出
*/

.loan-ticker-mask::before,
.loan-ticker-mask::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    z-index: 2;

    width: 42px;

    pointer-events: none;
}


.loan-ticker-mask::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            #ffffff,
            rgba(255, 255, 255, 0)
        );
}


.loan-ticker-mask::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            #ffffff,
            rgba(255, 255, 255, 0)
        );
}


.loan-ticker-track {
    display: flex;

    align-items: center;

    width: max-content;

    white-space: nowrap;

    animation:
        loanTickerMove
        64s
        linear
        infinite;
}


.loan-ticker-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    color: #17375f;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .03em;
}


.loan-ticker-item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
}


.loan-ticker-tone-info { color: #315f91; }

.loan-ticker-tone-compare { color: #b3651f; }

.loan-ticker-tone-member { color: #25804a; }

.loan-ticker-tone-fraud { color: #c13c3c; }


.loan-ticker-dot {
    padding: 0 10px;
    color: #c3ccd7;

    font-size: 10px;
}


@keyframes loanTickerMove {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }
}


/*
|--------------------------------------------------------------------------
| 滑鼠移到跑馬燈時暫停
|--------------------------------------------------------------------------
*/

.loan-ticker:hover
.loan-ticker-track {
    animation-play-state:
        paused;
}

.loan-ticker-link {
    text-decoration: none;
    transition: color .16s ease, opacity .16s ease;
}

.loan-ticker-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .82;
}


/*
|--------------------------------------------------------------------------
| 右側按鈕/*
|--------------------------------------------------------------------------
| 右側按鈕
|--------------------------------------------------------------------------
*/

.home-partner-link {
    flex: 0 0 auto;

    white-space: nowrap;
}



/*
|--------------------------------------------------------------------------
| 尊重使用者減少動畫設定
|--------------------------------------------------------------------------
*/

@media (
    prefers-reduced-motion:
    reduce
) {

    .loan-ticker-track {
        animation: none;
    }
}

/*
|--------------------------------------------------------------------------
| 首頁標題 + 瀏覽次數
|--------------------------------------------------------------------------
*/

.simple-hero-top {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: start;

    gap: 40px;

    margin-bottom: 34px;
}


.hero-view-counter {
    display: flex;

    align-items: baseline;
    justify-content: flex-end;

    gap: 4px;

    margin-top: 8px;

    color: #98a2b3;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


.hero-view-counter strong {
    display: inline-block;

    color: #2f6fed;

    font-size: 20px;
    font-weight: 900;

    font-variant-numeric:
        tabular-nums;

    transition:
        transform .18s ease,
        opacity .18s ease;
}


.hero-view-counter strong.is-updating {
    transform:
        translateY(-2px);

    opacity: .78;
}


.simple-hero {
    padding: 62px 0 74px;

    background-color: #fbfaf6;

    background-image:
        linear-gradient(
            to right,
            rgba(251, 250, 246, 0.98) 0%,
            rgba(251, 250, 246, 0.94) 28%,
            rgba(251, 250, 246, 0.82) 45%,
            rgba(251, 250, 246, 0.58) 62%,
            rgba(251, 250, 246, 0.24) 80%,
            rgba(251, 250, 246, 0.08) 100%
        ),
        url('/assets/images/home-hero-bg.png?v=gold02');

    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}


.simple-hero-head {
    max-width: 760px;

    margin: 0;
}


.simple-kicker {
    margin-bottom: 10px;

    color: #2f6fed;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .04em;
}


.simple-hero-head h1 {
    margin: 0 0 18px;

    color: #101828;

    font-size: clamp(38px, 6vw, 62px);

    line-height: 1.13;

    letter-spacing: -.045em;
}


.simple-hero-head p {
    max-width: 680px;

    margin: 0;

    color: #667085;

    font-size: 17px;

    line-height: 1.8;
}



/*
|--------------------------------------------------------------------------
| 兩大入口
|--------------------------------------------------------------------------
*/

.simple-entry-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.simple-entry-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 245px;

    padding: 30px;

    border: 1px solid #dfe5ee;
    border-radius: 22px;

    background: #ffffff;

    color: #101828;

    text-decoration: none;

    box-shadow:
        0 8px 26px
        rgba(15, 23, 42, .04);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}


.simple-entry-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 34px
        rgba(15, 23, 42, .08);
}


.simple-entry-card.personal::after,
.simple-entry-card.business::after {
    content: "";

    position: absolute;

    right: -45px;
    bottom: -65px;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    background:
        rgba(47, 111, 237, .06);
}


.simple-entry-number {
    position: relative;
    z-index: 1;

    margin-bottom: 30px;

    color: #98a2b3;

    font-size: 13px;
    font-weight: 900;
}


.simple-entry-card h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 12px;

    font-size: 30px;

    letter-spacing: -.025em;
}


.simple-entry-card p {
    position: relative;
    z-index: 1;

    margin: 0 0 25px;

    color: #667085;

    line-height: 1.7;
}


.simple-entry-card span {
    position: relative;
    z-index: 1;

    margin-top: auto;

    font-weight: 900;
}



/*
|--------------------------------------------------------------------------
| 業者
|--------------------------------------------------------------------------
*/

.home-providers {
    padding: 72px 0;

    background: #ffffff;
}


.home-section-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}


.home-section-head > div {
    max-width: 720px;
}


.home-section-head h2 {
    margin: 0 0 10px;

    color: #101828;

    font-size: 34px;

    letter-spacing: -.025em;
}


.home-section-head p {
    margin: 0;

    color: #667085;

    line-height: 1.75;
}


.home-more-button {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 18px;

    border: 1px solid #d0d5dd;
    border-radius: 10px;

    background: #ffffff;

    color: #101828;

    font-size: 14px;
    font-weight: 900;

    text-decoration: none;
}


.home-provider-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.home-provider-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border: 1px solid #e1e6ed;
    border-radius: 18px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}


.home-provider-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px
        rgba(15, 23, 42, .07);
}


.home-provider-image {
    aspect-ratio: 16 / 10;

    background: #edf1f6;
}


.home-provider-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.home-provider-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    height: 100%;

    padding: 20px;

    color: #667085;

    font-size: 18px;
    font-weight: 900;

    text-align: center;
}


.home-provider-body {
    padding: 20px;
}


.home-provider-status {
    display: inline-flex;

    margin-bottom: 12px;

    padding: 5px 8px;

    border-radius: 7px;

    background: #eef6ff;

    color: #3569a8;

    font-size: 11px;
    font-weight: 900;
}

.home-provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin:
        -3px 0
        12px;
}


.home-provider-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 25px;

    padding:
        0 8px;

    border-radius: 7px;

    background: #f2f4f7;

    color: #667085;

    font-size: 11px;
    font-weight: 800;
}

.home-provider-company {
    margin-bottom: 7px;

    color: #667085;

    font-size: 13px;
    font-weight: 800;
}


.home-provider-body h3 {
    margin: 0 0 10px;

    color: #101828;

    font-size: 20px;

    line-height: 1.4;
}


.home-provider-body p {
    margin: 0;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


.home-provider-empty {
    padding: 28px;

    border: 1px solid #e1e6ed;
    border-radius: 16px;

    background: #f9fafb;

    color: #667085;
}

/*
|--------------------------------------------------------------------------
| 借款心得
|--------------------------------------------------------------------------
*/

.home-reviews {
    padding: 70px 0 80px;

    background: #f7f9fc;
}


.home-reviews-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;

    margin-bottom: 28px;
}


.home-reviews-head > div {
    max-width: 700px;
}


.home-reviews-head h2 {
    margin: 0 0 12px;

    color: #101828;

    font-size: 34px;

    letter-spacing: -.025em;
}


.home-reviews-head p {
    margin: 0;

    color: #667085;

    font-size: 15px;

    line-height: 1.75;
}


.home-review-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.home-review-card {
    display: flex;
    flex-direction: column;

    min-height: 300px;

    padding: 24px;

    border: 1px solid #e1e6ed;
    border-radius: 18px;

    background: #ffffff;
}


.home-review-top {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}


.home-review-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 50%;

    background: #eef3f9;

    color: #475467;

    font-size: 16px;
    font-weight: 900;
}


.home-review-name {
    color: #101828;

    font-size: 15px;
    font-weight: 900;
}


.home-review-meta {
    margin-top: 3px;

    color: #667085;

    font-size: 12px;
}


.home-review-status {
    align-self: flex-start;

    margin-bottom: 18px;

    padding: 5px 9px;

    border-radius: 7px;

    background: #ecfdf3;

    color: #027a48;

    font-size: 11px;
    font-weight: 900;
}


.home-review-text {
    margin: 0;

    color: #344054;

    font-size: 15px;

    line-height: 1.85;
}


.home-review-date {
    margin-top: auto;

    padding-top: 22px;

    color: #98a2b3;

    font-size: 12px;
}


.home-review-note {
    margin-top: 18px;

    color: #98a2b3;

    font-size: 12px;

    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    /*
    |--------------------------------------------------------------------------
    | Header
    |--------------------------------------------------------------------------
    */

    .home-header-inner {
        width: min(100% - 28px, 1180px);
        min-height: 66px;

        grid-template-columns:
            auto
            minmax(0, 1fr)
            auto;

        gap: 10px;
    }


    .home-header-inner .brand-name {
        display: none;
    }


    .loan-ticker-mask {
        padding: 9px 0;
    }


    .loan-ticker-item {
        padding: 0 12px;

        font-size: 12px;
    }


    .home-partner-link {
        padding: 10px 12px;

        font-size: 13px;
    }

    .simple-hero-top {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .hero-view-counter {
        justify-content: flex-start;

        margin-top: -4px;

        font-size: 12px;
    }


    .hero-view-counter strong {
        font-size: 18px;
    }

    /*
    |--------------------------------------------------------------------------
    | 首頁第一區
    |--------------------------------------------------------------------------
    */

    .simple-hero {
    padding: 38px 0 48px;

    background-position: 72% center;
    background-size: cover;
}

    .simple-hero-head {
        margin-bottom: 0;
    }


    .simple-hero-head h1 {
        font-size: 38px;
    }


    .simple-entry-grid {
        grid-template-columns: 1fr;
    }


    .simple-entry-card {
        min-height: 205px;

        padding: 24px 21px;
    }


    .simple-entry-card h2 {
        font-size: 26px;
    }


    /*
    |--------------------------------------------------------------------------
    | 精選業者
    |--------------------------------------------------------------------------
    */

    .home-providers {
        padding: 52px 0;
    }


    .home-section-head {
        display: block;
    }


    .home-section-head h2 {
        font-size: 29px;
    }


    .home-more-button {
        margin-top: 18px;
    }


    .home-provider-grid {
        grid-template-columns: 1fr;
    }


    /*
    |--------------------------------------------------------------------------
    | 借款心得
    |--------------------------------------------------------------------------
    */

    .home-reviews {
        padding: 52px 0;
    }


    .home-reviews-head {
        display: block;
    }


    .home-reviews-head h2 {
        font-size: 29px;
    }


    .home-reviews-head .home-more-button {
        margin-top: 18px;
    }


    .home-review-grid {
        grid-template-columns: 1fr;
    }


    .home-review-card {
        min-height: 0;

        padding: 21px;
    }

}


/*
|--------------------------------------------------------------------------
| Brand Visual v1 — 深海軍藍 × 香檳金 × 米白
|--------------------------------------------------------------------------
*/

:root {
    --brand-navy: #14213d;
    --brand-navy-deep: #0f172a;
    --brand-gold: #c9a04a;
    --brand-gold-deep: #9a7120;
    --brand-gold-soft: #f3e6bf;
    --brand-ivory: #fbfaf6;
}


/*
|--------------------------------------------------------------------------
| Logo / Header
|--------------------------------------------------------------------------
*/

.home-header-inner .brand-mark {
    position: relative;

    border: 1px solid rgba(201, 160, 74, .62);

    background:
        linear-gradient(
            145deg,
            #182748 0%,
            #101a31 100%
        );

    box-shadow:
        0 7px 18px
        rgba(15, 23, 42, .14);
}

.home-header-inner .brand-mark::after {
    content: "↗";

    position: absolute;

    top: 2px;
    right: 4px;

    color: #e6c875;

    font-size: 8px;
    font-weight: 900;
    line-height: 1;
}

.home-header-inner .brand-name {
    color: var(--brand-navy-deep);
}

.home-header-inner .partner-link {
    border-color: rgba(201, 160, 74, .58);

    background:
        rgba(255, 253, 248, .96);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.home-header-inner .partner-link:hover {
    transform: translateY(-1px);

    border-color: var(--brand-gold);

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(154, 113, 32, .10);
}

.loan-ticker-mask {
    background:
        linear-gradient(
            90deg,
            #fbfaf6 0%,
            #fffefb 100%
        );

    border:
        1px solid
        rgba(201, 160, 74, .12);
}

.loan-ticker-mask::before {
    background:
        linear-gradient(
            to right,
            #fbfaf6,
            rgba(251, 250, 246, 0)
        );
}

.loan-ticker-mask::after {
    background:
        linear-gradient(
            to left,
            #fffefb,
            rgba(255, 254, 251, 0)
        );
}

.loan-ticker-item:first-child {
    color: var(--brand-gold-deep);
}

.loan-ticker-dot {
    color: #d8c79e;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.simple-kicker {
    color: var(--brand-gold-deep);
}

.hero-view-counter {
    color: #7d7567;
}

.hero-view-counter strong {
    color: var(--brand-gold-deep);
}

.simple-hero {
    position: relative;

    isolation: isolate;
}

.simple-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.02),
            rgba(251,250,246,.08)
        );

    pointer-events: none;
}

.hero-title {
    overflow: visible;
}

.hero-title-line {
    display: block;

    opacity: 0;

    transform:
        translateY(14px);

    animation:
        heroTitleEnter
        .62s
        cubic-bezier(.22,.8,.3,1)
        forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: .08s;
}

.hero-title-line:nth-child(2) {
    animation-delay: .20s;
}

.hero-title-accent {
    position: relative;

    width: fit-content;
}

.hero-title-accent::after {
    content: "";

    position: absolute;

    left: 1px;
    right: 4px;
    bottom: -5px;

    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(201,160,74,.95),
            rgba(230,200,117,.42)
        );

    transform:
        scaleX(0);

    transform-origin:
        left center;

    animation:
        heroAccentDraw
        .62s
        ease
        .62s
        forwards;
}

@keyframes heroTitleEnter {
    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes heroAccentDraw {
    to {
        transform:
            scaleX(1);
    }
}


/*
|--------------------------------------------------------------------------
| 首頁兩大入口卡片
|--------------------------------------------------------------------------
*/

.simple-entry-card {
    overflow: hidden;

    border-color:
        rgba(201, 160, 74, .27);

    background:
        rgba(255, 255, 255, .92);

    box-shadow:
        0 10px 30px
        rgba(50, 42, 27, .055);

    backdrop-filter:
        blur(4px);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.simple-entry-card.personal::after,
.simple-entry-card.business::after {
    background:
        rgba(201, 160, 74, .095);

    transition:
        transform .28s ease,
        opacity .28s ease;
}

.simple-entry-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(201, 160, 74, .66);

    background: #ffffff;

    box-shadow:
        0 18px 42px
        rgba(50, 42, 27, .10);
}

.simple-entry-card:hover::after {
    transform:
        translate(-8px, -8px)
        scale(1.06);
}

.simple-entry-card > span {
    color: var(--brand-gold-deep);

    transition:
        transform .20s ease,
        color .20s ease;
}

.simple-entry-card:hover > span {
    transform:
        translateX(4px);

    color: #7f5a12;
}

.simple-entry-number {
    color: #b7a270;
}


/*
|--------------------------------------------------------------------------
| 業者卡片
|--------------------------------------------------------------------------
*/

.home-provider-card {
    border-color:
        rgba(201, 160, 74, .22);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.home-provider-image {
    overflow: hidden;

    background:
        #f4f0e7;
}

.home-provider-image img {
    transition:
        transform .32s
        cubic-bezier(.22,.8,.3,1);
}

.home-provider-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(201, 160, 74, .52);

    box-shadow:
        0 16px 38px
        rgba(50, 42, 27, .09);
}

.home-provider-card:hover
.home-provider-image img {
    transform:
        scale(1.025);
}

.home-provider-status {
    background:
        #fbf4e4;

    color:
        #7d5b17;
}


/*
|--------------------------------------------------------------------------
| 心得卡片
|--------------------------------------------------------------------------
*/

.home-reviews {
    background:
        linear-gradient(
            180deg,
            #f8f6f0 0%,
            #fbfaf6 100%
        );
}

.home-review-card {
    border-color:
        rgba(201, 160, 74, .22);

    background:
        rgba(255, 255, 255, .95);

    box-shadow:
        0 8px 24px
        rgba(50, 42, 27, .045);

    opacity: 0;

    transform:
        translateY(12px);

    animation:
        reviewCardEnter
        .52s
        ease
        forwards;
}

.home-review-card:nth-child(1) {
    animation-delay: .10s;
}

.home-review-card:nth-child(2) {
    animation-delay: .20s;
}

.home-review-card:nth-child(3) {
    animation-delay: .30s;
}

.home-review-avatar {
    background:
        #f8f1df;

    color:
        #7d5b17;
}

.home-review-status {
    background:
        #f8f1df;

    color:
        #7d5b17;
}

@keyframes reviewCardEnter {
    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/*
|--------------------------------------------------------------------------
| 動畫偏好
|--------------------------------------------------------------------------
*/

@media (
    prefers-reduced-motion:
    reduce
) {

    .hero-title-line,
    .hero-title-accent::after,
    .home-review-card {
        animation: none;

        opacity: 1;

        transform: none;
    }

    .simple-entry-card,
    .home-provider-card,
    .home-provider-image img {
        transition: none;
    }
}


/*
|--------------------------------------------------------------------------
| Brand Visual v1 Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .hero-title-accent {
        width: auto;
    }

    .hero-title-accent::after {
        right: 18%;
    }

    .simple-entry-card {
        backdrop-filter: none;
    }

}
/*
|--------------------------------------------------------------------------
| Homepage Entry Cards v2 — 強化「我要借款 / 公司要週轉」視覺
|--------------------------------------------------------------------------
*/

.simple-entry-grid {
    gap: 22px;
}

.simple-entry-card {
    min-height: 300px;
    padding: 34px;

    border-width: 1.5px;
    border-style: solid;

    transform-origin: center bottom;

    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s ease,
        border-color .28s ease,
        background-position .36s ease;
}

/* 右上角類型標籤 */
.simple-entry-card::before {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;
    padding: 0 11px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;

    white-space: nowrap;
}

/* 個人借款：米白 × 香檳金 */
.simple-entry-card.personal {
    border-color: rgba(201,160,74,.62);

    background:
        radial-gradient(
            circle at 92% 16%,
            rgba(230,200,117,.28) 0,
            rgba(230,200,117,.10) 22%,
            transparent 46%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,.98) 0%,
            #fffaf0 54%,
            #f6ead0 100%
        );

    background-size: 120% 120%;

    box-shadow:
        inset 0 4px 0 rgba(201,160,74,.72),
        0 16px 38px rgba(96,71,24,.12);
}

.simple-entry-card.personal::before {
    content: "個人借款";

    border: 1px solid rgba(201,160,74,.40);

    background: rgba(255,250,240,.90);
    color: #8b6419;

    box-shadow:
        0 5px 14px rgba(154,113,32,.08);
}

/* 公司週轉：深海軍藍 × 香檳金 */
.simple-entry-card.business {
    border-color: rgba(230,200,117,.70);

    background:
        radial-gradient(
            circle at 92% 16%,
            rgba(230,200,117,.19) 0,
            rgba(230,200,117,.07) 24%,
            transparent 48%
        ),
        linear-gradient(
            135deg,
            #1b2b4f 0%,
            #14213d 55%,
            #0f192f 100%
        );

    background-size: 120% 120%;

    color: #ffffff;

    box-shadow:
        inset 0 4px 0 rgba(230,200,117,.74),
        0 18px 42px rgba(15,23,42,.20);
}

.simple-entry-card.business::before {
    content: "企業週轉";

    border: 1px solid rgba(230,200,117,.48);

    background: rgba(9,18,36,.52);
    color: #f0d98f;

    box-shadow:
        0 5px 16px rgba(0,0,0,.12);
}

/* 背景裝飾圓 */
.simple-entry-card.personal::after,
.simple-entry-card.business::after {
    right: -58px;
    bottom: -78px;

    width: 235px;
    height: 235px;

    opacity: .95;

    transition:
        transform .36s cubic-bezier(.2,.8,.2,1),
        opacity .28s ease;
}

.simple-entry-card.personal::after {
    background:
        radial-gradient(
            circle,
            rgba(230,200,117,.32) 0%,
            rgba(201,160,74,.12) 45%,
            rgba(201,160,74,.03) 68%,
            transparent 72%
        );
}

.simple-entry-card.business::after {
    background:
        radial-gradient(
            circle,
            rgba(230,200,117,.22) 0%,
            rgba(201,160,74,.08) 46%,
            transparent 72%
        );
}

/* 01 / 02 改成明顯徽章 */
.simple-entry-number {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    margin-bottom: 42px;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 900;
}

.simple-entry-card.personal .simple-entry-number {
    border: 1px solid rgba(201,160,74,.55);

    background: #f6e8c4;
    color: #7d5712;

    box-shadow:
        0 6px 16px rgba(154,113,32,.10);
}

.simple-entry-card.business .simple-entry-number {
    border: 1px solid rgba(230,200,117,.50);

    background: rgba(230,200,117,.12);
    color: #f0d98f;

    box-shadow:
        0 6px 16px rgba(0,0,0,.10);
}

/* 主標題 */
.simple-entry-card h2 {
    margin-bottom: 13px;

    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.16;
}

.simple-entry-card.personal h2 {
    color: #14213d;
}

.simple-entry-card.business h2 {
    color: #ffffff;
}

/* 說明文字 */
.simple-entry-card p {
    max-width: 88%;
    margin-bottom: 30px;

    font-size: 15px;
    line-height: 1.8;
}

.simple-entry-card.personal p {
    color: #665f54;
}

.simple-entry-card.business p {
    color: #cdd5e2;
}

/* CTA 做成真正的按鈕感 */
.simple-entry-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    min-height: 44px;

    margin-top: auto;
    padding: 0 16px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 900;

    transition:
        transform .24s cubic-bezier(.2,.8,.2,1),
        box-shadow .24s ease,
        background .24s ease,
        color .24s ease;
}

.simple-entry-card.personal > span {
    background: #14213d;
    color: #ffffff;

    box-shadow:
        0 8px 18px rgba(20,33,61,.16);
}

.simple-entry-card.business > span {
    background:
        linear-gradient(
            135deg,
            #e5c66d,
            #c9a04a
        );

    color: #14213d;

    box-shadow:
        0 8px 20px rgba(201,160,74,.19);
}

/* 明顯 Hover */
.simple-entry-card:hover {
    transform:
        translateY(-8px)
        scale(1.012);
}

.simple-entry-card.personal:hover {
    border-color: #c9a04a;

    background-position: 96% 12%;

    box-shadow:
        inset 0 4px 0 #c9a04a,
        0 24px 52px rgba(96,71,24,.18);
}

.simple-entry-card.business:hover {
    border-color: #e5c66d;

    background-position: 96% 12%;

    box-shadow:
        inset 0 4px 0 #e5c66d,
        0 26px 56px rgba(15,23,42,.28);
}

.simple-entry-card:hover::after {
    transform:
        translate(-16px, -16px)
        scale(1.14);
}

.simple-entry-card:hover > span {
    transform: translateX(7px);
}

.simple-entry-card.personal:hover > span {
    background: #0f192f;

    box-shadow:
        0 11px 24px rgba(20,33,61,.23);
}

.simple-entry-card.business:hover > span {
    background:
        linear-gradient(
            135deg,
            #efd98f,
            #d6ad51
        );

    box-shadow:
        0 11px 25px rgba(201,160,74,.28);
}

/* 鍵盤操作也要有清楚焦點 */
.simple-entry-card:focus-visible {
    outline: 3px solid rgba(201,160,74,.42);
    outline-offset: 4px;
}

/* Mobile */
@media (max-width: 760px) {

    .simple-entry-grid {
        gap: 16px;
    }

    .simple-entry-card {
        min-height: 235px;
        padding: 24px 21px;
    }

    .simple-entry-card::before {
        top: 18px;
        right: 18px;

        min-height: 27px;
        padding: 0 9px;

        font-size: 11px;
    }

    .simple-entry-number {
        width: 42px;
        height: 42px;

        margin-bottom: 28px;

        font-size: 12px;
    }

    .simple-entry-card h2 {
        font-size: 28px;
    }

    .simple-entry-card p {
        max-width: 100%;

        margin-bottom: 24px;

        font-size: 14px;
    }

    .simple-entry-card > span {
        min-height: 40px;

        padding: 0 14px;

        font-size: 13px;
    }

    /* 觸控裝置不依賴 hover 才能辨識 */
    .simple-entry-card:hover {
        transform: none;
    }
}

/* Reduce Motion */
@media (
    prefers-reduced-motion:
    reduce
) {

    .simple-entry-card,
    .simple-entry-card::after,
    .simple-entry-card > span {
        transition: none;
    }

    .simple-entry-card:hover {
        transform: none;
    }
}
/*
|--------------------------------------------------------------------------
| Homepage Provider Carousel v1
|--------------------------------------------------------------------------
*/

.home-providers {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffdf8 100%
        );
}

.home-section-head {
    align-items: flex-end;
}

.home-section-head > div:first-child {
    max-width: 790px;
}

.home-section-head h2 {
    max-width: 760px;
}

.home-section-head p {
    max-width: 760px;

    font-size: 15px;
}

.home-provider-controls {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;
}

.home-provider-controls-label {
    margin-right: 4px;

    color: #8a8172;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}

.home-provider-arrow {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border:
        1px solid
        rgba(201, 160, 74, .46);

    border-radius: 50%;

    background:
        #ffffff;

    color:
        var(--brand-navy, #14213d);

    font-size: 18px;
    font-weight: 900;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 7px 18px
        rgba(50, 42, 27, .065);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.home-provider-arrow:not(:disabled):hover {
    transform:
        translateY(-2px);

    border-color:
        var(--brand-gold, #c9a04a);

    background:
        var(--brand-navy, #14213d);

    color:
        #f2d98d;

    box-shadow:
        0 10px 24px
        rgba(20, 33, 61, .16);
}

.home-provider-arrow:disabled {
    opacity: .30;

    cursor: default;

    box-shadow: none;
}

.home-provider-carousel {
    position: relative;

    width:
        calc(
            100vw
            -
            max(
                0px,
                (
                    100vw - 1180px
                )
                / 2
            )
        );

    max-width:
        calc(
            1180px
            +
            (
                100vw - 1180px
            )
            / 2
        );

    overflow: hidden;
}

/*
| Track 使用原生橫向捲動。
| 桌機約 3 張完整卡 + 第 4 張局部露出，
| 讓使用者不用看說明也知道右邊還有內容。
*/
.home-provider-track {
    display: flex;

    gap: 18px;

    overflow-x: auto;
    overflow-y: hidden;

    padding:
        6px
        44px
        24px
        2px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.home-provider-track::-webkit-scrollbar {
    display: none;
}

.home-provider-track .home-provider-card {
    flex:
        0 0
        calc(
            (
                min(
                    1180px,
                    calc(100vw - 40px)
                )
                - 36px
            )
            / 3.18
        );

    min-width: 0;

    scroll-snap-align: start;
    scroll-snap-stop: normal;

    border-color:
        rgba(201, 160, 74, .28);

    background:
        rgba(255, 255, 255, .98);

    box-shadow:
        0 10px 28px
        rgba(50, 42, 27, .06);

    transition:
        transform .24s
        cubic-bezier(.2,.8,.2,1),
        border-color .24s ease,
        box-shadow .24s ease;
}

.home-provider-track
.home-provider-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(201, 160, 74, .66);

    box-shadow:
        0 20px 44px
        rgba(50, 42, 27, .12);
}

.home-provider-track
.home-provider-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    min-height: 220px;
}

.home-provider-track
.home-provider-company {
    color:
        #796d5b;
}

.home-provider-track
.home-provider-body h3 {
    font-size: 21px;
}

.home-provider-track
.home-provider-body p {
    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    margin-bottom: 18px;
}

.home-provider-action {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-top: auto;
    padding-top: 18px;

    color:
        var(--brand-gold-deep, #9a7120);

    font-size: 13px;
    font-weight: 900;

    transition:
        transform .20s ease,
        color .20s ease;
}

.home-provider-card:hover
.home-provider-action {
    transform:
        translateX(4px);

    color:
        #74500e;
}

.home-provider-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 2px;

    color:
        #9a9182;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .02em;
}

.home-provider-swipe-hint span {
    color:
        var(--brand-gold, #c9a04a);
}

/* Tablet */
@media (max-width: 980px) {

    .home-provider-controls-label {
        display: none;
    }

    .home-provider-carousel {
        width:
            calc(
                100vw
                -
                20px
            );

        max-width: none;
    }

    .home-provider-track
    .home-provider-card {
        flex-basis:
            calc(
                (
                    min(
                        100vw - 28px,
                        1180px
                    )
                    - 18px
                )
                / 2.25
            );
    }
}

/* Mobile */
@media (max-width: 760px) {

    .home-section-head {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        align-items: end;

        gap: 16px;
    }

    .home-section-head > div:first-child {
        grid-column:
            1 / -1;
    }

    .home-provider-controls {
        grid-column: 2;

        justify-self: end;
    }

    .home-provider-arrow {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .home-provider-carousel {
        width:
            calc(
                100vw
                - 14px
            );

        margin-right:
            -14px;
    }

    .home-provider-track {
        gap: 14px;

        padding:
            6px
            32px
            18px
            0;
    }

    .home-provider-track
    .home-provider-card {
        flex-basis:
            84%;
    }

    .home-provider-track
    .home-provider-body {
        min-height: 200px;
    }

    .home-provider-swipe-hint {
        justify-content: flex-start;

        margin-top: 5px;
    }
}

/* Reduce Motion */
@media (
    prefers-reduced-motion:
    reduce
) {

    .home-provider-track {
        scroll-behavior: auto;
    }

    .home-provider-arrow,
    .home-provider-track
    .home-provider-card,
    .home-provider-action {
        transition: none;
    }
}
/*
|--------------------------------------------------------------------------
| Homepage DEMO Provider Cards
|--------------------------------------------------------------------------
*/

.home-provider-card.is-demo {
    cursor: default;
}

.home-provider-status.demo {
    border:
        1px solid
        rgba(201, 160, 74, .30);

    background:
        #fff8e7;

    color:
        #8a6418;
}

.home-provider-card.is-demo
.home-provider-placeholder {
    background:
        linear-gradient(
            145deg,
            #f8f1df 0%,
            #fffdf7 58%,
            #efe0b8 100%
        );

    color:
        #6e5420;
}

.home-provider-card.is-demo
.home-provider-action {
    color:
        #9b8f79;
}
/*
|--------------------------------------------------------------------------
| Homepage Reviews v2 — 借款經驗分享
|--------------------------------------------------------------------------
*/

.home-reviews {
    position: relative;

    overflow: hidden;

    padding:
        82px 0
        88px;

    background:
        linear-gradient(
            180deg,
            #f8f4e9 0%,
            #fbfaf6 46%,
            #ffffff 100%
        );
}

.home-reviews::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -110px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(230, 200, 117, .14) 0%,
            rgba(201, 160, 74, .055) 48%,
            transparent 72%
        );

    pointer-events: none;
}

.home-reviews-head {
    position: relative;
    z-index: 1;

    margin-bottom: 34px;
}

.home-reviews-head > div {
    max-width: 790px;
}

.home-reviews-head h2 {
    max-width: 760px;

    margin-bottom: 14px;

    color:
        var(--brand-navy-deep, #0f172a);

    font-size:
        clamp(
            30px,
            4vw,
            40px
        );

    line-height: 1.28;

    letter-spacing: -.035em;
}

.home-reviews-head p {
    max-width: 730px;

    color: #70695e;

    font-size: 16px;

    line-height: 1.85;
}

.home-review-grid {
    position: relative;
    z-index: 1;

    gap: 18px;
}

.home-review-card {
    position: relative;

    overflow: hidden;

    min-height: 320px;

    padding: 26px;

    border:
        1px solid
        rgba(201, 160, 74, .32);

    border-radius: 22px;

    background:
        linear-gradient(
            160deg,
            rgba(255,255,255,.99) 0%,
            rgba(255,253,248,.97) 100%
        );

    box-shadow:
        0 12px 30px
        rgba(50, 42, 27, .065);

    transition:
        transform .24s
        cubic-bezier(.2,.8,.2,1),
        border-color .24s ease,
        box-shadow .24s ease;
}

/* 上方香檳金細線 */
.home-review-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 26px;
    right: 26px;

    height: 3px;

    border-radius:
        0 0
        999px 999px;

    background:
        linear-gradient(
            90deg,
            rgba(201,160,74,.95),
            rgba(230,200,117,.34)
        );
}

/* 淡淡的引號裝飾 */
.home-review-card::after {
    content: "“";

    position: absolute;

    right: 20px;
    bottom: -32px;

    color:
        rgba(201, 160, 74, .08);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 150px;
    font-weight: 700;
    line-height: 1;

    pointer-events: none;
}

.home-review-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(201, 160, 74, .62);

    box-shadow:
        0 20px 44px
        rgba(50, 42, 27, .105);
}

.home-review-top {
    position: relative;
    z-index: 1;

    margin-bottom: 20px;
}

.home-review-avatar {
    width: 48px;
    height: 48px;

    flex-basis: 48px;

    border:
        1px solid
        rgba(201, 160, 74, .38);

    background:
        linear-gradient(
            145deg,
            #f7e9c8,
            #fff9ea
        );

    color:
        #765413;

    box-shadow:
        0 6px 16px
        rgba(154, 113, 32, .08);
}

.home-review-name {
    color:
        var(--brand-navy-deep, #0f172a);

    font-size: 16px;
}

.home-review-meta {
    margin-top: 4px;

    color: #7b7469;

    font-size: 12px;
    font-weight: 700;
}

.home-review-status {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 19px;

    padding:
        6px 10px;

    border:
        1px solid
        rgba(201, 160, 74, .28);

    border-radius: 999px;

    background:
        #fbf4df;

    color:
        #7b5813;

    font-size: 11px;
    font-weight: 900;
}

.home-review-status::before {
    content: "✓";

    display: grid;
    place-items: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background:
        var(--brand-navy, #14213d);

    color: #f0d98f;

    font-size: 10px;
    line-height: 1;
}

.home-review-text {
    position: relative;
    z-index: 1;

    color: #343b49;

    font-size: 15px;

    line-height: 1.95;
}

.home-review-date {
    position: relative;
    z-index: 1;

    padding-top: 24px;

    color: #a09788;

    font-size: 12px;
    font-weight: 700;
}

.home-review-note {
    position: relative;
    z-index: 1;

    display: inline-flex;

    margin-top: 22px;

    padding:
        10px 14px;

    border:
        1px solid
        rgba(201, 160, 74, .18);

    border-radius: 10px;

    background:
        rgba(255,255,255,.62);

    color: #8a8173;

    font-size: 12px;

    line-height: 1.7;
}


/* Mobile */
@media (max-width: 760px) {

    .home-reviews {
        padding:
            58px 0
            62px;
    }

    .home-reviews-head {
        margin-bottom: 24px;
    }

    .home-reviews-head h2 {
        font-size: 30px;
    }

    .home-reviews-head p {
        font-size: 15px;
    }

    .home-review-grid {
        gap: 14px;
    }

    .home-review-card {
        min-height: 0;

        padding: 23px 21px;

        border-radius: 18px;
    }

    .home-review-card::before {
        left: 21px;
        right: 21px;
    }

    .home-review-card::after {
        right: 12px;

        font-size: 120px;
    }

    .home-review-note {
        display: block;
    }
}


/* Reduce Motion */
@media (
    prefers-reduced-motion:
    reduce
) {

    .home-review-card {
        transition: none;
    }

    .home-review-card:hover {
        transform: none;
    }
}
/*
|--------------------------------------------------------------------------
| Homepage Provider Stacked Carousel v1
|--------------------------------------------------------------------------
*/

.home-providers {
    overflow: hidden;
}

.home-providers .home-section-head {
    display: block;

    margin-bottom: 34px;
}

.home-providers
.home-section-head > div:first-child {
    max-width: 790px;
}

.home-provider-stack {
    position: relative;

    width: 100%;

    touch-action: pan-y;
}

.home-provider-stack-track {
    position: relative;

    width:
        min(
            760px,
            calc(100% - 130px)
        );

    height: 385px;

    margin:
        48px auto
        0;

    perspective: 1200px;
}


/*
|--------------------------------------------------------------------------
| 疊卡共同設定
|--------------------------------------------------------------------------
*/

.home-provider-stack-card {
    position: absolute;

    top: 0;
    left: 50%;

    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0, .88fr)
        minmax(0, 1.12fr);

    width: 100%;
    min-height: 330px;

    overflow: hidden;

    opacity: 0;

    pointer-events: none;

    transform-origin:
        center center;

    will-change:
        transform,
        opacity;

    transition:
        transform .38s
        cubic-bezier(.2,.82,.24,1),
        opacity .30s ease,
        box-shadow .30s ease,
        border-color .30s ease;
}


/*
|--------------------------------------------------------------------------
| 主卡
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-active {
    z-index: 4;

    opacity: 1;

    pointer-events: auto;

    transform:
        translateX(-54%)
        translateY(0)
        scale(1);

    box-shadow:
        0 24px 58px
        rgba(33, 30, 25, .15);
}


/*
|--------------------------------------------------------------------------
| 第二層
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-next {
    z-index: 3;

    opacity: .92;

    transform:
        translateX(
            calc(
                -54% + 46px
            )
        )
        translateY(-18px)
        scale(.965);

    box-shadow:
        0 17px 38px
        rgba(33, 30, 25, .10);
}


/*
|--------------------------------------------------------------------------
| 第三層
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-after {
    z-index: 2;

    opacity: .68;

    transform:
        translateX(
            calc(
                -54% + 86px
            )
        )
        translateY(-34px)
        scale(.925);

    box-shadow:
        0 12px 28px
        rgba(33, 30, 25, .07);
}


/*
|--------------------------------------------------------------------------
| 已看過的卡片：往左滑出
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-before {
    z-index: 1;

    opacity: 0;

    transform:
        translateX(
            calc(
                -54% - 150px
            )
        )
        translateY(12px)
        scale(.94);

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| 第四張以後不顯示
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-hidden {
    z-index: 0;

    opacity: 0;

    transform:
        translateX(
            calc(
                -54% + 110px
            )
        )
        translateY(-44px)
        scale(.90);

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| 主卡改成橫式資訊卡
|--------------------------------------------------------------------------
*/

.home-provider-stack-card
.home-provider-image {
    min-height: 330px;

    aspect-ratio: auto;
}

.home-provider-stack-card
.home-provider-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.home-provider-stack-card
.home-provider-placeholder {
    min-height: 330px;

    background:
        linear-gradient(
            145deg,
            #f5ead0 0%,
            #fffdf7 48%,
            #e9d49d 100%
        );

    color:
        #674d1c;

    font-size: 22px;
}

.home-provider-stack-card
.home-provider-body {
    display: flex;
    flex-direction: column;

    min-height: 330px;

    padding: 30px 30px 27px;
}

.home-provider-stack-card
.home-provider-status {
    align-self: flex-start;
}

.home-provider-stack-card
.home-provider-company {
    margin-top: 3px;

    font-size: 13px;
}

.home-provider-stack-card
.home-provider-body h3 {
    margin-top: 2px;

    font-size: 25px;

    line-height: 1.32;
}

.home-provider-stack-card
.home-provider-body p {
    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    margin-bottom: 22px;

    font-size: 14px;

    line-height: 1.8;
}

.home-provider-stack-card
.home-provider-action {
    margin-top: auto;

    padding-top: 18px;
}


/*
|--------------------------------------------------------------------------
| 後方卡片降低內容存在感，讓主卡更清楚
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-next
.home-provider-body,
.home-provider-stack-card.is-after
.home-provider-body {
    filter:
        saturate(.88);
}

.home-provider-stack-card.is-next::after,
.home-provider-stack-card.is-after::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 6;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.07),
            rgba(251,246,234,.18)
        );

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| 控制列
|--------------------------------------------------------------------------
*/

.home-provider-stack-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 14px;
}

.home-provider-stack-controls
.home-provider-arrow {
    width: 48px;
    height: 48px;

    border-width: 1.5px;
}

.home-provider-stack-counter {
    display: inline-flex;

    align-items: baseline;
    justify-content: center;

    gap: 6px;

    min-width: 82px;

    color: #9b9182;

    font-variant-numeric:
        tabular-nums;
}

.home-provider-stack-counter strong {
    color:
        var(--brand-navy, #14213d);

    font-size: 22px;
    font-weight: 900;
}

.home-provider-stack-counter span {
    font-size: 13px;
    font-weight: 800;
}

.home-provider-stack
.home-provider-swipe-hint {
    justify-content: center;

    margin-top: 12px;
}


/*
|--------------------------------------------------------------------------
| 主卡 Hover
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-active:hover {
    transform:
        translateX(-54%)
        translateY(-5px)
        scale(1.006);

    border-color:
        rgba(201, 160, 74, .72);

    box-shadow:
        0 28px 64px
        rgba(33, 30, 25, .17);
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .home-provider-stack-track {
        width:
            min(
                690px,
                calc(100% - 92px)
            );

        height: 375px;
    }

    .home-provider-stack-card.is-active {
        transform:
            translateX(-53%)
            scale(1);
    }

    .home-provider-stack-card.is-next {
        transform:
            translateX(
                calc(
                    -53% + 34px
                )
            )
            translateY(-16px)
            scale(.965);
    }

    .home-provider-stack-card.is-after {
        transform:
            translateX(
                calc(
                    -53% + 62px
                )
            )
            translateY(-29px)
            scale(.93);
    }

    .home-provider-stack-card.is-before {
        transform:
            translateX(
                calc(
                    -53% - 120px
                )
            )
            translateY(10px)
            scale(.94);
    }

    .home-provider-stack-card.is-hidden {
        transform:
            translateX(
                calc(
                    -53% + 80px
                )
            )
            translateY(-38px)
            scale(.90);
    }

    .home-provider-stack-card.is-active:hover {
        transform:
            translateX(-53%)
            translateY(-4px)
            scale(1.004);
    }
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .home-providers
    .home-section-head {
        margin-bottom: 26px;
    }

    .home-provider-stack-track {
        width:
            calc(
                100% - 34px
            );

        height: 515px;

        margin-top: 42px;
    }

    .home-provider-stack-card {
        display: flex;
        flex-direction: column;

        min-height: 456px;

        border-radius: 20px;
    }

    .home-provider-stack-card.is-active {
        transform:
            translateX(-52%)
            translateY(0)
            scale(1);
    }

    .home-provider-stack-card.is-next {
        transform:
            translateX(
                calc(
                    -52% + 17px
                )
            )
            translateY(-14px)
            scale(.975);
    }

    .home-provider-stack-card.is-after {
        transform:
            translateX(
                calc(
                    -52% + 31px
                )
            )
            translateY(-27px)
            scale(.95);
    }

    .home-provider-stack-card.is-before {
        transform:
            translateX(
                calc(
                    -52% - 92px
                )
            )
            translateY(7px)
            scale(.95);
    }

    .home-provider-stack-card.is-hidden {
        transform:
            translateX(
                calc(
                    -52% + 42px
                )
            )
            translateY(-34px)
            scale(.93);
    }

    .home-provider-stack-card.is-active:hover {
        transform:
            translateX(-52%)
            translateY(0)
            scale(1);
    }

    .home-provider-stack-card
    .home-provider-image {
        min-height: 205px;
        height: 205px;

        aspect-ratio: auto;
    }

    .home-provider-stack-card
    .home-provider-placeholder {
        min-height: 205px;

        font-size: 19px;
    }

    .home-provider-stack-card
    .home-provider-body {
        min-height: 251px;

        padding: 21px;
    }

    .home-provider-stack-card
    .home-provider-body h3 {
        font-size: 21px;
    }

    .home-provider-stack-card
    .home-provider-body p {
        -webkit-line-clamp: 2;

        font-size: 13px;
    }

    .home-provider-stack-controls {
        gap: 15px;

        margin-top: 8px;
    }

    .home-provider-stack-controls
    .home-provider-arrow {
        width: 44px;
        height: 44px;
    }

    .home-provider-stack-counter strong {
        font-size: 20px;
    }

}


/*
|--------------------------------------------------------------------------
| Reduce Motion
|--------------------------------------------------------------------------
*/

@media (
    prefers-reduced-motion:
    reduce
) {

    .home-provider-stack-card {
        transition: none;
    }

    .home-provider-stack-card.is-active:hover {
        transform:
            translateX(-54%);
    }

}
/*
|--------------------------------------------------------------------------
| Homepage Hero v2 — 只保留主標題 + 卡片上移
|--------------------------------------------------------------------------
*/

.simple-hero {
    padding:
        42px 0
        54px;
}

.simple-hero-top {
    align-items: start;

    margin-bottom: 18px;
}

.simple-hero-head {
    max-width: 900px;
}

.hero-title-link {
    display: inline-block;

    color: inherit;

    text-decoration: none;

    cursor: pointer;
}

.hero-title-link .hero-title {
    margin: 0;
}

.hero-title-link:hover
.hero-title-line:first-child {
    color:
        var(--brand-navy, #14213d);
}

.hero-title-link:hover
.hero-title-accent {
    color:
        #7c5814;
}

.hero-title-link:focus-visible {
    outline:
        3px solid
        rgba(201, 160, 74, .36);

    outline-offset: 8px;

    border-radius: 8px;
}

.hero-title-line:first-child {
    transition:
        color .20s ease;
}

.hero-title-accent {
    transition:
        color .20s ease;
}

/*
| 點標題跳到業者區時，避免區塊頂端貼太近瀏覽器上方。
*/
.home-providers {
    scroll-margin-top: 88px;
}


/*
|--------------------------------------------------------------------------
| Mobile — 讓兩張主入口更靠近標題
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .simple-hero {
        padding:
            22px 0
            32px;
    }

    .simple-hero-top {
        gap: 10px;

        margin-bottom: 10px;
    }

    .simple-hero-head {
        max-width: none;
    }

    .simple-hero-head h1 {
        font-size: 34px;

        line-height: 1.16;
    }

    .hero-title-accent::after {
        bottom: -3px;
    }

    .simple-entry-grid {
        margin-top: 0;
    }

}


/*
|--------------------------------------------------------------------------
| Smaller phones
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .simple-hero {
        padding-top: 18px;
    }

    .simple-hero-head h1 {
        font-size: 31px;
    }

}
/*
|--------------------------------------------------------------------------
| Homepage Header / Logo Polish v1
|--------------------------------------------------------------------------
*/

.site-header {
    border-bottom:
        1px solid
        rgba(201, 160, 74, .20);

    background:
        rgba(255, 254, 251, .96);

    box-shadow:
        0 6px 22px
        rgba(20, 33, 61, .035);
}

.home-header-inner {
    min-height: 72px;
}

.home-header-inner .brand {
    gap: 12px;
}

.home-header-inner .brand-mark {
    width: 39px;
    height: 39px;

    border-radius: 11px;

    border:
        1px solid
        rgba(230, 200, 117, .72);

    background:
        linear-gradient(
            145deg,
            #1d2e52 0%,
            #14213d 55%,
            #0e172a 100%
        );

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.025),
        0 8px 20px
        rgba(15,23,42,.14);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.home-header-inner .brand-mark::after {
    top: 3px;
    right: 4px;

    color: #efd98f;

    font-size: 9px;
}

.home-header-inner .brand:hover
.brand-mark {
    transform:
        translateY(-1px);

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.035),
        0 11px 24px
        rgba(15,23,42,.18);
}

.home-header-inner .brand-name {
    color:
        var(--brand-navy-deep, #0f172a);

    font-size: 20px;
    font-weight: 900;

    letter-spacing: -.025em;
}

.loan-ticker-mask {
    border-color:
        rgba(201, 160, 74, .18);

    background:
        linear-gradient(
            90deg,
            #fbf8ef 0%,
            #fffefb 55%,
            #fbf8ef 100%
        );
}

.home-header-inner
.partner-link {
    min-height: 42px;

    padding:
        0 17px;

    border:
        1px solid
        rgba(230, 200, 117, .70);

    background:
        linear-gradient(
            145deg,
            #1c2c4e 0%,
            #14213d 100%
        );

    color:
        #f1d98d !important;

    box-shadow:
        0 8px 18px
        rgba(20,33,61,.12);
}

.home-header-inner
.partner-link:hover {
    transform:
        translateY(-2px);

    border-color:
        #e5c66d;

    background:
        #0f192f;

    color:
        #f6e4aa !important;

    box-shadow:
        0 12px 25px
        rgba(20,33,61,.18);
}


/*
|--------------------------------------------------------------------------
| Homepage SEO / visible heading alignment
|--------------------------------------------------------------------------
*/

.hero-title-link
.hero-title {
    max-width: 900px;
}


/*
|--------------------------------------------------------------------------
| Mobile Header
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .home-header-inner {
        min-height: 62px;
    }

    .home-header-inner
    .brand-mark {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }

    .home-header-inner
    .partner-link {
        min-height: 38px;

        padding:
            0 12px;

        font-size: 12px;
    }

}


/*
|--------------------------------------------------------------------------
| Reduce Motion
|--------------------------------------------------------------------------
*/

@media (
    prefers-reduced-motion:
    reduce
) {

    .home-header-inner
    .brand-mark,
    .home-header-inner
    .partner-link {
        transition: none;
    }

}
/*
|--------------------------------------------------------------------------
| 台灣借貸導航網 Brand Name v1
|--------------------------------------------------------------------------
*/

.home-header-inner .brand-name {
    font-size: 19px;
    letter-spacing: -.03em;
}

@media (max-width: 860px) and (min-width: 761px) {

    .home-header-inner {
        gap: 16px;
    }

    .home-header-inner .brand-name {
        font-size: 17px;
    }

}
/*
|--------------------------------------------------------------------------
| Homepage Hero Brand Title v3
| 與「我要借款 / 公司要週轉」兩張主卡統一視覺
|--------------------------------------------------------------------------
*/

.simple-hero-head {
    max-width: 920px;
}

.hero-title-link {
    position: relative;

    display: inline-block;

    transform: translateY(0);

    transition:
        transform .22s
        cubic-bezier(.2,.8,.2,1);
}

.hero-title-link:hover {
    transform:
        translateY(-2px);
}

.hero-title-link .hero-title {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    margin: 0;

    font-family:
        "Noto Sans TC",
        "PingFang TC",
        "Microsoft JhengHei",
        sans-serif;
}


/*
|--------------------------------------------------------------------------
| 第一行：主品牌訊息
|--------------------------------------------------------------------------
*/

.hero-title-main {
    color:
        var(--brand-navy-deep, #0f172a);

    font-size:
        clamp(
            43px,
            5.2vw,
            66px
        );

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -.055em;

    text-wrap: balance;

    text-shadow:
        0 1px 0
        rgba(255,255,255,.62);

    transition:
        color .20s ease;
}


/*
|--------------------------------------------------------------------------
| 第二行：四大借款方向
|--------------------------------------------------------------------------
*/

.hero-title-categories {
    position: relative;

    width: fit-content;

    padding-bottom: 12px;

    color:
        var(--brand-gold-deep, #9a7120);

    font-size:
        clamp(
            17px,
            2vw,
            22px
        );

    font-weight: 850;

    line-height: 1.4;

    letter-spacing: .075em;

    white-space: nowrap;

    transition:
        color .20s ease;
}


/*
|--------------------------------------------------------------------------
| 香檳金短底線
|--------------------------------------------------------------------------
*/

.hero-title-categories::after {
    left: 1px;
    right: auto;
    bottom: 0;

    width: 82px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #c9a04a 0%,
            #e5c66d 60%,
            rgba(229,198,109,.16) 100%
        );

    box-shadow:
        0 3px 10px
        rgba(201,160,74,.13);
}


/*
|--------------------------------------------------------------------------
| Hover：保持金融平台感，不做浮誇動畫
|--------------------------------------------------------------------------
*/

.hero-title-link:hover
.hero-title-main {
    color:
        #14213d;
}

.hero-title-link:hover
.hero-title-categories {
    color:
        #795611;
}

.hero-title-link:hover
.hero-title-categories::after {
    width: 108px;
}


/*
|--------------------------------------------------------------------------
| 讓標題與兩張入口卡更靠近
|--------------------------------------------------------------------------
*/

.simple-hero-top {
    margin-bottom: 12px;
}

.simple-entry-grid {
    margin-top: 0;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 980px) {

    .hero-title-main {
        font-size:
            clamp(
                40px,
                6vw,
                56px
            );
    }

    .hero-title-categories {
        font-size: 18px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .simple-hero {
        padding:
            18px 0
            28px;
    }

    .simple-hero-top {
        gap: 7px;

        margin-bottom: 7px;
    }

    .hero-title-link .hero-title {
        gap: 7px;
    }

    .hero-title-main {
        font-size: 32px;

        line-height: 1.10;

        letter-spacing: -.045em;
    }

    .hero-title-categories {
        padding-bottom: 9px;

        font-size: 14px;

        font-weight: 850;

        letter-spacing: .055em;
    }

    .hero-title-categories::after {
        width: 60px;
        height: 3px;
    }

    .hero-title-link:hover {
        transform: none;
    }

    /*
    | 再把兩張卡往上收一點
    */
    .simple-entry-grid {
        gap: 13px;

        margin-top: -2px;
    }

}


/*
|--------------------------------------------------------------------------
| Small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .hero-title-main {
        font-size: 29px;
    }

    .hero-title-categories {
        font-size: 13px;

        letter-spacing: .035em;
    }

}


/*
|--------------------------------------------------------------------------
| Reduce Motion
|--------------------------------------------------------------------------
*/

@media (
    prefers-reduced-motion:
    reduce
) {

    .hero-title-link {
        transition: none;
    }

    .hero-title-link:hover {
        transform: none;
    }

}

/*
|--------------------------------------------------------------------------
| Homepage Featured Image-First v3
|--------------------------------------------------------------------------
|
| 目的：
| - 首頁精選「圖片多、文字少」
| - 上傳 1200×900（4:3）時完整顯示，不再被 cover 裁切
|--------------------------------------------------------------------------
*/

.home-provider-stack-track {
    width:
        min(
            800px,
            calc(100% - 110px)
        );

    height: 420px;
}

.home-provider-stack-card {
    grid-template-columns:
        minmax(0, 64%)
        minmax(240px, 36%);

    min-height: 365px;
}


/*
|--------------------------------------------------------------------------
| 圖片：4:3 完整顯示
|--------------------------------------------------------------------------
*/

.home-provider-stack-card
.home-provider-image {
    width: 100%;
    min-height: 0;
    height: auto;

    aspect-ratio:
        4 / 3;

    background:
        #f4f0e7;
}

.home-provider-stack-card
.home-provider-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transform: none !important;
}


/*
|--------------------------------------------------------------------------
| 文字：縮小資訊量
|--------------------------------------------------------------------------
*/

.home-provider-stack-card
.home-provider-body {
    min-height: 0;

    padding:
        24px
        23px
        22px;
}

.home-provider-stack-card
.home-provider-status {
    margin-bottom: 12px;

    padding:
        5px 8px;

    font-size: 10px;
}

.home-provider-stack-card
.home-provider-company {
    margin-top: 0;
    margin-bottom: 8px;

    font-size: 12px;
}

.home-provider-stack-card
.home-provider-body h3 {
    margin:
        0 0
        10px;

    font-size: 20px;

    line-height: 1.38;
}


/*
| 首頁精選不再顯示簡介；
| 後台仍可保留資料，不影響其他用途。
*/
.home-provider-stack-card
.home-provider-body p {
    display: none;
}

.home-provider-stack-card
.home-provider-action {
    margin-top: auto;

    padding-top: 14px;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| 後方疊卡
|--------------------------------------------------------------------------
*/

.home-provider-stack-card.is-next::after,
.home-provider-stack-card.is-after::after {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.025),
            rgba(251,246,234,.12)
        );
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .home-provider-stack-track {
        width:
            min(
                740px,
                calc(100% - 76px)
            );

        height: 405px;
    }

    .home-provider-stack-card {
        grid-template-columns:
            minmax(0, 62%)
            minmax(220px, 38%);

        min-height: 350px;
    }

    .home-provider-stack-card
    .home-provider-body {
        padding:
            21px
            19px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .home-provider-stack-track {
        width:
            calc(
                100% - 30px
            );

        height: 535px;

        margin-top: 38px;
    }

    .home-provider-stack-card {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .home-provider-stack-card
    .home-provider-image {
        width: 100%;
        min-height: 0;
        height: auto;

        aspect-ratio:
            4 / 3;

        flex:
            0 0 auto;
    }

    .home-provider-stack-card
    .home-provider-body {
        min-height: 145px;

        padding:
            17px
            18px
            16px;
    }

    .home-provider-stack-card
    .home-provider-status {
        margin-bottom: 8px;
    }

    .home-provider-stack-card
    .home-provider-company {
        margin-bottom: 5px;
    }

    .home-provider-stack-card
    .home-provider-body h3 {
        margin-bottom: 5px;

        font-size: 18px;
    }

    .home-provider-stack-card
    .home-provider-action {
        padding-top: 8px;
    }

}


/*
|--------------------------------------------------------------------------
| Small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .home-provider-stack-track {
        height: 505px;
    }

    .home-provider-stack-card
    .home-provider-body {
        min-height: 135px;

        padding:
            15px
            16px;
    }

    .home-provider-stack-card
    .home-provider-body h3 {
        font-size: 17px;
    }

}

/*
|--------------------------------------------------------------------------
| Homepage Entry Image Cards v4
|--------------------------------------------------------------------------
| 兩張入口改成完整圖片卡。
| 圖片本身已含人物、標題、說明與按鈕視覺，因此 HTML 不再重複顯示文字。
|--------------------------------------------------------------------------
*/

.simple-entry-grid {
    gap: 22px;
}

.simple-entry-card.entry-image-card {
    position: relative;

    display: block;

    width: 100%;
    min-height: 0;

    padding: 0;

    aspect-ratio: 1002 / 785;

    overflow: hidden;

    border: 1px solid rgba(201, 160, 74, .60);
    border-radius: 26px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    box-shadow:
        0 16px 38px rgba(34, 33, 31, .12);

    transform: translateY(0) scale(1);

    transition:
        transform .26s cubic-bezier(.2,.8,.2,1),
        box-shadow .26s ease,
        border-color .26s ease;
}

.simple-entry-card.entry-image-card.personal {
    background-image:
        url('/assets/images/home-entry-personal.webp?v=20260818-1');
}

.simple-entry-card.entry-image-card.business {
    background-image:
        url('/assets/images/home-entry-business.webp?v=20260818-1');
}

/*
| 移除舊版卡片的文字、編號、右上標籤、裝飾圓。
*/
.simple-entry-card.entry-image-card::before,
.simple-entry-card.entry-image-card::after {
    content: none !important;
    display: none !important;
}

.simple-entry-card.entry-image-card
.simple-entry-number,
.simple-entry-card.entry-image-card h2,
.simple-entry-card.entry-image-card p,
.simple-entry-card.entry-image-card > span {
    display: none !important;
}

/*
| Hover：整張卡就是可點擊入口。
*/
.simple-entry-card.entry-image-card:hover {
    transform:
        translateY(-7px)
        scale(1.008);

    border-color:
        rgba(229, 198, 109, .94);

    box-shadow:
        0 24px 52px
        rgba(24, 29, 42, .19);
}

.simple-entry-card.entry-image-card:focus-visible {
    outline:
        3px solid
        rgba(201, 160, 74, .46);

    outline-offset: 4px;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .simple-entry-grid {
        gap: 16px;
    }

    .simple-entry-card.entry-image-card {
        border-radius: 22px;
    }

}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .simple-entry-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .simple-entry-card.entry-image-card {
        width: 100%;

        min-height: 0;

        aspect-ratio: 1002 / 785;

        border-radius: 20px;

        background-size: cover;
        background-position: center;
    }

    .simple-entry-card.entry-image-card:hover {
        transform: none;
    }

}

/*
|--------------------------------------------------------------------------
| Reduce motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .simple-entry-card.entry-image-card {
        transition: none;
    }

    .simple-entry-card.entry-image-card:hover {
        transform: none;
    }

}

/*
|--------------------------------------------------------------------------
| Mobile Provider Stack Controls v5
|--------------------------------------------------------------------------
| 手機版縮短精選業者卡片與左右箭頭之間的空白。
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    /*
    | 卡片目前約為：
    | 圖片 4:3 + 約 145px 文字區。
    | 原本 track 高度 515~535px 過高，因此箭頭被推得太下面。
    */
    .home-provider-stack-track {
        height:
            clamp(
                390px,
                calc(75vw + 132px),
                455px
            );

        margin-top: 30px;
    }

    .home-provider-stack-controls {
        margin-top: 2px;

        gap: 12px;
    }

    .home-provider-stack
    .home-provider-swipe-hint {
        margin-top: 7px;
    }

}


/*
|--------------------------------------------------------------------------
| Very small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .home-provider-stack-track {
        height:
            clamp(
                370px,
                calc(75vw + 128px),
                420px
            );

        margin-top: 26px;
    }

}


/*
|--------------------------------------------------------------------------
| R21 貸你通品牌 / 會員入口
|--------------------------------------------------------------------------
*/
.home-header-inner .brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1.05;
    white-space: nowrap;
}
.home-header-inner .brand-copy .brand-name {
    display: block !important;
    color: #0f172a;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -.035em;
}
.home-header-inner .brand-tagline {
    display: block;
    color: #68748a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .02em;
}
.home-header-inner .member-entry-link {
    gap: 5px;
}
@media (max-width: 860px) and (min-width: 761px) {
    .home-header-inner .brand-copy .brand-name { font-size: 17px; }
    .home-header-inner .brand-tagline { font-size: 9px; }
}
@media (max-width: 760px) {
    .home-header-inner .brand-copy .brand-name {
        display: block !important;
        font-size: 15px;
    }
    .home-header-inner .brand-tagline { display: none; }
    .home-header-inner .member-entry-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11px;
    }
}

/* R78 clickable ticker: keep plain-text appearance */
.loan-ticker-link{text-decoration:none;transition:opacity .16s ease,color .16s ease}
.loan-ticker-link:hover{opacity:.72;text-decoration:underline;text-underline-offset:3px}

@media(max-width:640px){
    .loan-ticker-mask{padding:8px 0;border-radius:0;background:transparent;border:0}
    .loan-ticker-label{min-height:30px;padding:0 12px;font-size:13px}
    .loan-ticker-item{min-height:30px;padding:0 12px;font-size:13px}
    .loan-ticker-dot{padding:0 7px}
}

/* v2.css */
:root {
    --v2-ink: #172033;
    --v2-muted: #667085;
    --v2-line: #e5e7eb;
    --v2-soft: #f7f8fb;
    --v2-white: #ffffff;
    --v2-navy: #14213d;
    --v2-blue: #2f6fed;
    --v2-gold: #d6a84b;
    --v2-toolbar-h: 66px;
}

html { scroll-behavior: smooth; }
body { padding-bottom: env(safe-area-inset-bottom); }
body.v2-drawer-open { overflow: hidden; }

.v2-home-main,
.v2-page-main {
    background: #fff;
    color: var(--v2-ink);
}

.v2-region-section {
    padding: 26px 0 18px;
    border-bottom: 1px solid #eef0f4;
    background: linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

.v2-region-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.v2-region-featured-grid a,
.v2-region-small-grid a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    transform: translateZ(0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition: transform .18s cubic-bezier(.15,.85,.2,1.18), box-shadow .18s ease, border-color .18s ease, filter .18s ease, color .16s ease, background .18s ease;
}

.v2-region-featured-grid a::before,
.v2-region-small-grid a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg) translateZ(14px);
    flex: 0 0 auto;
}

.v2-region-featured-grid a::after,
.v2-region-small-grid a::after {
    content: "";
    position: absolute;
    inset: -45% auto -45% -42%;
    width: 34%;
    z-index: -1;
    transform: skewX(-18deg) translateX(-220%);
    transition: transform .55s cubic-bezier(.22,.8,.25,1), opacity .3s ease;
    pointer-events: none;
}

.v2-region-featured-grid a:hover::after,
.v2-region-small-grid a:hover::after {
    transform: skewX(-18deg) translateX(520%);
}

/* 六大城市：主色卡片 + 強烈 hover 收縮翻轉 */
.v2-region-featured-grid a {
    min-height: 82px;
    border: 1px solid #1d4e89;
    background: linear-gradient(135deg, #11223f 0%, #173f70 54%, #1d5c9e 100%);
    color: #ffffff;
    font-size: 26px;
    letter-spacing: .02em;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 8px 20px rgba(17, 34, 63, .16), inset 0 1px 0 rgba(255,255,255,.12);
    transform-origin: 50% 50%;
}
.v2-region-featured-grid a::before {
    border: 2px solid #f4c95d;
    box-shadow: 0 0 0 3px rgba(244,201,93,.10);
}
.v2-region-featured-grid a::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}

.v2-region-small-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}
.v2-region-small-grid a {
    min-height: 56px;
    border: 1px solid #b8d2ed;
    background: linear-gradient(145deg, #eef7ff 0%, #dcecff 100%);
    color: #123f6d;
    font-size: 17px;
    letter-spacing: .01em;
    box-shadow: 0 5px 13px rgba(32, 91, 145, .10), inset 0 1px 0 rgba(255,255,255,.85);
    transform-origin: 50% 50%;
}
.v2-region-small-grid a::before {
    border: 2px solid #2872b7;
}
.v2-region-small-grid a::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent);
}

@keyframes v2-featured-impact-left {
    0%   { transform: perspective(1000px) scale(1) rotateX(0) rotateY(0); }
    22%  { transform: perspective(1000px) scale(.76) rotateX(18deg) rotateY(-24deg); }
    46%  { transform: perspective(1000px) scale(.94) rotateX(-7deg) rotateY(14deg); }
    68%  { transform: perspective(1000px) scale(.84) rotateX(12deg) rotateY(-10deg); }
    100% { transform: perspective(1000px) scale(.90) rotateX(8deg) rotateY(-7deg); }
}
@keyframes v2-featured-impact-right {
    0%   { transform: perspective(1000px) scale(1) rotateX(0) rotateY(0); }
    22%  { transform: perspective(1000px) scale(.76) rotateX(18deg) rotateY(24deg); }
    46%  { transform: perspective(1000px) scale(.94) rotateX(-7deg) rotateY(-14deg); }
    68%  { transform: perspective(1000px) scale(.84) rotateX(12deg) rotateY(10deg); }
    100% { transform: perspective(1000px) scale(.90) rotateX(8deg) rotateY(7deg); }
}
@keyframes v2-small-impact-left {
    0%   { transform: perspective(900px) scale(1) rotateX(0) rotateY(0); }
    20%  { transform: perspective(900px) scale(.72) rotateX(20deg) rotateY(-26deg); }
    45%  { transform: perspective(900px) scale(.92) rotateX(-8deg) rotateY(14deg); }
    70%  { transform: perspective(900px) scale(.80) rotateX(13deg) rotateY(-9deg); }
    100% { transform: perspective(900px) scale(.87) rotateX(8deg) rotateY(-6deg); }
}
@keyframes v2-small-impact-right {
    0%   { transform: perspective(900px) scale(1) rotateX(0) rotateY(0); }
    20%  { transform: perspective(900px) scale(.72) rotateX(20deg) rotateY(26deg); }
    45%  { transform: perspective(900px) scale(.92) rotateX(-8deg) rotateY(-14deg); }
    70%  { transform: perspective(900px) scale(.80) rotateX(13deg) rotateY(9deg); }
    100% { transform: perspective(900px) scale(.87) rotateX(8deg) rotateY(6deg); }
}

@media (hover: hover) and (pointer: fine) {
    .v2-region-featured-grid a:hover {
        animation: v2-featured-impact-left .42s cubic-bezier(.17,.84,.22,1.18) both;
        background: linear-gradient(135deg, #a82308 0%, #cf3607 52%, #ef5a12 100%);
        color: #ffe36a;
        border-color: #ffd45d;
        text-shadow: 0 2px 0 rgba(93,22,0,.52), 0 0 13px rgba(255,227,106,.42);
        filter: saturate(1.24) contrast(1.08);
        box-shadow: 0 12px 22px rgba(122, 31, 4, .32), inset 0 15px 25px rgba(255,255,255,.10), inset 0 -18px 28px rgba(78,17,0,.28), 0 0 0 3px rgba(255,212,93,.28);
    }
    .v2-region-featured-grid a:nth-child(even):hover {
        animation-name: v2-featured-impact-right;
    }
    .v2-region-featured-grid a:hover::before {
        border-color: #fff3a4;
        box-shadow: 0 0 0 5px rgba(255,227,106,.18), 0 0 16px rgba(255,227,106,.45);
    }

    .v2-region-small-grid a:hover {
        animation: v2-small-impact-left .40s cubic-bezier(.17,.84,.22,1.18) both;
        background: linear-gradient(145deg, #055b9e 0%, #087fbd 55%, #0aa1d4 100%);
        color: #fff06a;
        border-color: #70d5ff;
        text-shadow: 0 1px 0 rgba(0,48,83,.75), 0 0 11px rgba(255,240,106,.32);
        filter: saturate(1.22) contrast(1.05);
        box-shadow: 0 10px 18px rgba(5, 91, 158, .28), inset 0 14px 22px rgba(255,255,255,.10), inset 0 -16px 24px rgba(0,49,85,.22), 0 0 0 2px rgba(112,213,255,.25);
    }
    .v2-region-small-grid a:nth-child(even):hover {
        animation-name: v2-small-impact-right;
    }
    .v2-region-small-grid a:hover::before {
        border-color: #fff06a;
        box-shadow: 0 0 10px rgba(255,240,106,.55);
    }

    .v2-region-featured-grid a:hover::after,
    .v2-region-small-grid a:hover::after {
        opacity: 1;
        transform: skewX(-18deg) translateX(520%);
    }
}

.v2-region-featured-grid a:active,
.v2-region-small-grid a:active {
    transform: perspective(850px) scale(.74) rotateX(16deg) !important;
    transition-duration: .08s;
}

.v2-ad-section { padding: 26px 0 32px; background: #fff; }
.v2-ad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    transition: grid-template-columns .18s ease;
}
.v2-ad-grid[data-view-size="large"] { grid-template-columns: 1fr; gap: 18px; }
.v2-ad-grid[data-view-size="medium"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2-ad-grid[data-view-size="small"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

@keyframes v2-ad-image-impact-left {
    0%   { transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1,1); filter: saturate(1) brightness(1) contrast(1); }
    16%  { transform: perspective(1200px) translateY(-4px) rotateX(-8deg) rotateY(-4deg) scale(1.035,1.035); filter: saturate(1.18) brightness(1.05) contrast(1.05); }
    34%  { transform: perspective(1200px) rotateX(84deg) rotateY(-14deg) scale(.92,.07); filter: saturate(1.65) hue-rotate(-12deg) brightness(1.18) contrast(1.20); }
    46%  { transform: perspective(1200px) rotateX(48deg) rotateY(-7deg) scale(.97,.46); filter: saturate(1.38) brightness(1.09) contrast(1.10); }
    60%  { transform: perspective(1200px) rotateX(7deg) rotateY(-2deg) scale(1.06,1.04); filter: saturate(1.18) brightness(1.04) contrast(1.05); }
    74%  { transform: perspective(1200px) rotateX(-4deg) rotateY(1deg) scale(.99,.99); filter: saturate(1.06) brightness(1.01) contrast(1.02); }
    100% { transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1,1); filter: saturate(1) brightness(1) contrast(1); }
}
@keyframes v2-ad-image-impact-right {
    0%   { transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1,1); filter: saturate(1) brightness(1) contrast(1); }
    16%  { transform: perspective(1200px) translateY(-4px) rotateX(-8deg) rotateY(4deg) scale(1.035,1.035); filter: saturate(1.18) brightness(1.05) contrast(1.05); }
    34%  { transform: perspective(1200px) rotateX(84deg) rotateY(14deg) scale(.92,.07); filter: saturate(1.65) hue-rotate(12deg) brightness(1.18) contrast(1.20); }
    46%  { transform: perspective(1200px) rotateX(48deg) rotateY(7deg) scale(.97,.46); filter: saturate(1.38) brightness(1.09) contrast(1.10); }
    60%  { transform: perspective(1200px) rotateX(7deg) rotateY(2deg) scale(1.06,1.04); filter: saturate(1.18) brightness(1.04) contrast(1.05); }
    74%  { transform: perspective(1200px) rotateX(-4deg) rotateY(-1deg) scale(.99,.99); filter: saturate(1.06) brightness(1.01) contrast(1.02); }
    100% { transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1,1); filter: saturate(1) brightness(1) contrast(1); }
}
@keyframes v2-ad-shell-impact {
    0%, 100% { border-color: #e2e6ed; box-shadow: 0 5px 16px rgba(15,23,42,.045); }
    38% { border-color: #f2c14e; box-shadow: 0 16px 34px rgba(85,57,0,.22), inset 0 0 0 2px rgba(255,214,71,.32), 0 0 24px rgba(255,174,0,.18); }
    72% { border-color: #ffd978; box-shadow: 0 12px 26px rgba(85,57,0,.14), inset 0 0 0 1px rgba(255,214,71,.20); }
}
@keyframes v2-ad-flash-impact {
    0%, 100% { opacity: 0; }
    30% { opacity: .95; }
    55% { opacity: .45; }
}
@keyframes v2-ad-line-impact {
    0%, 100% { opacity: 0; transform: scaleX(.18); }
    34% { opacity: 1; transform: scaleX(1); }
    58% { opacity: .55; transform: scaleX(.72); }
}

.v2-ad-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    aspect-ratio: 4 / 3;
    border: 1px solid #e2e6ed;
    border-radius: 13px;
    background: #f3f5f8;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .045);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.v2-ad-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255,247,158,.92), rgba(255,252,219,.98) 55%, rgba(255,255,255,.98) 100%);
    opacity: 0;
    transition: opacity .16s ease;
}
.v2-ad-card::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 4px;
    z-index: 3;
    pointer-events: none;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,201,38,.25), rgba(255,105,0,.9), rgba(255,227,83,.95), rgba(255,105,0,.9), rgba(255,201,38,.25), transparent);
    box-shadow: 0 0 12px rgba(255,143,0,.6);
    opacity: 0;
    transform: scaleX(.2);
    transition: opacity .14s ease, transform .30s cubic-bezier(.18,.82,.24,1.18);
}
.v2-ad-card:hover {
    animation: v2-ad-shell-impact .44s cubic-bezier(.16,.88,.20,1.10) 1;
}
.v2-ad-card:hover::before {
    animation: v2-ad-flash-impact .44s ease 1;
}
.v2-ad-card:hover::after {
    animation: v2-ad-line-impact .44s cubic-bezier(.18,.82,.24,1.18) 1;
}
.v2-ad-card img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, filter;
}
.v2-ad-card:hover img {
    animation: v2-ad-image-impact-left .44s cubic-bezier(.16,.88,.20,1.10) 1;
}
.v2-ad-card:nth-child(even):hover img {
    animation-name: v2-ad-image-impact-right;
}
.v2-ad-card:active img {
    transform: perspective(1200px) rotateX(78deg) scale(.91,.10);
}
.v2-ad-badge {
    display: none !important;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(20, 33, 61, .76);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    backdrop-filter: blur(6px);
}
.v2-ad-vacancy {
    display: grid;
    place-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 20% 18%, rgba(47,111,237,.11), transparent 28%),
        radial-gradient(circle at 82% 82%, rgba(214,168,75,.12), transparent 30%),
        linear-gradient(145deg, #f9fbff, #eef2f8);
    color: #63708a;
}
.v2-ad-vacancy span { display: block; font-size: clamp(17px, 2vw, 25px); font-weight: 900; letter-spacing: .06em; }
.v2-ad-vacancy small { display: block; margin-top: 7px; font-size: 11px; font-weight: 700; color: #98a2b3; }

/* 貸你通品牌冷啟動：只有首頁有效真實廣告為 0 時才套用。 */
.v2-home-puzzle-intro,
.v2-region-puzzle-intro {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    color: #163e6a;
    text-align: center;
}
.v2-home-puzzle-intro strong,
.v2-region-puzzle-intro strong { font-size: 22px; font-weight: 950; }
.v2-home-puzzle-intro span,
.v2-region-puzzle-intro span { color: #63748a; font-size: 13px; font-weight: 750; }
.v2-home-puzzle-intro a {
    padding: 6px 11px;
    border-radius: 999px;
    background: #e9f1f8;
    color: #173f6d;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}
.v2-home-puzzle-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #b9cada;
    border-radius: 16px;
    background: #d7e3ed;
    box-shadow: 0 18px 44px rgba(15,47,82,.12);
}
.v2-home-puzzle-grid .v2-home-puzzle-tile {
    min-width: 0;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 2px;
    background-image: url('/assets/images/brand-puzzle-home.svg?v=20260823-r1');
    background-repeat: no-repeat;
    background-size: 1000% 600%;
    box-shadow: none;
    transition: filter .16s ease, opacity .16s ease;
}
.v2-home-puzzle-grid .v2-home-puzzle-tile::before,
.v2-home-puzzle-grid .v2-home-puzzle-tile::after { display: none; }
.v2-home-puzzle-grid .v2-home-puzzle-tile:hover {
    animation: none;
    filter: brightness(1.08) saturate(1.05);
    outline: 2px solid rgba(215,170,85,.72);
    outline-offset: -2px;
}
.v2-brand-recruitment-card {
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(231,240,248,.95)),
        radial-gradient(circle at 18% 18%, rgba(215,170,85,.18), transparent 30%);
    color: #123b69;
}
.v2-brand-recruitment-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: clamp(20px, 2.2vw, 29px);
    font-weight: 950;
    letter-spacing: .12em;
}
.v2-brand-recruitment-card span { font-size: clamp(13px, 1.4vw, 17px); letter-spacing: .04em; }
.v2-brand-recruitment-card small { color: #5f6b7c; }

/* 地區零業主模式：只顯示 Top 6 的 3×2 品牌拼圖。 */
.v2-region-brand-puzzle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-width: 980px;
    margin: 0 auto;
    padding: 6px;
    border: 1px solid #b8cadb;
    border-radius: 17px;
    background: #dce7f0;
    box-shadow: 0 18px 42px rgba(15,47,82,.11);
}
.v2-region-puzzle-tile {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(145deg, #fffdf8, #eaf2f8);
    color: #0d3765;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(17,58,101,.08);
}
.v2-region-puzzle-tile::before,
.v2-region-puzzle-tile::after { display: none; }
.v2-region-puzzle-tile:nth-child(2),
.v2-region-puzzle-tile:nth-child(5) { background: linear-gradient(145deg, #eaf2f8, #d9e7f2); }
.v2-region-puzzle-tile:nth-child(3),
.v2-region-puzzle-tile:nth-child(4) { background: linear-gradient(145deg, #f9f3e7, #edf3f8); }
.v2-region-puzzle-tile:hover { animation: none; filter: brightness(1.04); }
.v2-region-puzzle-tile div { position: relative; z-index: 1; padding: 10px; }
.v2-region-puzzle-tile small {
    display: block;
    margin-bottom: 5px;
    color: #b17c27;
    font-size: clamp(8px, 1vw, 11px);
    font-weight: 900;
    letter-spacing: .14em;
}
.v2-region-puzzle-tile strong {
    display: block;
    font-size: clamp(16px, 2.2vw, 27px);
    font-weight: 950;
    letter-spacing: .06em;
}
.v2-region-puzzle-tile span {
    display: block;
    margin-top: 5px;
    color: #5c7088;
    font-size: clamp(10px, 1.25vw, 14px);
    font-weight: 800;
}
.v2-region-recruitment-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 980px;
    margin: 16px auto 0;
    padding: 18px 20px;
    border: 1px solid #d4dfeb;
    border-radius: 15px;
    background: #f7fafc;
}
.v2-region-recruitment-block small { display: block; margin-bottom: 4px; color: #8a6b31; font-weight: 800; }
.v2-region-recruitment-block strong { display: block; color: #153f6d; font-size: 18px; }
.v2-region-recruitment-block p { margin: 5px 0 0; color: #6b788a; font-size: 12px; }
.v2-region-recruitment-block > a {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #153f6d;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.v2-keyword-section { padding: 14px 0 24px; background: #fff; }
.v2-keyword-card {
    padding: 18px 20px 15px;
    border-top: 1px solid var(--v2-line);
    border-bottom: 1px solid var(--v2-line);
}
.v2-keyword-title { margin-bottom: 12px; text-align: center; color: #344054; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.v2-keyword-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; max-height: 74px; overflow: hidden; transition: max-height .22s ease; }
.v2-keyword-card.is-expanded .v2-keyword-list { max-height: 500px; }
.v2-keyword-link { position: relative; color: #475467; font-size: 13px; font-weight: 750; text-decoration: none; }
.v2-keyword-link:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; width: 1px; height: 11px; background: #d4d8df; transform: translateY(-50%); }
.v2-keyword-link:hover { color: var(--v2-blue); }
.v2-keyword-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 28px;
    margin: 7px auto 5px;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}
.v2-keyword-card.is-expanded .v2-keyword-toggle span { transform: rotate(180deg); }
.v2-keyword-toggle span { display: block; transition: transform .18s ease; }
.v2-article-category-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding-top: 8px; border-top: 1px dashed #e2e5ea; }
.v2-article-category-links a { color: #263b62; font-size: 14px; font-weight: 900; text-decoration: none; }
.v2-article-category-links a:hover { color: var(--v2-blue); }

.v2-notice-section { padding: 8px 0 28px; }
.v2-notice-card { padding: 22px; border-radius: 16px; background: #f8f9fb; border: 1px solid #e7e9ee; }
.v2-notice-card h2 { margin: 0 0 14px; font-size: 18px; }
.v2-notice-list { display: grid; gap: 10px; color: #596273; font-size: 13px; line-height: 1.75; }
.v2-notice-list p { margin: 0; }
.v2-notice-list strong { color: #303b50; }


.v2-home-site-links { border-top: 1px solid #e7e9ee; background: #fff; }
.v2-home-link-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 54px;
    padding: 10px 12px;
    border-bottom: 1px solid #eceef2;
    background: #f7f7f8;
}
.v2-home-link-row a {
    color: #384152;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.v2-home-link-row a:hover { color: #0f5fbd; }
.v2-home-link-row span { color: #a7adb8; font-size: 13px; }
.v2-home-advertise-cta-wrap { display: flex; justify-content: center; padding: 16px 12px 6px; }
.v2-home-advertise-cta {
    display: grid;
    place-items: center;
    width: min(460px, 88vw);
    min-height: 104px;
    padding: 14px 26px;
    border: 3px solid #e02a17;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.10) 0 12%, transparent 12% 24%, rgba(255,255,255,.07) 24% 36%, transparent 36% 100%),
        linear-gradient(180deg,#ff2b16,#ef1c0a);
    color: #ffd22e;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(188,40,20,.18), inset 0 0 0 1px rgba(255,255,255,.14);
    overflow: hidden;
}
.v2-home-advertise-cta span {
    font-size: clamp(36px,4.8vw,54px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: .08em;
    -webkit-text-stroke: 2px #3a1506;
    paint-order: stroke fill;
    text-shadow: 0 3px 0 rgba(0,0,0,.20), 0 4px 8px rgba(0,0,0,.14);
}
.v2-home-advertise-cta:hover { transform: translateY(-2px) scale(1.01); filter: brightness(1.04); }

.v2-minimal-footer { padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #eef0f3; color: #98a2b3; background: #fff; font-size: 12px; text-align: center; }
.v2-platform-statement { max-width: 920px; margin: 0 auto; padding: 16px 18px; border: 1px solid #e0e7ef; border-radius: 14px; background: #f8fafc; }
.v2-platform-statement strong { display: block; color: #173f6d; font-size: 14px; }
.v2-platform-statement p { margin: 7px 0; color: #64748b; line-height: 1.7; }
.v2-platform-statement a { color: #93651c; font-weight: 850; text-decoration: none; }
.v2-footer-copyright { margin-top: 12px; }

.v2-float-wrap {
    position: fixed;
    right: 18px;
    top: 48%;
    z-index: 950;
    width: 66px;
}
.v2-float-trigger {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 66px;
    padding: 7px 5px 9px;
    border: 1px solid #cbd6e5;
    border-radius: 21px;
    background: #edf2f8;
    box-shadow: 0 12px 30px rgba(15,23,42,.13);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    backdrop-filter: blur(14px);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.v2-float-trigger:hover {
    background: #50739f;
    border-color: #50739f;
    box-shadow: 0 15px 32px rgba(47,78,117,.28);
    transform: translateY(-2px);
}
.v2-float-orb {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dfe8f3;
    color: #2f4d72;
    font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(71,97,128,.10), 0 5px 11px rgba(20,33,61,.10);
    animation: v2FloatPulse 3.8s ease-in-out infinite;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.v2-float-trigger:hover .v2-float-orb {
    background: #ffffff;
    color: #345b87;
    transform: scale(1.06);
}
.v2-float-label {
    color: #4c5870;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    transition: color .18s ease;
}
.v2-float-trigger:hover .v2-float-label { color: #ffffff; }
.v2-float-wrap.is-dragging .v2-float-trigger { cursor: grabbing; transform: scale(1.04); box-shadow: 0 18px 38px rgba(47,78,117,.32); }
.v2-float-wrap.is-dragging .v2-float-orb { animation: none; }
.v2-float-hide {
    position: absolute;
    top: -14px;
    right: -12px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #d8e0ea;
    color: #4c5870;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(15,23,42,.18);
    transition: background .16s ease, color .16s ease, transform .16s ease;
}
.v2-float-hide:hover { background: #536f92; color: #fff; transform: scale(1.10); }
.v2-float-restore {
    position: fixed;
    right: 0;
    top: 48%;
    z-index: 950;
    width: 44px;
    height: 54px;
    padding: 0;
    border: 1px solid #c9d4e2;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #e8eef6;
    color: #416083;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: -4px 6px 14px rgba(15,23,42,.12);
    transition: width .16s ease, background .16s ease, color .16s ease;
}
.v2-float-restore:hover { width: 34px; background: #55779f; color: #fff; }
.v2-float-wrap[hidden], .v2-float-restore[hidden] { display: none !important; }
@keyframes v2FloatPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.v2-drawer-backdrop { position: fixed; inset: 0; z-index: 980; background: rgba(15,23,42,.34); backdrop-filter: blur(2px); }
.v2-quick-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 990;
    width: min(390px, 90vw);
    height: 100dvh;
    transform: translateX(105%);
    transition: transform .22s ease;
    background: #fff;
    box-shadow: -18px 0 44px rgba(15,23,42,.16);
}
.v2-quick-drawer.is-open { transform: translateX(0); }
.v2-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 18px; border-bottom: 1px solid #eceff3; }
.v2-drawer-head strong { font-size: 17px; }
.v2-drawer-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f4f6f9; color: #344054; font-size: 25px; cursor: pointer; }
.v2-drawer-scroll { height: calc(100dvh - 66px); overflow-y: auto; padding: 18px 18px calc(30px + env(safe-area-inset-bottom)); }
.v2-drawer-section { padding: 2px 0; }
.v2-drawer-divider { height: 1px; margin: 18px 0; background: #eceff3; }
.v2-drawer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.v2-drawer-region-grid a {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f5f7fa;
    color: #344054;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease, letter-spacing .16s ease;
}
.v2-drawer-region-grid a:hover {
    background: #516f95;
    color: #fff;
    transform: translateY(-2px) scale(1.035);
    box-shadow: 0 8px 16px rgba(41,67,100,.20);
    letter-spacing: .05em;
    font-weight: 950;
}
.v2-drawer-info-grid a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 11px;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    color: #344054;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.v2-drawer-info-grid a span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef2f8;
    color: #263b62;
    font-size: 13px;
    font-weight: 900;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}
.v2-drawer-info-grid a b {
    display: inline-block;
    font-size: 12px;
    transition: color .16s ease, transform .16s ease, letter-spacing .16s ease;
}
.v2-drawer-info-grid a:hover {
    background: #516f95;
    border-color: #516f95;
    color: #fff;
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 8px 16px rgba(41,67,100,.18);
}
.v2-drawer-info-grid a:hover span {
    background: rgba(255,255,255,.18);
    color: #fff;
    transform: rotate(-6deg) scale(1.08);
}
.v2-drawer-info-grid a:hover b {
    color: #fff;
    transform: scale(1.08);
    letter-spacing: .035em;
    font-weight: 950;
}
.v2-drawer-keywords { display: flex; flex-wrap: wrap; gap: 4px 5px; }
.v2-drawer-keywords a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f5f7fa;
    color: #667085;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
    text-decoration: none;
    transition: background .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease, letter-spacing .14s ease;
}
.v2-drawer-keywords a:hover {
    background: #435f82;
    color: #fff;
    transform: translateY(-1px) scale(1.12);
    box-shadow: 0 4px 9px rgba(41,67,100,.20);
    letter-spacing: .025em;
    font-weight: 950;
}

.v2-toolbar-spacer { height: calc(var(--v2-toolbar-h) + 12px); }
.v2-home-toolbar,
.v2-info-toolbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 940;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 18px));
    min-height: var(--v2-toolbar-h);
    display: grid;
    border: 1px solid rgba(20,33,61,.12);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.95);
    box-shadow: 0 -8px 30px rgba(15,23,42,.12);
    backdrop-filter: blur(16px);
    padding-bottom: env(safe-area-inset-bottom);
}
.v2-home-toolbar { grid-template-columns: repeat(5, 1fr); }
.v2-toolbar-button,
.v2-info-toolbar-link {
    min-width: 0;
    border: 0;
    border-right: 1px solid #edf0f3;
    background: transparent;
    color: #3c485d;
    text-decoration: none;
    cursor: pointer;
}
.v2-toolbar-button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    min-height: 62px;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.v2-toolbar-button:last-child { border-right: 0; }
.v2-toolbar-button span { font-size: 19px; line-height: 1; }
.v2-toolbar-button b { font-size: 11px; }
.v2-toolbar-button:hover { transform: translateY(-2px); }

/* 首頁底部 5 個工具鍵：低彩度兩色系。前四格同色，縣市只做淡藍區別。 */
.v2-toolbar-browse,
.v2-toolbar-top,
.v2-toolbar-pass,
.v2-toolbar-bottom {
    background: #f0f3f7;
    color: #34445a;
}

.v2-toolbar-browse:hover,
.v2-toolbar-top:hover,
.v2-toolbar-pass:hover,
.v2-toolbar-bottom:hover {
    background: #253f60;
    color: #ffffff;
    box-shadow: inset 0 4px 0 #6f93bd, 0 -7px 18px rgba(31, 56, 88, .20);
    transform: translateY(-4px);
}

/* 縣市：固定淡藍，不再使用過深底色；hover 時才明顯加深。 */
.v2-toolbar-region {
    background: #dce9f5;
    color: #234b72;
    box-shadow: inset 0 3px 0 #aac5df;
}
.v2-toolbar-region:hover {
    background: #2f6698;
    color: #ffffff;
    box-shadow: inset 0 4px 0 #78a8d2, 0 -7px 18px rgba(31, 80, 124, .24);
    transform: translateY(-4px);
}
.v2-toolbar-accent { color: inherit; }
.v2-toolbar-popwrap { position: relative; min-width: 0; }
.v2-toolbar-popwrap > .v2-toolbar-button { width: 100%; height: 100%; }
.v2-toolbar-popover { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); padding: 8px; border: 1px solid #e0e4ea; border-radius: 13px; background: #fff; box-shadow: 0 12px 34px rgba(15,23,42,.14); }
.v2-toolbar-popover[hidden], .v2-drawer-backdrop[hidden], .v2-quick-drawer[hidden] { display: none !important; }
.v2-view-popover { display: grid; grid-template-columns: repeat(3, 42px); gap: 6px; }
.v2-view-popover button { min-height: 44px; border: 0; border-radius: 9px; background: #f3f5f8; color: #38445a; font-weight: 900; cursor: pointer; }
.v2-view-popover button.is-active { background: #182645; color: #fff; }
.v2-region-popover { width: min(310px, 88vw); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.v2-region-popover a { display: grid; place-items: center; min-height: 44px; border-radius: 9px; background: #f4f6f9; color: #3d485c; font-size: 12px; font-weight: 850; text-decoration: none; }

.v2-info-toolbar { grid-template-columns: 1fr 1fr 1fr 2fr; }
.v2-info-toolbar-link { display: grid; place-items: center; min-height: 62px; padding: 0 8px; font-size: 12px; font-weight: 850; text-align: center; }
.v2-info-toolbar-link.is-wide { background: #14213d; color: #fff; }

.v2-info-topnav {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    width: min(760px,calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
    border-bottom: 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
}
.v2-info-topnav a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 62px;
    padding: 8px 14px;
    border: 1px solid #bfd1e4;
    border-radius: 15px;
    background: linear-gradient(145deg,#f3f7fb 0%,#e7eef7 100%);
    color: #183a60;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(24,62,107,.08), inset 0 1px 0 rgba(255,255,255,.85);
    transform: translateZ(0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition: transform .18s cubic-bezier(.17,.84,.22,1.18),box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease,filter .18s ease;
}
.v2-info-topnav a::after {
    content: "";
    position: absolute;
    inset: -50% auto -50% -42%;
    width: 34%;
    z-index: -1;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent);
    transform: skewX(-18deg) translateX(-220%);
    transition: transform .48s cubic-bezier(.22,.8,.25,1);
    pointer-events: none;
}
.v2-info-topnav a.is-current {
    background: linear-gradient(135deg,#11223f 0%,#173f70 55%,#1d5c9e 100%);
    border-color: #1d4e89;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
    box-shadow: 0 9px 22px rgba(17,34,63,.18), inset 0 1px 0 rgba(255,255,255,.13);
}
@keyframes v2-info-nav-impact-left {
    0%{transform:perspective(900px) scale(1) rotateX(0) rotateY(0)}
    22%{transform:perspective(900px) scale(.76) rotateX(18deg) rotateY(-22deg)}
    48%{transform:perspective(900px) scale(.96) rotateX(-7deg) rotateY(12deg)}
    72%{transform:perspective(900px) scale(.84) rotateX(11deg) rotateY(-8deg)}
    100%{transform:perspective(900px) scale(.91) rotateX(7deg) rotateY(-5deg)}
}
@keyframes v2-info-nav-impact-right {
    0%{transform:perspective(900px) scale(1) rotateX(0) rotateY(0)}
    22%{transform:perspective(900px) scale(.76) rotateX(18deg) rotateY(22deg)}
    48%{transform:perspective(900px) scale(.96) rotateX(-7deg) rotateY(-12deg)}
    72%{transform:perspective(900px) scale(.84) rotateX(11deg) rotateY(8deg)}
    100%{transform:perspective(900px) scale(.91) rotateX(7deg) rotateY(5deg)}
}
@media (hover:hover) and (pointer:fine) {
    .v2-info-topnav a:hover {
        animation: v2-info-nav-impact-left .40s cubic-bezier(.17,.84,.22,1.18) both;
        background: linear-gradient(135deg,#a82308 0%,#cf3607 52%,#ef5a12 100%);
        border-color: #ffd45d;
        color: #ffe36a;
        text-shadow: 0 2px 0 rgba(93,22,0,.5),0 0 12px rgba(255,227,106,.38);
        filter: saturate(1.22) contrast(1.06);
        box-shadow: 0 12px 22px rgba(122,31,4,.28), inset 0 14px 24px rgba(255,255,255,.09), inset 0 -17px 27px rgba(78,17,0,.25),0 0 0 3px rgba(255,212,93,.24);
    }
    .v2-info-topnav a:nth-child(even):hover { animation-name:v2-info-nav-impact-right; }
    .v2-info-topnav a:hover::after { transform:skewX(-18deg) translateX(520%); }
}
.v2-info-topnav a:active { transform:perspective(850px) scale(.78) rotateX(14deg)!important; transition-duration:.08s; }

.v2-page-hero { padding: 44px 0 26px; background: linear-gradient(180deg,#fafbfe,#fff); text-align: center; }
.v2-page-hero h1 { margin: 0; font-size: clamp(30px,5vw,46px); letter-spacing: -.035em; }
.v2-page-hero p { max-width: 680px; margin: 12px auto 0; color: #667085; font-size: 14px; line-height: 1.8; }
.v2-page-content { padding: 14px 0 32px; }
.v2-content-card { max-width: 900px; margin: 0 auto; padding: 26px; border: 1px solid #e5e8ee; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.035); }
.v2-content-card h2 { margin: 0 0 12px; font-size: 22px; }
.v2-content-card h3 { margin: 24px 0 8px; font-size: 17px; }
.v2-content-card p, .v2-content-card li { color: #586477; line-height: 1.8; font-size: 14px; }
.v2-content-card ul { margin: 10px 0 0; padding-left: 1.2em; }
.v2-action-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; background: #14213d; color: #fff; font-weight: 900; text-decoration: none; }

.v2-provider-page { padding: 30px 0; }
.v2-provider-wrap { max-width: 900px; margin: 0 auto; }
.v2-provider-visual { overflow: hidden; aspect-ratio: 4/3; border-radius: 18px; background: #f1f3f7; border: 1px solid #e4e7ec; }
.v2-provider-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-provider-meta { padding: 22px 4px 0; }
.v2-provider-meta h1 { margin: 0 0 6px; font-size: clamp(25px,4vw,38px); }
.v2-provider-company { color: #667085; font-weight: 800; }
.v2-provider-desc { margin: 14px 0 20px; color: #596579; line-height: 1.8; }
.v2-line-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 12px; background: #173f2f; color: #fff; font-weight: 900; text-decoration: none; }

.v2-discovery-head { padding: 34px 0 18px; text-align: center; }
.v2-discovery-head h1 { margin: 0; font-size: clamp(28px,5vw,42px); }
.v2-discovery-head p { margin: 8px auto 0; max-width: 650px; color: #5f6b7c; font-size: 13px; }
.v2-city-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 0 22px; }
.v2-city-chip-row a { padding: 8px 12px; border-radius: 999px; background: #f2f5f9; color: #40506d; font-size: 12px; font-weight: 850; text-decoration: none; }

.v2-article-list { display: grid; gap: 9px; }
.v2-article-list a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border: 1px solid #e6e9ee; border-radius: 12px; background: #fff; color: #33405a; font-size: 14px; font-weight: 800; text-decoration: none; }
.v2-article-list a::before { content: "›"; margin-right: 9px; color: #8390a6; font-size: 22px; }

.v2-contact-status { padding: 18px; border-radius: 13px; background: #f7f9fc; color: #667085; font-size: 13px; line-height: 1.7; }

@media (max-width: 900px) {
    .v2-region-small-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .v2-ad-grid[data-view-size="large"] { grid-template-columns: 1fr; }
    .v2-ad-grid[data-view-size="medium"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-ad-grid[data-view-size="small"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 680px) {
    :root { --v2-toolbar-h: 60px; }
    .v2-region-section { padding-top: 16px; }
    .v2-region-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .v2-region-featured-grid a { min-height: 68px; font-size: 21px; font-weight: 900; }
    .v2-region-small-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
    .v2-region-small-grid a { min-height: 50px; font-size: 15px; font-weight: 900; }
    .v2-region-small-grid a::before { width: 6px; height: 6px; margin-right: 7px; border-width: 1.5px; }
    .v2-ad-section { padding-top: 16px; }
    .v2-ad-grid[data-view-size="large"] { grid-template-columns: 1fr; gap: 12px; }
    .v2-ad-grid[data-view-size="medium"] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .v2-ad-grid[data-view-size="small"] { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
    .v2-ad-card { border-radius: 10px; }
    .v2-home-puzzle-intro,
    .v2-region-puzzle-intro { display: grid; gap: 4px; margin-bottom: 10px; }
    .v2-home-puzzle-intro strong,
    .v2-region-puzzle-intro strong { font-size: 19px; }
    .v2-home-puzzle-grid { grid-template-columns: repeat(10,minmax(0,1fr)) !important; gap: 1px !important; padding: 2px; border-radius: 9px; }
    .v2-home-puzzle-grid .v2-home-puzzle-tile { border-radius: 0; }
    .v2-region-brand-puzzle { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; padding: 3px; border-radius: 11px; }
    .v2-region-puzzle-tile { border-radius: 7px; }
    .v2-region-puzzle-tile div { padding: 6px 3px; }
    .v2-region-recruitment-block { display: grid; gap: 13px; padding: 16px; }
    .v2-region-recruitment-block > a { width: 100%; box-sizing: border-box; }
    .v2-platform-statement { padding: 14px 12px; }
    .v2-ad-badge { top: 5px; left: 5px; font-size: 8px; padding: 3px 5px; }
    .v2-keyword-card { padding-left: 8px; padding-right: 8px; }
    .v2-keyword-list { gap: 7px 12px; max-height: 94px; }
    .v2-keyword-link { font-size: 12px; }
    .v2-article-category-links { gap: 8px 14px; }
    .v2-article-category-links a { font-size: 13px; }
    .v2-notice-card { padding: 17px; border-radius: 13px; }
    .v2-float-wrap { right: 8px; top: 42%; width: 54px; }
    .v2-float-trigger { width: 54px; border-radius: 18px; }
    .v2-float-hide { top: -13px; right: -10px; width: 44px; height: 44px; font-size: 14px; }
    .v2-float-restore { top: 42%; width: 44px; height: 50px; }
    .v2-float-orb { width: 38px; height: 38px; font-size: 19px; }
    .v2-float-label { font-size: 9px; }
    .v2-home-toolbar, .v2-info-toolbar { width: 100%; border-radius: 14px 14px 0 0; }
    .v2-toolbar-button { min-height: 56px; }
    .v2-toolbar-button span { font-size: 17px; }
    .v2-toolbar-button b { font-size: 10px; }
    .v2-info-toolbar-link { min-height: 56px; font-size: 10px; padding: 0 4px; }
    .v2-toolbar-popover { bottom: calc(100% + 7px); }
    /* 手機：第一個與最後一個工具選單貼齊螢幕內側，避免彈窗被裁切 */
    .v2-home-toolbar .v2-toolbar-popwrap:first-child .v2-toolbar-popover { left: 6px; transform: none; }
    .v2-home-toolbar .v2-toolbar-popwrap:last-child .v2-toolbar-popover { left: auto; right: 6px; transform: none; }
    .v2-drawer-keywords { gap: 3px 4px; }
    .v2-drawer-keywords a { min-height: 44px; padding: 0 9px; font-size: 10px; }
    .v2-home-link-row { gap: 5px; min-height: 48px; padding: 8px 6px; }
    .v2-home-link-row a { font-size: 12px; }
    .v2-home-link-row span { font-size: 11px; }
    .v2-home-advertise-cta-wrap { padding-top: 12px; }
   .v2-home-advertise-cta { width: min(350px, 90vw); min-height: 82px; border-width: 2px; }
    .v2-home-advertise-cta span { font-size: 34px; -webkit-text-stroke-width: 1.5px; }
    .v2-page-hero { padding-top: 30px; }
    .v2-content-card { padding: 20px 16px; border-left: 0; border-right: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v2-float-orb { animation: none; }
    .v2-quick-drawer, .v2-ad-card, .v2-region-featured-grid a, .v2-region-small-grid a { transition: none; animation: none !important; }
}

/* R22 member */
.member-gateway{max-width:820px;margin:42px auto 110px;padding:0 18px}.member-card{border:1px solid #e3e8ef;border-radius:22px;padding:34px;background:#fff;box-shadow:0 18px 48px rgba(15,23,42,.08);text-align:center}.member-lock{font-size:42px;margin-bottom:8px}.member-card h1{margin:0 0 10px;font-size:29px;color:#15223a}.member-card>p{margin:6px 0;color:#667085;line-height:1.8}.member-card>p strong{color:#1d4f86}.member-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin:18px 0 24px;color:#40516c;font-size:13px;font-weight:800}.member-errors{margin:0 0 18px;padding:12px 14px;border-radius:12px;background:#fff2f2;border:1px solid #ffcaca;text-align:left;color:#a12c2c}.member-errors p{margin:4px 0}.member-form{max-width:560px;margin:0 auto;text-align:left}.member-form>label{display:block;margin:0 0 14px;color:#344054;font-size:13px;font-weight:850}.member-form input[type=text],.member-form input[type=tel],.member-form input[type=password],.member-form select{width:100%;box-sizing:border-box;margin-top:6px;min-height:48px;padding:0 13px;border:1px solid #cfd7e3;border-radius:11px;background:#fff;color:#1f2937;font-size:15px;outline:none}.member-form input:focus,.member-form select:focus{border-color:#557aa8;box-shadow:0 0 0 3px rgba(85,122,168,.12)}.member-consents{display:grid;gap:10px;margin:18px 0}.member-consents label{display:flex;align-items:flex-start;gap:9px;color:#4b5565;font-size:12px;font-weight:650;line-height:1.6}.member-consents input{margin-top:3px;flex:0 0 auto}.member-consents a{color:#245b91;font-weight:850}.member-submit,.member-primary,.member-secondary{display:grid;place-items:center;width:100%;min-height:52px;border:0;border-radius:12px;text-decoration:none;font-weight:900;cursor:pointer}.member-submit,.member-primary{background:#183b68;color:#fff;font-size:16px}.member-secondary{background:#eef3f9;color:#24496f}.member-trust{margin:10px 0 0!important;text-align:center;font-size:12px!important;color:#7b8798!important}.member-login-coming{margin-top:18px;color:#8993a3;font-size:12px}.member-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.member-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.member-profile-grid div{padding:15px;border-radius:12px;background:#f5f7fa}.member-profile-grid span,.member-profile-grid strong{display:block}.member-profile-grid span{font-size:11px;color:#8993a3;margin-bottom:5px}.member-profile-grid strong{font-size:14px;color:#26364c}.member-note{font-size:12px;color:#7d8897}.v2-member-gate{max-width:760px;margin:8px auto;padding:34px 24px;border:1px solid #dce4ee;border-radius:20px;background:linear-gradient(145deg,#f8fbff,#eef4fa);text-align:center;box-shadow:0 14px 38px rgba(15,23,42,.06)}.v2-member-gate-lock{font-size:42px}.v2-member-gate h2{margin:8px 0 6px;color:#172a45;font-size:25px}.v2-member-gate p{margin:0;color:#65758a}.v2-member-gate strong{display:block;margin-top:7px;color:#1d4f86}.v2-member-gate-points{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin:18px 0;color:#44546a;font-size:12px;font-weight:850}.v2-member-gate-cta{display:inline-grid;place-items:center;min-width:240px;min-height:50px;padding:0 22px;border-radius:12px;background:#183b68;color:#fff;text-decoration:none;font-size:16px;font-weight:900;box-shadow:0 9px 20px rgba(24,59,104,.18)}.v2-member-gate small{display:block;margin-top:10px;color:#8793a4}.privacy-card h2{margin-top:24px;font-size:18px}.privacy-card p{line-height:1.8;color:#566376}.privacy-warning{padding:12px 14px;border-radius:10px;background:#fff4dd;color:#805b18!important}.privacy-note{margin-top:26px;padding-top:18px;border-top:1px solid #e5e9ef;font-size:12px!important;color:#8a95a5!important}
@media(max-width:600px){.member-gateway{margin-top:26px}.member-card{padding:26px 17px}.member-card h1{font-size:23px}.member-profile-grid{grid-template-columns:1fr}.member-actions{grid-template-columns:1fr}.v2-member-gate{padding:28px 16px;border-radius:16px}.v2-member-gate h2{font-size:21px}.v2-member-gate-points{display:grid;gap:6px}.v2-member-gate-cta{width:100%;box-sizing:border-box}}

/* R24 member password/login */
.member-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:560px;margin:0 auto 18px;padding:5px;border-radius:13px;background:#eef3f8}.member-mode-tabs a{display:grid;place-items:center;min-height:44px;border-radius:9px;color:#536174;text-decoration:none;font-size:14px;font-weight:900;transition:.18s ease}.member-mode-tabs a.is-active,.member-mode-tabs a:hover{background:#183b68;color:#fff;box-shadow:0 5px 14px rgba(24,59,104,.16)}.member-forgot{text-align:right;margin-top:12px}.member-forgot a{color:#245b91;font-size:13px;font-weight:850;text-decoration:none}.member-forgot a:hover{text-decoration:underline}.member-password-setup{margin:20px 0;padding:20px;border:1px solid #dce4ee;border-radius:14px;background:#f7faff;text-align:left}.member-password-setup h2{margin:0 0 5px;font-size:18px;color:#203b5d}.member-password-setup>p{margin:0 0 15px;color:#667085;font-size:12px;line-height:1.6}.member-success{margin:12px 0;padding:11px 13px;border:1px solid #b9e3c7;border-radius:11px;background:#effbf3;color:#23733e;font-weight:800}.member-support-link{margin:22px auto 0;max-width:360px}.member-form input[type=password]{width:100%;box-sizing:border-box;margin-top:6px;min-height:48px;padding:0 13px;border:1px solid #cfd7e3;border-radius:11px;background:#fff;color:#1f2937;font-size:15px;outline:none}

/* ========================================================================== 
   R26 Region / keyword discovery pages
   ========================================================================== */
.v2-region-wide-head { display:none; }
.v2-region-compact-head { padding:10px 0 0; background:#fff; border-bottom:1px solid #e5e7eb; }
.v2-region-compact-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:#dbe8fb; border-top:3px solid #1680c8; }
.v2-region-compact-tabs a { min-height:68px; display:grid; place-items:center; padding:10px; text-align:center; text-decoration:none; color:#14213d; font-size:18px; font-weight:900; border-right:2px solid #fff; transition:background .18s ease,color .18s ease,transform .18s ease; }
.v2-region-compact-tabs a:last-child { border-right:0; }
.v2-region-compact-tabs a:hover,
.v2-region-compact-tabs a.is-current { color:#ff5a1f; background:#eef5ff; transform:translateY(-2px); }
.v2-region-safe-line { padding:8px 12px 10px; text-align:center; color:#073bff; font-weight:900; font-size:15px; }
.v2-region-page .v2-discovery-head { padding-top:18px; }
.v2-region-page .v2-discovery-head h1 { margin:0; font-size:24px; color:#1487ba; }

.v2-region-keyword-footer { padding:18px 0 28px; background:#fff; }
.v2-region-info-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:10px 16px; background:linear-gradient(90deg,#d80000,#ed0000); color:#fff; border-radius:12px 12px 0 0; }
.v2-region-info-bar strong { font-size:25px; letter-spacing:.04em; color:#ffe48a; }
.v2-region-info-bar span { font-size:14px; color:#ffe078; }
.v2-region-feature-keywords { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 22px; padding:18px 14px; border:1px solid #e1e4ea; border-top:0; background:#fff; }
.v2-region-feature-keywords a { min-height:52px; display:grid; place-items:center; padding:8px 12px; border:1px solid #cbd1da; color:#0874ce; font-weight:800; text-decoration:none; background:#fff; transition:all .16s ease; }
.v2-region-feature-keywords a:hover { background:#eaf4ff; color:#004f9e; border-color:#71aee5; transform:translateY(-2px); box-shadow:0 8px 16px rgba(15,94,168,.12); }
.v2-region-keyword-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:7px; padding:14px 12px 6px; }
.v2-region-keyword-chips a { display:inline-flex; align-items:center; min-height:31px; padding:5px 10px; border:1px solid #9aa4b2; border-radius:6px; background:#fff; color:#172033; font-size:13px; font-weight:750; text-decoration:none; transition:all .15s ease; }
.v2-region-keyword-chips a:hover,
.v2-region-keyword-chips a.is-active { background:#173f70; border-color:#173f70; color:#fff; transform:translateY(-2px); }
.v2-region-keyword-empty,.v2-keyword-no-ads { padding:28px 18px; text-align:center; color:#667085; background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px; }

@media (min-width:1200px) {
  .v2-region-compact-head { display:none; }
  .v2-region-wide-head { display:block; width:min(1180px,calc(100% - 28px)); margin:10px auto 0; background:#fff; }
  .v2-region-wide-groups { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:#147fbd; border-top:4px solid #0a75b4; }
  .v2-region-wide-groups a { min-height:64px; display:grid; place-items:center; color:#fff; text-decoration:none; font-size:21px; border-right:1px solid rgba(255,255,255,.25); transition:background .16s ease; }
  .v2-region-wide-groups a:hover,.v2-region-wide-groups a.is-active { background:#d33100; }
  .v2-region-wide-meta { min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:8px 14px; border:1px solid #ddd; border-top:0; background:linear-gradient(#fff,#f5f5f5); font-size:13px; }
  .v2-region-wide-meta strong { color:#063dff; font-size:15px; }
  .v2-region-wide-panels { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding-top:8px; }
  .v2-region-wide-panels a { min-height:72px; display:grid; place-items:center; background:#7dc1e8; color:#fff; font-size:32px; font-weight:900; text-decoration:none; letter-spacing:.22em; transition:all .18s ease; }
  .v2-region-wide-panels a:hover,.v2-region-wide-panels a.is-current { background:#d33100; transform:translateY(-2px); }
  .v2-fraud-strip { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 18px; background:#333; color:#ffe400; border-bottom:4px solid #777; }
  .v2-fraud-strip b { font-size:30px; color:#ff3d31; text-shadow:1px 1px 0 #fff,-1px -1px 0 #fff; white-space:nowrap; }
  .v2-fraud-strip span { text-align:right; font-size:15px; line-height:1.8; font-weight:800; }
  .v2-region-feature-keywords { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:700px) {
  .v2-region-compact-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .v2-region-compact-tabs a { min-height:54px; font-size:14px; padding:7px 4px; }
  .v2-region-safe-line { font-size:12px; }
  .v2-region-page .v2-discovery-head h1 { font-size:20px; }
  .v2-region-info-bar { min-height:50px; padding:8px 12px; border-radius:0; }
  .v2-region-info-bar strong { font-size:20px; }
  .v2-region-feature-keywords { grid-template-columns:1fr 1fr; gap:7px; padding:10px 8px; }
  .v2-region-feature-keywords a { min-height:44px; font-size:12px; padding:6px; }
  .v2-region-keyword-chips { justify-content:flex-start; gap:5px; padding:10px 8px 4px; }
  .v2-region-keyword-chips a { font-size:11px; min-height:28px; padding:4px 7px; }
}

/* R31 fraud tips */
.fraud-hero{padding:40px 0 24px;text-align:center;background:linear-gradient(180deg,#f7fbff,#fff)}.fraud-shield{font-size:46px}.fraud-hero h1{margin:8px 0 6px;font-size:clamp(30px,5vw,44px);color:#172b4d}.fraud-hero p{margin:0;color:#667085;font-weight:750}.fraud-content{padding:12px 0 30px}.fraud-tip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:980px;margin:0 auto}.fraud-tip-grid article{padding:20px;border:1px solid #e1e7ee;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.fraud-tip-grid article:hover{transform:translateY(-3px);border-color:#a9bfd7;box-shadow:0 12px 26px rgba(30,73,120,.09)}.fraud-tip-grid article>span{font-size:28px}.fraud-tip-grid h2{margin:9px 0 6px;font-size:16px;color:#243b5a}.fraud-tip-grid p{margin:0;color:#657386;font-size:12px;line-height:1.75}.fraud-danger-card,.fraud-help-card{max-width:940px;margin:14px auto 0;padding:18px 20px;border-radius:15px;display:flex;align-items:center;justify-content:space-between;gap:18px}.fraud-danger-card{background:#fff7ea;border:1px solid #f1d2a0}.fraud-danger-card strong,.fraud-help-card strong{display:block;color:#653f10;font-size:16px}.fraud-danger-card p,.fraud-help-card p{margin:5px 0 0;color:#7b6545;font-size:12px;line-height:1.7}.fraud-danger-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#e69b2f;color:#fff;font-size:24px;font-weight:950}.fraud-help-card{background:#eef5fb;border:1px solid #cbddeb}.fraud-help-card strong{color:#24496f}.fraud-help-card p{color:#62788f}.fraud-help-card a{flex:0 0 auto;display:grid;place-items:center;min-height:44px;padding:0 16px;border-radius:10px;background:#183b68;color:#fff;text-decoration:none;font-size:12px;font-weight:900}.fraud-help-card a:hover{background:#0f2e55}
@media(max-width:820px){.fraud-tip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.fraud-tip-grid{grid-template-columns:1fr}.fraud-danger-card,.fraud-help-card{align-items:flex-start;flex-direction:column}.fraud-help-card a{width:100%;box-sizing:border-box}.fraud-hero{padding-top:30px}}

/* R34 public preview / member contact unlock */
.v2-member-preview-gate{margin-top:22px}.v2-member-preview-kicker{display:inline-flex;align-items:center;min-height:30px;padding:3px 11px;margin-bottom:4px;border-radius:999px;background:#e7eff8;color:#244e78;font-size:12px;font-weight:900}.v2-provider-contact-lock{margin-top:18px;padding:18px;border:1px solid #d6e0ec;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#eef4fa)}.v2-provider-contact-lock>div{display:grid;gap:5px;margin-bottom:14px}.v2-provider-contact-lock b{color:#1c3e64;font-size:15px}.v2-provider-contact-lock span{color:#667085;font-size:12px;line-height:1.6}.v2-provider-contact-lock .v2-member-gate-cta{min-width:0;width:100%;box-sizing:border-box}.v2-ad-section .v2-member-preview-gate{max-width:680px}


/* ==========================================================================\n   R36 Gold-owner detail page\n   ========================================================================== */
.v2-provider-titlebar{padding:4px 2px 14px;text-align:left}.v2-provider-titlebar .v2-provider-company{margin-bottom:5px;color:#7b8797;font-size:12px;font-weight:900;letter-spacing:.06em}.v2-provider-titlebar h1{margin:0;color:#172033;font-size:clamp(23px,3vw,34px);line-height:1.35}.v2-provider-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.v2-provider-contact-card{min-height:72px;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;text-decoration:none;border:1px solid #d7dee8;box-shadow:0 7px 18px rgba(15,23,42,.06);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.v2-provider-contact-card:hover{transform:translateY(-3px);box-shadow:0 13px 25px rgba(15,23,42,.13);filter:brightness(1.03)}.v2-provider-contact-card.is-phone{background:#163d69;color:#fff;border-color:#163d69}.v2-provider-contact-card.is-line{background:#eaf8ee;color:#173e25;border-color:#bce2c8}.v2-provider-contact-card.is-locked{background:#f3f5f8;color:#566273;border-color:#dce2e9}.v2-provider-contact-icon{min-width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.16);font-size:16px;font-weight:950}.v2-provider-contact-card.is-line .v2-provider-contact-icon{background:#1aa84b;color:#fff;font-size:11px}.v2-provider-contact-card.is-locked .v2-provider-contact-icon{background:#e2e7ed;color:#667085}.v2-provider-contact-card span:last-child{display:grid;gap:3px}.v2-provider-contact-card b{font-size:15px}.v2-provider-contact-card small{font-size:12px;opacity:.88}.v2-provider-promo-copy{margin:12px 0 18px;padding:12px 16px;border-left:4px solid #d4a643;background:#fff8e8;color:#5a4a29;border-radius:0 11px 11px 0;font-size:14px;font-weight:800;line-height:1.75}.v2-provider-fraud-banner{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:17px 18px;border-radius:16px;background:linear-gradient(135deg,#1b2432,#303b4b);color:#fff;text-decoration:none;box-shadow:0 12px 28px rgba(15,23,42,.14);overflow:hidden;position:relative}.v2-provider-fraud-banner::after{content:"";position:absolute;right:-25px;top:-35px;width:110px;height:110px;border-radius:50%;background:rgba(255,215,70,.12)}.v2-provider-fraud-shield{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#ffd75a;font-size:25px;position:relative;z-index:1}.v2-provider-fraud-copy{display:grid;gap:3px;position:relative;z-index:1}.v2-provider-fraud-copy b{font-size:18px;color:#ffe37e}.v2-provider-fraud-copy small{font-size:12px;color:#f3f4f6;line-height:1.6}.v2-provider-fraud-arrow{margin-left:auto;font-size:32px;color:#ffe37e;position:relative;z-index:1;transition:transform .16s ease}.v2-provider-fraud-banner:hover .v2-provider-fraud-arrow{transform:translateX(4px)}.v2-provider-info-card{margin:0 0 18px;border:1px solid #e2e7ed;border-radius:16px;background:#fff;overflow:hidden}.v2-provider-info-row{display:grid;grid-template-columns:100px 1fr;gap:14px;padding:14px 16px;border-bottom:1px solid #edf0f4}.v2-provider-info-row:last-child{border-bottom:0}.v2-provider-info-row>b{color:#344054;font-size:13px}.v2-provider-info-row>p{margin:0;color:#5c6879;font-size:13px;line-height:1.75}.v2-provider-inline-tags{display:flex;flex-wrap:wrap;gap:6px}.v2-provider-inline-tags a{padding:5px 9px;border-radius:999px;background:#eef3f8;color:#35577a;font-size:11px;font-weight:850;text-decoration:none}.v2-provider-keywords{margin:0 0 18px;padding:17px 16px;border:1px solid #e2e7ed;border-radius:16px;background:#fff}.v2-provider-section-title{margin-bottom:10px;color:#27364b;font-weight:900}.v2-provider-keyword-list{display:flex;flex-wrap:wrap;gap:7px}.v2-provider-keyword-list a{padding:6px 10px;border:1px solid #cfd7e2;border-radius:8px;background:#f8fafc;color:#294d72;font-size:12px;font-weight:850;text-decoration:none;transition:.15s ease}.v2-provider-keyword-list a:hover{background:#173f70;border-color:#173f70;color:#fff;transform:translateY(-2px)}
@media(max-width:640px){.v2-provider-titlebar{padding-left:2px;padding-right:2px}.v2-provider-contact-grid{grid-template-columns:1fr;gap:8px}.v2-provider-contact-card{min-height:64px}.v2-provider-info-row{grid-template-columns:78px 1fr;padding:12px}.v2-provider-fraud-banner{padding:14px}.v2-provider-fraud-copy b{font-size:16px}}
\n\n/* ==========================================================================\n   R46 Region / keyword discovery visual refresh\n   ========================================================================== */\n.v2-region-page,.v2-keyword-page{background:#fff}\n.v2-region-compact-head{padding:18px 0 0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);border-bottom:1px solid #edf1f5}\n.v2-region-compact-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0;background:transparent;border:0}\n.v2-region-compact-tabs a{min-height:64px;display:grid;place-items:center;padding:10px 12px;border:1px solid #d9e2ec;border-radius:15px;background:#f4f7fb;color:#213b5b;font-size:18px;font-weight:900;text-decoration:none;box-shadow:0 5px 14px rgba(20,55,90,.035);transition:transform .17s ease,background .17s ease,color .17s ease,border-color .17s ease,box-shadow .17s ease}\n.v2-region-compact-tabs a:last-child{border-right:1px solid #d9e2ec}\n.v2-region-compact-tabs a:hover{transform:translateY(-3px);background:#eaf2fb;border-color:#9ebbd8;box-shadow:0 9px 20px rgba(20,55,90,.10)}\n.v2-region-compact-tabs a.is-current{background:#183e6b;border-color:#183e6b;color:#fff;box-shadow:0 9px 22px rgba(24,62,107,.18)}\n.v2-region-safe-line{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 12px 15px;color:#51667d;font-size:14px;font-weight:800;line-height:1.55}\n.v2-region-safe-line span{display:inline-flex;align-items:center;min-height:25px;padding:2px 9px;border-radius:999px;background:#e9f1fa;color:#214e7a;font-size:11px;font-weight:950;white-space:nowrap}\n.v2-discovery-head{padding:28px 0 20px;text-align:center}\n.v2-discovery-kicker{display:inline-flex;align-items:center;min-height:27px;padding:3px 10px;margin-bottom:8px;border-radius:999px;background:#edf3f9;color:#486681;font-size:11px;font-weight:900;letter-spacing:.04em}\n.v2-region-page .v2-discovery-head h1,.v2-keyword-page .v2-discovery-head h1{margin:0;color:#183b68;font-size:clamp(28px,4vw,38px);font-weight:950;line-height:1.25;letter-spacing:.01em}\n.v2-discovery-head p{max-width:680px;margin:8px auto 0;color:#6b7788;font-size:13px;font-weight:700;line-height:1.7}\n.v2-region-keyword-footer{padding:20px 0 32px;background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%)}\n.v2-region-info-bar{display:block;min-height:0;padding:15px 18px;border:1px solid #dfe7ef;border-left:5px solid #d7952e;border-radius:14px 14px 0 0;background:#f1f6fb;color:#1b3554}\n.v2-region-info-bar>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}\n.v2-region-info-bar strong{font-size:22px;letter-spacing:.02em;color:#1c3f65}\n.v2-region-info-bar span{font-size:12px;color:#718197;font-weight:800}\n.v2-region-feature-keywords{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:16px;border:1px solid #e2e8ef;border-top:0;background:#fff;border-radius:0 0 14px 14px}\n.v2-region-feature-keywords a{min-height:54px;display:grid;place-items:center;padding:9px 12px;border:1px solid #d7e0e9;border-radius:12px;background:#fbfcfe;color:#24547d;font-size:15px;font-weight:900;text-decoration:none;box-shadow:0 3px 9px rgba(20,55,90,.025);transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}\n.v2-region-feature-keywords a:hover{transform:translateY(-3px);background:#f7fbff;color:#173f70;border-color:#d7952e;box-shadow:0 9px 20px rgba(25,71,111,.09)}\n.v2-region-keyword-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;padding:16px 8px 5px}\n.v2-region-keyword-chips a{display:inline-flex;align-items:center;min-height:31px;padding:5px 10px;border:1px solid #d3dde7;border-radius:999px;background:#f5f8fb;color:#49637e;font-size:12px;font-weight:850;text-decoration:none;transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease}\n.v2-region-keyword-chips a:hover{transform:translateY(-2px);background:#eaf2fa;border-color:#a7bfd6;color:#214d77}\n.v2-region-keyword-chips a.is-active{background:#183e6b;border-color:#183e6b;color:#fff}\n\n@media (min-width:1200px){\n .v2-region-wide-head{display:block;width:min(1180px,calc(100% - 28px));margin:16px auto 0;padding:13px;border:1px solid #e0e7ef;border-radius:18px;background:#fbfcfe;box-shadow:0 8px 24px rgba(24,62,107,.045)}\n .v2-region-wide-groups{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;background:transparent;border:0}\n .v2-region-wide-groups a{min-height:52px;display:grid;place-items:center;padding:8px;border:1px solid #dce5ee;border-radius:11px;background:#eef4fa;color:#294d72;font-size:15px;font-weight:900;text-decoration:none;transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease}\n .v2-region-wide-groups a:hover{transform:translateY(-2px);background:#e2edf8;border-color:#a6bfd8}\n .v2-region-wide-groups a.is-active{background:#183e6b;border-color:#183e6b;color:#fff}\n .v2-region-wide-meta{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 5px 4px;border:0;background:transparent;color:#7b8796;font-size:11px}\n .v2-region-wide-meta strong{color:#345d84;font-size:12px;font-weight:850}\n .v2-region-wide-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:9px}\n .v2-region-wide-panels a{min-height:64px;display:grid;place-items:center;padding:8px;border:1px solid #d8e2ec;border-radius:13px;background:#f2f6fa;color:#274b70;font-size:22px;font-weight:950;text-decoration:none;letter-spacing:.04em;transition:transform .17s ease,background .17s ease,color .17s ease,border-color .17s ease,box-shadow .17s ease}\n .v2-region-wide-panels a:hover{transform:translateY(-3px);background:#eaf2fa;border-color:#9ebbd8;box-shadow:0 8px 18px rgba(24,62,107,.08)}\n .v2-region-wide-panels a.is-current{background:#183e6b;border-color:#183e6b;color:#fff;box-shadow:0 9px 20px rgba(24,62,107,.16)}\n .v2-region-brand-tip{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;padding:11px 14px;border-top:1px solid #e5ebf1;color:#596f86}\n .v2-region-brand-tip span{display:inline-flex;align-items:center;min-height:25px;padding:2px 9px;border-radius:999px;background:#e9f1fa;color:#214e7a;font-size:11px;font-weight:950}\n .v2-region-brand-tip b{font-size:13px;font-weight:850}\n}\n@media(max-width:700px){\n .v2-region-compact-head{padding-top:11px}\n .v2-region-compact-tabs{gap:6px}\n .v2-region-compact-tabs a{min-height:50px;padding:7px 4px;border-radius:11px;font-size:13px}\n .v2-region-safe-line{gap:6px;padding:9px 4px 12px;font-size:11px}\n .v2-region-safe-line span{font-size:9px;padding:1px 6px}\n .v2-discovery-head{padding:20px 0 14px}\n .v2-region-page .v2-discovery-head h1,.v2-keyword-page .v2-discovery-head h1{font-size:24px}\n .v2-discovery-head p{padding:0 10px;font-size:11px}\n .v2-region-info-bar{padding:12px 11px;border-radius:12px 12px 0 0}\n .v2-region-info-bar strong{font-size:18px}\n .v2-region-feature-keywords{grid-template-columns:1fr 1fr;gap:7px;padding:9px;border-radius:0 0 12px 12px}\n .v2-region-feature-keywords a{min-height:45px;padding:6px;font-size:12px;border-radius:9px}\n .v2-region-keyword-chips{justify-content:flex-start;gap:5px;padding:12px 4px 4px}\n .v2-region-keyword-chips a{font-size:10px;min-height:27px;padding:4px 7px}\n}\n

/* ==========================================================================\n   R47 Region navigation harmony + simplified region title\n   ========================================================================== */
/* Compact / normal desktop + mobile: one calm container, no split top/bottom frame. */
.v2-region-compact-head{
  padding:16px 0 4px;
  background:#fff;
  border:0;
}
.v2-region-compact-head .site-shell{
  padding-top:0;
  padding-bottom:0;
}
.v2-region-compact-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  padding:6px;
  border:1px solid #e2e8ef;
  border-radius:16px;
  background:#f7f9fc;
  box-shadow:0 5px 16px rgba(24,62,107,.035);
}
.v2-region-compact-tabs a,
.v2-region-compact-tabs a:last-child{
  min-height:60px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:#243b57;
  box-shadow:none;
  font-size:18px;
  font-weight:900;
  transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.v2-region-compact-tabs a:hover{
  transform:translateY(-2px);
  background:#eef4fa;
  border-color:#d5e2ee;
  color:#174d78;
  box-shadow:0 5px 12px rgba(24,62,107,.06);
}
.v2-region-compact-tabs a.is-current{
  background:#e7f0f9;
  border-color:#a9c5de;
  color:#0e6094;
  box-shadow:inset 0 0 0 1px rgba(78,137,185,.08);
}
.v2-region-safe-line{
  padding:10px 8px 4px;
  background:transparent;
  border:0;
  color:#3e6383;
  font-size:13px;
  font-weight:800;
}
.v2-region-safe-line span{
  background:transparent;
  color:#1d5f91;
  padding:0;
  min-height:0;
  border-radius:0;
  font-size:11px;
}
.v2-discovery-head{
  padding:22px 0 20px;
  text-align:center;
}
.v2-discovery-kicker{
  display:block;
  min-height:0;
  padding:0;
  margin:0 0 5px;
  border-radius:0;
  background:transparent;
  color:#68788b;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
.v2-region-page .v2-discovery-head h1{
  color:#126c9f;
  font-size:clamp(27px,3.2vw,36px);
}
.v2-region-page .v2-discovery-head p{display:none!important;}

/* Wide desktop: keep the extra regional group row, but make the three nearby-city cards\n   use the same single-surface language instead of a second framed block. */
@media (min-width:1200px){
  .v2-region-wide-head{
    border:0;
    background:#fff;
    box-shadow:none;
    padding:0;
    margin-top:16px;
  }
  .v2-region-wide-groups{
    padding:6px;
    border:1px solid #e2e8ef;
    border-radius:16px;
    background:#f7f9fc;
    gap:5px;
  }
  .v2-region-wide-groups a{
    border:1px solid transparent;
    background:transparent;
    border-radius:10px;
    color:#294963;
    box-shadow:none;
  }
  .v2-region-wide-groups a:hover{
    background:#edf4fa;
    border-color:#d7e3ed;
  }
  .v2-region-wide-groups a.is-active{
    background:#e7f0f9;
    border-color:#a9c5de;
    color:#0e6094;
  }
  .v2-region-wide-meta{
    padding:9px 8px 2px;
  }
  .v2-region-wide-panels{
    gap:6px;
    padding:6px;
    margin-top:7px;
    border:1px solid #e2e8ef;
    border-radius:16px;
    background:#f7f9fc;
  }
  .v2-region-wide-panels a{
    min-height:60px;
    border:1px solid transparent;
    border-radius:11px;
    background:transparent;
    color:#243b57;
    box-shadow:none;
    font-size:20px;
    letter-spacing:.01em;
  }
  .v2-region-wide-panels a:hover{
    background:#eef4fa;
    border-color:#d5e2ee;
    color:#174d78;
    box-shadow:0 5px 12px rgba(24,62,107,.06);
  }
  .v2-region-wide-panels a.is-current{
    background:#e7f0f9;
    border-color:#a9c5de;
    color:#0e6094;
    box-shadow:inset 0 0 0 1px rgba(78,137,185,.08);
  }
  .v2-region-brand-tip{
    margin-top:3px;
    padding:9px 8px 0;
    border:0;
  }
  .v2-region-brand-tip span{
    background:transparent;
    color:#1d5f91;
    padding:0;
    min-height:0;
    border-radius:0;
  }
}
@media(max-width:700px){
  .v2-region-compact-head{padding:10px 0 2px;}
  .v2-region-compact-tabs{gap:4px;padding:4px;border-radius:13px;}
  .v2-region-compact-tabs a,
  .v2-region-compact-tabs a:last-child{min-height:48px;padding:6px 3px;border-radius:9px;font-size:13px;}
  .v2-region-safe-line{padding:8px 4px 3px;font-size:10px;gap:5px;}
  .v2-region-safe-line span{font-size:9px;}
  .v2-discovery-head{padding:17px 0 13px;}
  .v2-discovery-kicker{font-size:10px;margin-bottom:3px;}
  .v2-region-page .v2-discovery-head h1{font-size:23px;}
}

/* ==========================================================================\n   R49 Region title dividers + clearer current region\n   ========================================================================== */
.v2-region-compact-tabs{
  gap:0;
  padding:5px;
  overflow:hidden;
  background:#f8fafc;
}
.v2-region-compact-tabs a,
.v2-region-compact-tabs a:last-child{
  position:relative;
  min-height:60px;
  margin:0;
  border:0;
  border-right:1px solid #cfdbe7;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.v2-region-compact-tabs a:nth-child(3n),
.v2-region-compact-tabs a:last-child{
  border-right:0;
}
.v2-region-compact-tabs a:nth-child(n+4){
  border-top:1px solid #dbe4ed;
}
.v2-region-compact-tabs a:hover{
  transform:none;
  background:#edf4fa;
  color:#174d78;
  box-shadow:none;
}
.v2-region-compact-tabs a.is-current{
  z-index:1;
  margin:3px;
  min-height:54px;
  border:0;
  border-radius:10px;
  background:#dcebf8;
  color:#075f94;
  box-shadow:inset 0 0 0 2px #8eb9da,0 5px 12px rgba(31,91,139,.08);
}
.v2-region-compact-tabs a.is-current + a{
  border-left:0;
}

@media (min-width:1200px){
  .v2-region-wide-panels{
    gap:0;
    padding:5px;
    overflow:hidden;
    background:#f8fafc;
  }
  .v2-region-wide-panels a{
    position:relative;
    min-height:60px;
    margin:0;
    border:0;
    border-right:1px solid #cfdbe7;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .v2-region-wide-panels a:nth-child(3n),
  .v2-region-wide-panels a:last-child{border-right:0;}
  .v2-region-wide-panels a:hover{
    transform:none;
    background:#edf4fa;
    color:#174d78;
    box-shadow:none;
  }
  .v2-region-wide-panels a.is-current{
    z-index:1;
    margin:3px;
    min-height:54px;
    border:0;
    border-radius:10px;
    background:#dcebf8;
    color:#075f94;
    box-shadow:inset 0 0 0 2px #8eb9da,0 5px 12px rgba(31,91,139,.08);
  }
}

@media(max-width:700px){
  .v2-region-compact-tabs{padding:4px;}
  .v2-region-compact-tabs a,
  .v2-region-compact-tabs a:last-child{min-height:48px;font-size:13px;}
  .v2-region-compact-tabs a.is-current{min-height:42px;margin:3px;border-radius:8px;}
}

/* R50 info pages: same-window navigation + bottom advertise graphic */
.v2-info-advertise-cta {
    padding: 8px 0 24px;
    background: #fff;
    border-top: 1px solid #eef0f3;
}
.v2-info-advertise-cta .v2-home-advertise-cta-wrap {
    padding-top: 12px;
}

@media(max-width:700px){
  .v2-info-topnav{width:calc(100% - 18px);gap:6px;padding:9px 0;}
  .v2-info-topnav a{min-height:52px;padding:6px 5px;border-radius:11px;font-size:15px;}
}


/* R69 半強迫式會員提示彈窗 */
.v2-member-gate{max-width:720px;padding:30px 22px;background:linear-gradient(145deg,#f8fbff,#eef4fa)}
.v2-member-gate h2{font-size:clamp(22px,3vw,29px)}
.v2-member-gate p{font-size:15px;font-weight:800;color:#53657a}.v2-member-gate strong{display:none}.v2-member-gate-points{gap:8px 12px}.v2-member-gate-cta{min-width:230px;background:#173b68}.v2-member-preview-kicker{background:#e7eff8;color:#244e78}
.v2-member-modal[hidden]{display:none!important}.v2-member-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:18px}.v2-member-modal-backdrop{position:absolute;inset:0;background:rgba(14,23,38,.48);backdrop-filter:blur(6px)}.v2-member-modal-card{position:relative;width:min(94vw,460px);padding:30px 24px 22px;border-radius:24px;background:linear-gradient(145deg,#ffffff,#f3f7fb);border:1px solid rgba(223,232,242,.92);box-shadow:0 24px 70px rgba(9,23,42,.28);text-align:center;animation:v2MemberPop .24s cubic-bezier(.2,.85,.25,1)}.v2-member-modal-x{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:999px;background:#eef3f8;color:#24364d;font-size:24px;font-weight:900;cursor:pointer}.v2-member-modal-lock{font-size:42px;margin-bottom:5px}.v2-member-modal-card h2{margin:0 0 8px;color:#14294a;font-size:clamp(28px,5vw,36px);line-height:1.18;letter-spacing:-.04em}.v2-member-modal-card p{margin:0 auto 16px;max-width:350px;color:#52677f;font-size:15px;font-weight:850;line-height:1.65}.v2-member-modal-points{display:grid;grid-template-columns:1fr;gap:7px;margin:14px auto 20px;color:#29445f;font-size:13px;font-weight:900}.v2-member-modal-primary{display:grid;place-items:center;min-height:54px;border-radius:15px;background:#183b68;color:#fff;text-decoration:none;font-size:17px;font-weight:950;box-shadow:0 12px 26px rgba(24,59,104,.24)}.v2-member-modal-primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(24,59,104,.30)}.v2-member-modal-secondary{margin-top:10px;border:0;background:transparent;color:#718095;font-size:14px;font-weight:850;cursor:pointer;padding:8px 12px}.v2-member-modal.is-visible .v2-member-modal-card{animation:v2MemberPop .24s cubic-bezier(.2,.85,.25,1)}body.v2-member-modal-open{overflow:hidden}@keyframes v2MemberPop{from{opacity:0;transform:translateY(14px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.v2-member-modal{padding:14px}.v2-member-modal-card{padding:28px 18px 20px;border-radius:22px}.v2-member-modal-card h2{font-size:30px}.v2-member-modal-primary{min-height:52px}.v2-member-gate{padding:26px 16px}.v2-member-gate-points{display:grid}}


/* R70 compact member gate + direct CTA */
.v2-member-gate.is-compact-lock{max-width:720px;margin:22px auto 28px;padding:26px 22px;border-radius:22px;background:linear-gradient(145deg,#f8fbff,#edf4fb);border:1px solid #dbe6f2;box-shadow:0 14px 36px rgba(15,23,42,.06)}
.v2-member-gate.is-compact-lock .v2-member-gate-lock{font-size:34px;margin-bottom:6px}
.v2-member-gate.is-compact-lock h2{margin:7px 0 6px;font-size:clamp(24px,3.2vw,32px);line-height:1.18;color:#14294a}
.v2-member-gate.is-compact-lock p{font-size:15px;font-weight:850;color:#56677c;margin:0 auto 12px;line-height:1.55}
.v2-member-gate.is-compact-lock .v2-member-gate-points{margin:12px 0 18px;gap:8px 12px;font-size:12px}
.v2-member-gate.is-compact-lock .v2-member-gate-cta{position:relative;z-index:2;min-width:230px;min-height:52px;background:#173b68;color:#fff;box-shadow:0 10px 22px rgba(24,59,104,.22);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.v2-member-gate.is-compact-lock .v2-member-gate-cta:hover{transform:translateY(-2px);background:#0f2f58;box-shadow:0 14px 30px rgba(24,59,104,.28)}
.v2-member-gate.is-compact-lock small{margin-top:10px;color:#7e8b9b;font-size:12px}
@media(max-width:600px){.v2-member-gate.is-compact-lock{margin:18px auto 24px;padding:22px 14px;border-radius:18px}.v2-member-gate.is-compact-lock .v2-member-gate-lock{font-size:30px}.v2-member-gate.is-compact-lock h2{font-size:24px}.v2-member-gate.is-compact-lock p{font-size:14px}.v2-member-gate.is-compact-lock .v2-member-gate-points{display:grid;gap:5px}.v2-member-gate.is-compact-lock .v2-member-gate-cta{width:100%;box-sizing:border-box;min-width:0}}


/* R71：會員鎖定卡＋全頁阻擋式會員提示 */
.v2-ad-member-locked{position:relative;overflow:hidden;display:grid!important;place-items:center;min-height:220px;background:linear-gradient(145deg,#edf3f9,#dfe9f4)!important;border:2px dashed #9eb5cc!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 12px 28px rgba(24,59,104,.10)!important;text-decoration:none!important;cursor:pointer}
.v2-ad-member-locked:before{content:"";position:absolute;inset:-35%;background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.82) 49%,transparent 60%);transform:translateX(-70%) rotate(8deg);transition:transform .48s cubic-bezier(.2,.8,.2,1)}
.v2-ad-member-locked:hover:before{transform:translateX(70%) rotate(8deg)}
.v2-ad-member-locked-inner{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:24px;color:#173b68}
.v2-ad-member-locked-icon{font-size:42px;filter:drop-shadow(0 6px 10px rgba(24,59,104,.16))}
.v2-ad-member-locked strong{font-size:clamp(20px,2.5vw,28px);font-weight:950;letter-spacing:-.03em}
.v2-ad-member-locked small{font-size:13px;font-weight:850;color:#5e7188}
.v2-ad-member-locked:hover{transform:translateY(-5px) scale(.985)!important;border-color:#587da5!important;box-shadow:0 18px 38px rgba(24,59,104,.18)!important}

.v2-member-modal{z-index:2147483000!important;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.v2-member-modal-backdrop{position:absolute;inset:0;background:rgba(7,16,30,.72)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;cursor:default}
.v2-member-modal-card{z-index:2;max-height:calc(100dvh - 36px);overflow:auto}
html.v2-member-modal-open,body.v2-member-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
body.v2-member-modal-open{position:fixed!important;left:0!important;right:0!important;width:100%!important}

@media(max-width:600px){
  .v2-ad-member-locked{min-height:185px}
  .v2-ad-member-locked-icon{font-size:36px}
  .v2-member-modal{padding:12px!important;align-items:center!important}
  .v2-member-modal-card{width:min(94vw,440px)!important;max-height:calc(100dvh - 24px)}
}

/* R85.3: three-item advertising service navigation */
@media(max-width:700px){
  .v2-info-topnav{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    width:calc(100% - 12px);
  }
  .v2-info-topnav a{
    min-height:50px;
    padding:6px 3px;
    font-size:13px;
    line-height:1.2;
  }
}
@media(max-width:390px){
  .v2-info-topnav a{font-size:12px;}
}

/* R85.3 final advertising navigation override */
.v2-info-topnav{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){
  .v2-info-topnav{
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:calc(100% - 12px);
  }
}


/* R97 region fixed advertising seats */
.v2-region-slot-grid .v2-region-open-slot{
    border-style:dashed;
}
.v2-region-slot-grid .v2-region-open-slot small{
    letter-spacing:.02em;
}
.v2-region-slot-grid .exposure-top{
    order:1;
}
.v2-region-slot-grid .exposure-priority{
    order:2;
}
.v2-region-slot-grid .exposure-general{
    order:3;
}
.v2-region-slot-grid .v2-region-open-slot[data-exposure-tier="top"]{
    order:1;
}
.v2-region-slot-grid .v2-region-open-slot[data-exposure-tier="priority"]{
    order:2;
}


/* ==========================================================================
   Stage 8C-3 UI cleanup: keep SEO content user-accessible without visual clutter
   ========================================================================== */
.v2-home-seo-disclosure{
  max-width:760px;
  margin:12px auto 0;
  border-top:1px solid #e6edf4;
}
.v2-home-seo-disclosure summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:8px 32px 8px 8px;
  cursor:pointer;
  list-style:none;
  color:#536b82;
  font-size:12px;
  font-weight:850;
  line-height:1.4;
  user-select:none;
}
.v2-home-seo-disclosure summary::-webkit-details-marker{display:none;}
.v2-home-seo-disclosure summary::after{
  content:'＋';
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  color:#7890a6;
  font-size:16px;
  font-weight:700;
}
.v2-home-seo-disclosure[open] summary::after{content:'−';}
.v2-home-seo-disclosure summary:focus-visible{outline:2px solid #7aa8cf;outline-offset:2px;border-radius:8px;}
.v2-home-seo-disclosure-body{padding:0 6px 10px;}
.v2-home-seo-disclosure-body p{margin-top:7px;}
@media(max-width:700px){
  .v2-home-seo-disclosure{margin-top:9px;}
  .v2-home-seo-disclosure summary{min-height:36px;font-size:11px;}
}

/* Phase 2 batch 1: governance / public disclosure */
.v2-footer-policy-links{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:9px 0;font-size:12px}
.v2-footer-policy-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.v2-home-role-statement{max-width:820px!important;font-size:13px!important;line-height:1.75!important;color:#53657a!important}
@media(max-width:600px){.v2-footer-policy-links{gap:5px;font-size:11px}.v2-home-role-statement{font-size:11.5px!important;padding:0 12px!important}}
