/* 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; }
[hidden] { display: none !important; }
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: 1.75; stroke-linejoin: miter; stroke-miterlimit: 2; stroke-linecap: butt; }
.stock .pts circle { stroke: var(--panel); stroke-width: 1; } .stock.up .pts circle { fill: var(--up); } .stock.down .pts circle { fill: var(--down); }
.stock.hovering .pts { opacity: .5; }
.stock.up .line { stroke: var(--up); filter: drop-shadow(0 0 4px rgba(25,210,124,.35)); }
.stock.down .line { stroke: var(--down); filter: drop-shadow(0 0 4px rgba(255,77,94,.35)); }
.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.3; stroke-linejoin: miter; 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: flex-start; 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: 8px; flex-wrap: wrap; margin-top: 2px; }
.sl { --pc: var(--mute); display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border: 1px solid var(--line2); border-radius: 999px; background: var(--panel); color: var(--text); font-size: 13px; font-weight: 600; transition: border-color .15s, background .15s, transform .15s; }
.sl:hover { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, var(--panel)); }
.sl:focus-visible { outline: 2px solid var(--pc); outline-offset: 2px; }
.sl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 22%, transparent); flex: none; }
.sl-n { font: 600 12px var(--mono); color: var(--mute); padding-left: 8px; border-left: 1px solid var(--line2); }
.sl:hover .sl-n { color: var(--text); }
.sl-instagram { --pc: #e1306c; } .sl-tiktok { --pc: #25f4ee; } .sl-youtube { --pc: #ff3d3d; } .sl-x { --pc: #e7e9ea; } .sl-facebook { --pc: #3b82f6; }
.sl-twitch { --pc: #a970ff; } .sl-snapchat { --pc: #fffc00; } .sl-linkedin { --pc: #2d8cff; } .sl-spotify { --pc: #1ed760; } .sl-kick { --pc: #53fc18; }
.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; }
/* profile photo strip */
.gal-panel .panel-head { align-items: center; }
.gal-nav { margin-left: auto; display: flex; gap: 6px; }
.gal-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel2); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; transition: border-color .15s, opacity .15s; }
.gal-btn:hover:not(:disabled) { border-color: var(--accent); }
.gal-btn:disabled { opacity: .3; cursor: default; }
.gal-btn:focus-visible, .gal-track:focus-visible, .gal-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gal-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 6px; margin: 0 -2px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 56px), transparent 100%); }
.gal-panel.at-start .gal-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent 100%); }
.gal-panel.at-end .gal-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px); mask-image: linear-gradient(90deg, transparent 0, #000 28px); }
.gal-panel.at-start.at-end .gal-track { -webkit-mask-image: none; mask-image: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gal-track.dragging .gal-open { pointer-events: none; }
.gal-item { flex: none; margin: 0; scroll-snap-align: start; }
.gal-open { display: block; padding: 0; border: 0; background: var(--panel2); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gal-open img { display: block; height: 340px; width: auto; max-width: min(78vw, 640px); min-width: 140px; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s; user-select: none; }
.gal-open:hover img { transform: scale(1.035); }
@media (max-width: 640px) { .gal-open img { height: 260px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gal-item { animation: galIn linear both; animation-timeline: view(inline); animation-range: entry 0% entry 100%; }
    @keyframes galIn { from { opacity: .35; transform: scale(.92); } to { opacity: 1; transform: none; } }
  }
}
.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(4,6,9,.97); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.lightbox button:hover { background: rgba(255,255,255,.16); }
.lb-x { top: 18px; right: 18px; } .lb-p { left: 18px; top: 50%; transform: translateY(-50%); } .lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--mute); }
@media (max-width: 640px) { .lightbox img { max-width: 100vw; border-radius: 0; } .lb-p, .lb-n { top: auto; bottom: 10px; transform: none; } }
/* free crop */
.crop-free .crop-in { max-width: min(640px, 96vw); }
.cf-ratios { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 12px; }
.cf-ratios .chip { cursor: pointer; padding: 5px 10px; font-size: 12.5px; }
.cf-stage { position: relative; margin: 12px auto; user-select: none; touch-action: none; }
.cf-clip { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: #000; }
.cf-clip img { display: block; pointer-events: none; }
.cf-shade { position: absolute; box-shadow: 0 0 0 9999px rgba(0,0,0,.6); pointer-events: none; }
.cf-box { position: absolute; outline: 2px solid #fff; cursor: move; touch-action: none; }
.cf-box:focus-visible { outline-color: var(--accent); }
.cf-grid { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.35) calc(33.33% - .5px), rgba(255,255,255,.35) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.35) calc(66.66% - .5px), rgba(255,255,255,.35) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
  linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255,255,255,.35) calc(33.33% - .5px), rgba(255,255,255,.35) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.35) calc(66.66% - .5px), rgba(255,255,255,.35) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.cf-h { position: absolute; width: 22px; height: 22px; z-index: 1; }
