: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%);
    --navy: #0A1F44;
    --radius: 18px;
    --radius-sm: 12px;
    --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, 162, 35, 0.35);
}
.btn-gold:hover { box-shadow: 0 16px 36px rgba(232, 162, 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: 28px;
    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: 4px;
    margin-left: auto;
}
.nav-link {
    color: #C6D0E0;
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 8px;
    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: 14.5px;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 8px;
    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: 8px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
}
.drop-item:hover { background: var(--alt); }
.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: 6px; flex-shrink: 0; }
.lang-switch summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #C6D0E0;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    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: 8px;
    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: 10px; white-space: nowrap; flex-shrink: 0; }
.header-search { flex-shrink: 1; min-width: 0; }

.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, 162, 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, 162, 35, 0.35);
    border-radius: 22px;
    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, 162, 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: 12px;
    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: 10px; background: #fff; border-color: var(--line-dark); }
.ht-rank {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(232, 162, 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, 162, 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: 11.5px; 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, 162, 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, 162, 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: 10px;
    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: 16px; 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; }
.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, 162, 35, 0.08));
    border: 1px dashed rgba(216, 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, 162, 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: 24px;
    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 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, 162, 35, 0.18);
}
.calc-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}
.calc-result-item {
    background: rgba(232, 162, 35, 0.08);
    border: 1px solid rgba(232, 162, 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; }

/* ---------- 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, 162, 35, 0.5); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.2), rgba(232, 162, 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, 162, 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); }

/* ---------- 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; }

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

.cta-section { padding-top: 0; }
.cta-banner {
    background:
        radial-gradient(520px 260px at 88% 20%, rgba(232, 162, 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: 26px;
    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); }
.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; }
.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, 162, 35, 0.05)); }
.tag-best {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    vertical-align: 1px;
    white-space: nowrap;
}

/* ---------- 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; }
.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, 162, 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; }

/* ---------- 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; }
.broker-hero-rebate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 20px;
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.16), rgba(232, 162, 35, 0.07));
    border: 1px dashed rgba(216, 142, 31, 0.5);
    border-radius: var(--radius-sm);
}
.broker-hero-rebate-label { color: #8A6210; font-size: 13px; font-weight: 700; }
.broker-hero-rebate-num { font-size: 30px; font-weight: 800; color: var(--gold-deep); line-height: 1.1; }
.broker-hero-rebate-num small { font-size: 13px; font-weight: 600; margin-left: 2px; }
.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: 52px; }
.block-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.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;
}
.reg-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(232, 164, 35, 0.12);
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}
.reg-badge svg { width: 16px; height: 16px; }
.reg-text { margin: 0; font-size: 13.5px; line-height: 1.7; color: #33415C; font-weight: 600; }
.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: 14px;
    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: 10px;
    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: 148px 0 60px;
}
.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: 56px;
    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: 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: #AEB8CF; font-size: 14px; }
.bhero-tagline { color: #B9C2D8; font-size: 16px; line-height: 1.75; margin-top: 18px; max-width: 560px; }
.bhero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; row-gap: 22px; }
.bhero-stat { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.bhero-stat:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.bhero-stat span { display: block; font-size: 12px; color: #8C97AF; letter-spacing: 0.5px; margin-bottom: 5px; }
.bhero-stat b { font-size: 17px; color: #fff; font-weight: 700; }
.bhero-offer {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    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;
}
.bhero-offer-num small { font-size: 17px; font-weight: 700; color: rgba(29, 20, 4, 0.75); }
.bhero-offer-actions { position: relative; display: flex; flex-direction: column; gap: 10px; }
.bhero-offer-actions .btn { width: 100%; justify-content: center; }
.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; 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); }
.anchor-cta { flex-shrink: 0; }

.bd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
    align-items: start;
}
.bd-section { margin-bottom: 48px; scroll-margin-top: 130px; }
.bd-section:last-child { margin-bottom: 0; }
.bd-side { position: relative; }
.side-card {
    position: sticky;
    top: 140px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}
.side-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.side-name { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.side-facts { list-style: none; margin: 6px 0 0; padding: 0; }
.side-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
}
.side-facts li span { color: var(--muted); flex-shrink: 0; }
.side-facts li b { text-align: right; }
.side-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.side-actions .btn { width: 100%; justify-content: center; }
.side-note { color: var(--muted); font-size: 12px; margin-top: 12px; line-height: 1.6; }
.side-offer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFE7B0 0%, #F3BC4E 100%);
    color: #221806;
}
.side-offer span { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.side-offer b { font-size: 26px; font-weight: 800; line-height: 1; color: #1D1404; }
.side-offer b small { font-size: 13px; font-weight: 700; }
.side-site { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.side-site:hover { text-decoration: underline; }
.bd-steps { padding-top: 0; }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rules-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}
.rules-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    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; }
.rules-card h3 { font-size: 15px; margin-bottom: 4px; }
.rules-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.faq-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
@media (max-width: 640px) {
    .rules-grid { grid-template-columns: 1fr; }
    .reg-grid { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .bhero-grid { grid-template-columns: 1fr; gap: 32px; }
    .bd-layout { grid-template-columns: minmax(0, 1fr); }
    .bd-side { display: none; }
    .anchor-cta { display: none; }
    .anchor-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .bhero { padding: 120px 0 44px; }
    .bhero-name { font-size: 27px; }
    .bhero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
    .bhero-stat { padding: 0; border-left: 0; }
    .bhero-offer-num { font-size: 42px; }
    .bd-section { margin-bottom: 40px; }
}

/* ---------- 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; }
.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; }

.post-meta {
    display: flex;
    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; }

/* ---------- 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, 162, 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, 162, 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, 162, 35, 0.05));
    border: 1px solid rgba(216, 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: 12px;
    background: linear-gradient(135deg, rgba(246, 210, 122, .25), rgba(232, 162, 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, 162, 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: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; }
.footer-col a { font-size: 14px; 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; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- reveal animation ---------- */

html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .promo-soon { animation: none; }
    html { scroll-behavior: auto; }
}

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

