:root {
  --bg: #161310;
  --bg-2: #1d1915;
  --fg: #f3efe8;
  --fg-dim: #b3a89c;
  --fg-mute: #7d7468;
  --line: rgba(243, 239, 232, 0.11);
  --moon: #d7c4a4;
  --bone: #eadfce;
  --sage: #9cbaa4;
  --rose: #d4a194;
  --glow: rgba(215, 196, 164, 0.45);
  --sans: "Outfit", "Inter", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1.1rem, 3.5vw, 3.25rem);
  --section: clamp(2.6rem, 5.4vw, 3.8rem);
  --radius: 16px;
  --dial: 301.6;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(3.2rem, 7vw, 5.5rem);
  --signal: var(--moon);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  position: relative;
}

button,
a,
input,
[role="button"] {
  touch-action: manipulation;
}

body {
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(243, 239, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 232, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% -10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% -10%, #000 20%, transparent 75%);
}

main,
.nav {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(215, 196, 164, 0.28);
}

:focus-visible {
  outline: 1px solid var(--moon);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.blob {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(215, 196, 164, 0.16), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s;
}

.blob.is-on {
  opacity: 1;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 90;
  background: linear-gradient(90deg, #8aa3b0, var(--bone));
  box-shadow: 0 0 12px var(--glow);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--pad);
  background: linear-gradient(to bottom, rgba(12, 11, 10, 0.72), transparent);
}

.nav.is-solid {
  background: rgba(12, 11, 10, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  line-height: 1;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  transform: translateY(0.04em);
}

.brand-mark,
.foot-mark {
  height: 1.08em;
  width: auto;
  display: block;
  flex-shrink: 0;
  overflow: visible;
  color: var(--fg);
}

.brand-mark path,
.foot-mark path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 10;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-dim);
}

.nav-links a.is-active,
.nav-links a:hover,
.nav-links button:hover,
.nav-cta:hover {
  color: var(--fg);
}

.nav-links button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 500;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--fg-dim);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-cta {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--line);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--fg);
}

.arrive {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5.4rem var(--pad) 3.2rem;
  background:
    radial-gradient(ellipse 55% 48% at 78% 42%, rgba(215, 196, 164, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 36% at 12% 78%, rgba(196, 92, 50, 0.07), transparent 70%);
}

.arrive-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: stretch;
}

.arrive-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker,
.eyebrow,
.panel-label,
.card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--moon);
  letter-spacing: 0;
}

.arrive h1 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.lede,
.lead {
  margin: 0;
  max-width: 40rem;
  color: var(--fg-dim);
  font-size: 1.05rem;
}

.arrive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.arrive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--fg-mute);
}

.arrive-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(72vh, 680px);
  align-self: stretch;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(243, 239, 232, 0.12);
  background: #120f0d;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), 0 0 80px rgba(215, 196, 164, 0.08);
}

#hands,
#hands-mini {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.visual-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 232, 0.14);
  background: rgba(22, 19, 16, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
}

.visual-pill span {
  color: var(--moon);
}

.visual-pill strong {
  font-weight: 500;
}

.ask-card {
  position: relative;
  z-index: 3;
  margin: 0 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid rgba(243, 239, 232, 0.16);
  border-radius: 18px;
  background: rgba(18, 15, 13, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.ask-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ask-card-top div {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ask-card-top em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--fg-mute);
}

.ask-mark {
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  transform: rotate(45deg);
  border-radius: 2px;
  background: linear-gradient(135deg, #f4efe6, #9eb6c4);
  box-shadow: 0 0 14px var(--glow);
  animation: pulseMark 3s ease-in-out infinite;
}

@keyframes pulseMark {
  50% {
    transform: rotate(45deg) scale(1.15);
    box-shadow: 0 0 22px var(--glow);
  }
}

.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  color: var(--fg-dim);
}

#agent-close.icon-btn {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  color: var(--fg-mute);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

#agent-close.icon-btn:hover {
  color: var(--bone);
  border-color: rgba(215, 196, 164, 0.4);
  background: rgba(243, 239, 232, 0.06);
}

