:root {
  --bg: #07080c;
  --bg2: #0c0e14;
  --panel: #10131a;
  --panel2: #141821;
  --line: #232836;
  --line2: #2e3548;
  --text: #eef1f6;
  --muted: #8b95a8;
  --amber: #e8b84a;
  --amber-dim: rgba(232, 184, 74, 0.12);
  --cyan: #5eead4;
  --cyan-dim: rgba(94, 234, 212, 0.12);
  --yes: #22c55e;
  --yes-dim: rgba(34, 197, 94, 0.14);
  --no: #ef4444;
  --no-dim: rgba(239, 68, 68, 0.14);
  --warn: #f59e0b;
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glow-amber: 0 0 24px rgba(232, 184, 74, 0.22);
  --glow-yes: 0 0 18px rgba(34, 197, 94, 0.28);
  --glow-no: 0 0 18px rgba(239, 68, 68, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  /* fixed topbar clearance — hero/anchors never under header */
  padding-top: 64px;
}

/* —— Atmosphere (CSS-only drifting orbs + visible grid) —— */
.atmosphere {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(72px);
  will-change: transform;
}
.orb-a {
  width: 58vw; height: 58vw; max-width: 760px; max-height: 760px;
  top: -14%; right: -10%;
  opacity: 1;
  background: radial-gradient(circle, rgba(232, 184, 74, 0.42), rgba(232, 184, 74, 0.14) 38%, transparent 70%);
  animation: driftA 16s ease-in-out infinite alternate;
}
.orb-b {
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  bottom: 4%; left: -12%;
  opacity: 0.95;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.36), rgba(94, 234, 212, 0.1) 40%, transparent 70%);
  animation: driftB 20s ease-in-out infinite alternate;
}
.orb-c {
  width: 38vw; height: 38vw; max-width: 460px; max-height: 460px;
  top: 38%; left: 36%;
  opacity: 0.72;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), rgba(232, 184, 74, 0.1) 48%, transparent 72%);
  animation: driftC 14s ease-in-out infinite alternate;
  filter: blur(88px);
}
.orb-d {
  width: 50vw; height: 28vw; max-width: 700px; max-height: 360px;
  bottom: -8%; right: 10%;
  opacity: 0.65;
  background: radial-gradient(ellipse, rgba(232, 184, 74, 0.22), rgba(94, 234, 212, 0.08) 45%, transparent 70%);
  animation: driftA 19s ease-in-out infinite alternate-reverse;
  filter: blur(100px);
}
.fog-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 40% at 50% -10%, rgba(232,184,74,0.09), transparent 55%),
    radial-gradient(ellipse 60% 35% at 10% 80%, rgba(94,234,212,0.07), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 60%, rgba(99,102,241,0.08), transparent 50%);
  pointer-events: none;
}
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 40%, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232,184,74,0.1), transparent 60%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 18%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 18%, #000 25%, transparent 78%);
  opacity: 0.9;
}
@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-7%, 9%) scale(1.1); }
}
@keyframes driftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9%, -7%) scale(1.12); }
}
@keyframes driftC {
  from { transform: translate(0, 0) scale(0.95); }
  to { transform: translate(-5%, 4%) scale(1.08); }
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--amber); }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { color: inherit; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font: 700 11px/1 var(--mono); letter-spacing: 0.04em;
  color: #0a0b0f; background: linear-gradient(135deg, var(--amber), #c9922e);
  box-shadow: 0 0 18px rgba(232, 184, 74, 0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.brand-text small { font-size: 11px; color: var(--muted); }
.nav-mid { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-mid a {
  color: var(--muted); font-size: 13px; font-weight: 500;
  transition: color 0.2s;
}
.nav-mid a:hover { color: var(--text); }
.top-right { display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.live-pill i {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livepulse 2.2s infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); opacity: 1; }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); opacity: 1; }
}
.lang {
  border: 1px solid var(--line); background: var(--panel);
  color: var(--text); border-radius: 9px; padding: 7px 12px;
  font-weight: 600; font-size: 12px; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang:hover { border-color: var(--amber); box-shadow: var(--glow-amber); }

main {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  padding: 40px 22px 80px;
}
#live, #how, #post {
  scroll-margin-top: 88px;
}