@media (max-width: 1360px) {
    .header-inner { gap: 20px; }
    .nav { gap: 2px; }
    .nav-link, .nav-drop summary { padding: 8px 10px; }
    .header-search { margin: 0 4px; }
    .header-search input { width: 84px; }
    .header-search input:focus { width: 130px; }
}

@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: 1140px) {
    .nav-toggle { display: flex; }
    .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: 10px; }
    .nav-drop summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 10px;
        font-size: 15.5px;
        border-radius: 10px;
    }
    .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-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; }
    .broker-hero-rebate { width: 100%; flex-direction: row; align-items: baseline; gap: 10px; }
    .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; }

.vs-rebates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}
.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; }
    .vs-rebates { grid-template-columns: 1fr; }
}

/* ---------- 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: 6px 12px;
    margin: 0 8px;
}
.header-search svg { width: 15px; height: 15px; opacity: 0.7; flex: none; }
.header-search input {
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    width: 110px;
    font-size: 13.5px;
    font-family: var(--font);
    transition: width 0.25s;
}
.header-search input:focus { width: 168px; }
.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, 162, 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: 22px;
    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: 11.5px;
    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: 1140px) {
    .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: 14px; }
    .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-row { display: flex; gap: 16px; margin-top: 10px; }
.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: 15.5px; 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: 10px; margin-bottom: 10px; }
.features-grid.compact .feature-icon svg { width: 18px; height: 18px; }
.features-grid.compact .feature-card h3 { font-size: 14.5px; 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; }
}

/* ---------- 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: 10px; 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: 20px; 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-3 { min-width: 900px; }
.rank-table.rank-cols-2 { min-width: 840px; }
.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], .rank-table th.rt-deposit, .rank-table th.rt-spread {
    white-space: normal;
    max-width: 118px;
    line-height: 1.35;
}
.rank-table th[data-sort] { max-width: none; position: relative; padding-right: 24px; }
.rank-table .th-main { display: block; }
.rank-table .th-unit {
    display: block;
    white-space: nowrap;
    margin-top: 2px;
    font-size: 11px;
    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: 25%; }
.rank-table th.rt-deposit { width: 10%; }
.rank-table th.rt-spread { width: 11%; }
.rank-table th.rt-action { width: 19%; text-align: center; }
.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, 162, 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, 162, 35, 0.03) 60%); }
tr.rt-top1:hover { background: linear-gradient(90deg, rgba(246, 210, 122, 0.2), rgba(232, 162, 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: 10px; }
.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); }
.rt-action-cell { white-space: nowrap; text-align: center; }
.rt-action-cell .btn { padding: 8px 9px; font-size: 12px; }
.rt-action-cell .btn + .btn { margin-left: 8px; }
.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: 18px; }
    .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: 12px; 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); }
.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: 8px; 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-links { text-align: right; margin-top: -4px; }
.auth-links a { font-size: 13.5px; color: var(--muted); }
.auth-links a:hover { color: var(--gold-deep); }
.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, 162, 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); }
.badge { background: #E8A423; color: #fff; border-radius: 999px; font-size: 11.5px; 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: 10px; 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: 10px; 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: 10px;
    padding: 8px 16px;
}
.agent-promo-link input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    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 */
.bagent-grid { display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.35fr; gap: 20px; align-items: start; }
.bagent-code-card {
    background: linear-gradient(135deg, rgba(246, 210, 122, 0.16), rgba(232, 162, 35, 0.05));
    border: 1px solid rgba(216, 142, 31, 0.35);
    border-radius: var(--radius);
    padding: 26px 28px;
}
.bagent-label { display: block; color: var(--gold-deep); font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.bagent-code-card .agent-promo-row { flex-wrap: wrap; }
.bagent-hint { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 14px 0 0; }
.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 { 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: flex; flex-direction: column; gap: 16px; }
.bagent-steps li { display: flex; gap: 16px; 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, 162, 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-grid { grid-template-columns: 1fr; }
    .bagent-flow { padding: 24px 22px; }
}
.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: 8px; 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: 8px; 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: 6px;
    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, 162, 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, 162, 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, 162, 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 ---------- */

@media (max-width: 760px) {
    .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 { 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(216, 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-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; }
    .rank-table td.rt-action-cell .btn + .btn { margin-left: 0; }
    .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: 7px; }
    .cmp-check input:checked::after { left: 6px; top: 2px; width: 6px; height: 12px; }
}

/* ---------- 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: 11px;
}
.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: 11.5px; 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, 162, 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 10px 10px;
    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, 162, 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, 162, 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。
   仅在支持 :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) > .rank-section { order: 20; }
    #main:has(.rank-section) > .calc-section { order: 30; }
    #main:has(.rank-section) > #steps { order: 40; }
    #main:has(.rank-section) > #why { order: 50; }
    #main:has(.rank-section) > #promos { order: 60; }
    #main:has(.rank-section) > #homeNews { order: 70; }
    #main:has(.rank-section) > #homeFaq { order: 80; }
    #main:has(.rank-section) > .cta-section { order: 90; }

    /* 区块节奏：浅底与深底交替，避免整页同色平铺 */
    #main:has(.rank-section) > section { padding: 74px 0; }
    #main:has(.rank-section) > .section-compact { padding: 44px 0; }
    #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, 162, 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, 162, 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, 162, 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, 162, 35, 0.28);
}
.search-big input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 162, 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; }
}

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

.feat-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border: 1px solid rgba(216, 142, 31, 0.55);
    border-radius: 999px;
    background: rgba(232, 162, 35, 0.12);
    color: var(--gold-deep);
    font-size: 11px;
    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, 162, 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, 162, 35, 0.34);
    border-radius: 999px;
    background: rgba(232, 162, 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, 162, 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, 162, 35, 0.7), transparent);
}
.hero-top-list li:first-child a {
    background: linear-gradient(90deg, rgba(232, 162, 35, 0.11), rgba(232, 162, 35, 0) 68%);
}
.hero-top-list li:first-child a:hover {
    background: linear-gradient(90deg, rgba(232, 162, 35, 0.17), rgba(255, 255, 255, 0.05) 68%);
}
