/* ============================================================
   K.A.I Review Quỹ — style.css (v2: light-first, K.A.I gold)
   ============================================================ */
:root {
  --bg: #FBFAF7;
  --bg2: #F3F1EA;
  --panel: #FFFFFF;
  --ink: #1C1A13;
  --muted: #57544A;
  --faint: #8B877A;
  --line: #E6E3D8;
  --line2: #DAD6C8;
  --gold: #9A7B1C;
  --gold-soft: #F4ECD8;
  --gold-ink: #6E5713;
  --green: #1E7B45;
  --green-soft: #E4F2E9;
  --shadow: 0 1px 2px rgba(28, 26, 19, .05), 0 8px 28px -12px rgba(28, 26, 19, .12);
  --shadow-lg: 0 2px 6px rgba(28, 26, 19, .06), 0 22px 48px -18px rgba(28, 26, 19, .2);
  --disp: "Space Grotesk", "Be Vietnam Pro", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}
[data-theme="dark"] {
  --bg: #0E0D0A;
  --bg2: #14120D;
  --panel: #191712;
  --ink: #F1EEE3;
  --muted: #A6A192;
  --faint: #726D5E;
  --line: #262319;
  --line2: #322E20;
  --gold: #D4AF37;
  --gold-soft: #2A2410;
  --gold-ink: #E5C558;
  --green: #4ADE80;
  --green-soft: #12281A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .45), 0 22px 48px -18px rgba(0, 0, 0, .65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--gold-ink); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
.mono { font-family: var(--mono); }
.green { color: var(--green) !important; }
.dim { color: var(--faint) !important; }
.gold { color: var(--gold) !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 8px; }
.btn-gold { background: var(--ink); color: var(--bg); }
.btn-gold:hover { background: var(--gold); color: #14120A; transform: translateY(-1px); }
[data-theme="dark"] .btn-gold { background: var(--gold); color: #14120A; }
[data-theme="dark"] .btn-gold:hover { background: #E5C558; color: #14120A; }
.btn-ghost { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn-line { border-color: var(--line2); color: var(--ink); background: var(--panel); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-ink); }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-family: var(--disp); font-size: 17px; letter-spacing: .01em; }
.brand-name .b1 { font-weight: 700; color: var(--ink); }
.brand-name .b2 { font-weight: 500; color: var(--gold-ink); }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line2); border-radius: 9px;
  color: var(--muted); cursor: pointer; transition: all .15s;
}
.icon-btn:hover { color: var(--gold-ink); border-color: var(--gold); }
.icon-btn svg { stroke: currentColor; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line2); border-radius: 9px;
  color: var(--muted); font-family: var(--mono); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.lang-btn svg { stroke: currentColor; }
.lang-btn:hover { color: var(--gold-ink); border-color: var(--gold); }
.lang-menu {
  position: absolute; right: 0; top: 46px; min-width: 170px; display: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden; padding: 6px;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500;
}
.lang-menu a:hover { background: var(--bg2); color: var(--ink); }
.lang-menu a.active { color: var(--gold-ink); font-weight: 600; }
.nav-burger { display: none; }
.nav-menu-mobile { display: none; }
.nav-menu-mobile.open { display: flex; flex-direction: column; padding: 8px 22px 16px; gap: 4px; border-top: 1px solid var(--line); }
.nav-menu-mobile a { padding: 10px 4px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }

/* ---------- Ticker ---------- */
.ticker-wrap { border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.ticker { display: flex; gap: 18px; align-items: center; height: 38px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker::-webkit-scrollbar { display: none; }
.t-label { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--gold-ink); flex-shrink: 0; }
.t-item { font-family: var(--mono); font-size: 11.5px; color: var(--muted); flex-shrink: 0; }
.t-item .s { color: var(--gold-ink); }
.t-sep { color: var(--line2); flex-shrink: 0; }

/* ---------- Hero + Top 5 ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; padding: 72px 22px 76px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--gold-ink); margin-bottom: 18px; }
h1 { font-family: var(--disp); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.015em; font-weight: 700; }
h1 .accent { color: var(--gold-ink); }
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 54ch; margin: 22px 0 28px; }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; align-items: center; margin-top: 40px; }
.hero-stats .div { width: 1px; height: 34px; background: var(--line2); }
.stat-n { font-family: var(--disp); font-size: 26px; font-weight: 700; }
.stat-l { color: var(--faint); font-size: 12.5px; margin-top: 2px; }

.top5 { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; }
.top5-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding: 0 4px; }
.badge-soft { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; color: var(--gold-ink); background: var(--gold-soft); padding: 5px 10px; border-radius: 999px; }
.top5-head .month { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.top5-row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px; border-bottom: 1px solid var(--line); }
.top5-row:hover { background: var(--bg2); }
.top5-row .i { width: 20px; font-size: 13px; color: var(--faint); font-weight: 600; text-align: center; }
.top5-row .i.gold { color: var(--gold); }
.top5-row .nm { flex: 1; display: flex; flex-direction: column; }
.top5-row .n { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.top5-row .c { color: var(--faint); font-size: 12px; }
.top5-row .sc { text-align: right; }
.top5-row .sc .v { font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--ink); }
.top5-row .sc .d { color: var(--faint); font-size: 12px; }
.top5-row .sc .r { display: block; color: var(--faint); font-size: 11px; }
.top5-foot { display: flex; align-items: center; gap: 7px; padding: 13px 8px 6px; font-weight: 600; font-size: 14px; }
.top5-note { padding: 0 8px; color: var(--faint); font-size: 12px; }

.tile {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--line2);
  font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--gold-ink);
}
.tile.sm { width: 34px; height: 34px; font-size: 14px; border-radius: 9px; }
.tile.lg { width: 56px; height: 56px; font-size: 24px; border-radius: 14px; }
.tile.gold { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 40%, var(--line2)); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg2); }
.section.soft { border-top: none; padding-top: 30px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--gold-ink); margin-bottom: 10px; }
.sec-title { font-family: var(--disp); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.sec-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.sub-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; margin-bottom: 16px; }
.table-note { color: var(--faint); font-size: 12.5px; margin-top: 16px; }

/* ---------- Reasons (6) ---------- */
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.r-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.r-num { color: var(--gold-ink); font-size: 12px; font-weight: 600; }
.r-t { font-family: var(--disp); font-weight: 600; font-size: 16.5px; margin: 10px 0 6px; }
.r-d { color: var(--muted); font-size: 14px; }

/* ---------- Method ---------- */
.method-cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.method-sub { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.m-row { display: flex; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.m-row:first-child { padding-top: 0; }
.m-num { color: var(--gold-ink); font-size: 13px; font-weight: 600; padding-top: 2px; }
.m-t { font-family: var(--disp); font-weight: 600; font-size: 16px; }
.m-d { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- Fund cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: all .15s; color: var(--ink);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line2); color: var(--ink); }
.c-top { display: flex; justify-content: space-between; align-items: flex-start; }
.c-rank { color: var(--faint); font-size: 12px; font-weight: 600; }
.c-name { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.c-meta { color: var(--faint); font-size: 12.5px; }
.c-rate { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.c-rate .v { font-family: var(--disp); font-weight: 700; font-size: 19px; }
.c-rate .d { color: var(--faint); font-size: 12px; }
.c-rate .r { color: var(--faint); font-size: 12px; }
.stars { display: inline-flex; gap: 1.5px; }
.c-btn { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-ink); font-weight: 600; font-size: 14px; margin-top: auto; }

/* ---------- Boards (4 mini rankings) ---------- */
.boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.b-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.b-t { font-family: var(--disp); font-weight: 600; font-size: 15px; }
.b-cap { color: var(--faint); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.b-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); color: var(--ink); }
.b-row:hover { color: var(--gold-ink); }
.b-i { color: var(--faint); font-size: 12px; width: 14px; }
.b-n { flex: 1; font-weight: 500; font-size: 14px; }
.b-v { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* ---------- Discount rows ---------- */
.disc-list { display: flex; flex-direction: column; gap: 10px; }
.disc-row {
  display: grid; grid-template-columns: 1.3fr auto auto 1.6fr auto; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
}
.d-fund .n { font-family: var(--disp); font-weight: 600; font-size: 15.5px; }
.d-fund .c { color: var(--faint); font-size: 12.5px; }
.code-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  color: var(--gold-ink); background: var(--gold-soft);
  border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  padding: 7px 13px; border-radius: 9px; user-select: none;
}
.code-chip:hover { border-style: solid; }
.code-chip.auto { cursor: default; border-style: solid; }
.code-chip.dim { cursor: default; color: var(--faint); background: var(--bg2); border: 1px solid var(--line2); }
.d-pct { font-family: var(--disp); font-weight: 700; font-size: 19px; }
.d-cond { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-left .t { color: var(--muted); margin: 16px 0 12px; max-width: 40ch; }
.faq-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-item .num { color: var(--gold-ink); font-size: 13px; font-weight: 600; padding-top: 2px; }
.faq-item .q { font-family: var(--disp); font-weight: 600; font-size: 16px; }
.faq-item .a { color: var(--muted); font-size: 14px; margin-top: 5px; }

/* ---------- CTA ---------- */
.cta-sec { text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-in img { width: 52px; height: 52px; border-radius: 12px; }
.cta-in h2 { font-family: var(--disp); font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.cta-in p { color: var(--muted); max-width: 52ch; }
.cta-btns { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg2); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 52px 22px 40px; }
.footer-brand .tag { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 30ch; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col .h { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--faint); margin-bottom: 5px; }
.f-col a { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.f-col a:hover { color: var(--gold-ink); }
.f-col a svg { stroke: currentColor; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px 26px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 12.5px;
}

/* ---------- Page head ---------- */
.page-head { padding: 52px 22px 10px; }
.page-head p { color: var(--muted); max-width: 62ch; margin-top: 12px; }

/* ---------- Trending carousel ---------- */
.trend-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.trend-scroll::-webkit-scrollbar { height: 8px; }
.trend-scroll::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 99px; }
.trend-card {
  scroll-snap-align: start; flex: 0 0 275px; display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink);
  transition: all .15s;
}
.trend-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tc-top { display: flex; align-items: center; gap: 11px; }
.tc-top .n { font-family: var(--disp); font-weight: 700; font-size: 15.5px; }
.tc-top .m { color: var(--faint); font-size: 12px; }
.tc-score { margin-left: auto; }
.tc-score .v { font-family: var(--disp); font-weight: 700; font-size: 21px; }
.tc-score .d { color: var(--faint); font-size: 12px; }
.tc-sub { color: var(--faint); font-size: 12.5px; }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.tc-stats .l { color: var(--faint); font-size: 10.5px; font-family: var(--mono); letter-spacing: .05em; }
.tc-stats .v { font-weight: 600; font-size: 13px; margin-top: 2px; }
.tc-go { display: flex; align-items: center; gap: 7px; color: var(--gold-ink); font-weight: 600; font-size: 13.5px; margin-top: auto; }

/* ---------- Full list table ---------- */
.list-table { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.list-head, .list-row {
  display: grid;
  grid-template-columns: 42px 1.7fr 1.5fr 70px 1.5fr .9fr .9fr 92px;
  gap: 12px; align-items: center; padding: 13px 18px;
}
.list-head {
  background: var(--bg2); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .09em; color: var(--faint);
}
.list-head .sortable { cursor: pointer; user-select: none; }
.list-head .sortable:hover { color: var(--gold-ink); }
.s-ind { opacity: .7; }
.list-row { border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: var(--bg2); }
.lr-i { color: var(--faint); font-size: 13px; font-weight: 600; }
.lr-fund { display: flex; align-items: center; gap: 12px; }
.lr-fund .fn { font-weight: 600; font-size: 15px; }
.lr-fund .fm { color: var(--faint); font-size: 12px; }
.lr-score { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lr-score .v { font-family: var(--disp); font-weight: 700; font-size: 16px; }
.lr-score .r { color: var(--faint); font-size: 12px; }
.lr-year { color: var(--muted); font-size: 13px; }
.lr-cap { font-weight: 600; font-size: 14px; }
.lr-disc { font-weight: 600; font-size: 13.5px; }
.types { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.tb {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .03em;
  color: var(--muted); background: var(--bg2); border: 1px solid var(--line2);
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.tb.inst { color: var(--gold-ink); background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 40%, var(--line2)); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter {
  font-family: var(--disp); font-weight: 600; font-size: 13.5px;
  background: var(--panel); color: var(--muted); border: 1px solid var(--line2);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.filter:hover { color: var(--ink); }
.filter.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .filter.active { background: var(--gold); color: #14120A; border-color: var(--gold); }

/* ---------- Fund page ---------- */
.crumb { padding: 22px 22px 0; }
.crumb a { color: var(--faint); font-size: 13.5px; font-weight: 500; }
.crumb a:hover { color: var(--gold-ink); }
.fund-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-top: 22px; padding-bottom: 26px; }
.fund-id { display: flex; align-items: center; gap: 16px; }
.fund-id .n { font-family: var(--disp); font-weight: 700; font-size: 26px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fund-id .dom { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.fund-id .m { color: var(--muted); font-size: 13.5px; margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); background: var(--bg2);
}
.badge.forex { color: var(--gold-ink); background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 35%, var(--line2)); }
.badge.futures { color: var(--green); background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 30%, var(--line2)); }
.fund-hero .desc { color: var(--muted); max-width: 68ch; margin: 18px 0 22px; }
.fund-hero-score {
  text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 30px; box-shadow: var(--shadow);
}
.big-score .v { font-family: var(--disp); font-weight: 700; font-size: 44px; line-height: 1; }
.big-score .d { color: var(--faint); font-size: 15px; }
.fund-hero-score .rv { color: var(--faint); font-size: 12.5px; margin-top: 6px; }
.fund-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.fs { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fs .l { color: var(--faint); font-size: 11px; font-family: var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.fs .v { font-family: var(--disp); font-weight: 600; font-size: 15.5px; margin-top: 4px; }

.fund-cols { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; padding-bottom: 80px; }
.fund-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.toc { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.toc-t { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .13em; color: var(--faint); text-transform: uppercase; margin-bottom: 8px; }
.toc-links { display: flex; flex-wrap: wrap; gap: 7px; }
.toc-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 13px;
}
.toc-links a:hover { color: var(--gold-ink); border-color: var(--gold); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; scroll-margin-top: 84px; }
.panel h2 { font-family: var(--disp); font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.panel-updating {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg2); border: 1px dashed var(--line2); border-radius: 12px;
  padding: 14px 16px; color: var(--muted); font-size: 14px;
}
.panel-updating svg { stroke: var(--gold-ink); flex-shrink: 0; margin-top: 3px; }
.disc-panel-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.disc-panel-row .pct { font-family: var(--disp); font-weight: 700; font-size: 22px; }
.disc-cond { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--faint); font-size: 13.5px; }
.kv .v { font-weight: 500; font-size: 14.5px; }
.kv .v.strong { font-family: var(--disp); font-weight: 700; }
.axes { display: flex; flex-direction: column; gap: 12px; }
.axis { display: grid; grid-template-columns: 150px 1fr 40px; gap: 14px; align-items: center; }
.a-name { color: var(--muted); font-size: 13.5px; }
.bar { height: 7px; background: var(--bg2); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-ink), var(--gold)); border-radius: 99px; }
.a-val { text-align: right; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.score-note { color: var(--faint); font-size: 12.5px; margin-top: 16px; }
.contact-list { display: flex; flex-direction: column; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.ci {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--gold-ink);
}
.ci svg { stroke: currentColor; }
.cl { color: var(--faint); font-size: 11.5px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cv { font-weight: 500; font-size: 14.5px; word-break: break-all; }
.contact-note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line2));
  border-radius: 12px; padding: 13px 15px; margin-top: 16px;
  color: var(--gold-ink); font-size: 13.5px;
}
.contact-note svg { stroke: currentColor; flex-shrink: 0; margin-top: 3px; }
.contact-updating { color: var(--faint); font-size: 12.5px; margin-top: 12px; }
.fund-side { position: sticky; top: 84px; }
.side-cta { background: var(--ink); border-radius: 16px; padding: 3px; }
[data-theme="dark"] .side-cta { background: linear-gradient(140deg, var(--gold) 0%, #6E5713 100%); }
.side-cta-in { background: var(--panel); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.side-cta-in .t { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.side-cta-in .s { color: var(--muted); font-size: 13.5px; }
.side-cta-in .risk { color: var(--faint); font-size: 11.5px; }

/* ---------- About / Contact / Policy / Blog ---------- */
.prose p { color: var(--muted); margin-bottom: 16px; max-width: 70ch; }
.prose p:first-child { color: var(--ink); font-size: 17px; }
.channel-links { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-links a {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px solid var(--line2); border-radius: 10px;
  padding: 10px 16px; font-weight: 600; font-size: 14px; color: var(--ink);
}
.channel-links a:hover { border-color: var(--gold); color: var(--gold-ink); }
.channel-links a svg { stroke: currentColor; }
.channel-links.big a { padding: 14px 20px; font-size: 15px; }
.p-sec { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.p-num { color: var(--gold-ink); font-size: 13px; font-weight: 600; padding-top: 2px; }
.p-t { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.p-d { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.blog-empty {
  text-align: center; background: var(--panel); border: 1px dashed var(--line2); border-radius: 18px;
  padding: 56px 30px; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.blog-empty img { width: 46px; height: 46px; border-radius: 11px; opacity: .9; }
.blog-empty p { color: var(--muted); max-width: 46ch; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 90px 22px 110px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf .code { font-size: 60px; font-weight: 600; color: var(--gold-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .boards { grid-template-columns: repeat(2, 1fr); }
  .r-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .list-head, .list-row { grid-template-columns: 36px 1.6fr 1.4fr 60px 1.3fr .9fr 84px; }
  .lr-disc { display: none; }
  .fund-cols { grid-template-columns: 1fr; }
  .fund-side { position: static; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 52px; }
  .method-cols { grid-template-columns: 1fr; gap: 30px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .fund-hero { grid-template-columns: 1fr; gap: 22px; }
  .fund-hero-score { display: flex; align-items: center; gap: 18px; text-align: left; width: fit-content; }
  .fund-stats { grid-template-columns: repeat(2, 1fr); }
  .list-head { display: none; }
  .list-row { grid-template-columns: 30px 1.6fr 1fr 84px; }
  .lr-year, .lr-types { display: none; }
  .lr-cap { display: none; }
  .disc-row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .d-cond { grid-column: 1 / -1; }
  .kv { grid-template-columns: 1fr; gap: 3px; }
  .axis { grid-template-columns: 110px 1fr 36px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .r-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 16px; }
  .section { padding: 52px 0; }
  .fund-stats { grid-template-columns: 1fr 1fr; }
  .disc-row { padding: 14px 16px; }
}