#agent-close.icon-btn svg {
  display: block;
}

.ask-thread {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 7.2rem;
  overflow: auto;
}

.ask-thread[hidden] {
  display: none;
}

.msg {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.45;
}

.msg span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--moon);
  margin-bottom: 0.15rem;
}

.msg.you span {
  color: var(--bone);
}

.ask-chips,
.side-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ask-chips button,
.side-chips button,
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  transition: border-color 0.2s, background 0.2s;
}

.ask-chips button:hover,
.side-chips button:hover,
.filters button:hover,
.filters button.is-on {
  border-color: rgba(215, 196, 164, 0.55);
  background: rgba(215, 196, 164, 0.1);
}

.ask-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  background: rgba(12, 11, 10, 0.5);
}

.ask-form:focus-within {
  border-color: rgba(215, 196, 164, 0.5);
  box-shadow: 0 0 0 1px rgba(215, 196, 164, 0.12);
}

.ask-form input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
}

.ask-form kbd {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12rem 0.35rem;
}

.arrive-scroll {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.arrive-scroll::after {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  margin-left: 0.55rem;
  background: var(--fg-mute);
  vertical-align: middle;
  animation: pulseLine 2.2s ease-in-out infinite;
}

@keyframes pulseLine {
  50% {
    opacity: 0.25;
    width: 3.2rem;
  }
}

@keyframes marquee {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

section {
  padding: var(--section) var(--pad);
}

.section-kicker h2,
.why h2,
.closer h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-kicker .lead {
  margin-top: 0.55rem;
}

.glance-grid {
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.glance-grid div,
.bento-card,
.output-card,
.model-panel,
.loop-grid li,
.tests li,
.start-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 244, 228, 0.035), transparent 52%), var(--bg-2);
}

.glance-grid div {
  padding: 1.15rem 1.1rem 1.25rem;
}

.glance-grid dt {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--moon);
  margin-bottom: 0.45rem;
}

.glance-grid dd {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.3rem 0 1rem;
}

.board-list {
  display: grid;
  gap: 0.55rem;
}

.lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(5.5rem, 0.55fr) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.lane-main {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.lane-body {
  min-width: 0;
  flex: 1;
}

.lane-head {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lane-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.lane-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(243, 239, 232, 0.06);
  border: 1px solid var(--line);
}

.lane-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.4rem;
}

.lane-ca {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 232, 0.04);
  color: var(--moon);
  cursor: pointer;
  line-height: 1.2;
}

.lane-ca:hover {
  border-color: rgba(215, 196, 164, 0.45);
  color: var(--bone);
}

.lane-mcap {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-mute);
  line-height: 1.2;
}

.lane-fresh {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--moon);
}

.lane-compact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
}

.lane-compact .lane-top {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
}

.lane-compact .lane-avatar {
  width: 36px;
  height: 36px;
  margin-top: 0.12rem;
}

.lane-compact .lane-head h3 {
  font-size: 0.9rem;
  line-height: 1.35;
}

.lane-compact .lane-badges,
.lane-compact .hype-badges {
  flex-shrink: 0;
  align-self: start;
  min-width: 0;
}

.lane-compact .hint {
  margin: 0;
  padding-left: calc(36px + 0.65rem);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--fg-mute);
}

.lane-compact .lane-meta {
  margin: 0;
  padding-left: calc(36px + 0.65rem);
}

.lane-compact .lane-stats,
.lane-compact .dur {
  display: none;
}

.agent-lanes .lane-compact,
.agent-lanes .hype-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 11, 10, 0.35);
}

.agent-lanes {
  display: grid;
  gap: 0.5rem;
}

.agent-lanes.feed {
  gap: 0;
  margin-top: 0;
}

.agent-lanes .lane-avatar {
  width: 36px;
  height: 36px;
}

.lane h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lane .hint {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--fg-mute);
  line-height: 1.45;
}

