@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&display=swap");
/* =========================================================
   Xogta Crypto 24/7 — naqshadda guud
   Midabada waxay ku jiraan "variables" (--bg, --accent ...).
   Mugdi (dark) waa caadi; iftiin (light) waa [data-theme="light"].
   ========================================================= */
:root {
  --bg: #080B10;
  --bg-2: #0B1017;
  --card: #0F151D;
  --card-2: #0B1017;
  --line: #1C2733;
  --line-2: #263240;
  --text: #E8EEF4;
  --text-2: #C3CDD7;
  --muted: #9AA7B4;
  --accent: #4C9AFF;
  --accent-ink: #4C9AFF;
  --on-accent: #080B10;
  --up: #3DD68C;
  --down: #FF7A6B;
  --hawk: #F5A524;
  --hawk-soft: #F5C46B;
  --hawk-bg: #1E1A0E;
  --hawk-line: #4A3B16;
  --dove: #8CC2FF;
  --dove-bg: #0E1A2B;
  --dove-line: #1D3557;
  --ok-bg: #0E2A1D;
  --ok: #5BE49B;
  --radius: 16px;
  --font-scale: 1;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F6F7F9;
  --bg-2: #FFFFFF;
  --card: #FFFFFF;
  --card-2: #F3F5F8;
  --line: #E3E7EC;
  --line-2: #D5DBE2;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #5B6675;
  --up: #047857;
  --down: #C2410C;
  --hawk: #B45309;
  --hawk-soft: #92400E;
  --hawk-bg: #FFF7ED;
  --hawk-line: #FED7AA;
  --dove: #1D4ED8;
  --dove-bg: #EFF6FF;
  --dove-line: #BFDBFE;
  --ok-bg: #ECFDF5;
  --ok: #047857;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; font-size: calc(15px * var(--font-scale)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); }
img { max-width: 100%; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent-ink); }
.muted { color: var(--muted); }
.small { font-size: .87rem; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.r { text-align: right; }
.up { color: var(--up); }
.down { color: var(--down); }
.hawk { color: var(--hawk); }
.dove { color: var(--dove); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand-mark svg { stroke: var(--on-accent); }
.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav a { padding: 10px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { background: var(--card-2); color: var(--text); }
.main-nav a[aria-current="page"] { background: var(--card-2); color: var(--text); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--card-2); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--card-2); color: var(--muted); white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.live { background: var(--ok-bg); color: var(--ok); }
.status.live .dot { background: var(--ok); animation: pulse 1.6s infinite; }
.status.warn { background: var(--hawk-bg); color: var(--hawk-soft); }
.status.warn .dot { background: var(--hawk); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 860px) {
  .main-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .main-nav a { padding: 8px 10px; font-size: .93rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-row { padding-top: 10px; padding-bottom: 6px; }
}

/* ---------- Theme panel ---------- */
.theme-panel { position: absolute; right: 24px; top: 100%; margin-top: 8px; width: 310px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); z-index: 30; }
.theme-panel[hidden] { display: none; }
.theme-panel h2 { margin: 0; font-size: 1.05rem; }
.theme-panel .label { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; }
.swatch[aria-pressed="true"] { border-color: var(--text); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg button { padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 600 .87rem Inter, sans-serif; cursor: pointer; min-height: 44px; }
.seg button[aria-pressed="true"] { border: 2px solid var(--accent); color: var(--text); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); background: var(--card-2); }
.ticker-track { display: flex; gap: 32px; width: max-content; padding: 9px 24px; font: 500 .87rem "JetBrains Mono", monospace; white-space: nowrap; animation: scroll 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item .sym { color: var(--muted); margin-right: 6px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections & cards ---------- */
.section { padding: 28px 0 6px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--hawk-soft); margin-bottom: 6px; text-transform: uppercase; }
.h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 10px; }
.h2 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.2; margin: 0; }
.h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; margin: 4px 0 10px; }
.lead { font-size: 1.12rem; color: var(--text-2); margin: 0; max-width: 760px; }
.note { font-size: .87rem; color: var(--muted); margin: 12px 0 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card-2 { background: var(--card-2); border-radius: 12px; padding: 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 240px), 1fr)); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--card-2); color: var(--text-2); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.hawk { background: var(--hawk-bg); color: var(--hawk-soft); }
.chip.dove { background: var(--dove-bg); color: var(--dove); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; min-height: 44px; border-radius: 10px; border: 0; background: var(--accent); color: var(--on-accent); font: 700 .95rem Inter, sans-serif; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }

