*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

:root {
  --bg: #07090E; --fg: #F4F3EF; --body: rgba(244, 243, 239, 0.84); --muted: rgba(244, 243, 239, 0.54); --subtle: rgba(244, 243, 239, 0.30);
  --hair: rgba(244, 243, 239, 0.11); --card: rgba(244, 243, 239, 0.035); --card-hover: rgba(244, 243, 239, 0.06);
  --accent: rgb(94, 178, 228);
  --vvh: 100dvh; --vvt: 0px; --safe-bot: max(8px, env(safe-area-inset-bottom));
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
}
html[data-surface="light"] {
  --bg: #FAF7F0; --fg: #121316; --body: rgba(18, 19, 22, 0.84); --muted: rgba(18, 19, 22, 0.58); --subtle: rgba(18, 19, 22, 0.34);
  --hair: rgba(18, 19, 22, 0.11); --card: rgba(18, 19, 22, 0.03); --card-hover: rgba(18, 19, 22, 0.055);
  --accent: rgb(14, 104, 156);
}

html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none;
  background: var(--bg); color: var(--fg); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; }
button:focus-visible, a:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
a { color: inherit; }

#weave { position: fixed; top: var(--vvt, 0px); left: 0; width: 100%; height: var(--vvh, 100dvh); display: block; z-index: 1; pointer-events: none; }
#flow { position: fixed; top: var(--vvt, 0px); left: 0; width: 100%; height: var(--vvh, 100dvh); display: block; z-index: 2; pointer-events: none; }

