/* ═══════════════════════════════════════
   汇合作 FX Rebate — 全局样式
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  --ink:        #0d1117;
  --ink-2:      #1e2d3d;
  --ink-muted:  #556070;
  --ink-faint:  #8a96a3;
  --ink-ghost:  #bcc5ce;
  --gold:       #c9933a;
  --gold-light: #e8b95a;
  --gold-pale:  #fdf4e7;
  --gold-mid:   #f5e0b0;
  --gold-dim:   #92660a;
  --surface:    #f7f9fc;
  --surface-2:  #eef2f7;
  --surface-3:  #e4eaf2;
  --white:      #ffffff;
  --border:     rgba(13,17,23,.07);
  --border-2:   rgba(13,17,23,.12);
  --border-3:   rgba(13,17,23,.20);
  --green:      #16a34a;
  --green-pale: #dcfce7;
  --green-mid:  #bbf7d0;
  --blue:       #1d4ed8;
  --blue-pale:  #dbeafe;
  --red:        #dc2626;
  --red-pale:   #fee2e2;
  --amber:      #d97706;
  --amber-pale: #fef3c7;
  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --sh:    0 4px 20px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04);
  --sh-lg: 0 20px 56px rgba(0,0,0,.10),0 4px 14px rgba(0,0,0,.05);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',system-ui,sans-serif; background:var(--surface); color:var(--ink); font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; }
input,select,textarea { font-family:inherit; }
img { max-width:100%; }

/* ── LAYOUT ── */
.page-wrap { min-height:calc(100vh - 64px); }
.container { max-width:1280px; margin:0 auto; padding:0 40px; }

