/* overclocked: site styles. Colours and fonts are set once here.
   Theme: the trenches. A pump-green hero with a candle chart, green up / red down accents, all lowercase.
   Scores keep the cold-to-hot heat scale (blue low, red high). */
@font-face { font-family: 'Geist Pixel'; src: url(../fonts/GeistPixel-Square.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Geist'; src: url(../fonts/Geist-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F7F8FB; --surface: #FFFFFF; --surface2: #EEF2F9; --line: #E2E7F0;
  --text: #131722; --muted: #5B6476; --dim: #98A1B3;
  --hot: #3DDC84; --hot2: #5BE59A; --pump: #3DDC84; --dump: #FF5A5A; --hot3: #FFB257; --gold: #FFC25A; --deep: #C2410C;
  --cold: #2F7BF5; --cold2: #5C9BFF; --cold3: #93BEFF; --deepcold: #1E5BD8;
  --ink: #10131B; --cream: #F3F5FA;
  --screen: #141822; --screen2: #1C2130; --sline: #2C3346; --stext: #F3F5FA; --smuted: #A3ABBD;
  --good: #3FCF8E; --bad: #FF5A5A;
  /* cold to hot, same stops as clocky.js: blue under 35%, then amber, orange, red */
  --heat-scale: linear-gradient(90deg, #2F7BF5, #60ACFF 35%, #FFB23E 35%, #FF8A3D 55%, #FF5A30 75%, #FF2D3D);
  /* the hero band: cool on the left, hot under the mascot */
  --band: linear-gradient(100deg, #EFFCF4 0%, #C9F5DA 38%, #86EBB1 72%, #45DB8A 100%);
  --shadow: 0 1px 2px rgba(30, 45, 80, .06), 0 16px 36px -18px rgba(30, 45, 90, .25);
  --px: 'Geist Pixel', ui-monospace, monospace;
  --pad: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-transform: lowercase; }
/* everything is lowercase, except things that must stay exact: contract addresses and code */
.ca-v, .axca, code, kbd, input, textarea, [data-case] { text-transform: none; }
.ca.is-soon .ca-v { text-transform: lowercase; }
body { background: var(--bg); color: var(--text); font: 16px/1.5 Geist, system-ui, sans-serif; overflow-x: hidden; position: relative; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; text-transform: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { display: block; }
.px { font-family: var(--px); font-weight: 400; letter-spacing: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0E9F57; outline-offset: 2px; border-radius: 6px; }
main { flex: 1; }
main.wrap { padding-top: 28px; }

/* ---------- background decoration (light pages) ---------- */
.bgfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* dot texture at the page edges: cool dots on the left, warm dots on the right */
.bgfx::before, .bgfx::after { content: ''; position: absolute; inset: 0; }
.bgfx::before { background: radial-gradient(circle, rgba(14, 159, 87, .17) 1.4px, transparent 1.8px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 18%); mask: linear-gradient(90deg, #000, transparent 18%); }
.bgfx::after { background: radial-gradient(circle, rgba(229, 72, 77, .15) 1.4px, transparent 1.8px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(270deg, #000, transparent 18%); mask: linear-gradient(270deg, #000, transparent 18%); }
.bgfx i { position: absolute; border-radius: 50%; }
.bgfx .b1 { width: 760px; height: 760px; left: -320px; top: 700px; background: radial-gradient(circle, rgba(61, 220, 132, .2), transparent 65%); }
.bgfx .b2 { width: 800px; height: 800px; right: -340px; top: 1000px; background: radial-gradient(circle, rgba(255, 90, 90, .12), transparent 65%); }
.bgfx .b3 { width: 600px; height: 600px; left: 30%; bottom: -380px; background: radial-gradient(circle, rgba(61, 220, 132, .12), transparent 65%); }

/* ---------- logo (sprite symbol uses these classes): dark chip, gauge running cold to hot ---------- */
.logo-tile { fill: var(--lt, #10131B); }
.logo-ink { stroke: var(--ln, #F3F5FA); }
.logo-dot { fill: var(--ln, #F3F5FA); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--px); font-size: 16px; line-height: 1.2; padding: 12px 18px; border-radius: 10px;
  background: var(--hot); color: var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(30, 40, 70, .45); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.sm { font-size: 14px; padding: 8px 14px; }
.btn.lg { font-size: 18px; padding: 15px 24px; }
.btn.line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--dim); }
.btn.dark { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.chip { display: inline-block; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* ---------- header ---------- */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; height: 76px; gap: 44px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .word { font-size: 22px; }
.brand .tk { font-size: 13px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); border-radius: 6px; padding: 3px 8px; letter-spacing: .02em; }
.links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.links a:hover, .links a[aria-current] { color: var(--text); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 22px; }

/* contract address slot (site/ca.txt): "Coming soon" until the CA is posted, then short address + Copy */
.ca { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 5px 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(16, 19, 27, .28); white-space: nowrap; }
.ca-l { font-size: 13px; }
.ca-v { font: 600 13px/1 ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; letter-spacing: .02em; }
.ca.is-soon { padding-right: 12px; }
.ca.is-soon .ca-v { font: 500 13px/1 Geist, system-ui, sans-serif; color: rgba(16, 19, 27, .62); letter-spacing: 0; }
.ca-copy { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--ink); color: var(--cream); font: 600 12px/1 Geist, system-ui, sans-serif; }
.ca-copy:hover { background: #2A3142; }
.ca-copy.done { background: var(--good); color: var(--ink); }
.ca.is-new { animation: ca-new 1.2s ease-out 2; }
@keyframes ca-new { 50% { box-shadow: inset 0 0 0 2px var(--ink); } }

/* ---------- the band (home hero, page heads): a pump chart on green, volume bars along the bottom ---------- */
.band { position: relative; overflow: hidden; color: var(--ink); padding-bottom: 22px;
  background: url(../img/vol.svg) 0 100% / auto 22px repeat-x,
              url(../img/chart.svg) 100% 100% / auto 92% no-repeat,
              repeating-linear-gradient(0deg, rgba(16, 19, 27, .07) 0 1px, transparent 1px 56px),
              repeating-linear-gradient(90deg, rgba(16, 19, 27, .045) 0 1px, transparent 1px 88px),
              var(--band); }
.band .top .wrap { border-bottom: 1px solid rgba(16, 19, 27, .15); }
.band .links { color: rgba(16, 19, 27, .7); }
.band .links a:hover, .band .links a[aria-current] { color: var(--ink); }
.band .brand .tk { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(16, 19, 27, .3); }
.band .btn { background: var(--ink); color: var(--cream); }
.band .btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(16, 19, 27, .35); }
/* CPU pins under the band, coloured cold to hot along the page */

.hero { display: grid; grid-template-columns: 1fr 470px; gap: 40px; align-items: center; padding: 44px 0 48px; }
.display { font-family: var(--px); font-weight: 400; font-size: 46px; line-height: 1.08; letter-spacing: -.5px; }
.display em { font-style: normal; color: var(--cream); background: var(--ink); padding: 0 10px; border-radius: 8px; }
.lede { font-size: 19px; margin: 16px 0 26px; max-width: 540px; }
.acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.note { margin-top: 24px; font-size: 14px; color: rgba(16, 19, 27, .75); }

/* compact page head (inner pages) */
.phead { padding: 34px 0 30px; }
.phead h1 { font-family: var(--px); font-weight: 400; font-size: 36px; line-height: 1.1; }
.phead p { margin-top: 8px; font-size: 17px; max-width: 620px; }

/* ---------- Clocky: the mascot toy in the hero ---------- */
.scene { position: relative; height: 330px; border-radius: 24px; background: var(--screen); border: 1px solid rgba(16, 19, 27, .25); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(20, 24, 40, .5);
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.scene:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.c-art, .c-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-bubble { position: absolute; left: 18px; top: 18px; max-width: 44%; font-family: var(--px); font-size: 14px; line-height: 1.3; color: var(--ink); background: var(--cream);
  padding: 8px 12px; border-radius: 12px 12px 12px 3px; opacity: 0; transform: translateY(4px) scale(.96); transform-origin: 0 100%; transition: opacity .15s, transform .15s; pointer-events: none; }
.c-bubble.on { opacity: 1; transform: none; }
.c-meter { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 12px; font-family: var(--px); font-size: 13px; color: var(--smuted); pointer-events: none; font-variant-numeric: tabular-nums; }
.c-meter b { font-weight: 400; min-width: 66px; }
.c-meter b:last-child { text-align: right; }
.c-track { flex: 1; height: 8px; border-radius: 4px; background: var(--heat-scale); position: relative; overflow: hidden; }
.c-track i { position: absolute; top: 0; bottom: 0; right: 0; width: calc(100% - var(--w, 50%)); background: var(--sline); transition: width .15s linear; }

/* Clocky art (also used on the run-complete screens and the How it works tiers) */
.clocky .c-bob { animation: c-bob 3s ease-in-out infinite; }
.clocky .c-body { transform-box: fill-box; transform-origin: 50% 100%; }
.clocky .c-eyes { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .07s; }
.clocky.blink .c-eyes { transform: scaleY(.12); }
.clocky .c-die, .clocky .c-die-hi { transition: fill .35s; }
.clocky .waves path { animation: c-rise 2.2s ease-in-out infinite; }
.clocky .waves path:nth-child(2) { animation-delay: .5s; } .clocky .waves path:nth-child(3) { animation-delay: 1s; }
.clocky[data-mood="hot"] .waves path, .clocky[data-mood="charge"] .waves path, .clocky[data-mood="overheat"] .waves path { animation-duration: 1.1s; }
.clocky .puff { transform-box: fill-box; transform-origin: center; animation: c-steam 1.2s ease-out infinite; }
.clocky .puff:nth-child(2) { animation-delay: .35s; } .clocky .puff:nth-child(3) { animation-delay: .7s; } .clocky .puff:nth-child(4) { animation-delay: .2s; } .clocky .puff:nth-child(5) { animation-delay: .55s; }
.clocky .flames path { transform-box: fill-box; transform-origin: 50% 100%; animation: c-flick .45s ease-in-out infinite; }
.clocky .flames path:nth-child(even) { animation-delay: .22s; }
.clocky .sparks path { animation: c-flash .5s steps(2) infinite; }
.clocky .sparks path:nth-child(2) { animation-delay: .25s; }
.clocky .snow path { animation: c-twinkle 2.4s ease-in-out infinite; }
.clocky .snow g:nth-child(2) path { animation-delay: .6s; } .clocky .snow g:nth-child(3) path { animation-delay: 1.2s; } .clocky .snow g:nth-child(4) path { animation-delay: 1.8s; }
.clocky .c-body.hop { animation: c-hop .38s cubic-bezier(.3, .7, .4, 1); }
.clocky .c-body.boost { animation: c-boost .7s cubic-bezier(.3, .7, .4, 1); }
.clocky.charging .c-body { animation: c-buzz .09s linear infinite; }
.clocky.melt .c-body { animation: c-shake .28s linear infinite; }
.clocky.press .c-pad-a { animation: c-pad .25s; } .clocky.press .c-pad-b { animation: c-pad .25s .08s; }
.clocky .c-pop { font-family: var(--px); font-size: 17px; fill: #FFC25A; stroke: #10131B; stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; pointer-events: none;
  transform-box: fill-box; transform-origin: center; animation: c-pop .9s ease-out forwards; }
.clocky .c-pop.combo { fill: #F3F5FA; font-size: 20px; }
.clocky .c-pop.bad { fill: #FF8A80; }
@keyframes c-bob { 50% { transform: translateY(-5px); } }
@keyframes c-rise { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes c-steam { 0% { transform: translateY(8px) scale(.6); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-24px) scale(1.4); opacity: 0; } }
@keyframes c-flick { 50% { transform: scaleY(.86) scaleX(1.05); } }
@keyframes c-flash { 50% { opacity: .25; } }
@keyframes c-twinkle { 50% { opacity: .35; } }
@keyframes c-hop { 0% { transform: scale(1.06, .9); } 35% { transform: translateY(-16px) scale(.96, 1.05); } 70% { transform: translateY(0) scale(1.03, .97); } 100% { transform: none; } }
@keyframes c-boost { 0% { transform: scale(1.12, .82); } 25% { transform: translateY(-44px) scale(.92, 1.1); } 55% { transform: translateY(-38px); } 80% { transform: translateY(0) scale(1.08, .92); } 100% { transform: none; } }
@keyframes c-buzz { 0%, 100% { transform: translateX(0) scale(1.04, .94); } 25% { transform: translateX(-1.5px) scale(1.04, .94); } 75% { transform: translateX(1.5px) scale(1.04, .94); } }
@keyframes c-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px) rotate(-1deg); } 40% { transform: translateX(4px) rotate(1deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@keyframes c-pad { 50% { fill: #F3F5FA; } }
@keyframes c-pop { 0% { transform: translateY(0) scale(.7); opacity: 0; } 15% { opacity: 1; transform: translateY(-6px) scale(1.05); } 100% { transform: translateY(-46px) scale(1); opacity: 0; } }

/* ---------- panels, section heads ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 22px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 52px 0 18px; }
.sec h2 { font-family: var(--px); font-weight: 400; font-size: 26px; }
.sec span { font-size: 14px; color: var(--muted); }
.hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.hd h3 { font-family: var(--px); font-weight: 400; font-size: 20px; }

/* daily run strip */
.runbar { display: grid; grid-template-columns: auto 1fr auto auto; gap: 26px; align-items: center; }
.runbar h3 { font-family: var(--px); font-weight: 400; font-size: 20px; }
.runbar small, .timer small { display: block; font-size: 13px; color: var(--muted); }
.steps { display: flex; gap: 10px; }
.step { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface2); font-size: 14px; color: var(--muted); }
.step b { font-family: var(--px); font-weight: 400; font-size: 13px; width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--text); }
.step.done { color: var(--text); } .step.done b { background: var(--hot); border-color: var(--hot); color: var(--ink); }
.step.now { color: var(--text); box-shadow: inset 0 0 0 1px var(--hot); }
.timer { text-align: right; }
.timer .px { font-size: 22px; color: #0E9F57; }

/* game select grid */
.gamegrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(30, 45, 80, .06), 0 24px 40px -18px rgba(30, 45, 90, .34); }
.art { background: var(--screen) radial-gradient(circle, #262C3B 1.2px, transparent 1.6px) 0 0 / 18px 18px; margin: 8px 8px 0; border-radius: 14px; overflow: hidden; aspect-ratio: 230 / 200; }
.art svg { width: 100%; height: 100%; }
.gbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.gbody h3 { font-family: var(--px); font-weight: 400; font-size: 20px; line-height: 1.15; }
.gbody p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.gmeta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.gmeta .go { font-family: var(--px); font-size: 14px; color: var(--ink); background: var(--hot); border-radius: 8px; padding: 5px 12px; }
.gtitle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gcard .today { display: none; font-family: var(--px); font-size: 11px; line-height: 1.5; color: var(--ink); background: var(--gold); border-radius: 6px; padding: 0 7px; }
.gcard.is-today .today { display: inline-block; }
.gcard.is-today { border-color: rgba(14, 159, 87, .55); }

/* runs + scorecard preview */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.r { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.r:last-child { border: 0; }
.r i { font-style: normal; font-family: var(--px); width: 30px; color: var(--dim); font-size: 13px; }
.r b { margin-left: auto; font-family: var(--px); font-weight: 400; }
.r .tag { font-size: 12px; color: var(--ink); background: var(--heat, var(--surface2)); border-radius: 6px; padding: 1px 8px; }
.r.me { background: var(--surface2); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; border: 0; }
.empty { padding: 18px 0 6px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.soon { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface2); font-size: 14px; color: var(--muted); }
.preview canvas { width: 100%; height: auto; border-radius: 14px; transition: opacity .18s; }
.preview canvas.fade { opacity: 0; }

/* footer */
.foot { margin-top: 64px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.foot .wrap { display: flex; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 32px; font-size: 14px; color: var(--dim); flex-wrap: wrap; }
.foot .word { font-size: 16px; color: var(--muted); }
.foot .fl { margin-left: auto; display: flex; gap: 22px; }
.foot .fl a:hover { color: var(--text); }
a[data-link]:not([href]) { display: none; }

/* ---------- play pages: the console ---------- */
.console { background: var(--screen); color: var(--stext); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(20, 30, 60, .4); position: relative; }
.console::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, #262C3B 1.2px, transparent 1.6px) 0 0 / 18px 18px; pointer-events: none; }
.console > * { position: relative; }
.hud { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--sline); font-size: 14px; color: var(--smuted); }
.hud .gname { font-family: var(--px); font-size: 18px; color: var(--stext); }
.hud .prog { display: flex; gap: 4px; }
.hud .prog i { width: 18px; height: 6px; border-radius: 3px; background: var(--sline); }
.hud .prog i.on { background: var(--hot); } .hud .prog i.ok { background: var(--good); } .hud .prog i.no { background: var(--bad); } .hud .prog i.sk { background: var(--smuted); }
.hud:has(.gname:empty) .hr { visibility: hidden; }
.hud .hr { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hud .val { font-family: var(--px); font-size: 18px; color: var(--stext); }
.hud .val.warn { color: var(--gold); }
.tbar { height: 4px; background: var(--sline); }
/* time bar: cool while there's time, heating up to red as it runs out (ui.js sets --heat) */
.tbar i { display: block; height: 100%; width: var(--w, 100%); background: var(--heat, var(--cold)); transition: width .2s linear, background-color .2s linear; }
.screen { padding: 30px 34px 34px; min-height: 460px; display: flex; flex-direction: column; }

/* intro / interstitial screens */
.intro { margin: auto; text-align: center; max-width: 560px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.intro .kick { font-size: 14px; color: var(--gold); margin-bottom: 10px; }
.intro h2 { font-family: var(--px); font-weight: 400; font-size: 40px; line-height: 1.1; }
.intro h2 em { font-style: normal; color: var(--heat, var(--hot)); }
.intro p { color: var(--smuted); margin: 10px 0 22px; font-size: 17px; }
.intro .mascot { width: 150px; height: 214px; margin: -8px auto 8px; }
.intro .mascot svg { width: 100%; height: 100%; }
.rules { list-style: none; display: grid; gap: 8px; margin: 18px 0 26px; text-align: left; width: 100%; }
.rules li { display: flex; gap: 12px; align-items: center; background: var(--screen2); border: 1px solid var(--sline); border-radius: 12px; padding: 11px 14px; font-size: 15px; }
.rules li b { font-family: var(--px); font-weight: 400; color: var(--hot); width: 124px; flex: none; }
.intro .alt { margin-top: 14px; font-size: 14px; color: var(--smuted); }
.intro .alt a { color: var(--stext); text-decoration: underline; text-underline-offset: 3px; }
.kbd { font-family: var(--px); font-size: 12px; padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--sline); color: var(--smuted); }

/* IQ */
.qtopic { font-size: 13px; color: var(--gold); }
.qtext { font-size: 26px; line-height: 1.3; font-weight: 600; margin: 8px 0 24px; max-width: 760px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ans { text-align: left; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--screen2); border: 1px solid var(--sline); color: var(--stext); font-size: 17px; transition: border-color .12s, background .12s, transform .12s; }
.ans:hover { border-color: var(--hot); transform: translateY(-1px); }
.ans .k { font-family: var(--px); width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--sline); font-size: 14px; }
.ans.right { background: rgba(63, 207, 142, .16); border-color: var(--good); }
.ans.right .k { background: var(--good); color: var(--ink); }
.ans.wrong { background: rgba(255, 90, 90, .14); border-color: var(--bad); }
.ans.wrong .k { background: var(--bad); color: var(--ink); }
.answers.locked .ans { pointer-events: none; }
.answers.locked .ans:not(.right):not(.wrong) { opacity: .5; }
.why { margin-top: 16px; min-height: 26px; font-size: 15px; color: var(--smuted); }
.why b { color: var(--stext); font-weight: 600; }

/* token header (Degen, Take Profit): like a DEX chart page */
.chead { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; margin-bottom: 12px; }
.tok { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; min-width: 0; }
.av { display: grid; place-items: center; font-family: var(--px); color: var(--ink); flex: none; }
.av0 { background: var(--hot); } .av1 { background: var(--gold); } .av2 { background: #7FD1FF; } .av3 { background: var(--cream); } .av4 { background: #C9A7FF; }
.tok .av { width: 34px; height: 34px; border-radius: 9px; font-size: 12px; }
.tok .tn b { font-family: var(--px); font-weight: 400; font-size: 20px; color: var(--stext); }
.tok .tn span { font-size: 14px; color: var(--smuted); margin-left: 2px; }
.tok .tf { font-family: var(--px); font-size: 12px; color: var(--smuted); box-shadow: inset 0 0 0 1px var(--sline); border-radius: 5px; padding: 1px 7px; }
.tok .venue { color: #93BEFF; box-shadow: inset 0 0 0 1px #2C4A7A; white-space: nowrap; }
.tok .live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--px); font-size: 12px; color: var(--bad); }
.tok .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: c-flash 1s steps(2) infinite; }
.tok .mcap { font-size: 13px; color: var(--smuted); }
.tok .mcap b { font-family: var(--px); font-weight: 400; font-size: 16px; color: var(--stext); margin-left: 4px; font-variant-numeric: tabular-nums; }
.verdict { font-family: var(--px); font-size: 18px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.verdict.ok { background: var(--good); color: var(--ink); } .verdict.no { background: var(--bad); color: var(--ink); } .verdict.sk { background: var(--sline); color: var(--stext); }

/* charts */
.chartbox { position: relative; border-radius: 16px; background: var(--screen2); border: 1px solid var(--sline); overflow: hidden; }
.chartbox svg { width: 100%; height: 320px; }
.chartbox .cut { stroke: var(--smuted); stroke-dasharray: 4 6; }
.chartbox .entry { stroke: var(--smuted); stroke-dasharray: 2 5; }
.yax span { position: absolute; right: 8px; top: var(--y); transform: translateY(-50%); font-size: 11px; color: var(--smuted); font-variant-numeric: tabular-nums; }
.yax .now { font-family: var(--px); font-size: 12px; color: var(--ink); padding: 2px 6px; border-radius: 5px; }
.yax .now.up { background: var(--good); } .yax .now.dn { background: var(--bad); }
.yax .entry { font-family: var(--px); font-size: 11px; color: var(--stext); background: var(--sline); padding: 1px 6px; border-radius: 5px; }
.chartbox .mk.top { stroke: var(--gold); } .chartbox .mk.you { stroke: var(--stext); }
.chartbox .mkdot.top { fill: var(--gold); } .chartbox .mkdot.you { fill: var(--stext); }
.yax .mklab { position: absolute; left: var(--x); top: var(--y); right: auto; transform: translate(-50%, -150%); font-style: normal; font-family: var(--px); font-size: 12px; padding: 2px 6px; border-radius: 5px; white-space: nowrap; color: var(--ink); }
.yax .mklab.top { background: var(--gold); } .yax .mklab.you { background: var(--stext); transform: translate(-50%, 70%); }

/* calls */
.calls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 14px; }
.call { font-family: var(--px); font-size: 22px; padding: 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .12s, filter .12s; }
.call:hover { transform: translateY(-1px); filter: brightness(1.06); }
.call.long { background: var(--good); color: var(--ink); }
.call.short { background: var(--bad); color: var(--ink); }
.call.skip { background: var(--screen2); color: var(--smuted); border: 1px solid var(--sline); font-size: 16px; padding: 16px 22px; }
.calls.locked .call { pointer-events: none; opacity: .4; }
.calls.locked .call.picked { opacity: 1; box-shadow: 0 0 0 3px var(--stext); }
.calls.two { grid-template-columns: 1fr 1fr; }
.call .kbd { box-shadow: inset 0 0 0 1px rgba(16, 19, 27, .3); color: inherit; }

/* Snipe: a "final stretch" feed of coins about to migrate */
.arena { flex: 1; border-radius: 16px; background: var(--screen2); border: 1px solid var(--sline); display: flex; flex-direction: column; gap: 10px; padding: 14px; transition: border-color .1s; user-select: none; -webkit-user-select: none; }
.arena.go { border-color: var(--good); }
.feedhead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--smuted); padding: 0 2px; }
.feedhead b { font-size: 18px; color: var(--stext); }
.feedhead span { display: inline-flex; align-items: center; gap: 6px; }
.feed { display: grid; gap: 8px; }
.pair { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(90px, 160px) 78px auto; gap: 14px; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--screen); border: 1px solid var(--sline); transition: background .1s, border-color .1s; }
.pair .av { width: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
.pair .nm { min-width: 0; display: flex; flex-direction: column; }
.pair .nm b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair .age { font-size: 12px; color: var(--smuted); font-variant-numeric: tabular-nums; }
.curve { display: grid; gap: 5px; }
.curve i { display: block; height: 6px; border-radius: 3px; background: var(--sline); position: relative; overflow: hidden; }
.curve i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--gold); border-radius: 3px; transition: width .25s; }
.curve em { font-style: normal; font-family: var(--px); font-size: 12px; color: var(--gold); font-variant-numeric: tabular-nums; }
.pair .mc { font-family: var(--px); font-size: 13px; color: var(--smuted); text-align: right; font-variant-numeric: tabular-nums; }
.pair.live { background: #183A2B; border-color: var(--good); }
.pair.live .curve i::after { width: 100%; background: var(--good); }
.pair.live .curve em, .pair.live .mc { color: var(--good); }
.qb { font-family: var(--px); font-size: 14px; min-width: 104px; padding: 10px 14px; border-radius: 10px; background: var(--sline); color: var(--smuted); display: inline-flex; gap: 6px; align-items: center; justify-content: center; touch-action: manipulation; }
.qb:hover { color: var(--stext); }
.qb svg { width: 9px; height: 13px; fill: currentColor; }
.qb.armed { background: var(--good); color: var(--ink); box-shadow: 0 0 0 3px rgba(63, 207, 142, .25); }
.qb.filled { background: var(--gold); color: var(--ink); box-shadow: none; }
.feedhead svg { width: 9px; height: 13px; fill: var(--gold); }
.feedmsg { margin-top: auto; text-align: center; padding: 8px 6px 2px; min-height: 74px; }
.feedmsg b { display: block; font-size: 30px; line-height: 1.1; }
.feedmsg span { display: block; margin-top: 4px; font-size: 14px; color: var(--smuted); }
.feedmsg.go b { color: var(--good); } .feedmsg.bad b { color: var(--bad); } .feedmsg.good b { color: var(--gold); }
.times { display: flex; gap: 10px; margin-top: 14px; }
.times span { flex: 1; text-align: center; padding: 8px; border-radius: 10px; background: var(--screen2); border: 1px solid var(--sline); font-family: var(--px); font-size: 15px; color: var(--smuted); }
.times span.hit { color: var(--stext); } .times span.miss { color: var(--bad); }

/* Rug or Real: a token info panel like the ones on trading terminals */
.tcard { border-radius: 16px; background: var(--screen2); border: 1px solid var(--sline); padding: 16px; }
.thead { display: flex; align-items: center; gap: 12px; }
.thead .av { width: 46px; height: 46px; border-radius: 12px; font-size: 15px; }
.thead .tn b { display: block; font-size: 20px; color: var(--stext); }
.thead .tn span { font-size: 12px; color: var(--smuted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.thead .age { font-family: var(--px); font-size: 12px; color: var(--smuted); box-shadow: inset 0 0 0 1px var(--sline); border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
.thead .verdict { margin-left: auto; }
.mkt { display: flex; gap: 6px 24px; flex-wrap: wrap; margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--sline); font-size: 13px; color: var(--smuted); }
.mkt b { font-family: var(--px); font-weight: 400; font-size: 15px; color: var(--stext); margin-left: 4px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { border-radius: 12px; background: var(--screen); border: 1px solid var(--sline); padding: 10px 12px; transition: border-color .15s, background .15s, opacity .15s; }
.stat small { display: block; font-size: 12px; color: var(--smuted); }
.stat b { display: flex; gap: 4px; font-family: var(--px); font-weight: 400; font-size: 18px; color: var(--stext); margin-top: 2px; }
.stat .soc { font-size: 12px; line-height: 1.6; padding: 0 6px; border-radius: 5px; background: var(--sline); }
.stat.flag { border-color: var(--bad); background: #3A1A1A; } .stat.flag b { color: var(--bad); }
.stat.okay { opacity: .5; }

/* Take Profit */
.exitbar { display: flex; align-items: stretch; gap: 14px; margin-top: 14px; }
.exitbar .pos { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--screen2); border: 1px solid var(--sline); }
.exitbar .pos small { font-size: 13px; color: var(--smuted); }
.exitbar .pos .sol { font-family: var(--px); font-size: 16px; color: var(--smuted); font-variant-numeric: tabular-nums; }
.exitbar .pos .bag { margin-left: auto; font-size: 13px; color: var(--smuted); text-align: right; }
.pnl { font-family: var(--px); font-size: 30px; color: var(--good); font-variant-numeric: tabular-nums; min-width: 110px; }
.pnl.dn, .sol.dn { color: var(--bad); }
.call.sellbtn { background: var(--dump); color: var(--ink); min-width: 210px; font-size: 24px; }
.call.sellbtn[disabled] { opacity: .45; }
.call.sellbtn.picked { opacity: 1; background: var(--gold); box-shadow: 0 0 0 3px var(--stext); }

/* ---------- report ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.report canvas { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(20, 30, 60, .35); }
.report .side { display: flex; flex-direction: column; gap: 14px; }
.report .side .hd { margin: 0; }
.parts { display: grid; gap: 10px; }
.part { display: grid; grid-template-columns: 158px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface2); }
.part h4 { font-family: var(--px); font-weight: 400; font-size: 16px; }
.part small { display: block; color: var(--muted); font-size: 12px; }
.part .bar { height: 10px; border-radius: 5px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.part .bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--heat, var(--hot)); border-radius: 5px; }
.part b { font-family: var(--px); font-weight: 400; font-size: 18px; min-width: 60px; text-align: right; }
.tip { font-size: 14px; color: var(--muted); }
.tip b { color: var(--text); font-weight: 600; }
.toast { font-size: 14px; color: var(--deep); min-height: 21px; }

/* ---------- stats page ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.chart14 + .duo { margin-top: 18px; }
.kpi small { display: block; color: var(--muted); font-size: 14px; }
.kpi b { display: block; font-family: var(--px); font-weight: 400; font-size: 34px; line-height: 1.2; margin-top: 4px; }
.kpi span { font-size: 13px; color: var(--dim); }
.chart14 svg { width: 100%; height: 220px; }
.chart14 .ax { fill: var(--dim); font-size: 11px; font-family: Geist, sans-serif; }

/* ---------- how page ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how h3 { font-family: var(--px); font-weight: 400; font-size: 22px; margin-bottom: 10px; }
.how ul { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.how li { padding-left: 16px; position: relative; }
.how li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--hot); }
.how ul b { color: var(--text); font-weight: 600; }
.tierlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tierlist .tier { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 10px; }
.tier .mascot { width: 70px; height: 98px; flex: none; }
.tier .mascot svg { width: 100%; height: 100%; }
.tier b { display: inline-block; font-family: var(--px); font-weight: 400; font-size: 17px; color: var(--ink); background: var(--heat); border-radius: 6px; padding: 1px 8px; }
.tier span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.fine { margin-top: 28px; font-size: 13px; color: var(--dim); }

/* 404 */
.lost { text-align: center; padding: 80px 0 40px; }
.lost h1 { font-family: var(--px); font-weight: 400; font-size: 64px; }
.lost p { color: var(--muted); margin: 10px 0 24px; }

@media (prefers-reduced-motion: reduce) {
  .ca.is-new,
  .clocky .c-bob, .clocky .waves path, .clocky .puff, .clocky .flames path, .clocky .sparks path, .clocky .snow path,
  .clocky .c-body.hop, .clocky .c-body.boost, .clocky.charging .c-body, .clocky.melt .c-body, .tok .live i { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .gamegrid { grid-template-columns: repeat(6, 1fr); }
  .gcard { grid-column: span 2; }
  .gcard:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .scene { max-width: 520px; width: 100%; }
  .duo, .report { grid-template-columns: 1fr; }
  .runbar { grid-template-columns: 1fr auto; }
  .runbar .steps { grid-column: 1 / -1; grid-row: 2; }
  .runbar > .btn { grid-column: 1 / -1; }
  .how, .kpis, .tierlist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .top .wrap { height: auto; padding-top: 14px; padding-bottom: 12px; flex-wrap: wrap; gap: 10px 14px; }
  .links { order: 3; width: 100%; gap: 20px; overflow-x: auto; font-size: 14px; }
  .nav-r { gap: 10px; }
  .nav-r .play { display: none; }
  .brand { gap: 9px; }
  .brand svg { width: 30px; height: 30px; }
  .brand .word { font-size: 17px; }
  .brand .tk { display: none; }
  .ca { height: 34px; gap: 6px; padding-left: 10px; }
  .ca-copy { height: 26px; padding: 0 8px; }
  .ca-copy span { display: none; }
  .display { font-size: 32px; }
  .hero { padding: 26px 0 30px; gap: 26px; }
  .scene { height: 270px; }
  .c-bubble { font-size: 13px; max-width: 52%; }
  .steps { flex-direction: column; }
  .gamegrid { grid-template-columns: 1fr; gap: 12px; }
  .gcard, .gcard:nth-child(4) { grid-column: auto; flex-direction: row; }
  .gcard .art { width: 132px; flex: none; margin: 8px 0 8px 8px; }
  .gbody { padding: 12px 14px; }
  .gbody h3 { font-size: 18px; }
  .gmeta { padding-top: 8px; }
  .screen { padding: 22px 16px 24px; min-height: 420px; }
  .hud { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; }
  .hud .hr { gap: 14px; }
  .qtext { font-size: 21px; }
  .answers { grid-template-columns: 1fr; }
  .intro h2 { font-size: 30px; }
  .calls { grid-template-columns: 1fr 1fr; }
  .calls .skip { grid-column: 1 / -1; }
  .chartbox svg { height: 250px; }
  .tok .tn b { font-size: 17px; }
  .part { grid-template-columns: 1fr auto; }
  .part .bar { grid-column: 1 / -1; grid-row: 2; }
  .how, .kpis, .tierlist { grid-template-columns: 1fr; }
  .phead h1 { font-size: 28px; }
  .sec { flex-direction: column; gap: 4px; }
  .foot .fl { margin-left: 0; width: 100%; }
  .kbd { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .thead { flex-wrap: wrap; gap: 10px; }
  .thead .tn { min-width: 150px; flex: 1; }
  .thead .tn b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .thead .age { white-space: nowrap; }
  .thead .verdict { font-size: 15px; }
  .stat b { font-size: 16px; }
  .mkt { gap: 4px 16px; }
  .exitbar { flex-direction: column; }
  .exitbar .pos .bag { display: none; }
  .call.sellbtn { min-width: 0; }
  .pnl { font-size: 24px; }
  .pair { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 10px; padding: 8px 10px; }
  .pair .mc { display: none; }
  .pair .av { width: 34px; height: 34px; grid-row: span 2; }
  .pair .nm { flex-direction: row; align-items: baseline; gap: 8px; }
  .pair .curve { grid-column: 2; grid-row: 2; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
  .pair .qb { grid-column: 3; grid-row: 1 / span 2; }
  .qb { min-width: 0; padding: 10px 11px; font-size: 13px; }
  .pair .nm b { font-size: 14px; }
  .feedmsg b { font-size: 24px; }
}

/* Rug or Real: Axiom-style pulse card */
.ax { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; position: relative; }
.ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.axl { display: grid; justify-items: center; gap: 6px; }
.axav { --c: #4ADE80; position: relative; padding: 3px; border-radius: 12px; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--sline) 0); }
.axav.bonk { --c: #FFB23E; } .axav.ray { --c: #93BEFF; } .axav.met { --c: #F472B6; }
.axav .av { width: 72px; height: 72px; border-radius: 9px; font-size: 20px; }
.axav .vdot { position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 3px solid var(--screen2); }
.axca { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--smuted); white-space: nowrap; }
.axm { min-width: 0; display: grid; gap: 8px; }
.axt { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.axt b { font-size: 20px; font-weight: 700; color: var(--stext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.axt span { font-size: 15px; color: var(--smuted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.axt .ic { color: var(--smuted); align-self: center; }
.axr1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--stext); }
.axage { color: #4ADE80; font-weight: 600; }
.axn { display: inline-flex; align-items: center; gap: 4px; color: var(--stext); } .axn .ic { color: var(--smuted); }
.axso { display: inline-flex; gap: 6px; border-radius: 6px; transition: color .15s, opacity .15s; }
.axso .so { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--screen); color: var(--smuted); }
.axso.none { font-size: 13px; color: var(--smuted); }
.axhandle { color: #93BEFF; font-size: 13px; }
.axpills { display: flex; flex-wrap: wrap; gap: 8px; }
.axp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--screen); border: 1px solid var(--sline); color: var(--smuted); font-size: 13px; transition: border-color .15s, color .15s, background .15s; }
.axp b { color: var(--stext); font-weight: 600; font-variant-numeric: tabular-nums; }
.axp.okay, .axso.okay { color: #4ADE80; } .axp.okay { border-color: #1F5A3A; background: #12261E; } .axp.okay b { color: #4ADE80; }
.axp.flag, .axso.flag { color: #FF5A5A; } .axp.flag { border-color: #6B2430; background: #2A1519; } .axp.flag b { color: #FF5A5A; }
.axso.flag.none { color: #FF5A5A; }
.axr { display: grid; gap: 6px; justify-items: end; text-align: right; font-size: 14px; }
.axr small { color: var(--smuted); margin-right: 6px; font-size: 13px; }
.axr b { color: var(--stext); font-weight: 600; font-variant-numeric: tabular-nums; }
.axmc b { font-size: 22px; color: #93BEFF; } .axmc small { font-size: 15px; }
.axr .verdict { margin-top: 8px; }
@media (max-width: 640px) {
  .ax { grid-template-columns: auto 1fr; gap: 10px 12px; }
  .axm { display: contents; }
  .axl { grid-row: span 2; }
  .axpills { grid-column: 1 / -1; gap: 6px; }
  .axav .av { width: 56px; height: 56px; font-size: 16px; }
  .axr { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; justify-items: start; text-align: left; border-top: 1px solid var(--sline); padding-top: 10px; }
  .axmc b { font-size: 18px; } .axmc small { font-size: 13px; }
  .axr .verdict { margin: 0 0 0 auto; }
  .axt b { font-size: 18px; }
  .axp { padding: 4px 8px; font-size: 12px; }
}

/* Snipe: Axiom-style New Pairs column */
.news { border-radius: 12px; background: var(--screen); border: 1px solid var(--sline); padding: 10px 14px; }
.news small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--smuted); }
.news p { margin: 4px 0 0; font-size: 16px; line-height: 1.4; color: var(--stext); }
.feedhead .paused { margin-right: auto; margin-left: 12px; font-size: 12px; color: #FFB23E; border: 1px solid #5A4220; border-radius: 6px; padding: 1px 8px; }
.np { height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--sline) transparent; }
.np-row { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--screen); border: 1px solid var(--sline); transition: background .15s, border-color .15s; }
.np-row:hover { border-color: #3A4560; }
.np-row.new { animation: npin .3s ease-out; }
@keyframes npin { from { opacity: 0; transform: translateY(-6px); } }
.axav.sm { padding: 2px; border-radius: 9px; }
.axav.sm .av { width: 42px; height: 42px; border-radius: 7px; font-size: 13px; }
.axav.sm .vdot { width: 10px; height: 10px; border-width: 2px; right: -3px; bottom: -3px; }
.np-mid { min-width: 0; }
.np-t { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.np-t b { font-weight: 700; font-size: 15px; color: var(--stext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; max-width: 60%; }
.np-t span { font-size: 13px; color: var(--smuted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-s { display: flex; gap: 12px; margin-top: 3px; font-size: 13px; color: var(--stext); }
.np-r { display: grid; gap: 1px; text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 74px; }
.np-r small { color: var(--smuted); margin-right: 5px; }
.np-r b { font-weight: 600; color: var(--stext); }
.np-r .m b { color: #93BEFF; }
.np .qb { min-width: 88px; padding: 9px 12px; background: #1E3A66; color: #CFE0FF; }
.np .qb:hover { background: #2A4C82; color: #fff; }
.np-row.real { border-color: var(--good); background: #183A2B; }
.np-row.real .np-t b::after { content: ' REAL'; font-size: 11px; color: var(--good); margin-left: 4px; }
.np-row.bought.bad { border-color: var(--bad); background: #3A1A1A; }
.np-row.bought .qb { background: var(--gold); color: var(--ink); }
@media (max-width: 640px) {
  .np { height: 360px; }
  .np-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; padding: 7px 8px; }
  .np-r { grid-column: 2; grid-row: 2; display: flex; gap: 12px; text-align: left; }
  .np .qb { grid-column: 3; grid-row: 1 / span 2; min-width: 0; padding: 9px 10px; }
  .axav.sm { grid-row: 1 / span 2; }
  .news p { font-size: 14px; }
}

/* X account: header button + follow strip */
.xi { width: 15px; height: 15px; fill: currentColor; flex: none; }
.xbtn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(16, 19, 27, .28); font: 600 13px/1 Geist, system-ui, sans-serif; white-space: nowrap; }
.xbtn:hover { background: rgba(255, 255, 255, .35); }
.xbtn.is-soon .xl { color: rgba(16, 19, 27, .62); font-weight: 500; }
.xbtn.is-soon, .xgo.is-soon { cursor: default; }
.xwrap { position: relative; z-index: 1; }
.xpromo { margin-top: 64px; display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 18px; background: var(--surface2, #EEF2F9); border: 1px solid var(--line); position: relative; z-index: 1; }
.xwrap + .foot { margin-top: 28px; }
.xlogo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--cream); flex: none; }
.xlogo .xi { width: 22px; height: 22px; }
.xtxt { display: grid; gap: 4px; min-width: 0; }
.xtxt b { font-weight: 400; font-size: 20px; color: var(--text); }
.xtxt span { font-size: 14px; color: var(--muted); }
.xgo { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.xgo.is-soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 640px) {
  .xbtn { height: 34px; padding: 0 10px; }
  .xbtn .xl { display: none; }
  .xpromo { flex-wrap: wrap; gap: 14px; padding: 18px; margin-top: 44px; }
  .xlogo { width: 44px; height: 44px; }
  .xtxt { flex: 1; } .xtxt b { font-size: 17px; }
  .xgo { margin-left: 0; width: 100%; justify-content: center; }
}