/* Horizon Dawn & Dusk: smooth GPU radial/horizon reveal without polygon strips */
html.turning, html.turning body { background: var(--ground, var(--bg)); }
html.turning .chrome-top, html.turning .chrome-bottom { background: none; }
::view-transition { pointer-events: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* ── Dynamic-viewport shell: keeps bottom rail above iOS Safari Liquid Glass bar ── */
.app-shell {
  position: fixed; top: var(--vvt, 0px); left: 0; right: 0; height: var(--vvh, 100dvh);
  max-width: 680px; margin: 0 auto; z-index: 5;
  display: flex; flex-direction: column; overflow: hidden;
}
.app-shell[data-booted="false"] .world,
.app-shell[data-booted="false"] .chrome-bottom,
.app-shell[data-booted="false"] .top-date {
  opacity: 0; pointer-events: none;
}
.app-shell .top-date { transition: opacity 280ms ease; }

/* ── Chrome ── */
.chrome-top {
  flex: none; position: relative; z-index: 10;
  padding: max(8px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 6px max(20px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, var(--bg) 72%, transparent);
}
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; }
.top-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-right { display: flex; align-items: center; gap: 8px; flex: none; }
.sub-link {
  min-height: 40px; padding: 0 4px; display: inline-flex; align-items: center;
  font: 540 12.5px/1 var(--sans); letter-spacing: -0.01em; color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 4px;
  transition: color 180ms ease;
}
.sub-link:hover { color: var(--fg); }
.back-btn { min-width: 44px; min-height: 42px; margin-left: -12px; margin-right: -14px; display: inline-flex; align-items: center; justify-content: center; align-self: center; font: 500 20px/1 var(--sans); color: var(--muted); }
.back-btn:hover { color: var(--fg); }
.wordmark { display: inline-flex; align-items: center; height: 42px; color: var(--fg); text-decoration: none; flex: none; }
.wordmark .wm-img { display: block; height: 30px; width: auto; transform: translateY(3px); }
.wordmark .wm-light { display: none; }
html[data-surface="light"] .wordmark .wm-dark { display: none; }
html[data-surface="light"] .wordmark .wm-light { display: block; }
.brand-desk {
  display: inline-flex; align-items: center; gap: 8px;
  font: 560 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-top: 2px;
}
.brand-desk::before { content: ''; width: 1px; height: 14px; background: var(--hair); flex: none; }
.brand-desk:empty { display: none; }
.top-date { display: none; }

/* Astronomical Moon & Helios Sun switcher with sliding silk horizon bar */
.sky-pair { position: relative; display: inline-flex; align-items: center; gap: 2px; flex: none; margin-right: -6px; }
.sky-btn {
  width: 38px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); position: relative; transition: color 220ms ease, transform 140ms ease;
}
.sky-btn:hover { color: var(--fg); }
.sky-btn:active { transform: scale(0.88); }
.sky-btn svg { width: 18.5px; height: 18.5px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

/* Crescent Moon + Celestial Twinkle */
.sky-moon .moon-body {
  transform-origin: 12px 12px;
  transform: rotate(-18deg) scale(0.88);
  fill: rgba(190, 214, 255, 0);
  transition: transform 540ms cubic-bezier(0.34, 1.56, 0.64, 1), fill 320ms ease, stroke 240ms ease;
}
.sky-moon .moon-star {
  stroke: none; fill: currentColor; opacity: 0;
  transform-origin: 16.8px 5.6px;
  transform: scale(0) rotate(-40deg);
  transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 260ms ease;
}
.sky-moon .moon-star.s2 { transform-origin: 20.2px 8.5px; transition-delay: 80ms; }
.sky-moon[data-on="true"] { color: #F4F3EF; }
.sky-moon[data-on="true"] .moon-body {
  transform: rotate(0deg) scale(1);
  fill: rgba(186, 212, 255, 0.18);
}
.sky-moon[data-on="true"] .moon-star.s1 {
  opacity: 0.95; fill: #DCEAFF;
  transform: scale(1) rotate(0deg);
  transition-delay: 90ms;
  animation: skyTwinkle 4.4s ease-in-out 0.7s infinite;
}
.sky-moon[data-on="true"] .moon-star.s2 {
  opacity: 0.72; fill: #DCEAFF;
  transform: scale(1) rotate(0deg);
  transition-delay: 165ms;
}
@keyframes skyTwinkle {
  0%, 100% { opacity: 0.95; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.48; transform: scale(0.82) rotate(12deg); }
}

/* Helios Sun + Radial Ray Spin & Unfurl */
.sky-sun .sun-core {
  transform-origin: 12px 12px;
  transform: scale(0.84);
  fill: rgba(224, 154, 34, 0);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), fill 320ms ease, stroke 240ms ease;
}
.sky-sun .sun-rays {
  transform-origin: 12px 12px;
  transform: rotate(-36deg) scale(0.76);
  opacity: 0.68;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 280ms ease;
}
.sky-sun:hover .sun-rays { opacity: 0.92; transform: rotate(-12deg) scale(0.92); }
.sky-sun[data-on="true"] { color: #9E5812; }
.sky-sun[data-on="true"] .sun-core {
  transform: scale(1);
  fill: rgba(226, 156, 36, 0.24);
}
.sky-sun[data-on="true"] .sun-rays {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

/* Sliding Silk Horizon Sightline underneath active Moon / Sun */
.sky-horizon {
  position: absolute; bottom: 3px; left: 12px; width: 14px; height: 1.5px; pointer-events: none;
  background: #DCEAFF;
  transform: translate3d(0, 0, 0);
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1), background-color 280ms ease;
}
html[data-surface="light"] .sky-horizon {
  background: #9E5812;
  transform: translate3d(40px, 0, 0);
}

.chrome-bottom {
  flex: none; position: relative; z-index: 10;
  padding: 10px max(20px, env(safe-area-inset-right)) var(--safe-bot) max(20px, env(safe-area-inset-left));
  background: linear-gradient(to top, var(--bg) 86%, transparent);
}
.footer-current {
  position: absolute; top: 0; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right));
  width: calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right)));
  height: 12px; pointer-events: none; display: block;
  opacity: 0.44;
}
html[data-surface="light"] .footer-current { opacity: 0.62; }
.footer-current .fc-a { animation: footerWaveDrift 16s ease-in-out infinite alternate; }
.footer-current .fc-b { animation: footerWaveDrift 21s ease-in-out infinite alternate-reverse; }
@keyframes footerWaveDrift {
  0% { transform: translateX(-2%); }
  100% { transform: translateX(2%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-current .fc-a, .footer-current .fc-b { animation: none; }
}
/* Foot navigation rail (Days on Level 0, Channels on Level 1, Topics on News Stand / Field Notes) */
.bottom-rail {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x pan-y;
}
.bottom-rail::-webkit-scrollbar { display: none; }
.bottom-rail[data-single-day="true"],
.bottom-rail[data-compact="true"] { justify-content: flex-start; gap: 18px; }
.rail-btn {
  min-height: 40px; min-width: 38px; flex: none; display: inline-flex; align-items: center;
  font: 550 13px/1.1 var(--sans); letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: color 160ms ease;
}
.rail-btn[data-on="true"] { color: var(--fg); font-weight: 620; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.rail-btn[data-quiet="true"] { opacity: 0.55; }
.rail-btn small { font: 460 11.5px/1 var(--sans); color: var(--muted); margin-left: 5px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bot) + 88px); z-index: 20; transform: translate(-50%, 8px); padding: 0; font: 560 13.5px/1 var(--sans); color: var(--fg); opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; text-shadow: 0 0 12px var(--bg), 0 0 12px var(--bg), 0 0 4px var(--bg); }
.toast[data-on="true"] { opacity: 1; transform: translate(-50%, 0); }

/* ── The world: three planes, one camera ── */
.world { flex: 1; min-height: 0; position: relative; z-index: 5; touch-action: none; }
.world[data-level="0"] { touch-action: pan-y; }
.plane {
  position: absolute; inset: 0; transform-origin: 0 0; will-change: transform, opacity;
  padding: 2px max(20px, env(safe-area-inset-right)) 4px max(20px, env(safe-area-inset-left));
  display: flex; flex-direction: column; min-height: 0;
}
.plane[data-live="false"] { pointer-events: none; }
.plane.lobby {
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  touch-action: pan-y; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 32px;
}
.plane.lobby::-webkit-scrollbar { display: none; }

/* Level 0 Front-Page ("The News Stand IS Sightline"): Hero Brief -> Category-Matched Story Currents -> Inline News Stand */
.lobby-lead { margin: 0; font: 480 13.5px/1.4 var(--sans); letter-spacing: -0.01em; color: var(--muted); padding: 0 0 4px; max-width: 30em; flex: none; }
.lobby-list { display: flex; flex-direction: column; flex: 0 0 auto; padding: 0 0 32px; gap: 4px; }

/* Top Hero Brief (#briefRow) */
.brief-stage {
  flex: none; display: flex; align-items: stretch; width: 100%;
  padding: 0 0 3px; border-bottom: 1px solid var(--hair);
}
.brief-hero {
  width: 100%; display: flex; flex-direction: column; gap: 3px; text-align: left;
  padding: 2px 0 5px; color: var(--fg); cursor: pointer;
  transition: transform 130ms ease, opacity 180ms ease;
}
.brief-hero:active { transform: scale(0.994); }
.brief-hero:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.brief-hero[data-quiet="true"] { opacity: 0.56; }
.brief-eyebrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
}
.brief-kicker {
  font: 640 10.5px/1.1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brief-main { display: flex; align-items: center; width: 100%; }
.brief-title-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.brief-silk-lane { position: relative; width: 100%; height: 28px; flex: none; display: block; overflow: visible; }
.lane-canvas { pointer-events: none; display: block; }
.brief-lane-canvas { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 60px; }
.brief-rail {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 2px; font: 550 11px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums;
}
.brief-rail-start { flex: none; }
.brief-rail-ticks {
  flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  overflow: hidden; justify-content: center;
}
.brief-tick {
  display: inline-flex; align-items: center; gap: 3px;
  font: 580 10px/1 var(--mono); letter-spacing: 0.03em; color: var(--subtle);
  padding: 2px 4px; border-radius: 3px; border-bottom: 1.5px solid rgba(var(--tick-rgb, 140, 150, 165), 0.45);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.brief-tick[data-active="true"] {
  color: var(--fg); background: var(--card); border-bottom-color: rgb(var(--tick-rgb, 94, 178, 228));
}
.brief-rail .ch-fig { font-size: 11.5px; color: var(--muted); flex: none; }
.brief-rail-cue {
  flex: none; font: 620 10px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent);
  transition: opacity 180ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.brief-hero:hover .brief-rail-cue { transform: translateX(2px); }
.brief-hero[data-domain="true"] .ch-h1 {
  display: block; white-space: normal; font-weight: 665;
  font-size: clamp(22px, min(6.1vw, 3.2dvh), 28px); line-height: 1.15; letter-spacing: -0.033em; text-wrap: balance;
}
.brief-hero[data-domain="true"] .ch-check { display: inline-block; margin-left: 6px; vertical-align: baseline; }

/* Today's Issue: Flush Numbered Editorial Stories + Category-Matched Currents + Thumbnails */
.issue-section { display: flex; flex-direction: column; gap: 2px; padding-top: 0; }
.issue-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font: 640 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  padding: 0;
}
.issue-count { color: var(--subtle); font-weight: 560; }

.story-stack {
  display: flex; flex-direction: column; gap: 1px; padding: 0;
}
.story-row {
  position: relative; overflow: visible;
  width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) 72px; align-items: start; gap: 10px;
  text-align: left; padding: 5px 0 15px; color: var(--fg);
  border-bottom: 0;
  transition: opacity 160ms ease, transform 140ms ease, background-color 160ms ease;
}
.story-lane-canvas {
  position: absolute; left: 0; right: 0; bottom: -7px; width: 100%; height: 32px;
}
.quiet-lane-canvas {
  width: 100%; height: 10px; margin-top: -2px;
}
.story-row:last-child { border-bottom: 0; }
.story-row:hover { transform: translate3d(2px, 0, 0); }
.story-row:active { transform: scale(0.994); }
.story-idx {
  font: 650 12px/1.3 var(--mono); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.story-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.story-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; width: 100%; }