.st {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid currentColor;
}

.st.confirmed { color: var(--sage); }
.st.emerging { color: var(--moon); }
.st.contested { color: var(--rose); }
.st.hype { color: var(--fg-mute); }
.st.decaying { color: #5c564e; }

.verdict {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid currentColor;
}

.verdict.hold { color: var(--sage); }
.verdict.watch { color: var(--moon); }
.verdict.flag { color: var(--rose); }
.verdict.ignore { color: var(--fg-mute); }

.lane-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}

.lane-type {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.lane-token {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bone);
  flex-shrink: 0;
}

.scan-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.3rem 0 0.5rem;
}

.scan-modes button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-mute);
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.scan-modes button:hover,
.scan-modes button.is-on {
  border-color: rgba(215, 196, 164, 0.55);
  background: rgba(215, 196, 164, 0.08);
  color: var(--fg);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mode-card-hype {
  border-color: rgba(215, 196, 164, 0.35);
  background: rgba(215, 196, 164, 0.04);
}

.hype-section {
  padding: var(--section-pad) var(--pad);
}

.hype-section .section-kicker {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}

.hype-section .section-kicker .lead {
  margin-left: auto;
  margin-right: auto;
}

main > .surfaces:first-child {
  padding-top: calc(var(--section-pad) + 4.5rem);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.6rem;
  padding: 0.16rem 0.55rem;
  border: 1px solid rgba(232, 168, 124, 0.4);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e8a87c;
  vertical-align: 0.12em;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8a87c;
  animation: live-pulse 1.6s var(--ease) infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* ── Hype feed: X-style posts with embedded token card ── */
.feed {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 244, 228, 0.02), transparent 30%), var(--bg-2);
  overflow: hidden;
}

.feed-post {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 1.15rem 0.9rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.feed-post:last-child {
  border-bottom: 0;
}

.feed-post:hover {
  background: rgba(243, 239, 232, 0.022);
}

.feed-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.feed-rank {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
}

.feed-post:nth-child(-n + 3) .feed-rank {
  color: var(--moon);
}

.feed-line {
  flex: 1;
  width: 2px;
  min-height: 2rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(215, 196, 164, 0.3), transparent);
}

.feed-post.heat-surging .feed-line {
  background: linear-gradient(180deg, #e8a87c, transparent);
}

.feed-post.heat-building .feed-line {
  background: linear-gradient(180deg, var(--moon), transparent);
}

.feed-body {
  min-width: 0;
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feed-head .heat {
  margin-left: auto;
}

.heat-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 0.3rem;
  vertical-align: 0.08em;
}

.feed-text {
  margin: 0.55rem 0 0.7rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--fg);
  word-break: break-word;
}

.token-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s var(--ease);
}

.feed-post:hover .token-card {
  border-color: rgba(215, 196, 164, 0.28);
}

.token-card-main {
  min-width: 0;
  flex: 1;
}

.token-card-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.token-card-top .lane-token {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bone);
}

.token-name {
  font-size: 0.8rem;
  color: var(--fg-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.token-card-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-top: 0.3rem;
}

.token-mcap {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ca-chip svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  opacity: 0.65;
}

.token-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--moon);
  text-decoration: none;
  padding: 0.16rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.token-link:hover {
  color: var(--bone);
  border-color: rgba(215, 196, 164, 0.45);
}

.feed-engage {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: var(--fg-mute);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.feed-engage span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feed-engage svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.7;
}

.x-engage span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.x-engage svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.7;
}

.hype-empty {
  padding: 1.2rem 1.15rem;
  margin: 0;
  color: var(--fg-mute);
}

.avatar-slot {
  --avatar-size: 40px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--avatar-size);
  height: var(--avatar-size);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: calc(var(--avatar-size) * 0.28);
}

.avatar-slot > * {
  grid-area: 1 / 1;
}

