/* VORKIVOX design system v4 — dark (default) and light themes, mobile first (375 px). */
:root {
  color-scheme: dark;
  --bg: #060a14;
  --bg-2: #0a1020;
  --surface: #0f1729;
  --surface-2: #152039;
  --surface-3: #1c2948;
  --border: #1d2a47;
  --border-2: #2a3b62;
  --text: #eaf0fb;
  --text-2: #b7c2da;
  --muted: #8592ae;
  --accent: #4f8cff;
  --accent-2: #7c5cff;
  --accent-soft: rgba(79, 140, 255, .14);
  --brand-a: #4f8cff;
  --brand-b: #1fd17b;
  --up: #1fd17b;
  --up-soft: rgba(31, 209, 123, .13);
  --down: #ff5a6a;
  --down-soft: rgba(255, 90, 106, .13);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, .14);
  --info: #4f8cff;
  --grad-primary: linear-gradient(135deg, #4f8cff 0%, #7c5cff 100%);
  --grad-brand: linear-gradient(120deg, #4f8cff 0%, #22b8d6 55%, #1fd17b 100%);
  --hero-glow: radial-gradient(120% 120% at 0% 0%, rgba(79, 140, 255, .26) 0%, rgba(124, 92, 255, .10) 38%, transparent 70%);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .22);
  --hairline: inset 0 1px 0 rgba(255, 255, 255, .045);
  --radius: 18px;
  --radius-sm: 12px;
  --tab-h: 66px;
  --fs-xs: 11.5px;
  --fs-sm: 13px;
  --fs-md: 16.5px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  --fs-xxl: 34px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f5fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f3f9;
  --surface-3: #e4e9f3;
  --border: #e0e6f0;
  --border-2: #cfd7e6;
  --text: #0d1526;
  --text-2: #34415c;
  --muted: #5d6884;
  --accent: #2f6df6;
  --accent-2: #6a4cf5;
  --accent-soft: rgba(47, 109, 246, .1);
  --up: #0c9c5f;
  --up-soft: rgba(12, 156, 95, .1);
  --down: #df3446;
  --down-soft: rgba(223, 52, 70, .09);
  --warn: #c27a00;
  --warn-soft: rgba(194, 122, 0, .1);
  --grad-primary: linear-gradient(135deg, #2f6df6 0%, #6a4cf5 100%);
  --hero-glow: radial-gradient(120% 120% at 0% 0%, rgba(47, 109, 246, .14) 0%, rgba(106, 76, 245, .06) 40%, transparent 70%);
  --shadow: 0 10px 28px rgba(16, 24, 40, .09);
  --shadow-sm: 0 1px 4px rgba(16, 24, 40, .07);
  --hairline: inset 0 1px 0 rgba(255, 255, 255, .7);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html.no-scroll { overflow: hidden; }
body { min-height: 100dvh; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; font-size: 15px; line-height: 1.45; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -.2px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.warn { color: var(--warn); }
.info { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; font-family: var(--font-num); }
.mt0 { margin-top: 0 !important; }
.mt4 { margin-top: 4px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.center { text-align: center; }
.full { width: 100%; }
.grow { flex: 1; min-width: 0; }
.row-flex { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.t { font-weight: 650; }
.d { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .5px; }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- app frame ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px;
  padding: calc(env(safe-area-inset-top) + 8px) 12px 8px; background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid var(--border);
}
/* iOS draws white status-bar text (black-translucent): keep the strip behind it dark in the light theme too. */
:root[data-theme="light"] .topbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: env(safe-area-inset-top); background: #0a1020; }
.topbar h1 { font-size: 18px; font-weight: 750; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .brand { display: flex; align-items: center; }
.topbar .brand img { border-radius: 9px; box-shadow: 0 4px 14px rgba(79, 140, 255, .35); }
.top-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; background: transparent; border: 0; color: var(--text-2); }
.icon-btn:active { background: var(--surface-2); transform: scale(.95); }
.icon-btn.spin svg { animation: spin .8s linear infinite; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin: 0 8px; position: relative; }
.live.ok { background: var(--up); }
.live.ok::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--up); opacity: .5; animation: ping 2.4s ease-out infinite; }
.live.bad { background: var(--down); box-shadow: 0 0 0 4px var(--down-soft); }
@keyframes ping { 0% { transform: scale(.6); opacity: .6; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

main { padding: 14px 16px calc(var(--tab-h) + env(safe-area-inset-bottom) + 28px); max-width: 860px; margin: 0 auto; outline: none; }
.page-enter { animation: fade .2s ease-out; }
@keyframes fade { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--bg-2) 90%, transparent); backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px); border-top: 1px solid var(--border);
}
.tabbar button { position: relative; background: none; border: 0; color: var(--muted); display: grid; place-items: center; align-content: center; gap: 3px; font-size: 10.5px; font-weight: 650; cursor: pointer; letter-spacing: .1px; }
.tabbar button::before { content: ""; position: absolute; top: 7px; width: 46px; height: 30px; border-radius: 12px; background: transparent; transition: background .2s; z-index: -1; }
.tabbar button.on { color: var(--text); }
.tabbar button.on svg { color: var(--accent); }
.tabbar button.on::before { background: var(--accent-soft); }

/* ---------- banners (offline / update / plan) ---------- */
.banner { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.4; border: 1px solid transparent; }
.banner svg { flex: none; }
.banner .grow { color: inherit; }
.banner .mini { flex: none; }
.banner.info { background: var(--accent-soft); color: var(--text); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.banner.info svg { color: var(--accent); }
.banner.warn { background: var(--warn-soft); color: var(--text); border-color: color-mix(in srgb, var(--warn) 32%, transparent); }
.banner.warn svg { color: var(--warn); }
.banner.ok { background: var(--up-soft); color: var(--text); border-color: color-mix(in srgb, var(--up) 30%, transparent); }
.banner.ok svg { color: var(--up); }
.banner.bad { background: var(--down-soft); color: var(--text); border-color: color-mix(in srgb, var(--down) 30%, transparent); }
.banner.bad svg { color: var(--down); }
button.banner { width: 100%; text-align: left; cursor: pointer; font: inherit; font-size: 13.5px; }
.global-banner { position: fixed; left: 12px; right: 12px; z-index: 35; top: calc(env(safe-area-inset-top) + 64px); max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); animation: fade .25s; }
.global-banner.bottom { top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px); }