.story-tag { font: 680 10.5px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; flex: none; }
.story-src {
  font: 500 10.5px/1.1 var(--mono); color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.story-h2 {
  font-weight: 640; font-size: clamp(15.5px, min(4.2vw, 2.2dvh), 18px); line-height: 1.24; letter-spacing: -0.022em;
  color: var(--fg); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-deck {
  font: 440 12.8px/1.38 var(--sans); color: var(--muted); letter-spacing: -0.006em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty;
}
.story-thumb,
.inline-stand-thumb {
  position: relative; width: 72px; height: 54px; border-radius: 4px; overflow: hidden; flex: none;
  border: 1px solid var(--hair);
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, var(--hair) 11px 12px),
    radial-gradient(circle at 80% 24%, rgba(var(--st-rgb, 94, 178, 228), 0.22), transparent 68%),
    var(--card);
  margin-top: 2px;
}
.inline-stand-thumb { width: 56px; height: 42px; margin-top: 0; align-self: center; }
.story-thumb-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.thumb-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.story-thumb .story-dur {
  position: absolute; right: 4px; bottom: 4px; z-index: 2;
  padding: 2px 5px; border-radius: 2px;
  background: rgba(7, 9, 14, 0.82); color: #F4F3EF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: 600 9.5px/1 var(--mono); font-variant-numeric: tabular-nums;
}
html[data-surface="light"] .story-thumb .story-dur { background: rgba(250, 247, 240, 0.88); color: #121316; border-color: rgba(16, 19, 25, 0.14); }
.story-thumb[data-has-photo="true"] .story-dur,
html[data-surface="light"] .story-thumb[data-has-photo="true"] .story-dur {
  background: rgba(7, 9, 14, 0.84); color: #F4F3EF; border-color: rgba(255, 255, 255, 0.18);
}
.story-thumb .ch-check {
  position: absolute; top: 3px; right: 4px; z-index: 2;
  font: 700 10px/1 var(--sans); opacity: 0;
}
.story-row[data-resolved="true"] .story-thumb .ch-check,
.story-row[data-resolved="true"] .ch-check { opacity: 1; }
.story-row[data-dial="true"] { transform: translate3d(3px, 0, 0); }
.story-row[data-dial="true"] .story-h2 { color: #FFFFFF; }
html[data-surface="light"] .story-row[data-dial="true"] .story-h2 { color: #000000; }
html[data-surface="light"] .story-h2,
html[data-surface="light"] .story-tag,
html[data-surface="light"] .story-dur,
html[data-surface="light"] .brief-hero .ch-h1,
html[data-surface="light"] .brief-hero .ch-sub,
html[data-surface="light"] .brief-kicker,
html[data-surface="light"] .brief-hero .ch-fig,
html[data-surface="light"] .brief-rail,
html[data-surface="light"] .quiet-receipt {
  text-shadow: 0 0 10px var(--bg), 0 0 5px var(--bg), 0 0 2px var(--bg);
}

@media (max-width: 410px) {
  .story-row { grid-template-columns: 20px minmax(0, 1fr) 64px; gap: 8px; }
  .story-thumb { width: 64px; height: 48px; }
}

.ch-row {
  padding: clamp(5px, 0.85dvh, 9px) 0 clamp(10px, 1.55dvh, 14px);
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--fg);
}
.ch-row[data-quiet="true"] { opacity: 0.46; }
.ch-h1 {
  font-weight: 640; font-size: clamp(27px, min(8.5vw, 4.35dvh), 44px);
  line-height: 1.02; letter-spacing: -0.038em; display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; flex: none;
}
.ch-row.brief-row .ch-h1 {
  font-weight: 670; font-size: clamp(30px, min(9.0vw, 4.75dvh), 48px);
  letter-spacing: -0.04em;
}
.brief-hero .ch-h1 {
  font-weight: 670; font-size: clamp(25px, min(7.4vw, 3.85dvh), 34px);
  line-height: 1.05; letter-spacing: -0.036em;
}
.field-notes-row .ch-h1,
.news-row .ch-h1 {
  font-weight: 620; font-size: 14px; line-height: 1.2;
  letter-spacing: -0.015em;
}
.ch-check { font: 600 13px/1 var(--sans); opacity: 0; transition: opacity 180ms ease; }
.ch-row[data-resolved="true"] .ch-check,
.brief-hero[data-resolved="true"] .ch-check { opacity: 1; }
.ch-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; min-width: 0; flex: 1; }
.ch-fig { font: 600 14.5px/1.1 var(--mono); letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.ch-sub { font: 460 12.5px/1.25 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Lower Zone: Quiet Channels Receipt */
.lobby-foot { flex: none; display: flex; flex-direction: column; gap: 2px; padding-top: 0; }
.quiet-receipt {
  margin: 0; padding: 0 0 2px; font: 480 11.5px/1.3 var(--sans); letter-spacing: -0.005em;
  color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.quiet-receipt .quiet-ch-name { font-weight: 560; }
.quiet-receipt .quiet-prefix,
.quiet-receipt .quiet-sep { color: var(--subtle); }
.inline-stand-list .hl-row.has-thumb { grid-template-columns: 26px 1fr 56px auto; align-items: center; }

/* 3. Inline News Stand & Field Notes on Level 0 */
.inline-stand {
  margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 6px;
}
.inline-stand-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.inline-stand-h2 {
  margin: 0; font-weight: 660; font-size: clamp(18px, 4.6vw, 21px); line-height: 1.15; letter-spacing: -0.028em; color: var(--fg);
}
.inline-refresh-btn {
  width: 34px; height: 34px; margin: 0 0 2px auto; flex: none; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 4px; color: var(--muted);
  transition: color 200ms ease, background-color 180ms ease, border-color 220ms ease, transform 140ms ease, box-shadow 260ms ease;
}
.inline-refresh-btn:hover { color: var(--fg); background: var(--card); }
.inline-refresh-btn:active { transform: scale(0.88); }
.inline-refresh-btn svg {
  width: 17.5px; height: 17.5px; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.inline-refresh-btn .rf-spark {
  stroke: none; fill: currentColor; opacity: 0.55;
  transition: opacity 200ms ease, fill 200ms ease, transform 220ms ease;
}
.inline-refresh-btn[data-spinning="true"] { color: var(--fg); }
.inline-refresh-btn[data-spinning="true"] svg { animation: rfOrbitSpin 820ms linear infinite; }
.inline-refresh-btn[data-spinning="true"] .rf-spark { opacity: 1; animation: rfSparkPulse 760ms ease-in-out infinite; }
.inline-refresh-btn[data-done="true"] {
  color: rgb(112, 188, 154);
  border-color: rgba(112, 188, 154, 0.42);
  box-shadow: 0 0 0 2px rgba(112, 188, 154, 0.14);
}
html[data-surface="light"] .inline-refresh-btn[data-done="true"] {
  color: rgb(18, 114, 86);
  border-color: rgba(18, 114, 86, 0.36);
  box-shadow: 0 0 0 2px rgba(18, 114, 86, 0.11);
}
.inline-refresh-btn[data-done="true"] .rf-spark { opacity: 1; }
@keyframes rfOrbitSpin { to { transform: rotate(360deg); } }
@keyframes rfSparkPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Monochrome Market Ribbon on CDO Desk */
.inline-market-ribbon {
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
  scrollbar-width: none; touch-action: pan-x pan-y; overscroll-behavior-y: auto; padding: 2px 0 4px;
}
.inline-market-ribbon::-webkit-scrollbar { display: none; }
.mkt-chip {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 8px; border: 1px solid var(--hair); border-radius: 4px; background: var(--card);
  font: 540 11px/1.1 var(--mono); font-variant-numeric: tabular-nums; color: var(--body);
}
.mkt-sym { font-weight: 660; color: var(--fg); letter-spacing: 0.02em; }
.mkt-px { color: var(--muted); }
.mkt-chg { color: var(--fg); font-weight: 580; }
.mkt-chg[data-dir="down"] { color: var(--muted); }

/* Inline Filter Tabs & Topic Strip */
.inline-stand-controls { display: flex; flex-direction: column; gap: 8px; touch-action: pan-x pan-y; }
.inline-stand-tab-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--hair); touch-action: pan-x pan-y;
}
.inline-stand-tabs {
  display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none; touch-action: pan-x pan-y;
}
.inline-stand-tabs::-webkit-scrollbar { display: none; }
.inline-tab {
  position: relative; flex: none; padding: 7px 0 9px;
  font: 580 13px/1.1 var(--sans); letter-spacing: -0.012em; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.inline-tab:hover { color: var(--fg); }
.inline-tab[data-on="true"] { color: var(--fg); font-weight: 640; border-bottom-color: var(--accent); }
.inline-tab small { margin-left: 5px; font: 500 11px/1 var(--mono); color: var(--subtle); }
.inline-topic-bar {
  display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; touch-action: pan-x pan-y;
  padding-bottom: 2px;
}
.inline-topic-bar::-webkit-scrollbar { display: none; }
.inline-topic-btn {
  flex: none; padding: 5px 9px; border: 1px solid var(--hair); border-radius: 4px; background: transparent;
  font: 550 11.5px/1 var(--sans); color: var(--muted); white-space: nowrap;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.inline-topic-btn:hover { color: var(--fg); border-color: var(--subtle); }
.inline-topic-btn[data-on="true"] { background: var(--card-hover); color: var(--fg); border-color: var(--accent); }
.inline-topic-btn small { margin-left: 4px; font: 500 10.5px/1 var(--mono); color: var(--subtle); }

.inline-stand-body { display: flex; flex-direction: column; gap: 10px; }
.inline-stand-list { list-style: none; margin: 0; padding: 0; }
.inline-stand-group-head {
  padding: 10px 0 6px; border-bottom: 1px solid var(--hair);
  display: flex; align-items: baseline; justify-content: space-between;
  font: 620 10.5px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.inline-stand-list .fn-item { padding: 12px 0 13px; }
.inline-stand-list .fn-cdo-lead { padding: 10px 0; }
.inline-stand-list .fn-cdo-note .fn-headline { margin: 0 0 5px; font: 620 14.5px/1.28 var(--sans); letter-spacing: -0.015em; color: var(--fg); }
.inline-stand-list .fn-limit { margin: 0 0 6px; font-size: 11.5px; color: var(--muted); }
.inline-stand-rack {
  padding-top: 2px; padding-bottom: 10px; margin-bottom: 2px;
  scroll-snap-type: none; touch-action: pan-x pan-y; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
}

@media (min-width: 960px) {
  .app-shell { max-width: 720px; }
  .plane.lobby { padding-bottom: 44px; }
  .story-row { grid-template-columns: 24px minmax(0, 1fr) 80px; gap: 14px; padding: 12px 0 14px; }
  .story-thumb { width: 80px; height: 58px; }
}

/* Level 1: the channel / Today's brief. The podcast is first and stays; everything under it scrolls. */
.pod { flex: none; position: relative; }
.voice-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.jump-word { min-height: 44px; display: inline-flex; align-items: flex-end; gap: 0.34em; padding-bottom: 6px; font-weight: 640; font-size: 22px; line-height: 1; letter-spacing: -0.03em; color: var(--accent); transition: color 220ms ease, transform 120ms ease; }
.jump-word svg { width: 0.72em; height: 0.92em; margin-bottom: 0.02em; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.jump-word:active { transform: scale(0.98); }
.jump-word:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.hold-word { min-height: 44px; display: inline-flex; align-items: flex-end; gap: 0.42em; padding-bottom: 7px; font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: -0.02em; color: var(--accent); transition: color 220ms ease, transform 120ms ease; }
.hold-word svg { width: 0.68em; height: 0.8em; margin-bottom: 0.04em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hold-word .g-play { display: none; }
.hold-word[data-paused="true"] .g-play { display: inline; }
.hold-word[data-paused="true"] .g-pause { display: none; }
.hold-word:active { transform: scale(0.97); }
.hold-word:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.voice-band {
  min-height: 44px; height: calc(44px + var(--pull-h, 0px));
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer; touch-action: none;
}
/* Part 3.1: Unboxed Receipt Pull Aperture centered inside parted silk threads */
.receipt-aperture {
  position: absolute; left: 0; right: 0; top: 44px; height: calc(44px + var(--pull-h, 0px));
  display: flex; flex-direction: column; justify-content: center;
  padding: 6px 8px; text-align: left; z-index: 3;
  opacity: var(--pull-ink, 0); transform: translate3d(0, var(--pull-shift, 0px), 0);
  pointer-events: auto; -webkit-user-select: text; user-select: text;
}
.receipt-quote {
  margin: 0; font: 470 13px/1.38 var(--sans); letter-spacing: -0.008em; color: var(--body);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.receipt-quote[data-synthesis="true"] { color: var(--muted); font-style: italic; }
.receipt-cite {
  background: none; color: var(--fg); font-weight: 610;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.receipt-meta {
  margin: 5px 0 0; font: 520 11px/1.2 var(--mono); color: var(--muted);
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.receipt-meta > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.receipt-src-link {
  flex: none; white-space: nowrap;
  color: var(--accent); text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 3px;
}
.receipt-src-link:hover { color: var(--fg); }
.under-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; margin-top: -2px; }
.pull-cue {
  flex: none; min-height: 36px; margin: -6px 0; padding: 0 2px;
  display: inline-flex; align-items: center;
  font: 500 11.5px/1 var(--sans); letter-spacing: -0.005em; color: var(--muted);
  white-space: nowrap; cursor: pointer;
  transition: color 180ms ease, opacity 220ms ease;
}
.pull-cue:hover, .pull-cue[aria-expanded="true"] { color: var(--fg); }
.pull-cue:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.pull-cue[data-hidden="true"] { opacity: 0; pointer-events: none; }
.now { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; }
.now b { font: 620 13px/1 var(--sans); letter-spacing: -0.01em; color: var(--fg); }
.now span { font: 500 12px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.quiet-link { min-height: 44px; margin: -6px 0; display: inline-flex; align-items: center; font: 520 13px/1 var(--sans); letter-spacing: -0.01em; color: var(--muted); text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 4px; }
.quiet-link:hover { color: var(--fg); }

.room-scroll { flex: 1; min-height: 0; margin-top: 10px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; touch-action: pan-y; -webkit-user-select: text; user-select: text;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 22px), transparent); }
.room-scroll::-webkit-scrollbar { display: none; }
.kicker-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.kicker { font: 600 12.5px/1.2 var(--sans); letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kicker-tools { display: inline-flex; align-items: center; gap: 1px; flex: none; margin-right: 0; }
.stepper { display: inline-flex; align-items: center; gap: 1px; font: 540 12px/1 var(--mono); color: var(--muted); -webkit-user-select: none; user-select: none; flex: none; }
.stepper button {
  min-width: 30px; min-height: 36px; margin: -6px 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg); transition: color 180ms ease, transform 120ms ease, opacity 180ms ease;
}
.stepper button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.stepper button:hover:not(:disabled) { color: var(--accent); }
.stepper button:active:not(:disabled) { transform: scale(0.88); color: var(--accent); }
.stepper button:disabled { opacity: 0.24; cursor: default; }

/* 1-Tap Copy & Share Icon Buttons */
.copy-icon-btn {
  width: 32px; height: 36px; margin: -6px 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); transition: color 180ms ease, transform 130ms ease;
}
.copy-icon-btn:hover { color: var(--fg); }
.copy-icon-btn:active { transform: scale(0.88); }
.copy-icon-btn svg { width: 15.5px; height: 15.5px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.copy-icon-btn .ic-copied { display: none; stroke-width: 2; }
.copy-icon-btn[data-copied="true"] { color: var(--accent); }
.copy-icon-btn[data-copied="true"] .ic-copy { display: none; }
.copy-icon-btn[data-copied="true"] .ic-copied { display: inline; }

.takeaway-h1 { margin: 5px 0 6px; font-weight: 650; font-size: clamp(20px, 5.3vw, 25px); line-height: 1.17; letter-spacing: -0.03em; text-wrap: pretty; position: relative; }
.takeaway-meta { margin: 0; font: 460 12.5px/1.45 var(--sans); color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.takeaway-src-link {
  color: var(--fg); font-weight: 580; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--subtle); transition: color 150ms ease, text-decoration-color 150ms ease;
}
.takeaway-src-link:hover { color: var(--accent); text-decoration-color: currentColor; }
/* Part 3.4: Longitudinal Ghost Thread inline unboxed toggle + Word-level FLIP morph */
.ghost-thread-btn {
  margin-top: 5px; padding: 3px 0; min-height: 28px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 520 11.5px/1.25 var(--mono); letter-spacing: -0.01em; color: var(--muted);
  transition: color 180ms ease;
}
.ghost-thread-btn:hover { color: var(--fg); }
.ghost-thread-btn[data-prior="true"] { color: var(--accent); }
.ghost-thread-btn svg { width: 13px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; }
.morph-stage { position: relative; display: block; overflow: visible; }
.morph-w { position: absolute; left: 0; top: 0; white-space: pre; will-change: transform, opacity, filter; pointer-events: none; }
.morph-w[data-born="true"] { color: var(--accent); }

/* Uncollapsed 3-Part Executive Brief (Summary, Implications, What to do) + Collapsed Transcript */
.parts { margin-top: 6px; }
.brief-sec { padding: 11px 0 12px; }
.brief-sec[data-sec="action"] { transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1); }
.brief-sec[data-sec="action"][data-flicked="true"] { transform: translate3d(0, -5px, 0); }
.sec-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.sec-head-right { display: inline-flex; align-items: baseline; gap: 10px; }
.flick-9am-btn {
  padding: 2px 0; font: 570 11.5px/1.2 var(--mono); letter-spacing: -0.01em; color: var(--accent);
  text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 3px;
  transition: color 160ms ease, transform 130ms ease;
}
.flick-9am-btn:hover { color: var(--fg); }
.flick-9am-btn:active { transform: translateY(-2px); }
.sec-label { margin: 0 0 5px; font: 660 11.5px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.sec-head-row .sec-label { margin-bottom: 0; }
.sec-tag { font: 540 11.5px/1.2 var(--mono); color: var(--muted); }
.brief .act-lead { font-weight: 560; font-size: 14.5px; line-height: 1.44; color: var(--fg); }
.brief .worth-label { font-weight: 630; color: var(--accent); margin-right: 4px; }
.builder-note-sec { padding: 11px 0 13px; }
.sec-label.builder-note-label { color: var(--muted); }
.brief .builder-note-body {
  margin: 2px 0 0; padding: 7px 0 7px 11px; border-left: 2px solid var(--accent);
  font: 480 14px/1.44 var(--sans); color: var(--fg);
}
.brief .caveat-line { margin: 7px 0 0; font: 450 13px/1.4 var(--sans); color: var(--muted); }
.brief .caveat-line span { font-weight: 600; color: var(--body); }
.forward-inline {
  margin-top: 9px; padding: 8px 11px; border-left: 2px solid var(--accent);
  background: rgba(244, 243, 239, 0.03); font: 460 13.5px/1.42 var(--sans); color: var(--body);
}
html[data-surface="light"] .forward-inline { background: rgba(18, 19, 22, 0.035); }
.forward-inline b { font-weight: 620; font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }
.part-h { margin: 0; }
.part-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 14px; width: 100%; min-height: 44px; padding: 13px 0 12px; text-align: left; }
.part-name { font: 650 16px/1.25 var(--sans); letter-spacing: -0.02em; color: var(--fg); }
.part-note { font: 460 12.5px/1.3 var(--sans); color: var(--muted); text-align: right; }
.part-note.fig { font: 600 13px/1.25 var(--mono); letter-spacing: -0.02em; color: var(--fg); }
.part-gist { flex-basis: 100%; margin-top: 5px; font: 520 15px/1.36 var(--sans); letter-spacing: -0.012em; color: var(--fg); text-wrap: pretty; }
.part-gist.quiet { margin-top: 3px; font: 460 13px/1.36 var(--sans); letter-spacing: -0.005em; color: var(--muted); }
.part-head:focus-visible { outline: none; }
.part-head:focus-visible .part-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.part-body { overflow: hidden; height: 0; }
.part[data-open="true"] > .part-body { height: auto; }
.part-in { padding: 0 0 15px; -webkit-mask-image: linear-gradient(to right, #000 calc(var(--ink, 1) * 150% - 50%), transparent calc(var(--ink, 1) * 150%)); mask-image: linear-gradient(to right, #000 calc(var(--ink, 1) * 150% - 50%), transparent calc(var(--ink, 1) * 150%)); }
.brief p { margin: 0 0 8px; font: 460 14.5px/1.48 var(--sans); letter-spacing: -0.008em; color: var(--body); }
.brief p:last-child { margin-bottom: 0; }
.brief p em { font-style: normal; font-weight: 560; color: var(--fg); }
.brief .note { color: var(--fg); }
.brief .sub { margin: 14px 0 4px; font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.sec { margin: 26px 0 7px; font: 650 16px/1.25 var(--sans); letter-spacing: -0.02em; color: var(--fg); }
.acts { display: flex; align-items: center; gap: 18px; -webkit-user-select: none; user-select: none; }
.act { min-height: 44px; display: inline-flex; align-items: center; font: 560 13.5px/1 var(--sans); color: var(--accent); }
.acts.quiet .act { font: 480 13px/1 var(--sans); color: var(--muted); text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 3px; }
.brief p.source { margin: 7px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.src-link { display: inline; padding: 4px 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--subtle); text-underline-offset: 3px; }
.brief .turn { display: block; width: 100%; margin: 0; padding: 6px 0; font: 460 14px/1.42 var(--sans); letter-spacing: -0.008em; color: var(--body); -webkit-user-select: text; user-select: text; }
.turn b { font: 560 12.5px/1 var(--sans); color: var(--muted); margin-right: 6px; }
.turn time { font: 480 12px/1 var(--mono); color: var(--subtle); margin-left: 6px; white-space: nowrap; }
.turn[data-now="true"] { color: var(--fg); }
.turn[data-now="true"] b { color: var(--fg); }
.turn[data-you="true"] b { color: var(--fg); }
.brief .chapter { margin: 14px 0 3px; font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.brief .chapter.brief-resumed { margin: 10px 0 2px; font: 540 11px/1.2 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--subtle); }
.turn[data-cut="true"] .em-cut { color: var(--accent); font-weight: 650; }
.brief .chapter:first-child { margin-top: 0; }
.brief .fine { margin: 10px 0 0; font: 450 12.5px/1.36 var(--sans); color: var(--muted); }
.room-end { height: 28px; }

/* Level 2: inside the voice current + Thinking Current state */
.talk-word { min-height: 44px; display: inline-flex; align-items: flex-end; padding-bottom: 5px; font-weight: 640; font-size: 28px; line-height: 1; letter-spacing: -0.035em; color: var(--fg); transition: opacity 240ms ease; }
.talk-word[data-thinking="true"] { animation: talk-breathe 1.8s ease-in-out infinite; }
@keyframes talk-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
.talk-gap { flex: none; height: 32%; min-height: 128px; }
.talk-held { font: 500 12px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.talk-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding-top: 12px; touch-action: pan-y; }
.talk-body::-webkit-scrollbar { display: none; }

.think-status { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.think-bars { display: inline-flex; align-items: center; gap: 3px; height: 14px; flex: none; }
.think-bars i { display: block; width: 2px; height: 12px; background: var(--accent); border-radius: 1px; transform-origin: center; animation: silk-pulse 1.05s ease-in-out infinite; }
.think-bars i:nth-child(2) { animation-delay: 0.14s; }
.think-bars i:nth-child(3) { animation-delay: 0.28s; }
.think-bars i:nth-child(4) { animation-delay: 0.42s; }
@keyframes silk-pulse { 0%, 100% { transform: scaleY(0.28); opacity: 0.42; } 50% { transform: scaleY(1); opacity: 1; } }
.think-label { font: 540 13.5px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--accent); }

.barge-cut-line {
  margin: 0 0 9px; font: 460 13.5px/1.38 var(--sans); letter-spacing: -0.008em; color: var(--muted);
  -webkit-user-select: text; user-select: text;
}
.barge-cut-line b { font: 600 12px/1 var(--sans); color: var(--accent); margin-right: 6px; }
.barge-cut-line .em-cut { color: var(--fg); font-weight: 650; }
.you-line { margin: 0; font: 600 17px/1.28 var(--sans); letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; -webkit-user-select: text; user-select: text; }
.you-line:empty, .you-note:empty { display: none; }
.you-note { display: block; margin-top: 5px; font: 450 12.5px/1.34 var(--sans); color: var(--muted); }
.ask-btn { min-height: 44px; display: block; margin-top: 8px; padding: 6px 0; text-align: left; font: 500 13px/1.38 var(--sans); color: var(--muted); }
.ask-btn b { font-weight: 600; color: var(--accent); margin-right: 5px; white-space: nowrap; }
.talk-reply .turn { font-size: 15px; line-height: 1.44; }

/* ── Reimagined News Stand: The Morning Rack & Live Broadsheet Wire ── */
.news-row .ch-h1 { white-space: nowrap; }
.stand-top { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 42px; }
.stand-h1 { margin: 0; padding-bottom: 4px; font-weight: 650; font-size: 28px; line-height: 1; letter-spacing: -0.036em; color: var(--fg); }
.stand-sub { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 3px 0 12px; font: 460 12px/1.3 var(--sans); color: var(--muted); }
.stand-sub time { font: 500 11.5px/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stand-rule { flex: none; height: 14px; }
.stand-scroll {
  flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; touch-action: pan-y; -webkit-user-select: text; user-select: text;
  padding-bottom: 24px;
}
.stand-scroll::-webkit-scrollbar { display: none; }

/* Horizontal Snap Rack ("On the Rack") */
.stand-rack {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; touch-action: pan-x pan-y; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px 0; margin-bottom: 6px;
}
.inline-stand .stand-rack,
.stand-rack.inline-stand-rack {
  scroll-snap-type: none; touch-action: pan-x pan-y; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
}
.stand-rack::-webkit-scrollbar { display: none; }
.rack-card {
  flex: 0 0 min(78%, 276px); scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--hair); border-radius: 3px; overflow: hidden;
  text-decoration: none; color: inherit; transition: border-color 180ms ease, background-color 180ms ease, transform 160ms ease;
  touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none;
}
.rack-card:active { transform: scale(0.988); }
.rack-card:hover { background: var(--card-hover); border-color: var(--subtle); }
.rack-media {
  position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
  background: linear-gradient(135deg, rgba(94, 178, 228, 0.12), rgba(218, 160, 74, 0.09));
  border-bottom: 1px solid var(--hair);
  touch-action: pan-x pan-y;
}
html[data-surface="light"] .rack-media { background: linear-gradient(135deg, rgba(14, 104, 156, 0.09), rgba(146, 88, 12, 0.08)); }
.rack-media img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 320ms ease;
  pointer-events: none; -webkit-user-drag: none; user-select: none;
}
.rack-card:hover .rack-media img { transform: scale(1.03); }
.rack-plate {
  position: absolute; inset: 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, var(--hair) 19px 20px),
    radial-gradient(circle at 85% 20%, rgba(94, 178, 228, 0.16), transparent 60%);
}
.rack-plate-outlet { font: 650 18px/1.05 var(--sans); letter-spacing: -0.03em; color: var(--fg); opacity: 0.88; max-width: 90%; }
.rack-stamp {
  position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 6px;
  background: rgba(7, 9, 14, 0.76); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 243, 239, 0.16); border-radius: 2px;
  font: 600 9.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #F4F3EF;
}
html[data-surface="light"] .rack-stamp { background: rgba(250, 247, 240, 0.86); border-color: rgba(18, 19, 22, 0.15); color: #121316; }
.rack-media-link { display: block; text-decoration: none; color: inherit; }
.rack-body { padding: 11px 12px 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; flex: 1; }
.rack-title {
  margin: 0; font: 630 15px/1.26 var(--sans); letter-spacing: -0.018em; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty;
}
.rack-title-link { color: inherit; text-decoration: none; }
.rack-title-link:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--subtle); }
.rack-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 500 11.5px/1.2 var(--sans); color: var(--muted); }
.rack-meta .rack-pub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rack-pub-link { color: var(--body); font-weight: 580; text-decoration: none; }
.rack-pub-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.rack-disc-link { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--subtle); }
.rack-disc-link:hover { color: var(--fg); text-decoration-color: currentColor; }
.rack-meta time { font: 500 11px/1 var(--mono); color: var(--subtle); flex: none; }

/* Numbered Broadsheet Wire Index */
.stand-wire-head {
  display: flex; align-items: baseline; justify-content: space-between; padding: 6px 0 8px;
  border-bottom: 1px solid var(--hair); font: 600 10.5px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.stand-list { list-style: none; margin: 0; padding: 0; }
.hl { border-bottom: 1px solid var(--hair); transition: opacity 220ms ease, transform 220ms ease; }
.hl-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 8px; padding: 12px 0 11px; }
.hl-idx { font: 560 11.5px/1 var(--mono); color: var(--subtle); font-variant-numeric: tabular-nums; }
.hl-main { min-width: 0; }
.hl-kicker { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 7px; margin: 0 0 4px; font: 540 11.5px/1.2 var(--sans); color: var(--muted); }
.hl-kicker b { font-weight: 600; color: var(--body); }
.hl-kicker time { font: 480 11px/1 var(--mono); color: var(--subtle); }
.hl-disc-link { color: var(--muted); font-weight: 540; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--subtle); }
.hl-disc-link:hover { color: var(--fg); text-decoration-color: currentColor; }
.hl-h { margin: 0; }
.hl-title {
  display: block; width: 100%; text-align: left; font: 610 15.5px/1.28 var(--sans);
  letter-spacing: -0.018em; color: var(--fg); text-wrap: pretty; -webkit-user-select: text; user-select: text;
}
.hl-ext {
  min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: flex-end;
  font: 500 14px/1 var(--sans); color: var(--subtle); text-decoration: none; align-self: center;
}
.hl-ext:hover { color: var(--fg); }
.hl-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.hl[data-open="true"] .hl-drawer { grid-template-rows: 1fr; }
.hl-drawer-in { overflow: hidden; padding-left: 34px; }
.hl-drawer-pad { padding: 0 0 13px; }
.hl-drawer-pad p { margin: 0 0 8px; font: 460 13.8px/1.46 var(--sans); color: var(--body); }
.hl-drawer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.hl-go { display: inline-flex; align-items: center; gap: 8px; font: 580 13px/1 var(--sans); color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--subtle); min-height: 34px; }
.hl-go-disc { color: var(--muted); font-weight: 520; }
.hl-go-disc:hover { color: var(--fg); }
.stand-foot { margin: 14px 0 12px; font: 450 12px/1.38 var(--sans); color: var(--muted); }

/* ── Field Notes: Direct from builders (verbatim excerpts, zero chrome) ── */
.field-notes-row .ch-h1 { white-space: nowrap; }
.fn-item { padding: 14px 0 15px; border-bottom: 1px solid var(--hair); }
.fn-item:first-child { padding-top: 6px; }
.fn-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fn-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.fn-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--hair); filter: grayscale(0.32) contrast(1.04);
  transition: filter 220ms ease, border-color 220ms ease;
}
.fn-item:hover .fn-avatar { filter: grayscale(0) contrast(1.02); border-color: var(--fn-hue, var(--subtle)); }
.fn-who-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; }
.fn-author { font: 640 13.5px/1.2 var(--sans); letter-spacing: -0.015em; color: var(--fg); }
.fn-role { font: 460 12px/1.2 var(--sans); color: var(--muted); }
.fn-when { font: 480 11px/1 var(--mono); color: var(--subtle); white-space: nowrap; flex: none; }
.fn-quote {
  margin: 0 0 8px; padding-left: 11px; border-left: 2px solid var(--fn-hue, var(--subtle));
  font: 500 15px/1.44 var(--sans); letter-spacing: -0.014em; color: var(--fg); text-wrap: pretty;
  -webkit-user-select: text; user-select: text;
}
.fn-why { margin: 0 0 9px; font: 460 13px/1.42 var(--sans); color: var(--body); }
.fn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fn-topic { font: 640 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fn-hue, var(--muted)); }
.fn-go {
  display: inline-flex; align-items: center; gap: 4px; min-height: 30px;
  font: 560 12.5px/1 var(--sans); color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--subtle);
  transition: color 150ms ease;
}
.fn-go:hover { color: var(--fg); }
.fn-empty {
  padding: 20px 0 8px; font: 460 14px/1.5 var(--sans); color: var(--muted); max-width: 34em;
}
.fn-empty b { display: block; margin-bottom: 5px; font-weight: 620; color: var(--fg); }