.avatar-slot .lane-avatar,
.avatar-slot .x-avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: calc(var(--avatar-size) * 0.28);
  object-fit: cover;
  background: rgba(243, 239, 232, 0.06);
  border: 1px solid var(--line);
}

.avatar-slot .x-avatar {
  border-radius: 50%;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: calc(var(--avatar-size) * 0.28);
  font-family: var(--mono);
  font-size: calc(var(--avatar-size) * 0.32);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  background: hsl(var(--avatar-hue, 32), 42%, 38%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-slot .x-avatar + .avatar-fallback,
.x-card .avatar-fallback {
  border-radius: 50%;
}

.avatar-fallback[hidden],
.avatar-slot img[hidden] {
  display: none !important;
}

.x-card {
  display: block;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(231, 233, 234, 0.1);
  background: #000;
  color: #e7e9ea;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.x-card:hover {
  background: #070707;
  border-color: rgba(231, 233, 234, 0.18);
}

.x-card:focus-visible {
  outline: 2px solid #1d9bf0;
  outline-offset: 2px;
}

.x-card-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: start;
  margin-bottom: 0.5rem;
}

.x-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #2f3336;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.x-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35rem;
  row-gap: 0.1rem;
  min-width: 0;
}

.x-name {
  font-weight: 700;
  font-size: 0.86rem;
  color: #e7e9ea;
  line-height: 1.2;
}

.x-handle {
  font-size: 0.82rem;
  color: #71767b;
  line-height: 1.2;
}

.x-logo {
  width: 17px;
  height: 17px;
  fill: #e7e9ea;
  opacity: 0.55;
  flex-shrink: 0;
}

.x-text {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #e7e9ea;
  word-break: break-word;
}

.x-engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  font-size: 0.74rem;
  color: #71767b;
}

.x-open {
  margin-left: auto;
  color: #1d9bf0;
  font-weight: 500;
}

.x-card-compact {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
}

.x-card-compact .x-card-head {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  margin-bottom: 0.3rem;
}

.x-card-compact .x-text {
  font-size: 0.76rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.x-card-compact .x-engage {
  font-size: 0.68rem;
  gap: 0.5rem;
}

.x-card-compact .x-engage span:not(.x-open) {
  display: none;
}

.hype-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.hype-card.lane-compact .lane-top {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
}

.hype-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.agent-result {
  max-width: 100% !important;
  padding: 0.85rem 0.9rem !important;
}

.agent-result-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 0.5rem;
}

.agent-summary {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fg);
}

.heat {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid currentColor;
  white-space: nowrap;
}

.heat.surging { color: #e8a87c; }
.heat.building { color: var(--moon); }
.heat.echo { color: var(--fg-mute); }
.heat.fading { color: #5c564e; }

.pack {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-mute);
}

.hype-empty {
  color: var(--fg-mute);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.mode-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.mode-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
}

.mode-card p:last-child {
  margin: 0;
  font-size: 0.86rem;
  color: var(--fg-mute);
  line-height: 1.5;
}

.dur {
  font-family: var(--mono);
  font-size: 0.85rem;
}

.dur-bar {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: rgba(243, 239, 232, 0.08);
  margin-top: 0.4rem;
  overflow: hidden;
}

.dur-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8aa3b0, var(--bone));
  border-radius: inherit;
}

.lane-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  font-size: 0.75rem;
  color: var(--fg-mute);
  font-family: var(--mono);
}

.board-note {
  color: var(--fg-mute);
  font-size: 0.82rem;
  margin: 0;
}

.board-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.9rem 0 0;
}

.board-actions .btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

#agent-status {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-mute);
}

#agent-status[data-ok="true"] {
  color: var(--sage, #9cbaa4);
}

#agent-status[data-ok="false"] {
  color: var(--rose, #d4a194);
}

.msg.thinking {
  opacity: 0.72;
  font-style: italic;
}

.agent-thread .msg span,
.ask-thread .msg span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--moon);
  margin-bottom: 0.15rem;
}