/* ---------- KPI ---------- */
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi-label { font-size: .87rem; color: var(--muted); }
.kpi-value { font-family: "Space Grotesk", sans-serif; font-size: 1.95rem; font-weight: 700; line-height: 1.15; }
.kpi-sub { font-size: .87rem; color: var(--muted); }
.fng-bar { position: relative; height: 8px; border-radius: 4px; margin-top: 8px; background: linear-gradient(90deg, #FF7A6B, #F5A524 35%, #9AA7B4 50%, #8BD17C 65%, #3DD68C); }
.fng-pin { position: absolute; top: -4px; width: 4px; height: 16px; border-radius: 2px; background: var(--text); left: 50%; transition: left .6s; display: none; }

/* ---------- FED decisions ---------- */
.decision { background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.decision.next { background: var(--hawk-bg); border-color: var(--hawk-line); }
.decision .when { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.decision.next .when { color: var(--hawk-soft); }
.decision .what { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; }
.decision .detail { color: var(--text-2); }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; text-align: center; min-width: 64px; }
.countdown b { display: block; font: 700 1.4rem "JetBrains Mono", monospace; }
.countdown span { font-size: .75rem; color: var(--muted); }

/* ---------- Coins table ---------- */
.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
.data th { text-align: left; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data th.r { text-align: right; }
.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data tr:last-child td { border-bottom: 0; }
.data tbody tr:hover { background: var(--card-2); }
.coin-cell { display: flex; align-items: center; gap: 12px; }
.coin-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem Inter, sans-serif; color: #080B10; flex: none; }
.coin-name { font-weight: 600; }
.coin-sym { color: var(--muted); font-size: .87rem; }
.price { font-family: "JetBrains Mono", monospace; font-weight: 700; border-radius: 6px; padding: 2px 6px; transition: background-color .8s; }
.flash-up { background-color: rgba(61, 214, 140, .25); transition: none; }
.flash-down { background-color: rgba(255, 122, 107, .25); transition: none; }
.chg { font-weight: 700; }
.rank { color: var(--muted); width: 32px; }
.spark { display: block; margin-left: auto; }
.skeleton { display: inline-block; height: 14px; width: 80px; border-radius: 4px; background: linear-gradient(90deg, var(--card-2), var(--line), var(--card-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 760px) { .hide-sm { display: none; } .data td, .data th { padding: 12px 10px; } }
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .coin-icon { display: none; }
  .data td, .data th { padding: 12px 8px; }
  .price, .chg { font-size: .87rem; }
  .kpi-value { font-size: 1.65rem; }
}

/* ---------- Soon ---------- */
.soon { border-style: dashed; border-color: var(--line-2); }
.soon-list { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); }
.soon-list li { margin: 4px 0; }

/* ---------- FED education ---------- */
.chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.step { flex: 1 1 160px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.step .num, .num { font: 500 .8rem "JetBrains Mono", monospace; color: var(--accent-ink); }
.step span:last-child { font-size: .87rem; color: var(--muted); }
.step.hi { background: var(--hawk-bg); border-color: var(--hawk-line); }
.step.hi .num { color: var(--hawk-soft); }
.chev { display: flex; align-items: center; color: var(--muted); font-size: 22px; }
@media (max-width: 760px) { .chev { display: none; } }
.effects { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.effects li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--card-2); border-radius: 10px; }
.side-hawk { border-color: var(--hawk-line); }
.side-dove { border-color: var(--dove-line); }

.lessons { display: flex; flex-direction: column; gap: 10px; }
.lesson { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.lesson summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; gap: 16px; align-items: center; min-height: 44px; }
.lesson summary::-webkit-details-marker { display: none; }
.lesson summary .num { flex: none; width: 70px; }
.lesson summary b { font-size: 1.08rem; flex: 1; }
.lesson summary .time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.lesson summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); width: 20px; text-align: center; }
.lesson[open] summary::after { content: "−"; }
.lesson[open] { border-color: var(--accent); }
.lesson-body { padding: 0 20px 20px 106px; color: var(--text-2); }
.lesson-body p { margin: 0 0 10px; max-width: 780px; }
.lesson-body .example { background: var(--card-2); border-radius: 10px; padding: 12px 14px; margin-top: 6px; }
@media (max-width: 640px) { .lesson-body { padding: 0 18px 18px; } .lesson summary .num { width: auto; } }
.gloss .card p, .values .card p { margin: 4px 0 0; font-size: .93rem; color: var(--text-2); }

/* ---------- About ---------- */
.founder { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 32px; }
.founder-photo { width: 150px; height: 150px; border-radius: 24px; background: var(--card-2); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 4rem "Space Grotesk", sans-serif; color: var(--accent); flex: none; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-body { flex: 1 1 380px; }
.founder-name { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; margin: 0; line-height: 1.1; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-top: 32px; }
.footer-grid a { display: block; color: var(--text-2); text-decoration: none; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 28px; margin-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- Taariikhda FED ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 9px 13px; min-height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); font: 600 .87rem Inter, sans-serif; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.years { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.year { text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 10px; padding: 10px 12px; min-height: 64px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font: inherit; }
.year b { font-size: 1.05rem; }
.year span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.year.hike { background: var(--hawk-bg); border-color: var(--hawk-line); }
.year.hike span { color: var(--hawk-soft); }
.year.cut { background: var(--dove-bg); border-color: var(--dove-line); }
.year.cut span { color: var(--dove); }
.year.mixed span { color: var(--text-2); }
.year[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 1px; }
.year:hover { border-color: var(--accent); }
.stats { display: flex; flex-wrap: wrap; gap: 22px; }
.stats div { display: flex; flex-direction: column; }
.stats span { font-size: .85rem; color: var(--muted); }
.stats b { font-size: 1.2rem; }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.month { text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; font: inherit; min-height: 120px; }
.month b { font-size: 1rem; }
.month .m-sub { font-size: .78rem; color: var(--muted); }
.month .m-val { font-size: .87rem; font-weight: 600; margin-top: auto; }
.month.hike { border-color: var(--hawk-line); }
.month.cut { border-color: var(--dove-line); }
.month.empty { background: var(--card-2); border-style: dashed; color: var(--muted); }
.month[aria-pressed="true"] { outline: 3px solid var(--accent); outline-offset: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--text-2); }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.chart-box { width: 100%; overflow: hidden; }
.chart-box svg { display: block; width: 100%; height: auto; }
.summary { background: var(--card-2); border-radius: 12px; padding: 16px 18px; }
.summary p { margin: 6px 0 0; color: var(--text-2); max-width: 900px; }
@media (max-width: 640px) {
  .years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .year { padding: 8px 10px; min-height: 56px; }
  .months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chips button { white-space: nowrap; }
}

/* ---------- AI Agent, Filashada, Wararka ---------- */
.split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.split > :first-child { flex: 999 1 560px; }
.split > :last-child { flex: 1 1 320px; }
.post { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post-time { flex: none; width: 92px; font-size: .8rem; color: var(--muted); padding-top: 2px; }
.post-body { flex: 1; min-width: 0; }
.post-title { font-weight: 700; font-size: 1.02rem; }
.post-body p { margin: 4px 0 8px; color: var(--text-2); font-size: .93rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 560px) { .post { flex-direction: column; gap: 4px; } .post-time { width: auto; } }
.odds-row { margin-bottom: 12px; }
.odds-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bar { height: 12px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.bar div { height: 12px; border-radius: 6px; }
.news-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.news-item:last-child { border-bottom: 0; }
.news-title { margin: 0; font-size: 1.08rem; line-height: 1.35; }

/* ---------- Luqadda ---------- */
html[data-lang="en"] .so { display: none !important; }
html:not([data-lang="en"]) .en { display: none !important; }
.lang-switch { display: flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.lang-switch button { min-width: 44px; min-height: 42px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); font: 700 .85rem Inter, sans-serif; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* ---------- Dejinta: menu yar ---------- */
.theme-panel { width: 290px; padding: 6px 0; gap: 0; border-radius: 14px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: .95rem; color: var(--text); }
.set-row + .set-row { border-top: 1px solid var(--line); }
.pill-seg { display: flex; padding: 3px; gap: 2px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; }
.pill-seg button { min-width: 36px; height: 32px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 700 .82rem Inter, sans-serif; display: grid; place-items: center; cursor: pointer; }
.pill-seg button:hover { color: var(--text); }
.pill-seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.dots { display: flex; gap: 8px; }
.dot-sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; outline: 2px solid transparent; cursor: pointer; padding: 0; }
.dot-sw[aria-pressed="true"] { outline-color: var(--text); outline-offset: 2px; }
.lang-btn { font: 700 .82rem Inter, sans-serif; width: 44px; }

/* ---------- Ku saabsan: mega menu ---------- */
.nav-drop { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2); font: 500 1rem Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.nav-drop:hover, .nav-drop[aria-expanded="true"] { background: var(--card-2); color: var(--text); }
.nav-drop[aria-current="page"] { color: var(--text); font-weight: 700; }
.nav-drop .chev-ic { transition: transform .2s; }
.nav-drop[aria-expanded="true"] .chev-ic { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #0E0E0C; color: #F3F1EA; border-bottom: 1px solid #2A2A27; box-shadow: 0 30px 60px rgba(0,0,0,.45); z-index: 25; animation: megaIn .18s ease-out; }
.mega[hidden] { display: none; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { padding-top: 34px; padding-bottom: 40px; }
.mega-head { display: inline-flex; align-items: center; gap: 16px; color: #F3F1EA; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; letter-spacing: -.02em; }
.mega-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #4A4A45; display: grid; place-items: center; transition: background .2s, color .2s; }
.mega-head:hover .mega-arrow { background: #F3F1EA; color: #0E0E0C; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 26px; padding-top: 30px; border-top: 1px solid #2A2A27; }
.mm-label { font-family: "JetBrains Mono", monospace; font-size: .74rem; letter-spacing: .08em; color: #8C8A82; margin-bottom: 18px; }
.mm-item { display: block; text-decoration: none; padding: 8px 0 12px; }
.mm-t { display: block; color: #F3F1EA; font-size: 1.08rem; }
.mm-s { display: block; color: #A3A199; font-size: .88rem; margin-top: 2px; line-height: 1.4; }
.mm-item:hover .mm-t { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .mega { max-height: calc(100vh - 120px); overflow-y: auto; }
  .mega-inner { padding-top: 22px; padding-bottom: 26px; }
  .mega-head { font-size: 1.3rem; }
  .mega-cols { grid-template-columns: 1fr; gap: 6px; margin-top: 18px; padding-top: 18px; }
  .mm-label { margin: 12px 0 6px; }
  .nav-drop { padding: 8px 10px; font-size: .93rem; }
}

/* ---------- Bogga Ku saabsan ---------- */
.about { padding-bottom: 40px; }
.ab-hero { padding: 64px 0 40px; max-width: 900px; }
.ab-title { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin: 14px 0 18px; }
.ab-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.ab-label h2 { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; margin: 6px 0 0; }
.mm-num { font-family: "JetBrains Mono", monospace; font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.ab-body { max-width: 760px; }
.ab-body p { color: var(--text-2); line-height: 1.7; margin: 0 0 14px; }
.ab-big { font-size: 1.3rem; color: var(--text) !important; line-height: 1.5 !important; }
.ab-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.ab-offer a { display: block; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ab-offer b { display: block; color: var(--text); font-weight: 600; }
.ab-offer span { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
.ab-offer a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.fd { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fd-photo { width: 140px; height: 140px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 3.4rem "Space Grotesk", sans-serif; color: var(--accent); overflow: hidden; flex: none; }
.fd-photo.has-img { background: #fff; }
.fd-photo img { width: 100%; height: 100%; object-fit: cover; }
.fd-handle { display: inline-block; margin-top: 8px; font-weight: 600; }
.fd-quote { margin: 26px 0 20px; padding: 0 0 0 18px; border-left: 3px solid var(--accent); font-family: "Space Grotesk", sans-serif; font-size: 1.45rem; line-height: 1.35; color: var(--text); }
@media (max-width: 760px) {
  .ab-hero { padding: 36px 0 24px; }
  .ab-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .ab-offer { grid-template-columns: 1fr; }
  .fd-photo { width: 104px; height: 104px; }
  .fd-quote { font-size: 1.2rem; }
}

/* ---------- Logo ---------- */
.brand-logo { display: grid; flex: none; border-radius: 11px; box-shadow: 0 0 0 1px var(--line-2); }
.brand-logo svg { display: block; border-radius: 11px; }
.brand-wm span { display: block; font: 800 1.32rem "Space Grotesk", sans-serif; letter-spacing: -.01em; line-height: 1; color: var(--text); }
.brand-wm em { display: block; font: 600 .62rem Inter, sans-serif; font-style: normal; letter-spacing: .3em; color: #3FB8FF; margin-top: 4px; }
[data-theme="light"] .brand-wm em { color: #1D6FD8; }
@media (max-width: 860px) { .brand-logo svg { width: 36px; height: 36px; } .brand-wm span { font-size: 1.15rem; } }

/* ---------- Kaarka aasaasaha ---------- */
.fcard { margin: 8px 0 56px; border: 1px solid var(--line-2); border-radius: 28px; padding: 56px 64px; display: flex; gap: 64px; align-items: center;
  background: radial-gradient(900px 500px at 78% 115%, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--card)) 0%, var(--card) 60%); scroll-margin-top: 90px; }
.fcard-photo { width: 280px; height: 280px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; background: var(--card-2); border: 6px solid var(--bg); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent), 0 30px 60px rgba(0,0,0,.4); font: 700 5rem "Space Grotesk", sans-serif; color: var(--accent); }
.fcard-photo.has-img { background: #fff; }
.fcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.fcard-body { flex: 1; min-width: 0; }
.fcard-lab { font: 700 .78rem Inter, sans-serif; letter-spacing: .14em; color: var(--accent-ink); }
.fcard-name { font: 700 clamp(2.2rem, 5vw, 3rem) "Space Grotesk", sans-serif; letter-spacing: -.03em; margin: 12px 0 8px; line-height: 1.05; }
.fcard-role { color: var(--muted); font-size: 1.05rem; margin: 0; }
.fcard-quote { margin: 24px 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: 0 14px 14px 0; font: 700 1.3rem "Space Grotesk", sans-serif; line-height: 1.4; color: var(--text); }
.fcard-text { color: var(--text-2); font-size: 1.05rem; line-height: 1.75; margin: 0; max-width: 640px; }
.fcard-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--text); font-weight: 700; text-decoration: none; }
.fbtn:hover { border-color: var(--accent); }
@media (max-width: 860px) {
  .fcard { flex-direction: column; text-align: center; padding: 36px 22px; gap: 26px; }
  .fcard-photo { width: 180px; height: 180px; }
  .fcard-quote { text-align: left; font-size: 1.12rem; }
  .fcard-text { text-align: left; }
  .fcard-btns { justify-content: center; }
}

/* ---------- CUSUB ---------- */
.new-badge { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 3px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 800 .7rem Inter, sans-serif; letter-spacing: .08em; vertical-align: 2px; }
.new-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
.post.is-new { background: color-mix(in srgb, var(--ok) 6%, transparent); border-radius: 14px; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }

/* ---------- Telegram ---------- */
.tg-card { display: flex; align-items: center; gap: 28px; padding: 34px 38px; border-radius: 24px; border: 1px solid color-mix(in srgb, #2AABEE 35%, var(--line-2));
  background: radial-gradient(600px 300px at 90% 120%, rgba(42,171,238,.22), transparent 60%), linear-gradient(135deg, color-mix(in srgb, #2AABEE 10%, var(--card)), var(--card)); }
.tg-ic { width: 72px; height: 72px; border-radius: 50%; background: #2AABEE; color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 12px 30px rgba(42,171,238,.35); }
.tg-ic svg { margin-left: -3px; }
.tg-body { flex: 1; min-width: 0; }
.tg-title { font: 700 1.8rem "Space Grotesk", sans-serif; letter-spacing: -.02em; margin: 6px 0 8px; }
.tg-text { color: var(--text-2); margin: 0; max-width: 640px; line-height: 1.6; }
.tg-meta { margin-top: 10px; color: var(--muted); font-size: .92rem; } .tg-meta #tg-members { color: var(--text); font-weight: 700; }
.tg-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; background: #2AABEE; color: #fff; font-weight: 700; font-size: 1.02rem; text-decoration: none; box-shadow: 0 10px 24px rgba(42,171,238,.3); }
.tg-btn:hover { background: #1E96D4; }
@media (max-width: 760px) { .tg-card { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 16px; } .tg-btn { width: 100%; justify-content: center; } .tg-ic { width: 58px; height: 58px; } }

/* ---------- Wararka warbaahinta ---------- */
.media-list { display: flex; flex-direction: column; }
.media-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.media-item:last-child { border-bottom: 0; }
.media-item:hover .media-title { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.media-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.media-meta .new-badge { margin-right: 0; }
.media-src { font: 700 .78rem Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.media-title { display: block; font-weight: 600; font-size: 1.04rem; line-height: 1.45; color: var(--text); }

/* ---------- Telegram + X badhamada ---------- */
.tg-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text); font-weight: 700; text-decoration: none; }
.x-btn:hover { border-color: var(--text); }

/* ---------- Qoraalka dheer: "Akhri dhammaan" ---------- */
.post-text.clamp p:not(:first-child) { display: none; }
.post-more { border: 0; background: none; padding: 2px 0 8px; color: var(--accent-ink); font: 600 .88rem Inter, sans-serif; cursor: pointer; }

/* ---------- Menu-ga taleefanka (☰) ---------- */
.menu-btn, .drawer, .drawer-bg { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .header-tools #theme-btn, .header-tools .lang-btn { display: none; }
  .main-nav { display: none !important; }
  .drawer-bg { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(3,6,12,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
  .drawer-bg.open { opacity: 1; }
  .drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(84vw, 360px); overflow-y: auto;
    padding: 18px 26px calc(28px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg-2)), var(--bg-2));
    border-left: 1px solid var(--line-2); box-shadow: -20px 0 50px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .22s ease; }
  .drawer.open { transform: none; }
  .drawer[hidden], .drawer-bg[hidden] { display: none; }
  .dr-close { margin-left: auto; display: grid; }
  .dr-main { display: flex; flex-direction: column; margin-top: 10px; }
  .dr-big { padding: 12px 0; font: 700 1.5rem "Space Grotesk", sans-serif; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
  .dr-big[aria-current="page"] { color: var(--accent-ink); }
  .dr-sep { height: 1px; background: var(--line-2); margin: 14px 0 6px; }
  .dr-label { margin: 22px 0 8px; font: 700 .74rem Inter, sans-serif; letter-spacing: .14em; color: var(--muted); }
  .dr-link { display: block; padding: 9px 0; font-size: 1.08rem; color: var(--text-2); text-decoration: none; }
  .dr-link:hover { color: var(--text); }
  .dr-set { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; color: var(--text-2); }
  .dr-foot { margin-top: 26px; font-size: .8rem; color: var(--muted); }
  .header-row { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .header-tools { gap: 8px; }
  .header-tools .icon-btn { width: 42px; height: 42px; min-height: 42px; }
  .status { padding: 6px 10px; font-size: .78rem; }
  .brand-logo svg { width: 34px; height: 34px; }
  .brand-wm span { font-size: 1.08rem; }
  .brand-wm em { font-size: .55rem; letter-spacing: .26em; }

  /* qoraalka */
  h1:not(.ab2-title), .h1 { font-size: 1.65rem !important; line-height: 1.2 !important; letter-spacing: -.02em; }
  .h2 { font-size: 1.3rem; }
  .lead { font-size: 1rem; }
  .section { padding-top: 22px; padding-bottom: 6px; }
  .card { padding: 16px; border-radius: 16px; }

  /* go'aannada FED: 2 tiir */
  .dec-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .dec-grid > .next { grid-column: 1 / -1; }
  .dec-grid .decision { padding: 14px; }
  .dec-grid .decision .when { font-size: .66rem; letter-spacing: .06em; }
  .dec-grid .decision .what { font-size: 1.15rem; }
  .dec-grid .decision .detail { font-size: .8rem; }
  .dec-grid .decision.next .what { font-size: 1.2rem; line-height: 1.3; }
  .status { max-width: 110px; overflow: hidden; white-space: nowrap; }

  /* countdown: 4 sanduuq hal saf */
  .countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .countdown div { min-width: 0; padding: 8px 4px; }
  .countdown b { font-size: 1.2rem; }
  .countdown span { font-size: .66rem; }

  /* xogta u dambeysay: magaca iyo qiimaha */
  #latest-data .card-2 { padding: 12px 14px; }
  #latest-data .card-2 a.small { font-size: .72rem; white-space: nowrap; }

  /* kaararka suuqa: 2 tiir */
  #crypto .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  #crypto .kpi { padding: 14px; }
  #crypto .kpi-label { font-size: .76rem; }
  #crypto .kpi-value { font-size: 1.3rem; }

  /* Telegram */
  .tg-actions { width: 100%; }
  .x-btn { width: 100%; }
}


/* ---------- Chart-yada FED (kaararka) ---------- */
.ft-head { align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.ft-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ft-tabs button { font: 600 .85rem Inter, system-ui, sans-serif; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; }
.ft-tabs button.on { background: var(--line-2); color: var(--text); }
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ft-grid + .ft-grid { margin-top: 16px; }
.ft {
  --ft-bg: radial-gradient(120% 90% at 50% 0%, #163039 0%, #0D1A20 45%, #090F14 100%);
  position: relative; display: block; overflow: hidden; border-radius: 18px; padding: 20px 20px 0;
  border: 1px solid #1E2C33; background: var(--ft-bg); color: var(--text); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: transform .15s, border-color .15s;
}
.ft:hover { transform: translateY(-2px); border-color: #2C4651; }
.ft.big { height: 290px; }
.ft.mid { height: 215px; }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ft-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; min-width: 0; }
.ft.mid .ft-name { font-size: 1.12rem; }
.ft-ic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 15px; }
.ft-badge { flex: none; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: #9AA7B4; white-space: nowrap; }
.ft-badge.gold { color: #F5D27A; font-weight: 700; }
.ft-val { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ft-val .mono { font: 700 1.4rem "JetBrains Mono", monospace; }
.ft.mid .ft-val .mono { font-size: 1.2rem; }
.ft-chg { font-weight: 700; font-size: .92rem; }
.ft-chg.up { color: #2FD9A6; } .ft-chg.down { color: #FF7A6B; } .ft-chg.flat { color: #9AA7B4; }
.ft-sub { font-size: .78rem; color: #8696A3; margin-top: 4px; }
.ft-chart { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none; }
.ft.mid .ft-chart { height: 50%; }
.ft-chart svg { width: 100%; height: 100%; display: block; }
.ft-next { display: grid; grid-template-columns: repeat(4, 1fr) 130px; gap: 12px; margin-top: 16px; }
.ftn { border-radius: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.ftn-n { font-weight: 700; }
.ftn-d { color: var(--text-2); font-size: .86rem; margin-top: 5px; }
.ftn-c { color: #2FD9A6; font-size: .84rem; font-weight: 700; margin-top: 5px; }
.ftn.more { display: grid; place-items: center; text-align: center; font-weight: 700; }
[data-theme="light"] .ft { --ft-bg: radial-gradient(120% 90% at 50% 0%, #E6F6F1 0%, #F5FAF9 50%, #FFFFFF 100%); border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
[data-theme="light"] .ft-badge, [data-theme="light"] .ft-ic { background: var(--card-2); color: var(--muted); }
[data-theme="light"] .ft-badge.gold { color: #A16207; }
[data-theme="light"] .ft-sub { color: var(--muted); }
[data-theme="light"] .ft-chg.up, [data-theme="light"] .ftn-c { color: #047857; }
[data-theme="light"] .ft-chg.down { color: #C2410C; }
[data-theme="light"] .ft-chart .glow { display: none; }
@media (max-width: 1000px) {
  .ft-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-next { grid-template-columns: repeat(2, 1fr); }
  .ftn.more { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ft-grid { grid-template-columns: 1fr; gap: 12px; }
  .ft-grid + .ft-grid { margin-top: 12px; }
  .ft.big { height: 230px; } .ft.mid { height: 190px; }
  .ft { padding: 16px 16px 0; }
  .ft-name { font-size: 1.12rem; }
  .ft-tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 2px; }
  .ft-tabs button { flex: none; }
}

/* ---------- Footer (qaabka RootData) ---------- */
.site-footer { position: relative; margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg-2); }
.ff-grid { display: grid; grid-template-columns: minmax(260px, 1.1fr) 2fr; gap: 40px; padding: 56px 0 28px; }
.ff-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.ff-logo svg { border-radius: 12px; }
.ff-wm { display: flex; flex-direction: column; line-height: 1.05; }
.ff-wm b { font-size: 1.55rem; letter-spacing: .04em; }
.ff-wm span { font-size: .78rem; letter-spacing: .28em; color: var(--accent); font-weight: 700; margin-top: 3px; }
.ff-tag { font-weight: 600; color: var(--text-2); margin: 16px 0 18px; }
.ff-social { display: flex; gap: 18px; flex-wrap: wrap; }
.fs-ic { color: var(--text); opacity: .85; transition: opacity .15s, transform .15s; display: inline-flex; }
.fs-ic:hover { opacity: 1; transform: translateY(-2px); color: var(--accent); }
.ff-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol b { display: block; font-size: 1.05rem; margin-bottom: 14px; color: var(--text); }
.fcol a { display: block; color: var(--muted); text-decoration: none; padding: 7px 0; }
.fcol a:hover { color: var(--text); }
.fbadge { display: inline-block; margin-left: 6px; vertical-align: 1px; white-space: nowrap; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.ff-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 64px 32px 0; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.ff-disc { max-width: 60ch; }
.to-top { position: absolute; right: 24px; bottom: 28px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) {
  .ff-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .ff-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .to-top { right: 16px; bottom: auto; top: 24px; }
}
.ft[hidden], .ft-grid[hidden], .ft-next[hidden] { display: none !important; }

/* ---------- Qoraalka (typography) — xirfadeed ---------- */
:root { --font-display: "Inter Tight", Inter, system-ui, sans-serif; }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.h1, .h2, .h3, .kpi-value, .decision .what, .tg-title, .ab-title, .fcard-name, .ab-label h2, .mega-head {
  font-family: var(--font-display); letter-spacing: -0.025em; font-weight: 700;
}
.h1 { font-weight: 800; letter-spacing: -0.035em; }
.eyebrow { letter-spacing: .14em; font-weight: 700; }
.lead, p { line-height: 1.6; }
.fnum { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ft-val .mono { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- FED-ka maanta (naqshadda cusub) ---------- */
.fh-band {
  position: relative; overflow: hidden; border-radius: 24px; padding: 30px 32px; color: #E8EEF4;
  background: radial-gradient(90% 130% at 0% 0%, #1B3355 0%, #0B1220 55%, #070B12 100%);
  display: grid; grid-template-columns: minmax(300px, 1.05fr) 1.6fr 190px; gap: 28px; align-items: center;
  box-shadow: 0 20px 50px -24px rgba(7, 11, 18, .55);
}
.fh-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 100%); }
.fh-band > * { position: relative; min-width: 0; }
.fh-eb, .fh-eb2 { display: block; font-size: .74rem; letter-spacing: .16em; font-weight: 700; color: #7CC8FF; }
.fh-eb2 { color: #8FA0B2; margin-bottom: 10px; }
.fh-big { font-size: clamp(2.3rem, 4.2vw, 3.3rem); font-weight: 800; line-height: 1.05; margin: 10px 0 10px; white-space: nowrap; color: #fff; }
.fh-last { margin: 0; color: #A9B6C4; font-size: .95rem; line-height: 1.6; }
.fh-last b { color: #fff; }
.fh-act.hike { color: #F2A93B !important; } .fh-act.cut { color: #7DB2FF !important; }
.fh-chip { display: inline-block; margin-top: 14px; font-size: .84rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.1); }
.fh-chip:hover { background: rgba(255,255,255,.14); }
.fh-rib { border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); padding: 0 22px; }
.fh-ribbon { --rbh: 100px; display: flex; align-items: flex-end; gap: 8px; }
.rb { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.rb-bar { width: 100%; max-width: 28px; border-radius: 6px 6px 2px 2px; opacity: .9; flex: none; }
.rb-bar.q { border: 2px dashed rgba(255,255,255,.35); background: transparent !important; }
.rb b { font-size: .8rem; line-height: 1; }
.rb span { font-size: .66rem; color: #8FA0B2; white-space: nowrap; }
.rb.nx b { color: #fff; }
.fh-legend { display: flex; gap: 14px; margin-top: 12px; font-size: .74rem; color: #8FA0B2; flex-wrap: wrap; }
.fh-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.fh-ring { text-align: center; }
.fh-ring svg { width: 150px; height: 150px; display: block; margin: 0 auto; }
.fh-ring-in { position: relative; margin-top: -150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fh-ring-in b { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; }
.fh-ring-in span { font-size: .78rem; color: #A9B6C4; margin-top: 4px; }
.fh-ring-in em { font-style: normal; font-size: .76rem; color: #7CC8FF; margin-top: 3px; }
.fh-nx { margin: 12px 0 0; font-size: .8rem; color: #A9B6C4; line-height: 1.5; }
.fh-nx b { color: #fff; font-size: .9rem; }
.fh-sep { color: #F2A93B; font-weight: 600; }

.fh-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
.k { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 0; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.k-t { font-size: .86rem; font-weight: 700; color: var(--text); }
.k-v { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.k-v .fnum { font-size: 1.7rem; font-weight: 800; }
.k-v em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.k-v em.up { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.k-v em.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.k-v em.flat { color: var(--muted); background: var(--card-2); }
.k-p { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.k-p a { color: var(--muted); }
.k-sp { display: block; width: calc(100% + 32px); height: 46px; margin: auto -16px 0; padding-top: 12px; }

.fh-tlw { margin-top: 16px; padding: 22px 26px 12px; overflow: visible; height: auto; }
.fh-tlh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fh-tlh .h3 { margin: 0; }
.fh-tl { position: relative; height: 210px; margin: 0 40px 0 60px; }
.tl-line { position: absolute; left: 0; right: 0; top: 99px; height: 3px; border-radius: 3px; background: var(--line); }
.tl-now { position: absolute; left: 0; top: 89px; transform: translateX(-60%); font-size: .66rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: #0B1220; padding: 4px 8px; border-radius: 6px; z-index: 1; }
[data-theme="dark"] .tl-now, :root:not([data-theme="light"]) .tl-now { background: var(--accent); color: var(--on-accent); }
.tl-ev { position: absolute; left: var(--x); top: 0; height: 100%; width: 0; }
.tl-ev i { position: absolute; top: 92px; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); }
.tl-ev.fomc i { border-color: #D97706; width: 22px; height: 22px; left: -11px; top: 90px; box-shadow: 0 0 0 5px color-mix(in srgb, #D97706 18%, transparent); }
.tl-c { position: absolute; left: -85px; width: 170px; text-align: center; }
.tl-ev.t-up .tl-c { bottom: 118px; } .tl-ev.t-dn .tl-c { top: 122px; }
.tl-d { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.tl-n { display: block; font-size: .84rem; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.tl-m { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 3px; }
.tl-m strong { color: var(--up); }
.tl-ev.fomc .tl-n { color: #B45309; }
:root:not([data-theme="light"]) .tl-ev.fomc .tl-n { color: #F2A93B; }

@media (max-width: 1100px) {
  .fh-band { grid-template-columns: 1fr 190px; }
  .fh-rib { grid-column: 1 / -1; grid-row: 2; border: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 0; }
  .fh-cards { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (max-width: 760px) {
  .fh-band { grid-template-columns: 1fr; padding: 22px 20px; gap: 22px; border-radius: 20px; }
  .fh-rate { text-align: left; }
  .fh-rib { grid-row: auto; }
  .fh-ribwrap-6 { }
  .fh-ribbon { --rbh: 80px; gap: 5px; }
  .rb span { font-size: .58rem; }
  .fh-ring { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; text-align: left; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
  .fh-ring svg { grid-column: 1; grid-row: 1; width: 120px; height: 120px; margin: 0; }
  .fh-ring-in { grid-column: 1; grid-row: 1; margin: 0; height: 120px; }
  .fh-nx { grid-column: 2; grid-row: 1; }
  .fh-ribbon .rb:nth-child(-n+4) { display: none; }
  .fh-ring-in b { font-size: 2rem; }
  .fh-nx { margin: 0; font-size: .9rem; }
  .fh-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fh-cards .k:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .k-v .fnum { font-size: 1.3rem; }
  .k { padding: 14px 14px 0; }
  .k-sp { width: calc(100% + 28px); margin: auto -14px 0; }
  .fh-tlw { padding: 18px 18px 8px; }
  /* timeline: liis toos ah (vertical) */
  .fh-tl { height: auto; margin: 14px 0 0; padding-left: 26px; }
  .tl-line { left: 8px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; }
  .tl-now { position: relative; display: inline-block; left: -26px; top: 0; transform: none; margin-bottom: 12px; }
  .tl-ev { position: relative; left: 0; top: 0; width: auto; height: auto; padding: 0 0 18px; }
  .tl-ev i, .tl-ev.fomc i { top: 3px; left: -26px; }
  .tl-ev.fomc i { left: -28px; top: 1px; }
  .tl-c, .tl-ev.t-up .tl-c, .tl-ev.t-dn .tl-c { position: static; width: auto; text-align: left; }
}

/* ---------- Kalandarka dhaqaalaha (filter dhinac) ---------- */
.cal-card { margin-top: 16px; padding: 22px 24px; }
.cal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cal-ftoggle { display: none; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: 600 .88rem Inter, sans-serif; cursor: pointer; flex: none; }
.cal-ftoggle b { min-width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .7rem; display: grid; place-items: center; padding: 0 5px; }
.cal-ftoggle b:empty { display: none; }
.cal-wrap { display: grid; grid-template-columns: 270px 1fr; gap: 24px; margin-top: 18px; align-items: start; }
.cal-side { position: sticky; top: 84px; background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.cal-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); }
.cal-search:focus-within { border-color: var(--accent); }
.cal-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 .9rem Inter, sans-serif; }
.cal-grp > b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.cal-seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); }
.cal-seg button { padding: 7px 4px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font: 600 .78rem Inter, sans-serif; cursor: pointer; }
.cal-seg button.on { background: var(--accent); color: var(--on-accent); }
.cal-chk { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 9px; cursor: pointer; font-size: .86rem; }
.cal-chk:hover { background: var(--card); }
.cal-chk input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; flex: none; }
.cal-chk em { margin-left: auto; font-style: normal; font-size: .74rem; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; min-width: 26px; text-align: center; }
.cal-sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cal-reset { padding: 9px; border-radius: 11px; border: 1px dashed var(--line-2); background: transparent; color: var(--text-2); font: 600 .84rem Inter, sans-serif; cursor: pointer; }
.cal-reset:hover { border-color: var(--accent); color: var(--accent); }
.cal-main { min-width: 0; }
.cal-sum { padding-bottom: 4px; }
.cal-day { display: flex; align-items: center; gap: 8px; padding: 14px 0 6px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.cal-day b { font-weight: 700; }
.cal-tag { font-size: .68rem; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); letter-spacing: .04em; }
.cal-row { position: relative; display: grid; grid-template-columns: 54px 1fr auto 100px; align-items: center; gap: 14px; padding: 10px 12px 10px 16px; border-radius: 12px; }
.cal-row::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line-2); }
.cal-row.k-infl::before { background: #F2A93B; } .cal-row.k-jobs::before { background: #5B9DFF; } .cal-row.k-growth::before { background: #1FBF86; } .cal-row.k-fed::before { background: #D97706; }
.cal-row:hover { background: var(--card-2); }
.cal-row.lvl3 { background: color-mix(in srgb, #D97706 7%, transparent); }
.cal-time { font-weight: 700; color: var(--text-2); }
.cal-name { min-width: 0; }
.cal-name b { display: block; font-weight: 600; font-size: .93rem; }
.cal-name em { display: block; font-style: normal; font-size: .74rem; color: var(--muted); margin-top: 1px; }
.cal-name em a { color: var(--muted); }
.cal-dots { display: inline-flex; gap: 3px; flex: none; }
.cal-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.cal-dots i.on { background: #D97706; }
.cal-left { text-align: right; font-size: .82rem; font-weight: 700; color: var(--up); white-space: nowrap; }
.cal-empty { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 36px 10px; color: var(--muted); }
.cal-empty b { color: var(--text); }
@media (max-width: 900px) {
  .cal-ftoggle { display: inline-flex; }
  .cal-wrap { grid-template-columns: 1fr; gap: 12px; }
  .cal-side { display: none; position: static; }
  .cal-side.open { display: flex; }
}
@media (max-width: 760px) {
  .cal-card { padding: 18px 16px; }
  .cal-row { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 8px 10px 14px; }
  .cal-left { grid-column: 2 / -1; text-align: left; font-size: .76rem; margin-top: -4px; }
  .cal-name b { font-size: .88rem; }
}

/* ---------- Bogga Kalandarka ---------- */
.fh-callink { font-size: .86rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.fh-callink:hover { text-decoration: underline; }
.kal-hero-sec { padding-bottom: 8px; }
.kal-hero {
  position: relative; overflow: hidden; border-radius: 26px; padding: 40px 40px; color: #E8EEF4;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  background: radial-gradient(70% 120% at 0% 0%, #1D3A63 0%, #0B1220 55%, #070B12 100%);
  box-shadow: 0 30px 60px -30px rgba(7, 11, 18, .6);
}
.kal-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(80% 90% at 20% 30%, #000 0%, transparent 85%); }
.kal-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,184,255,.22) 0%, transparent 65%); pointer-events: none; }
.kal-hero > * { position: relative; min-width: 0; }
.kh-eb { font-size: .74rem; letter-spacing: .18em; font-weight: 700; color: #7CC8FF; }
.kh-title { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; margin: 14px 0 14px; color: #fff; }
.kh-lead { color: #A9B6C4; font-size: 1.02rem; line-height: 1.6; margin: 0; max-width: 52ch; }
.kh-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.kh-chip { padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .9rem; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.kh-chip.on { background: #fff; color: #0B1220; border-color: #fff; }
.kh-chip:hover { transform: translateY(-1px); }
.kh-next { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); }
.kh-nl { display: flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .14em; font-weight: 700; color: #A9B6C4; }
.kh-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22E39A; box-shadow: 0 0 0 0 rgba(34,227,154,.6); animation: khp 1.8s infinite; }
@keyframes khp { 0% { box-shadow: 0 0 0 0 rgba(34,227,154,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,227,154,0); } 100% { box-shadow: 0 0 0 0 rgba(34,227,154,0); } }
.kh-kind { display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0B1220; padding: 4px 10px; border-radius: 999px; }
.kh-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 4px; color: #fff; }
.kh-when { margin: 0; color: #A9B6C4; font-size: .95rem; }
.kh-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.kh-cd div { text-align: center; padding: 12px 0; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.kh-cd b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.kh-cd span { font-size: .72rem; color: #A9B6C4; }
.kh-src { display: inline-block; margin-top: 14px; font-size: .82rem; color: #7CC8FF; text-decoration: none; }
.ks-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.ks { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.ks b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ks span { font-size: .78rem; color: var(--muted); }
.kw-wrap { margin-top: 16px; }
.kw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.kw-head b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.kw { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.kw-day { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-align: left; font: inherit; transition: transform .15s, border-color .15s; }
.kw-day:hover { transform: translateY(-2px); border-color: var(--accent); }
.kw-day span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.kw-day > b { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.kw-day small { font-size: .74rem; color: var(--muted); }
.kw-dots { display: flex; gap: 3px; min-height: 8px; }
.kw-dots i { width: 8px; height: 8px; border-radius: 50%; }
.kw-day.today { border-color: var(--accent); }
.kw-day.today span { color: var(--accent-ink); }
.kw-day.hot { background: color-mix(in srgb, #D97706 8%, var(--card)); border-color: color-mix(in srgb, #D97706 40%, var(--line)); }
.kw-day.empty { opacity: .6; }
.kw-day.on { outline: 2px solid var(--accent); outline-offset: 1px; }
.cal-sum b { color: var(--text); font-size: 1.05rem; }
.cal-sum { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-clear { border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); border-radius: 999px; padding: 3px 10px; font: 600 .76rem Inter, sans-serif; cursor: pointer; }
@media (max-width: 1000px) {
  .kal-hero { grid-template-columns: 1fr; padding: 30px 26px; gap: 24px; }
  .ks-row { grid-template-columns: repeat(3, 1fr); }
  .kw { grid-template-columns: repeat(7, minmax(92px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 760px) {
  .kal-hero { padding: 24px 18px; border-radius: 22px; }
  .kh-name { font-size: 1.25rem; }
  .kh-cd { gap: 6px; }
  .kh-cd b { font-size: 1.4rem; }
  .kh-cd span { font-size: .62rem; }
  .kh-next { padding: 18px; }
  .ks-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ks:last-child { grid-column: 1 / -1; }
  .ks b { font-size: 1.4rem; }
  .kw { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; }
  .kw-day { flex: 0 0 104px; scroll-snap-align: start; }
}

.kw-head > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.kw-hint { font-size: .78rem; }
.kw-nav { display: flex; align-items: center; gap: 6px; }
.kw-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, color .15s; }
.kw-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.kw-btn:disabled { opacity: .35; cursor: default; }
.kw-today { height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink); font: 700 .84rem Inter, sans-serif; cursor: pointer; }
.kw-today[hidden] { display: none; }
.kw-mo { font-style: normal; font-size: .7rem; color: var(--muted); margin-top: -2px; }
.kw-day.past { opacity: .55; }
.kw.slide-l { animation: kwl .28s ease; } .kw.slide-r { animation: kwr .28s ease; }
@keyframes kwl { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes kwr { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .kw-head { align-items: center; } .kw-hint { display: none; } }

.cal-res { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cal-res.up { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.cal-res.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.cal-res.flat { color: var(--text-2); background: var(--card); border: 1px solid var(--line); }
.cal-row { grid-template-columns: 54px 1fr auto minmax(100px, auto); }
@media (max-width: 760px) { .cal-row { grid-template-columns: 44px 1fr auto; } }

/* ---------- Ku saabsan (qaabka Sonic + Coinbase) ---------- */
.ab2-hero { padding: 64px 0 40px; }
.ab2 .ab2-title { font-family: var(--font-display); font-size: clamp(3.2rem, 9vw, 6.4rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; margin: 0; }
.ab2-lead { margin: 22px 0 0; max-width: 34ch; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.55; color: var(--text-2); }
.ab2-row { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 52px 0; border-top: 1px solid var(--line); }
.ab2-h { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.ab2-h span { color: var(--muted); font-weight: 600; }
.ab2-p { margin: 0; max-width: 64ch; font-size: 1.05rem; line-height: 1.75; color: var(--text-2); }
.ab2-stat { display: flex; align-items: center; gap: 22px; margin: 20px 0 0; padding: 26px 40px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); text-decoration: none; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); transition: border-color .2s; }
.ab2-stat:hover { border-color: var(--accent); }
.ab2-num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.ab2-st { font-size: 1.05rem; line-height: 1.35; color: var(--text-2); }
.ab2-ic { margin-left: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: #229ED9; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); flex: none; }
.ab2-team { padding: 90px 0 80px; scroll-margin-top: 20px; }
.ab2-tt { margin: 0 0 36px; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.ab2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 18px; }
.ex { min-width: 0; }
.ex-ph { aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--card-2); display: grid; place-items: center; font: 700 5rem var(--font-display); color: var(--accent); }
.ex-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ex:hover .ex-ph img { transform: scale(1.03); }
.ex-nm { margin: 22px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.ex-rl { margin: 18px 0 0; font-size: 1rem; color: var(--text-2); }
.ex-x { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ex-x:hover { color: var(--accent); }
@media (max-width: 900px) { .ab2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ab2-hero { padding: 36px 0 24px; }
  .ab2-row { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .ab2-stat { padding: 20px 20px; gap: 14px; }
  .ab2-ic { width: 48px; height: 48px; }
  .ab2-st { font-size: .92rem; }
  .ab2-team { padding: 56px 0 50px; }
  .ab2-tt { margin-bottom: 24px; }
  .ab2-grid { gap: 14px 12px; }
  .ex-ph { border-radius: 18px; }
  .ex-nm { font-size: 1rem; margin-top: 14px; padding-bottom: 12px; }
  .ex-rl { font-size: .84rem; margin-top: 12px; }
  .ex-x { font-size: .74rem; }
  .ex-x span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.ab2-teamlink { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0 90px; padding: 26px 40px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.ab2-teamlink:hover { border-color: var(--accent); transform: translateY(-2px); }
.ab2-teamlink b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.ab2-teamlink em { display: block; font-style: normal; color: var(--muted); margin-top: 4px; }
.ab2-teamlink i { font-style: normal; font-size: 1.6rem; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); flex: none; }
@media (max-width: 760px) { .ab2-teamlink { padding: 20px; margin-bottom: 56px; } .ab2-teamlink b { font-size: 1.3rem; } .ab2-teamlink i { width: 44px; height: 44px; } }
@media (min-width: 761px) { .mega-cols > .mm-follow { justify-self: end; min-width: 240px; } }

/* =========================================================
   CHARTS (charts.html) — xc-charts.js
   ========================================================= */
.xch-hero { padding: 64px 0 26px; }
.xch-eb { font-size: .78rem; letter-spacing: .2em; font-weight: 700; color: var(--accent-ink); }
.xch-title { font-family: var(--font-display, "Inter Tight"), Inter, sans-serif; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 12px 0 14px; }
.xch-lead { max-width: 640px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin: 0; }
.xch-disc { color: var(--muted); font-size: .85rem; margin: 26px 0 70px; }
.xc-grid { display: grid; gap: 22px; }
.xcc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px 22px; scroll-margin-top: 90px; }
.xcc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.xcc-k { font-size: .74rem; letter-spacing: .18em; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; }
.xcc-act { position: relative; display: flex; align-items: center; gap: 6px; }
.xcc-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--card-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; margin-right: 4px; white-space: nowrap; }
.xcc-badge b { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.xcc-badge b.pulse { background: #1F9D6B; box-shadow: 0 0 0 0 rgba(31,157,107,.5); animation: xcPulse 1.8s infinite; }
@keyframes xcPulse { 70% { box-shadow: 0 0 0 7px rgba(31,157,107,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,107,0); } }
.xcc-ib { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.xcc-ib:hover, .xcc-ib.on { border-color: var(--text); color: var(--text); background: var(--card-2); }
.xcc-ib svg, .xcc-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xcc-menu svg.fill { fill: currentColor; stroke: none; width: 16px; height: 16px; margin: 0 1px; }
.xcc-menu { position: absolute; top: 44px; right: 0; z-index: 30; min-width: 230px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.28); padding: 6px; }
[data-theme="light"] .xcc-menu { box-shadow: 0 14px 34px rgba(11,18,32,.14); }
.xcc-menu[hidden] { display: none !important; }
.xcc-menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 500 .92rem/1.2 Inter, sans-serif; text-align: left; cursor: pointer; }
.xcc-menu button:hover { background: var(--card-2); }
.xcc-menu button svg { color: var(--muted); }
.xcc-menu button.busy { opacity: .55; pointer-events: none; }
.xcc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
.xcc-t { font-family: var(--font-display, "Inter Tight"), Inter, sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 6px; }
.xcc-s { color: var(--muted); font-size: .92rem; margin: 0; }
.xcc-lg { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 6px; font-size: .86rem; color: var(--text-2); }
.xcc-lg span { display: inline-flex; align-items: center; gap: 8px; }
.xcc-lg i { width: 20px; height: 3px; border-radius: 2px; display: inline-block; }
.xcc-lg i.bx { width: 16px; height: 11px; border-radius: 3px; opacity: .45; }
.xcc-plot { position: relative; min-height: 260px; margin-top: 8px; touch-action: pan-y; }
.xcc-plot svg { display: block; width: 100%; height: auto; font-family: Inter, sans-serif; }
.xcc-load { display: grid; place-items: center; height: 260px; color: var(--muted); font-size: .92rem; }
.xcc-tip { position: absolute; top: 8px; z-index: 5; min-width: 150px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; box-shadow: 0 10px 26px rgba(0,0,0,.22); font-size: .8rem; pointer-events: none; }
.xcc-tip[hidden] { display: none !important; }
.xcc-tip b { display: block; margin-bottom: 5px; font-weight: 700; }
.xcc-tip span { display: flex; align-items: center; gap: 7px; color: var(--text-2); margin-top: 3px; }
.xcc-tip i { width: 8px; height: 8px; border-radius: 2px; }
.xcc-tip em { font-style: normal; margin-left: auto; padding-left: 12px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.xcc-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.xcc-rg { display: inline-flex; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.xcc-rg button { border: 0; background: none; color: var(--muted); font: 600 .8rem Inter, sans-serif; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.xcc-rg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.xcc-src { color: var(--muted); font-size: .8rem; }
.xcc-note { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: grid; gap: 4px; font-size: .9rem; color: var(--text-2); }
.xcc-note b { color: var(--text); font-size: .86rem; }
.xcc-note:empty { display: none; }
.xcc.full { position: fixed; inset: 12px; z-index: 200; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
body.xc-noscroll { overflow: hidden; }
#xc-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 300; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 10px; font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#xc-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) {
  .xch-hero { padding: 40px 0 18px; }
  .xcc { padding: 18px 14px 16px; border-radius: 16px; }
  .xcc-badge { display: none; }
  .xcc-plot { margin-left: -4px; margin-right: -4px; }
}
.xc-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.xc-filter button { border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); font: 600 .88rem Inter, sans-serif; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.xc-filter button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.xcc[hidden] { display: none !important; }
/* Charts: laba-laba isbarbar yaal (desktop) */
.xc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xc-grid .xcc { padding: 18px 18px 16px; border-radius: 16px; }
.xc-grid .xcc-t { font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin: 8px 0 4px; }
.xc-grid .xcc-s { font-size: .82rem; }
.xc-grid .xcc-lg { font-size: .78rem; gap: 6px 14px; margin: 10px 0 2px; }
.xc-grid .xcc-note { font-size: .8rem; padding: 10px 12px; margin-top: 10px; }
.xc-grid .xcc-badge { font-size: .7rem; padding: 4px 8px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.xc-grid .xcc.full { padding: 24px 26px; }
@media (max-width: 900px) { .xc-grid { grid-template-columns: 1fr; } }
.xcc.xcc-off { display: none !important; }
/* Legend: riix si aad u qariso / u muujiso (TradingView style) */
.xcc-lg { align-items: center; }
.xcc-li { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--card-2); color: var(--text-2); font: 500 .8rem Inter, sans-serif; padding: 5px 10px; border-radius: 8px; cursor: pointer; transition: opacity .15s, border-color .15s; }
.xcc-li:hover { border-color: var(--line-2); }
.xcc-li i { width: 10px !important; height: 10px !important; border-radius: 3px !important; }
.xcc-li em { font-style: normal; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.xcc-li.off { opacity: .45; }
.xcc-li.off i { background: var(--muted) !important; }
.xcc-li.off em { text-decoration: line-through; color: var(--muted); }
.xcc-ld { color: var(--muted); font-size: .78rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.xcc-plot .tv-lightweight-charts { border-radius: 8px; }
.xch-disc a { color: inherit; }
/* Filter khadadka: checkbox */
.xcc-lgl { font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.xcc-li.tg i { position: relative; width: 16px !important; height: 16px !important; border-radius: 4px !important; }
.xcc-li.tg i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.xcc-li.tg.off i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
.xcc-li.tg.off i::after { display: none; }
.xcc-li.tg { padding: 6px 11px 6px 8px; }
.xcc-li.tg:not(.off) { border-color: var(--line-2); }
.xcc-li.tg i::after { border-color: var(--bg) !important; }
/* Kalandarka: sawir + X share */
.kh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kh-act { position: relative; }
.kh-ib { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: #fff; font: 600 .82rem/1 Inter, sans-serif; cursor: pointer; }
.kh-ib:hover, .kh-ib.on { background: rgba(255,255,255,.15); }
.kh-ib svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kh-act .xcc-menu { top: 42px; min-width: 250px; }
.kh-act .xcc-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kh-act .xcc-menu svg.fill { fill: currentColor; stroke: none; width: 16px; height: 16px; margin: 0 1px; }
.kh-mh { padding: 8px 12px 4px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* Bogga hore: badhanka sawirka ee "Xogta soo socota" */
.fh-tla { display: flex; align-items: center; gap: 14px; }
.fh-act .kh-ib { color: var(--text); border-color: var(--line-2); background: var(--card-2); }
.fh-act .kh-ib:hover, .fh-act .kh-ib.on { background: var(--line); }
.fh-tlh { align-items: center; }
/* Xaaladda suuqa (bogga hore) */
.ms-wrap { margin-top: 18px; }
.ms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.ms-h { margin: 4px 0 0; }
.ms-right { display: flex; align-items: center; gap: 10px; }
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ms-c { display: flex; flex-direction: column; padding: 18px 20px; min-width: 0; }
.ms-ct { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .95rem; }
.ms-ct span { color: var(--muted); font-size: .78rem; text-align: right; }
.ms-c > div:nth-child(2) { flex: 1; }
.ms-g { display: block; width: 230px; max-width: 100%; margin: 8px auto 0; }
.ms-big { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; margin-top: -52px; }
.ms-pill { display: block; width: max-content; max-width: 100%; margin: 8px auto 4px; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.ms-r { display: flex; justify-content: space-between; font-size: .84rem; margin-top: 10px; } .ms-r b { font-weight: 800; }
.ms-bar { height: 6px; border-radius: 4px; background: var(--line); margin-top: 5px; overflow: hidden; } .ms-bar i { display: block; height: 100%; border-radius: 4px; }
.ms-three { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 14px; } .ms-three b { color: var(--text); }
.ms-as { margin-top: 20px; } .ms-asn { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; } .ms-asl { font-size: .85rem; color: var(--muted); margin-left: 8px; }
.ms-track { position: relative; height: 12px; border-radius: 8px; margin-top: 18px; background: linear-gradient(90deg, #F59E0B 0 25%, #FBD38D 25% 50%, #A5B4FC 50% 75%, #3B5BFF 75%); }
.ms-knob { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 3px solid var(--text); transform: translate(-50%, -50%); }
.ms-tl { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 8px; }
.ms-txt { font-size: .82rem; color: var(--text-2); margin: 12px 0 0; }
.ms-ft { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.ms-ft a { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.ms-load { color: var(--muted); font-size: .85rem; padding: 40px 0; text-align: center; }
@media (max-width: 900px) {
  .ms-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .ms-grid .ms-c { flex: 0 0 86%; scroll-snap-align: start; }
  .ms-head { flex-wrap: wrap; }
}
.xcc-rg { flex-wrap: wrap; max-width: 100%; }
.xcc-rg button { white-space: nowrap; padding: 6px 10px; }
/* Lacagta socota — heatmap */
.xcc.fh { grid-column: 1 / -1; }
.fh-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.fh-big { text-align: right; flex-shrink: 0; }
.fh-big b { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fh-big b.up { color: #2BD67B; } .fh-big b.down { color: #F05A5F; }
.fh-big span { font-size: .75rem; color: var(--muted); font-weight: 500; }
.fh-plot .fh-dl { font-size: 11.5px; }
.fh-tabs { display: inline-flex; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; margin: 14px 0 6px; flex-wrap: wrap; }
.fh-tabs button { border: 0; background: none; color: var(--muted); font: 600 .84rem Inter, sans-serif; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.fh-tabs button.on { background: var(--text); color: var(--bg); }
.fh-plot { position: relative; margin-top: 8px; min-height: 120px; }
.fh-plot svg { display: block; width: 100%; height: auto; }
.fh-dl { fill: var(--text); font: 700 12px Inter, sans-serif; } .fh-dd { fill: var(--muted); font: 10.5px Inter, sans-serif; } .fh-hl { fill: var(--muted); font: 10.5px Inter, sans-serif; }
.fh-empty { fill: var(--line); opacity: .45; }
.fh-live { stroke: var(--text); stroke-width: 2; animation: fhp 1.6s ease-in-out infinite; }
@keyframes fhp { 50% { stroke-opacity: .25; } }
.fh-plot rect[data-j]:hover { stroke: var(--text); stroke-width: 1.5; }
.fh-leg { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.fh-leg i { width: 190px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, rgba(240,90,95,.98), rgba(240,90,95,.1) 48%, rgba(43,214,123,.1) 52%, rgba(43,214,123,.98)); }
.fh-kp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.fh-kp div { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fh-kp span { display: block; font-size: .72rem; color: var(--muted); }
.fh-kp b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.fh-kp b.up { color: #2BD67B; } .fh-kp b.down { color: #F05A5F; }
@media (max-width: 700px) { .fh-hd { flex-direction: column; align-items: flex-start; } .fh-big { text-align: left; } .fh-kp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fh-leg i { width: 120px; } }
.fh-wk { margin: 0 0 6px; }
.fh-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 8px; }
.fh-bar .fh-tabs { margin: 0; }
.fh-nav { display: inline-flex; align-items: center; gap: 4px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 0; }
.fh-nav span { min-width: 150px; text-align: center; font: 700 .84rem Inter, sans-serif; color: var(--text); }
.fh-nav button { width: 32px; height: 30px; border: 0; border-radius: 8px; background: var(--card); color: var(--text); font: 700 1.1rem Inter, sans-serif; cursor: pointer; }
.fh-nav button:disabled { opacity: .3; cursor: default; }
.fh-dv { font: 700 12px 'Inter Tight', Inter, sans-serif; } .fh-dv.up { fill: #2BD67B; } .fh-dv.down { fill: #F05A5F; }
.fh-ax { stroke: var(--line-2); }
@media (max-width: 560px) { .fh-nav span { min-width: 120px; } .fh-dv { font-size: 10.5px; } }
/* Qufulka xubnaha (gate.js) */
body.xg-locked main { filter: blur(9px); pointer-events: none; user-select: none; max-height: 100vh; overflow: hidden; }
.xg { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 12, .55); backdrop-filter: blur(2px); overflow-y: auto; }
body.xg-locked .xg { top: 64px; }
.xg-box { position: relative; width: min(470px, 100%); background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: 28px 26px 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); text-align: center; }
.xg-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--card-2); color: var(--muted); font-size: 22px; cursor: pointer; }
.xg-ic { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(63,184,255,.25), rgba(91,91,255,.08)); border: 1px solid rgba(63,184,255,.35); box-shadow: 0 0 40px rgba(63,184,255,.18); }
.xg-box h2 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 8px; }
.xg-box > p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 0 18px; } .xg-box > p b { color: var(--text); }
.xg-st { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.xg-st.ok { border-color: rgba(43,214,123,.45); background: rgba(43,214,123,.06); }
.xg-n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--text); color: var(--bg); }
.xg-st.ok .xg-n { background: #2BD67B; color: #0B1220; } .xg-n.xg-tg { background: #229ED9; color: #fff; }
.xg-tx { min-width: 0; } .xg-tx b { display: block; font-size: .95rem; } .xg-tx span { font-size: .78rem; color: var(--muted); }
.xg-b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .82rem; padding: 9px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.xg-bx { background: var(--text); color: var(--bg); } .xg-st.ok .xg-bx { background: none; color: #2BD67B; padding-right: 4px; }
.xg-bt { background: #229ED9; color: #fff; }
.xg-login { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); } .xg-login > span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
#xg-w { min-height: 40px; display: flex; justify-content: center; } .xg-wait { color: var(--muted); }
.xg-msg { margin-top: 12px; font-size: .85rem; padding: 10px 12px; border-radius: 10px; background: var(--card-2); } .xg-msg.ok { color: #2BD67B; } .xg-msg.bad { color: #F05A5F; } .xg-msg a { color: inherit; font-weight: 700; }
.xg-fine { font-size: .72rem !important; color: var(--muted); margin: 14px 0 0 !important; }
.xg-back { display: inline-block; margin-top: 12px; font-size: .82rem; color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.xg-pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 800; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); background: var(--card); color: var(--text); border: 1px solid rgba(63,184,255,.4); border-radius: 999px; padding: 9px 16px 9px 10px; font: 600 .82rem Inter, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.35); cursor: pointer; }
.xg-pill > span { display: grid; place-items: center; }
:root { --font-display: "Space Grotesk", sans-serif; }
.xg-pill { white-space: nowrap; }

/* ===== Menu: calaamadda CUSUB ===== */
.nbadge { display: inline-block; margin-left: 5px; vertical-align: 2px; font-size: .6rem; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: #22C55E; color: #05210F; line-height: 1.3; }

/* ===== Bogga Lacagta ===== */
.lq-title { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.lq-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; }
.lq-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; }
.lq-tabs button { border: 0; background: transparent; color: var(--muted); font: 600 .95rem Inter, sans-serif; padding: 10px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; min-height: 42px; }
.lq-tabs button:hover { color: var(--text); }
.lq-tabs button.on { background: var(--text); color: var(--bg); }
.lq-live { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); padding: 7px 12px; border-radius: 999px; }
.lq-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: lqp 1.6s infinite; }
@keyframes lqp { 50% { opacity: .35; } }
.lq-big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lq-io { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border-radius: 18px; border: 1px solid; min-width: 0; }
.lq-io.in { background: color-mix(in srgb, #2BD67B 12%, var(--card)); border-color: color-mix(in srgb, #2BD67B 40%, transparent); }
.lq-io.out { background: color-mix(in srgb, #F05A5F 12%, var(--card)); border-color: color-mix(in srgb, #F05A5F 40%, transparent); }
.lq-io > div { min-width: 0; }
.lq-io-l { display: block; font-size: .9rem; color: var(--text-2, var(--text)); font-weight: 600; }
.lq-io-l em { font-style: normal; }
.lq-io b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; }
.lq-io small { color: var(--muted); font-size: .88rem; }
.lq-ring { width: 104px; height: 104px; flex: none; color: var(--text); }
.lq-sum { margin: 16px 0 6px; padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--muted); font-size: 1rem; line-height: 1.5; }
.lq-sum.up { border-left-color: var(--up); } .lq-sum.down { border-left-color: var(--down); }
.lq-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 34px 0 12px; }
.lq-h h2 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; margin: 0; letter-spacing: -.02em; }
.lq-h span { color: var(--muted); font-size: .85rem; }
.lq-h em { font-style: normal; }
.lq-coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lq-coin { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.lq-ch { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lq-ch b { font-size: 1.02rem; }
.lq-ch strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.lq-split { display: flex; gap: 3px; height: 9px; margin: 14px 0 8px; }
.lq-split.sm { height: 7px; margin: 10px 0 0; }
.lq-split i { display: block; border-radius: 99px; background: #2BD67B; min-width: 3px; }
.lq-split i + i { background: #F05A5F; }
.lq-cl, .lq-cv { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.lq-cv { margin-top: 2px; font-size: .74rem; opacity: .8; }
.lq-tw { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.lq-t { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.lq-t th, .lq-t td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lq-t tr:last-child th, .lq-t tr:last-child td { border-bottom: 0; }
.lq-t thead th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.lq-t thead th[data-tf] { cursor: pointer; }
.lq-t thead th.on { color: var(--text); }
.lq-t td { font-family: var(--font-display); font-weight: 700; }
.lq-t td.on { background: var(--card-2); }
.lq-ls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lq-lsc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.lq-na { grid-column: 1 / -1; color: var(--muted); }
.lq-lsh { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lq-tag { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.lq-r { display: flex; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.lq-r b { font-family: var(--font-display); font-weight: 800; }
.lq-src { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.lq-exp { margin-top: 12px; padding: 14px 18px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .9rem; line-height: 1.55; color: var(--text-2, var(--text)); }
.lq-heat { margin-bottom: 10px; }
@media (max-width: 760px) {
  .lq-big, .lq-ls, .lq-coins { grid-template-columns: 1fr; }
  .lq-io { padding: 18px; }
  .lq-ring { width: 84px; height: 84px; }
  .lq-tabs button { padding: 9px 11px; font-size: .88rem; }
  .lq-t th, .lq-t td { padding: 12px 14px; }
}

/* ===== Kaarka "Ku biir" (X + Telegram) ===== */
.xj { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 300px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.xj.on { opacity: 1; transform: none; }
.xj-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.xj-x:hover { background: var(--card-2); color: var(--text); }
.xj-h { display: flex; gap: 12px; align-items: flex-start; padding-right: 24px; }
.xj-h img { border-radius: 10px; flex: none; }
.xj-h b { display: block; font-size: 1rem; line-height: 1.3; }
.xj-h span { display: block; font-size: .85rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.xj-b { display: grid; gap: 8px; margin-top: 14px; }
.xj-l { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; font: 700 .92rem Inter, sans-serif; text-decoration: none; }
.xj-xb { background: var(--text); color: var(--bg); }
.xj-tb { background: #229ED9; color: #fff; }
.xj-l.ok { background: rgba(43,214,123,.14); color: #2BD67B; }
.xj-n { display: block; margin: 10px auto 0; border: 0; background: transparent; color: var(--muted); font: 600 .82rem Inter, sans-serif; cursor: pointer; padding: 6px 10px; }
.xj-n:hover { color: var(--text); }
@media (max-width: 560px) { .xj { right: 12px; left: 12px; bottom: 12px; width: auto; } }

.xj-t { display: block; font-size: 1.05rem; padding-right: 30px; }
.lq-hr { display: inline-flex; align-items: center; gap: 10px; }

/* ===== Lacagta: qaybaha xirfadeed ===== */
.lq-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.lq-load { color: var(--muted); padding: 22px 4px; text-align: center; font-size: .92rem; }
.lq-dim { color: var(--muted); font-size: .82rem; font-weight: 500; }
.lq-src { color: var(--muted); font-size: .76rem; margin-top: 10px; }
.lq-note { color: var(--muted); font-size: .85rem; margin: 10px 2px 0; line-height: 1.5; }
.lq-mini { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.lq-mini button { border: 0; background: transparent; color: var(--muted); font: 600 .8rem Inter, sans-serif; padding: 6px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.lq-mini button.on { background: var(--text); color: var(--bg); }
.lq-hr { flex-wrap: wrap; justify-content: flex-end; }
.lq-live.sm { padding: 5px 10px; font-size: .78rem; }
.lq-sb { display: flex; height: 22px; border-radius: 6px; overflow: hidden; min-width: 0; }
.lq-sb i { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.lq-sb i:first-child { justify-content: flex-end; background: linear-gradient(90deg, rgba(43,214,123,.12), rgba(43,214,123,.8)); }
.lq-sb i + i { background: linear-gradient(90deg, rgba(240,90,95,.85), rgba(240,90,95,.12)); }
.lq-sb b { font-size: .72rem; font-weight: 800; padding: 0 7px; color: #fff; white-space: nowrap; }
.lq-exr { display: grid; grid-template-columns: 170px 1fr 120px 120px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.lq-exh { border-top: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 0; }
.lq-exr.top { font-weight: 800; }
.lq-exr .r, .lq-tt .r, .lq-trr .r { text-align: right; }
.lq-exr .up, .lq-exr .down { font-family: var(--font-display); font-weight: 700; }
.lq-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.lq-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lq-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.lq-tw2 { overflow-x: auto; }
.lq-tt { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lq-tt th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 6px 8px 10px; white-space: nowrap; }
.lq-tt td { padding: 10px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.lq-tt .c { text-align: center; }
.lq-vtt td { font-variant-numeric: tabular-nums; }
.lq-vhm td { padding: 9px 10px; }
.lq-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 7px; border: 1px solid; }
.lq-pill.b { color: #2BD67B; border-color: rgba(43,214,123,.4); background: rgba(43,214,123,.08); }
.lq-pill.s { color: #F05A5F; border-color: rgba(240,90,95,.4); background: rgba(240,90,95,.08); }
.lq-pill.n { color: var(--muted); border-color: var(--line-2); }
.lq-tr { padding: 10px 12px; }
.lq-trr { display: grid; grid-template-columns: 1.5fr 1fr .9fr .8fr; gap: 8px; padding: 8px 10px; border-radius: 8px; margin-top: 4px; font-size: .84rem; align-items: center; }
.lq-trr em { font-style: normal; font-size: .72rem; color: var(--muted); }
.lq-trh { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 0; }
.lq-trr.b { background: rgba(43,214,123,.12); }
.lq-trr.s { background: rgba(240,90,95,.12); }
.lq-trr.big { background: #B3141C; color: #fff; font-weight: 700; }
.lq-trr.big.b { background: #10894C; }
.lq-trr.big em { color: rgba(255,255,255,.8); }
.lq-xc b { font-size: 1.05rem; }
.lq-xr { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem; margin-top: 6px; }
.lq-xr em { font-style: normal; font-family: var(--font-display); font-weight: 800; margin-right: 6px; }
#lq-hist { position: relative; }
.lq-hl { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 6px; }
.lq-hl i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.lq-hsvg { display: block; }
.lq-gl { stroke: var(--line); }
.lq-ax { font-size: 11px; fill: var(--muted); }
.lq-tip { position: absolute; z-index: 5; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font-size: .8rem; display: flex; flex-direction: column; gap: 3px; pointer-events: none; min-width: 160px; }
.lq-tip em { font-style: normal; font-weight: 800; }
.lq-vc span { display: block; font-size: .78rem; color: var(--muted); }
.lq-vc b { display: block; font-family: var(--font-display); font-size: 1.6rem; margin: 6px 0 2px; }
.lq-vc b em { font-style: normal; font-size: .82rem; }
.lq-vc small { color: var(--muted); font-size: .76rem; }
.lq-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.lq-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; }
.lq-faq summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.lq-faq details[open] summary::after { content: "−"; }
.lq-faq p { margin: 0; padding: 0 16px 16px; color: var(--muted); line-height: 1.6; font-size: .92rem; }
#lq-faq { margin-bottom: 30px; }
@media (max-width: 900px) { .lq-2, .lq-3 { grid-template-columns: 1fr; } .lq-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lq-exr { grid-template-columns: 90px 1fr 70px 70px; gap: 8px; font-size: .8rem; } .lq-vc b { font-size: 1.25rem; } }
.lq-tip[hidden] { display: none; }
.lq-px { transition: color .2s; font-variant-numeric: tabular-nums; }
.lq-px.fu { animation: lqfu 1s ease-out; }
.lq-px.fd { animation: lqfd 1s ease-out; }
@keyframes lqfu { 0% { background: rgba(43,214,123,.35); color: #2BD67B; } 100% { background: transparent; } }
@keyframes lqfd { 0% { background: rgba(240,90,95,.35); color: #F05A5F; } 100% { background: transparent; } }
.lq-trr.nw { animation: lqin .5s ease-out; }
@keyframes lqin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lq-sort { cursor: pointer; user-select: none; }
.lq-sort:hover, .lq-sort.on { color: var(--text); }
.lq-vtt tbody tr:hover td, .lq-tt tbody tr:hover td { box-shadow: inset 0 0 0 999px rgba(255,255,255,.035); }
.lq-xtip { position: fixed; z-index: 80; pointer-events: none; background: #0B1220; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 10px; font: 600 .8rem Inter, sans-serif; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.lq-xtip[hidden] { display: none; }
#lq-vt .lq-px.fu, #lq-vt .lq-px.fd { animation-duration: 1.2s; }

/* ===== Menu-ga sare: dropdown (Lacagta) ===== */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd > a .chev-ic { width: 14px; height: 14px; transition: transform .2s; }
.nav-ddm { display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 260px; padding: 6px; margin-top: 4px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.nav-ddm::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-dd:hover .nav-ddm, .nav-dd:focus-within .nav-ddm { display: flex; flex-direction: column; }
.nav-dd:hover > a .chev-ic { transform: rotate(180deg); }
.main-nav .nav-ddm a { padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.dr-sub { display: flex; flex-direction: column; margin: -4px 0 8px 14px; border-left: 2px solid var(--line-2); }
.dr-sub a { padding: 7px 12px; color: var(--muted); text-decoration: none; font-size: .9rem; }

/* ===== Lacagta: qaab ballaaran + menu-ga bogga + liiska coins ===== */
main.lq-wide { max-width: 1480px; }
.lq-sub { position: sticky; top: 64px; z-index: 15; margin: 0 -2px 18px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lq-subin { display: flex; gap: 4px; overflow-x: auto; padding: 9px 2px; scrollbar-width: none; }
.lq-subin::-webkit-scrollbar { display: none; }
.lq-subin a { flex: none; padding: 8px 14px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.lq-subin a:hover { color: var(--text); background: var(--card); }
.lq-subin a.on { background: var(--text); color: var(--bg); }
.lq-anchor { scroll-margin-top: var(--lq-top, 130px); }
.lq-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.lq-main { min-width: 0; }
.lq-side { position: sticky; top: var(--lq-top, 130px); height: calc(100vh - var(--lq-top, 130px) - 16px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 12px 10px; scroll-margin-top: var(--lq-top, 130px); }
.lq-sideh { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.lq-sideh em { font-style: normal; }
.lq-sidex { display: none; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--card-2); color: var(--text); font-size: 22px; cursor: pointer; }
.lq-srch { width: 100%; box-sizing: border-box; background: var(--card-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .9rem; }
.lq-sorts { display: flex; margin: 10px 0 6px; width: 100%; box-sizing: border-box; }
.lq-sorts button { flex: 1; padding: 6px 4px; }
.lq-clh { display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 6px 4px; }
.lq-clist { flex: 1; overflow-y: auto; margin: 0 -4px; padding: 0 4px; scrollbar-width: thin; }
.lq-cr { display: grid; grid-template-columns: 26px 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 6px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .84rem; }
.lq-cr:hover { background: var(--card-2); }
.lq-cr img, .lq-cr i { width: 20px; height: 20px; border-radius: 50%; background: var(--card-2); }
.lq-crk { color: var(--muted); font-size: .7rem; text-align: right; }
.lq-crn, .lq-crp { display: flex; flex-direction: column; min-width: 0; }
.lq-crn small { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-crp { text-align: right; }
.lq-crp small { font-size: .72rem; }
.lq-crp b { font-weight: 700; padding: 0 3px; border-radius: 4px; }
@media (max-width: 1100px) {
  .lq-layout { grid-template-columns: 1fr; }
  .lq-side { display: none; }
  .lq-side.open { display: flex; position: fixed; inset: 0; top: 0; height: auto; z-index: 70; border-radius: 0; border: 0; padding: 16px; }
  .lq-side.open .lq-sidex { display: block; }
  body.lq-noscroll { overflow: hidden; }
}

/* Heatmap: sanduuqyo */
.lq-hmg { display: grid; gap: 6px; }
.lq-hmh { text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); padding: 4px 0; }
.lq-hml { display: flex; align-items: center; font-size: .82rem; color: var(--muted); }
.lq-hmt { border-radius: 12px; padding: 12px 6px; text-align: center; color: #fff; transition: transform .15s; }
.lq-hmt:hover { transform: scale(1.03); }
.lq-hmt b { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.lq-hmt span { font-size: .76rem; opacity: .92; }
[data-theme="light"] .lq-hmt { color: #0B1220; }
@media (max-width: 640px) { .lq-hmg { gap: 4px; } .lq-hmt { padding: 9px 2px; } .lq-hmt b { font-size: .8rem; } .lq-hmt span { font-size: .66rem; } .lq-hml { font-size: .7rem; } }

/* Exchange-yada */
.lq-cxk b { font-family: var(--font-display); }
.lq-cxb { display: inline-block; height: 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.lq-vscroll { max-height: 640px; overflow: auto; }
.lq-vscroll thead th { position: sticky; top: 0; z-index: 2; background: var(--card); }
.lq-vtt tbody tr { will-change: transform; }
.lq-v.fu, .lq-v.fd { animation-duration: 1.2s; }