.bottom-rail[data-kind="topics"] { gap: 12px; justify-content: flex-start; }
.bottom-rail[data-kind="topics"] .rail-btn { flex: none; font-size: 12.5px; letter-spacing: -0.012em; }

@media (max-height: 700px) {
  .voice-band { min-height: 38px; height: calc(38px + var(--pull-h, 0px)); }
  .stand-h1 { font-size: 24px; }
  .takeaway-h1 { font-size: 20px; }
  .talk-word { font-size: 24px; }
  .talk-gap { height: 28%; min-height: 108px; }
  .you-line { font-size: 16px; }
  .ask-btn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Currents-native Tokens pill & supporter sheet */
@keyframes tokensSilkFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes tokensDotCycle {
  0%, 100% { background: #4DD79F; box-shadow: 0 0 8px rgba(77, 215, 159, 0.7); }
  33% { background: #F2B45E; box-shadow: 0 0 8px rgba(242, 180, 94, 0.7); }
  66% { background: #5EB2E4; box-shadow: 0 0 8px rgba(94, 178, 228, 0.7); }
}
@keyframes tokensBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tokensCardRise {
  from { opacity: 0; transform: translateY(16px) scale(0.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tokens-pill {
  height: 30px; padding: 0 11px 0 9px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 6.5px; flex: none;
  background: var(--card); border: 1px solid var(--hair);
  font: 560 12px/1 var(--sans); letter-spacing: -0.01em; color: var(--body);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms ease;
}
.tokens-pill:hover { background: var(--card-hover); border-color: var(--subtle); color: var(--fg); }
.tokens-pill:active { transform: scale(0.95); }
.tokens-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #4DD79F; animation: tokensDotCycle 9s ease-in-out infinite;
}

.tokens-sheet[hidden] { display: none; }
.tokens-sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.tokens-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 9, 14, 0.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: tokensBackdropIn 220ms ease both;
}
html[data-surface="light"] .tokens-backdrop { background: rgba(20, 18, 14, 0.44); }
.tokens-flow {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 3; pointer-events: none; display: block;
}
.tokens-card {
  position: relative; z-index: 2; width: 100%; max-width: 404px;
  padding: 24px 22px 22px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.01) 100%), var(--bg);
  color: var(--fg); border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52), 0 0 0 0.5px rgba(255, 255, 255, 0.06) inset;
  animation: tokensCardRise 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tokens-card:focus { outline: none; }
html[data-surface="light"] .tokens-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 247, 240, 0.96) 100%), var(--bg);
  box-shadow: 0 24px 60px rgba(18, 19, 22, 0.16), 0 0 0 0.5px rgba(18, 19, 22, 0.06) inset;
}
.tokens-silk {
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, #4DD79F, #F2B45E, #5EB2E4, #C58AFF, #4DD79F);
  background-size: 240% 100%;
  animation: tokensSilkFlow 8s ease infinite;
}
.tokens-halo {
  position: absolute; top: -48px; left: 50%; width: 260px; height: 96px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(94, 178, 228, 0.22) 0%, rgba(77, 215, 159, 0.12) 45%, transparent 72%);
  filter: blur(18px);
}
html[data-surface="light"] .tokens-halo { opacity: 0.55; }
.tokens-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tokens-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font: 620 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.tokens-close {
  width: 32px; height: 32px; margin: -6px -8px -6px 0;
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 22px/1 var(--sans); color: var(--muted); border-radius: 50%;
  transition: color 160ms ease, background 160ms ease;
}
.tokens-close:hover { color: var(--fg); background: var(--card-hover); }
.tokens-h2 {
  position: relative; margin: 0 0 10px;
  font: 660 22px/1.18 var(--sans); letter-spacing: -0.03em; color: var(--fg);
  text-wrap: balance;
}
.tokens-copy {
  position: relative; margin: 0 0 16px;
  font: 430 14px/1.48 var(--sans); color: var(--body);
  text-wrap: pretty;
}
.tokens-copy b { font-weight: 620; color: var(--fg); }

