/* The Influence List: a trading terminal for creators.
   Near-black floor, hairline panels, mono figures. Green means up, red means down, and nothing else
   is allowed to be loud. The Bodoni wordmark is the one nod to the Influence magazines. */
:root {
  --bg: #07090c;
  --bg2: #0b0e12;
  --panel: #0e1217;
  --panel2: #131920;
  --line: #1c232c;
  --line2: #262f3a;
  --text: #e9edf2;
  --mute: #8a94a3;
  --dim: #566170;
  --up: #19d27c;
  --up-bg: rgba(25, 210, 124, .12);
  --down: #ff4d5e;
  --down-bg: rgba(255, 77, 94, .12);
  --accent: #19d27c;
  --focus: #5b9dff;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r: 10px;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 500px at 70% -200px, rgba(25,210,124,.07), transparent 60%); background-repeat: no-repeat; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(25,210,124,.3); }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: #fff; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: 17px; letter-spacing: -0.01em; }
h3 { font-size: 15px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--mute); }
.small { font-size: 12px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.empty { color: var(--mute); padding: 20px 0; margin: 0; }
.notice { background: var(--panel2); border: 1px solid var(--line2); padding: 12px 16px; border-radius: var(--r); font-size: 14px; color: var(--mute); margin-top: 16px; }
.notice a, .prose a, .article a { color: #fff; text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.sym { font: 700 11px var(--mono); letter-spacing: .04em; color: var(--mute); background: var(--panel2); border: 1px solid var(--line2); border-radius: 4px; padding: 1px 5px; }
.up, .dl-up, .mv-up { color: var(--up); }
.down, .dl-down, .mv-down { color: var(--down); }
.flat, .dl-flat, .mv-flat { color: var(--dim); }

/* ---------- ticker tape ---------- */
.ticker { display: flex; align-items: stretch; height: 34px; background: #050608; border-bottom: 1px solid var(--line); overflow: hidden; font-family: var(--mono); font-size: 12px; position: relative; z-index: 31; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--panel); border-right: 1px solid var(--line); color: var(--mute); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.ticker-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(25,210,124,.18); animation: blink 2s infinite; }
.tape { flex: 1; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.tape-run { display: flex; flex: none; align-items: center; min-width: 100%; }
.tape.live .tape-run { animation: tape var(--dur, 60s) linear infinite; }
.tape:hover .tape-run { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes blink { 50% { opacity: .35; } }
.tk { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 34px; white-space: nowrap; border-right: 1px solid var(--line); color: var(--text); }
.tk b { color: #fff; font-weight: 700; }
.tk-n { color: var(--mute); font-family: var(--sans); font-size: 12px; }
.tk-r { color: #fff; }
.tk-m { font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.tk.up .tk-m { background: var(--up-bg); color: var(--up); }
.tk.down .tk-m { background: var(--down-bg); color: var(--down); }
.tk.up .tk-d { color: var(--up); }
.tk.down .tk-d { color: var(--down); }
.tk-rank { color: var(--dim); }
.tk:hover { background: var(--panel); }

/* ---------- header ---------- */
.top { border-bottom: 1px solid var(--line); background: rgba(7,9,12,.86); backdrop-filter: saturate(1.4) blur(12px); position: sticky; top: 0; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.wordmark { font-family: var(--serif); font-style: italic; white-space: nowrap; line-height: 1; color: #fff; }
.wm-the { font-size: 14px; color: var(--mute); }
.wm-main { font-size: 24px; font-weight: 500; letter-spacing: -0.035em; }
.topsearch { flex: 1; max-width: 380px; position: relative; }
.topsearch input { width: 100%; height: 38px; padding: 0 40px 0 14px; background: var(--panel); border: 1px solid var(--line2); border-radius: 8px; color: var(--text); font: 14px var(--sans); }
.topsearch input::placeholder { color: var(--dim); }
.topsearch kbd { position: absolute; right: 10px; top: 9px; font: 11px var(--mono); color: var(--dim); border: 1px solid var(--line2); border-radius: 4px; padding: 1px 6px; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; margin-left: auto; }
.nav a { color: var(--mute); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav .btn { color: #04110a; }
@media (max-width: 980px) { .nav a:not(.btn):not(.nav-acct) { display: none; } .topsearch { max-width: none; } }
@media (max-width: 600px) { .topsearch { display: none; } .wm-main { font-size: 21px; } .top-in { gap: 12px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--panel2); color: var(--text); font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--mute); color: #fff; }
.btn-go { background: var(--up); border-color: var(--up); color: #04110a; }
.btn-go:hover { background: #2ee68f; border-color: #2ee68f; color: #04110a; }
.btn-ink { background: #fff; border-color: #fff; color: #07090c; }
.btn-ink:hover { background: #dfe5ec; color: #07090c; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #04110a; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 14px; }
.btn[disabled] { opacity: .5; cursor: default; }
.pill { display: inline-block; min-width: 60px; padding: 4px 8px; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line2); color: #fff; font: 700 14px/1.2 var(--mono); text-align: center; }
.pill-sm { font-size: 13px; } .pill-xs { font-size: 12px; min-width: 48px; padding: 2px 6px; }
.mv { display: inline-block; min-width: 46px; font: 700 12px var(--mono); white-space: nowrap; padding: 2px 6px; border-radius: 4px; text-align: center; }
.mv-up { background: var(--up-bg); } .mv-down { background: var(--down-bg); }
.mv-new { background: rgba(91,157,255,.14); color: var(--focus); }
.dl { font: 600 13px var(--mono); white-space: nowrap; }
.dl small { font-size: 11px; opacity: .8; margin-left: 2px; }
.tick { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 6px; border-radius: 50%; background: var(--focus); color: #fff; font: 700 9px/1 var(--sans); vertical-align: 1px; }
.tick-lg { width: 22px; height: 22px; font-size: 12px; vertical-align: 6px; }
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel2); flex: none; border: 1px solid var(--line2); }
.av-init { display: inline-grid; place-items: center; border-radius: 50%; background: linear-gradient(140deg, #1b232d, #0f141a); border: 1px solid var(--line2); color: #cfd6df; font: italic 500 14px var(--serif); flex: none; }

/* ---------- panels ---------- */
.panel { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head a { font-size: 12px; color: var(--mute); }
.block { padding-top: 40px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.block-head h2 { font-size: 20px; }
.block-head a { font-size: 13px; color: var(--mute); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- home ---------- */
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 40px; padding-bottom: 22px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; margin-bottom: 8px; }
.lede { font-size: 16px; color: var(--mute); max-width: 60ch; margin: 0; }
.hero-stats { display: flex; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.hero-stats div { padding: 10px 18px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats dt { font-size: 11px; color: var(--mute); white-space: nowrap; }
.hero-stats dd { margin: 2px 0 0; font: 600 18px var(--mono); color: #fff; }
.hero-stats-inline { display: inline-flex; margin: 18px 0 6px; flex-wrap: wrap; }
@media (max-width: 640px) { .hero-stats { flex-wrap: wrap; } .hero-stats div { flex: 1 1 45%; border-left: 0; border-top: 1px solid var(--line); } }
.mkt { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
@media (max-width: 1040px) { .mkt { grid-template-columns: 1fr; } }
.mkt-side { display: grid; gap: 16px; align-content: start; }
.movers ul { list-style: none; margin: 0; padding: 0; }
.movers li a { display: grid; grid-template-columns: 1fr 70px auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.movers li:first-child a { border-top: 0; }
.movers li a:hover .mr-id span { color: #fff; }
.mr-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mr-id .sym { align-self: flex-start; }
.mr-id span { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-q { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 13px; }
.mr-q .num { color: #fff; font-weight: 600; }
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.tile { --c: 25,210,124; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px; min-height: 108px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(var(--c), calc(.08 + var(--heat) * .38)), rgba(var(--c), calc(.02 + var(--heat) * .1))); transition: transform .15s, border-color .15s; }
.tile.down { --c: 255,77,94; }
.tile.flat { --c: 120,130,145; --heat: .2; }
.tile:hover { transform: translateY(-2px); border-color: rgba(var(--c), .6); }
.tile-n { font-weight: 700; color: #fff; }
.tile-c { font: 700 22px var(--mono); color: rgb(var(--c)); letter-spacing: -0.03em; }
.tile.up .tile-c::before { content: '▲ '; font-size: 12px; } .tile.down .tile-c::before { content: '▼ '; font-size: 12px; }
.tile-m, .tile-l { font-size: 12px; color: var(--mute); }
.tile-l { margin-top: auto; color: #c4ccd6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card-top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.card-id { display: flex; flex-direction: column; min-width: 0; }
.card-n { font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-m { font-size: 12px; color: var(--mute); }
.card-q { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-r { font: 700 22px var(--mono); color: #fff; letter-spacing: -0.03em; }
.card .spark { width: 100%; height: 36px; }
.card-age { font-size: 12px; color: var(--mute); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 48px; padding: 30px 32px; border: 1px solid var(--line2); border-radius: 14px;
  background: radial-gradient(600px 200px at 100% 0, rgba(25,210,124,.14), transparent 70%), var(--panel); }
.cta h2 { font-size: 22px; margin-bottom: 6px; }
.cta p { margin: 0; color: var(--mute); max-width: 70ch; }
@media (max-width: 720px) { .cta { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* ---------- stock chart ---------- */
.chartwrap { position: relative; }
.cw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cw-title { margin: 0; font-weight: 700; color: #fff; display: flex; gap: 8px; align-items: center; }
.cw-sub { margin: 2px 0 0; font-size: 12px; color: var(--mute); }
.cw-price { margin: 10px 0 0; font: 700 46px/1 var(--mono); letter-spacing: -0.05em; color: #fff; }
.chartwrap-big .cw-price { font-size: clamp(48px, 6vw, 68px); }
.cw-chg { margin: 8px 0 0; font: 600 14px var(--mono); }
.cw-chg .muted { font-family: var(--sans); font-weight: 400; margin-left: 6px; }
.cw-band { margin: 10px 0 0; }
.ranges { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.ranges button { border: 0; background: none; padding: 6px 10px; border-radius: 6px; font: 700 11px var(--mono); color: var(--mute); cursor: pointer; letter-spacing: .03em; }
.ranges button:hover { color: #fff; }
.ranges button[aria-pressed="true"] { background: var(--up-bg); color: var(--up); }
.chartwrap.is-down .ranges button[aria-pressed="true"] { background: var(--down-bg); color: var(--down); }
.chart-box { position: relative; }
.stock { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; cursor: crosshair; user-select: none; }
.stock .grid { stroke: var(--line); stroke-width: 1; }
.stock .axis { font: 11px var(--mono); fill: var(--dim); }
.stock .open { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 2 4; opacity: .7; }
.stock .line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.stock.up .line { stroke: var(--up); filter: drop-shadow(0 0 6px rgba(25,210,124,.45)); }
.stock.down .line { stroke: var(--down); filter: drop-shadow(0 0 6px rgba(255,77,94,.45)); }
.stock.up .g0 { stop-color: var(--up); stop-opacity: .28; } .stock.up .g1 { stop-color: var(--up); stop-opacity: 0; }
.stock.down .g0 { stop-color: var(--down); stop-opacity: .28; } .stock.down .g1 { stop-color: var(--down); stop-opacity: 0; }
.stock .last { stroke: var(--bg); stroke-width: 2; }
.stock.up .last, .stock.up .pulse { fill: var(--up); } .stock.down .last, .stock.down .pulse { fill: var(--down); }
.stock .pulse { opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
.stock.hovering .pulse, .stock.hovering .last { opacity: 0; }
.stock .vx, .stock .hy { stroke: #9aa5b3; stroke-width: 1; stroke-dasharray: 3 3; }
.stock .hd { stroke: var(--bg); stroke-width: 2.5; }
.stock.up .hd { fill: var(--up); } .stock.down .hd { fill: var(--down); }
.stock .tag, .stock .dtag { fill: #e9edf2; }
.stock .tagt, .stock .dtagt { font: 700 11px var(--mono); fill: #07090c; }
.stock.up .tag { fill: var(--up); } .stock.down .tag { fill: var(--down); }
.spark { width: 92px; height: 28px; display: block; overflow: visible; }
.spark polyline, .spark line { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark.up polyline { stroke: var(--up); } .spark.down polyline { stroke: var(--down); } .spark.flat polyline, .spark.flat line { stroke: var(--dim); }

/* ---------- tables ---------- */
.page-head { padding-top: 36px; padding-bottom: 18px; }
.page-head h1 { margin-bottom: 8px; }
.crumbs { font-size: 12px; color: var(--mute); margin: 0 0 10px; }
.crumbs a { color: var(--mute); } .crumbs a:hover { color: #fff; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 6px; font-size: 13px; color: var(--mute); white-space: nowrap; background: var(--panel); }
.chip:hover { color: #fff; border-color: var(--mute); }
.chip.on { background: #fff; border-color: #fff; color: #07090c; font-weight: 600; }
.tablewrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.board { width: 100%; border-collapse: collapse; font-size: 14px; }
.board th { text-align: left; font: 600 11px var(--sans); letter-spacing: .02em; color: var(--dim); padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg2); }
.board td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board tbody tr:last-child td { border-bottom: 0; }
.board tbody tr { cursor: pointer; transition: background .1s; }
.board tbody tr:hover { background: var(--panel2); }
.board .c-rank { width: 44px; font: 600 13px var(--mono); color: var(--mute); text-align: right; padding-right: 6px; }
.board .c-mv { width: 70px; }
.board td.c-r { font: 700 15px var(--mono); color: #fff; }
.board .c-r, .board .c-aud, .board .c-dl, .board th.c-r, .board th.c-dl, .board th.c-aud { text-align: right; width: 1%; white-space: nowrap; }
.board .c-aud { color: var(--mute); font-size: 13px; }
.board .c-sp { width: 110px; }
.board .c-cat a { color: var(--mute); font-size: 13px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who strong { font-weight: 600; color: #fff; }
.who small { display: flex; gap: 6px; align-items: center; color: var(--mute); font-size: 12px; margin-top: 2px; }
@media (max-width: 860px) { .board .c-cat, .board .c-aud, .board .c-sp { display: none; } }
@media (max-width: 560px) { .board .c-dl { display: none; } .board td, .board th { padding: 9px 6px; } .who .av { display: none; } }
.pager { display: flex; gap: 6px; flex-wrap: wrap; padding: 16px 0; }
.pager a { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 6px; font: 12px var(--mono); color: var(--mute); }
.pager a[aria-current] { background: #fff; color: #07090c; border-color: #fff; }
.daynav { display: flex; gap: 18px; font-size: 13px; margin-top: 14px; color: var(--mute); }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.months a { display: flex; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-weight: 600; }
.months small { font: 12px var(--mono); color: var(--mute); }
.cards-lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ---------- profile (quote page) ---------- */
.cover { height: 220px; background: linear-gradient(180deg, rgba(7,9,12,.2), var(--bg)), var(--cover) center/cover; margin-bottom: -120px; }
.q-head { padding-top: 26px; padding-bottom: 6px; position: relative; }
.q-id { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.q-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line2); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent); font-size: 32px; }
.q-name { flex: 1; min-width: 240px; }
.q-name h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.035em; margin-bottom: 8px; overflow-wrap: anywhere; }
.q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 0 10px; color: var(--mute); font-size: 14px; }
.q-meta .sym { margin-right: 10px; font-size: 12px; color: #fff; }
.q-meta span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin: 0 9px; vertical-align: 3px; }
.q-handles { display: flex; gap: 6px; flex-wrap: wrap; }
.q-handles a { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line2); border-radius: 6px; color: var(--mute); background: var(--panel); }
.q-handles a:hover { color: #fff; border-color: var(--mute); }
.q-ranks { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.q-ranks li { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); min-width: 104px; }
.q-ranks a { display: flex; flex-direction: column; }
.q-rk { font: 700 22px var(--mono); color: #fff; letter-spacing: -0.04em; }
.q-rl { font-size: 12px; color: var(--mute); }
.claimbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding: 12px 16px; border: 1px dashed rgba(25,210,124,.45); background: rgba(25,210,124,.05); border-radius: 10px; font-size: 14px; color: var(--mute); }
.claimbar b { color: #fff; }
@media (max-width: 640px) { .claimbar { flex-direction: column; align-items: flex-start; } }
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 16px; }
@media (max-width: 1040px) { .q-grid { grid-template-columns: 1fr; } }
.keystats dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.keystats dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.keystats dl div:nth-child(-n+2) { border-top: 0; }
.keystats dt { font-size: 11px; color: var(--mute); }
.keystats dd { margin: 3px 0 0; font: 600 16px var(--mono); color: #fff; }
@media (max-width: 1040px) { .keystats dl { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .keystats dl div:nth-child(-n+2) { border-top: 1px solid var(--line); } }
.keystats { display: flex; flex-direction: column; }
.range52 { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.r52-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--mute); margin-bottom: 8px; }
.r52-l .num { color: #fff; }
.r52-bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--down), #f5c451 50%, var(--up)); opacity: .9; }
.r52-bar span { position: absolute; top: -5px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 3px var(--bg); }
.share-note { margin: 8px 0 0; text-align: center; }
.band { display: inline-block; padding: 3px 8px; border-radius: 4px; font: 700 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; background: var(--panel2); border: 1px solid var(--line2); color: var(--mute); }
.band-icon { background: linear-gradient(90deg, #f5c451, #ffdf8a); color: #1a1205; border-color: transparent; }
.band-star { background: var(--up-bg); color: var(--up); border-color: rgba(25,210,124,.3); }
.p-radar { display: flex; flex-direction: column; }
.radar { width: 100%; max-width: 380px; margin: auto; display: block; overflow: visible; }
.radar .ring { fill: none; stroke: var(--line2); stroke-width: 1.5; stroke-linejoin: round; }
.radar .ring.outer { fill: rgba(255,255,255,.02); stroke: #34404d; stroke-width: 2.5; }
.radar .spoke { stroke: var(--line2); stroke-width: 1.5; }
.radar .shape { fill-opacity: .55; stroke-width: 3.5; stroke-linejoin: round; }
.radar .dot { fill: var(--bg); stroke-width: 3; }
.radar .lab { font: 700 12px var(--sans); fill: #fff; }
.radar .val { font: 500 11px var(--mono); fill: var(--mute); }
.plats { width: 100%; border-collapse: collapse; font-size: 14px; }
.plats th, .plats td { padding: 11px 6px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.plats tr:first-child th, .plats tr:first-child td { border-top: 0; }
.plats th { font-weight: 600; color: #fff; }
.plats small { display: block; font-weight: 400; color: var(--mute); font-size: 11px; font-family: var(--sans); }
.plats td.num { text-align: right; font-weight: 600; white-space: nowrap; color: #fff; }
.plats .bar { width: 26%; background: linear-gradient(var(--line), var(--line)) center / calc(100% - 12px) 6px no-repeat; }
.plats .bar span { display: block; height: 6px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); max-width: 100%; }
.src { display: inline-block; font: 600 10px var(--mono); padding: 2px 6px; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; }
.src-api { background: var(--up-bg); color: var(--up); }
.src-ed { background: rgba(91,157,255,.14); color: var(--focus); }
.src-cr { background: var(--panel2); color: var(--mute); }
.parts { list-style: none; margin: 0; padding: 0; }
.parts li { display: grid; grid-template-columns: 140px 1fr 52px 44px; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.parts .num { color: #fff; text-align: right; }
.part-l { font-weight: 600; font-size: 14px; color: #fff; }
.part-l small { display: block; font-weight: 400; color: var(--mute); font-size: 11px; }
.part-bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--line); }
.part-bar span { position: absolute; left: 0; top: 0; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #0f8a52, var(--up)); }
@media (max-width: 480px) { .parts li { grid-template-columns: 1fr 52px; } .part-bar, .parts .small { display: none; } }
.prose p { max-width: 74ch; color: #c9d1db; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--mute); font-size: 13px; }
.facts dd { margin: 0; font-weight: 500; color: #fff; }
.profile > .wrap > .panel { margin-top: 16px; }
.links { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.linkbtn { display: block; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; text-align: center; }
.linkbtn:hover { background: var(--accent); color: #04110a; }
.videos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vid { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--panel2); }
.vid iframe { width: 100%; height: 100%; border: 0; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.press { list-style: none; margin: 0; padding: 0; }
.press li { padding: 12px 0; border-top: 1px solid var(--line); }
.press li:first-child { border-top: 0; }
.press a { font-family: var(--serif); font-size: 19px; color: #fff; }
.press a:hover { text-decoration: underline; }
.press small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }

/* ---------- forms & app pages ---------- */
.app { max-width: 780px; margin: 0 auto; padding: 40px 24px 64px; }
.app-wide { max-width: var(--wrap); }
.app h1 { margin-bottom: 10px; }
.form { display: grid; gap: 16px; }
.form label, .dlg label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #dbe1e8; }
.form label small, .hint { font-weight: 400; color: var(--mute); font-size: 12px; }
input, select, textarea { font: 14px var(--sans); color: var(--text); padding: 11px 12px; border: 1px solid var(--line2); border-radius: 8px; background: var(--bg2); width: 100%; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input[readonly] { color: var(--mute); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--up); }
input[type="file"] { padding: 9px; }
input[type="color"] { padding: 4px; height: 44px; max-width: 120px; }
input[type="date"] { color-scheme: dark; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 0; display: grid; gap: 12px; background: var(--panel); }
legend { font-weight: 700; padding: 0 6px; color: #fff; }
.plat-row { display: grid; grid-template-columns: 100px 1fr 150px; gap: 10px; align-items: center; }
.plat-row span { font-weight: 600; font-size: 13px; }
@media (max-width: 560px) { .plat-row { grid-template-columns: 1fr 1fr; } .plat-row span { grid-column: 1 / -1; } }
.formmsg { min-height: 1.4em; font-size: 13px; margin: 0; color: var(--mute); }
.formmsg.err { color: var(--down); } .formmsg.ok { color: var(--up); }
.codebox { font: 700 30px/1 var(--mono); letter-spacing: .08em; padding: 18px 22px; background: var(--bg); border: 1px dashed var(--up); color: var(--up); border-radius: 12px; display: inline-block; user-select: all; margin-top: 8px; }
.steps { padding-left: 20px; color: #c9d1db; }
.steps li { margin-bottom: 8px; }
.results { list-style: none; padding: 0; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.results:empty { display: none; }
.results li + li { border-top: 1px solid var(--line); }
.results a, .results button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.results a:hover, .results button:hover { background: var(--panel2); }
.results .grow { flex: 1; min-width: 0; }
.results small { display: block; color: var(--mute); font-size: 12px; }
.results li.empty { padding: 16px; }
.bigsearch { display: flex; gap: 8px; margin: 20px 0 12px; }
.bigsearch input { flex: 1; height: 50px; font-size: 16px; padding: 0 16px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 24px 0; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font: 600 13px var(--sans); color: var(--mute); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--up); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 18px 0; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--panel); }
.kpi dt { font-size: 11px; color: var(--mute); }
.kpi dd { margin: 4px 0 0; font: 700 26px/1.1 var(--mono); color: #fff; letter-spacing: -0.04em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { border: 1px solid var(--line2); border-radius: 12px; padding: 18px; display: grid; gap: 8px; background: var(--bg2); }
.plan strong { font: 700 30px var(--mono); color: #fff; letter-spacing: -0.04em; }
.plan.best { border-color: var(--up); box-shadow: 0 0 0 1px var(--up) inset, 0 0 30px rgba(25,210,124,.12); }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.dlg { border: 1px solid var(--line2); border-radius: 14px; padding: 0; max-width: 520px; width: calc(100% - 32px); background: var(--panel); color: var(--text); }
.dlg::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
.dlg-in { padding: 24px; display: grid; gap: 14px; }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; }
.adm table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm th, .adm td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm th { font-size: 11px; color: var(--dim); }
.adm a { color: #fff; }
.tag { display: inline-block; font: 600 10px var(--mono); padding: 2px 6px; border-radius: 4px; background: var(--panel2); border: 1px solid var(--line2); color: var(--mute); margin-right: 4px; letter-spacing: .02em; }
.tag-ink { background: var(--up-bg); color: var(--up); border-color: rgba(25,210,124,.3); }
.tag-warn { background: var(--down-bg); color: var(--down); border-color: rgba(255,77,94,.3); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.toolbar input:not([type="checkbox"]):not([type="radio"]), .toolbar select { width: auto; flex: 1 1 200px; }

/* ---------- article pages ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.article h1 { margin-bottom: 14px; }
.article h2 { margin: 34px 0 10px; font-size: 20px; }
.article p, .article li { font-size: 16px; color: #c9d1db; }
.article table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; }
.article td:nth-child(n+2) { font-family: var(--mono); }
.formula { font: 600 16px var(--mono); background: var(--panel); border: 1px solid var(--line2); color: var(--up); padding: 18px 20px; border-radius: 12px; }
.nf { padding-bottom: 80px; }

/* ---------- footer ---------- */
.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 13px; background: #050608; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.foot h3 { font: 600 12px var(--sans); margin-bottom: 10px; color: var(--mute); }
.foot-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px 16px; }
.foot-links a { color: var(--dim); } .foot-links a:hover { color: #fff; }
.foot p { margin-top: 10px; }
.foot .muted a { color: var(--mute); text-decoration: underline; text-decoration-color: var(--dim); }
.statusbar { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--mute); border-top: 1px solid var(--line); padding-top: 16px; }
.statusbar .sep { width: 1px; height: 12px; background: var(--line2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(25,210,124,.18); animation: blink 2s infinite; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tape { overflow-x: auto; }
  .tape-run[aria-hidden] { display: none; }
}
