/* Singularity Research — institutional design system */
:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-elev: #0b0e12;
  --surface: #11151b;
  --surface-2: #161b23;
  --surface-3: #1d232d;
  --line: rgba(232, 236, 242, 0.08);
  --line-2: rgba(232, 236, 242, 0.14);
  --line-3: rgba(232, 236, 242, 0.22);
  --text: #eef0f3;
  --text-2: #c3c7cf;
  --muted: #8b8f98;
  --faint: #5b6070;
  --signal: #c6f135;
  --signal-2: #ddff6a;
  --signal-dim: rgba(198, 241, 53, 0.1);
  --up: #3ecf8e;
  --down: #ff6b5a;
  --u-intelligence: #3987e5;
  --u-power: #d95926;
  --u-motion: #199e70;
  --u-matter: #c98500;
  --u-frontier: #d55181;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1320px;
  --gutter: clamp(1rem, 3.2vw, 2.25rem);
  --r: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
body {
  margin: 0;
  font: 400 15px/1.55 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "tnum" 0;
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(57,135,229,0.07), transparent 60%),
    radial-gradient(900px 500px at 92% -5%, rgba(198,241,53,0.05), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--signal-2); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; margin: 0 0 0.6rem; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
p { margin: 0 0 0.9rem; }
em { font-style: italic; color: var(--signal); }
.mono, code { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--signal); color: #111; padding: 0.5rem 1rem; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ——— Signup bar (top) ——— */
.signup-bar {
  position: relative; z-index: 70;
  background: linear-gradient(90deg, #10160a, #0d1117 45%, #0d1117);
  border-bottom: 1px solid rgba(198,241,53,0.18);
  font-size: 0.85rem;
}
.signup-bar .wrap { display: flex; align-items: center; gap: 1rem; padding-block: 0.5rem; flex-wrap: wrap; }
.signup-bar .pill { font: 500 0.66rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #0b0d08; background: var(--signal); padding: 0.32rem 0.5rem; border-radius: 2px; }
.signup-bar .msg { color: var(--text-2); flex: 1 1 260px; }
.signup-bar .msg strong { color: var(--text); font-weight: 600; }
.signup-bar .msg a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.sub-form { display: flex; gap: 0.4rem; align-items: center; }
.sub-form input[type=email] {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; padding: 0.42rem 0.7rem; border-radius: var(--r); width: 15rem; max-width: 52vw;
}
.sub-form input[type=email]:focus { border-color: var(--signal); outline: none; background: rgba(198,241,53,0.05); }
.sub-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sub-form button { white-space: nowrap; }
.sub-form .status { font-size: 0.8rem; color: var(--muted); }
.sub-form.done input, .sub-form.done button { display: none; }
.sub-form.done .status { color: var(--signal); }
.signup-bar .close { background: none; border: 0; color: var(--faint); font-size: 1.1rem; cursor: pointer; padding: 0 0.25rem; }
.signup-bar .close:hover { color: var(--text); }

/* ——— Nav ——— */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 9, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font: 700 1.02rem var(--font-display); letter-spacing: -0.04em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand span { color: var(--muted); font-weight: 500; }
.brand-mark { width: 28px; height: 28px; flex: none; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.dd {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--muted); font: 500 0.86rem var(--font-body); letter-spacing: -0.005em;
  padding: 0.45rem 0.6rem; border-radius: var(--r); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links button.dd:hover, .nav-links a.is-active { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.is-active { box-shadow: inset 0 -2px 0 var(--signal); border-radius: var(--r) var(--r) 0 0; }
.nav-links .new { font: 500 0.58rem var(--font-mono); color: #0b0d08; background: var(--signal); padding: 0.1rem 0.3rem; border-radius: 2px; letter-spacing: 0.06em; }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 330px; padding: 0.4rem;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-links li:hover > .menu, .nav-links li:focus-within > .menu, .menu.open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: grid !important; grid-template-columns: 10px 1fr; column-gap: 0.7rem; padding: 0.6rem 0.7rem !important; }
.menu a i { width: 8px; height: 8px; border-radius: 50%; margin-top: 0.45rem; }
.menu a b { color: var(--text); font-weight: 600; }
.menu a small { grid-column: 2; color: var(--muted); font-size: 0.78rem; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.kbtn {
  display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.03); border: 1px solid var(--line-2);
  color: var(--muted); font: 400 0.82rem var(--font-body); padding: 0.4rem 0.55rem 0.4rem 0.7rem; border-radius: var(--r); cursor: pointer; min-width: 190px;
}
.kbtn:hover { border-color: var(--line-3); color: var(--text-2); }
.kbtn kbd, kbd { font: 500 0.68rem var(--font-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 3px; padding: 0.08rem 0.3rem; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); padding: 0.4rem 0.7rem; font: inherit; border-radius: var(--r); }
@media (max-width: 1180px) {
  .kbtn { min-width: 0; } .kbtn .lbl, .kbtn kbd { display: none; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; max-height: calc(100vh - 58px); overflow: auto; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links button.dd { padding: 0.75rem 0.5rem; width: 100%; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 0.5rem; min-width: 0; display: none; }
  .menu.open { display: block; }
}

/* ——— Ticker tape ——— */
.tape { border-bottom: 1px solid var(--line); background: rgba(11,14,18,0.7); overflow: hidden; position: relative; font: 400 0.76rem var(--font-mono); }
.tape::before, .tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.tape::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tape::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.tape-track { display: flex; width: max-content; animation: tape 90s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape a { display: inline-flex; gap: 0.5rem; padding: 0.42rem 1.1rem; color: var(--text-2); border-right: 1px solid var(--line); white-space: nowrap; }
.tape a b { color: var(--text); font-weight: 500; }
.tape a:hover { background: rgba(255,255,255,0.03); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ——— Deltas ——— */
.d { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.d.up { color: var(--up); }
.d.down { color: var(--down); }
.d.flat, .na { color: var(--muted); }

/* ——— Buttons / chips ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.88rem var(--font-body); letter-spacing: -0.01em; padding: 0.72rem 1.15rem; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn-sm { padding: 0.42rem 0.75rem; font-size: 0.82rem; }
.btn-primary { background: var(--signal); color: #0a0d05; }
.btn-primary:hover { background: var(--signal-2); color: #0a0d05; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--line-3); color: var(--text); background: rgba(255,255,255,0.05); }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font: 500 0.72rem var(--font-mono); color: var(--text-2); border: 1px solid var(--line-2); padding: 0.2rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
a.chip:hover { border-color: var(--line-3); color: var(--text); }
.chip.on { background: var(--signal-dim); border-color: rgba(198,241,53,0.4); color: var(--signal); }
.tag { font: 500 0.66rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.trend { font: 500 0.7rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; gap: 0.3rem; align-items: center; }
.trend.tightening { color: #ffb36b; }
.trend.easing { color: #7fb3f0; }
.trend.stable { color: var(--muted); }

/* ——— Sections ——— */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section.tight { padding-block: clamp(2rem, 4vw, 3rem); }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font: 500 0.7rem var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.9rem; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.section-head p { color: var(--muted); margin: 0; max-width: 52ch; justify-self: end; }
.section-head .actions { justify-self: end; display: flex; gap: 0.5rem; flex-wrap: wrap; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } .section-head p, .section-head .actions { justify-self: start; } }

.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 22ch; }
.page-hero .lede { color: var(--text-2); font-size: 1.08rem; max-width: 62ch; }
.crumbs { font: 400 0.76rem var(--font-mono); color: var(--faint); margin-bottom: 1.2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ——— Panels ——— */
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-elev)); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem; position: relative; }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.panel-h h3 { margin: 0; }
.panel-h .tag { white-space: nowrap; }
.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g3, .g-main { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4, .g5 { grid-template-columns: 1fr; } }

/* ——— Stat tiles ——— */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--bg-elev); overflow: hidden; }
.stat { padding: 1.2rem 1.3rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font: 600 clamp(1.6rem, 2.6vw, 2.2rem) var(--font-display); letter-spacing: -0.04em; color: var(--text); line-height: 1.1; }
.stat .l { font: 500 0.68rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.35rem; }
.stat .s { font-size: 0.8rem; color: var(--faint); margin-top: 0.2rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid var(--line); } }
.kpi { padding: 1.1rem 1.2rem; }
.kpi .l { font: 500 0.66rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font: 600 1.9rem/1.15 var(--font-display); letter-spacing: -0.04em; margin: 0.35rem 0 0.25rem; }
.kpi .s { font-size: 0.8rem; color: var(--muted); }

/* ——— Hero ——— */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-img { position: absolute; inset: 0; z-index: -2; background: center/cover no-repeat; opacity: 0.22; filter: saturate(0.6) contrast(1.1); }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7,9,12,0.92) 0%, rgba(7,9,12,0.6) 48%, rgba(7,9,12,0.15) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; min-height: min(86vh, 820px); padding-block: 4.5rem 3.5rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.05em; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(92deg, var(--signal), #9fe870 60%, #e2f7a1); -webkit-background-clip: text; background-clip: text; }
.hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 52ch; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(198,241,53,0.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,241,53,0.5); } 70% { box-shadow: 0 0 0 9px rgba(198,241,53,0); } 100% { box-shadow: 0 0 0 0 rgba(198,241,53,0); } }
.readout { background: rgba(11,14,18,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.45); }
.readout-h { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font: 500 0.7rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.readout-h .t { margin-left: auto; color: var(--faint); letter-spacing: 0.02em; text-transform: none; }
.readout-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 0.72rem 1rem; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.88rem; }
.readout-row:hover { background: rgba(255,255,255,0.02); color: var(--text); }
.readout-row .nm { display: flex; align-items: center; gap: 0.55rem; }
.readout-row .nm i { width: 8px; height: 8px; border-radius: 2px; }
.readout-row svg { width: 84px; height: 24px; }
.readout-foot { display: grid; grid-template-columns: 1fr 1fr; }
.readout-foot > div { padding: 0.9rem 1rem; }
.readout-foot > div + div { border-left: 1px solid var(--line); }
.readout-foot .v { font: 600 1.45rem var(--font-display); letter-spacing: -0.03em; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; min-height: 0; } }