.tokens-ledger {
  position: relative; list-style: none; margin: 0 0 18px; padding: 12px 13px;
  border-radius: 13px; background: var(--card); border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 10px;
}
.tokens-ledger li { display: flex; align-items: flex-start; gap: 10px; }
.tl-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-top: 5px; }
.tl-emerald { background: #4DD79F; box-shadow: 0 0 8px rgba(77, 215, 159, 0.55); }
.tl-amber { background: #F2B45E; box-shadow: 0 0 8px rgba(242, 180, 94, 0.55); }
.tl-cobalt { background: #5EB2E4; box-shadow: 0 0 8px rgba(94, 178, 228, 0.55); }
.tokens-ledger li span { display: flex; flex-direction: column; gap: 1.5px; }
.tokens-ledger li b { font: 600 12.8px/1.25 var(--sans); letter-spacing: -0.01em; color: var(--fg); }
.tokens-ledger li em { font: 430 12px/1.35 var(--sans); font-style: normal; color: var(--muted); }

.tokens-form { position: relative; display: flex; flex-direction: column; gap: 9px; }
.tokens-input {
  width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--card); color: var(--fg); border: 1px solid var(--hair);
  font: 460 16px/1 var(--sans); outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}
.tokens-input::placeholder { color: var(--subtle); }
.tokens-input:focus { border-color: var(--accent); background: var(--card-hover); }
.tokens-submit {
  position: relative; overflow: hidden; width: 100%; height: 44px; border-radius: 12px;
  background: var(--fg); color: var(--bg);
  font: 640 13.8px/1 var(--sans); letter-spacing: -0.012em; text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 140ms ease, opacity 160ms ease, box-shadow 220ms ease;
}
.tokens-submit::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(94, 178, 228, 0.28) 45%, rgba(77, 215, 159, 0.28) 55%, transparent 80%);
  transition: opacity 220ms ease;
}
.tokens-submit:hover { box-shadow: 0 8px 24px rgba(94, 178, 228, 0.24); }
.tokens-submit:hover::before { opacity: 1; }
.tokens-submit:active { transform: scale(0.98); }
.tokens-submit:disabled { opacity: 0.55; }
.tokens-submit span { position: relative; z-index: 1; }
.tokens-note { margin: 2px 0 0; text-align: center; font: 430 11.5px/1.4 var(--sans); color: var(--muted); }