.agent-thread .msg,
.ask-thread .msg {
  white-space: pre-wrap;
}

.model-shell {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.65rem;
}

.model-panel {
  padding: 1.15rem 1.15rem 1.3rem;
}

.formula {
  margin: 0.4rem 0 1.2rem;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.5vw, 0.88rem);
  line-height: 1.55;
  color: var(--bone);
}

.sliders {
  display: grid;
  gap: 0.85rem;
}

.sliders label {
  display: grid;
  grid-template-columns: 9.5rem 1fr 3rem;
  gap: 0.8rem;
  align-items: center;
  color: var(--fg-dim);
  font-size: 0.88rem;
}

.sliders input {
  accent-color: var(--moon);
  width: 100%;
}

.sliders b {
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.82rem;
  text-align: right;
}

.meter-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.dial {
  position: relative;
  width: 168px;
  height: 168px;
}

.dial-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 196, 164, 0.3) 0%, rgba(215, 196, 164, 0.08) 48%, transparent 72%);
  pointer-events: none;
}

.dial svg {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-track,
.dial-fill {
  fill: none;
  stroke-width: 5.5;
}

.dial-track {
  stroke: rgba(243, 239, 232, 0.12);
}

.dial-fill {
  stroke: var(--moon);
  stroke-linecap: round;
  stroke-dasharray: var(--dial);
  stroke-dashoffset: calc(var(--dial) * (1 - var(--p, 0.71)));
  transition: stroke-dashoffset 0.6s ease, stroke 0.4s;
}

.dial.hot .dial-fill {
  stroke: var(--rose);
}

.dial-read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
}

.dial-read strong {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.dial-read span {
  font-size: 0.82rem;
  color: var(--fg-dim);
  text-transform: capitalize;
}

.dial-hint {
  margin: 0.7rem 0 0;
  color: var(--fg-mute);
  max-width: 16rem;
}

.loop-grid {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.loop-grid li,
.tests li,
.start-list li {
  padding: 1.15rem 1.1rem 1.25rem;
}

.loop-grid span,
.start-list span {
  display: block;
  font-size: 0.75rem;
  color: var(--moon);
  margin-bottom: 0.55rem;
}

.loop-grid h3,
.bento-card h3,
.tests strong,
.start-list strong {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.loop-grid p,
.bento-card p,
.tests span,
.start-list p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.92rem;
}

.bento {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.65rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  padding: 1.15rem 1.15rem 1.2rem;
  transition: transform 0.35s, border-color 0.35s;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(215, 196, 164, 0.16), transparent 46%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 196, 164, 0.38);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card.span-6 {
  grid-column: span 6;
}

.bento-card.span-3 {
  grid-column: span 3;
}

.why h2 em {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--bone);
}

.why .lead {
  margin-top: 1rem;
}

.tests {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.output-card {
  margin-top: 1.3rem;
  padding: 1.2rem 1.2rem 1.3rem;
  max-width: 44rem;
}

.output-card dl {
  margin: 0.6rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.2rem;
}

.output-card dt {
  font-size: 0.75rem;
  color: var(--fg-mute);
}

.output-card dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.output-note {
  margin: 1.1rem 0 0;
  color: var(--fg-dim);
}

.spec-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.rules,
.ops,
.start-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li,
.ops li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--fg-dim);
}

.start-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.start-list li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.license,
.token-note {
  margin: 1.2rem 0 0;
  font-size: 0.84rem;
  color: var(--fg-mute);
}

.closer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(1.2rem, 4vw, 2.6rem);
  align-items: center;
}

.closer-visual {
  position: relative;
  min-height: min(78vh, 720px);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: #0a0908;
  overflow: hidden;
}

#closer-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.closer-legend {
  right: 1rem;
  bottom: 1rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem var(--pad) 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
  font-size: 0.82rem;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fg-dim);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.foot-mark {
  height: 0.85em;
}

.instrument {
  padding-top: calc(var(--section) - 0.4rem);
}

