:root {
  --bg: #0e0914;
  --side-bg: #120c19;
  --panel: #18111f;
  --panel-2: #20172a;
  --sunk: #140e1b;
  --line: #2c2139;
  --line-2: #3d2f4f;
  --edge: #2a1d38;          /* the hard shadow under cards */
  --text: #f4eefb;
  --muted: #a99bbd;
  --dim: #6f6285;
  --violet: #a46bff;
  --pink: #ff5fcf;
  --grad: linear-gradient(135deg, #8b5cff 0%, #c45cff 45%, #ff5fcf 100%);
  --up: #ff7ad9;
  --down: #ff9b6a;
  --violet-soft: rgba(164, 107, 255, .14);
  --pink-soft: rgba(255, 95, 207, .13);
  --orange-soft: rgba(255, 155, 106, .13);
  --blue: #8fb3ff;
  --blue-soft: rgba(120, 160, 255, .13);
  --radius: 16px;
  --pixel: 'Pixelify Sans', ui-rounded, system-ui, sans-serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --side: 248px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; color: var(--text); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(190, 150, 255, .09) 1px, transparent 1.2px), radial-gradient(900px 500px at 75% -200px, rgba(196, 92, 255, .14), transparent 70%);
  background-size: 22px 22px, auto;
  background-attachment: fixed;
}
::selection { background: var(--pink); color: #1a0716; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; }
svg { flex: none; }
.mono { font-family: var(--mono); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ——— chunky boxes: a border and a hard shadow underneath, like stickers ——— */
.box { background: var(--panel); border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 4px 0 var(--edge); }

/* ——— sidebar ——— */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; background: rgba(18, 12, 25, .92); border-right: 1.5px solid var(--line); z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 14px; font: 700 26px var(--pixel); letter-spacing: .01em; }
.brand i { font-style: normal; color: var(--pink); }
.brand img { filter: drop-shadow(0 3px 0 #2a1d38); }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a, .side-foot a { position: relative; display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border: 1.5px solid transparent; border-radius: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .12s, background .12s, border-color .12s; }
.nav a svg, .side-foot a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav a b { margin-left: auto; padding: 1px 7px; border-radius: 7px; background: var(--sunk); font: 500 11px var(--mono); color: var(--dim); }
.nav a:hover, .side-foot a:hover { color: var(--text); background: var(--panel); }
.nav a.on { color: var(--text); background: var(--violet-soft); border-color: rgba(164, 107, 255, .55); box-shadow: 0 3px 0 rgba(90, 50, 160, .5); }
.nav a.on svg { stroke: var(--pink); }
.nav a.on b { background: rgba(164, 107, 255, .25); color: var(--text); }
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 10px; border-radius: 13px; background: var(--grad); color: #fff; font: 700 17px var(--pixel); letter-spacing: .02em; box-shadow: 0 4px 0 #5a1f8a, inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .08s, box-shadow .08s; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #5a1f8a, inset 0 1px 0 rgba(255, 255, 255, .3); }
.cta:active { transform: translateY(3px); box-shadow: 0 1px 0 #5a1f8a; }
.cta.off { opacity: .55; pointer-events: none; }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line); display: flex; flex-direction: column; gap: 2px; }
.side-foot a { height: 36px; font-size: 13px; }
.side-foot a.on { color: var(--text); background: var(--violet-soft); }
.side-foot em { margin-left: auto; font-style: normal; color: var(--dim); }

/* ——— top ——— */
.main { margin-left: var(--side); min-height: 100vh; }
.bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 24px; background: rgba(14, 9, 20, .82); backdrop-filter: blur(14px) saturate(140%); }
.search { position: relative; flex: 1; max-width: 520px; }
.search > svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--dim); stroke-width: 1.7; stroke-linecap: round; }
.search input { width: 100%; height: 42px; padding: 0 44px 0 40px; border: 1.5px solid var(--line-2); border-radius: 13px; background: var(--panel); outline: none; box-shadow: 0 3px 0 var(--edge); transition: border-color .12s; }
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--violet); }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 1px 7px; border: 1.5px solid var(--line-2); border-radius: 6px; font: 12px var(--mono); color: var(--dim); }
.results { position: absolute; top: 50px; left: 0; right: 0; padding: 6px; background: var(--panel-2); border: 1.5px solid var(--line-2); border-radius: 14px; box-shadow: 0 4px 0 var(--edge), 0 24px 50px rgba(0, 0, 0, .5); }
.results a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; }
.results a:hover { background: var(--violet-soft); }
.results h6 { margin: 6px 8px 4px; font: 600 13px var(--pixel); color: var(--dim); letter-spacing: .03em; }
.results p { margin: 8px; color: var(--dim); }
.live-dot { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 0 var(--edge); font: 12px var(--mono); color: var(--muted); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live-dot.on { color: var(--text); }
.live-dot.on i { background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.xbtn { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 0 var(--edge); }
.xbtn svg { width: 16px; height: 16px; fill: var(--text); }
.xbtn:hover { border-color: var(--violet); }
.xbtn:hover svg { fill: var(--pink); }
.ca { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 0 var(--edge); }
.ca:hover { border-color: var(--violet); }
.ca span { font: 700 13px var(--pixel); color: var(--pink); }
.ca code { font: 12px var(--mono); color: var(--muted); }
.ca.copied code::after { content: ' · copied'; color: var(--pink); }

.strip { display: grid; grid-template-columns: repeat(5, auto) 1fr; margin: 4px 24px 0; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 4px 0 var(--edge); }
.strip > div { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 11px 20px; border-right: 1.5px dashed var(--line); min-width: 0; }
.strip > div:last-child { border-right: 0; }
.strip span { font-size: 12px; color: var(--dim); white-space: nowrap; }
.strip b { font: 600 19px var(--pixel); letter-spacing: .01em; white-space: nowrap; }
.strip em { font: 12px var(--mono); font-style: normal; }
.t-next { gap: 8px !important; }
.t-next span b { margin-left: 8px; font: 12px var(--mono) !important; color: var(--muted); }
.bar-s { height: 10px; background: var(--sunk); border: 1.5px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.bar-s i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s; }

/* ——— pages ——— */
.view { padding: 20px 24px 64px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.head h1 { margin: 0; font: 700 32px var(--pixel); letter-spacing: .01em; }
.head p { margin: 4px 0 0; color: var(--muted); }
.mission { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.mission b { color: var(--pink); font-weight: 600; }
.crumb { font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--pink); }
.narrow { max-width: 820px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.card { background: var(--panel); border: 1.5px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 4px 0 var(--edge); overflow: hidden; }
.kpi { padding: 16px 18px; }
.kpi span { font-size: 12px; color: var(--dim); }
.kpi b { display: block; margin-top: 4px; font: 700 32px var(--pixel); letter-spacing: .01em; }
.kpi small { display: block; margin-top: 2px; font: 12px var(--mono); color: var(--muted); }
.kpi.hot { background: linear-gradient(150deg, rgba(196, 92, 255, .22), rgba(255, 95, 207, .08) 55%, transparent), var(--panel); border-color: rgba(196, 92, 255, .6); }
.kpi.hot b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* three columns, each its own scroll (the feed layout) */
.cols { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(360px, 1.45fr) minmax(250px, 1fr); gap: 16px; align-items: start; }
.col { display: flex; flex-direction: column; height: calc(100vh - 186px); min-height: 560px; }
.col .lst { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.col .scroll { flex: 1; min-height: 0; overflow-y: auto; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1.5px solid var(--line); }
.panel-h h2 { margin: 0; font: 700 19px var(--pixel); letter-spacing: .01em; }
.panel-h .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--violet-soft); border: 1.5px solid rgba(164, 107, 255, .45); }
.panel-h .ico svg { width: 16px; height: 16px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel-h .go { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--line-2); border-radius: 9px; color: var(--muted); font-size: 14px; }
.panel-h .go:hover { color: var(--text); border-color: var(--violet); }

/* chart */
.chart { padding: 14px 16px 12px; }
.chart svg { width: 100%; height: 120px; display: block; }
.legend { display: flex; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }

/* controls */
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1.5px dashed var(--line); }
.controls .lbl { font-size: 12px; color: var(--dim); }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--sunk); border: 1.5px solid var(--line-2); border-radius: 11px; }
.seg button { height: 28px; padding: 0 11px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .12s, background .12s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--grad); color: #fff; box-shadow: 0 2px 0 #4b1a78; }
.filter { height: 36px; min-width: 220px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 11px; background: var(--sunk); outline: none; }
.filter::placeholder { color: var(--dim); }
.filter:focus { border-color: var(--violet); }
.controls .right { margin-left: auto; }