/* ——— Entry points ——— */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.entry { background: var(--bg-elev); padding: 1.5rem 1.4rem 1.3rem; color: var(--text); display: flex; flex-direction: column; gap: 0.5rem; min-height: 190px; transition: background 0.25s; position: relative; }
.entry:hover { background: var(--surface); color: var(--text); }
.entry .n { font: 500 0.7rem var(--font-mono); color: var(--faint); }
.entry h3 { margin: 0.4rem 0 0; font-size: 1.25rem; }
.entry p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.entry .go { margin-top: auto; font: 500 0.78rem var(--font-mono); color: var(--signal); display: flex; justify-content: space-between; }
.entry .go span { transition: transform 0.25s var(--ease); }
.entry:hover .go span { transform: translateX(4px); }
@media (max-width: 900px) { .entries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .entries { grid-template-columns: 1fr; } }

/* ——— System cards ——— */
.systems { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.sys { --c: var(--signal); position: relative; display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--text); transition: border-color 0.25s, transform 0.3s var(--ease); }
.sys:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); color: var(--text); transform: translateY(-3px); }
.sys::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--c); }
.sys-art { height: 150px; position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%); overflow: hidden; }
.sys-art svg { width: 100%; height: 100%; color: var(--c); }
.sys-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.sys .idx { font: 500 0.68rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.sys h3 { margin: 0; font-size: 1.15rem; }
.sys p { color: var(--muted); font-size: 0.86rem; margin: 0; }
.sys .meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line); gap: 0.25rem; }
.sys .meta div { font-size: 0.82rem; }
.sys .meta small { display: block; font: 500 0.6rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 1180px) { .systems { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .systems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .systems { grid-template-columns: 1fr; } }
/* art animations */
.art-spin { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.art-spin-r { transform-origin: 50% 50%; animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-scan { animation: scan 4.5s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(-60px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(80px); opacity: 0; } }
.art-flow { stroke-dasharray: 4 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.art-blink { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.art-swing { transform-origin: 70px 120px; animation: swing 5s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }

/* ——— Pressure board ——— */
.board { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-elev); }
.board-row { display: grid; grid-template-columns: 2.2rem minmax(0, 2.2fr) minmax(0, 2fr) 6.5rem 6rem 6rem 92px; gap: 1rem; align-items: center; padding: 0.78rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; transition: background 0.2s; }
.board-row:last-child { border-bottom: 0; }
a.board-row:hover { background: var(--surface); color: var(--text); }
.board-row.head { font: 500 0.64rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding-block: 0.6rem; background: rgba(255,255,255,0.015); }
.board-row .rk { font: 500 0.78rem var(--font-mono); color: var(--faint); }
.board-row .nm { display: flex; flex-direction: column; min-width: 0; }
.board-row .nm b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .nm small { color: var(--faint); font-size: 0.75rem; display: flex; gap: 0.4rem; align-items: center; }
.board-row .nm small i { width: 6px; height: 6px; border-radius: 50%; }
.bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; position: relative; overflow: hidden; }
.bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 3px; transform-origin: left; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.pv { display: flex; align-items: center; gap: 0.7rem; }
.pv .bar { flex: 1; }
.pv b { font: 600 0.9rem var(--font-mono); color: var(--text); width: 1.8rem; text-align: right; }
.board-row svg { width: 92px; height: 26px; }
@media (max-width: 900px) { .board-row { grid-template-columns: 1.6rem minmax(0, 1fr) 5.5rem 4.5rem; } .board-row > :nth-child(5), .board-row > :nth-child(7), .board-row > :nth-child(3) { display: none; } }

.spark { stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.spark-area { stroke: none; opacity: 0.12; }

/* ——— Theme cards (index) ——— */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.3rem; }
.filters .grow { flex: 1; }
.search { background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); font: inherit; padding: 0.55rem 0.8rem; min-width: 240px; }
.search:focus { border-color: var(--signal); outline: none; }
select.search { min-width: 0; padding-right: 2rem; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg button, .seg a { background: none; border: 0; color: var(--muted); font: 500 0.78rem var(--font-body); padding: 0.45rem 0.75rem; cursor: pointer; border-right: 1px solid var(--line); display: inline-flex; align-items: center; gap: 0.35rem; }
.seg > :last-child { border-right: 0; }
.seg .on { background: var(--surface-3); color: var(--text); }
.seg i { width: 7px; height: 7px; border-radius: 50%; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0.75rem; }
.tcard { --c: var(--signal); display: flex; flex-direction: column; gap: 0.6rem; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.15rem; color: var(--text); position: relative; overflow: hidden; transition: border-color 0.2s, background 0.2s; animation: rise 0.6s var(--ease) both; }
.tcard:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); background: var(--surface); color: var(--text); }
.tcard::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c); opacity: 0.85; }
.tcard .top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.tcard h3 { margin: 0; font-size: 1.05rem; }
.tcard p { color: var(--muted); font-size: 0.84rem; margin: 0; flex: 1; }
.tcard .row { display: flex; justify-content: space-between; align-items: end; gap: 0.75rem; font-size: 0.8rem; }
.tcard .row small { display: block; font: 500 0.6rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.tcard svg.sp { width: 96px; height: 28px; }
.gauge { --p: 50; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--gc, var(--signal)) calc(var(--p) * 1%), rgba(255,255,255,0.06) 0); position: relative; }
.gauge::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg-elev); }
.gauge b { position: relative; font: 600 0.85rem var(--font-mono); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.hidden { display: none !important; }

/* ——— Tables ——— */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-elev); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.data th { text-align: left; font: 500 0.64rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; position: sticky; top: 0; background: var(--bg-elev); z-index: 1; }
table.data th.r, table.data td.r { text-align: right; }
table.data th[data-sort] { cursor: pointer; user-select: none; }
table.data th[data-sort]:hover { color: var(--text-2); }
table.data th.sorted { color: var(--signal); }
table.data th.sorted::after { content: " ↓"; }
table.data th.sorted.asc::after { content: " ↑"; }
table.data td { padding: 0.62rem 0.8rem; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
table.data td.num, table.data td.r { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.82rem; }
table.data tbody tr { transition: background 0.15s; }
table.data tbody tr:hover { background: rgba(255,255,255,0.025); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .sym { font: 600 0.84rem var(--font-mono); color: var(--text); }
table.data .sym:hover { color: var(--signal); }
table.data .role { color: var(--muted); font-size: 0.8rem; max-width: 34ch; }
table.data svg.sp { width: 80px; height: 22px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ——— Charts ——— */
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .grid line, [data-chart] .grid line, [data-bars] .grid line { stroke: rgba(255,255,255,0.07); }
.chart .axis text, [data-chart] .axis text, [data-bars] .axis text { fill: var(--muted); font: 400 10.5px var(--font-mono); }
.chart .baseline, [data-chart] .baseline, [data-bars] .baseline { stroke: rgba(255,255,255,0.2); }
.chart .xh, [data-chart] .xh, [data-bars] .xh { stroke: rgba(255,255,255,0.35); stroke-width: 1; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0 0 0.8rem; font-size: 0.8rem; color: var(--text-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; user-select: none; }
.chart-legend span.off { opacity: 0.35; }
.chart-legend i { width: 14px; height: 2px; border-radius: 1px; display: inline-block; }
.chart-legend i.dash { background-image: linear-gradient(90deg, currentColor 50%, transparent 50%) !important; background-size: 5px 2px; }
.tip { position: absolute; pointer-events: none; z-index: 20; background: rgba(13,16,21,0.96); border: 1px solid var(--line-2); border-radius: 5px; padding: 0.55rem 0.7rem; font: 400 0.78rem var(--font-body); color: var(--text-2); box-shadow: 0 12px 30px rgba(0,0,0,0.5); min-width: 150px; opacity: 0; transition: opacity 0.12s; }
.tip.on { opacity: 1; }
.tip .tt { font: 500 0.7rem var(--font-mono); color: var(--muted); margin-bottom: 0.35rem; }
.tip .tr { display: flex; align-items: center; gap: 0.5rem; justify-content: space-between; }
.tip .tr i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 0.35rem; }
.tip .tr b { font: 500 0.78rem var(--font-mono); color: var(--text); }
.range { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.range button { background: none; border: 0; border-right: 1px solid var(--line); color: var(--muted); font: 500 0.72rem var(--font-mono); padding: 0.32rem 0.6rem; cursor: pointer; }
.range button:last-child { border-right: 0; }
.range button.on { background: var(--surface-3); color: var(--text); }

/* ——— Heat map ——— */
.heat { display: grid; gap: 2px; font-size: 0.8rem; min-width: 880px; }
.heat .hrow { display: grid; grid-template-columns: minmax(220px, 1.8fr) repeat(5, minmax(56px, 0.6fr)) 12px repeat(6, minmax(58px, 0.62fr)); gap: 2px; }
.heat .hh { font: 500 0.6rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding: 0.4rem 0.35rem; display: flex; align-items: end; justify-content: center; text-align: center; }
.heat .hh.l { justify-content: flex-start; text-align: left; }
.heat .nm { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.6rem; background: var(--bg-elev); color: var(--text); border-radius: 2px; white-space: nowrap; overflow: hidden; }
.heat .nm i { width: 3px; align-self: stretch; border-radius: 2px; flex: none; }
.heat .nm span { overflow: hidden; text-overflow: ellipsis; }
.heat a.nm:hover { background: var(--surface-2); }
.heat .c { display: grid; place-items: center; border-radius: 2px; font: 500 0.76rem var(--font-mono); color: #f4f6f8; min-height: 34px; cursor: default; position: relative; }
.heat .c:hover { outline: 1px solid rgba(255,255,255,0.6); outline-offset: -1px; z-index: 2; }
.heat .c.dim { color: #0c0f05; }
.heat .gap { background: transparent; }
.legend-scale { display: flex; align-items: center; gap: 0.5rem; font: 400 0.72rem var(--font-mono); color: var(--muted); }
.legend-scale .ramp { width: 160px; height: 8px; border-radius: 2px; }

/* ——— Detail pages ——— */
.detail-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .detail-head { grid-template-columns: 1fr; } }
.chainflow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 1.2rem; }
.chainflow span { font: 500 0.76rem var(--font-mono); padding: 0.4rem 0.65rem; border: 1px solid var(--line-2); border-radius: 3px; color: var(--text-2); background: var(--bg-elev); position: relative; }
.chainflow span.hot { border-color: color-mix(in srgb, var(--c, var(--signal)) 70%, transparent); color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--signal)) 14%, transparent); }
.chainflow b { color: var(--faint); font-weight: 400; }
.dimbars { display: grid; gap: 0.7rem; }
.dimbar { display: grid; grid-template-columns: 11rem 1fr 1.5rem; gap: 0.8rem; align-items: center; font-size: 0.84rem; color: var(--text-2); }
.dimbar .pips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.dimbar .pips i { height: 8px; border-radius: 1px; background: rgba(255,255,255,0.06); }
.dimbar .pips i.on { background: var(--c, var(--signal)); }
.dimbar b { font: 500 0.8rem var(--font-mono); text-align: right; }
.bigpress { display: flex; align-items: center; gap: 1.1rem; }
.bigpress .gauge { width: 92px; height: 92px; }
.bigpress .gauge::before { inset: 7px; }
.bigpress .gauge b { font-size: 1.6rem; font-family: var(--font-display); }
.linklist { display: flex; flex-direction: column; }
.linklist a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.88rem; }
.linklist a:last-child { border-bottom: 0; }
.linklist a:hover { color: var(--text); }
.callout { border-left: 2px solid var(--signal); padding: 0.2rem 0 0.2rem 1rem; color: var(--text-2); }
.callout.warn { border-color: #ffb36b; }

/* ——— Briefs ——— */
.brief { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.3rem; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 6px; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.brief:hover { border-color: var(--line-3); background: var(--surface); color: var(--text); }
.brief .meta { display: flex; gap: 0.6rem; align-items: center; font: 500 0.7rem var(--font-mono); color: var(--muted); flex-wrap: wrap; }
.brief h3 { font-size: 1.2rem; margin: 0; }
.brief p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.brief .fals { font-size: 0.82rem; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 0.7rem; margin-top: auto; }
.brief .fals b { color: #ffb36b; font-weight: 500; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; }
.article { max-width: 70ch; font-size: 1.04rem; color: var(--text-2); }
.article p { margin-bottom: 1.1rem; }

/* ——— Daily report ——— */
.report-hero { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: radial-gradient(100% 120% at 100% 0%, rgba(217,89,38,0.12), transparent 55%), radial-gradient(80% 100% at 0% 100%, rgba(57,135,229,0.10), transparent 60%), var(--bg-elev); }
.report-hero .in { padding: clamp(1.4rem, 3vw, 2.4rem); }
.report-hero h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); max-width: 36ch; }
.report-hero ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.report-hero li { padding-left: 1.3rem; position: relative; color: var(--text-2); }
.report-hero li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--signal); }
.stamp { display: inline-flex; gap: 0.7rem; align-items: center; font: 500 0.7rem var(--font-mono); color: var(--muted); letter-spacing: 0.06em; flex-wrap: wrap; }
.stamp b { color: var(--text); font-weight: 500; }
.subscribe-card { border: 1px solid rgba(198,241,53,0.3); background: linear-gradient(135deg, rgba(198,241,53,0.08), rgba(198,241,53,0.01) 60%), var(--bg-elev); border-radius: 8px; padding: 1.5rem; }
.subscribe-card h3 { font-size: 1.35rem; }
.subscribe-card p { color: var(--text-2); }
.subscribe-card .sub-form input[type=email] { width: 100%; max-width: none; padding: 0.7rem 0.85rem; }
.subscribe-card .sub-form { flex-wrap: wrap; }
.subscribe-card .sub-form input { flex: 1 1 220px; }
.archive a { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.86rem; align-items: baseline; }
.archive a:hover { color: var(--text); }
.archive a.on { color: var(--signal); }
.archive a span:first-child { font-family: var(--font-mono); color: var(--muted); }
.mini-list { display: grid; gap: 0; }
.mini-list > * { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--text-2); }
.mini-list > *:last-child { border-bottom: 0; }
.mini-list a:hover { color: var(--text); }
.mini-list .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .nm b { color: var(--text); font-family: var(--font-mono); font-weight: 500; margin-right: 0.4rem; }