/* ---------- typography / sections ---------- */
.sec-title { display: flex; justify-content: space-between; align-items: center; margin: 24px 2px 10px; gap: 10px; }
.sec-title > span { font-size: 12.5px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.sec-title a, .link { color: var(--accent); font-size: 14px; font-weight: 650; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.page-head { margin: 6px 2px 16px; }
.page-head .eyebrow { margin-bottom: 4px; }
.page-head h2 { font-size: var(--fs-xl); margin: 0; letter-spacing: -.5px; line-height: 1.15; }
.page-head p { margin: 6px 0 0; color: var(--text-2); font-size: 14.5px; }
.eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--accent); }
.note { font-size: 13px; color: var(--muted); margin: 10px 2px 0; line-height: 1.5; }
.note.sig-profile { font-size: 12.5px; margin: 0; text-align: center; color: var(--text-2); }
.hint { font-size: 13.5px; color: var(--text-2); line-height: 1.5; background: var(--surface-2); border-radius: var(--radius-sm); padding: 11px 13px; }
.warn-hint { background: var(--warn-soft); color: var(--text); }
.error { color: var(--down); min-height: 1.2em; font-size: 14px; margin: 0; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--hairline); }
.card.flush { padding: 2px 16px; }
.card.hero-card { background: var(--hero-glow), var(--surface); border-color: var(--border-2); }
.card.glow { position: relative; overflow: hidden; }
.card.glow::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 209, 123, .16), transparent 70%); pointer-events: none; }
.card.tap { cursor: pointer; transition: transform .12s ease, border-color .15s; }
.card.tap:active { transform: scale(.985); border-color: var(--border-2); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-head .t { font-size: 15.5px; }
.stack { display: grid; gap: 12px; }
.stack.tight { gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid2 > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpis.k3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 14px; min-width: 0; box-shadow: var(--hairline); }
.kpi-l { font-size: 12px; color: var(--muted); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.kpi-v { font-size: 22px; font-weight: 780; margin-top: 4px; font-variant-numeric: tabular-nums; font-family: var(--font-num); letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-s { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis.k3 .kpi-v { font-size: 18px; }
.kpi-v.txt { font-size: 17px; white-space: normal; line-height: 1.25; letter-spacing: -.2px; }
.hero-value.hero-msg { font-size: 25px; letter-spacing: -.5px; }

.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); font-size: 14px; }
.kv .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; min-width: 0; overflow-wrap: anywhere; }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 780; letter-spacing: .3px; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge.up { background: var(--up-soft); color: var(--up); }
.badge.down { background: var(--down-soft); color: var(--down); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--accent-soft); color: var(--accent); }
.badge.solid { background: var(--grad-primary); color: #fff; }
.pill { font-variant-numeric: tabular-nums; font-weight: 720; font-size: 13.5px; padding: 5px 9px; border-radius: 8px; min-width: 76px; text-align: center; }
.pill.up { background: var(--up-soft); color: var(--up); }
.pill.down { background: var(--down-soft); color: var(--down); }

/* ---------- hero (dashboard) ---------- */
.greet { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 2px 14px; }
.greet h2 { margin: 0; font-size: 23px; letter-spacing: -.4px; }
.greet p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hero-label { font-size: 13px; color: var(--muted); font-weight: 650; }
.hero-value { font-size: var(--fs-xxl); font-weight: 820; letter-spacing: -1px; font-variant-numeric: tabular-nums; font-family: var(--font-num); margin-top: 2px; line-height: 1.1; }
.hero-value .unit { font-size: 18px; font-weight: 700; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.hero-sub { font-size: 13.5px; color: var(--text-2); margin-top: 4px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.hero-stats > div { background: color-mix(in srgb, var(--surface-2) 70%, transparent); border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; min-width: 0; }
.hero-stats .l { font-size: 11px; color: var(--muted); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stats .v { font-size: 16px; font-weight: 780; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; }

/* live engine card */
.engine { display: grid; gap: 12px; }
.engine-top { display: flex; align-items: center; gap: 12px; }
.engine-orb { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex: none; box-shadow: 0 6px 18px rgba(31, 209, 123, .25); position: relative; }
.engine-orb.paused { background: linear-gradient(135deg, #ffb547, #ff8a4c); box-shadow: 0 6px 18px rgba(255, 181, 71, .25); }
.engine-orb.off { background: var(--surface-3); color: var(--muted); box-shadow: none; }
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.engine-grid > div { background: var(--surface-2); border-radius: 12px; padding: 9px 10px; min-width: 0; }
.engine-grid .l { font-size: 11px; color: var(--muted); font-weight: 650; }
.engine-grid .v { font-size: 15px; font-weight: 760; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 999px; transition: width .6s ease; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); }
.status-dot.ok { background: var(--up); box-shadow: 0 0 0 3px var(--up-soft); }
.status-dot.mid { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.status-dot.bad { background: var(--down); box-shadow: 0 0 0 3px var(--down-soft); }
.status-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-chip i.ok { background: var(--up); }
.status-chip i.bad { background: var(--down); }
.status-chip i.mid { background: var(--warn); }

/* quick actions */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick button { display: grid; justify-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; font-size: 11.5px; font-weight: 650; color: var(--text-2); box-shadow: var(--hairline); min-width: 0; }
.quick button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.quick .qi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.quick .qi.g { background: var(--up-soft); color: var(--up); }
.quick .qi.o { background: var(--warn-soft); color: var(--warn); }
.quick .qi.v { background: rgba(124, 92, 255, .14); color: var(--accent-2); }
.quick button:active { transform: scale(.97); }

/* win-rate ring (conic gradient set through the CSSOM) */
.ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--up) calc(var(--p) * 1%), var(--surface-3) 0); }
.ring > div { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; line-height: 1.1; }
.ring b { font-size: 16px; font-variant-numeric: tabular-nums; }
.ring small { font-size: 10px; color: var(--muted); font-weight: 650; }

/* ---------- segmented / chips ---------- */
.seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 3px; gap: 2px; }
.seg button { border: 0; border-radius: 10px; padding: 8px 6px; background: none; color: var(--muted); font-weight: 680; font-size: 13.5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg.small button { padding: 6px 4px; font-size: 12.5px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none; margin: 0 -16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: 13.5px; font-weight: 650; cursor: pointer; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 2px 10px; }
.toolbar .summary { font-size: 13px; color: var(--muted); }

/* ---------- lists ---------- */
.list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hairline); }
.li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--border); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; color: var(--text); font: inherit; }
.li:last-child { border-bottom: 0; }
.li:active { background: var(--surface-2); }
.li .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.li .ico.g { background: var(--up-soft); color: var(--up); }
.li .ico.o { background: var(--warn-soft); color: var(--warn); }
.li .ico.r { background: var(--down-soft); color: var(--down); }
.li .ico.v { background: rgba(124, 92, 255, .14); color: var(--accent-2); }
.li .ico.n { background: var(--surface-2); color: var(--text-2); }
.li .body { flex: 1; min-width: 0; }
.li .t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .s { font-size: 12.5px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .end { text-align: right; flex: none; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.li .end .p { font-weight: 680; font-variant-numeric: tabular-nums; color: var(--text); }
.li.static { cursor: default; }
.li.static:active { background: none; }
.coin-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 820; color: #fff; flex: none; letter-spacing: -.3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* ---------- signal cards ---------- */
.sig { display: grid; gap: 12px; }
.sig-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sig-sym { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sig-sym .name { font-size: 16.5px; font-weight: 780; }
.sig-sym .sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-meta { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sig-move { font-size: 21px; font-weight: 820; font-variant-numeric: tabular-nums; font-family: var(--font-num); }
.sig-price .l { font-size: 12px; color: var(--muted); }
.sig-price .v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 34px; margin: 2px 4px 0; }
.track .line { position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--down) 0%, var(--down-soft) 28%, var(--surface-3) 42%, var(--up-soft) 62%, var(--up) 100%); }
.track .tick { position: absolute; top: 7px; width: 2px; height: 12px; background: var(--border-2); border-radius: 2px; }
.track .tick-l { position: absolute; top: 21px; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); font-weight: 650; white-space: nowrap; }
.track .marker { position: absolute; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--text); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.levels > div { background: var(--surface-2); border-radius: 11px; padding: 8px 4px 7px; text-align: center; min-width: 0; }
.levels .lk { font-size: 10.5px; color: var(--muted); font-weight: 750; letter-spacing: .4px; }
.levels .lv { font-size: 12.5px; font-weight: 720; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: 1px; }
.levels .lr { font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; white-space: pre-line; margin-top: 3px; }
.levels .lr.up { color: var(--up); }
.levels .lr.down { color: var(--down); }
.levels-note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 6px 0 0; }
.sig-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.sig-foot .tl { display: inline-flex; align-items: center; gap: 5px; }
.sig-locked { display: flex; align-items: center; gap: 12px; }