/* —— First-screen stagger entrance (one-shot CSS) —— */
@keyframes enterUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.enter {
  opacity: 0;
  animation: enterUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.enter-d1 { animation-delay: 0.06s; }
.enter-d2 { animation-delay: 0.14s; }
.enter-d3 { animation-delay: 0.22s; }
.enter-d4 { animation-delay: 0.3s; }
.enter-d5 { animation-delay: 0.38s; }

/* —— Scroll reveal (below fold) —— */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

.hero {
  display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 8px;
}
.eyebrow {
  margin: 0 0 12px; color: var(--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.95rem, 4.2vw, 3rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.08;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { margin: 0; color: var(--muted); max-width: 34rem; font-size: 15px; line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: #c5ccd8;
}
.chips .warn { color: #fde68a; border-color: #78350f66; background: #1a1408; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 10px 16px; border-radius: 10px;
  font: 700 13px/1 var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s, background 0.2s, box-shadow 0.25s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn.primary {
  background: var(--amber); color: #120e06; border-color: #c9922e;
  box-shadow: 0 4px 16px rgba(232, 184, 74, 0.18);
}
.btn.primary:hover {
  color: #120e06; background: #f0c761;
  box-shadow: var(--glow-amber), 0 6px 20px rgba(232, 184, 74, 0.28);
}
.btn.ghost {
  background: transparent; color: var(--text); border-color: var(--line2);
}
.btn.ghost:hover {
  border-color: var(--amber); color: var(--amber);
  box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.15), var(--glow-amber);
}
.btn.full { width: 100%; }

.hero-panel {
  padding: 22px 22px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color 0.25s, box-shadow 0.25s;
  align-self: start;
}
.hero-panel:hover {
  border-color: rgba(232, 184, 74, 0.28);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 184, 74, 0.08);
}
.panel-lab { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.panel-val {
  margin-top: 6px; font-size: 2rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
  font-family: var(--mono);
}
.bar {
  height: 8px; margin-top: 14px; border-radius: 99px;
  background: #1a1f2a; overflow: hidden;
}
.bar > i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.muted { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
}
.mini-stats span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mini-stats b { font-size: 13px; font-weight: 700; }
.panel-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.panel-meta > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.panel-meta em {
  font-style: normal; font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.panel-meta b {
  font-size: 13px; font-weight: 700; font-family: var(--mono);
  letter-spacing: -0.02em;
}

.stats-row { display: none !important; } /* IA: merged into hero panel */
.stats-row-legacy {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 24px;
}
.st {
  padding: 12px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.st:hover {
  border-color: rgba(232, 184, 74, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25), 0 0 16px rgba(232, 184, 74, 0.1);
}
.st span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.st b { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; font-family: var(--mono); }
.mono-sm { font-family: var(--mono); font-size: 0.95rem !important; color: var(--amber); }

/* —— Compact How —— */
.how { margin-bottom: 36px; margin-top: 8px; }
.how-compact .how-head { margin-bottom: 16px; }
.sec-kicker {
  color: var(--cyan); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px;
}
.how h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-card {
  padding: 18px 18px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.how-card:hover {
  border-color: rgba(232, 184, 74, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.32), 0 0 24px rgba(232, 184, 74, 0.16), 0 0 0 1px rgba(232, 184, 74, 0.18);
}
.how-card .num {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--amber); letter-spacing: 0.08em; margin-bottom: 6px;
}
.how-card h3 { margin: 0 0 4px; font-size: 14px; }
.how-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* —— Main layout: stretch columns —— */
.layout {
  display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 28px;
  align-items: start;
  margin-top: 8px;
}
.col-main {
  display: flex; flex-direction: column; min-height: 100%;
}
.col-side { display: flex; flex-direction: column; }
.sec-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
}
.sec-head-left { display: flex; align-items: center; gap: 10px; }
.sec-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.live-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  color: #052e16; background: var(--yes); padding: 3px 8px; border-radius: 4px;
}
.live-tag i {
  width: 5px; height: 5px; border-radius: 50%; background: #052e16;
  animation: livepulse 2s infinite;
}

.filter-tabs { display: flex; gap: 4px; background: var(--bg2); padding: 3px; border-radius: 8px; border: 1px solid var(--line); }
.ftab {
  border: none; background: transparent; color: var(--muted);
  font: 600 11px/1 var(--sans); padding: 6px 12px; border-radius: 6px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ftab:hover { color: var(--text); }
.ftab.active { background: var(--panel2); color: var(--amber); }

.markets {
  display: flex; flex-direction: column; gap: 18px;
  flex: 1;
}

/* —— Dense market cards —— */
.market {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 20px 20px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.market:hover {
  border-color: rgba(232, 184, 74, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.38), 0 0 28px rgba(232, 184, 74, 0.18), 0 0 0 1px rgba(232, 184, 74, 0.22);
}
.m-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.m-q { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; flex: 1; }
.m-odds {
  font-family: var(--mono); font-size: 1.9rem; font-weight: 700;
  color: var(--yes); font-variant-numeric: tabular-nums; min-width: 3.6rem; text-align: right;
  letter-spacing: -0.04em; line-height: 1;
}
.odds-bar {
  display: flex; height: 9px; border-radius: 99px; overflow: hidden;
  background: #1a1f2a; margin: 14px 0 12px;
}
.odds-bar .y {
  background: var(--yes); height: 100%;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.odds-bar .n {
  background: var(--no); height: 100%;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.actions button {
  border: 1px solid transparent; border-radius: 10px; padding: 14px 12px;
  cursor: pointer; font-weight: 700; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.25s, filter 0.2s;
}
.actions .yes { background: var(--yes-dim); color: var(--yes); border-color: #14532d55; }
.actions .no { background: var(--no-dim); color: var(--no); border-color: #7f1d1d55; }
.actions .yes:not(:disabled):hover {
  transform: translateY(-1px); box-shadow: var(--glow-yes); filter: brightness(1.08);
}
.actions .no:not(:disabled):hover {
  transform: translateY(-1px); box-shadow: var(--glow-no); filter: brightness(1.08);
}
.actions button:disabled { opacity: 0.55; cursor: not-allowed; }
.m-meta {
  margin-top: 8px; font-size: 11px; color: var(--muted);
  font-family: var(--mono); overflow-wrap: anywhere;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-meta .hash { display: block; margin-top: 2px; white-space: normal; opacity: 0.7; font-size: 10px; }

/* —— Designed empty / filler states (kill black void) —— */
.empty, .filler-card, .skeleton-card, .guide-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 14px 16px;
}
.empty {
  border-style: dashed; text-align: center; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 120px; padding: 24px;
}
.empty .empty-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--amber-dim); border: 1px solid rgba(232,184,74,0.25);
  display: grid; place-items: center; color: var(--amber); font-weight: 800; font-size: 14px;
  margin-bottom: 4px;
}
.empty strong { color: var(--text); font-size: 14px; }
.empty p { margin: 0; font-size: 13px; max-width: 28rem; }

.filler-stack {
  display: flex; flex-direction: column; gap: 14px; flex: 1;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px dashed rgba(46, 53, 72, 0.95);
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.92), rgba(12, 14, 20, 0.88)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(232, 184, 74, 0.015) 10px,
      rgba(232, 184, 74, 0.015) 11px
    );
  justify-content: flex-start;
}
.filler-stack > .skeleton-card,
.filler-stack > .guide-card,
.filler-stack > .settle-placeholder,
.filler-stack > .tips-row {
  flex: 0 0 auto;
}
.filler-grow {
  flex: 1 1 auto;
  min-height: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(232, 184, 74, 0.28);
  background:
    radial-gradient(ellipse at 30% 40%, rgba(94, 234, 212, 0.1), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(232, 184, 74, 0.1), transparent 50%),
    var(--panel);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.95;
  animation: warmPulse 4.5s ease-in-out infinite;
}
@keyframes warmPulse {
  0%, 100% { border-color: rgba(232, 184, 74, 0.22); box-shadow: inset 0 0 24px rgba(232, 184, 74, 0.03); }
  50% { border-color: rgba(94, 234, 212, 0.35); box-shadow: inset 0 0 36px rgba(94, 234, 212, 0.06); }
}
.skeleton-card {
  padding: 14px 16px; opacity: 0.7;
  background: linear-gradient(135deg, var(--panel), var(--panel2));
  border-style: dashed; border-color: var(--line2);
}
.skel-line {
  height: 9px; border-radius: 4px; background: var(--line);
  margin-bottom: 7px; animation: shimmer 1.8s ease-in-out infinite;
}
.skel-line.w60 { width: 60%; }
.skel-line.w40 { width: 40%; }
.skel-line.w80 { width: 80%; }
.skel-bar {
  height: 7px; border-radius: 99px; background: var(--line);
  margin: 10px 0; overflow: hidden; position: relative;
}
.skel-bar::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(232,184,74,0.15), transparent);
  animation: shimmerSlide 2s ease-in-out infinite;
}
.skel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.skel-btn {
  height: 34px; border-radius: 8px; background: var(--line); opacity: 0.65;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.75; }
}
@keyframes shimmerSlide {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

.guide-card {
  background: linear-gradient(160deg, rgba(94,234,212,0.07), var(--panel));
  border-color: rgba(94, 234, 212, 0.28);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.guide-card .g-kicker {
  color: var(--cyan); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.guide-card h4 { margin: 0 0 6px; font-size: 14px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.guide-card .g-steps {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.guide-card .g-steps span {
  font-size: 11px; font-weight: 600; color: var(--muted);
  padding: 4px 8px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--line);
}
.guide-card .g-steps span b { color: var(--amber); font-family: var(--mono); margin-right: 4px; }
.guide-card .slot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
}
.guide-card .slot {
  padding: 10px; border-radius: 8px; background: var(--bg2); border: 1px dashed var(--line);
}
.guide-card .slot .sl { height: 8px; width: 70%; background: var(--line); border-radius: 3px; margin-bottom: 8px; }
.guide-card .slot .sb { height: 5px; background: var(--line); border-radius: 99px; margin-bottom: 8px; }
.guide-card .slot .sr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.guide-card .slot .sr i { height: 22px; border-radius: 6px; background: var(--line); opacity: 0.55; display: block; }

.settle-placeholder {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.settle-placeholder .sp-ico {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: var(--cyan-dim); color: var(--cyan);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  font-family: var(--mono);
}
.settle-placeholder .sp-body { flex: 1; min-width: 0; }
.settle-placeholder .sp-body strong { display: block; font-size: 13px; margin-bottom: 2px; }
.settle-placeholder .sp-body span { font-size: 12px; color: var(--muted); }

.tips-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.tip {
  padding: 12px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line); text-align: center;
}
.tip b { display: block; font-family: var(--mono); font-size: 13px; color: var(--amber); margin-bottom: 4px; }
.tip span { font-size: 11px; color: var(--muted); }

.action-card, .trust-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 20px; margin-bottom: 18px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.action-card:hover, .trust-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28), 0 0 20px rgba(94, 234, 212, 0.1);
}
.action-card#createForm {
  border-color: rgba(232, 184, 74, 0.28);
  background: linear-gradient(180deg, var(--amber-dim), var(--panel) 40%);
}
.action-card#createForm:hover {
  border-color: rgba(232, 184, 74, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.1), var(--glow-amber);
}
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card-h h3 { margin: 0; font-size: 14px; }
.price-pill {
  font-size: 11px; font-weight: 800; color: #120e06;
  background: var(--amber); padding: 3px 8px; border-radius: 999px;
}
.tag-mini {
  font-size: 10px; font-weight: 700; color: var(--yes);
  background: var(--yes-dim); padding: 3px 6px; border-radius: 4px;
}
.field-lab { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 6px; }
textarea, input, select {
  width: 100%; margin: 0 0 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit;
  transition: border-color 0.2s, outline 0.2s;
}
textarea { resize: vertical; min-height: 84px; }
textarea:focus, input:focus, select:focus {
  outline: 2px solid rgba(232, 184, 74, 0.35); border-color: rgba(232, 184, 74, 0.55);
}
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ok { color: var(--cyan); font-size: 12px; min-height: 1em; }
.facts { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.addr { display: grid; gap: 8px; }
.addr-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line);
}
.addr-row span { font-size: 10px; font-weight: 700; color: var(--muted); }
.addr-row code {
  font-family: var(--mono); font-size: 10.5px; overflow-wrap: anywhere; color: var(--amber);
}
.mini {
  border: 1px solid var(--line); background: var(--panel2); color: var(--text);
  border-radius: 6px; padding: 4px 8px; font-size: 11px; cursor: pointer; font-weight: 600;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.mini:hover { border-color: var(--amber); color: var(--amber); box-shadow: var(--glow-amber); }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trust-pills span {
  font-size: 11px; font-weight: 600; color: #6ee7b7;
  background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 4px 10px; border-radius: 999px;
}

footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); padding: 28px 22px 36px; text-align: center;
  color: var(--muted); font-size: 12px;
  display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center; align-items: center;
}
footer .ft-sep { opacity: 0.4; }
footer .ft-link {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  padding: 2px 6px; border-radius: 4px;
}
footer .ft-link:hover { color: var(--amber); }
footer .ft-bot { display: none !important; } /* IA: one agent rail only */