.tokens-done {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 13px;
  background: rgba(77, 215, 159, 0.09); border: 1px solid rgba(77, 215, 159, 0.28);
  animation: tokensCardRise 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tokens-check {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(77, 215, 159, 0.18); color: #4DD79F;
}
.tokens-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tokens-done-text { display: flex; flex-direction: column; gap: 2px; }
.tokens-done-text b { font: 620 13.5px/1.25 var(--sans); color: var(--fg); }
.tokens-done-text span { font: 430 12.5px/1.38 var(--sans); color: var(--body); }
.tokens-donate-row {
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 4px;
}
.tokens-donate-row[hidden] { display: none; }
.tokens-donate-copy { font: 450 12px/1.35 var(--sans); color: var(--muted); }
.tokens-donate-link {
  display: inline-flex; align-items: center; align-self: flex-start;
  font: 590 12.5px/1.3 var(--sans); color: var(--fg);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--subtle);
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
.tokens-donate-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.tokens-msg { margin: 10px 0 0; font: 480 12.5px/1.45 var(--sans); color: #F2B45E; }

.field-src-card { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: 8px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.field-src-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.field-src-handle, .field-src-role { color: var(--muted); font-size: 12px; }
.field-src-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); white-space: pre-wrap; }
.field-src-quote { margin: 10px 0 0; padding: 8px 10px; border-left: 2px solid var(--hair); font-size: 13px; line-height: 1.45; color: var(--muted); }
.field-src-quote b { display: block; color: var(--ink); margin-bottom: 3px; font-weight: 600; }
.field-src-foot { margin: 8px 0 0; font-size: 12.5px; }

/* ── Sidechannel: Underground Technical Exhaust, Breadcrumbs & Scoops ── */
.sidechannel-head {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 0 10px; border-bottom: 1px solid var(--hair);
}
.sidechannel-head[hidden] { display: none; }
.sidechannel-canvas {
  display: block; width: 100%; height: 38px; pointer-events: none;
}
.sidechannel-kicker {
  margin: 0; font: 600 10.5px/1.25 var(--mono); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.sidechannel-filters {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto; scrollbar-width: none; touch-action: pan-x pan-y;
  padding-bottom: 2px;
}
.sidechannel-filters::-webkit-scrollbar { display: none; }
.sc-filter-btn {
  flex: none; padding: 5px 9px; border: 1px solid var(--hair); border-radius: 3px;
  background: transparent; font: 560 11.5px/1 var(--mono); color: var(--muted);
  white-space: nowrap; transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.sc-filter-btn:hover { color: var(--fg); border-color: var(--subtle); }
.sc-filter-btn[data-on="true"] {
  background: var(--card-hover); color: var(--fg); border-color: var(--accent);
}
.sc-filter-btn small { margin-left: 5px; font: 500 10.5px/1 var(--mono); color: var(--subtle); }

.sc-row {
  padding: 12px 0 13px; border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 6px;
}
.sc-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sc-meta-left {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; min-width: 0;
}
.sc-badge {
  display: inline-block; padding: 2px 6px; border-radius: 2px;
  border: 1px solid var(--hair); background: var(--card);
  font: 640 9.5px/1.1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg); flex: none;
}
.sc-badge[data-lane="exhaust"] {
  color: rgb(112, 188, 154); border-color: rgba(112, 188, 154, 0.34);
}
.sc-badge[data-lane="breadcrumb"] {
  color: rgb(218, 160, 74); border-color: rgba(218, 160, 74, 0.36);
}
.sc-badge[data-lane="investigation"] {
  color: rgb(94, 178, 228); border-color: rgba(94, 178, 228, 0.36);
}
.sc-badge[data-lane="scoop"] {
  color: rgb(214, 146, 178); border-color: rgba(214, 146, 178, 0.36);
}
html[data-surface="light"] .sc-badge[data-lane="exhaust"] {
  color: rgb(18, 114, 86); border-color: rgba(18, 114, 86, 0.28);
}
html[data-surface="light"] .sc-badge[data-lane="breadcrumb"] {
  color: rgb(152, 92, 22); border-color: rgba(152, 92, 22, 0.28);
}
html[data-surface="light"] .sc-badge[data-lane="investigation"] {
  color: rgb(14, 104, 156); border-color: rgba(14, 104, 156, 0.28);
}
html[data-surface="light"] .sc-badge[data-lane="scoop"] {
  color: rgb(148, 52, 98); border-color: rgba(148, 52, 98, 0.28);
}
.sc-ctx {
  font: 520 11.5px/1.2 var(--mono); color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.sc-when {
  font: 480 11px/1 var(--mono); color: var(--subtle); white-space: nowrap; flex: none;
}
.sc-title {
  margin: 0; font: 600 15px/1.3 var(--sans); letter-spacing: -0.016em;
  color: var(--fg); text-wrap: pretty; -webkit-user-select: text; user-select: text;
}
.sc-title-link { color: inherit; text-decoration: none; }
.sc-title-link:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--subtle); }
.sc-foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
}
.sc-go, .sc-via {
  display: inline-flex; align-items: center; min-height: 26px;
  font: 560 12px/1 var(--sans); color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--subtle);
  transition: color 150ms ease;
}
.sc-go:hover, .sc-via:hover { color: var(--fg); }
.sc-via-txt {
  font: 500 11.5px/1 var(--mono); color: var(--subtle);
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
