:root {
    --bg-dark: #070C18;
    --bg-dark2: #0B1224;
    --panel-dark: #0C1530;
    --surface: #FFFFFF;
    --alt: #F5F7FB;
    --ink: #0F172A;
    --muted: #5B6B85;
    --muted-dark: #93A1B8;
    --line: #E8ECF3;
    --line-dark: rgba(255, 255, 255, 0.08);
    --gold: #E8A423;
    --gold-deep: #D98E1F;
    --gold-grad: linear-gradient(135deg, #F6D27A 0%, #E8A423 55%, #D98E1F 100%);
    /* 金色预算令牌：大金面全站只允许 hero offer 卡；其余组件只准用 tint/边线/图标级金色 */
    --gold-tint: rgba(232, 164, 35, 0.08);
    --gold-line: rgba(217, 142, 31, 0.32);
    --tint: rgba(15, 23, 42, 0.035);
    --navy: #0A1F44;
    --radius: 4px;
    --radius-sm: 4px;
    --shadow: 0 20px 50px rgba(10, 20, 50, 0.10);
    --shadow-hover: 0 28px 60px rgba(10, 20, 50, 0.16);
    --container: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    /* clip 不创建滚动容器，否则后代的 position: sticky 会失效（Safari 16 以下退回 hidden） */
    overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
    background: var(--gold-grad);
    color: #1A1206;
    box-shadow: 0 10px 28px rgba(232, 164, 35, 0.35);
}
.btn-gold:hover { box-shadow: 0 16px 36px rgba(232, 164, 35, 0.45); }
.btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-dark {
    border-color: #D6DCE8;
    color: var(--ink);
    background: var(--surface);
}
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* ---------- header ---------- */

.site-header {
    --header-h: 74px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(7, 12, 24, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
    --header-h: 64px;
    background: rgba(7, 12, 24, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-text {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    background: linear-gradient(120deg, #F8DFA6, #E8A423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-link {
    color: #C6D0E0;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 9px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: var(--gold); background: rgba(232, 164, 35, 0.1); }

.nav-drop { position: relative; }
.nav-drop summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #C6D0E0;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 9px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-drop.active > summary { color: var(--gold); background: rgba(232, 164, 35, 0.1); }
.drop-caret { width: 13px; height: 13px; transition: transform 0.2s; }
.nav-drop[open] .drop-caret { transform: rotate(180deg); }
.drop-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    padding: 8px;
    min-width: 232px;
    z-index: 60;
    animation: dropIn 0.18s ease;
}
.drop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
}
.drop-item:hover { background: var(--alt); }
.drop-item.cur { color: var(--gold-deep); }
.drop-item.cur .drop-name { font-weight: 700; }
.drop-meta { color: var(--gold-deep); font-size: 13px; font-weight: 700; }
.drop-more {
    display: block;
    margin-top: 6px;
    padding: 10px 14px 4px;
    border-top: 1px solid var(--line);
    color: var(--gold-deep);
    font-size: 13.5px;
    font-weight: 700;
}
.drop-more:hover { color: var(--gold); }
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switch { position: relative; margin-left: 2px; flex-shrink: 0; }
.lang-switch summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #C6D0E0;
    font-size: 13.5px;
    cursor: pointer;
    padding: 7px 9px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary, .lang-switch summary:hover { color: #fff; border-color: var(--gold); }
.lang-icon { width: 16px; height: 16px; }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    padding: 6px;
    min-width: 132px;
    z-index: 50;
}
.lang-menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 4px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}
.lang-menu a:hover { background: var(--alt); }
.lang-menu a.cur { color: var(--gold-deep); font-weight: 700; }

.header-cta { margin-left: 4px; white-space: nowrap; flex-shrink: 0; padding: 8px 16px; font-size: 13.5px; }
.header-search { flex-shrink: 1; min-width: 0; }
/* 顶栏空间紧张：桌面只显示语言缩写，抽屉菜单里恢复全称 */
.lang-code { display: inline; }
.lang-full { display: none; }
/* 中文标签本身短，顶栏恢复宽松一档的字号与留白；英/马来语保持紧凑档才挤得进容器 */
@media (min-width: 1221px) {
    html[lang^="zh"] .nav-link,
    html[lang^="zh"] .nav-drop summary { font-size: 14.5px; padding: 8px 11px; }
    html[lang^="zh"] .lang-switch summary { font-size: 14px; padding: 7px 10px; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    margin-left: 4px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    background: var(--bg-dark);
    padding: 168px 0 92px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(700px 380px at 82% 8%, rgba(232, 164, 35, 0.16), transparent 65%),
        radial-gradient(560px 340px at 8% 88%, rgba(37, 99, 235, 0.14), transparent 65%),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255, 255, 255, 0.035) 79px, rgba(255, 255, 255, 0.035) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255, 255, 255, 0.035) 79px, rgba(255, 255, 255, 0.035) 80px);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.78fr);
    gap: 52px;
    align-items: center;
}
.hero-title {
    color: #fff;
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}
.hero-sub {
    color: var(--muted-dark);
    font-size: clamp(15.5px, 1.5vw, 17.5px);
    max-width: 560px;
    margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    border-top: 1px solid var(--line-dark);
    padding-top: 28px;
}
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat-num {
    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: 800;
    background: linear-gradient(120deg, #F8DFA6, #E8A423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.stat-label { color: var(--muted-dark); font-size: 12.5px; }

/* hero top-brokers panel */

.hero-top {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(232, 164, 35, 0.35);
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-top-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.hero-top-title {
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.hero-top-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(232, 164, 35, 0.18);
}
.hero-top-sub {
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}
.hero-top-list { display: flex; flex-direction: column; }
.hero-top-list li + li { border-top: 1px solid var(--line-dark); }
.hero-top-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 2px;
    border-radius: 4px;
    transition: background 0.2s;
}
.hero-top-list a:hover { background: rgba(255, 255, 255, 0.04); }
.hero-top .broker-logo { width: 64px; height: 40px; border-radius: 4px; background: #fff; border-color: var(--line-dark); }
.ht-rank {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: rgba(232, 164, 35, 0.12);
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.hero-top-list li:first-child .ht-rank {
    background: var(--gold-grad);
    color: #1A1206;
    box-shadow: 0 6px 14px rgba(232, 164, 35, 0.4);
}
.ht-info { flex: 1; min-width: 0; }
.ht-name {
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-top .stars-num { color: var(--muted-dark); }
.ht-rebate { text-align: right; flex: none; }
.ht-num {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(120deg, #F8DFA6, #E8A423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.15;
    white-space: nowrap;
}
.ht-cap { color: var(--muted-dark); font-size: 12px; white-space: nowrap; }
.hero-top-more {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line-dark);
    color: var(--gold);
    font-weight: 700;
    font-size: 13.5px;
    transition: color 0.2s;
}
.hero-top-more:hover { color: #fff; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 16.5px; }

/* ---------- steps ---------- */

.step-num {
    position: absolute;
    top: -22px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #1A1206;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(232, 164, 35, 0.4);
}

/* ---------- broker cards ---------- */

.brokers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}
.broker-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 21px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.broker-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 164, 35, 0.5); }
.section-alt .broker-card { border-color: #E4E9F2; }
.broker-card-head { display: flex; align-items: center; gap: 14px; }
.broker-logo {
    width: 72px;
    height: 44px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 800;
    color: var(--navy);
    font-size: 15px;
}
.broker-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.broker-logo-lg { width: 116px; height: 72px; border-radius: 4px; font-size: 24px; }
.broker-name { font-size: 17px; font-weight: 800; }
.stars { display: inline-flex; align-items: center; gap: 7px; }
.stars-ic { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.stars-num { color: var(--muted); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stars-part { position: relative; display: inline-block; color: #D9E0EB; }
.stars-part .stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--gold);
}
.broker-tagline { color: var(--muted); font-size: 13.5px; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.broker-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: var(--alt);
    border: 1px solid var(--line);
    color: #4A5C7A;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}
.broker-rebate {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.14), rgba(232, 164, 35, 0.08));
    border: 1px dashed rgba(217, 142, 31, 0.45);
    border-radius: var(--radius-sm);
}
.broker-rebate-label { color: #8A6210; font-size: 13.5px; font-weight: 600; }
.broker-rebate-num {
    font-size: 25px;
    font-weight: 800;
    color: var(--gold-deep);
    line-height: 1;
}
.broker-rebate-num small { font-size: 12.5px; font-weight: 600; margin-left: 2px; }
.broker-actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.broker-actions .btn { flex: 1; min-width: 130px; }

/* ---------- page hero / breadcrumb ---------- */

.page-hero {
    background: var(--bg-dark);
    padding: 158px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(232, 164, 35, 0.16), transparent 65%);
    pointer-events: none;
}
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; font-size: 13.5px; }
.breadcrumb a { color: var(--muted-dark); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.crumb-sep { color: rgba(255, 255, 255, 0.22); }
.crumb-cur { color: var(--gold); }
.page-hero-title {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.25;
}
.page-hero-sub { color: var(--muted-dark); margin-top: 12px; max-width: 640px; }

/* ---------- calculator ---------- */

.calc-section { background: var(--bg-dark2); position: relative; overflow: hidden; }
.calc-section .section-head h2 { color: #fff; }
.calc-section .section-sub { color: var(--muted-dark); }
.calc-section .eyebrow { color: var(--gold); }
.calc-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    padding: 44px;
    max-width: 940px;
    margin: 0 auto;
    backdrop-filter: blur(6px);
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 34px;
}
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field[hidden] { display: none; }
.calc-field span { color: var(--muted-dark); font-size: 13.5px; font-weight: 600; }
.calc-field select,
.calc-field input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.calc-field select option { color: var(--ink); background: #fff; }
.calc-field select:focus, .calc-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.18);
}
.calc-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}
.calc-result-item {
    background: rgba(232, 164, 35, 0.08);
    border: 1px solid rgba(232, 164, 35, 0.28);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calc-num {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    background: linear-gradient(120deg, #F8DFA6, #E8A423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: max-content;
    align-self: center;
}
.calc-cap { color: var(--muted-dark); font-size: 13.5px; }
.calc-note { color: rgba(147, 161, 184, 0.75); font-size: 13px; text-align: center; }
.calc-rate { color: #F6D27A; font-size: 14px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.calc-hint { font-weight: 400 !important; font-size: 12px !important; line-height: 1.5; color: #9aa7bd !important; }

/* ---------- features ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 164, 35, 0.5); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.2), rgba(232, 164, 35, 0.12));
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.feature-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- news ---------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 48px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 164, 35, 0.5); }
.section-alt .news-card { border-color: #E4E9F2; }
.news-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    background: linear-gradient(135deg, #0C1530 0%, #1B2B52 60%, #233C6E 100%);
    position: relative;
    overflow: hidden;
}
.news-card:nth-child(3n+2) .news-cover { background: linear-gradient(135deg, #241503 0%, #4A2E08 60%, #6B430C 100%); }
.news-card:nth-child(3n+3) .news-cover { background: linear-gradient(135deg, #101B10 0%, #1D3A22 60%, #2A5230 100%); }
.news-letter {
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 2px;
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { color: #93A1B8; font-size: 13px; }
.news-title { font-size: 17.5px; font-weight: 700; line-height: 1.45; }
.news-title a { transition: color 0.2s; }
.news-title a:hover { color: var(--gold-deep); }
.news-excerpt {
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-more { color: var(--gold-deep); font-size: 14px; font-weight: 600; margin-top: auto; }
.news-more:hover { color: var(--gold); }
/* 「→」箭头链接统一动效：hover 右移（news-more/steps-more/活动条/互链共用 .arr） */
.news-more .arr, .steps-more .arr, .bhero-promo .arr { display: inline-block; transition: transform 0.2s; }
.news-more:hover .arr, .steps-more:hover .arr, .bhero-promo:hover .arr { transform: translateX(3px); }
::selection { background: rgba(232, 164, 35, 0.3); }

/* ---------- faq ---------- */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    font-size: 16.5px;
    font-weight: 700;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--gold-deep); }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
    content: "";
    position: absolute;
    background: var(--gold-deep);
    border-radius: 2px;
    transition: transform 0.25s;
}
.faq-plus::before { width: 16px; height: 2px; top: 7px; left: 0; }
.faq-plus::after { width: 2px; height: 16px; top: 0; left: 7px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { color: var(--muted); padding: 0 4px 24px; font-size: 15px; max-width: 780px; }
/* details 展开动画：支持 ::details-content 的浏览器平滑展开，其余维持瞬开（渐进增强） */
:root { interpolate-size: allow-keywords; }
.faq-item::details-content, .about-fold::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.28s ease, content-visibility 0.28s ease allow-discrete;
}
.faq-item[open]::details-content, .about-fold[open]::details-content { block-size: auto; }

/* ---------- cta banner ---------- */

.cta-section { padding-top: 0; }
.cta-banner {
    background:
        radial-gradient(520px 260px at 88% 20%, rgba(232, 164, 35, 0.22), transparent 65%),
        radial-gradient(420px 240px at 6% 90%, rgba(37, 99, 235, 0.18), transparent 65%),
        var(--bg-dark);
    border-radius: 4px;
    padding: 52px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.cta-text p { color: var(--muted-dark); font-size: 16px; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scrollbar-width: thin; scrollbar-color: #C7D0DE transparent; }
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.table-wrap::-webkit-scrollbar-thumb { background: #C7D0DE; border-radius: 999px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: #A9B4C6; }
.table { width: 100%; border-collapse: collapse; min-width: 620px; }
.table th {
    text-align: left;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--alt);
    padding: 15px 22px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table td { padding: 17px 22px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.15s; }
.table tbody tr:hover { background: #FAFBFE; }
.td-strong { font-weight: 700; }
.td-num { color: var(--gold-deep); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.td-note { color: var(--muted); font-size: 14px; }
.table-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.broker-rebates-block { margin-bottom: 36px; }
.rebate-table tr.row-best td { background: linear-gradient(135deg, rgba(246, 210, 122, 0.12), rgba(232, 164, 35, 0.05)); }
/* 数字列右对齐等宽便于纵向比大小；首列与说明列保持左对齐 */
.rebate-table th:not(:first-child):not(:last-child) { text-align: right; }
.rebate-table td.td-num { text-align: right; }
/* row-best 的 td 背景会盖住 tr:hover，hover 需单独提亮 */
.rebate-table tbody tr.row-best:hover td,
.symbol-table tbody tr.row-best:hover td { background: linear-gradient(135deg, rgba(246, 210, 122, 0.22), rgba(232, 164, 35, 0.1)); }
.tag-best {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}
.rebate-table .pct-unit { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px; }
.rebate-table .pct-note-ref { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tbl-link { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--line); }
.tbl-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

/* ---------- symbol rebate table ---------- */

.block-sub { color: var(--muted); font-size: 14.5px; margin: -12px 0 18px; }
.symbol-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 340px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
}
.symbol-filter:focus-within { border-color: var(--gold); }
.symbol-filter svg { width: 16px; height: 16px; flex: none; }
.symbol-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14.5px;
    color: var(--ink);
}
.symbol-table { min-width: 480px; }
.symbol-table th { padding: 10px 16px; }
.symbol-table td { padding: 9px 16px; font-size: 14px; }
.sym-name { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 12.5px; }
/* 品种页两张短表并排：单列全宽会把两列的表拉得稀散，并排刚好吃掉省下来的侧栏宽度 */
.sym-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-bottom: 44px; }
.sym-duo > .bd-section { margin-bottom: 0; }
/* 表头、表体各占一行：两列说明文字行数不同也不会把两张表的起点错开；不支持 subgrid 时列退化为普通块，仍是各自成块
   minmax(0,1fr) 锁住列内隐式轨，否则表格 min-width 会撑破列宽、把页面顶出横向滚动 */
.sym-duo > .sym-col { grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; }
.sym-duo .block-sub { margin-bottom: 0; }
.sym-duo-one { grid-template-columns: minmax(0, 660px); }
.sym-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(232,164,35,0.6); }
.sym-link:hover { color: var(--gold, #E8A423); border-bottom-color: currentColor; }
.pct-note { margin: 14px 0 4px; padding: 14px 16px; border: 1px solid rgba(232,164,35,0.35); border-left: 4px solid #E8A423; border-radius: 4px; background: rgba(232,164,35,0.07); }
.pct-note-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: #B9791A; margin-bottom: 8px; }
.pct-note ul { margin: 0 0 8px; padding-left: 18px; }
.pct-note li { font-size: 14px; line-height: 1.7; color: var(--ink, #1E2A3A); }
.pct-note li b { color: #B9791A; }
.pct-note-sub { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted, #6B7A93); }
.symbol-table .th-num { text-align: right; }
.symbol-table td.td-num { text-align: right; }
.symbol-table tr.row-best td { background: linear-gradient(135deg, rgba(246, 210, 122, 0.12), rgba(232, 164, 35, 0.05)); }
.symbol-table.sym-collapsed tbody tr.sym-extra { display: none; }
.symbol-toggle-row { margin-top: 12px; text-align: center; }
.symbol-empty { color: var(--muted); font-size: 14px; margin-top: 12px; }
/* 1080 以下并排两列各不足 480（表格 min-width），会逼出内部横向滚动——这个区间改回单列通栏 */
@media (max-width: 1080px) {
    .sym-duo { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .sym-duo > .sym-col { grid-row: auto; display: block; }
    .sym-duo .block-sub { margin-bottom: 18px; }
}

/* ---------- 详情页表格移动端卡片化（与 home rank-table 同一惯例：tr 变 flex、td::before 出列名） ---------- */
@media (max-width: 640px) {
    .rebate-table, .account-table, .symbol-table { min-width: 0; }
    .rebate-table thead, .account-table thead, .symbol-table thead { display: none; }
    .rebate-table tr, .account-table tr, .symbol-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 10px 12px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--line);
    }
    .rebate-table tbody tr:last-child, .account-table tbody tr:last-child, .symbol-table tbody tr:last-child { border-bottom: 0; }
    .rebate-table td, .account-table td, .symbol-table td { display: block; padding: 0; border: 0; font-size: 14px; }
    .rebate-table td.td-strong, .account-table td.td-strong, .symbol-table td.td-strong {
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 14.5px;
    }
    .rebate-table td[data-label], .account-table td[data-label], .symbol-table td[data-label] { flex: 1 1 30%; min-width: 88px; }
    .rebate-table td.td-note, .account-table td.td-note { flex: 1 1 100%; }
    .rebate-table td[data-label]::before, .account-table td[data-label]::before, .symbol-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 2px;
    }
    .rebate-table td.td-num, .symbol-table td.td-num { text-align: left; }
    /* 跨券商对比卡：查看链接顶到卡片右缘，和桌面端右对齐的链接列一致（只针对对比表，多列值表不适用） */
    .symbol-compare td.td-num + td.td-num { margin-left: auto; }
    /* 卡片模式下 row-best 背景从 td 上移到 tr（td 背景会切碎整卡渐变） */
    .rebate-table tr.row-best, .symbol-table tr.row-best { background: linear-gradient(135deg, rgba(246, 210, 122, 0.12), rgba(232, 164, 35, 0.05)); }
    .rebate-table tr.row-best td, .symbol-table tr.row-best td { background: none; }
    .rebate-table tbody tr.row-best:hover, .symbol-table tbody tr.row-best:hover { background: linear-gradient(135deg, rgba(246, 210, 122, 0.22), rgba(232, 164, 35, 0.1)); }
}

/* ---------- 详情页表格中宽度首列冻结（与 rank-table 同惯例：761-1080 横向滚动时锁住行标识列） ---------- */
@media (min-width: 761px) and (max-width: 1080px) {
    .rebate-table th:first-child, .rebate-table td:first-child,
    .account-table th:first-child, .account-table td:first-child,
    .symbol-table th:first-child, .symbol-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--surface);
        box-shadow: 8px 0 14px -10px rgba(10, 20, 50, 0.28);
    }
    .rebate-table th:first-child, .account-table th:first-child, .symbol-table th:first-child { background: var(--alt); z-index: 3; }
    .rebate-table tr.row-best td:first-child, .symbol-table tr.row-best td:first-child {
        background: linear-gradient(135deg, rgba(246, 210, 122, 0.12), rgba(232, 164, 35, 0.05));
    }
}

/* ---------- broker detail ---------- */

.broker-hero {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
    margin-bottom: 30px;
}
.broker-hero-main { flex: 1; min-width: 240px; }
.broker-name-lg { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.broker-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-bottom: 52px;
}
.fact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fact-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.fact-value { font-size: 17px; font-weight: 800; }
.broker-section { margin-bottom: 44px; }
.block-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reg-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}
/* 监管徽章：金渐变 monogram 徽章，监管代码即标识（不引外部商标图） */
.reg-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 10px;
    border-radius: 10px;
    background: linear-gradient(150deg, #FFE3A6 0%, #F0B13C 68%, #DD9410 100%);
    color: #221806;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: inset 0 0 0 1px rgba(120, 78, 6, 0.18), 0 6px 14px -6px rgba(221, 148, 16, 0.55);
}
.reg-badge i { font-style: normal; white-space: nowrap; }
.reg-badge svg { width: 20px; height: 20px; }
.reg-site { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.reg-site a { color: var(--gold-deep); font-weight: 700; }
.reg-site a:hover { text-decoration: underline; }

/* ---------- platform downloads ---------- */

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dl-name { font-weight: 800; font-size: 16px; letter-spacing: .2px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    transition: border-color .15s, color .15s, transform .15s;
}
.dl-btn svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); }
.dl-btn:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-1px); }
.dl-card-app { background: linear-gradient(135deg, rgba(212, 175, 55, .08), rgba(212, 175, 55, .02)); }
.dl-app-d { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.dl-app-btn { align-self: flex-start; }
.dl-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- pros & cons ---------- */

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 24px 26px;
}
.pc-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pc-title-good { color: #1E7A3C; }
.pc-title-warn { color: #B7791F; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 14.5px;
    color: #33415C;
    border-bottom: 1px dashed var(--line);
}
.pc-list li:last-child { border-bottom: 0; }
.pc-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.pc-title-good + .pc-list svg { color: #1E7A3C; }
.pc-title-warn + .pc-list svg { color: #B7791F; }

/* ---------- broker detail: merged hero / anchor nav / two-column layout ---------- */

.bhero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 460px at 88% -12%, rgba(232, 164, 35, 0.16), transparent 62%),
        radial-gradient(760px 520px at -8% 112%, rgba(66, 110, 255, 0.12), transparent 62%),
        linear-gradient(180deg, #0B1324 0%, #070C18 100%);
    padding: 132px 0 56px;
}
.bhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(760px 440px at 32% 24%, rgba(0, 0, 0, 0.9), transparent 74%);
    mask-image: radial-gradient(760px 440px at 32% 24%, rgba(0, 0, 0, 0.9), transparent 74%);
    pointer-events: none;
}
.bhero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.bhero-id { display: flex; align-items: center; gap: 18px; }
.bhero-logo {
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.bhero-name { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: 0.3px; }
.bhero-stars .stars-ic { font-size: 16px; }
.bhero-stars .stars-num { color: #C2CBDE; font-size: 14px; }
.bhero-tagline { color: #B9C2D8; font-size: 16px; line-height: 1.75; margin-top: 18px; max-width: 560px; }
/* auto-fit：facts 数量 2~8 动态变化，列数按内容与宽度自适应（空轨道自动塌缩） */
.bhero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px 28px; margin-top: 30px; }
.bhero-stat span { display: block; font-size: 12px; color: #A9B4CB; letter-spacing: 0.5px; margin-bottom: 5px; }
.bhero-stat b { font-size: 17px; color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.bhero-offer {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(155deg, #FFD98A 0%, #F0B13C 46%, #DD9410 100%);
    padding: 30px 28px 24px;
    text-align: center;
    color: #221806;
    box-shadow: 0 30px 70px -22px rgba(232, 164, 35, 0.5);
}
.bhero-offer::before {
    content: "";
    position: absolute;
    top: -70%;
    left: -34%;
    width: 64%;
    height: 240%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(18deg);
    pointer-events: none;
}
.bhero-offer-label { position: relative; color: rgba(34, 24, 6, 0.78); font-size: 13.5px; font-weight: 700; letter-spacing: 2px; }
.bhero-offer-num {
    position: relative;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 20px;
    color: #1D1404;
    font-variant-numeric: tabular-nums;
}
.bhero-offer-num small { font-size: 17px; font-weight: 700; color: rgba(29, 20, 4, 0.75); }
/* hero 金卡内在投活动条（promotions） */
.bhero-promos { position: relative; display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.bhero-promo {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(42, 29, 6, 0.18);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #221806;
    transition: background 0.2s;
}
.bhero-promo:hover { background: rgba(255, 255, 255, 0.68); }
.bhero-promo-tag {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: #161E30;
    color: #FFD98A;
}
.bhero-promo-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.bhero-promo > span:last-child { flex-shrink: 0; }
.bhero-offer-actions { position: relative; display: flex; gap: 10px; }
.bhero-offer-actions .btn { flex: 1; justify-content: center; padding-left: 12px; padding-right: 12px; }
.bhero-offer-actions .btn-gold {
    background: #161E30;
    color: #FFD98A;
    box-shadow: 0 10px 24px -8px rgba(10, 14, 26, 0.55);
}
.bhero-offer-actions .btn-gold:hover { background: #0E1524; color: #fff; }
.bhero-offer-actions .btn-ghost { color: #2A1D06; border-color: rgba(42, 29, 6, 0.4); background: transparent; }
.bhero-offer-actions .btn-ghost:hover { background: rgba(42, 29, 6, 0.08); border-color: rgba(42, 29, 6, 0.6); }
.bhero-offer-trust { position: relative; color: rgba(34, 24, 6, 0.72); font-size: 12.5px; margin-top: 14px; line-height: 1.6; }

.anchor-nav {
    position: sticky;
    top: 74px;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.anchor-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.anchor-links { display: flex; flex: 1 1 auto; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.anchor-links::-webkit-scrollbar { display: none; }
.anchor-links a {
    padding: 15px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s;
}
.anchor-links a:hover { color: var(--gold-deep); }
/* 锚点栏金点：标记高频板块（转代理），与 .cur 选中态不冲突 */
.anchor-links a.anchor-hot::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: 2px; }
/* 锚点栏 CTA 默认隐藏：首屏 hero 已有金卡 CTA，滚过 hero 后由 JS 标记 .on 显示，避免首屏三重开户按钮 */
.anchor-cta { flex-shrink: 0; display: none; }
.anchor-cta.on { display: inline-flex; }

/* 详情页各节的垂直节奏（原两栏布局的 330px 侧栏列已随 symbol_detail 改全宽删除） */
.bd-section { margin-bottom: 44px; scroll-margin-top: 130px; }
.bd-section:last-child { margin-bottom: 0; }
/* 信息带：hero 下四卡速览（返佣速览/实时点差/转代理/工具），取代右侧 sticky 侧栏——主栏全宽，表格 +45% 宽度 */
.bd-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; margin-bottom: 40px; }
.band-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.band-title { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.3px; margin-bottom: 4px; }
.band-title .spread-live-dot { width: 7px; height: 7px; flex-shrink: 0; }
.band-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 13.5px; min-width: 0; }
.band-row + .band-row { border-top: 1px dashed var(--line); }
.band-row-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.band-row-val, .side-spread-val { color: var(--gold-deep); font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.band-row-val i, .side-spread-val i { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 2px; }
/* 速览卡底部锚点：账户数少的卡被等高拉伸时，余量落在页脚上方而不是卡片末尾留空洞 */
.band-foot { margin-top: auto; padding-top: 11px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold-deep); }
.band-foot .arr { display: inline-block; transition: transform 0.2s; }
.band-foot:hover .arr { transform: translateX(3px); }
/* 转代理卡：正文整块垂直居中，避免小卡被等高拉伸后中间裂开一段空白 */
a.band-card.band-agent { background: var(--gold-tint); border-color: var(--gold-line); }
.band-agent-body { margin: auto 0; padding-top: 4px; }
.band-agent:hover { border-color: rgba(217, 142, 31, 0.6); }
.band-agent b { display: block; font-size: 14.5px; color: var(--ink); }
.band-agent small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.band-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 13px; background: var(--surface); border: 1px solid var(--gold-line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.band-agent:hover .band-go { border-color: var(--gold); }
.band-tool { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; font-weight: 700; color: var(--ink); min-width: 0; }
.band-tool + .band-tool { border-top: 1px dashed var(--line); }
.band-tool-ic { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--radius-sm); background: rgba(232, 164, 35, 0.12); color: var(--gold-deep); flex-shrink: 0; transition: background 0.2s; }
.band-tool-ic svg { width: 15px; height: 15px; }
.band-tool:hover .band-tool-ic { background: rgba(232, 164, 35, 0.2); }
.band-tool-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band-arr { margin-left: auto; color: var(--gold-deep); font-size: 13px; flex-shrink: 0; transition: transform 0.2s; }
.band-tool:hover .band-arr, .band-agent:hover .arr { transform: translateX(3px); }
.rules-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(232, 164, 35, 0.12);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rules-ic svg { width: 20px; height: 20px; }
/* 详情页返佣规则压缩条：auto-fit（全宽时 4 列，中宽 3 列，窄屏自动降列） */
.rules-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.rules-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--tint);
    border-radius: 4px;
    padding: 14px;
}
.rules-item .rules-ic { width: 32px; height: 32px; }
.rules-item .rules-ic svg { width: 16px; height: 16px; }
.rules-item h3 { font-size: 13.5px; margin-bottom: 3px; }
.rules-item p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
/* 规则卡并入返佣表注区后的小节标题；表尾跳转链接 */
.rules-h { margin: 24px 0 12px; font-size: 15.5px; font-weight: 800; }
.tbl-xlink { display: inline-block; margin-top: 14px; }
.faq-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
@media (max-width: 640px) {
    .reg-grid { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .bhero-grid { grid-template-columns: 1fr; gap: 32px; }
    /* 单列时开户卡提到身份信息之前，CTA 首屏可见（DOM 顺序不变，仅视觉重排） */
    .bhero-offer { order: -1; }
    .bd-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .anchor-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .bhero { padding: 120px 0 44px; }
    .bhero-offer-num { font-size: 42px; }
    /* facts 只留前 4 项（成立/监管/入金/点差），避免把开户卡推到二三屏 */
    .bhero-stat:nth-child(n+5) { display: none; }
    .bd-section { margin-bottom: 40px; }
    .bd-band { grid-template-columns: 1fr; }
}

/* ---------- article ---------- */

.article { color: #33415C; font-size: 16px; line-height: 1.9; }
.article p { margin-bottom: 16px; }
.article h2 { font-size: 24px; color: var(--ink); margin: 34px 0 14px; scroll-margin-top: calc(var(--header-h, 74px) + 18px); }
.article h3 { font-size: 19px; color: var(--ink); margin: 26px 0 12px; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.article ol { list-style: decimal; padding-left: 22px; margin-bottom: 16px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article a { color: var(--gold-deep); text-decoration: underline; }
.article table { border-collapse: collapse; width: 100%; margin-bottom: 16px; }
.article table td, .article table th { border: 1px solid var(--line); padding: 10px 14px; }
.article table th { background: #F7F9FC; color: var(--ink); font-weight: 600; }
.article-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; background: var(--surface); }
.article-table-wrap table { margin-bottom: 0; min-width: 520px; }
.article-table-wrap th { white-space: nowrap; text-align: left; }
.article-table-wrap td { font-variant-numeric: tabular-nums; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #93A1B8;
    font-size: 14px;
    margin-bottom: 22px;
}
.post { margin-bottom: 60px; }
.post-related { margin-top: 10px; }
.post-related .news-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 0; }

.post-cover { margin: 0 0 26px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--alt); }
.post-cover img { display: block; width: 100%; height: auto; }

.post-toc {
    background: var(--alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 22px 14px;
    margin-bottom: 30px;
}
.post-toc .toc-title { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-toc ol { list-style: decimal; padding-left: 20px; margin: 0; columns: 2; column-gap: 36px; }
.post-toc li { margin-bottom: 6px; break-inside: avoid; }
.post-toc a { color: #33415C; text-decoration: none; font-size: 15px; line-height: 1.6; transition: color 0.2s; }
.post-toc a:hover, .post-toc a.cur { color: var(--gold-deep); }
.post-toc a.cur { font-weight: 600; }

.post-updated { color: var(--muted); font-size: 13.5px; margin: 26px 0 0; }

.post-share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-share .ps-label { color: var(--muted); font-size: 14px; margin-right: 2px; }
.ps-btn {
    display: inline-flex; align-items: center; gap: 7px;
    width: 38px; height: 38px; padding: 0 0;
    justify-content: center;
    border: 1px solid var(--line); border-radius: 50%;
    background: var(--surface); color: #33415C;
    cursor: pointer; font: inherit;
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.ps-btn:hover { color: var(--gold-deep); border-color: var(--gold); transform: translateY(-2px); }
.ps-btn svg { width: 17px; height: 17px; }
.ps-copy { width: auto; border-radius: 19px; padding: 0 15px; font-size: 13.5px; }
.ps-copy.copied { color: #1B8A4C; border-color: #BFE3CC; background: #F0FAF3; }

@media (max-width: 640px) {
    .post-toc ol { columns: 1; }
    .article h2 { font-size: 20px; }
    .post-cover { margin-bottom: 20px; }
}

/* ---------- how it works ---------- */

.how-steps {
    counter-reset: how;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 44px;
    counter-increment: none;
}
.how-step {
    display: flex;
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.how-step:hover { transform: translateX(6px); border-color: rgba(232, 164, 35, 0.5); box-shadow: var(--shadow); }
.how-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #1A1206;
    font-weight: 800;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(232, 164, 35, 0.35);
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 15px; }
.notes-card {
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.12), rgba(232, 164, 35, 0.05));
    border: 1px solid rgba(217, 142, 31, 0.35);
    border-radius: var(--radius);
    padding: 30px 32px;
}
.notes-list { display: flex; flex-direction: column; gap: 12px; }
.notes-list li {
    position: relative;
    padding-left: 26px;
    color: #4A5C7A;
    font-size: 15px;
}
.notes-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- agent program ---------- */

.agent-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.agent-benefit {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.agent-benefit-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(246, 210, 122, .25), rgba(232, 164, 35, .12));
    color: var(--gold-deep);
    margin-bottom: 14px;
}
.agent-benefit-ic svg { width: 24px; height: 24px; }
.agent-benefit h3 { font-size: 17px; margin-bottom: 8px; }
.agent-benefit p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.agent-comm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px;
    margin-bottom: 20px;
}
.agent-comm-main p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.agent-comm-rate { text-align: center; flex: none; }
.agent-comm-rate span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.agent-comm-rate b { font-size: 40px; color: var(--gold-deep); line-height: 1; }
.agent-comm-rate small { font-size: 20px; }
.agent-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 1024px) {
    .agent-benefits { grid-template-columns: 1fr; }
    .agent-comm { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .agent-promo { grid-template-columns: 1fr; align-items: stretch; }
    .agent-promo-row { flex-wrap: wrap; }
    .agent-promo-link input { width: 100%; }
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}
.info-ic { font-size: 22px; }
.info-label { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.info-card a, .info-card span:last-child { font-weight: 700; font-size: 15px; word-break: break-all; }
.info-card a:hover { color: var(--gold-deep); }
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field span { font-size: 14px; font-weight: 600; color: #33415C; }
.form-field input, .form-field textarea {
    border: 1px solid #D6DCE8;
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--ink);
    background: #FBFCFE;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.15);
    background: #fff;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert {
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 22px;
}
.alert-success { background: #EAF7EE; color: #1E7A3C; border: 1px solid #BCE3C8; }
.alert-error { background: #FDEEEE; color: #B33A3A; border: 1px solid #F2CACA; }

/* ---------- pagination ---------- */

.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.page-link {
    color: var(--muted);
    font-weight: 600;
    font-size: 14.5px;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.2s;
}
.page-link:hover { border-color: var(--gold); color: var(--gold-deep); }
.page-cur { color: var(--muted); font-size: 14px; }

/* ---------- 404 ---------- */

.notfound { padding: 200px 0 120px; background: var(--bg-dark); min-height: 70vh; }
.nf-num {
    font-size: clamp(72px, 12vw, 130px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, #F8DFA6, #E8A423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nf-title { color: #fff; font-size: 28px; margin: 12px 0 10px; }
.nf-desc { color: var(--muted-dark); margin-bottom: 30px; }

.empty-note { color: var(--muted); text-align: center; padding: 40px 0; font-size: 15.5px; }

/* ---------- footer ---------- */

.site-footer {
    background: var(--bg-dark);
    color: var(--muted-dark);
    padding: 72px 0 0;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-text { font-size: 20px; }
.footer-about { font-size: 14px; margin: 16px 0 18px; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { min-height: 24px; display: flex; align-items: center; }
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
/* 14px 行盒只有 16px 高，手机上按不准；补足 24px 触控高度（flex 居中，视觉密度不变） */
.footer-col a { font-size: 14px; min-height: 24px; display: flex; align-items: center; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-disclaimer { padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.footer-disclaimer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-disclaimer p { font-size: 12.5px; line-height: 1.8; color: #6B7A93; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0;
    font-size: 13px;
}
.footer-bottom a { color: #6B7A93; padding: 5px 0; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- reveal animation ---------- */
/* 隐藏态由 main.js 逐元素加 .rv-off（仅在 IntersectionObserver 可用时），因此无需内联探测脚本 */
.reveal.rv-off { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.rv-off.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal.rv-off { opacity: 1; transform: none; transition: none; }
    .promo-soon { animation: none; }
    .spread-live-dot { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
    .hero { padding: 160px 0 90px; }
    .features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1220px) {
    .nav-toggle { display: flex; }
    .lang-code { display: none; }
    .lang-full { display: inline; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--bg-dark2);
        border-bottom: 1px solid var(--line-dark);
        padding: 14px 24px 22px;
        gap: 2px;
        display: none;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        animation: navPanel 0.25s ease;
    }
    body.nav-open .nav { display: flex; }
    body.nav-open { overflow: hidden; }
    .nav-link { padding: 13px 10px; font-size: 15.5px; border-radius: 4px; }
    .nav-drop summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 10px;
        font-size: 15.5px;
        border-radius: 4px;
    }
    .drop-menu {
        position: static;
        min-width: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
        padding: 4px 0 6px;
        animation: none;
    }
    .drop-item { color: #C6D0E0; padding: 11px 14px 11px 20px; font-weight: 500; }
    .drop-item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
    .drop-item.cur { color: var(--gold); }
    .drop-meta { color: var(--gold); }
    .drop-more { border-top-color: var(--line-dark); color: var(--gold); padding: 11px 14px 2px 20px; }
    .header-cta { display: flex; justify-content: center; margin: 14px 0 0; padding: 13px 12px; font-size: 15px; }
    .lang-switch { margin: 10px 0 0; align-self: flex-start; }
    .lang-menu { left: 0; right: auto; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .calc-result { grid-template-columns: 1fr; }
    .cta-banner { padding: 44px 32px; }
}
@keyframes navPanel {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .section { padding: 68px 0; }
    .hero { padding: 140px 0 70px; }
    .page-hero { padding: 130px 0 44px; }
    .features-grid, .news-grid, .form-row { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .calc-panel { padding: 28px 22px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-grid { grid-template-columns: 1fr; }
    .reg-grid { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
    .broker-hero { padding: 26px 20px; }
    .contact-form-wrap { padding: 26px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .broker-actions .btn { flex: 1 1 100%; }
}

/* ---------- compare page ---------- */
.compare-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 14.5px;
}
.compare-links .tag { transition: all .2s; }
.compare-links .tag:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.vs-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 34px;
}
.vs-side {
    background: var(--alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.vs-badge {
    align-self: center;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0 4px;
}
.vs-name { font-size: 22px; font-weight: 800; }
.vs-side .btn { margin-top: 6px; }

.compare-table th:nth-child(1) { width: 24%; }
.compare-table td, .compare-table th { text-align: center; }
.compare-table td.td-strong { text-align: left; }
.vs-best { color: var(--gold-deep); font-weight: 800; }

.vs-verdict {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px 34px;
    margin-bottom: 44px;
    box-shadow: var(--shadow);
}
.vs-verdict .block-title { color: #fff; margin-bottom: 10px; }
.vs-verdict p { color: var(--muted-dark); font-size: 16.5px; }

/* 两张返佣表并排需要 1286px 以上（表格最小 620px × 2 + 间距 + 容器左右留白），
   而容器上限只有 1200px，并排必然被裁切，故改为上下堆叠各占整幅；
   左右对照已由上方「关键条件对比」表承担 */
.vs-rebates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}
/* 网格单元默认按内容最小宽度撑开：马来语表头长，整表 min-content 可达 855px，
   会把页面顶出横向滚动。放开收缩限制，超出部分交给 .table-wrap 内部滚动 */
.vs-rebate-col { min-width: 0; }
.vs-rebate-col h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--gold);
}

@media (max-width: 860px) {
    .vs-head { grid-template-columns: 1fr; }
    .vs-badge { padding: 4px 0; }
}

/* ---------- header search ---------- */
.header-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 5px 10px;
    margin: 0 2px;
}
.header-search svg { width: 15px; height: 15px; opacity: 0.7; flex: none; }
.header-search input {
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    width: 88px;
    min-width: 0;
    font-size: 13.5px;
    font-family: var(--font);
    transition: width 0.25s;
}
.header-search input:focus { width: 118px; }
.header-search input::placeholder { color: rgba(255, 255, 255, 0.45); }

/* ---------- announce bar ---------- */
.announce {
    background: linear-gradient(90deg, rgba(232, 164, 35, 0.16), rgba(232, 164, 35, 0.06));
    border-bottom: 1px solid rgba(232, 164, 35, 0.28);
    margin-top: 74px;
}
.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.announce-icon { width: 18px; height: 18px; color: var(--gold); flex: none; }
.announce-icon svg { width: 100%; height: 100%; }
.announce-text {
    flex: 1;
    min-width: 0;
    color: #EAD9B0;
    font-size: 14px;
    line-height: 1.5;
}
.announce-text a { color: var(--gold); font-weight: 700; white-space: nowrap; }
.announce-close {
    flex: none;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}
.announce-close:hover { color: #fff; }

/* ---------- promotions ---------- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.promo-grid.home { grid-template-columns: repeat(3, 1fr); }
.promo-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 164, 35, 0.5); }
.promo-cover {
    position: relative;
    height: 78px;
    background: linear-gradient(135deg, #241503 0%, #4A2E08 55%, #7A4B0C 100%);
}
.promo-card:nth-child(3n+2) .promo-cover { background: linear-gradient(135deg, #1A1005 0%, #3A2A08 60%, #6B430C 100%); }
.promo-card:nth-child(3n+3) .promo-cover { background: linear-gradient(135deg, #26170A 0%, #54350C 55%, #8A5A10 100%); }
.promo-type {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 12.5px;
    font-weight: 800;
    color: #1A1305;
    background: linear-gradient(120deg, #F6D27A, #E8A423);
    padding: 4px 12px;
    border-radius: 999px;
}
.promo-type.pt-rebate { background: linear-gradient(120deg, #B9E3A0, #5FA83D); }
.promo-type.pt-contest { background: linear-gradient(120deg, #9CC8FF, #3D7DE0); color: #0A1B33; }
.promo-type.pt-other { background: linear-gradient(120deg, #E3D9F7, #8A66D9); color: #1E1033; }
.promo-soon {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #D64545;
    padding: 4px 11px;
    border-radius: 999px;
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}
.promo-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.promo-title { font-size: 16.5px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.promo-summary { color: var(--muted); font-size: 13.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    margin-top: auto;
}
.promo-meta .promo-broker {
    font-weight: 700;
    color: var(--gold-deep);
    background: rgba(232, 164, 35, 0.1);
    border-radius: 999px;
    padding: 2px 10px;
}
.promo-more { color: var(--gold-deep); font-size: 13px; font-weight: 600; }
.promo-broker {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 24px;
}
.promo-broker img { width: 52px; height: 52px; object-fit: contain; }
.promo-broker-info { flex: 1; display: flex; align-items: center; gap: 10px; }
.promo-broker-info b { font-size: 17px; color: var(--ink); }
.promo-rating { color: var(--gold-deep); font-weight: 800; font-size: 14px; }
.promo-broker-actions { display: flex; gap: 10px; }
.promo-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 1024px) {
    .promo-grid, .promo-grid.home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .promo-grid, .promo-grid.home { grid-template-columns: 1fr; }
    .promo-broker { flex-wrap: wrap; }
    .promo-broker-actions { width: 100%; }
}

/* ---------- float contact ---------- */
.float-contact {
    position: fixed;
    right: 16px;
    bottom: 100px; /* 客服球(#hy_cs_fab)占右下角 24+60px，联系按钮上移避让 */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 90;
    transition: opacity 0.2s ease;
}
.fc-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(10, 20, 50, 0.28);
    transition: all 0.2s;
}
.fc-btn svg { width: 22px; height: 22px; }
.fc-btn:hover { transform: translateY(-3px); background: var(--gold-grad); color: #10192E; box-shadow: 0 14px 30px rgba(232, 164, 35, 0.42); }

/* ---------- search page ---------- */
.search-big {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 44px;
}
.search-big input {
    flex: 1;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    font-size: 15.5px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}
.search-big input:focus { border-color: var(--gold); }
.search-group { margin-bottom: 38px; }
.search-row {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: all 0.2s;
    background: var(--surface);
}
.search-row:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.search-row .sr-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-row .sr-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold-deep);
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 1px 9px;
}
.search-row .sr-desc { color: var(--muted); font-size: 14px; }
.search-empty { text-align: center; color: var(--muted); padding: 30px 0 10px; }

@media (max-width: 1220px) {
    .header-search { margin: 10px 0 4px; align-self: stretch; }
    .header-search input { flex: 1; width: auto; min-width: 0; font-size: 16px; }
}
@media (max-width: 640px) {
    .float-contact { right: 12px; bottom: 136px; }
    .fc-btn { width: 42px; height: 42px; }
    .search-big { flex-direction: column; }
}

/* ---------- home compact ---------- */
.section-compact { padding: 52px 0; }
.steps-band {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 30px;
}
.steps-band-head { flex: 0 0 250px; }
.steps-band-head h2 { font-size: 21px; margin: 6px 0 0; }
.steps-band-sub { color: var(--muted); font-size: 13px; margin: 8px 0 0; line-height: 1.6; }
.steps-more { display: inline-block; color: var(--gold-deep); font-size: 13.5px; font-weight: 700; }
.steps-more:hover { text-decoration: underline; }
.steps-flow { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; }
.steps-flow li { flex: 1; display: flex; align-items: flex-start; gap: 14px; padding-right: 28px; }
.steps-flow li + li { padding-left: 28px; border-left: 1px dashed var(--line); }
.steps-flow .step-num { position: static; width: 36px; height: 36px; font-size: 15px; flex-shrink: 0; box-shadow: none; margin-top: 2px; }
.steps-flow h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.steps-flow p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.features-grid.compact { gap: 12px; }
.features-grid.compact .feature-card { padding: 15px 14px; }
.features-grid.compact .feature-icon { width: 34px; height: 34px; border-radius: 4px; margin-bottom: 10px; }
.features-grid.compact .feature-icon svg { width: 18px; height: 18px; }
.features-grid.compact .feature-card h3 { font-size: 16px; margin-bottom: 5px; }
.features-grid.compact .feature-card p { font-size: 12.5px; line-height: 1.55; }
@media (max-width: 960px) {
    .steps-band { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 20px; }
    .steps-band-head { flex: none; }
    .steps-flow { flex-direction: column; gap: 16px; }
    .steps-flow li { padding-right: 0; }
    .steps-flow li + li { padding-left: 0; border-left: none; border-top: 1px dashed var(--line); padding-top: 16px; }
}

/* ---------- about page ---------- */
.about-stats-band {
    background: linear-gradient(150deg, var(--bg-dark2), var(--panel-dark));
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 30px 34px;
    box-shadow: var(--shadow);
}
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) {
    .about-stats-band { padding: 24px 22px; }
    .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}

/* ---------- mobile density ---------- */
@media (max-width: 640px) {
    .section { padding: 54px 0; }
    .section-compact { padding: 40px 0; }
    .hero { padding: 116px 0 54px; }
    .hero .hero-trust { margin-bottom: 26px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .calc-field select, .calc-field input, .form-field input, .form-field textarea, .form-field select, .search-big input { font-size: 16px; }
    .calc-quick-btn { padding: 6px 13px; font-size: 12.5px; }
    .features-grid, .features-grid.compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .features-grid .feature-card, .features-grid.compact .feature-card { padding: 16px 13px; }
    .features-grid .feature-icon, .features-grid.compact .feature-icon { width: 34px; height: 34px; border-radius: 4px; margin-bottom: 10px; }
    .features-grid .feature-icon svg { width: 18px; height: 18px; }
    .features-grid .feature-card h3 { font-size: 14px; margin-bottom: 4px; }
    .features-grid .feature-card p { font-size: 12.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .cta-banner { padding: 34px 22px; border-radius: 4px; gap: 20px; }
    .cta-text h2 { font-size: 21px; }
    .cta-text p { font-size: 14px; }
    .promo-cover { height: 68px; }
    .steps-band-head h2 { font-size: 18px; }
}

/* ---------- home: broker rank table ---------- */

.rank-section .section-head { margin-bottom: 36px; }
.rank-wrap { box-shadow: var(--shadow); }
.rank-table { min-width: 980px; table-layout: fixed; }
.rank-table.rank-cols-5 { min-width: 1120px; }
.rank-table.rank-cols-4 { min-width: 1045px; }
.rank-table.rank-cols-3 { min-width: 970px; }
.rank-table.rank-cols-2 { min-width: 895px; }
.rank-table th { white-space: nowrap; padding: 13px 12px; letter-spacing: 0.6px; }
.rank-table td { vertical-align: middle; padding: 14px 12px; }
.rank-table th[data-sort] {
    white-space: nowrap;
    position: relative;
    padding: 13px 20px 13px 8px;
    width: 86px;
}
.rank-table th.rt-deposit, .rank-table th.rt-spread {
    white-space: normal;
    max-width: 118px;
    line-height: 1.35;
    /* 四字中文标题在 12.5px 下约 52px：默认 12px 内边距 + 0.6px 字距只剩 51px 文本宽度，
       会被挤成一字一行。收紧内边距、去掉字距并略加宽列，保证一行排下 */
    padding: 13px 8px;
    letter-spacing: 0;
}
.rank-table .th-main { display: block; }
.rank-table .th-unit {
    display: block;
    white-space: nowrap;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 0.3px;
    opacity: 0.75;
}
.rank-table .rt-rank { width: 56px; }
.rank-table .rt-check span, .rank-table .rt-rank span { font-size: 14px; opacity: 0.7; }
.rank-table th:nth-child(3) { width: 20%; }
.rank-table th.rt-deposit { width: 7%; }
.rank-table th.rt-spread { width: 7.5%; }
.rank-table th.rt-action { width: 17%; text-align: center; }
.rank-table td.rt-deposit, .rank-table td.rt-spread { white-space: nowrap; }
/* 按点差返佣的档位：五列合并一格，同一个比例不再重复五遍 */
.rank-table td.td-pct-all { padding-left: 8px; }
.rank-table td.td-pct-all .td-num-val { display: inline; font-size: 17px; color: var(--gold-deep); }
.rank-table td.td-pct-all .td-pct-cap {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: normal;
}
.rt-rank-cell {
    font-weight: 800;
    color: var(--muted);
    font-size: 15px;
    white-space: nowrap;
}
.rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.18), 0 3px 8px rgba(10, 20, 50, 0.16);
}
.medal-1 {
    background: linear-gradient(145deg, #F6D27A, #D88E1F);
    color: #1A1206;
    box-shadow: inset 0 -2px 4px rgba(122, 78, 12, 0.35), 0 4px 12px rgba(232, 164, 35, 0.4);
}
.medal-2 { background: linear-gradient(145deg, #E8EDF4, #9AA7BC); color: #2C3A52; }
.medal-3 { background: linear-gradient(145deg, #E9C09A, #B0713C); color: #3A2419; }
tr.rt-top1 { background: linear-gradient(90deg, rgba(246, 210, 122, 0.14), rgba(232, 164, 35, 0.03) 60%); }
tr.rt-top1:hover { background: linear-gradient(90deg, rgba(246, 210, 122, 0.2), rgba(232, 164, 35, 0.05) 60%); }
tr.rt-top1 .rt-rank-cell { color: var(--gold-deep); }
.rt-broker-cell { display: flex; align-items: center; gap: 12px; min-width: 150px; }
.rt-broker-cell .broker-logo { width: 76px; height: 44px; border-radius: 4px; }
.rt-broker-cell .broker-logo img { padding: 4px; }
.rt-broker-info { min-width: 0; }
.rt-name {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink);
    display: block;
    line-height: 1.3;
    transition: color 0.2s;
}
.rt-broker-cell:hover .rt-name { color: var(--gold-deep); }
/* 两个按钮竖排：横排在英/马来语下会顶出列宽（"Contact Us for Rebates" 比整列还宽）。
   max-content 会超出 td 内容盒，再限一道 max-width 让长文案折行而不是压到相邻列 */
.rt-action-cell { text-align: center; }
.rt-action-cell .btn { display: block; width: max-content; max-width: 100%; margin: 0 auto; padding: 7px 12px; font-size: 12px; white-space: normal; line-height: 1.35; }
.rt-action-cell .btn + .btn { margin-top: 6px; }
.rank-section .center { margin-top: 34px; }
.rank-table .stars-ic { position: relative; display: inline-block; color: #D9E0EB; }
.rank-table .stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--gold);
}
.rank-table td.rt-good { color: #177E52; font-weight: 700; }
.rank-hint {
    margin-left: auto;
    align-self: center;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

/* ---------- home: faq two-column ---------- */

.home-faq-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.home-faq-head { position: sticky; top: 108px; margin-bottom: 0; }
.home-faq-head .btn { margin-top: 20px; }

/* ---------- home responsive ---------- */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-sub { max-width: none; }
    .home-faq-grid { grid-template-columns: 1fr; gap: 34px; }
    .home-faq-head { position: static; }
}
@media (max-width: 640px) {
    .hero { padding: 116px 0 54px; }
    .hero-top { padding: 18px 14px; border-radius: 4px; }
    .hero-top-list a { padding: 12px 2px; }
    .rank-table { min-width: 760px; }
    .rank-table.rank-cols-3 { min-width: 700px; }
    .rank-table.rank-cols-2 { min-width: 640px; }
    .rank-table td { padding: 13px 14px; }
    .rank-table th { padding: 12px 14px; }
    .rt-action-cell .btn { padding: 7px 12px; font-size: 12.5px; }
    .rt-broker-cell { min-width: 170px; }
    .rt-broker-cell .broker-logo { width: 56px; height: 36px; }
    .rt-name { font-size: 14px; }
}

/* ---------- auth pages ---------- */
.auth-wrap { padding: 96px 0 88px; min-height: 62vh; }
.auth-card { position: relative; overflow: hidden; max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px 30px; }
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-brand img { width: 44px; height: 44px; border-radius: 4px; box-shadow: 0 6px 18px rgba(232, 164, 35, 0.35); }
.auth-brand span { font-size: 18px; font-weight: 800; letter-spacing: 1px; color: var(--gold-deep); }
.auth-card h1 { font-size: 24px; margin-bottom: 8px; text-align: center; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; text-align: center; }
.auth-card .btn-block { width: 100%; padding: 14px; font-size: 15.5px; letter-spacing: 2px; }
.auth-card .btn-block:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.ff-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ff-head label { font-size: 14px; font-weight: 600; color: #33415C; }
.ff-link { font-size: 13px; font-weight: 600; color: var(--muted); }
.ff-link:hover { color: var(--gold-deep); }
.form-field .ff-hint { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 44px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--muted); border-radius: 4px; cursor: pointer; }
.pw-toggle:hover { color: var(--gold-deep); background: var(--alt); }
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle .pw-slash { display: none; }
.pw-toggle.on .pw-slash { display: block; }
.auth-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }
.auth-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--gold-deep); font-weight: 700; }
.auth-agree { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 20px; font-size: 13.5px; color: var(--muted); }
.auth-agree input { margin-top: 3px; }
.auth-agree a { color: var(--gold-deep); font-weight: 600; }
.form-field select {
    border: 1px solid #D6DCE8;
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--ink);
    background: #FBFCFE;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.15); background: #fff; }

/* ---------- account center ---------- */
.acct-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; max-width: var(--container); margin: 0 auto; padding: 96px 24px 80px; align-items: start; }
.acct-main { min-width: 0; }
.acct-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; }
.acct-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.acct-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.acct-email { font-size: 13.5px; font-weight: 700; word-break: break-all; }
.acct-nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; color: #33415C; }
.acct-nav-item .ic { width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.acct-nav-item .ic svg { width: 18px; height: 18px; }
.acct-nav-item:hover { background: var(--alt); }
.acct-nav-item.cur { background: #FDF6E7; color: var(--gold-deep); }
.acct-nav-item .badge { margin-left: auto; }
.acct-logout { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); }
.acct-logout-form { margin: 0; }
.acct-logout-form button.acct-nav-item { width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; }
.badge { background: #E8A423; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 1px 8px; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.acct-title { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct-head .acct-title { margin-bottom: 4px; }
.acct-sub { color: var(--muted); font-size: 14px; }
.acct-quick { display: flex; gap: 10px; flex-wrap: wrap; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.acct-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acct-stat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 56px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.acct-stat.gold { background: linear-gradient(135deg, #FFF8E9, #FDF3DC); border-color: #F0DCA8; }
.acct-stat .lbl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.acct-stat .val { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.acct-stat .ic { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 4px; background: var(--alt); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.acct-stat.gold .ic { background: rgba(232, 164, 35, 0.16); }
.acct-stat .ic svg { width: 18px; height: 18px; }
.mini { font-size: 12.5px; }
.mini-link { font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.acct-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.acct-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; min-width: 0; overflow-x: auto; }
.acct-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.acct-panel-head h3 { font-size: 16px; }
.acct-panel-head a { font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.acct-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.acct-empty { color: var(--muted); font-size: 14px; padding: 26px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.acct-empty .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--alt); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; }
.acct-empty .ic svg { width: 22px; height: 22px; }
.acct-empty p { max-width: 420px; line-height: 1.7; }
.acct-ob { background: linear-gradient(135deg, #FFF8E9, #FDF3DC); border: 1px solid #F0DCA8; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.acct-ob-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-ob-head h3 { font-size: 16px; }
.acct-ob-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acct-ob-step { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, 0.65); border: 1px solid #F0DCA8; border-radius: 4px; padding: 12px 14px; }
.acct-ob-step .n { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold-grad); color: #fff; font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.acct-ob-step b { display: block; font-size: 14px; margin-bottom: 2px; }
.acct-ob-step span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.acct-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.acct-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.acct-table tr:last-child td { border-bottom: none; }
.acct-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acct-table .in { color: #1E7A3C; font-weight: 700; }
.acct-table .out { color: #B33A3A; font-weight: 700; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: #EAF7EE; color: #1E7A3C; }
.pill.warn { background: #FDF6E7; color: #8A6A14; }
.pill.bad { background: #FDEEEE; color: #B33A3A; }
.pill.info { background: #EAF0FE; color: #1D4ED8; }
.agent-promo { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: end; }
.agent-promo-label { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.agent-promo-row { display: flex; gap: 8px; align-items: center; }
.agent-promo-code code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-deep);
    background: #FFFBF2;
    border: 1px dashed #E0C070;
    border-radius: 4px;
    padding: 8px 16px;
}
.agent-promo-link input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--muted);
    background: var(--bg);
}
.agent-promo-rate b { font-size: 24px; color: var(--gold-deep); }
/* broker detail: agent promo code + transfer flow */
/* 行动条：推广码 + 说明 + 客服 CTA 一行摆平，流程卡从此独占主栏宽度 */
.bagent-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; background: var(--surface); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px 22px; }
.bagent-label { display: block; color: var(--gold-deep); font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.bagent-bar .agent-promo-row { flex-wrap: wrap; }
.bagent-hint { flex: 1 1 220px; min-width: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }
.bagent-bar-cta { margin-left: auto; }
.bagent-empty { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
.bagent-empty a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; }
.bagent-flow { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.bagent-flow h3 { font-size: 17px; font-weight: 800; margin-bottom: 18px; }
.bagent-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 24px; }
.bagent-steps li { display: flex; gap: 14px; align-items: flex-start; }
.bagent-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #1A1206;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(232, 164, 35, 0.3);
}
.bagent-steps li b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.bagent-steps li p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
@media (max-width: 860px) {
    .bagent-flow { padding: 24px 22px; }
    .bagent-bar { padding: 16px 18px; }
    .bagent-bar-cta { margin-left: 0; }
}
.acct-thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.acct-msg { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--surface); }
.acct-msg.admin { background: #F7F9FE; border-color: #DCE4F5; }
.acct-msg.me { background: #FFFBF2; border-color: #F0DCA8; }
.acct-msg-head { display: flex; justify-content: space-between; margin-bottom: 6px; gap: 10px; }
.acct-msg-head .who { font-weight: 700; font-size: 14px; }
.acct-msg-body { font-size: 14.5px; line-height: 1.7; }
.acct-attach img { max-width: 260px; max-height: 190px; border-radius: 4px; border: 1px solid var(--line); margin-top: 8px; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pager { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pager-item { min-width: 34px; text-align: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13.5px; font-weight: 700; color: #33415C; }
.pager-item.cur { background: var(--gold); border-color: var(--gold); color: #fff; }

@media (max-width: 960px) {
    .auth-wrap { padding: 88px 0 60px; }
    .acct-layout { grid-template-columns: minmax(0, 1fr); padding: 88px 24px 60px; }
    .acct-side { position: static; }
    .acct-nav { flex-direction: row; overflow-x: auto; gap: 4px; }
    .acct-nav-item { white-space: nowrap; padding: 8px 12px; }
    .acct-logout { border-top: none; margin-top: 0; }
    .acct-stats, .acct-stats.three { grid-template-columns: 1fr 1fr; }
    .acct-two-col { grid-template-columns: minmax(0, 1fr); }
    .acct-ob-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .acct-layout { padding: 84px 16px 60px; }
    .acct-stats, .acct-stats.three { grid-template-columns: minmax(0, 1fr); }
    .auth-card { padding: 28px 22px; }
    .acct-panel { padding: 18px 16px; }
    .acct-head { flex-direction: column; align-items: flex-start; }
    .acct-stat { padding: 16px 52px 16px 16px; }
}

/* ---------- home: compare picker ---------- */

.rank-table .rt-check { width: 44px; text-align: center; }
.rank-table .rt-check-cell { text-align: center; }
.cmp-check { display: inline-flex; cursor: pointer; vertical-align: middle; }
.cmp-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #C9D2E0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    display: block;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.cmp-check input:hover { border-color: var(--gold); }
.cmp-check input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.25); }
.cmp-check input:checked { background: var(--gold-grad); border-color: var(--gold-deep); }
.cmp-check input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #1A1206;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.cmp-check input:disabled { opacity: 0.35; cursor: not-allowed; }

.rank-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    background: #fff;
    border: 1px solid #E4E9F2;
    color: #4A5C7A;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}
.rank-count::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.hero .hero-cta { margin-bottom: 16px; }
.hero-trust {
    color: var(--muted-dark);
    font-size: 13.5px;
    margin: 0 0 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-trust::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    background: rgba(232, 164, 35, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A423' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center/10px no-repeat;
}

.cmp-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: calc(100vw - 32px);
    background: var(--bg-dark2);
    border: 1px solid rgba(232, 164, 35, 0.45);
    border-radius: 999px;
    padding: 10px 12px 10px 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%) translateY(140%);
    transition: transform 0.3s ease;
}
.cmp-bar.show { transform: translateX(-50%) translateY(0); }
.cmp-bar-text {
    color: #C6D0E0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cmp-bar-text b { color: var(--gold); font-weight: 700; }
.cmp-bar .btn { flex: none; }
#cmpGo[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- home: rank table mobile cards ---------- */

/* 榜单卡片模式：761-900px 的竖屏平板同样排不下 11 列（要横向滚 340-400px 才看到「操作」列），
   与手机共用卡片布局；其余组件仍按 760px 切换 */
@media (max-width: 900px) {
    .rank-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
    .rank-table, .rank-table.rank-cols-2, .rank-table.rank-cols-3, .rank-table.rank-cols-4, .rank-table.rank-cols-5 { min-width: 0; }
    .rank-table thead { display: none; }
    .rank-table, .rank-table tbody { display: block; }
    .rank-table tbody { display: flex; flex-direction: column; gap: 12px; }
    .rank-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 14px;
        padding: 16px;
        background: var(--surface);
        border: 1px solid #E4E9F2;
        border-radius: var(--radius);
        box-shadow: 0 6px 18px rgba(10, 20, 50, 0.05);
    }
    .rank-table tr.rt-top1 {
        background: linear-gradient(135deg, rgba(246, 210, 122, 0.16), #fff 45%);
        border-color: rgba(217, 142, 31, 0.5);
    }
    .rank-table tr.rt-top1:hover { background: linear-gradient(135deg, rgba(246, 210, 122, 0.2), #fff 45%); }
    .rank-table td { display: block; padding: 0; border: 0; }
    .rank-table td.rt-rank-cell { order: 0; flex: 0 0 auto; min-width: 30px; font-size: 13.5px; color: var(--muted); }
    .rank-table td.rt-check-cell { order: 1; flex: 0 0 auto; margin-left: auto; }
    .rank-table td.rt-broker-td { order: 2; flex: 1 1 100%; min-width: 0; }
    .rt-broker-cell { min-width: 0; }
    .rank-table tr td.td-num, .rank-table tr.rt-top1 td.td-num {
        order: 3;
        flex: 1 1 calc(50% - 8px);
        font-size: 19px;
        background: none;
        width: auto;
    }
    .rank-table td.td-num .td-num-val { font-size: 19px; }
    .rank-table td.td-pct-all { flex: 1 1 100%; }
    .rank-table td.td-pct-all .td-num-val { font-size: 19px; }
    .rank-hint { display: none; }
    .rank-table td.td-num::before {
        content: attr(data-label);
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 2px;
    }
    .rank-table td.rt-deposit, .rank-table td.rt-spread { order: 4; font-size: 13px; color: #4A5C7A; }
    .rank-table td.rt-deposit::before, .rank-table td.rt-spread::before {
        content: attr(data-label) ": ";
        color: var(--muted);
    }
    .rank-table td.rt-action-cell { order: 5; flex: 1 1 100%; display: flex; gap: 10px; }
    .rank-table td.rt-action-cell .btn { flex: 1; width: auto; margin: 0; }
    .rank-table td.rt-action-cell .btn + .btn { margin-left: 0; }
}

@media (max-width: 760px) {
    .cmp-bar { gap: 10px; padding: 8px 10px 8px 18px; bottom: 12px; }
    .cmp-bar-text { font-size: 13px; max-width: 52vw; }
    body.cmp-active .float-contact,
    body.cmp-active .back-top { opacity: 0; pointer-events: none; }
    .cmp-check input { width: 24px; height: 24px; border-radius: 4px; }
    .cmp-check input:checked::after { left: 6px; top: 2px; width: 6px; height: 12px; }
}

/* ---------- home: rank table frozen identity columns ---------- */
/* 只作用于表格横向滚动的视口区间（901-1080px）；≤900px 为卡片模式，宽桌面不滚动 */

@media (min-width: 901px) and (max-width: 1080px) {
    .rank-table .rt-check, .rank-table .rt-check-cell { position: sticky; left: 0; z-index: 3; }
    .rank-table .rt-rank, .rank-table .rt-rank-cell { position: sticky; left: 44px; z-index: 3; }
    .rank-table th:nth-child(3), .rank-table td.rt-broker-td { position: sticky; left: 100px; z-index: 3; }
    .rank-table td.rt-check-cell, .rank-table td.rt-rank-cell, .rank-table td.rt-broker-td { background: var(--surface); }
    .rank-table .rt-check-cell, .rank-table .rt-rank-cell { box-shadow: inset -1px 0 0 var(--line); }
    .rank-table td.rt-broker-td { box-shadow: 8px 0 14px -10px rgba(10, 20, 50, 0.28); }
    .rank-table tr.rt-top1 td.rt-check-cell,
    .rank-table tr.rt-top1 td.rt-rank-cell,
    .rank-table tr.rt-top1 td.rt-broker-td { background: #FCF7EA; }
}

/* ---------- home: quick anchor nav ---------- */

/* 落点偏移 = 吸顶后 header（.site-header.scrolled 64px）+ qnav 条高，预留少量空隙 */
#brokers, #calc, #hotSymbols, #spreadTeaser, #promos, #homeNews, #homeFaq {
    scroll-margin-top: 120px;
}
/* --header-h 定义在 .site-header 上不外泄；吸顶发生时 header 必已收缩为 64px */
.qnav {
    position: sticky;
    top: 64px;
    z-index: 60;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(10, 20, 50, 0.04);
}
.qnav-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.qnav-row::-webkit-scrollbar { display: none; }
.qnav-link {
    flex: none;
    padding: 13px 15px 11px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.qnav-link:hover { color: var(--ink); }
.qnav-link.active { color: var(--gold-deep); border-bottom-color: var(--gold); }
@media (max-width: 640px) {
    .qnav-link { padding: 11px 12px 9px; font-size: 13px; }
}

/* ---------- home: why section ---------- */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: center;
}
.why-head { margin-bottom: 0; }
.why-more {
    color: #4A5C7A;
    font-size: 15px;
    background: var(--alt);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
    margin: 18px 0 22px;
}
.why-feats { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: 1fr; gap: 34px; }
    .why-head { margin-bottom: 0; }
}
@media (max-width: 640px) {
    .why-feats { grid-template-columns: 1fr; }
}

/* ---------- rank table sortable ---------- */

.rank-table th[data-sort] { cursor: pointer; user-select: none; }
.rank-table th[data-sort]:hover { color: var(--gold-deep); }
.rank-table th[data-sort]::after {
    content: "\2195";
    opacity: 0.55;
    position: absolute;
    right: 8px;
    top: 13px;
    font-size: 12px;
}
.rank-table th.sorted-desc::after { content: "\2193"; opacity: 1; color: var(--gold-deep); }
.rank-table th.sorted-asc::after { content: "\2191"; opacity: 1; color: var(--gold-deep); }

/* ---------- calc broker link ---------- */

.calc-open-btn {
    display: table;
    margin: 4px auto 12px;
}
.calc-open-btn[hidden] { display: none; }

.calc-broker-link {
    display: table;
    margin: 0 auto 12px;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
}
.calc-broker-link:hover { color: #F6D27A; }

/* ---------- back to top ---------- */

.back-top {
    position: fixed;
    left: 16px;
    bottom: 22px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    background: rgba(7, 12, 24, 0.82);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, color 0.2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--gold-grad); color: #10192E; border-color: transparent; }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
    .back-top { left: 12px; bottom: 14px; width: 42px; height: 42px; }
}

/* ---------- hero rebate ticker ---------- */

.hero-ticker {
    margin-top: 54px;
    border-top: 1px solid var(--line-dark);
    padding: 15px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: tickerScroll 42s linear infinite;
}
.ticker-item { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.ticker-name { color: #C6D0E0; font-weight: 700; font-size: 14px; }
.ticker-val { color: var(--gold); font-weight: 800; font-size: 14px; }
.ticker-val small { color: var(--muted-dark); font-size: 12px; font-weight: 600; margin-left: 1px; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.hero-ticker:hover .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; flex-wrap: wrap; width: auto; gap: 14px 34px; }
}
@media (max-width: 640px) {
    .hero-ticker { margin-top: 40px; }
    .ticker-track { gap: 26px; }
    .ticker-name, .ticker-val { font-size: 13px; }
}

/* ---------- rank filter chips ---------- */

.rank-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -18px 0 28px; }
.rank-chip {
    font-family: var(--font);
    border: 1px solid #D6DCE8;
    background: #fff;
    color: #4A5C7A;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.rank-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.rank-chip.active {
    background: var(--gold-grad);
    border-color: transparent;
    color: #1A1206;
    box-shadow: 0 8px 20px rgba(232, 164, 35, 0.3);
}

/* ---------- steps cta ---------- */

.steps-cta { margin-top: 18px; }

/* ---------- skip link ---------- */

.skip-link {
    position: fixed;
    top: -52px;
    left: 16px;
    z-index: 200;
    background: var(--gold);
    color: #1A1206;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- rank rebate data bars ---------- */

.rank-table td.td-num { width: 100px; }
.td-num-val {
    display: block;
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
.td-num-bar {
    display: block;
    position: relative;
    height: 4px;
    max-width: 110px;
    margin-top: 6px;
    border-radius: 999px;
    background: #E8EDF5;
    overflow: hidden;
}
.td-num-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--bar, 0%);
    border-radius: 999px;
    background: rgba(232, 164, 35, 0.45);
}
.rank-table td.td-best .td-num-val { color: var(--gold-deep); }
.rank-table td.td-best .td-num-bar::after { background: var(--gold-grad); }

/* ---------- calc quick lots ---------- */

.calc-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.calc-quick-btn {
    font-family: var(--font);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #C6D0E0;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.calc-quick-btn:hover { border-color: var(--gold); color: var(--gold); }
.calc-quick-btn:active { background: rgba(232, 164, 35, 0.18); }

/* ---------- cta actions ---------- */

.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- round 8: home IA + visual system (CSS-only, DOM untouched) ---------- */

/* 首页区块重排：榜单 → 计算器 → 热门品种 → 实时点差 → 三步 → 原理 → 优惠 → 新闻 → FAQ → CTA。
   顺序必须与页首 qnav 的锚点顺序一致，否则点了「热门品种」会往回跳。
   仅在支持 :has() 的浏览器启用 flex 排序，旧浏览器回落 DOM 顺序（仍是合法纵向流）。 */
@supports selector(#main:has(.rank-section)) {
    #main:has(.rank-section) {
        display: flex;
        flex-direction: column;
    }
    #main:has(.rank-section) > * { order: 10; }
    #main:has(.rank-section) > .announce { order: 0; }
    #main:has(.rank-section) > .hero { order: 10; }
    #main:has(.rank-section) > .qnav { order: 15; }
    #main:has(.rank-section) > .rank-section { order: 20; }
    #main:has(.rank-section) > .calc-section { order: 30; }
    #main:has(.rank-section) > #hotSymbols { order: 40; }
    #main:has(.rank-section) > #spreadTeaser { order: 50; }
    #main:has(.rank-section) > #steps { order: 60; }
    #main:has(.rank-section) > #why { order: 70; }
    #main:has(.rank-section) > #promos { order: 80; }
    #main:has(.rank-section) > #homeNews { order: 90; }
    #main:has(.rank-section) > #homeFaq { order: 100; }
    #main:has(.rank-section) > .cta-section { order: 110; }

    /* 区块节奏：浅底与深底交替，避免整页同色平铺 */
    #main:has(.rank-section) > section { padding: 74px 0; }
    #main:has(.rank-section) > .section-compact { padding: 44px 0; }
    #main:has(.rank-section) > #hotSymbols,
    #main:has(.rank-section) > #steps { background: var(--alt); }
    #main:has(.rank-section) > #promos {
        background: linear-gradient(180deg, #FBF8F1 0%, #F6F2E9 100%);
    }
    #main:has(.rank-section) > .rank-section { padding-top: 84px; }

    /* 首屏收紧：跑马灯之后不再留大片空黑 */
    #main:has(.rank-section) > .hero { padding: 150px 0 46px; }

    /* 优惠区在浅底上，浅字幽灵按钮会看不见，换成实底描边样式 */
    #main:has(.rank-section) #promos .btn-ghost {
        border-color: #D6DCE8;
        color: var(--ink);
        background: var(--surface);
    }
    #main:has(.rank-section) #promos .btn-ghost:hover {
        border-color: var(--gold);
        color: var(--gold-deep);
    }

    /* 金色锚点线：每个区块的标题统一带金色短线 */
    #main:has(.rank-section) .section-head h2,
    #main:has(.rank-section) .steps-band-head h2 {
        display: inline-block;
        position: relative;
        padding-bottom: 12px;
    }
    #main:has(.rank-section) .section-head.center h2,
    #main:has(.rank-section) .steps-band-head h2 { padding-bottom: 12px; }
    #main:has(.rank-section) .section-head h2::after,
    #main:has(.rank-section) .steps-band-head h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 46px;
        height: 3px;
        border-radius: 3px;
        background: var(--gold-grad);
    }
    #main:has(.rank-section) .section-head.center h2::after { left: 50%; transform: translateX(-50%); }

    /* 榜单区加浅金底，让主转化区块从页面中跳出 */
    #main:has(.rank-section) > .rank-section {
        background:
            radial-gradient(900px 320px at 15% 0%, rgba(232, 164, 35, 0.09), transparent 60%),
            var(--alt);
    }

    /* 步骤带改为贴底金边卡片，与榜单区呼应 */
    #main:has(.rank-section) .steps-band { border-bottom: 3px solid var(--gold); }

    /* CTA 深色块上下留呼吸，并与上方 FAQ 形成明确分界 */
    #main:has(.rank-section) > .cta-section { padding-bottom: 92px; }
    #main:has(.rank-section) .cta-banner {
        border: 1px solid rgba(232, 164, 35, 0.28);
        box-shadow: 0 30px 70px -40px rgba(7, 12, 24, 0.65);
    }

    @media (max-width: 1024px) {
        #main:has(.rank-section) > section { padding: 56px 0; }
        #main:has(.rank-section) > .section-compact { padding: 36px 0; }
        #main:has(.rank-section) > .rank-section { padding-top: 60px; }
        #main:has(.rank-section) > .cta-section { padding-bottom: 64px; }
        #main:has(.rank-section) > .hero { padding: 118px 0 40px; }
    }
    @media (max-width: 640px) {
        #main:has(.rank-section) > section { padding: 42px 0; }
        #main:has(.rank-section) > .section-compact { padding: 30px 0; }
        #main:has(.rank-section) > .rank-section { padding-top: 44px; }
        #main:has(.rank-section) > .hero { padding: 92px 0 32px; }
        #main:has(.rank-section) .section-head h2,
        #main:has(.rank-section) .steps-band-head h2 { padding-bottom: 10px; }
        #main:has(.rank-section) .section-head h2::after,
        #main:has(.rank-section) .steps-band-head h2::after { height: 2px; width: 38px; }
    }
}

/* ---------- FAQ 分组与锚点导航 ---------- */

.faq-nav {
    position: sticky;
    top: 82px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}
.faq-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.faq-nav-link:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(232, 164, 35, 0.08); }
.faq-nav-n { font-size: 12px; color: var(--muted); }
.faq-group { scroll-margin-top: 168px; }
.faq-group + .faq-group { margin-top: 38px; }
.faq-group-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--gold);
}
@media (max-width: 760px) {
    .faq-nav { top: 74px; gap: 8px; margin-bottom: 20px; }
    .faq-nav-link { font-size: 13px; padding: 5px 11px; }
    .faq-group { scroll-margin-top: 148px; }
}

/* ---------- 键盘焦点可见性 ---------- */

:where(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.header-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.28);
}
.search-big input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.22);
}

/* ---------- 经纪商两两对比入口 ---------- */
.compare-pairs { display: flex; flex-wrap: wrap; gap: 10px; }
.compare-pairs .tag { transition: all .2s; font-size: 13px; padding: 7px 14px; }
.compare-pairs .tag:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.compare-pairs .tag-more { background: transparent; border-style: dashed; color: var(--muted); }
#compare-pairs { scroll-margin-top: 96px; }
.vs-detail { display: inline-block; margin-top: 12px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.vs-detail:hover { color: var(--gold-deep); }

/* ---------- 专题指南 ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.topic-broker-tag {
    align-self: flex-start;
    background: var(--alt);
    border: 1px solid var(--line);
    color: #4A5C7A;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.topic-card-title { font-size: 18px; line-height: 1.45; }
.topic-card-title a:hover { color: var(--gold-deep); }
.topic-card-sub {
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.topic-card .news-more { margin-top: auto; }
.topic-strip { margin-bottom: 34px; }
.home-topic-strip { margin: 40px 0 0; }
.section-alt .compare-pairs .tag { background: var(--surface); }
.topic-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.topic-strip-head .block-title { margin: 0; }
@media (max-width: 980px) {
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .topic-grid { grid-template-columns: 1fr; }
}

/* ---------- topic page: 统一「怎么领」步骤块 ---------- */

.topic-steps {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px;
    margin-bottom: 52px;
}
.topic-steps .block-title { margin-bottom: 22px; }
.topic-step-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.topic-step-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; line-height: 1.7; }
.topic-step-n {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #1A1206;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topic-step-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.topic-step-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
    .topic-steps { padding: 22px 20px; }
}

/* ---------- featured broker tag ---------- */

.feat-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border: 1px solid rgba(217, 142, 31, 0.55);
    border-radius: 999px;
    background: rgba(232, 164, 35, 0.12);
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}
.feat-tag-lg {
    padding: 4px 12px;
    font-size: 12.5px;
    background: rgba(232, 164, 35, 0.16);
    border-color: rgba(246, 210, 122, 0.6);
    color: var(--gold);
}

/* ---------- hero refine: badge, keyword highlight, stat fit, top-card accent ---------- */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    padding: 7px 15px;
    border: 1px solid rgba(232, 164, 35, 0.34);
    border-radius: 999px;
    background: rgba(232, 164, 35, 0.10);
    color: #F1CC84;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1.4;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 164, 35, 0.2);
}
.hero-hl {
    background: linear-gradient(112deg, #F8DFA6, #E8A423 55%, #D68E1F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 首栏金额最长，等宽列会把 "+" 挤出渐变文字盒被裁掉 */
@media (min-width: 1141px) {
    .hero-stats { grid-template-columns: 1.18fr 1fr 1fr 1fr; gap: 16px; }
    .stat-num { font-size: clamp(20px, 2.05vw, 25px); letter-spacing: -0.3px; }
}
/* 渐变文字只在自身盒子内着色，让盒子跟随数字伸缩，后台调大金额也不会再裁掉后缀 */
.stat-num { width: max-content; }

.hero-top { position: relative; }
.hero-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 164, 35, 0.7), transparent);
}
.hero-top-list li:first-child a {
    background: linear-gradient(90deg, rgba(232, 164, 35, 0.11), rgba(232, 164, 35, 0) 68%);
}
.hero-top-list li:first-child a:hover {
    background: linear-gradient(90deg, rgba(232, 164, 35, 0.17), rgba(255, 255, 255, 0.05) 68%);
}

/* 首页热门品种内链 chips */
.sym-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.sym-chip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 15px 16px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sym-chip:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.sym-chip-top {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.sym-chip-ic {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(232, 164, 35, .12);
    color: var(--gold-deep);
    display: grid;
    place-items: center;
}
.sym-chip-ic svg { width: 21px; height: 21px; }
.sym-chip-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sym-chip-name {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sym-chip-code { color: var(--muted); font-size: 12px; letter-spacing: .5px; }
.sym-chip-rate {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
}
.sym-chip-num {
    color: var(--gold-deep);
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.sym-chip-unit { color: var(--muted); font-size: 12px; white-space: nowrap; }
.sym-chip-broker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    min-width: 0;
}
.sym-chip-logo {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
    padding: 2px;
    flex-shrink: 0;
}
.sym-chip-logo-txt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    padding: 0;
}
.sym-chip-bname {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sym-chip-best {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--gold-deep);
    background: rgba(232, 164, 35, .12);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .sym-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sym-chip { padding: 9px; gap: 8px; }
    .sym-chip-top { gap: 6px; }
    .sym-chip-ic { width: 28px; height: 28px; border-radius: 7px; }
    .sym-chip-ic svg { width: 16px; height: 16px; }
    .sym-chip-name { font-size: 13px; }
    .sym-chip-code { font-size: 10.5px; }
    .sym-chip-num { font-size: 17px; }
    .sym-chip-unit { font-size: 10px; }
    .sym-chip-bname { font-size: 12px; }
    .sym-chip-best { padding: 2px 6px; font-size: 10px; }
    .sym-chip-logo { width: 22px; height: 22px; }
}

/* 首页实时点差引流条 */
.spread-teaser {
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.spread-teaser-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-bottom: 12px;
}
.spread-teaser-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}
.spread-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22b573;
    animation: spreadPulse 2s infinite;
}
@keyframes spreadPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 181, 115, .45); }
    70% { box-shadow: 0 0 0 7px rgba(34, 181, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 181, 115, 0); }
}
.spread-teaser-upd { color: var(--muted); font-size: 12.5px; }
.spread-teaser-upd time { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.spread-teaser-more {
    margin-left: auto;
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 0;
}
.spread-teaser-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 10px;
}
.spread-teaser-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.spread-teaser-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.st-names { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.st-name {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-code { color: var(--muted); font-size: 12px; letter-spacing: .4px; flex-shrink: 0; }
.st-val {
    color: var(--gold-deep);
    font-size: 17px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}
.st-val i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.st-platform {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spread-closed-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    color: var(--gold-deep);
    background: rgba(232, 164, 35, .12);
    border: 1px solid rgba(232, 164, 35, .4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}
.spread-teaser.is-closed .spread-teaser-head { margin-bottom: 8px; }
.spread-teaser-closed {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}
@media (max-width: 640px) {
    .spread-teaser { padding: 12px; }
    .spread-teaser-head { gap: 2px 10px; margin-bottom: 10px; }
    .spread-teaser-more { margin-left: 0; flex-basis: 100%; }
    .spread-teaser-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .spread-teaser-item { padding: 9px 10px; }
    .st-val { font-size: 15px; }
    .spread-teaser-closed { font-size: 12.5px; }
}

/* ---------- 实时点差页 ---------- */
.spread-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.spread-updated { color: var(--muted); font-size: 14px; }
.spread-updated time { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.spread-note { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.spread-note::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22A06B;
    box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.18);
    animation: spread-pulse 2s ease-in-out infinite;
}
@keyframes spread-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.spread-closed {
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(232, 164, 35, 0.4);
    background: rgba(232, 164, 35, 0.08);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 14px;
}
.spread-stale {
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(220, 90, 60, 0.35);
    background: rgba(220, 90, 60, 0.08);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 13.5px;
}
.spread-platform { margin-bottom: 28px; scroll-margin-top: 90px; }
.spread-platform-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    flex-wrap: wrap;
}
.spread-broker-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold-deep);
    white-space: nowrap;
}
.spread-broker-link:hover { text-decoration: underline; }
.spread-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.spread-jump-link {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color .15s, color .15s, background .15s;
}
.spread-jump-link:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
    background: rgba(232, 164, 35, 0.08);
    text-decoration: none;
}
@keyframes spread-flash {
    0% { background: rgba(232, 164, 35, 0.22); }
    100% { background: transparent; }
}
.spread-table tbody tr.row-flash { animation: spread-flash 1.1s ease-out; }
.spread-faq { margin-top: 34px; }
.spread-faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 19px;
    color: var(--ink);
}
.spread-faq-title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--gold-grad);
}
.spread-platform-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 19px;
    color: var(--ink);
}
.spread-platform-name::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--gold-grad);
}
.spread-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.spread-table th {
    padding: 11px 12px;
    text-align: left;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    background: var(--alt);
}
.spread-table th.num, .spread-table td.num { text-align: right; }
.spread-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
    vertical-align: middle;
}
.spread-table tbody tr { transition: background .15s; }
.spread-table tbody tr:hover { background: var(--alt); }
.spread-table tr.is-dim td { color: var(--muted); }
.spread-sym { font-weight: 600; white-space: nowrap; }
.spread-px { font-variant-numeric: tabular-nums; white-space: nowrap; }
.spread-val { font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.spread-unit { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 2px; }
.spread-n { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.spread-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spread-st {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.spread-st.st-live { color: #157A50; background: rgba(34, 160, 107, 0.12); }
.spread-st.st-closed { color: #A9700C; background: rgba(232, 164, 35, 0.14); }
.spread-st.st-offline { color: #B3372F; background: rgba(179, 55, 47, 0.10); }
.spread-source {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.7;
}
@media (max-width: 640px) {
    .spread-table { min-width: 860px; }
    .spread-table th, .spread-table td { padding: 9px 10px; }
}
.spread-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--gold-deep);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}
.spread-more:hover { text-decoration: underline; }
.spread-block-title { margin: 20px 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
/* 详情页点差明细折叠行：矩阵为主表，深统计明细点开才展开 */
.spread-detail { margin-top: 14px; }
.spread-detail summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; padding: 11px 14px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; font-weight: 700; color: var(--ink); transition: border-color 0.2s; }
.spread-detail summary::-webkit-details-marker { display: none; }
.spread-detail summary:hover { border-color: var(--gold-line); }
.spread-detail summary .arr { color: var(--gold-deep); transition: transform 0.2s; }
.spread-detail[open] summary { margin-bottom: 12px; }
.spread-detail[open] summary .arr { transform: rotate(90deg); }
.spread-table.spread-matrix { min-width: 0; }
.spread-table.spread-matrix td.spread-val { white-space: nowrap; }
.spread-table.spread-matrix td.spread-val.is-best { background: rgba(232, 164, 35, 0.10); }
/* 手机端矩阵首列冻结：横滚时品种列保持可见（画法同首页 rank-table 冻结列） */
@media (max-width: 760px) {
    .spread-table.spread-matrix th:first-child { position: sticky; left: 0; z-index: 4; background: var(--alt); box-shadow: inset -1px 0 0 var(--line); }
    .spread-table.spread-matrix td:first-child { position: sticky; left: 0; z-index: 3; background: var(--surface); box-shadow: inset -1px 0 0 var(--line); }
    .spread-table.spread-matrix tbody tr:hover td:first-child { background: var(--alt); }
}
.best-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    background: var(--gold-deep);
    vertical-align: 1px;
}

/* ---------- broker hero risk + guides icon ---------- */
.bhero-risk { position: relative; color: rgba(34, 24, 6, 0.6); font-size: 12px; margin-top: 12px; line-height: 1.6; }
.dl-risk { color: var(--muted); font-size: 12.5px; margin-top: 14px; line-height: 1.6; }
.topic-ic { display: inline-flex; width: 22px; height: 22px; color: var(--gold-deep); margin-bottom: 6px; }
.topic-ic svg { width: 100%; height: 100%; }

/* ---------- anchor scroll spy ---------- */
.anchor-links a.cur { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold-deep); }

/* ---------- broker trust section: about fold ---------- */
.bagent-extra { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 14px; }
/* 已有账户转户：从 {slug}-transfer-guide 专题解析出的两种挂靠方式卡 + 客服确认警示（替换右列通用 4 步） */
.bagent-transfer-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bagent-transfer-head h3 { margin: 0; }
.bagent-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.bagent-method { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.bagent-method h4 { margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.bagent-method ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.bagent-method ol a { color: var(--gold-deep); font-weight: 600; }
.bagent-method ol strong { color: var(--gold-deep); }
.bagent-warn { margin: 12px 0 0; padding: 10px 14px; background: var(--gold-tint); border: 1px solid var(--gold-line); border-radius: var(--radius); color: var(--ink); font-size: 13.5px; line-height: 1.7; }
.about-fold { margin-top: 10px; }
.about-fold summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--gold-deep); padding: 8px 14px; border: 1px solid rgba(232, 164, 35, 0.35); border-radius: 10px; transition: border-color 0.2s; }
.about-fold summary::-webkit-details-marker { display: none; }
.about-fold summary:hover { border-color: rgba(232, 164, 35, 0.6); }
.about-fold summary::after { content: '↓'; font-size: 12px; transition: transform 0.2s; }
.about-fold[open] summary::after { transform: rotate(180deg); }
.about-fold[open] summary { margin-bottom: 12px; }
.about-lead { margin-bottom: 8px; }