@media (max-width: 960px) {
  .hero, .layout, .how-grid, .stats-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .nav-mid { display: none; }
  .col-main { min-height: auto; }
}




/* —— Market countdown + pool (rumor layout, not foreign mint shell) —— */
.m-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.m-status {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); padding: 3px 8px; border-radius: 4px;
  background: rgba(94,234,212,0.1); border: 1px solid rgba(94,234,212,0.28);
}
.m-cd {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(232,184,74,0.12);
  border: 1px solid rgba(232,184,74,0.4);
  box-shadow: 0 0 18px rgba(232,184,74,0.15);
  font-family: var(--mono);
}
.m-cd-lab {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); opacity: 0.9;
}
.m-cd-val {
  font-size: 1.05rem; font-weight: 800; color: #fde68a;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(232,184,74,0.45);
}
.m-cd.cd-settle {
  background: rgba(94,234,212,0.1);
  border-color: rgba(94,234,212,0.4);
  box-shadow: 0 0 18px rgba(94,234,212,0.15);
}
.m-cd.cd-settle .m-cd-lab { color: var(--cyan); }
.m-cd.cd-settle .m-cd-val { color: #a7f3e8; text-shadow: 0 0 12px rgba(94,234,212,0.4); }
.m-cd.cd-ended {
  background: rgba(139,149,168,0.1); border-color: var(--line2);
  box-shadow: none;
}
.m-cd.cd-ended .m-cd-lab, .m-cd.cd-ended .m-cd-val { color: var(--muted); text-shadow: none; }
.m-pool {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px;
  align-items: center; margin: 10px 0 14px;
  font-size: 12.5px; color: var(--muted);
}
.m-pool b { color: var(--text); font-weight: 700; margin-right: 4px; }
.m-pool .pool-mid {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(232,184,74,0.1); border: 1px solid rgba(232,184,74,0.28);
  color: var(--amber); font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.m-pool .pool-mid b { color: var(--amber); }
.market-ph { opacity: 0.55; border-style: dashed !important; pointer-events: none; }
/* —— Crypto glass / edge light (learned density, not copy) —— */
.glass {
  background: linear-gradient(165deg, rgba(20, 24, 33, 0.92), rgba(12, 14, 20, 0.88)) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(232,184,74,0.04);
}
.market.glass:hover,
.how-card.glass:hover,
.action-card.glass:hover,
.trust-card.glass:hover,
.hero-panel.glass:hover {
  border-color: rgba(232, 184, 74, 0.45) !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.4),
    0 0 32px rgba(232, 184, 74, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(232,184,74,0.2);
}

.btn.glow {
  box-shadow: 0 0 0 1px rgba(232,184,74,0.35), 0 8px 28px rgba(232,184,74,0.35), 0 0 40px rgba(232,184,74,0.18);
}
.btn.glow:hover {
  box-shadow: 0 0 0 1px rgba(232,184,74,0.55), 0 10px 36px rgba(232,184,74,0.45), 0 0 56px rgba(232,184,74,0.28);
}
.btn.agent {
  background: linear-gradient(135deg, rgba(94,234,212,0.18), rgba(99,102,241,0.14));
  color: var(--cyan);
  border: 1px solid rgba(94,234,212,0.45);
  box-shadow: 0 0 20px rgba(94,234,212,0.12);
}
.btn.agent:hover {
  color: #a7f3e8;
  border-color: rgba(94,234,212,0.7);
  box-shadow: 0 0 28px rgba(94,234,212,0.25);
  transform: translateY(-2px);
}

.chips .bot {
  color: #a7f3e8;
  border-color: rgba(94,234,212,0.4);
  background: rgba(94,234,212,0.1);
}

/* Topbar agent / bot nav */
.nav-mid a.nav-bot {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(94,234,212,0.28);
  background: rgba(94,234,212,0.06);
}
.nav-mid a.nav-bot:hover {
  color: #fff;
  border-color: rgba(94,234,212,0.55);
  box-shadow: 0 0 16px rgba(94,234,212,0.2);
}
.agent-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #0a0b0f;
  background: linear-gradient(135deg, var(--cyan), #5b8def);
  text-decoration: none;
  box-shadow: 0 0 18px rgba(94,234,212,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.agent-pill:hover { color: #0a0b0f; transform: translateY(-1px); box-shadow: 0 0 28px rgba(94,234,212,0.5); }
.agent-pill .ap-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #052e16;
  box-shadow: 0 0 0 0 rgba(5,46,22,0.5);
  animation: livepulse 2s infinite;
}

/* Single Agent / skill / llms / CA rail — secondary strip, not a chip wall */
.agent-rail {
  margin: 0 0 32px;
  padding: 14px 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(94,234,212,0.18);
  background:
    linear-gradient(90deg, rgba(94,234,212,0.06), rgba(232,184,74,0.04) 55%, transparent),
    rgba(12, 14, 20, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.ar-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px; opacity: 0.9;
}
.ar-row {
  display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start;
}
.ar-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(7,8,12,0.55);
  border: 1px solid rgba(94,234,212,0.18);
  color: var(--muted); font-size: 11px; text-decoration: none;
  cursor: pointer; font-family: var(--mono);
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
  max-width: 100%;
}
.ar-chip b { color: var(--cyan); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.ar-chip:hover {
  color: var(--text); border-color: rgba(232,184,74,0.45);
  box-shadow: 0 0 18px rgba(232,184,74,0.15);
}
.ar-chip.ca-chip {
  border-color: rgba(232,184,74,0.35);
  flex: 1 1 280px;
}
.ar-chip.ca-chip b { color: var(--amber); }

/* Full CA — never ellipsis / never truncate */
.ar-chip.ca-chip,
.ms-badge.ca {
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
  word-break: break-all;
  align-items: flex-start;
}
.ar-chip .ca-full,
.ar-chip .ca-short,
.ms-badge.ca {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}
#caFull {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

/* Machine strip (legacy — consolidated into .agent-rail) */
.machine-strip { display: none !important; }
.ms-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.ms-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ms-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: var(--text); text-decoration: none;
  background: rgba(7,8,12,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--mono);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.ms-badge:hover { border-color: var(--amber); box-shadow: var(--glow-amber); color: var(--amber); }
.ms-badge i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan); display: inline-block;
}
.ms-badge.raw { color: var(--muted); font-weight: 600; }
.ms-badge.ca { color: var(--amber); border-color: rgba(232,184,74,0.35); }

/* Hero panel stronger */
.hero-panel.glass {
  position: relative; overflow: hidden;
}
.hero-panel.glass::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,184,74,0.25), transparent 70%);
  pointer-events: none;
}
.panel-val {
  text-shadow: 0 0 24px rgba(232,184,74,0.35);
}