/* ---------- forms ---------- */
label.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 650; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=range] { padding: 0; border: 0; background: transparent; accent-color: var(--accent); height: 32px; box-shadow: none; }
.search { position: relative; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 42px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-2); border-radius: 13px;
  padding: 12px 16px; background: var(--surface-2); color: var(--text); font-weight: 720; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .1s;
}
.btn.primary { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn.brand { background: var(--grad-brand); border-color: transparent; color: #04121f; }
.btn.danger { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); background: var(--down-soft); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 12px; font-size: 13.5px; border-radius: 11px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.btn-row.three { grid-template-columns: repeat(3, 1fr); }
.btn-row.four { grid-template-columns: repeat(4, 1fr); }
.mini { font-size: 13px; font-weight: 720; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); cursor: pointer; white-space: nowrap; }
.mini.danger { color: var(--down); border-color: color-mix(in srgb, var(--down) 35%, transparent); }
.mini.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.switch { position: relative; width: 52px; height: 32px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-2); transition: .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: .2s; }
.switch input:checked + span { background: var(--up); border-color: var(--up); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.setting:last-child { border-bottom: 0; }
.setting .t { font-weight: 650; }
.setting .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.range-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-top: 12px; }
.range-head strong { color: var(--text); font-size: 16px; }
select.w-auto { width: auto; padding: 8px 12px; }
form.stack { display: grid; gap: 10px; }