/* ── HEADER ── */
.site-header { position:sticky; top:0; z-index:200; background:rgba(255,255,255,.92); backdrop-filter:blur(24px); border-bottom:1px solid var(--border-2); }
.site-header-inner { max-width:1280px; margin:0 auto; padding:0 40px; height:64px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.site-logo { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.logo-zh { font-family:'Noto Serif SC',serif; font-size:20px; font-weight:700; color:var(--ink); }
.logo-dot { width:6px; height:6px; background:var(--gold); border-radius:50%; display:inline-block; margin:0 1px 3px; }
.logo-en { font-size:11px; font-weight:500; color:var(--gold); letter-spacing:.12em; text-transform:uppercase; }
.site-nav { display:flex; align-items:center; gap:2px; flex:1; justify-content:center; }
.nav-link { padding:6px 14px; border-radius:8px; font-size:14px; font-weight:500; color:var(--ink-muted); transition:all .15s; white-space:nowrap; }
.nav-link:hover,.nav-link.active { color:var(--ink); background:var(--surface-2); }
.nav-link.active { font-weight:600; }
.site-header-cta { display:flex; gap:10px; flex-shrink:0; align-items:center; }

/* ── MOBILE MENU ── */
.mobile-menu-btn { display:none; flex-direction:column; justify-content:center; gap:5px; background:none; border:none; padding:8px; width:40px; height:40px; }
.mobile-menu-btn span { display:block; width:22px; height:2px; background:var(--ink); border-radius:2px; transition:all .25s; }
.mobile-menu-btn.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity:0; }
.mobile-menu-btn.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.mobile-nav { display:none; position:fixed; top:56px; left:0; right:0; background:var(--white); border-bottom:2px solid var(--border-2); box-shadow:0 12px 32px rgba(0,0,0,.12); z-index:199; }
.mobile-nav.open { display:block; }
.mobile-nav-inner { padding:8px 20px 24px; }
.mobile-nav-link { display:flex; align-items:center; padding:14px 8px; font-size:16px; font-weight:500; color:var(--ink-muted); border-bottom:1px solid var(--border); }
.mobile-nav-link.active { color:var(--ink); font-weight:700; }
.mobile-nav-link.highlight { color:var(--gold-dim); font-weight:700; }
.mobile-nav-divider { height:1px; background:var(--border-2); margin:4px 0; }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 20px; border-radius:var(--r); font-size:13px; font-weight:600; border:none; cursor:pointer; transition:all .18s; white-space:nowrap; }
.btn-primary { background:var(--ink); color:#fff; }
.btn-primary:hover { background:var(--ink-2); transform:translateY(-1px); box-shadow:0 4px 14px rgba(13,17,23,.28); }
.btn-gold { background:var(--gold); color:#fff; }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-1px); }
.btn-ghost { background:transparent; color:var(--ink-muted); border:1px solid var(--border-2); }
.btn-ghost:hover { color:var(--ink); border-color:var(--border-3); background:var(--surface-2); }
.btn-sm { padding:6px 14px; font-size:12px; }
.btn-lg { padding:13px 28px; font-size:15px; }

/* ── TAGS & BADGES ── */
.tag { padding:2px 9px; border-radius:100px; font-size:10px; font-weight:700; letter-spacing:.04em; white-space:nowrap; }
.tag-reg  { background:var(--blue-pale); color:#1e40af; }
.tag-type { background:var(--surface-3); color:var(--ink-muted); }
.tag-hot  { background:var(--red-pale);  color:#991b1b; }
.tag-gold { background:var(--gold-pale); color:var(--gold-dim); }
.badge { display:inline-flex; align-items:center; padding:3px 9px; border-radius:100px; font-size:11px; font-weight:600; }
.badge-green { background:var(--green-pale); color:#166534; }
.badge-gold  { background:var(--gold-pale);  color:var(--gold-dim); }
.badge-blue  { background:var(--blue-pale);  color:#1e40af; }
.badge-red   { background:var(--red-pale);   color:#991b1b; }
.badge-gray  { background:var(--surface-3);  color:var(--ink-muted); }

/* ── SECTION LABELS ── */
.eyebrow { font-size:11px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.1em; }
.section-title { font-family:'Noto Serif SC',serif; font-size:28px; font-weight:700; color:var(--ink); }

/* ── FORM ── */
.form-input,.form-select,.form-textarea { width:100%; padding:9px 14px; border:1px solid var(--border-2); border-radius:var(--r); background:var(--white); font-size:14px; color:var(--ink); outline:none; transition:border-color .15s; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--ink); box-shadow:0 0 0 3px rgba(13,17,23,.06); }
.form-textarea { resize:vertical; min-height:100px; }
.form-label { font-size:12px; font-weight:600; color:var(--ink-muted); margin-bottom:6px; display:block; text-transform:uppercase; letter-spacing:.05em; }
.form-group { margin-bottom:18px; }

/* ── FLOOR SECTIONS ── */
.floor-section { padding:56px 0; }
.floor-section.gray { background:var(--surface-2); }
.floor-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px; }
.floor-title-group { display:flex; flex-direction:column; gap:6px; }
.floor-link { font-size:13px; font-weight:500; color:var(--ink-muted); display:flex; align-items:center; gap:4px; transition:color .14s; }
.floor-link::after { content:'→'; }
.floor-link:hover { color:var(--ink); }

/* ── BROKER CARD ── */
.broker-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.bcard { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; cursor:pointer; transition:all .2s; position:relative; }
.bcard:hover { box-shadow:var(--sh); border-color:var(--border-2); transform:translateY(-2px); }
.bcard.featured::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--gold),var(--gold-light),var(--gold)); }
.bcard-top { padding:20px 20px 0; display:flex; align-items:flex-start; gap:12px; }
.bcard-logo { width:52px; height:52px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; color:#fff; flex-shrink:0; overflow:hidden; }
.bcard-logo img { width:100%; height:100%; object-fit:contain; padding:6px; }
.bcard-logo.has-logo { background:var(--white) !important; border:1.5px solid var(--border-2); }
.bcard-name { font-size:15px; font-weight:700; color:var(--ink); margin-bottom:5px; }
.bcard-tags { display:flex; gap:4px; flex-wrap:wrap; }
.bcard-verified { flex-shrink:0; display:flex; align-items:center; font-size:11px; color:var(--green); font-weight:600; background:var(--green-pale); padding:3px 8px; border-radius:100px; }
.bcard-rebate-block { margin:16px 20px 0; padding:16px 18px; background:var(--surface); border:1px solid var(--border); border-radius:11px; display:flex; align-items:center; justify-content:space-between; }
.rebate-big { font-family:'DM Mono',monospace; font-size:30px; font-weight:500; color:var(--green); letter-spacing:-.03em; line-height:1; }
.rebate-big-unit { font-size:14px; color:var(--ink-muted); }
.rebate-label-sm { font-size:10px; font-weight:600; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; }
.period-pill { padding:4px 11px; border-radius:100px; font-size:11px; font-weight:700; background:var(--green-mid); color:#15803d; }
.bcard-stats { display:grid; grid-template-columns:repeat(3,1fr); margin:14px 20px 0; border:1px solid var(--border); border-radius:9px; overflow:hidden; }
.bstat { padding:11px 8px; text-align:center; border-right:1px solid var(--border); }
.bstat:last-child { border-right:none; }
.bstat-l { font-size:10px; font-weight:600; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:3px; }
.bstat-v { font-size:13px; font-weight:700; color:var(--ink); font-family:'DM Mono',monospace; }
.bcard-footer { padding:14px 20px 18px; display:flex; gap:10px; }
.bcard-btn-main { flex:1; padding:9px; background:var(--ink); color:#fff; font-size:13px; font-weight:600; border:none; border-radius:var(--r); cursor:pointer; transition:background .14s; text-align:center; }
.bcard-btn-main:hover { background:var(--ink-2); }
.bcard-btn-ghost { padding:9px 14px; background:transparent; color:var(--ink-muted); font-size:13px; border:1px solid var(--border-2); border-radius:var(--r); cursor:pointer; transition:all .14s; }
.bcard-btn-ghost:hover { color:var(--ink); border-color:var(--border-3); }

/* ── COLOR CLASSES ── */
.c1{background:#0a1628} .c2{background:#14345a} .c3{background:#1e3a22}
.c4{background:#3a1a10} .c5{background:#1a1f3a} .c6{background:#222e22}
.c7{background:#3a2010} .c8{background:#102a3a} .c9{background:#2a1a3a}

/* ── RANK PANEL ── */
.rank-panel { background:var(--white); border:1px solid var(--border); border-radius:var(--r-xl); box-shadow:var(--sh-lg); overflow:hidden; }
.rank-panel-header { padding:18px 24px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.rank-panel-title { font-size:13px; font-weight:700; color:var(--ink); letter-spacing:.04em; text-transform:uppercase; }
.live-badge { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--green); font-weight:600; }
.live-badge::before { content:''; width:6px; height:6px; background:var(--green); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.rank-row { display:flex; align-items:center; padding:13px 24px; border-bottom:1px solid var(--border); gap:12px; cursor:pointer; transition:background .1s; text-decoration:none; color:inherit; }
.rank-row:last-child { border-bottom:none; }
.rank-row:hover { background:var(--surface); }
.rank-num { width:22px; height:22px; border-radius:50%; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:var(--ink-muted); flex-shrink:0; }
.rank-num.top1 { background:var(--gold); color:#fff; }
.rank-logo { width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; color:#fff; flex-shrink:0; overflow:hidden; }
.rank-logo img { width:100%; height:100%; object-fit:contain; padding:4px; }
.rank-logo.has-logo { background:var(--white) !important; border:1.5px solid var(--border-2); }
.rank-info { flex:1; min-width:0; }
.rank-name { font-size:13px; font-weight:600; color:var(--ink); margin-bottom:1px; }
.rank-reg { font-size:11px; color:var(--ink-faint); }
.rank-amt { font-family:'DM Mono',monospace; font-size:14px; font-weight:500; color:var(--green); }
.rank-period { font-size:10px; color:var(--ink-faint); }

/* ── HERO ── */
.hero-section { background:var(--white); border-bottom:1px solid var(--border); }
.hero { display:grid; grid-template-columns:1fr 420px; gap:64px; align-items:center; padding:72px 40px 80px; max-width:1280px; margin:0 auto; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; padding:5px 14px 5px 5px; background:var(--gold-pale); border:1px solid var(--gold-mid); border-radius:100px; font-size:12px; font-weight:500; color:var(--gold-dim); margin-bottom:24px; }
.hero-badge-dot { width:20px; height:20px; background:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.hero-badge-dot::after { content:''; width:8px; height:8px; background:#fff; border-radius:50%; }
.hero-title { font-family:'Noto Serif SC',serif; font-size:52px; font-weight:700; line-height:1.15; color:var(--ink); margin-bottom:20px; }
.hero-title em { font-style:normal; color:var(--gold); }
.hero-desc { font-size:16px; color:var(--ink-muted); line-height:1.8; max-width:480px; margin-bottom:36px; }
.hero-actions { display:flex; gap:14px; margin-bottom:52px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:40px; padding-top:32px; border-top:1px solid var(--border); flex-wrap:wrap; }
.stat-item { display:flex; flex-direction:column; gap:3px; }
.stat-num { font-family:'DM Mono',monospace; font-size:26px; font-weight:500; color:var(--ink); letter-spacing:-.02em; }
.stat-num span { color:var(--gold); }
.stat-lbl { font-size:12px; color:var(--ink-faint); font-weight:500; letter-spacing:.04em; text-transform:uppercase; }

/* ── REGULATOR CARDS (home) ── */
.reg-home-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.reg-home-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; cursor:pointer; transition:all .18s; position:relative; overflow:hidden; }
.reg-home-card::before { content:''; position:absolute; top:0; left:0; bottom:0; width:3px; border-radius:3px 0 0 3px; }
.reg-home-card.g-AAA::before { background:var(--green); }
.reg-home-card.g-AA::before  { background:var(--blue); }
.reg-home-card.g-A::before   { background:var(--gold); }
.reg-home-card.g-B::before   { background:var(--amber); }
.reg-home-card.g-C::before   { background:var(--ink-muted); }
.reg-home-card:hover { box-shadow:var(--sh); transform:translateY(-2px); border-color:var(--border-2); }
.reg-home-top { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.reg-home-icon { width:38px; height:38px; border-radius:9px; background:var(--ink); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; color:#fff; flex-shrink:0; text-align:center; line-height:1.2; overflow:hidden; }
.reg-home-icon img { width:100%; height:100%; object-fit:contain; padding:4px; }
.reg-home-name { font-size:15px; font-weight:700; color:var(--ink); }
.reg-home-region { font-size:11px; color:var(--ink-faint); margin-top:1px; }
.reg-home-grade { margin-left:auto; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:800; flex-shrink:0; }
.g-AAA .reg-home-grade { background:var(--green-pale); color:var(--green); }
.g-AA  .reg-home-grade { background:var(--blue-pale);  color:var(--blue); }
.g-A   .reg-home-grade { background:var(--gold-pale);  color:var(--gold-dim); }
.g-B   .reg-home-grade { background:var(--amber-pale); color:var(--amber); }
.g-C   .reg-home-grade { background:var(--surface-3);  color:var(--ink-muted); }
.reg-home-full { font-size:12px; color:var(--ink-faint); line-height:1.5; margin-bottom:10px; }
.reg-home-trust-row { display:flex; justify-content:space-between; font-size:11px; color:var(--ink-faint); margin-bottom:5px; }
.reg-home-bar { height:4px; background:var(--surface-3); border-radius:100px; overflow:hidden; }
.reg-home-fill { height:100%; border-radius:100px; }
.g-AAA .reg-home-fill { background:linear-gradient(90deg,var(--green),#22c55e); }
.g-AA  .reg-home-fill { background:linear-gradient(90deg,var(--blue),#3b82f6); }
.g-A   .reg-home-fill { background:linear-gradient(90deg,var(--gold),var(--gold-light)); }
.g-B   .reg-home-fill { background:linear-gradient(90deg,var(--amber),var(--gold-light)); }
.g-C   .reg-home-fill { background:linear-gradient(90deg,var(--ink-muted),var(--ink-faint)); }

/* ── REGULATOR PAGE ── */
.reg-intro { background:var(--ink); border-radius:var(--r-xl); padding:48px; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; position:relative; overflow:hidden; margin-top:20px; }
.reg-intro::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 80% at 85% 20%,rgba(201,147,58,.14) 0%,transparent 60%); }
.reg-intro-eyebrow { font-size:11px; font-weight:700; color:var(--gold-light); text-transform:uppercase; letter-spacing:.12em; margin-bottom:14px; }
.reg-intro-title { font-family:'Noto Serif SC',serif; font-size:32px; font-weight:700; color:#fff; line-height:1.3; margin-bottom:14px; }
.reg-intro-desc { font-size:14px; color:rgba(255,255,255,.55); line-height:1.8; }
.reg-stats-col { display:flex; flex-direction:column; gap:10px; position:relative; z-index:1; }
.rs { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; }
.rs-grade { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; }
.rs-grade.AAA { background:var(--green); color:#fff; }
.rs-grade.AA  { background:var(--blue);  color:#fff; }
.rs-grade.A   { background:var(--gold);  color:#fff; }
.rs-grade.B   { background:var(--amber); color:#fff; }
.rs-grade.C   { background:var(--ink-muted); color:#fff; }
.rs-name { font-size:13px; font-weight:600; color:rgba(255,255,255,.9); }
.rs-count { font-family:'DM Mono',monospace; font-size:12px; color:var(--gold-light); }
.grade-tabs { display:flex; gap:8px; margin:32px 0 20px; flex-wrap:wrap; }
.gtab { padding:7px 20px; border-radius:100px; font-size:13px; font-weight:600; border:1px solid var(--border-2); background:var(--white); color:var(--ink-muted); cursor:pointer; transition:all .14s; }
.gtab:hover { border-color:var(--border-3); color:var(--ink); }
.gtab.on { color:#fff; border-color:transparent; }
.gtab.on.all { background:var(--ink); }
.gtab.on.AAA { background:var(--green); }
.gtab.on.AA  { background:var(--blue); }
.gtab.on.A   { background:var(--gold); }
.gtab.on.B   { background:var(--amber); }
.gtab.on.C   { background:var(--ink-muted); }
.reg-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; margin-bottom:32px; }
.reg-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; cursor:pointer; transition:all .2s; position:relative; overflow:hidden; }
.reg-card::before { content:''; position:absolute; top:0; left:0; bottom:0; width:3px; border-radius:3px 0 0 3px; }
.reg-card.g-AAA::before { background:var(--green); }
.reg-card.g-AA::before  { background:var(--blue); }
.reg-card.g-A::before   { background:var(--gold); }
.reg-card.g-B::before   { background:var(--amber); }
.reg-card.g-C::before   { background:var(--ink-muted); }
.reg-card:hover { border-color:var(--border-2); box-shadow:var(--sh); transform:translateY(-2px); }
.reg-card-top { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.reg-icon { width:40px; height:40px; border-radius:10px; background:var(--ink); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#fff; flex-shrink:0; text-align:center; line-height:1.2; overflow:hidden; }
.reg-icon img { width:100%; height:100%; object-fit:contain; padding:4px; }
.reg-name-main { font-size:15px; font-weight:700; color:var(--ink); margin-bottom:2px; }
.reg-name-full { font-size:11px; color:var(--ink-faint); line-height:1.4; }
.reg-grade-pill { margin-left:auto; flex-shrink:0; width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; }
.g-AAA .reg-grade-pill { background:var(--green-pale); color:var(--green); }
.g-AA  .reg-grade-pill { background:var(--blue-pale);  color:var(--blue); }
.g-A   .reg-grade-pill { background:var(--gold-pale);  color:var(--gold-dim); }
.g-B   .reg-grade-pill { background:var(--amber-pale); color:var(--amber); }
.g-C   .reg-grade-pill { background:var(--surface-3);  color:var(--ink-muted); }
.trust-row { display:flex; justify-content:space-between; font-size:11px; color:var(--ink-faint); margin-bottom:5px; }
.trust-bar { height:4px; background:var(--surface-3); border-radius:100px; overflow:hidden; }
.trust-fill { height:100%; border-radius:100px; }
.reg-card.g-AAA .trust-fill { background:linear-gradient(90deg,var(--green),#22c55e); }
.reg-card.g-AA  .trust-fill { background:linear-gradient(90deg,var(--blue),#3b82f6); }
.reg-card.g-A   .trust-fill { background:linear-gradient(90deg,var(--gold),var(--gold-light)); }
.reg-card.g-B   .trust-fill { background:linear-gradient(90deg,var(--amber),var(--gold-light)); }
.reg-card.g-C   .trust-fill { background:linear-gradient(90deg,var(--ink-muted),var(--ink-faint)); }
.reg-features { display:flex; gap:4px; flex-wrap:wrap; margin-top:10px; }
.rf { padding:2px 8px; background:var(--surface-2); border-radius:100px; font-size:10px; font-weight:500; color:var(--ink-muted); }

/* ── BROKER LIST PAGE ── */
.broker-list-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:20px; }
.filter-bar { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 24px; margin-bottom:28px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.filter-bar select,.filter-bar input { padding:8px 12px; border:1px solid var(--border-2); border-radius:var(--r); font-size:13px; color:var(--ink); outline:none; background:var(--white); }
.filter-bar input { flex:1; min-width:180px; }

/* ── NEWS ── */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; cursor:pointer; transition:all .18s; }
.news-card:hover { box-shadow:var(--sh); transform:translateY(-2px); border-color:var(--border-2); }
.news-cover { width:100%; height:180px; background:var(--surface-2); object-fit:cover; }
.news-cover-placeholder { width:100%; height:180px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-size:40px; }
.news-card-body { padding:20px; }
.news-cat { font-size:10px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.news-title { font-family:'Noto Serif SC',serif; font-size:16px; font-weight:600; color:var(--ink); line-height:1.5; margin-bottom:10px; }
.news-summary { font-size:13px; color:var(--ink-muted); line-height:1.7; margin-bottom:14px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.news-meta { display:flex; align-items:center; gap:12px; font-size:12px; color:var(--ink-faint); }

/* ── NEWS DETAIL ── */
.news-detail-wrap { max-width:800px; margin:0 auto; padding:40px 0 80px; }
.news-detail-header { margin-bottom:32px; }
.news-detail-title { font-family:'Noto Serif SC',serif; font-size:34px; font-weight:700; color:var(--ink); line-height:1.3; margin-bottom:16px; }
.news-detail-meta { display:flex; align-items:center; gap:16px; font-size:13px; color:var(--ink-faint); padding-bottom:20px; border-bottom:1px solid var(--border); }
.news-detail-content { font-size:16px; line-height:1.9; color:var(--ink); }
.news-detail-content h2 { font-family:'Noto Serif SC',serif; font-size:22px; font-weight:700; margin:36px 0 14px; }
.news-detail-content h3 { font-size:18px; font-weight:700; margin:28px 0 10px; }
.news-detail-content p { margin-bottom:18px; }
.news-detail-content ul,.news-detail-content ol { margin:0 0 18px 24px; }
.news-detail-content li { margin-bottom:6px; }
.news-detail-content blockquote { border-left:3px solid var(--gold); padding:14px 20px; background:var(--gold-pale); border-radius:0 var(--r) var(--r) 0; margin:20px 0; color:var(--ink-muted); }
.news-detail-content img { border-radius:var(--r-lg); margin:24px 0; }
.news-detail-content a { color:var(--blue); text-decoration:underline; }

/* ── BROKER DETAIL ── */
.bd-hero { background:var(--ink); padding:48px 0; }
.bd-hero-inner { max-width:1280px; margin:0 auto; padding:0 40px; display:flex; align-items:center; gap:32px; }
.bd-logo-wrap { width:80px; height:80px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; color:#fff; flex-shrink:0; overflow:hidden; background:rgba(255,255,255,.1); border:2px solid rgba(255,255,255,.15); }
.bd-logo-wrap img { width:100%; height:100%; object-fit:contain; padding:6px; }
.bd-hero-info { flex:1; }
.bd-name { font-family:'Noto Serif SC',serif; font-size:32px; font-weight:700; color:#fff; margin-bottom:10px; }
.bd-tags { display:flex; gap:6px; flex-wrap:wrap; }
.bd-content { max-width:1280px; margin:0 auto; padding:40px 40px 80px; display:grid; grid-template-columns:1fr 340px; gap:32px; }
.bd-main {}
.bd-side {}
.bd-section { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; margin-bottom:20px; }
.bd-section-header { padding:18px 24px; border-bottom:1px solid var(--border); }
.bd-section-title { font-size:15px; font-weight:700; color:var(--ink); }
.bd-section-body { padding:20px 24px; }
.kv-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); }
.kv-row:last-child { border-bottom:none; }
.kv-k { font-size:13px; color:var(--ink-muted); }
.kv-v { font-size:13px; color:var(--ink); font-weight:600; font-family:'DM Mono',monospace; }
.kv-v.green { color:var(--green); }
.kv-v.gold { color:var(--gold); }
.rebate-cta { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px; position:sticky; top:84px; }
.rebate-cta-num { font-family:'DM Mono',monospace; font-size:44px; font-weight:500; color:var(--green); letter-spacing:-.03em; line-height:1; }
.rebate-cta-unit { font-size:16px; color:var(--ink-muted); }
.rebate-cta-label { font-size:11px; font-weight:600; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.callout { border-radius:var(--r-lg); padding:16px 20px; display:flex; gap:12px; margin-bottom:20px; }
.callout.warn { background:var(--amber-pale); border:1px solid rgba(217,119,6,.2); }
.callout-icon { font-size:18px; flex-shrink:0; }
.callout-text { font-size:13px; color:var(--ink-muted); line-height:1.7; }

/* ── TOAST ── */
#toast-container { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:9999; display:flex; flex-direction:column; gap:8px; pointer-events:none; }
.toast { padding:12px 24px; border-radius:var(--r); font-size:14px; font-weight:500; color:#fff; box-shadow:var(--sh-lg); animation:toastIn .3s ease; white-space:nowrap; }
.toast.success { background:var(--green); }
.toast.error   { background:var(--red); }
.toast.info    { background:var(--ink); }
@keyframes toastIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* ── FAB ── */
.fab-group { position:fixed; right:28px; bottom:36px; display:flex; flex-direction:column; gap:10px; z-index:50; }
.fab { width:46px; height:46px; border-radius:14px; background:var(--white); border:1px solid var(--border-2); box-shadow:var(--sh); display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; transition:all .2s; }
.fab:hover { transform:scale(1.08); box-shadow:var(--sh-lg); }
.fab.fab-gold { background:var(--gold); border-color:var(--gold); color:#fff; font-size:13px; font-weight:700; }

/* ── GLOBAL MODAL ── */
#gmodal-overlay { display:none; position:fixed; inset:0; background:rgba(13,17,23,.55); backdrop-filter:blur(4px); z-index:9000; align-items:center; justify-content:center; padding:20px; }
#gmodal-overlay.open { display:flex; }
#gmodal-box { background:#fff; border-radius:20px; width:100%; max-width:480px; max-height:90vh; overflow-y:auto; box-shadow:0 32px 80px rgba(0,0,0,.28); }
.gm-header { padding:28px 28px 0; display:flex; align-items:flex-start; justify-content:space-between; }
.gm-title { font-family:'Noto Serif SC',serif; font-size:20px; font-weight:700; color:var(--ink); }
.gm-close { width:32px; height:32px; border-radius:50%; background:var(--surface-2); border:none; cursor:pointer; font-size:16px; display:flex; align-items:center; justify-content:center; color:var(--ink-muted); flex-shrink:0; }
.gm-close:hover { background:var(--surface-3); }
.gm-body { padding:20px 28px 28px; }
.gm-field { margin-bottom:16px; }
.gm-label { font-size:13px; font-weight:600; color:var(--ink); margin-bottom:6px; display:flex; align-items:center; gap:4px; }
.gm-req { color:#dc2626; font-size:11px; }
.gm-input { width:100%; padding:10px 14px; border:1.5px solid var(--border-2); border-radius:10px; font-size:14px; font-family:inherit; color:var(--ink); background:var(--white); transition:border-color .14s; outline:none; }
.gm-input:focus { border-color:var(--gold); }
.gm-textarea { resize:vertical; min-height:80px; }
.gm-submit { width:100%; padding:13px; background:var(--ink); color:#fff; border:none; border-radius:12px; font-size:15px; font-weight:700; cursor:pointer; transition:background .14s; margin-top:8px; font-family:inherit; }
.gm-submit:hover { background:#1e2d3d; }
.gm-submit.gold { background:var(--gold); }
.gm-submit.gold:hover { background:#b8832e; }
.gm-qq-num { font-family:'DM Mono',monospace; font-size:40px; font-weight:500; color:var(--ink); letter-spacing:-.02em; margin:12px 0 6px; text-align:center; }
.gm-qq-copy { display:inline-flex; align-items:center; gap:6px; padding:8px 20px; background:var(--surface-2); border:1px solid var(--border-2); border-radius:100px; font-size:13px; font-weight:600; color:var(--ink-muted); cursor:pointer; }
.gm-success { text-align:center; padding:20px 0 8px; }
.gm-success-icon { font-size:56px; margin-bottom:12px; }
.gm-success-title { font-size:18px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.gm-success-sub { font-size:14px; color:var(--ink-muted); line-height:1.7; }

/* ── FOOTER ── */
.site-footer { background:var(--ink); padding:56px 0 24px; margin-top:80px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:32px; }
.footer-logo { font-family:'Noto Serif SC',serif; font-size:19px; font-weight:700; color:#fff; margin-bottom:12px; }
.footer-desc { font-size:13px; color:rgba(255,255,255,.42); line-height:1.8; margin-bottom:14px; }
.footer-contact { font-size:13px; color:rgba(255,255,255,.38); display:flex; gap:6px; flex-wrap:wrap; }
.footer-sep { color:rgba(255,255,255,.2); }
.footer-col { display:flex; flex-direction:column; }
.footer-col-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.32); margin-bottom:14px; }
.footer-link { font-size:13px; color:rgba(255,255,255,.48); cursor:pointer; transition:color .14s; padding:4px 0; display:block; }
.footer-link:hover { color:rgba(255,255,255,.85); }
.footer-partners { padding:20px 0; border-top:1px solid rgba(255,255,255,.07); margin-bottom:20px; }
.footer-partners-title { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.28); margin-bottom:12px; }
.footer-partners-list { display:flex; flex-wrap:wrap; gap:8px; }
.partner-link { display:inline-flex; align-items:center; padding:5px 14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:100px; font-size:12px; color:rgba(255,255,255,.55); transition:all .14s; }
.partner-link:hover { background:rgba(255,255,255,.12); color:rgba(255,255,255,.9); }
.footer-bottom { padding-top:20px; border-top:1px solid rgba(255,255,255,.07); display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.footer-copy { font-size:12px; color:rgba(255,255,255,.27); flex-shrink:0; }
.footer-disclaimer { font-size:11px; color:rgba(255,255,255,.2); max-width:560px; line-height:1.65; text-align:right; }

/* ── EMPTY STATE ── */
.empty-state { text-align:center; padding:80px 20px; color:var(--ink-faint); }
.empty-state-icon { font-size:48px; margin-bottom:16px; }

/* ── BREADCRUMB ── */
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-faint); padding:20px 0; }
.breadcrumb a { color:var(--ink-faint); }
.breadcrumb a:hover { color:var(--ink-muted); }
.breadcrumb-sep { color:var(--ink-ghost); }

/* ═══ RESPONSIVE ═══ */
@media (max-width:1024px) {
  .reg-home-grid { grid-template-columns:repeat(3,1fr); }
  .broker-grid-3 { grid-template-columns:repeat(2,1fr); }
  .news-grid { grid-template-columns:repeat(2,1fr); }
  .bd-content { grid-template-columns:1fr 300px; }
}
@media (max-width:768px) {
  .container { padding:0 16px; }
  .site-header-inner { padding:0 16px; height:56px; }
  .logo-en { display:none; }
  .site-nav { display:none; }
  .site-header-cta .btn-ghost { display:none; }
  .mobile-menu-btn { display:flex; }
  .page-wrap { min-height:calc(100vh - 56px); }
  .hero { grid-template-columns:1fr; gap:32px; padding:40px 16px 48px; }
  .hero-title { font-size:34px; }
  .rank-panel { display:none; }
  .broker-grid-3 { grid-template-columns:1fr; }
  .reg-home-grid { grid-template-columns:1fr 1fr; }
  .reg-grid { grid-template-columns:1fr 1fr; }
  .news-grid { grid-template-columns:1fr; }
  .floor-header { flex-direction:column; align-items:flex-start; gap:8px; }
  .floor-section { padding:40px 0; }
  .bd-hero-inner { padding:0 16px; flex-wrap:wrap; }
  .bd-content { grid-template-columns:1fr; padding:20px 16px 40px; }
  .bd-side { order:-1; }
  .rebate-cta { position:static; }
  .reg-intro { grid-template-columns:1fr; padding:32px 24px; gap:24px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; gap:10px; }
  .footer-disclaimer { text-align:left; }
  .fab-group { bottom:16px; right:16px; }
  #gmodal-overlay { padding:0; align-items:flex-end; }
  #gmodal-box { border-radius:20px 20px 0 0; max-height:88vh; max-width:100%; }
}
@media (max-width:480px) {
  .hero-title { font-size:28px; }
  .hero-stats { gap:16px; }
  .stat-num { font-size:22px; }
  .reg-home-grid { grid-template-columns:1fr; }
  .reg-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
}