/* Market odds glow */
.m-odds { text-shadow: 0 0 18px rgba(34,197,94,0.35); }
.odds-bar {
  box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}

/* How cards numbered glow */
.how-card .num {
  text-shadow: 0 0 12px rgba(232,184,74,0.4);
}

/* Footer bot paths */
footer .ft-bot {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
  margin-bottom: 10px;
}
footer .ft-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); margin-right: 4px;
}
footer .ft-bot a {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
}
footer .ft-bot a:hover { color: var(--amber); border-color: rgba(232,184,74,0.4); }

/* Scan shimmer on live tag */
.live-tag {
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
}

@media (max-width: 960px) {
  .agent-pill span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ms-row { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb-d, .fog-layer { animation: none !important; }
  .agent-pill .ap-dot { animation: none !important; }
  .btn.glow, .btn.agent { transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .live-pill i, .live-tag i, .orb, .skel-line, .skel-bar::after, .filler-grow { animation: none !important; }
  .enter { opacity: 1; animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none !important; }
  .btn, .how-card, .market, .st, .actions button, .mini, .lang,
  .odds-bar .y, .odds-bar .n, .bar > i, .action-card, .trust-card {
    transition: none !important; animation: none !important;
  }
  .btn:hover, .how-card:hover, .market:hover, .st:hover,
  .action-card:hover, .trust-card:hover { transform: none; box-shadow: none; }
}


/* —— Decompressed IA extras (2026-10-30) —— */
.btn.quiet {
  opacity: 0.72; font-weight: 600;
  border-color: rgba(46, 53, 72, 0.9);
  background: transparent;
}
.btn.quiet:hover { opacity: 1; }
.btn.primary.glow {
  min-height: 46px; padding: 12px 20px; font-size: 14px;
}
.chips span {
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: #c5ccd8;
}

/* Promo as secondary fold — less noise */
.promo-fold {
  padding: 0;
  overflow: hidden;
}
.promo-fold > summary.promo-sum {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; margin: 0;
  user-select: none;
}
.promo-fold > summary.promo-sum::-webkit-details-marker { display: none; }
.promo-fold > summary.promo-sum h3 { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.promo-fold[open] > summary.promo-sum h3 { color: var(--text); }
.promo-fold > summary.promo-sum .tag-mini {
  font-size: 10px; font-weight: 700; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 999px;
}
.promo-fold[open] { padding-bottom: 18px; }
.promo-fold > *:not(summary) { margin-left: 20px; margin-right: 20px; }
.promo-fold textarea { margin-top: 4px; }

.col-side { gap: 0; }
.m-meta {
  margin-top: 12px; font-size: 11px; color: var(--muted);
  font-family: var(--mono); overflow-wrap: anywhere;
  white-space: normal; overflow: visible; text-overflow: unset;
}
.tips-row { gap: 12px; margin-top: 4px; }
.tip { padding: 14px; }

@media (max-width: 960px) {
  .hero { gap: 20px; margin-bottom: 22px; }
  .layout { gap: 22px; }
  .agent-rail { margin-bottom: 24px; }
  .how { margin-bottom: 28px; }
  .ar-chip.ca-chip { flex-basis: 100%; }
}