/* ---------- charts ---------- */
.chart { position: relative; width: 100%; touch-action: pan-y; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-empty { padding: 34px 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.chart-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.chart-zero { stroke: var(--border-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.is-up .chart-line { stroke: var(--up); } .is-down .chart-line { stroke: var(--down); }
.is-up .grad-a { stop-color: var(--up); stop-opacity: .32; } .is-down .grad-a { stop-color: var(--down); stop-opacity: .3; }
.grad-b { stop-color: var(--bg); stop-opacity: 0; }
.chart-dot { stroke: var(--surface); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.is-up .chart-dot { fill: var(--up); } .is-down .chart-dot { fill: var(--down); }
.chart-cross { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart-last { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart-label { fill: var(--muted); font-size: 11.5px; font-weight: 650; }
.bar-up { fill: var(--up); } .bar-down { fill: var(--down); } .bar-n { fill: var(--accent); }
.candle-up { fill: var(--up); stroke: var(--up); } .candle-down { fill: var(--down); stroke: var(--down); }
.wick { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.chart-tip { position: absolute; top: -6px; transform: translateY(-100%); background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); border-radius: 10px; padding: 6px 9px; font-size: 12.5px; font-weight: 650; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; z-index: 2; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.spark { width: 64px; height: 24px; }
.spark path { fill: none; stroke-width: 1.8; }
.spark-up { stroke: var(--up); } .spark-down { stroke: var(--down); }
.stack-track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.stack-seg { height: 100%; }
.stack-seg.up, .dot-up { background: var(--up); } .stack-seg.down, .dot-down { background: var(--down); }
.stack-seg.warn, .dot-warn { background: var(--warn); } .stack-seg.n, .dot-n { background: var(--muted); }
.stack-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.stack-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.table th { text-align: right; color: var(--muted); font-weight: 680; font-size: 12px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.table th:first-child, .table td:first-child { text-align: left; }
.table td { text-align: right; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.gauge { height: 8px; border-radius: 999px; background: var(--down-soft); overflow: hidden; }
.gauge > span { display: block; height: 100%; background: var(--up); border-radius: 999px; }

/* ---------- explainer pages (Nasıl çalışır / onboarding) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border-2); }
.step:last-child::before { display: none; }
.step .n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step .t { font-size: 15.5px; margin-top: 2px; }
.step p { margin: 3px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 14px; box-shadow: var(--hairline); }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { cursor: pointer; list-style: none; padding: 13px 0; font-weight: 680; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary svg { transition: transform .2s; color: var(--muted); flex: none; }
details.faq[open] summary svg { transform: rotate(90deg); }
details.faq p { margin: 0 0 13px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.example > div { border-radius: 12px; padding: 10px 12px; background: var(--surface-2); }
.example .l { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.example .v { font-size: 15px; font-weight: 780; font-variant-numeric: tabular-nums; margin-top: 2px; }
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.feature .fi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature .fi.g { background: var(--up-soft); color: var(--up); }
.feature .fi.o { background: var(--warn-soft); color: var(--warn); }
.feature .fi.v { background: rgba(124, 92, 255, .14); color: var(--accent-2); }
.feature p { margin: 3px 0 0; font-size: 13.5px; color: var(--text-2); }

/* onboarding tour */
.tour { min-height: 100dvh; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 22px); background: var(--hero-glow), var(--bg); }
.tour-skip { align-self: flex-end; }
.tour-body { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; gap: 14px; max-width: 460px; margin: 0 auto; }
.tour-art { width: 112px; height: 112px; border-radius: 32px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 18px 50px rgba(31, 209, 123, .25); }
.tour-art.b { background: var(--grad-primary); box-shadow: 0 18px 50px rgba(79, 140, 255, .3); }
.tour-art.o { background: linear-gradient(135deg, #ffb547, #ff7a59); box-shadow: 0 18px 50px rgba(255, 140, 80, .28); }
.tour h2 { font-size: 26px; margin: 8px 0 0; letter-spacing: -.5px; }
.tour p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.dots { display: flex; gap: 6px; justify-content: center; margin: 18px 0 14px; }
.dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--border-2); transition: .25s; }
.dots i.on { width: 22px; background: var(--accent); }

/* plans */
.plan-card { display: grid; gap: 10px; }
.plan-card .name { font-size: 19px; font-weight: 800; }
.plan-card .sub { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow); background: var(--hero-glow), var(--surface); }
.plan-card.current { border-color: var(--up); }
.plan-price { font-size: 30px; font-weight: 820; font-variant-numeric: tabular-nums; letter-spacing: -.6px; }
.plan-pricing { display: grid; gap: 2px; }
.plan-was { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.plan-was s { text-decoration-thickness: 1.5px; }
.plan-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.trial-card { border-color: var(--accent); background: var(--hero-glow), var(--surface); }
.locked-val { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.lock-overlay { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 13.5px; }
.lock-overlay svg { color: var(--accent); flex: none; }
/* login: public track record */
.login-proof { width: 100%; margin: 4px 0 18px; padding: 12px 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--up) 30%, var(--border));
  background: linear-gradient(135deg, color-mix(in srgb, var(--up) 12%, transparent), transparent 65%), var(--surface); }
.lp-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-2); letter-spacing: .2px; }
.lp-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px var(--up-soft); animation: pulse 2s infinite; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; text-align: center; }
.lp-grid b { display: block; font-size: 20px; font-weight: 820; color: var(--up); font-variant-numeric: tabular-nums; }
.lp-grid small { font-size: 11.5px; color: var(--muted); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* money language: "100 $ ile" 1x / 3x / 5x */
.stake-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.stake { background: color-mix(in srgb, var(--surface-2) 75%, transparent); border: 1px solid var(--border); border-radius: 12px; padding: 9px 10px; min-width: 0; }
.stake .l { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.stake .v { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.proof { background: var(--surface-2); border-radius: 12px; padding: 10px 6px; text-align: center; min-width: 0; }
.proof .v { font-size: 18px; font-weight: 820; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof .l { font-size: 11px; color: var(--muted); margin-top: 2px; }
@media (max-width: 380px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
.li .end.end-col { flex-direction: column; align-items: flex-end; gap: 4px; }
.push-alert { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, var(--warn) 14%, transparent), transparent 70%), var(--surface); }
.push-alert .li-ico-lg { background: var(--warn-soft); color: var(--warn); }
.li-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.card.tap { width: 100%; text-align: left; color: inherit; font: inherit; }
.plan-price .muted { font-size: 14px; font-weight: 650; letter-spacing: 0; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; }
.plan-list svg { color: var(--up); flex: none; margin-top: 2px; }
.plan-list li.lim svg { color: var(--muted); }
.plan-list li.lim { color: var(--muted); }
.compare td, .compare th { text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare .yes { color: var(--up); }
.compare .no { color: var(--muted); }
.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 1.5px; text-align: center; user-select: all; word-break: break-all; }

/* ---------- text output ---------- */
.result { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.msg { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 13px; font-size: 14px; line-height: 1.5; }

/* ---------- states ---------- */
.loading { padding: 34px 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { height: 92px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border: 1px solid var(--border); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 28px 18px; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius); display: grid; justify-items: center; gap: 6px; }
.empty .ei { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); margin-bottom: 4px; }
.empty p { margin: 0; }
.empty .et { color: var(--text); font-weight: 700; }
.empty .btn { margin-top: 8px; }

/* ---------- login / onboarding / connection ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), radial-gradient(70% 40% at 100% 100%, rgba(31, 209, 123, .10), transparent 70%), var(--bg); }
.login-logo { border-radius: 22px; box-shadow: 0 14px 44px rgba(79, 140, 255, .38); }
.login h1 { margin: 18px 0 0; letter-spacing: 7px; font-size: 29px; font-weight: 820; }
.login .tag { margin: 6px 0 26px; color: var(--muted); text-align: center; }
.login form { width: 100%; max-width: 380px; display: grid; gap: 14px; }
.login .foot { margin-top: 22px; font-size: 12px; color: var(--muted); text-align: center; max-width: 380px; line-height: 1.5; }
.login-links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.trust { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 5px; }
.legal-text { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.legal-text h3 { color: var(--text); font-size: 15.5px; margin: 18px 0 6px; }
.legal-text ul { padding-left: 18px; margin: 6px 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); margin: 6px 0; }
.check-row input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); padding: 0; }
.switch-line { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.onb-card { width: 100%; max-width: 520px; max-height: 46dvh; overflow-y: auto; text-align: left; }
.onb-actions { width: 100%; max-width: 520px; margin-top: 14px; }
.splash { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--bg); transition: opacity .3s; }
.splash.out { opacity: 0; pointer-events: none; }
.splash img { border-radius: 22px; animation: breathe 1.6s ease-in-out infinite; box-shadow: 0 14px 44px rgba(79, 140, 255, .35); }
@keyframes breathe { 50% { transform: scale(.94); opacity: .8; } }

/* ---------- sheet / toast ---------- */
.sheet { position: fixed; inset: 0; z-index: 30; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 14, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .15s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90dvh; display: flex; flex-direction: column; background: var(--bg-2); border-top-left-radius: 24px; border-top-right-radius: 24px; border: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); animation: up .24s cubic-bezier(.2, .9, .3, 1); max-width: 860px; margin: 0 auto; box-shadow: var(--shadow); }
.sheet-panel::before { content: ""; width: 38px; height: 5px; border-radius: 3px; background: var(--border-2); margin: 8px auto 0; }
@keyframes up { from { transform: translateY(60px); opacity: .3; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 6px 18px; }
.sheet-head h2 { margin: 0; font-size: 19px; }
.sheet-body { overflow-y: auto; padding: 4px 16px 22px; -webkit-overflow-scrolling: touch; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 14px); z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .22s; max-width: calc(100% - 32px); background: var(--text); color: var(--bg); font-weight: 680; font-size: 14px; padding: 11px 16px; border-radius: 13px; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--down); color: #fff; }

@media (min-width: 680px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpis.k3 { grid-template-columns: repeat(3, 1fr); }
  .wide-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick { grid-template-columns: repeat(4, minmax(0, 120px)); }
}
.major { min-width: 132px; text-align: left; padding: 12px 14px; }
button.search { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
button.search input { pointer-events: none; }
.li-ico-lg { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.avatar { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--grad-primary); color: #fff; font-weight: 820; font-size: 20px; flex: none; text-transform: uppercase; box-shadow: 0 8px 22px rgba(79, 140, 255, .3); }
.link-body { background: none; border: 0; text-align: left; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.full-w { width: 100%; text-align: left; color: inherit; font: inherit; }
.upsell { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: var(--hero-glow), var(--surface); }
.lock-hint { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; font-size: 13.5px; }
.lock-hint svg { flex: none; margin-top: 2px; }
.about-hero { display: grid; justify-items: center; gap: 4px; padding: 26px 16px; text-align: center; }
.about-hero h2 { margin: 10px 0 0; letter-spacing: 6px; font-size: 24px; }
.version-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); margin-top: 6px; }
