@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-045F, U+0490-04FF, U+2000-206F, U+20BD, U+2116, U+00AB, U+00BB;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/fonts/noto-arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
:root {
  color-scheme: dark;
  --bg: #010204;
  --card: #0a0c10;
  --surface-2: #131517;
  --line: rgba(255, 255, 255, .07);
  --text: #fafafa;
  --muted: #8c929b;
  --text-3: #83878b;
  --pill: #f4f6fa;
  --ink: #000000;
  --green: #2bd674;
  --red: #e84641;
  --blue: #3b82f6;
  --gold: #e2b657;
  --radius: 16px;
  --gap: 12px;
  font-family: Inter, "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; color: var(--text); }
body { min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; background: var(--pill); color: var(--ink); padding: 8px; z-index: 5; }
.demo-badge {
  position: fixed; top: 8px; bottom: auto; inset-inline-end: 72px; z-index: 8;
  font-size: 10px; letter-spacing: .16em; color: #c8ccd4;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 7px; background: rgba(0,0,0,.55);
}
body[data-pane="onboard"] .demo-badge { display: none; }
#home-shortcuts { display: grid; gap: 8px; margin-top: 8px; }
#home-shortcuts .row {
  width: 100%; text-align: start; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; color: var(--text);
}
.showcase { display: none; }
.shell {
  width: min(100%, 430px);
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 34px 6px 23px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: #000;
}
body[data-pane="home"] .top { margin-top: 18px; min-height: 36px; width: auto; max-width: 100%; min-width: 0; margin-left: 0; }
body[data-pane="home"] .globe { width: 26px; height: 26px; }
body[data-pane="home"] .brand { font-size: 17px; letter-spacing: .14em; font-weight: 650; }
body:not([data-pane="home"]) .top { display: none; }
main { flex: 1 1 auto; min-height: 0; min-width: 0; overflow: auto; padding-bottom: 8px; }
.foot { flex: none; margin: 4px 0; min-height: 2.2em; }
.top { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex: none; min-height: 44px; }
.brand-row { display: flex; align-items: center; gap: 8px; }
.brand { letter-spacing: .04em; font-weight: 600; font-size: 20px; margin: 0; }
.wordmark { letter-spacing: -0.04em; font-weight: 640; font-size: 42px; margin: 0; }
.splash-lockup { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; }
.splash-lockup .wordmark { font-size: 52px; line-height: 1; }
.splash-lockup .globe.big { width: 68px; height: 68px; }
#screen-splash.earth {
  padding: 0 28px 28px; justify-content: flex-start; gap: 0;
  background-image: none; min-height: 100%; position: relative; overflow: hidden;
}
#screen-splash.earth::before {
  content: ""; position: absolute; left: -18%; width: 136%; bottom: -4%; height: 62%;
  background: #000 url("/assets/earth-bg.webp") center 30% / cover no-repeat;
  pointer-events: none; z-index: 0;
}
#screen-splash.earth > * { position: relative; z-index: 1; }
#screen-splash .hero { gap: 14px; margin-top: auto; margin-bottom: auto; }
#splash-tag { margin-top: 18px; font-size: 20px; }
#screen-splash .splash-foot { margin-top: 0; width: 100%; margin-left: 0; }
#splash-start { width: 100%; height: 58px; font-size: 18px; padding: 0; }
#splash-version { margin-top: 12px; font-size: 13px; }
.q { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--text-3); }
.banner { margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; background: #1a1408; color: #e7d7a2; font-size: 13px; }
.skeleton { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #12141a, #1c2028, #12141a); }
.screen { animation: pane-in 160ms cubic-bezier(.32,.72,0,1); }
@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
}
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#screen-splash .splash-foot { margin-top: 0; margin-left: 0; width: 100%; }
.globe { width: 32px; height: 32px; color: #fff; }
.globe.big { width: 64px; height: 64px; }
.tools { display: none; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.tools.open { display: flex; }
.tool, .search-label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--muted); }
select, input, textarea { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
textarea { min-height: 88px; width: 100%; }
#search { width: 120px; }
.ghost, .link { background: transparent; border: 0; color: var(--muted); font-size: 13px; }
.icon-btn {
  width: auto; height: auto; border: 0; border-radius: 0;
  background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 4px;
}
.icon-btn svg { width: 22px; height: 22px; }
.pill {
  background: var(--pill); color: var(--ink); border: 0; border-radius: 999px;
  padding: 14px 18px; font-weight: 650; font-size: 15px; width: 100%;
}
.pill.arrow::after { content: " →"; }
.row .pill { width: auto; flex: 1 1 auto; min-width: 0; }
html[dir="rtl"] .pill.arrow::after { content: " ←"; }
.ghost-pill { background: transparent; color: var(--text); border: 1px solid var(--line); }
#nav {
  position: static; order: 5; flex: none; display: flex; justify-content: space-around;
  align-items: flex-end; gap: 2px; margin: 0; min-height: 72px;
  padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.94); border-top: 1px solid var(--line); z-index: 3;
}
html[dir="rtl"] .shell { direction: rtl; }
#nav button {
  background: transparent; border: 0; color: var(--muted); font-size: 10px;
  display: flex; flex-direction: column; gap: 3px; align-items: center; min-width: 52px;
}
#nav button[aria-current="page"] { color: #fff; }
#nav button svg { width: 20px; height: 20px; }
.nav-ico { display: flex; width: 20px; height: 20px; }
.status { color: var(--muted); font-size: 12px; min-height: 1em; }
.status:empty { display: none; }
.screen { display: grid; gap: var(--gap); align-content: start; min-width: 0; max-width: 100%; }
.screen[hidden] { display: none; }
[hidden] { display: none !important; }
h1 { font-size: 28px; font-weight: 640; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: 15px; font-weight: 600; margin: 2px 0 0; }
.kicker, .card .kicker { color: var(--muted); margin: 0; font-size: 12px; font-weight: 500; }
.num { font-size: 22px; font-weight: 640; letter-spacing: -0.03em; margin: 0; }
.sub { color: var(--muted); font-size: 11px; margin: 0; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.muted { color: var(--muted); }
.lead { font-size: 15px; color: #c5c8d0; margin: 0; }
.tag { color: #d5d8de; margin: 0; font-size: 18px; font-weight: 450; letter-spacing: -0.02em; }
.card, .tile, .row-card, .news-row, .home-news, .metric, .menu button {
  width: 100%;
  text-align: start;
}
.card, .tile, .row-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.card p, .row-card p { margin: 0; overflow-wrap: break-word; }
.card strong { margin: 0; }
.glow { box-shadow: 0 0 0 1px rgba(30, 212, 138, .16); }
.regime { display: grid; grid-template-columns: 1fr 108px; gap: 8px; align-items: center; }
.head-line, .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.head-line h1 { font-size: 26px; }
.head-line .muted { font-size: 11px; flex: none; }
.split, .tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.chips, .segment { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button, .segment button, .chip {
  border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 10px; font-size: 13px;
}
.chips button[aria-pressed="true"], .segment button[aria-pressed="true"], .chip[aria-pressed="true"] {
  background: #171a20; color: #fff;
}
.chart {
  height: 168px; min-height: 168px; border-radius: 14px; background: #07080c;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  direction: ltr; unicode-bidi: isolate;
}
.chart.slim { height: 52px; min-height: 52px; border: 0; background: transparent; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart-live { touch-action: none; }
.chart-tip {
  position: absolute; z-index: 2; margin: 0; padding: 4px 8px; border-radius: 8px;
  background: rgba(8, 10, 14, .92); color: #f4f6fa; font-size: 11px; line-height: 1.3;
  pointer-events: none; max-width: 78%; transform: translateX(-50%);
}
.links, .menu, .stack { display: grid; gap: 8px; }
.links button, .menu button, .back {
  text-align: start; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; font-size: 14px;
}
.menu button { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 10px 12px; }
.menu button::after { content: "›"; color: var(--muted); margin-inline-start: auto; }
html[dir="rtl"] .menu button::after { content: "‹"; }
.back {
  position: sticky; top: 0; z-index: 2; color: var(--text); width: 36px; min-width: 36px;
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; padding: 0; background: rgba(0,0,0,.45);
}
.back.bare {
  position: static; width: auto; min-width: 0; min-height: 0; border: 0; border-radius: 0;
  background: transparent; padding: 4px 8px 4px 0; font-size: 22px;
}
.disclaimer { color: var(--muted); font-size: 11px; min-height: 1.2em; overflow-wrap: break-word; }
.search-miss, .dry-reply { overflow-wrap: break-word; }
.dry-reply { margin-top: 12px; }
#calc-out { white-space: pre-line; overflow-wrap: break-word; }
.dry-reply .chip, .search-links .chip { border: 1px solid var(--line); min-height: 36px; }
.gap { color: var(--gold); font-size: 12px; }
.composer { display: flex; gap: 8px; align-items: center; min-width: 0; max-width: 100%; }
.composer input { flex: 1 1 0; min-width: 0; width: auto; border-radius: 999px; }
.send { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #2563eb; color: #fff; flex: none; }
dialog { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; max-width: 420px; }
dialog::backdrop { background: rgba(0,0,0,.72); }
body.display-mode { font-size: 1.35rem; }
body.display-mode input, body.display-mode textarea, body.display-mode select, body.display-mode button:not(#leave-display) { pointer-events: none; }
#leave-display { position: fixed; top: 12px; right: 12px; z-index: 6; width: auto; }
.earth {
  background: #000 url("/assets/earth-bg.webp") center top / cover no-repeat;
  min-height: 100%;
  border-radius: 0;
  padding: 16vh 8px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero { display: grid; justify-items: center; gap: 8px; text-align: center; }
.splash-foot { display: grid; justify-items: center; gap: 8px; }
.bar { display: none; width: 46%; height: 3px; background: #12141a; border-radius: 99px; overflow: hidden; }
.bar span, #load-bar { display: block; height: 100%; width: 34%; background: var(--blue); }
.coin-row { display: flex; gap: 8px; align-items: center; }
.mark { width: 28px; height: 28px; flex: none; }
.mark svg { width: 28px; height: 28px; display: block; }
.asset { display: grid; grid-template-columns: 28px minmax(72px, 1fr) 88px auto; gap: 8px; align-items: center; }
.asset strong, .asset .sub { white-space: nowrap; }
.asset .spark, .coin-tile .spark { height: 28px; }
.coin-tile { display: grid; gap: 4px; }
.coin-tile .num { font-size: 18px; }
.coin-tile .row { min-height: 0; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; min-height: 22px; }
.heat i { display: block; height: 10px; border-radius: 2px; background: #1a1d24; }
.news-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; }
.news-row img, .thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 8px; background: #12141a; display: block; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 7px; font-size: 11px; background: #1a1c22; color: var(--muted); }
.badge.high { background: #2a1c12; color: #ffb020; }
.badge.mid { background: #2a2414; color: var(--gold); }
.badge.low { background: #1a1c22; color: #9aa0aa; }
.badge.ok { background: #12261c; color: var(--green); }
.hero-img { width: 100%; height: 168px; object-fit: cover; border-radius: 16px; background: #101114; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); }
.legend b { font-weight: 600; }
.step-art { height: 148px; display: grid; place-items: center; color: #f4f7fb; }
.step-art svg { width: 96px; height: 96px; }
.premium { display: flex; gap: 10px; align-items: center; background: linear-gradient(180deg, #1a160e, #0b0c0f); }
.crown { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #2a220f; color: var(--gold); }
.star-glow { width: 56px; height: 56px; margin: 4px auto; color: #9eb6ff; filter: drop-shadow(0 0 12px rgba(120, 150, 255, .7)); }
.profile-card { display: flex; gap: 10px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a4e68, #12151c); flex: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-inline-end: 6px; background: var(--green); }
.dot.base { background: #3b82f6; }
.dot.down { background: var(--red); }
.dot.down { background: var(--red); }
body[data-pane="splash"] .top,
body[data-pane="splash"] #nav,
body[data-pane="splash"] .foot,
body[data-pane="onboard"] .top,
body[data-pane="onboard"] #nav,
body[data-pane="onboard"] .foot,
body[data-pane="setup"] #nav,
body[data-pane="setup"] .foot { display: none; }
body[data-pane="splash"] .shell,
body[data-pane="onboard"] .shell { padding-inline: 0; background: transparent; }
body[data-pane="splash"] main,
body[data-pane="onboard"] main { padding: 0; display: flex; flex-direction: column; }
body[data-pane="splash"] #screen-splash,
body[data-pane="onboard"] #screen-onboard { flex: 1; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.field select, .stack select, .stack textarea, #category { width: 100%; }
#coin-extra:empty { display: none; }
#screen-profile {
  background:
    linear-gradient(180deg, rgba(0,0,0,.2) 0%, #000 220px),
    url("/assets/earth-bg.webp") center top / 140% auto no-repeat;
}
body[data-pane="gate"] main { display: flex; flex-direction: column; }
body[data-pane="gate"] #screen-gate { flex: 1; }
@media (max-width: 420px) {
  .shell { max-width: none; width: 100%; padding-left: 23px; padding-right: 34px; }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .shell { max-width: 430px; }
}
@media (min-width: 1440px) {
  body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 430px minmax(240px, 1fr);
    align-items: center;
    background: #000 url("/assets/earth-bg.webp") left center / 46% auto no-repeat;
  }
  .showcase {
    display: flex; flex-direction: column; gap: 16px; justify-content: center;
    padding: 48px 40px; max-width: 420px; grid-column: 1;
  }
  .showcase.showcase-right { grid-column: 3; }
  .showcase .tag { font-size: 28px; }
  .showcase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #c5c8d0; font-size: 15px; }
  .shell {
    grid-column: 2; width: 430px; max-width: 430px; height: min(900px, 100vh);
    border: 1px solid rgba(255,255,255,.08); border-radius: 28px; overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,.45);
  }
  #nav { min-height: 72px; }
  .chart { height: 180px; min-height: 180px; }
}
.section-link {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; margin: 0; padding: 2px 0; background: transparent; border: 0;
  color: var(--text); font-size: 15px; font-weight: 600; text-align: start;
}
.section-link::after { content: "›"; color: var(--muted); font-weight: 400; }
html[dir="rtl"] .section-link::after { content: "‹"; }
#screen-home { padding-top: 8px; }
.regime-card { position: relative; min-height: 0; overflow: hidden; text-align: start; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; align-items: center; }
#home-coins { margin-top: 8px; height: auto; min-height: 0; display: grid; gap: 14px; }
.empty-line { margin: 4px 0 8px; color: var(--muted); font-size: 16px; }
#home-shortcuts { margin-bottom: 8px; gap: 6px; }
#home-shortcuts .row { min-height: 44px; }
#home-events-title { margin-top: 10px; }
#home-events { margin-top: 8px; display: grid; gap: 8px; }
#home-more { margin-top: 4px; height: 44px; }
.regime-card .kicker, .regime-card .regime-line, .regime-card .sub { position: relative; z-index: 1; max-width: 100%; }
.regime-card .sub { max-width: 100%; }
.regime-line { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; font-size: 22px; font-weight: 640; }
.regime-card .glow-chart {
  position: relative; width: 132px; height: 72px; justify-self: end;
  border: 0; background: transparent; min-height: 72px;
}
.price-split { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); align-items: stretch; min-width: 0; max-width: 100%; }
.price-col { text-align: start; padding: 4px 8px; min-width: 0; }
.price-col .big, .big { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: break-word; max-width: 100%; }
.price-split .vdiv { background: rgba(255,255,255,.1); }
.home-news {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
}
.home-news .mark, .home-news .mark svg { width: 36px; height: 36px; }
.home-news strong {
  font-size: 14px; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.clock { width: 18px; height: 18px; color: var(--muted); }
#screen-onboard.earth {
  background-position: center 140%;
  background-size: 170% auto;
  align-items: center;
  text-align: center;
  padding: 91px 24px 28px;
  justify-content: flex-start;
  gap: 8px;
}
#screen-coin { position: relative; padding-top: 12px; }
#screen-coin .coin-head { position: static; height: auto; display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; }
#coin-id, #screen-coin .coin-id { margin-top: 0; min-height: 56px; justify-content: center; }
#screen-coin .price-line { margin-top: 14px; min-height: 36px; }
#coin-periods { margin-top: 9px; }
#coin-tiles .metric { padding: 2px 2px; }
#coin-forecast { margin-top: 0; }
#coin-chart { margin-top: 12px; height: 228px; min-height: 228px; }
#coin-metrics { margin-top: 18px; }
#coin-forecast { margin-top: 12px; }
#screen-market { padding-top: 39px; }
#market-tiles { margin-top: 20px; min-height: 115px; }
#market-leaders { margin-top: 30px; }
#onboard-step { text-align: center; width: 100%; font-size: 15px; letter-spacing: .08em; color: #e7ebf2; }
.step-art {
  width: 72px; height: 72px; margin: 8px auto 0; border-radius: 0;
  background: none; box-shadow: none;
}
#onboard-title, #onboard-body { white-space: pre-line; }
#onboard-title { font-size: 40px; font-weight: 750; line-height: 1.08; text-align: center; max-width: 320px; }
#onboard-body { text-align: center; color: #b9bec7; max-width: 280px; font-size: 16px; }
.onboard-foot { margin-top: auto; width: 100%; margin-left: 0; display: grid; justify-items: center; gap: 12px; }
#onboard-next { width: 100%; height: 58px; font-size: 18px; }
#screen-onboard.earth { padding: 36px 24px 28px; min-height: 100%; background-position: center 120px; background-size: auto 220%; }
#onboard-art { width: 72px; height: 72px; margin-top: 8px; }
#onboard-art svg { width: 64px; height: 64px; }
#onboard-title { margin-top: 24px; }
#screen-news { padding-top: 29px; }
#screen-event { padding-top: 20px; }
#screen-forecasts { padding-top: 28px; }
#forecast-chart { height: 167px; min-height: 167px; margin-top: -14px; }
#screen-setup { padding-top: 53px; }
#setup-title { margin-top: 84px; }
#sherlock-title { margin-top: -18px; }
#screen-workspace { padding-top: 42px; }
body[data-pane="workspace"] .demo-badge { top: 8px; inset-inline-end: 16px; }
.coin-id { display: flex; flex-direction: row; justify-content: center; align-items: center; text-align: start; gap: 12px; }
.coin-names { display: grid; gap: 2px; }
.coin-id h1 { font-size: 22px; font-weight: 600; }
.coin-id .mark, #coin-mark .mark { width: 48px; height: 48px; }
#coin-mark .mark svg { width: 48px; height: 48px; }
.price-line { display: flex; align-items: baseline; justify-content: flex-start; gap: 10px; }
.price-line .big { font-size: 34px; }
.segment.equal { display: flex; width: 100%; gap: 0; padding: 4px; background: #12141a; border-radius: 14px; }
.segment.equal button { flex: 1 1 0; text-align: center; }
.chart.tall { height: 188px; min-height: 188px; }
.chart.bars { height: 128px; min-height: 128px; border: 0; background: transparent; }
.tiles.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.tiles .card, .tiles .card h2, .tiles .card p { min-width: 0; overflow-wrap: anywhere; }
#screen-home .head-line { display: flex; }
.foot { display: none; }
body[data-pane="forecasts"] .foot,
body[data-pane="event"] .foot,
body[data-pane="sherlock"] .foot,
body[data-pane="analysis"] .foot { display: block; }
.news-card {
  display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 12px; align-items: center;
  width: 100%; text-align: start; background: transparent; border: 0; padding: 8px 0;
}
.news-card img { width: 106px; height: 72px; object-fit: cover; border-radius: 10px; background: #12141a; }
.news-card strong { font-size: 16px; font-weight: 600; text-align: start; }
#home-more { background: #C9CDD6; color: #000; }
.meta { font-size: 11px; color: var(--text-3); }
@media (prefers-reduced-motion: no-preference) {
  #screen-splash .splash-lockup { animation: javis-rise 600ms cubic-bezier(.22,1,.36,1) both; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-splash .splash-lockup, #screen-splash .splash-foot { animation: javis-fade 150ms both; }
}
@keyframes javis-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes javis-fade { from { opacity: 0; } to { opacity: 1; } }
#coin-tabs:empty { display: none; }
.metric-list { display: grid; }
.metric { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.metric strong { font-weight: 600; }
.fan-row { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 8px; align-items: stretch; }
.fan-row .chart { height: 210px; min-height: 210px; }
#forecast-legend { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.scenario-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scenario-row .dot { width: 8px; height: 8px; }
.yaxis.start { inset-inline-end: auto; inset-inline-start: 4px; }
.yaxis {
  position: absolute; inset-inline-end: 6px; top: 8px; bottom: 52px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 11px; color: #c5c8d0; pointer-events: none;
}
.asset-card { display: grid; gap: 14px; }
.asset-line { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; background: transparent; border: 0; color: inherit; padding: 0; text-align: start; }
.asset-line .px { text-align: end; }
.asset-line .px strong { display: block; font-size: 16px; font-weight: 640; }
.asset-line .px p { margin: 0; font-size: 13px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.kv + .kv { border-top: 1px solid var(--line); }
.kv > div { min-width: 0; }
.kv span { white-space: normal; overflow-wrap: anywhere; }
.kv .sub { margin: 0; font-size: 12px; color: var(--muted); white-space: normal; overflow-wrap: anywhere; }
.kv > strong { white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }
.card .kv-head { margin: 18px 0 0; padding-top: 4px; font-size: 12px; color: var(--muted); }
.card .kv-head + .kv { border-top: 0; padding-top: 8px; }
.kv-val { display: flex; gap: 8px; align-items: baseline; }
.macro-card { display: block; }
.macro-rows { display: grid; gap: 14px; }
.macro-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.macro-line.has-flag { grid-template-columns: 28px minmax(0, 1fr) auto; }
.macro-line .names { grid-column: 1; grid-row: 1; min-width: 0; }
.macro-line.has-flag .mark { grid-column: 1; grid-row: 1; }
.macro-line.has-flag .names { grid-column: 2; }
.macro-line strong { grid-column: 2; grid-row: 1; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.macro-line.has-flag strong { grid-column: 3; }
.macro-line .sub { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
.macro-line.has-flag .sub { grid-column: 2 / -1; }
.section-head, .row-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.info-btn {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.info-btn svg { width: 14px; height: 14px; }
.opinion { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.heat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; min-height: 72px; }
.heat-grid i { display: block; height: 18px; border-radius: 3px; background: #1a1d24; }
.alloc { display: flex; gap: 4px; min-height: 28px; margin: 10px 0; }
.alloc i { display: block; height: 28px; border-radius: 4px; background: #1ed48a; min-width: 8px; }
#desk-hits { display: grid; gap: 6px; }
#screen-desk .head-line { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; }
#screen-desk h1 { text-align: center; font-size: 22px; }
#screen-desk .chart { margin-top: 8px; }
#desk-hits button { text-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.leave {
  position: static; width: 100%; text-align: start; margin-top: 12px;
  background: #000; color: var(--text); border: 0; padding: 14px 2px 28px; font-size: 15px;
}
.menu button svg { width: 18px; height: 18px; flex: none; }
.menu button span { flex: 1; text-align: start; }
#screen-sherlock, #screen-support, #screen-plans, #screen-gate .hero { text-align: start; }
#screen-sherlock h1, #screen-gate .hero { text-align: center; }
#screen-gate .hero { width: 100%; }
.splash-lockup .wordmark { font-size: 64px; font-weight: 650; }
.splash-lockup .globe.big { width: 86px; height: 86px; }
#coin-star { color: #fff; font-size: 22px; }
#forecast-legend span { font-size: 13px; font-weight: 650; }
.mid { color: #3b82f6; }
#screen-support .row { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 8px; }
#screen-support button.ghost { text-align: start; width: 100%; }
#screen-support .pill { width: 100%; }

body[data-pane="home"] .globe { width: 48px; height: 48px; }
body[data-pane="home"] .brand { font-size: 22px; letter-spacing: 0; font-weight: 650; }
#home-coins .big { font-size: clamp(22px, 10.5vw, 42px); font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; max-width: 100%; }
#home-coins .pos, #home-coins .neg { font-size: clamp(15px, 5.2vw, 22px); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; overflow-wrap: normal; max-width: 100%; }
#nav button { font-size: 11px; }
#nav button svg, .nav-ico { width: 24px; height: 24px; }
body.search-open .top { display: flex; }
.market-head h1 { font-size: 32px; }
#market-search svg, #forecast-share svg { width: 24px; height: 24px; }
#market-chips button[aria-pressed="true"],
#forecast-assets button[aria-pressed="true"],
#work-tabs button[aria-pressed="true"],
#setup-mode button[aria-pressed="true"] { background: #f4f6fa; color: #111; font-weight: 650; }
#coin-chart, #forecast-chart, #screen-desk .chart { border: 0; background: transparent; box-shadow: none; }
#coin-chart .yaxis { font-size: 13px; bottom: 40px; }
.forecast-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#forecast-horizon {
  background: #12141a; color: #fff; border: 0; border-radius: 999px;
  padding: 8px 14px; font-size: 15px; height: 36px;
}
.fan-row, .fan-row .chart, #forecast-chart { display: block; height: 240px; min-height: 240px; margin-top: 0; }
.yaxis, .yaxis.start { font-size: 14px; }
#forecast-chart .yaxis { top: 12px; bottom: 20px; }
#desk-ls { height: 108px; min-height: 108px; }
.scenario-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 2px; background: transparent; border: 0; }
.scenario-row strong { font-size: 15px; }
#forecast-conditions { margin-top: 8px; font-size: 20px; }
.factor { margin: 8px 0; font-size: 16px; }
.factor::before { content: "\25C6"; margin-inline-end: 8px; color: #9aa0aa; }
#open-analysis { height: 56px; font-size: 17px; margin-top: 8px; }
body[data-pane="forecasts"] .disclaimer { font-size: 11px; }
body[data-pane="setup"] main { display: flex; flex-direction: column; }
#screen-setup { display: flex; flex-direction: column; flex: 1; min-height: 100%; padding: 88px 0 64px; gap: 14px; }
.setup-globe { width: 48px; height: 48px; }
#setup-title { margin-top: 4px; font-size: 26px; font-weight: 750; line-height: 1.15; }
#screen-setup .field { font-size: 18px; color: #d7dbe2; gap: 8px; }
#screen-setup select { height: 52px; border-radius: 16px; font-size: 16px; background: #101216; }
#setup-mode { display: flex; flex-wrap: nowrap; width: 100%; background: #16181d; border-radius: 18px; padding: 4px; gap: 4px; }
#setup-mode button { flex: 1; border-radius: 14px; padding: 12px 4px; background: transparent; color: #c5c8d0; }
.select-icon { position: relative; display: block; }
.select-icon .clock { position: absolute; inset-inline-start: 14px; top: 17px; width: 18px; height: 18px; pointer-events: none; }
.select-icon select { width: 100%; padding-inline-start: 42px; }
#setup-go { margin-top: auto; height: 58px; font-size: 18px; }
#screen-workspace .head-line { display: flex; align-items: center; gap: 8px; }
#work-title { font-size: 22px; font-weight: 680; line-height: 1.15; flex: 1; min-width: 0; }
.axis-dates { display: flex; justify-content: space-between; font-size: 12px; color: #c5c8d0; margin-top: 4px; }
.round-add {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: transparent; color: #fff; font-size: 22px; line-height: 1;
}
#work-tabs { display: flex; flex-wrap: nowrap; width: 100%; background: #12141a; border-radius: 16px; padding: 4px; }
#work-tabs button { flex: 1; }
.work-asset { grid-template-columns: 42px minmax(0, 1fr) 112px; align-items: center; }
.work-asset .mark, .work-asset .mark svg { width: 40px; height: 40px; }
.work-asset strong { font-size: 18px; font-weight: 680; }
.asset-meta { margin: 2px 0 0; display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.work-asset .spark { height: 46px; }
.scenario-compact { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 8px; }
.scenario-compact .chart.bars { height: 52px; min-height: 52px; border: 0; background: transparent; }
#screen-desk { font-size: 16px; }
#screen-desk h1 { font-size: 28px; }
#screen-desk h2 { font-size: 18px; }
#screen-desk .kv { font-size: 16px; padding: 12px 0; }
#screen-desk .opinion { font-size: 15px; line-height: 1.45; color: #d0d4dc; white-space: normal; overflow-wrap: anywhere; }
#screen-onboard { justify-content: flex-start; }
.fit-num, .big, .cap-hero .big, #coin-price, .tiles .card h2 {
  white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; max-width: 100%;
  direction: ltr; unicode-bidi: isolate;
}
.premium-badge {
  margin-inline-start: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 4px 10px; background: transparent; color: #fff; font-size: 12px;
}
.fresh-line { margin: 2px 0 10px; color: var(--muted); font-size: 13px; }
.section-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; }
.section-row h2 { margin: 0; font-size: 18px; font-weight: 650; }
#home-more { height: auto; margin: 0; padding: 0; background: transparent; color: var(--muted); }
.home-news {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center;
  width: 100%; text-align: start; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 8px;
}
.thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #16181f; }
.home-news strong { display: block; font-size: 14px; font-weight: 600; }
.cap-hero .big { font-size: clamp(28px, 9vw, 40px); margin: 4px 0; }
.cap-hero .kicker { margin: 0; color: var(--muted); }
#market-chart { height: 180px; min-height: 180px; }
.scenario-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 8px; align-items: center;
  padding: 12px; margin: 8px 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.scenario-card .chart { height: 84px; min-height: 84px; border: 0; background: transparent; }
.scenario-card .fit-num { font-size: 28px; }
.scenario-card .reason-line { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; line-height: 1.3; }
.work-sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; width: 100%; max-width: 100%; min-width: 0; text-align: start; }
.work-sum span { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.work-sum .icons { display: flex; gap: 4px; flex: none; }
.work-sum svg { width: 22px; height: 22px; flex: none; }
#work-cards { min-width: 0; max-width: 100%; }
#work-cards .card { min-width: 0; max-width: 100%; }
#work-cards .premium { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
#work-cards .premium p { margin: 0; white-space: normal; overflow-wrap: break-word; }
#work-cards .until { white-space: nowrap; overflow-wrap: normal; }
#work-cards .pill { width: 100%; max-width: 100%; height: auto; min-height: 44px; white-space: normal; }
body[data-pane="forecasts"] #disclaimer.foot { display: none; }
#work-tabs:empty { display: none; }
#screen-sherlock { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 100%; }
.spark-badge { width: 72px; height: 72px; margin: 24px 0 8px; filter: drop-shadow(0 0 12px rgba(244,247,251,.35)); }
#sherlock-hint { font-size: 18px; margin: 8px 0; }
#sherlock-chips { justify-content: center; }
#screen-sherlock .composer { position: sticky; bottom: 0; margin-top: auto; width: 100%; background: #000; padding-top: 8px; }
#onboard-art svg { filter: drop-shadow(0 0 10px rgba(244,247,251,.45)); }
#coin-chart .yaxis { bottom: 12px; }
#profile-subscribe { margin-top: 8px; height: 40px; }
#event-hero[hidden] { display: none !important; }
.news-card .thumb, .news-card .thumb img { width: 106px; height: 72px; border-radius: 14px; object-fit: cover; }
.step-art { width: 168px; height: 168px; }
#onboard-art { width: 168px; height: 168px; }
#onboard-art svg { width: 148px; height: 148px; }
#sherlock-chips button {
  border-radius: 999px; border: 1px solid rgba(244,247,251,.18);
  background: rgba(244,247,251,.08); padding: 8px 14px;
}
.spark-badge { background: #14181c; border-radius: 50%; filter: drop-shadow(0 0 16px rgba(244,247,251,.55)); }
#sherlock-lead[hidden] { display: none !important; }
#screen-splash .splash-foot { margin-top: 0; margin-bottom: 2vh; }
#screen-market,
#screen-setup,
#screen-workspace,
#screen-profile,
#screen-sherlock { color: #f4f6fa; }
#screen-market h1, .market-head h1 { font-size: 36px; font-weight: 720; }
#screen-market .chips button, #screen-market .segment button { font-size: 16px; padding: 10px 16px; color: #e4e7ee; }
#screen-market .kicker, #screen-market .sub, #screen-market .muted { color: #d5d8df; font-size: 15px; }
#screen-market .asset-line { min-height: 56px; }
#screen-market .asset-line .px strong { font-size: 18px; }
#screen-market h2, #market-leaders { font-size: 22px; font-weight: 680; }
#screen-market .card, #screen-workspace .card, #screen-profile .card {
  padding: 16px 18px; background: #14161c; border-color: rgba(255,255,255,.16);
}
#screen-setup { gap: 18px; }
.setup-globe { width: 64px; height: 64px; }
#setup-title { font-size: 34px; font-weight: 720; }
#screen-setup .field { font-size: 20px; color: #f2f4f8; }
#screen-setup select { height: 58px; font-size: 18px; color: #f4f6fa; border-color: rgba(255,255,255,.18); }
#setup-mode button { font-size: 16px; padding: 14px 4px; color: #e7ebf2; }
#setup-go { height: 60px; font-size: 18px; }
#work-title { font-size: 30px; font-weight: 720; }
.work-sum { min-height: 76px; font-size: 18px; font-weight: 640; }
.work-sum .mark, .work-sum .mark svg, .work-sum .icons svg { width: 32px; height: 32px; }
.work-sum .spark { width: 120px; height: 52px; flex: none; min-width: 120px; }
.work-sum .bell-ico { display: flex; flex: none; }
.work-sum .bell-ico svg { width: 28px; height: 28px; }
#screen-profile h1 { font-size: 34px; font-weight: 720; }
#profile-name { font-size: 20px; font-weight: 680; }
#screen-profile .menu { gap: 4px; }
#screen-profile .menu button { min-height: 56px; font-size: 17px; padding: 12px 4px; color: #f7f8fa; }
#screen-profile .menu button svg { width: 26px; height: 26px; }
.menu-section { margin: 18px 0 0; color: #c5c8d0; font-size: 13px; letter-spacing: .04em; }
#sherlock-title { font-size: 34px; font-weight: 720; margin-top: 12px; }
#sherlock-hint { font-size: 22px; color: #f4f6fa; }
#sherlock-chips button { font-size: 16px; padding: 12px 18px; color: #f4f6fa; max-width: 100%; white-space: normal; }
#screen-sherlock .composer input { height: 52px; font-size: 17px; }
#screen-sherlock .send { width: 48px; height: 48px; }
#coin-tiles .metric { min-height: 48px; padding: 12px 2px; font-size: 16px; }
#coin-chart .chart-gap { margin: 0; color: #d5d8df; font-size: 16px; text-align: center; padding-top: 72px; }
.empty-note { margin: 12px 0; color: #e7ebf2; font-size: 18px; }
.neutral-tile { display: block; width: 32px; height: 32px; border-radius: 10px; background: #1c1f27; }
.ticker-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid #3a4150; color: #f4f6fa; font-size: 10px; font-weight: 650; background: transparent; }
.photo-gap { display: grid; place-items: center; min-width: 56px; min-height: 56px; color: #d5d8df; font-size: 12px; }
.thumb-col { display: flex; flex-direction: column; align-items: stretch; min-width: 0; width: 100%; }
.thumb-col .photo-cap, #event-photo-cap { display: block; margin-top: 4px; color: #b7bcc6; font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
#event-photo-cap { margin: 6px 0 10px; font-size: 13px; }
.news-card .neutral-tile, .home-news .neutral-tile, .thumb .neutral-tile { width: 56px; height: 56px; border-radius: 14px; }
.original-label { display: block; color: #d5d8df; font-size: 12px; letter-spacing: .04em; }
.source-line { display: block; margin: 2px 0 8px; color: #b7bcc6; font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
.news-card { grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
.home-news { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 10px; }
.home-news .thumb, .home-news .thumb img { width: 106px; height: 72px; object-fit: cover; border-radius: 12px; }
#home-confidence { white-space: pre-line; }
.news-card .link, .home-news .link { display: block; text-align: start; padding: 0; }
.method-line { margin: 0 0 10px; }
.method-line .link { font-size: 13px; text-align: start; }
.translate-slot:empty { display: block; min-height: 0; }
.news-card strong, .home-news strong { cursor: pointer; display: block; overflow-wrap: anywhere; }
#setup-mode { flex-wrap: wrap; }
#setup-mode button { flex: 1 1 0; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
button.pill:not(.ghost-pill) { background: #fff; color: #111; opacity: 1; }
#screen-market .chips button[aria-pressed="true"],
#setup-mode button[aria-pressed="true"],
.seg button[aria-pressed="true"] { background: #f4f6fa; color: #111; }
#screen-splash.earth { display: block; min-height: 100%; position: relative; }
#screen-splash.earth::before { left: 0; width: 100%; height: 72%; bottom: 0; }
#screen-splash.earth > .hero,
#screen-splash.earth > .splash-foot { position: absolute; z-index: 2; left: 0; right: 0; margin: 0; }
#screen-splash.earth > .hero { top: 12%; }
#screen-splash.earth > .splash-foot { top: 35.4%; align-items: center; }
#splash-start { width: auto; min-width: 0; height: 46px; padding: 0 10px; }
@media (min-width: 800px) {
  #screen-splash.earth > .hero { top: 80px; transform: translateX(120px); }
  #screen-splash.earth > .splash-foot { top: 167px; transform: translateX(120px); }
}
#setup-mode button { flex: 1 1 auto; min-width: max-content; white-space: nowrap; overflow-wrap: normal; font-size: 12px; padding-left: 4px; padding-right: 4px; }
#sherlock-answer, #sherlock-dry, .analyst-block { font-size: 18px; line-height: 1.45; }
#screen-setup .lead, #screen-workspace .card, #screen-profile .card { font-size: 16px; }
#event-analysis { opacity: 1; }
#home-confidence { display: block; }