/* rows (ranked lists) */
.row { display: flex; align-items: center; gap: 11px; padding: 9px 16px; border-bottom: 1px solid var(--line); transition: background .12s; }
.row:hover { background: rgba(164, 107, 255, .06); }
.row .rank { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--panel-2); border: 1.5px solid var(--line-2); font: 700 13px var(--pixel); color: var(--muted); }
.row .rank.r1 { background: #ffcf4a; border-color: #b8891a; color: #3d2600; box-shadow: 0 2px 0 #8a6510; }
.row .rank.r2 { background: #d9d2e6; border-color: #9a90ab; color: #2a2333; box-shadow: 0 2px 0 #6f6680; }
.row .rank.r3 { background: #ffad7a; border-color: #c46a35; color: #3b1700; box-shadow: 0 2px 0 #8f4a20; }
.row .av { width: 38px; height: 38px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--sunk); flex: none; }
.row .av.round { border-radius: 50%; }
.row .who2 { min-width: 0; flex: 1; }
.row .who2 b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .who2 small { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .val { text-align: right; font: 600 14px var(--mono); white-space: nowrap; }
.row .val small { display: block; margin-top: 2px; font-weight: 500; font-size: 11px; }
a.row:hover .who2 b { color: var(--pink); }

/* posts (the feed) */
.posts { padding: 12px 14px 4px; }
.post { display: flex; gap: 12px; margin-bottom: 14px; }
.post .av { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1.5px solid var(--line-2); box-shadow: 0 3px 0 var(--edge); background: var(--sunk); }
.bubble { flex: 1; min-width: 0; padding: 11px 14px 10px; background: var(--panel-2); border: 1.5px solid var(--line-2); border-radius: 14px; box-shadow: 0 3px 0 var(--edge); }
.bubble header { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.bubble header b { color: var(--text); font-weight: 600; }
.bubble header a:hover b { color: var(--pink); }
.bubble header .pill { margin-left: auto; }
.bubble p { margin: 6px 0 0; color: #e3d9f0; overflow-wrap: anywhere; }
.coinbox { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--sunk); transition: border-color .12s; }
.coinbox:hover { border-color: var(--violet); }
.coinbox img, .coinbox .coin-ph { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.coinbox .nm { min-width: 0; flex: 1; }
.coinbox .nm b { display: block; font-weight: 600; }
.coinbox .nm small { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coinbox .amt { text-align: right; }
.coinbox .amt small { display: block; font: 600 10px var(--mono); color: var(--dim); letter-spacing: .08em; }
.coinbox .amt b { font: 600 15px var(--mono); }
.coinbox .arr { color: var(--dim); }
.bubble footer { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--dim); }
.bubble footer a:hover { color: var(--pink); }
.posts [data-fresh] .bubble { animation: pop .8s ease; }
@keyframes pop { from { border-color: var(--pink); box-shadow: 0 3px 0 var(--edge), 0 0 0 4px rgba(255, 95, 207, .18); } }

/* pills */
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font: 700 11px var(--pixel); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1.5px solid transparent; }
.pill.infect, .pill.open, .pill.infecting, .pill.tp { background: var(--pink-soft); color: var(--pink); border-color: rgba(255, 95, 207, .4); }
.pill.leave, .pill.time { background: var(--violet-soft); color: #c9a6ff; border-color: rgba(164, 107, 255, .4); }
.pill.birth { background: var(--blue-soft); color: var(--blue); border-color: rgba(120, 160, 255, .4); }
.pill.stop { background: var(--orange-soft); color: var(--down); border-color: rgba(255, 155, 106, .4); }
.pill.hunting { background: rgba(255, 207, 74, .1); color: #ffd36b; border-color: rgba(255, 207, 74, .35); }
.pill.dormant { background: rgba(255, 255, 255, .04); color: var(--dim); border-color: var(--line-2); }
a.pill:hover { filter: brightness(1.15); }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 600 11px var(--mono); }
.chip.up { background: var(--pink-soft); color: var(--up); }
.chip.down { background: var(--orange-soft); color: var(--down); }

/* tables (the long lists) */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { position: sticky; top: 0; padding: 10px 14px; background: var(--sunk); border-bottom: 1.5px solid var(--line); font: 600 13px var(--pixel); color: var(--dim); letter-spacing: .03em; text-align: left; white-space: nowrap; }
td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td.r, td.num, .muted { white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(164, 107, 255, .06); }
tbody tr[data-fresh] { animation: fresh 2.4s ease; }
@keyframes fresh { from { background: rgba(255, 95, 207, .14); } }
th.r, td.r { text-align: right; }
td.t { white-space: nowrap; color: var(--dim); font: 12px var(--mono); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img { width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--sunk); }
.who img.round { border-radius: 50%; }
.who b { font-weight: 600; white-space: nowrap; }
.who small { display: block; font: 12px var(--mono); color: var(--dim); white-space: nowrap; }
a.who:hover b { color: var(--pink); }
.coin-ph { display: inline-block; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #2c2139, #1d1527); border: 1.5px solid var(--line-2); }
.text { color: var(--muted); max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1500px) { .text { max-width: 520px; } }
.ext { color: var(--dim); font-size: 12px; }
.ext:hover { color: var(--pink); }
.empty { padding: 44px 18px; text-align: center; color: var(--dim); }
.loading { padding: 20px 16px; color: var(--dim); }

/* pager */
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 14px; border-top: 1.5px dashed var(--line); font-size: 12px; color: var(--muted); }
.pager .sp { flex: 1; }
.pager button { height: 30px; min-width: 30px; padding: 0 9px; border: 1.5px solid var(--line-2); border-radius: 9px; background: var(--sunk); font: 600 13px var(--pixel); }
.pager button:hover:not(:disabled) { border-color: var(--violet); color: var(--text); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager button.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 2px 0 #4b1a78; }
.pager select { height: 30px; padding: 0 6px; border: 1.5px solid var(--line-2); border-radius: 9px; background: var(--sunk); font-size: 12px; }
.pager.compact .pg-n { display: none; }

.banner { display: flex; justify-content: center; padding: 7px; border-bottom: 1.5px solid rgba(255, 95, 207, .35); background: var(--pink-soft); }
.banner button { font: 600 14px var(--pixel); color: var(--pink); }

/* profile pages */
.profile { display: flex; align-items: center; gap: 20px; padding: 22px; background: linear-gradient(120deg, rgba(196, 92, 255, .14), transparent 50%); }
.profile img { width: 92px; height: 92px; border-radius: 22px; border: 1.5px solid var(--line-2); box-shadow: 0 4px 0 var(--edge); background: var(--sunk); }
.profile img.round { border-radius: 50%; }
.profile h1 { margin: 0; font: 700 34px var(--pixel); letter-spacing: .01em; }
.profile .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.profile .meta a:not(.pill) { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.profile .meta a:not(.pill):hover { color: var(--pink); }
.quote { margin: 0; padding: 14px 18px; font-size: 15px; }
.quote b { display: block; margin-bottom: 4px; font: 600 13px var(--pixel); color: var(--dim); letter-spacing: .03em; }
.gap { height: 16px; }

/* about */
.about { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1100px; }
.about .card { padding: 22px 24px; }
.about h3 { margin: 0 0 8px; font: 700 21px var(--pixel); letter-spacing: .01em; }
.about p, .about li { color: var(--muted); }
.about ol { margin: 0; padding-left: 20px; }
.about li { margin: 7px 0; }
.about li::marker { color: var(--pink); font-family: var(--pixel); }
.split { display: flex; height: 40px; margin: 16px 0 6px; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; font: 700 14px var(--pixel); box-shadow: 0 3px 0 var(--edge); }
.split div { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.split .team { background: var(--panel-2); color: var(--muted); }
.split .burn { background: #ff8a4c; color: #2a0d00; }
.split .bank { background: var(--grad); color: #fff; }

@media (max-width: 1280px) {
  .cols { grid-template-columns: 1fr 1.4fr; }
  .cols > .col:last-child { grid-column: 1 / -1; height: auto; min-height: 0; }
  .cols > .col:last-child .scroll { max-height: 520px; }
}
@media (max-width: 1180px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip > div:nth-child(3) { border-right: 0; }
  .strip > div:nth-child(-n+3) { border-bottom: 1.5px dashed var(--line); }
}
@media (max-width: 920px) {
  :root { --side: 0px; }
  .side { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; align-items: center; gap: 6px; padding: 10px 12px; border-right: 0; border-bottom: 1.5px solid var(--line); overflow-x: auto; }
  .brand { padding: 0 6px 0 2px; font-size: 22px; }
  .brand span { display: none; }
  .nav { flex-direction: row; }
  .nav a { height: 34px; padding: 0 10px; font-size: 13px; }
  .nav a svg, .nav a b { display: none; }
  .cta { height: 34px; margin: 0; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .side-foot { display: none; }
  .bar { position: static; padding: 0 14px; }
  .ca { display: none; }
  .strip { margin: 4px 14px 0; grid-template-columns: 1fr 1fr; }
  .strip > div { padding: 10px 14px; border-right: 0; border-bottom: 1.5px dashed var(--line); }
  .strip > div:nth-child(odd) { border-right: 1.5px dashed var(--line); }
  .strip > div.t-next { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .view { padding: 16px 14px 48px; }
  .cols { grid-template-columns: 1fr; }
  .col { height: auto; min-height: 0; }
  .col .scroll { max-height: 560px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .kpi b { font-size: 26px; }
  .about { grid-template-columns: 1fr; }
  .opt { display: none; }
  .controls .right { margin-left: 0; width: 100%; }
  .filter { width: 100%; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