.cf-h::after { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.cf-nw { left: -11px; top: -11px; cursor: nwse-resize; } .cf-ne { right: -11px; top: -11px; cursor: nesw-resize; }
.cf-se { right: -11px; bottom: -11px; cursor: nwse-resize; } .cf-sw { left: -11px; bottom: -11px; cursor: nesw-resize; }
.cf-n, .cf-s { left: 50%; margin-left: -11px; cursor: ns-resize; } .cf-n { top: -11px; } .cf-s { bottom: -11px; }
.cf-e, .cf-w { top: 50%; margin-top: -11px; cursor: ew-resize; } .cf-e { right: -11px; } .cf-w { left: -11px; }
.cf-n::after, .cf-s::after { inset: 8px 3px; } .cf-e::after, .cf-w::after { inset: 3px 8px; }
.cf-box.locked .cf-n, .cf-box.locked .cf-s, .cf-box.locked .cf-e, .cf-box.locked .cf-w { display: none; }
.cf-size { text-align: center; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.q-aka { margin: -2px 0 8px; font-size: 14px; color: var(--mute); } .q-aka b { color: var(--text); font-weight: 600; }
.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; }
}

/* ---------- homepage board ---------- */
.board-panel { padding-bottom: 12px; }
.topboard { list-style: none; margin: 0 -8px; padding: 0; }
.tb-row { display: grid; grid-template-columns: 30px 48px minmax(0, 1fr) 110px 128px 176px; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; border-top: 1px solid var(--line); }
.topboard li:first-child .tb-row { border-top-color: transparent; }
.tb-row:hover { background: var(--panel2); }
.tb-rank { font: 700 15px var(--mono); color: var(--mute); text-align: right; }
.topboard li:nth-child(-n+3) .tb-rank { color: #f5c451; }
.tb-row .av { width: 48px; height: 48px; }
.tb-row .av-init { font-size: 17px; }
.tb-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tb-n { font-weight: 700; font-size: 16px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-m { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--mute); }
.tb-r { text-align: right; white-space: nowrap; }
.tb-rv { font: 700 24px var(--mono); color: #fff; letter-spacing: -0.04em; }
.tb-of { font: 500 12px var(--mono); color: var(--dim); margin-left: 2px; }
.tb-mv { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 6px; }
.tb-mvl { font-size: 11px; color: var(--mute); }
.tb-mv .dl { grid-column: 1 / -1; font-size: 12px; }
.tb-ch { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.c24 { display: block; line-height: 0; }
.tb-chl { font: 10px var(--mono); color: var(--dim); }
.mini { width: 168px; height: 46px; display: block; overflow: visible; }
.mini .ml { fill: none; stroke-width: 1.4; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.mini.up .ml { stroke: var(--up); } .mini.down .ml { stroke: var(--down); } .mini.flat .ml, .mini.flat line { stroke: var(--dim); }
.mini.up .g0 { stop-color: var(--up); stop-opacity: .3; } .mini.up .g1 { stop-color: var(--up); stop-opacity: 0; }
.mini.down .g0 { stop-color: var(--down); stop-opacity: .3; } .mini.down .g1 { stop-color: var(--down); stop-opacity: 0; }
.mini.flat .g0, .mini.flat .g1 { stop-opacity: 0; }
.mini .md { stroke: var(--bg); stroke-width: 1.5; } .mini.up .md { fill: var(--up); } .mini.down .md { fill: var(--down); } .mini.flat .md { fill: var(--dim); }
@media (max-width: 760px) { .tb-row { grid-template-columns: 24px 40px minmax(0, 1fr) auto; gap: 8px 10px; } .tb-row .av { width: 40px; height: 40px; } .tb-mv { grid-column: 3; display: flex; align-items: center; gap: 6px; } .tb-mvl { display: none; } .tb-mv .dl { grid-column: auto; } .tb-mv .dl small { display: none; } .tb-ch { grid-column: 4; } .tb-ch .mini { width: 104px; height: 30px; } .tb-chl { display: none; } .tb-rv { font-size: 20px; } }
.movers li a { grid-template-columns: 32px minmax(0, 1fr) 64px auto; }
.movers .mr-id { gap: 3px; }

/* ---------- news (article previews) ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li + li { border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; align-items: center; padding: 14px 0; }
.news a:hover .nw-h { text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.nw-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nw-src { font-size: 12px; font-weight: 700; color: #fff; }
.nw-h { font-size: 16px; font-weight: 600; color: #fff; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-d { font-size: 13px; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news img, .nw-noimg { width: 112px; height: 84px; border-radius: 10px; object-fit: cover; background: var(--panel2); border: 1px solid var(--line); }
@media (max-width: 520px) { .news a { grid-template-columns: minmax(0, 1fr) 84px; } .news img, .nw-noimg { width: 84px; height: 64px; } }

/* ---------- collabs ---------- */
.collabs { list-style: none; margin: 0; padding: 0; }
.collabs li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px 70px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.collabs li:first-child { border-top: 0; }
.co-who { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; font-weight: 600; color: #fff; min-width: 0; }
.co-link { display: flex; gap: 12px; align-items: center; min-width: 0; color: var(--text); }
.co-link img { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.co-link span { display: flex; flex-direction: column; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-link small { color: var(--mute); font-size: 12px; }
.co-lv { display: flex; flex-direction: column; align-items: flex-end; } .co-lv b { color: #fff; font-size: 16px; }
.co-d { text-align: right; font-weight: 700; font-size: 15px; }
@media (max-width: 640px) { .collabs li { grid-template-columns: minmax(0, 1fr) auto; } .co-link { grid-column: 1 / -1; grid-row: 2; } .co-lv { display: none; } }
.part-collab { border-top: 1px dashed var(--line2) !important; }

/* ---------- account: connections, collab composer ---------- */
.conn { display: grid; gap: 8px; }
.conn-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.conn-row b { color: #fff; }
.conn-row small { display: block; color: var(--mute); font-size: 12px; }
.conn-row.on { border-color: rgba(25,210,124,.35); }
.conn-row .err { color: var(--down); }
@media (max-width: 560px) { .conn-row { grid-template-columns: 1fr auto; } .conn-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }
.lvl { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; }
.lvl input[type="range"] { accent-color: var(--up); padding: 0; height: 28px; border: 0; background: none; }
.lvl output { font: 700 22px var(--mono); color: #fff; text-align: right; }
.est { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.est div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.est dt { font-size: 11px; color: var(--mute); } .est dd { margin: 4px 0 0; font: 700 18px var(--mono); }
.inv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); margin-bottom: 8px; }
.inv p { margin: 2px 0 0; font-size: 13px; color: var(--mute); }
.inv a { color: #fff; text-decoration: underline; text-decoration-color: var(--dim); }
.inv .acts { display: flex; gap: 6px; }
.pick { position: relative; }
.pick ul { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 4px 0 0; }

/* ---------- relevance votes ---------- */
.votebar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px 24px; align-items: center; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vb-q { display: flex; flex-direction: column; gap: 2px; } .vb-q b { color: #fff; }
.vb-btns { display: flex; gap: 6px; }
.vb-btns button { min-width: 52px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); font-size: 17px; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; filter: grayscale(.4); }
.vb-btns button:hover { transform: translateY(-2px); filter: none; border-color: var(--mute); }
.vb-btns button[data-v^="-"][aria-pressed="true"] { background: var(--down-bg); border-color: var(--down); filter: none; }
.vb-btns button:not([data-v^="-"])[aria-pressed="true"] { background: var(--up-bg); border-color: var(--up); filter: none; }
.vb-btns button.pop { animation: pop .35s ease-out; }
@keyframes pop { 40% { transform: scale(1.18); } }
.vb-stat { display: flex; flex-direction: column; align-items: flex-end; min-width: 84px; }
.vb-stat b { font-size: 24px; color: #fff; line-height: 1.1; }
.vb-msg { grid-column: 1 / -1; margin: 0; min-height: 0; }
.vb-msg:empty { display: none; }
@media (max-width: 720px) { .votebar { grid-template-columns: 1fr auto; } .vb-btns { grid-column: 1 / -1; } .vb-btns button { flex: 1; } }

/* ---------- collab photos ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.post { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg2); }
.post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.post figcaption { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; font-size: 13px; color: #c9d1db; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--mute); font-size: 12px; }
.tagchip { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); color: #fff; font-size: 12px; font-weight: 600; }
.tagchip:hover { border-color: var(--up); }
.feed { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.feed li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed li.unread { background: rgba(25,210,124,.05); }
.feed .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); flex: none; font-size: 16px; }
.feed .tx { flex: 1; min-width: 0; color: #fff; } .feed .tx small { display: block; color: var(--mute); font-size: 12px; }
.feed img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.post-edit { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.post-edit img { width: 120px; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.post-edit .fields { display: grid; gap: 8px; }
.chiprow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chiprow button.x { border: 0; background: none; color: var(--mute); cursor: pointer; padding: 0 0 0 4px; }

/* ---------- Google sign-in ---------- */
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; border-radius: 8px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font: 600 14px var(--sans); }
.gbtn:hover { background: #f2f2f2; color: #1f1f1f; }
.gbtn svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; margin: 4px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }

/* socials grid: connected = green, not connected = dark grey */
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.soc { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); min-height: 150px; }
.soc p { margin: 0; }
.soc-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.soc-n { font: 600 14px var(--sans); overflow-wrap: anywhere; }
.soc-n a { color: inherit; }
.soc-f { font-size: 13px; color: var(--mute); }
.soc-f b { color: #fff; font: 700 18px var(--mono); }
.soc small { color: var(--mute); font-size: 12px; }
.soc .err { color: var(--down); }
.soc-a { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.soc.on { border-color: rgba(25,210,124,.4); background: linear-gradient(180deg, rgba(25,210,124,.07), var(--bg2) 60%); }
.soc.on .soc-h b { color: #fff; }
.soc.off { background: #0a0c0f; border-color: #171c22; }
.soc.off .soc-h b, .soc.off .soc-n, .soc.off .soc-f { color: var(--dim); }
.soc.off .soc-n a { color: var(--mute); }
.soc.off:hover, .soc.off:focus-within { border-color: var(--line2); }
.soc-st { font: 600 10px var(--mono); letter-spacing: .04em; color: var(--dim); border: 1px solid #1d232b; border-radius: 4px; padding: 1px 6px; }
.soc .dim { color: var(--dim); font-weight: 400; }
.soc-edit { display: flex; gap: 6px; margin-top: 6px; }
.soc-edit input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; background: var(--panel); border: 1px solid var(--line2); border-radius: 6px; color: var(--text); font: 13px var(--sans); }

/* notifications bell */
.bell { position: relative; display: inline-flex; }
.bell-btn { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel); color: var(--mute); cursor: pointer; }
.bell-btn:hover, .bell-btn[aria-expanded="true"] { color: #fff; border-color: var(--dim); }
.bell-n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--up); color: #04120a; font: 700 10px/18px var(--mono); text-align: center; }
.bell-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, 92vw); max-height: 70vh; overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.55); z-index: 50; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); }
.bell-head a { font-size: 13px; color: var(--mute); }
.bell-pop ul { list-style: none; margin: 0; padding: 4px 0; }
.bell-pop li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 10px 14px; align-items: start; }
.bell-pop li.unread { background: rgba(25,210,124,.06); box-shadow: inset 2px 0 0 var(--up); }
.bell-pop img, .bell-ic { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--panel2); font-size: 15px; }
.bell-tx { font-size: 13.5px; line-height: 1.4; color: var(--text); }
.bell-tx a { color: #fff; font-weight: 700; }
.bell-tx small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.bell-tx .neg { color: var(--down); } .bell-tx .pos { color: var(--up); }
.bell-empty { padding: 18px 14px; margin: 0; color: var(--mute); font-size: 13px; }
.feed .neg-ic { filter: grayscale(.2); }

.forever { display: flex; gap: 6px; margin-top: 6px; }
.forever input { flex: 1; min-width: 160px; height: 30px; padding: 0 8px; background: var(--panel); border: 1px solid var(--line2); border-radius: 6px; color: var(--text); font: 13px var(--sans); }

/* header live search */
.ta { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.55); z-index: 60; max-height: min(70vh, 560px); overflow: auto; min-width: 320px; }
.ta li a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.ta li[aria-selected="true"] a, .ta li a:hover { background: var(--panel2); }
.ta img, .ta-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--panel2); display: grid; place-items: center; font: 700 12px var(--sans); color: var(--mute); }
.ta-t { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.ta-t b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ta-t mark { background: none; color: var(--up); }
.ta-t small { flex-basis: 100%; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-v { color: var(--up); font-size: 11px; }
.ta-r { font: 700 12px var(--mono); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line2); color: var(--mute); }
.ta-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.ta .ta-all a { display: block; font-size: 13px; color: var(--mute); }
.ta-empty { padding: 12px 10px; color: var(--mute); font-size: 13px; }

/* likeness stars, relevance grade, page themes */
.profile { background-image: radial-gradient(900px 380px at 18% -120px, var(--glow, transparent), transparent 70%); }
.stars { position: relative; display: inline-block; letter-spacing: 2px; color: #2a333f; font-size: 15px; line-height: 1; }
.stars::before { content: '★★★★★'; position: absolute; inset: 0; width: var(--fill, 0%); overflow: hidden; color: #f5c451; white-space: nowrap; }
.stars-lg { font-size: 30px; letter-spacing: 3px; }
.q-scores { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.qs { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); font-size: 13px; }
.qs b { font: 700 14px var(--mono); color: #fff; }
.qs-l { color: var(--mute); font-size: 12px; }
.likebar { grid-template-columns: minmax(240px, auto) minmax(0, 1fr); align-items: center; }
.lk-score { display: grid; gap: 6px; padding-right: 20px; border-right: 1px solid var(--line); }
.lk-num { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lk-num b { font: 700 30px var(--mono); color: #fff; line-height: 1; }
.lk-tier { margin-left: 4px; font: 700 11px var(--mono); letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mute); }
.lk-tier.bluechip { color: #0a1630; background: linear-gradient(90deg, #6fb6ff, #b9dcff); border-color: transparent; }
.lk-pos { margin: 0; font-size: 13px; color: var(--mute); } .lk-pos b { color: #fff; }
.likebar .vb-q { gap: 6px; } .likebar .vb-btns { margin-top: 4px; }
@media (max-width: 720px) { .likebar { grid-template-columns: 1fr; } .lk-score { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; } }
[class*="grade-a"] { color: var(--up) !important; } [class*="grade-b"] { color: #8fd36b !important; } [class*="grade-c"] { color: #f5c451 !important; } [class*="grade-d"] { color: #ff9a4d !important; } [class*="grade-f"] { color: var(--down) !important; }
.qs-rel b { color: inherit; }

/* edit-your-page sheet */
.q-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.q-title h1 { margin-bottom: 0; }
.edit-page { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--mute); font: 600 12.5px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.edit-page:hover { color: #fff; border-color: var(--accent); background: var(--panel2); }
.edit-page:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.edit-page svg { color: var(--accent); }
.q-bio { max-width: 68ch; margin: 2px 0 12px; color: var(--text); font-size: 15px; line-height: 1.6; }
.q-bio .bio-dots { color: var(--mute); }
.readmore { background: none; border: 0; padding: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.readmore:hover { text-decoration: underline; }
.readmore:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.tk-row { display: flex; align-items: center; gap: 10px; }
.tk-row input { text-transform: uppercase; font-family: var(--mono); letter-spacing: .06em; max-width: 140px; }
.tk-row .sym { font-size: 12px; color: #fff; }
[data-words].over { color: var(--down); }
.sheet { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(560px, 100vw); max-width: 100vw; padding: 0; border: 0; border-left: 1px solid var(--line2); background: var(--bg2); color: var(--text); }
.sheet::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.sheet[open] { animation: sheetin .22s ease-out; }
@keyframes sheetin { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.sheet-in { padding: 20px 22px 40px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.sheet-tabs { margin: 8px 0 4px; overflow-x: auto; }
.sheet [data-msg] { min-height: 20px; margin: 6px 0 10px; }
.ph-main { display: flex; align-items: center; gap: 14px; }
.ph-main img, .ph-none { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line2); display: grid; place-items: center; color: var(--dim); font-size: 12px; background: var(--panel); }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.ph-grid figure { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--panel); }
.ph-grid img { width: 100%; height: 100%; object-fit: cover; }
.ph-grid figure button { position: absolute; right: 6px; bottom: 6px; }
.ph-add { aspect-ratio: 4 / 5; border: 1px dashed var(--line2); border-radius: 10px; display: grid; place-items: center; color: var(--mute); cursor: pointer; font-size: 13px; }
.ph-add:hover, .ph-add:focus-within { border-color: var(--accent); color: #fff; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.swatches button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: 600 14px var(--sans); cursor: pointer; }
.swatches button[aria-checked="true"] { border-color: var(--sw); box-shadow: 0 0 0 1px var(--sw) inset; }
.sw-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 12px var(--sw); }
.ed-arts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ed-arts li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.ed-arts img, .ed-arts .nw-noimg { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--panel); }
.ed-arts b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ed-arts small { color: var(--dim); }
.sheet .socials { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sheet .soc { min-height: 120px; }

/* owner: hover the profile photo to change it */
.ph-edit { position: relative; flex: none; border-radius: 50%; width: 96px; height: 96px; }
.ph-pen { position: absolute; inset: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,0); color: #fff; opacity: 0; cursor: pointer; transition: opacity .15s, background .15s; }
.ph-edit:hover .ph-pen, .ph-pen:focus-visible { opacity: 1; background: rgba(0,0,0,.58); }
.ph-pen:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ph-edit.busy .ph-pen { opacity: 1; background: rgba(0,0,0,.58); cursor: progress; }
.ph-edit.busy .ph-pen svg { animation: penpulse 1s ease-in-out infinite; }
@keyframes penpulse { 50% { opacity: .35; } }
.ph-note { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); margin: 0; font-size: 12px; color: var(--mute); white-space: nowrap; z-index: 2; }
.ph-note:empty { display: none; }
@media (hover: none) { .ph-pen { opacity: 1; inset: auto -2px -2px auto; width: 34px; height: 34px; background: rgba(0,0,0,.72); border: 2px solid var(--bg); } .ph-pen svg { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) { .ph-pen { transition: none; } .ph-edit.busy .ph-pen svg { animation: none; } }

/* photo cropper */
.crop { padding: 0; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg2); color: var(--text); max-width: calc(100vw - 24px); }
.crop::backdrop { background: rgba(0,0,0,.7); }
.crop-in { padding: 20px; display: grid; gap: 12px; justify-items: center; }
.crop-in h2 { margin: 0; font-size: 18px; justify-self: start; }
.crop-in > p { margin: 0; justify-self: start; max-width: 360px; }
.crop-area { position: relative; overflow: hidden; background: #000; border-radius: 10px; touch-action: none; cursor: grab; user-select: none; }
.crop-area:active { cursor: grabbing; }
.crop-area:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.crop-area img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-frame { position: absolute; pointer-events: none; box-shadow: 0 0 0 9999px rgba(0,0,0,.62); border: 2px solid rgba(255,255,255,.9); border-radius: 6px; }
.crop-frame.round { border-radius: 50%; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 320px; color: var(--mute); font-size: 18px; }
.crop-zoom input { flex: 1; accent-color: var(--up); }
.crop-actions { display: flex; gap: 8px; justify-content: flex-end; width: 100%; }
/* rank boxes + endorsements on the right of the profile header */
.q-side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 340px; }
.q-side .q-ranks { justify-content: flex-end; }
.endorse { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 10px 12px 8px; }
.en-h { margin: 0 0 6px; font-size: 12px; color: var(--mute); font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.en-why { font-weight: 400; font-size: 11px; color: var(--dim); } .en-why:hover { color: var(--text); }
.en-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cs-tier { flex: none; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; border: 1px solid currentColor; line-height: 1.5; }
.cs-kingmaker { color: #f5c451; background: rgba(245,196,81,.1); }
.cs-heavy-hitter { color: #c39bff; background: rgba(195,155,255,.08); }
.cs-tastemaker { color: #5cb4ff; background: rgba(92,180,255,.08); }
.cs-insider { color: #3fd0b8; }
.cs-supporter { color: var(--mute); }
.cs-fan { color: var(--dim); }
.endorse ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.endorse li a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: inherit; }
.endorse li + li a { border-top: 1px solid var(--line); }
.endorse li a:hover b { color: var(--accent); }
.en-who { display: flex; flex-direction: column; min-width: 0; }
.en-who b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.en-who .tick { display: none; }
.en-who small { font-size: 11.5px; color: var(--mute); }
.en-more { margin: 4px 0 0; font-size: 11.5px; color: var(--mute); }
@media (max-width: 900px) { .q-side { max-width: none; width: 100%; } .q-side .q-ranks { justify-content: flex-start; } }
.cs-table td { font-family: inherit; } .cs-table td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* owner-only: italic "edit" in Quick facts, and the add-photo tile */
.facts-edit { margin-left: auto; background: none; border: 0; padding: 0; color: var(--mute); font: italic 400 14px var(--serif); cursor: pointer; letter-spacing: .01em; }
.facts-edit:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.facts-edit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.gal-add-item { flex: none; margin: 0; scroll-snap-align: start; }
.gal-add { height: 340px; width: 255px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); cursor: pointer; font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s; text-align: center; padding: 0 16px; }
.gal-add:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.gal-add:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.gal-add svg { transition: transform .2s; } .gal-add:hover svg { transform: scale(1.06); }
.gal-add.err { color: var(--down); border-color: var(--down); }
.gal-empty .gal-track { -webkit-mask-image: none; mask-image: none; cursor: default; }
@media (max-width: 640px) { .gal-add { height: 260px; width: 195px; } }
.gal-add { position: relative; } .gal-add-in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#photos { scroll-margin-top: 84px; }

/* platform strength: hover a corner to light up that platform */
.radar .ring, .radar .shape { pointer-events: none; }
.rd-instagram { --pc: #e1306c; } .rd-tiktok { --pc: #25f4ee; } .rd-youtube { --pc: #ff3d3d; } .rd-x { --pc: #e7e9ea; } .rd-facebook { --pc: #3b82f6; }
.rd-twitch { --pc: #a970ff; } .rd-snapchat { --pc: #fffc00; } .rd-linkedin { --pc: #2d8cff; } .rd-spotify { --pc: #1ed760; }
.radar .rd-hit { fill: transparent; stroke: none; cursor: pointer; }
.radar .rd-hl { fill: var(--pc); fill-opacity: 0; stroke: none; pointer-events: none; transition: fill-opacity .2s; }
.radar .rd-hl.on { fill-opacity: .14; }
.radar .rd-ax { cursor: pointer; outline: none; transition: opacity .2s; }
.radar .rd-ax .spoke, .radar .rd-ax .dot, .radar .rd-ax text { transition: stroke .2s, fill .2s, r .2s, opacity .2s; }
.radar .shr { font: 600 10.5px var(--sans); fill: var(--pc); opacity: 0; }
.radar[data-on] .rd-ax:not(.on) { opacity: .35; }
.radar .rd-ax.on .spoke { stroke: var(--pc); stroke-width: 2; }
.radar .rd-ax.on .dot { stroke: var(--pc) !important; r: 8px; }
.radar .rd-ax.on .lab { fill: var(--pc); }
.radar .rd-ax.on .val { fill: #fff; }
.radar .rd-ax.on .shr { opacity: 1; }
.radar .rd-ax:focus-visible .lab { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .radar .rd-hl, .radar .rd-ax, .radar .rd-ax * { transition: none; } }

.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px 16px; border: 2px dashed var(--line2); border-radius: 12px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.imp-log { list-style: none; margin: 10px 0 0; padding: 0; max-height: 260px; overflow: auto; font-size: 13px; }
.imp-log li { padding: 3px 0; color: var(--mute); } .imp-log li.ok { color: var(--up); } .imp-log li.err { color: var(--down); }
/* star rating picker */
.rate-stars { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.rs { width: 44px; height: 44px; padding: 4px; border: 0; background: none; cursor: pointer; border-radius: 8px; color: #2a3440; transition: transform .12s; }
.rs svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: #3a4653; stroke-width: 1; transition: fill .12s, stroke .12s; }
.rs.on { color: #f5c451; } .rs.on svg { stroke: #f5c451; }
.rs.on.pv { color: #f8d47e; }
.rs:hover:not(:disabled) { transform: scale(1.12); }
.rs:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.rs:disabled { cursor: default; }
.rs.pop { animation: pop .35s ease-out both; }
.rs-word { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--mute); min-width: 80px; }
.rs-locked .rs:not(.on) { opacity: .5; } .rs-locked .rs { cursor: not-allowed; } .rs-locked .rs:hover { transform: none; }
.rs-off .rate-stars { opacity: .45; }
.lk-n { margin: 2px 0 0; }
@media (max-width: 720px) { .rs { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .rs, .rs svg { transition: none; } .rs.pop { animation: none; } }

.chip.check.off { opacity: .4; cursor: not-allowed; } .chip.check.is-main { display: none !important; }
.cat-count { margin: 6px 0 0; font-size: 12px; color: var(--mute); }
.att-note { color: #f5a524; display: inline-block; max-width: 420px; line-height: 1.35; margin-top: 2px; }
.plat-warn { color: #f5a524; font-size: 12px; display: block; margin-top: 4px; } .plat-warn button { margin-left: 6px; }

/* live ticks between daily updates */
[data-lv], [data-price] { transition: color .25s; }
.lv-up { animation: lvUp 1.6s ease-out; } .lv-down { animation: lvDown 1.6s ease-out; }
@keyframes lvUp { 0%, 30% { color: var(--up); text-shadow: 0 0 10px color-mix(in srgb, var(--up) 45%, transparent); } 100% { color: inherit; text-shadow: none; } }
@keyframes lvDown { 0%, 30% { color: var(--down); text-shadow: 0 0 10px color-mix(in srgb, var(--down) 45%, transparent); } 100% { color: inherit; text-shadow: none; } }
.live-dot { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; vertical-align: middle; font: 700 11px var(--sans); letter-spacing: .04em; color: var(--up); padding: 3px 8px 3px 7px; border-radius: 999px; background: color-mix(in srgb, var(--up) 12%, transparent); }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: liveP 2s ease-in-out infinite; }
@keyframes liveP { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); } 50% { opacity: .55; box-shadow: 0 0 0 5px transparent; } }
.stock .line, .stock .area { transition: d .9s cubic-bezier(.3,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .lv-up, .lv-down, .live-dot::before { animation: none; } .stock .line, .stock .area { transition: none; } }

/* quarterly star rating */
.qs-star .stars { font-size: 14px; letter-spacing: 1px; }
.qs-blue { border-color: transparent; background: linear-gradient(90deg, rgba(111,182,255,.18), rgba(185,220,255,.1)); box-shadow: inset 0 0 0 1px rgba(111,182,255,.55); }
.qs-blue .qs-l { color: #b9dcff; font-weight: 700; }
.qs-blue .stars::before { color: #8cc6ff; }
.qs-none .qs-l { color: var(--mute); }
.movers li[hidden] { display: none; }
.movers li { position: relative; }
.movers .c24 { width: 64px; overflow: hidden; } .movers .c24 .spark { width: 64px; height: 24px; }