.inst-shell {
  margin-top: 1.3rem;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 244, 228, 0.04), transparent 50%), var(--bg-2);
}

.inst-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.inst-lane {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 11, 10, 0.28);
}

.inst-lane strong {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0.15rem 0 0.45rem;
}

.inst-bar {
  display: block;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 99px;
  background: rgba(243, 239, 232, 0.08);
  overflow: hidden;
}

.inst-bar b {
  display: block;
  height: 100%;
  width: 22%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8aa3b0, var(--bone));
  transition: width 0.45s ease;
}

.inst-lane[data-lane="bonk"] .inst-bar b {
  background: linear-gradient(90deg, #d4a194, #eadfce);
}

.inst-scrub {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0.9rem;
  color: var(--moon);
  font-size: 0.88rem;
}

.inst-scrub input {
  width: 100%;
  accent-color: var(--moon);
}

.inst-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.inst-steps li {
  padding: 0.5rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-mute);
}

.inst-steps li.is-on {
  color: #161412;
  background: var(--bone);
  border-color: var(--bone);
}

.inst-note {
  margin: 0.9rem 0 0;
  color: var(--fg-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.18s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn.primary {
  background: var(--fg);
  color: #161412;
  border-color: var(--fg);
}

.btn.primary:hover {
  background: #fff;
  box-shadow: 0 0 28px rgba(243, 239, 230, 0.22);
}

.btn.ghost {
  background: rgba(8, 8, 7, 0.28);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.agent[hidden] {
  display: none !important;
}

html:has(body.agent-open),
body.agent-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .arrive-stage,
  .model-shell,
  .closer,
  .spec-grid,
  .inst-lanes {
    grid-template-columns: 1fr;
  }

  .arrive-visual,
  .closer-visual {
    min-height: min(70vh, 640px);
  }

  .glance-grid,
  .loop-grid,
  .tests {
    grid-template-columns: 1fr 1fr;
  }

  .lane:not(.lane-compact) {
    grid-template-columns: 1fr auto;
  }

  .lane:not(.lane-compact) .dur,
  .lane:not(.lane-compact) .lane-stats {
    grid-column: 1 / -1;
  }

  .lane-compact {
    flex-direction: column;
    align-items: stretch;
  }

  .lane-compact .lane-badges {
    flex-direction: row;
    justify-content: flex-start;
    align-self: stretch;
    min-width: 0;
    gap: 0.5rem;
  }

  .bento-card,
  .bento-card.span-6,
  .bento-card.span-3 {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    background: rgba(12, 11, 10, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    padding: 0.65rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .blob {
    display: none;
  }
}

@media (max-width: 720px) {
  .glance-grid,
  .loop-grid,
  .tests,
  .bento,
  .inst-steps {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card.span-6,
  .bento-card.span-3 {
    grid-column: span 1;
  }

  .sliders label {
    grid-template-columns: 1fr;
  }

  .lane {
    grid-template-columns: 1fr;
  }

  .output-card dl {
    grid-template-columns: 1fr;
  }

  .ask-form kbd {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ask-mark,
  .arrive-scroll::after {
    animation: none;
  }
}


/* ===== wallet + ask hint + signal fields ===== */
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-wallet {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}
.ask-hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--fg-mute);
}
.ask-hint kbd {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.wallet-card {
  margin: 0.35rem 0 0.5rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(243, 239, 232, 0.03);
}
.wallet-state {
  margin: 0.25rem 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-dim);
  word-break: break-all;
}
.wallet-hint {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  color: var(--fg-mute);
  line-height: 1.4;
}

.field-legend {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.85rem;
  font-size: 0.72rem;
  color: var(--fg-dim);
}
.field-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.field-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.k-origin { background: #eadfce; box-shadow: 0 0 10px rgba(234, 223, 206, 0.55); }
.k-echo { background: rgba(208, 197, 183, 0.75); }
.k-bear { background: var(--rose); }

@media (max-width: 860px) {
  .nav-wallet span { max-width: 4.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