/* ——— Catalysts ——— */
.week { margin-bottom: 2rem; }
.week h3 { font: 500 0.75rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.cat { display: grid; grid-template-columns: 5.5rem 7.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem 1rem; background: var(--bg-elev); border: 1px solid var(--line); border-left: 2px solid var(--c, var(--line)); border-radius: 4px; margin-bottom: 0.4rem; color: var(--text-2); font-size: 0.88rem; }
.cat .dt { font-family: var(--font-mono); color: var(--text); }
.cat .dt small { display: block; color: var(--faint); font-size: 0.72rem; }
.cat .k { font: 500 0.66rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cat .k.earn { color: var(--signal); }
.cat b { color: var(--text); font-weight: 600; }
.cat small.note { display: block; color: var(--faint); }
@media (max-width: 700px) { .cat { grid-template-columns: 4.5rem 1fr; } .cat > :nth-child(2), .cat > :nth-child(4) { display: none; } }

/* ——— System map ——— */
.mapwrap { position: relative; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(100% 80% at 50% 0%, rgba(57,135,229,0.06), transparent 70%), var(--bg-elev); overflow: hidden; }
.mapwrap svg { width: 100%; height: auto; display: block; }
.map-node rect { fill: var(--surface); stroke: var(--line-2); transition: fill 0.2s, stroke 0.2s, opacity 0.2s; }
.map-node text { fill: var(--text); font: 500 11.5px var(--font-body); pointer-events: none; transition: opacity 0.2s; }
.map-node text.p { font: 500 10px var(--font-mono); fill: var(--muted); }
.map-node { cursor: pointer; }
.map-node:hover rect, .map-node.sel rect { fill: var(--surface-3); }
.map-edge { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1.2; transition: stroke 0.2s, opacity 0.2s; }
.map-edge.flow { stroke-dasharray: 3 7; animation: flow 1.4s linear infinite; }
.mapwrap.focus .map-node:not(.hl) { opacity: 0.18; }
.mapwrap.focus .map-edge:not(.hl) { opacity: 0.06; }
.map-edge.hl { stroke: var(--signal); stroke-width: 1.8; opacity: 1; }
.map-col-label { fill: var(--faint); font: 500 10px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.map-side { position: absolute; top: 1rem; right: 1rem; width: min(340px, calc(100% - 2rem)); background: rgba(13,16,21,0.94); border: 1px solid var(--line-2); border-radius: 6px; padding: 1.1rem; backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: translateX(110%); transition: transform 0.35s var(--ease); max-height: calc(100% - 2rem); overflow: auto; }
.map-side.on { transform: none; }
.map-side .x { position: absolute; top: 0.6rem; right: 0.7rem; background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
@media (max-width: 760px) { .map-side { position: static; transform: none; width: auto; margin: 1rem; display: none; } .map-side.on { display: block; } }

/* ——— TMDX ——— */
.tm-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
@media (max-width: 900px) { .tm-hero { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-elev); }
.kpis .kpi { border-right: 1px solid var(--line); }
.kpis .kpi:last-child { border-right: 0; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi { border-bottom: 1px solid var(--line); } }
.usmap { position: relative; }
.usmap svg { width: 100%; height: auto; }
.usmap .state { fill: #141922; stroke: #232a35; stroke-width: 0.7; }
.usmap .route { fill: none; stroke: var(--signal); stroke-opacity: 0.22; }
.usmap .ap { fill: var(--signal); fill-opacity: 0.85; stroke: var(--bg); stroke-width: 1.5; }
.usmap .ap:hover { fill-opacity: 1; stroke: #fff; }
.usmap .plane { fill: #fff; }
.usmap .lbl { fill: var(--text-2); font: 500 9.5px var(--font-mono); pointer-events: none; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
.hm-grid { display: grid; grid-template-columns: 2.6rem repeat(24, minmax(0, 1fr)); gap: 2px; font: 400 0.64rem var(--font-mono); color: var(--faint); }
.hm-grid .c { aspect-ratio: 1.3; border-radius: 2px; }
.hm-grid .c:hover { outline: 1px solid #fff; }
.feed { max-height: 460px; overflow: auto; }
.rev-input { width: 6.5rem; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: 500 0.8rem var(--font-mono); padding: 0.3rem 0.45rem; border-radius: 3px; text-align: right; }
.rev-input:focus { border-color: var(--signal); outline: none; }
.badge { font: 500 0.7rem var(--font-mono); padding: 0.15rem 0.4rem; border-radius: 3px; background: rgba(255,255,255,0.06); color: var(--text-2); }
.badge.good { background: rgba(62,207,142,0.12); color: var(--up); }
.badge.warn { background: rgba(255,179,107,0.12); color: #ffb36b; }
.badge.bad { background: rgba(255,107,90,0.12); color: var(--down); }

/* ——— Command palette ——— */
.cmdk { position: fixed; inset: 0; z-index: 200; background: rgba(3,4,6,0.6); backdrop-filter: blur(4px); display: grid; place-items: start center; padding-top: 12vh; }
.cmdk[hidden] { display: none; }
.cmdk-box { width: min(640px, calc(100% - 2rem)); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 40px 120px rgba(0,0,0,0.7); overflow: hidden; }
.cmdk-box input { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: 400 1.05rem var(--font-body); padding: 1rem 1.15rem; outline: none; }
.cmdk-list { max-height: 50vh; overflow: auto; padding: 0.4rem; }
.cmdk-list a { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.8rem; padding: 0.6rem 0.75rem; border-radius: 5px; color: var(--text-2); align-items: baseline; }
.cmdk-list a.on, .cmdk-list a:hover { background: var(--surface-3); color: var(--text); }
.cmdk-list a small { font: 500 0.62rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.cmdk-list a b { color: var(--text); font-weight: 600; margin-right: 0.5rem; }
.cmdk-list a span { color: var(--muted); font-size: 0.85rem; }
.cmdk-foot { display: flex; gap: 1rem; padding: 0.55rem 1rem; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--faint); }

/* ——— Footer ——— */
.site-foot { border-top: 1px solid var(--line); margin-top: 4rem; background: var(--bg-elev); }
.site-foot .wrap { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.site-foot h4 { font: 500 0.68rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.site-foot a { display: block; color: var(--muted); font-size: 0.88rem; padding: 0.2rem 0; }
.site-foot a:hover { color: var(--text); }
.site-foot p { color: var(--muted); font-size: 0.85rem; max-width: 46ch; }
.foot-base { border-top: 1px solid var(--line); }
.foot-base .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-size: 0.76rem; color: var(--faint); flex-wrap: wrap; grid-template-columns: none; }
@media (max-width: 820px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }

/* ——— Reveal on scroll ——— */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.disclaimer { font-size: 0.78rem; color: var(--faint); max-width: 90ch; }
.empty { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 6px; }
.tcard .row > div { white-space: nowrap; }
#namesTable td:last-child { white-space: nowrap; }

/* ——— 2026-10 additions: daily update, alt data, predictions, stock pages ——— */
.menu-sep { height: 1px; background: var(--line); margin: 0.35rem 0.5rem; }
.info { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-3); font-size: 0.62rem; color: var(--muted); cursor: help; vertical-align: 1px; font-style: normal; }
.tnote { max-width: 340px; color: var(--text-2); font-size: 0.8rem; line-height: 1.45; margin-top: 0.3rem; white-space: normal; }

.topstory { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; padding: 0.9rem 1.1rem; margin-bottom: 1rem;
  border: 1px solid var(--line-2); border-left: 3px solid var(--signal); border-radius: var(--r); background: var(--surface); color: var(--text); }
.topstory b { font-weight: 600; } .topstory .src { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.topstory:hover { border-color: var(--line-3); }
.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.segcard { display: block; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); transition: border-color .2s; }
.segcard:hover { border-color: var(--line-3); }
.segcard-h { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.segcard-h b { font: 600 0.98rem var(--font-display); }
.segcard-m { font-size: 0.8rem; color: var(--muted); margin: 0.25rem 0 0.4rem; }
.segcard ul { margin: 0; padding-left: 1rem; font-size: 0.84rem; color: var(--text-2); line-height: 1.4; }
.segcard li { margin-bottom: 0.35rem; }

.segnav { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-bottom: 1rem; position: sticky; top: 56px; z-index: 5; background: linear-gradient(var(--bg) 80%, transparent); padding-top: 0.5rem; }
.segnav a { font-size: 0.82rem; padding: 0.35rem 0.65rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); background: var(--surface); }
.segnav a span { margin-left: 0.25rem; }
.segblock { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 1rem; scroll-margin-top: 110px; }
.segblock > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.segblock > header h2 { margin: 0.1rem 0 0; font-size: 1.35rem; }
.segblock-k { display: flex; gap: 1.4rem; }
.segblock-k small { display: block; font: 500 0.7rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.segblock-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; padding: 1rem 1.2rem 1.2rem; }
.headlines { list-style: none; margin: 0; padding: 0; }
.headlines li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.15rem; }
.headlines li:last-child { border-bottom: 0; }
.headlines a { color: var(--text); font-weight: 500; line-height: 1.4; }
.headlines a:hover { color: var(--signal); }
.headlines span { font: 400 0.74rem var(--font-mono); color: var(--faint); }
.headlines.small a { font-size: 0.86rem; }

.altmini, .predmini { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.altmini-row, .predmini-row { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 0.8rem; align-items: center; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); color: var(--text); }
.predmini-row { grid-template-columns: 5.6rem 1fr auto; }
.altmini-row:last-child, .predmini-row:last-child { border-bottom: 0; }
.altmini-row:hover, .predmini-row:hover { background: var(--surface-2); }
.altmini .flag { font: 600 0.72rem var(--font-mono); color: var(--signal); border: 1px solid var(--line-2); border-radius: 3px; text-align: center; padding: 0.15rem 0; }
.altmini .nm small, .predmini .nm small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.35; margin-top: 0.1rem; }
.altmini .v { text-align: right; } .altmini .v b { font: 600 1rem var(--font-display); display: block; } .altmini .v small { color: var(--up); font: 500 0.76rem var(--font-mono); }
.predmini .big { font: 600 1.05rem var(--font-display); color: var(--signal); }
.pst { --c: #8b8f98; display: inline-block; font: 500 0.7rem var(--font-mono); letter-spacing: .04em; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent); padding: 0.18rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.legend-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.9rem; }
.chip.on { border-color: var(--signal); color: var(--signal); }

.flows { display: grid; gap: 0.7rem; }
.flow { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0.9rem 1rem; }
.flow-leg { display: grid; grid-template-columns: 1fr minmax(140px, 0.7fr) 1fr; gap: 0.8rem; align-items: center; }
.flow-node b { display: block; font-size: 0.88rem; font-weight: 500; line-height: 1.35; margin-top: 0.15rem; }
.flow-arrow { position: relative; text-align: center; font: 500 0.76rem var(--font-mono); color: var(--signal); padding-bottom: 0.5rem; }
.flow-arrow::after { content: ""; position: absolute; left: 0; right: 8px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--signal)); }
.flow-arrow::before { content: "▶"; position: absolute; right: 0; bottom: -6px; font-size: 9px; color: var(--signal); }
.flow-names { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-top: 0.7rem; font-size: 0.8rem; }

.altgrid, .predgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.alt, .pred { border: 1px solid var(--line); border-top: 2px solid var(--c, var(--signal)); border-radius: var(--r); background: var(--surface); padding: 1.1rem 1.2rem; scroll-margin-top: 90px; display: flex; flex-direction: column; gap: 0.6rem; }
.pred { border-top-color: var(--line-2); }
.alt header, .pred header { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; }
.alt h3 { margin: 0; font-size: 1.05rem; }
.alt > p { margin: 0; font-size: 0.88rem; }
.alt-latest { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r); padding: 0.75rem 0.9rem; }
.alt-latest > div { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.alt-latest small { font: 500 0.7rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; width: 100%; }
.alt-latest b { font: 600 1.45rem var(--font-display); letter-spacing: -0.02em; }
.alt-latest .chg { font: 500 0.85rem var(--font-mono); color: var(--up); }
.alt-latest p { margin: 0.45rem 0 0; font-size: 0.84rem; color: var(--text-2); }
.alt-read { font-size: 0.85rem; color: var(--text-2); }
.alt-read b { color: var(--text); }
.alt-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.4rem; border-top: 1px solid var(--line); }
.alt-names { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.alt-names a { display: inline-flex; gap: 0.35rem; align-items: baseline; font-size: 0.78rem; padding: 0.2rem 0.5rem; border: 1px solid var(--line-2); border-radius: 3px; color: var(--text-2); }
.alt-names a b { font-family: var(--font-mono); color: var(--text); font-weight: 500; }
.pred .who { font-family: var(--font-display); font-size: 1rem; }
.pred-big span { font: 600 2rem/1 var(--font-display); color: var(--signal); letter-spacing: -0.03em; display: block; }
.pred-big small { font: 500 0.74rem var(--font-mono); color: var(--muted); }
.pred-claim { margin: 0; font-weight: 500; }
.pred dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.35rem 0.8rem; font-size: 0.85rem; }
.pred dt { color: var(--muted); font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding-top: 0.15rem; }
.pred dd { margin: 0; color: var(--text-2); }

.status { --c: var(--signal); display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.6rem 0 0.9rem; font-size: 0.9rem; color: var(--text-2); }
.status-pill { font: 600 0.78rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: #0a0d05; background: var(--c); padding: 0.28rem 0.6rem; border-radius: 3px; }
.factgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.factgrid > div { padding: 0.85rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.factgrid > div:nth-child(4n) { border-right: 0; }
.factgrid > div:nth-last-child(-n+4) { border-bottom: 0; }
.factgrid small { display: block; font: 500 0.7rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.factgrid b { display: block; font: 600 1.25rem var(--font-display); margin: 0.15rem 0; }
.factgrid span { font-size: 0.78rem; color: var(--muted); }
.marklegend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.78rem; color: var(--text-2); margin: -0.2rem 0 0.6rem; }
.marklegend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.35rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { --c: var(--signal); display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; transition: background .4s; }
.timeline li:last-child { border-bottom: 0; }
.timeline li.flash { background: color-mix(in srgb, var(--c) 10%, transparent); }
.tl-n { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--c); color: var(--c); display: grid; place-items: center; font: 600 0.72rem var(--font-mono); }
.tl-h { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: baseline; font-size: 0.85rem; }
.tl-h .mono { color: var(--muted); font-size: 0.78rem; }
.tl-sig { font: 500 0.7rem var(--font-mono); color: var(--c); text-transform: uppercase; letter-spacing: .05em; }
.timeline p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--text-2); }

@media (max-width: 1100px) { .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .altgrid, .predgrid { grid-template-columns: 1fr; }
  .segblock-body { grid-template-columns: 1fr; }
  .factgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factgrid > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .factgrid > div:nth-child(2n) { border-right: 0; }
  .factgrid > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .factgrid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .flow-leg { grid-template-columns: 1fr; }
  .flow-arrow { text-align: left; }
}
@media (max-width: 640px) {
  .segs { grid-template-columns: 1fr; }
  .topstory { grid-template-columns: 1fr; gap: 0.3rem; }
  .segnav { position: static; }
  .pred dl { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .search { min-width: 0 !important; width: 100%; }
}

/* ——— Shared small utilities ——— */
.small { font-size: 0.8rem; }
.up { color: var(--up); } .down { color: var(--down); }
em.up, em.down { font-style: normal; font-family: var(--font-mono); font-size: 0.9em; }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-size: 0.88rem; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.35rem; }
[hidden] { display: none !important; }

/* ——— Morning Wrap ——— */
.mast { padding: 2.2rem 0 1.2rem; max-width: 980px; }
.mast-k { font: 500 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 0.8rem 0 0.7rem; }
.mast-k span { color: var(--faint); }
.mast h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; margin: 0; }
.mast-dek { color: var(--text-2); font-size: 1.02rem; margin: 0.7rem 0 0; }
.mast-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; margin-top: 1rem; font-size: 0.8rem; }
.mast-nav a { font-family: var(--font-mono); }

.flowstrip { padding: 0.4rem 0 1.4rem; }
.flow-h { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; margin-bottom: 0.6rem; font-size: 0.85rem; }
.flow-h span { font-size: 0.75rem; }
ol.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.chain-node { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0.55rem 0.5rem 0.5rem; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.chain-node::after { content: "›"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 0.8rem; z-index: 1; }
.chain-node:last-child::after { display: none; }
.chain-node.has { border-color: var(--line-3); background: var(--surface-2); }
.cn-name { font: 500 0.68rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-mv { font: 600 0.95rem var(--font-mono); }
.cn-bar { height: 4px; background: var(--surface-3); border-radius: 2px; position: relative; overflow: hidden; }
.cn-bar i { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(max(var(--m), calc(var(--m) * -1)) * 50%); background: var(--up); }
.chain-node[style*="--m:-"] .cn-bar i { left: auto; right: 50%; background: var(--down); }
.cn-best { font: 0.68rem var(--font-mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-st { display: flex; gap: 3px; margin-top: 0.15rem; }
.cn-st a { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); color: #0a0d05; font: 700 0.7rem var(--font-mono); }
ol.chain.mini { margin-top: 0.9rem; }
ol.chain.mini .chain-node { padding: 0.4rem 0.45rem; }
ol.chain.mini .cn-mv { font-size: 0.8rem; }

.wrap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; padding-bottom: 2rem; }
.wrap-main { min-width: 0; max-width: 820px; }
.wrap-side { display: grid; gap: 1rem; position: sticky; top: 76px; }
.tape { border-left: 2px solid var(--signal); padding: 0.2rem 0 0.2rem 1.1rem; margin-bottom: 2rem; }
.tape p { margin: 0 0 0.75rem; color: var(--text-2); line-height: 1.6; font-size: 0.97rem; }
.tape b { color: var(--text); }
.wrap-h { font-size: 1.15rem; margin: 2rem 0 0.9rem; letter-spacing: -0.02em; }
.bridge { display: flex; gap: 0.6rem; align-items: baseline; color: var(--muted); font-size: 0.85rem; padding: 0.55rem 0 0.55rem 0.9rem; font-style: italic; }
.bridge span { font-style: normal; color: var(--signal); font-weight: 700; }
.story { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--line-3); border-radius: 6px; padding: 1.1rem 1.2rem 0.9rem; scroll-margin-top: 90px; }
.story.tone-pos { border-left-color: var(--up); } .story.tone-neg { border-left-color: var(--down); }
.story.flash { outline: 1px solid var(--signal); }
.story header { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-bottom: 0.55rem; }
.st-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: #0a0d05; font: 700 0.78rem var(--font-mono); }
.st-stage { font: 500 0.68rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.st-lead { font: 600 0.66rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #0a0d05; background: var(--signal-2); padding: 0.12rem 0.4rem; border-radius: 3px; }
.story h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 0.35rem; }
.story h3 a { color: var(--text); }
.story h3 a:hover { color: var(--signal); }
.st-tk { font-family: var(--font-mono); margin-right: 0.35rem; white-space: nowrap; }
.st-meta { font-size: 0.78rem; color: var(--faint); margin-bottom: 0.7rem; }
.st-flag { font-size: 0.82rem; color: #f2b84b; background: rgba(242, 184, 75, 0.08); border: 1px solid rgba(242, 184, 75, 0.25); border-radius: 4px; padding: 0.45rem 0.6rem; margin: 0 0 0.7rem; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.2rem; }
.st-grid h4 { font: 500 0.66rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0.6rem 0 0.35rem; }
.st-grid h4:first-child { margin-top: 0; }
.st-grid p { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.55; }
.rt { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; margin-bottom: 0.4rem; font-size: 0.78rem; }
.rt-k { font: 500 0.64rem var(--font-mono); text-transform: uppercase; color: var(--faint); width: 74px; flex: none; }
.rt a { background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px; padding: 0.15rem 0.4rem; color: var(--text-2); }
.rt a b { font-family: var(--font-mono); font-weight: 500; }
.story footer { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; border-top: 1px solid var(--line); margin-top: 0.8rem; padding-top: 0.6rem; font-size: 0.8rem; }
ul.quick { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
ul.quick li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; line-height: 1.45; }
.q-st { display: inline-block; min-width: 9.5rem; font: 500 0.64rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.q-tk { font-family: var(--font-mono); margin-right: 0.4rem; color: var(--text); }
ul.quick li > a:last-of-type { color: var(--text-2); }
.datadrop { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.6rem; }
.dd-card { display: flex; flex-direction: column; gap: 0.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.8rem; color: var(--text-2); font-size: 0.8rem; }
.dd-card small { font: 500 0.64rem var(--font-mono); text-transform: uppercase; color: var(--faint); }
.dd-card b { color: var(--text); font-size: 0.88rem; }
.dd-card .v { font: 600 1rem var(--font-mono); color: var(--signal); }
.dd-card .v em { font-style: normal; color: var(--text-2); font-size: 0.8rem; }
.dd-card.due { border-style: dashed; }

/* Home: top 5 */
ol.top5 { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
ol.top5 li a { display: grid; grid-template-columns: 30px 11rem 8.5rem minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.75rem 0.2rem; border-bottom: 1px solid var(--line); color: var(--text); }
ol.top5 li a:hover { background: var(--surface); }
.t5-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: #0a0d05; font: 700 0.76rem var(--font-mono); }
.t5-st { font: 500 0.66rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.t5-tk { font-family: var(--font-mono); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5-t { font-size: 0.93rem; line-height: 1.35; }
.t5-src { font-size: 0.72rem; white-space: nowrap; }
.promo { display: flex; flex-direction: column; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem; color: var(--text); transition: border-color 0.2s; }
.promo:hover { border-color: var(--signal); color: var(--text); }
.promo h3 { margin: 0; font-size: 1.15rem; }
.promo-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.promo-row small { display: block; font: 500 0.62rem var(--font-mono); text-transform: uppercase; color: var(--faint); }
.promo-row b { font: 600 1.15rem var(--font-mono); }

/* Singularity Index */
.sx-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.2rem; }
.sx-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.2rem; }
.sx-stats small { font: 500 0.62rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.sx-stats b { font: 600 1.35rem var(--font-mono); }
.sx-stats span { font-size: 0.74rem; }
.sx-h { font: 600 0.7rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; margin: 0.8rem 0 0.4rem; }
.sx-h.in { color: var(--up); } .sx-h.out { color: var(--down); }
ul.sx-chg { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.84rem; color: var(--text-2); max-height: 420px; overflow: auto; }
ul.sx-chg b { font-family: var(--font-mono); color: var(--text); margin-right: 0.3rem; }
ol.sx-rules { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.55rem; font-size: 0.88rem; color: var(--text-2); line-height: 1.5; }
ol.sx-rules b { color: var(--text); }
.sx-log { padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }

/* GPU */
.gpumini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.gpumini a { display: flex; flex-direction: column; gap: 0.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.9rem; color: var(--text); font-size: 0.75rem; }
.gpumini small { font: 500 0.64rem var(--font-mono); text-transform: uppercase; color: var(--muted); }
.gpumini b { font: 600 1.4rem var(--font-mono); }
.gpumini b span { font-size: 0.75rem; color: var(--faint); font-weight: 400; }

/* Alt data: TMDX banner, filter, charts */
.tmtop { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.2rem; }
.tmtop-note { margin: 0 0 0.9rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; }
.tmtop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.4rem; align-items: center; }
.tmtop-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 0.6rem; }
.tmtop-stats small { display: block; font: 500 0.6rem var(--font-mono); text-transform: uppercase; color: var(--faint); }
.tmtop-stats b { display: block; font: 600 1.2rem var(--font-mono); }
.tmtop-stats span { font-size: 0.74rem; color: var(--muted); }
.altfilter { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: end; padding: 0.4rem 0 0.6rem; position: sticky; top: 64px; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.altfilter label, .xform label { display: flex; flex-direction: column; gap: 0.3rem; font: 500 0.66rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.altfilter select, .xform select, .xform input, .xform textarea { font: 0.9rem var(--font-body); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 0.5rem 0.6rem; min-width: 230px; text-transform: none; letter-spacing: 0; }
.altfilter select:focus, .xform select:focus, .xform input:focus, .xform textarea:focus { outline: none; border-color: var(--signal); }
.alt-chart { margin: 0.7rem 0 0.2rem; }
.alt-src { margin: 0 0 0.6rem; }

/* Exchange form */
.xform { display: grid; gap: 0.9rem; }
.xform input, .xform select, .xform textarea { min-width: 0; width: 100%; box-sizing: border-box; }
.xrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.xside { border: 0; padding: 0; margin: 0; display: flex; gap: 0.6rem; flex-wrap: nowrap; align-items: center; }
.xside legend { font: 500 0.66rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 0.35rem; }
.xside label { flex-direction: row; align-items: center; gap: 0.4rem; white-space: nowrap; min-width: 6.5rem; justify-content: center; font: 600 0.9rem var(--font-body); text-transform: none; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 0.5rem 0.8rem; cursor: pointer; }
.xside label:has(input:checked) { border-color: var(--signal); }
.xfoot { display: flex; align-items: center; gap: 1rem; }
.xform .status.ok { color: var(--up); } .xform .status.err { color: var(--down); }
.hp { position: absolute; left: -9999px; }

@media (max-width: 1100px) {
  ol.chain { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wrap-grid { grid-template-columns: minmax(0, 1fr); }
  .wrap-side { position: static; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .sx-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  ol.chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain-node::after { display: none; }
  .st-grid, .tmtop-grid, .xrow { grid-template-columns: minmax(0, 1fr); }
  ol.top5 li a { grid-template-columns: 26px minmax(0, 1fr); }
  .t5-st, .t5-src { display: none; }
  .t5-tk { grid-column: 2; }
  .t5-t { grid-column: 2; }
  .sx-stats, .gpumini, .tmtop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-st { display: block; min-width: 0; }
  .altfilter { position: static; }
  .altfilter select { min-width: 0; width: 100%; }
  .altfilter label { flex: 1 1 100%; }
}

/* ——— Today in AI Infrastructure (reading layout) ——— */
.read { max-width: 720px; margin: 0 auto; padding: 2rem var(--gutter) 3rem; }
.read-k { font: 500 0.72rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin: 0.9rem 0 0.7rem; }
.read h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.read-lede { font-size: 1.13rem; line-height: 1.65; color: var(--text); margin: 0 0 2rem; }
.read-story { border-top: 1px solid var(--line); padding: 1.5rem 0 0.5rem; scroll-margin-top: 90px; }
.rs-k { display: flex; align-items: center; gap: 0.45rem; font: 500 0.68rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rs-k > span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); color: #0a0d05; font-weight: 700; letter-spacing: 0; }
.rs-k a { color: var(--text-2); text-transform: none; letter-spacing: 0; }
.read-story h2 { font-size: 1.3rem; line-height: 1.3; margin: 0.5rem 0 0.6rem; letter-spacing: -0.02em; }
.read-story p, .read-block p, .read-block li { font-size: 1.02rem; line-height: 1.7; color: var(--text-2); margin: 0 0 0.8rem; }
.rs-take { color: var(--text) !important; background: var(--signal-dim); border-left: 2px solid var(--signal); padding: 0.6rem 0.8rem; border-radius: 0 4px 4px 0; }
.rs-take b { color: var(--signal); }
.rs-src { font-size: 0.8rem !important; color: var(--faint) !important; }
.rs-src a { color: var(--muted); }
.read-block { border-top: 1px solid var(--line); padding: 1.6rem 0 0.4rem; }
.read-block h2 { font-size: 1.15rem; margin: 0 0 0.8rem; }
.read-block b { color: var(--text); }
.read-block ul { padding-left: 1.1rem; margin: 0; }
.read-sub { margin: 1.6rem 0; }
.read-nav { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; margin: 1rem 0; }
.read-arch { margin: 1rem 0; font-size: 0.88rem; color: var(--text-2); }
.read-arch summary { cursor: pointer; color: var(--muted); }
.read-arch ul { padding-left: 1rem; max-height: 320px; overflow: auto; }
.read-arch li { margin: 0.3rem 0; }
.today-card { max-width: 860px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem 1.7rem; }
.today-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; margin: 0.5rem 0 0.7rem; }
.today-card h2 a { color: var(--text); }
.today-lede { font-size: 1.05rem; line-height: 1.6; color: var(--text-2); margin: 0 0 1rem; }
ol.today-list { margin: 0 0 1.2rem; padding-left: 1.2rem; display: grid; gap: 0.6rem; }
ol.today-list a { display: flex; flex-direction: column; gap: 0.15rem; color: var(--text); }
ol.today-list span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* ——— Buildout ——— */
.read-insights { display: grid; gap: 0.9rem; }
.ins { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: 6px; padding: 0.9rem 1.1rem; }
.ins h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.ins p { margin: 0; color: var(--text-2); line-height: 1.6; font-size: 0.93rem; }
.stagebar { display: flex; height: 16px; border-radius: 4px; overflow: hidden; gap: 2px; }
i.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.4rem; }
.tilemap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px; max-width: 880px; }
.tile { aspect-ratio: 1.15; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 4px;
  background: color-mix(in srgb, var(--signal) calc(var(--h) * 85%), var(--surface-2)); color: var(--text); border: 1px solid var(--line); min-width: 0; }
.tile b { font: 600 0.78rem var(--font-mono); }
.tile span { font: 0.66rem var(--font-mono); opacity: 0.85; }
.tile:hover { outline: 1px solid var(--signal); color: var(--text); }
.tile[style*="--h:0."] b, .tile[style*="--h:0;"] b { color: var(--text); }

/* ——— Contact bubble ——— */
.cbub { position: fixed; right: 18px; bottom: 18px; z-index: 60; font-family: var(--font-body); }
.cbub-btn { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--signal); color: #0a0d05; border: 0; border-radius: 999px;
  padding: 0.65rem 1rem; font: 600 0.88rem var(--font-body); cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.cbub-btn svg { width: 16px; height: 16px; }
.cbub-pop { position: absolute; right: 0; bottom: 54px; width: 220px; max-width: calc(100vw - 24px); box-sizing: border-box; background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 0.9rem; box-shadow: 0 12px 36px rgba(0,0,0,0.5); display: grid; gap: 0.5rem; }
.cbub-pop b { font-size: 0.95rem; }
.cbub-pop p { margin: 0 0 0.2rem; font-size: 0.8rem; color: var(--muted); }
.cbub-pop a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.65rem; border-radius: 6px; background: var(--surface); color: var(--text); font-size: 0.86rem; border: 1px solid var(--line); }
.cbub-pop a:hover { border-color: var(--signal); color: var(--text); }
.cbub-pop svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 720px) { .cbub { right: 12px; bottom: 12px; } .cbub-btn span { display: none; } .tilemap { gap: 2px; } .tile span { display: none; } }

/* ——— DC Buildout map + model ——— */
.bm-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
.bm-main { background: radial-gradient(ellipse at 50% 40%, rgba(198,241,53,0.06), transparent 60%), var(--bg-elev); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem; }
.bm-controls { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; margin-bottom: 0.5rem; }
.bm-map { position: relative; }
.bm-map svg { width: 100%; height: auto; display: block; }
.bm-state { stroke: none; cursor: pointer; transition: opacity 0.2s; }
.bm-state:hover { opacity: 0.85; }
.bm-state.sel { stroke: #eef0f3; stroke-width: 1.6px; }
.bm-borders { fill: none; stroke: #07090c; stroke-width: 0.8px; stroke-linejoin: round; pointer-events: none; }
.bm-market { fill: rgba(90,169,255,0.35); stroke: #5aa9ff; stroke-width: 1.2px; cursor: pointer; }
.bm-pulse { fill: none; stroke: #5aa9ff; stroke-width: 1px; opacity: 0; transform-box: fill-box; transform-origin: center; animation: bmPulse 3.2s ease-out infinite; pointer-events: none; }
@keyframes bmPulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.bm-label { font: 600 10.5px var(--font-body); fill: #eef0f3; paint-order: stroke; stroke: #07090c; stroke-width: 3px; pointer-events: none; }
.bm-county { fill: rgba(242,184,75,0.45); stroke: #f2b84b; stroke-width: 0.7px; cursor: pointer; }
.bm-tip { position: absolute; z-index: 5; pointer-events: none; background: rgba(11,14,18,0.96); border: 1px solid var(--line-2); border-radius: 6px; padding: 0.55rem 0.7rem; font-size: 0.78rem; color: var(--text-2); min-width: 190px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.bm-tip b { display: block; color: var(--text); font-size: 0.86rem; margin-bottom: 0.2rem; }
.bm-tip em { font-style: normal; font-family: var(--font-mono); color: var(--signal); }
.bm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; }
.bm-grad { display: inline-block; width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #141a22, #6f8a2a, #c6f135); }
.bm-detail h3 { margin: 0.2rem 0 0.7rem; font-size: 1.25rem; }
.bm-stagebar { display: flex; height: 10px; border-radius: 3px; overflow: hidden; gap: 2px; margin-bottom: 0.8rem; }
.bm-kv { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.38rem 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.bm-kv span { color: var(--muted); } .bm-kv b { font-family: var(--font-mono); font-weight: 500; text-align: right; }
.bm-sub { font-size: 0.8rem; color: var(--text-2); margin-top: 0.6rem; line-height: 1.5; }
.bm-sliders label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem; font-size: 0.84rem; color: var(--text-2); margin-bottom: 0.9rem; }
.bm-sliders label b { font-family: var(--font-mono); color: var(--signal); }
.bm-sliders input[type=range] { width: 100%; accent-color: #c6f135; }
.bm-out { font-size: 0.98rem; line-height: 1.6; color: var(--text-2); margin: 0.6rem 0 0; }
.bm-out b { color: var(--text); }
.bm-mlegend { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }
.bm-mlegend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.35rem; vertical-align: -1px; }
#mChart .axis text { fill: var(--faint); font: 10px var(--font-mono); }
.bm-barlab { fill: var(--text-2); font: 10.5px var(--font-mono); }
@media (max-width: 1000px) { .bm-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .bm-label { display: none; } }

/* ——— AI Infrastructure Daily (digest) ——— */
.dg .read-lede { margin-bottom: 1.2rem; }
.dg-toc { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.4rem; }
.dg-toc a { font: 500 0.72rem var(--font-mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.22rem 0.6rem; }
.dg-toc a:hover { border-color: var(--signal); color: var(--text); }
.dg-sec { border-top: 1px solid var(--line); padding: 1.3rem 0 0.6rem; scroll-margin-top: 90px; }
.dg-sec h2 { font-size: 1.12rem; margin: 0 0 0.55rem; display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; letter-spacing: -0.01em; }
.dg-sec h2 .d { font-size: 0.8rem; }
.dg-sub { font: 500 0.7rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 0.5rem; }
.dg-sub small { text-transform: none; letter-spacing: 0; color: var(--faint); margin-left: 0.4rem; }
.dg-read { font-size: 0.98rem; line-height: 1.65; color: var(--text); margin: 0 0 0.7rem; }
.dg-hl { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.65rem; }
.dg-hl li { line-height: 1.5; }
.dg-seg { display: block; font: 500 0.64rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.1rem; }
.dg-items { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; }
.dg-items li { font-size: 0.97rem; line-height: 1.55; color: var(--text-2); }
a.dg-t { color: var(--text); text-decoration: none; }
a.dg-t:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
.dg-tk { display: inline-flex; gap: 0.3rem; align-items: baseline; margin-left: 0.45rem; font: 500 0.72rem var(--font-mono); color: var(--muted); white-space: nowrap; }
.dg-note { color: var(--muted); }
.dg-mk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem 1.2rem; margin-top: 0.6rem; }
.dg-mk h3 { font: 500 0.66rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.3rem; }
.dg-row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.28rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--text-2); }
.dg-row > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-row small { color: var(--faint); font-family: var(--font-mono); }
.dg-row b { font: 500 0.82rem var(--font-mono); color: var(--text); }
.dg-row .d { min-width: 3.6rem; text-align: right; font-size: 0.8rem; }
.dg-board .dg-row > span:first-child { flex: 0 0 46%; }
.dg-bar { flex: 1; height: 6px; background: var(--surface); border-radius: 3px; overflow: hidden; }
.dg-bar em { display: block; height: 100%; }
.dg-bar em.up { background: var(--up); } .dg-bar em.down { background: var(--down); }
.dg-cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--text-2); }
.dg-cal li { display: flex; gap: 0.6rem; align-items: baseline; }
.dg-cal em { font: normal 500 0.64rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); min-width: 5.8rem; }
.dg-hold p, .dg-hold li { font-size: 0.98rem; line-height: 1.65; color: var(--text-2); }
.dg-hold b { color: var(--text); }
@media (max-width: 720px) { .dg-mk { grid-template-columns: 1fr; } .dg-board .dg-row > span:first-child { flex-basis: 52%; } }

/* ——— Blog ——— */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.blog-card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; color: var(--text); transition: border-color 0.2s; }
.blog-card:hover { border-color: var(--signal); color: var(--text); }
.blog-card h2 { font-size: 1.1rem; line-height: 1.35; margin: 0; }
.blog-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font: 0.72rem var(--font-mono); color: var(--faint); }
.blog-more { margin-top: auto; color: var(--signal); font-size: 0.85rem; }
.blog-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1.1rem; margin: 0 0 1.5rem; }
.blog-toc b { font: 500 0.7rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.blog-toc ol { margin: 0.5rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.25rem; font-size: 0.9rem; }
.blog-item { border-top: 1px solid var(--line); padding: 1.3rem 0 0.4rem; scroll-margin-top: 90px; }
.blog-item h2 { display: flex; gap: 0.6rem; align-items: baseline; font-size: 1.2rem; line-height: 1.35; margin: 0 0 0.5rem; }
.blog-item h2 span { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: #0a0d05; font: 700 0.8rem var(--font-mono); }
.blog-item p, .blog-post .read-head p { font-size: 1.02rem; line-height: 1.7; color: var(--text-2); }
.blog-link { font-size: 0.88rem; }
.blog-outro { font-size: 1.05rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1rem; }
.blog-faq details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.blog-faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.blog-faq details p { margin: 0.5rem 0 0; }
.blog-rel { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.dg-new { font: 500 0.6rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #0a0d05; background: var(--signal); padding: 0.12rem 0.4rem; border-radius: 2px; }
