/* ============================================================
   domybidding.lol
   cool, clean, market-grade. that is the problem with it.
   ============================================================ */

:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --ink: #1b2129;
  --ink-2: #5a6472;
  --ink-3: #98a1ad;
  --hair: #e7eaef;
  --hair-2: #d9dee6;
  --blue: #2f56ff;
  --blue-deep: #2444d8;
  --blue-tint: #eef1ff;
  --blue-border: #c9d4ff;
  --yes: #1f9e5f;
  --yes-tint: #e7f5ee;
  --no: #d64545;
  --no-tint: #fdeeee;
  --warn: #b23a29;
  --warn-tint: #fdf0ee;
  --dark: #171b22;
  --r-lg: 14px;
  --r-md: 11px;
  --num: "tnum" 1, "lnum" 1;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
/* anchor jumps clear the sticky header */
.board, .activity, .how { scroll-margin-top: 76px; }

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }

button { font-family: inherit; cursor: pointer; }

#app { background: var(--bg); }

/* ---------- ticker strip ---------- */
.ticker-strip {
  background: #eceef2;
  border-bottom: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 12px;
  height: 32px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  font-feature-settings: var(--num);
  position: relative;
}
.ticker-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding-left: 20px;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick-item { display: inline-flex; gap: 7px; align-items: center; }
.tick-code { color: var(--ink); font-weight: 600; }
.tick-price { color: var(--ink-2); }
.tick-delta.up { color: var(--yes); }
.tick-delta.down { color: var(--no); }
.footer-tells { transition: opacity .6s ease; }

/* the footer tell waits for the visitor's first fourth-wall break;
   JS adds .untouched at boot, so with scripts off it stays visible */
body.untouched .footer-tells { opacity: 0; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { background: rgba(244,245,248,.92); backdrop-filter: blur(8px); border-bottom-color: var(--hair); }
.header-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-lol { color: var(--blue); font-weight: 700; }

.range-toggle {
  display: inline-flex;
  background: #eceef2;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.range-btn {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.range-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(27,33,41,.08); }
.today-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }

.site-nav { display: flex; gap: 2px; margin-left: auto; }
.nav-link {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 8px;
}
.nav-link:hover { background: #eceef2; color: var(--ink); }
.btn-nav-bid {
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9px;
  transition: background .12s;
}
.btn-nav-bid:hover { background: var(--blue-deep); }

/* ---------- status strip ---------- */
.status-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-feature-settings: var(--num);
}
.status-item { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.green { background: var(--yes); animation: pulse 2s ease-in-out infinite; }
.status-dot.blue { background: var(--blue); }
.status-strip a { color: var(--blue); font-weight: 700; text-decoration: none; }
.status-strip a:hover { color: var(--blue-deep); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- hero ---------- */
.hero { padding: 22px 0 4px; }
.hero-title {
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero-title .hero-line2 { color: var(--ink-3); display: block; }
.hero-sub {
  margin: 12px 0 0;
  max-width: 540px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-sub-blue { color: var(--blue); font-weight: 600; }

/* bid box */
.bidbox {
  margin: 18px 0 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: 0 1px 3px rgba(27,33,41,.04);
}
.bidbox-input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: none;
  border-radius: 9px;
  background: #eef0f4;
  color: var(--ink);
  outline: none;
}
.bidbox-input:focus { background: #e8ecf4; box-shadow: inset 0 0 0 1.5px var(--blue-border); }
.bidbox-input::placeholder { color: var(--ink-3); }
.bidbox-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
}
.stepper {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.stepper:hover { background: #eef0f4; }
.hero-price {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-feature-settings: var(--num);
}
.btn-outbid {
  width: 100%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px;
  border-radius: 10px;
  transition: background .12s;
}
.btn-outbid:hover { background: var(--blue-deep); }

/* ---------- chips ---------- */
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}
.chip-btn {
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .12s, color .12s;
}
.chip-btn:hover { background: #eceef2; }
.chip-btn.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip-restricted { color: var(--no); border-color: #f0c9c9; }
.chip-restricted.is-active { background: var(--no); border-color: var(--no); }

/* ---------- leaderboard rows ---------- */
.board { display: flex; flex-direction: column; gap: 10px; }
.lrow {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color .12s, box-shadow .12s;
}
.lrow:hover { border-color: var(--hair-2); box-shadow: 0 3px 12px rgba(27,33,41,.06); }
.lrow.rank-1 { background: var(--blue-tint); border: 1.5px solid var(--blue); }
.lrow.rank-2 { background: #f4f6ff; border-color: var(--blue-border); }
.lrow.rank-3 { border-color: var(--blue-border); }

.rank-badge {
  flex-shrink: 0;
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eceef2;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-feature-settings: var(--num);
  align-self: center;
}
.rank-1 .rank-badge, .rank-2 .rank-badge, .rank-3 .rank-badge { background: var(--blue); color: #fff; }

.lavatar {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  align-self: center;
  position: relative;
  overflow: hidden;
}
.lavatar.avatar-x { background: var(--dark); color: #6d7686; }
.lavatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lmain { flex: 1; min-width: 0; }
.ltitle {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.ldesc {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.redbar {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--warn);
  background: var(--warn-tint);
  border: 1px solid #f2d3cb;
  border-radius: 7px;
  padding: 5px 9px;
}
.redacted-blocks { margin-top: 5px; color: var(--ink-3); font-size: 10.5px; letter-spacing: 2px; }
.case-file {
  margin-top: 2px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-2);
  font-feature-settings: var(--num);
}
.case-file div::before { content: '· '; color: var(--ink-3); }
.t4-note {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--warn);
  line-height: 1.5;
}
.lmeta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-3);
  font-feature-settings: var(--num);
}
.lmeta b { color: var(--ink-2); font-weight: 600; }
.lmeta .meta-sep { color: var(--hair-2); }
.see-details {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.see-details:hover { color: var(--ink); }
.claim-link {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  font-feature-settings: var(--num);
}
.claim-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* right column: price + market */
.lside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  align-self: center;
  text-align: right;
}
.lprice {
  color: var(--blue);
  font-weight: 800;
  font-size: 17px;
  font-feature-settings: var(--num);
  white-space: nowrap;
}
.ldelta {
  font-size: 11px;
  font-weight: 700;
  font-feature-settings: var(--num);
  white-space: nowrap;
}
.ldelta.up { color: var(--yes); }
.ldelta.down { color: var(--no); }
.odds-pct {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  font-feature-settings: var(--num);
}
.odds-pct b { color: var(--ink); font-size: 12.5px; font-weight: 800; }
.odds-btns { display: flex; gap: 5px; }
.bet {
  border: none;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  font-feature-settings: var(--num);
  transition: filter .12s;
}
.bet:hover { filter: brightness(.94); }
.bet-yes { background: var(--yes-tint); color: var(--yes); }
.bet-no { background: var(--no-tint); color: var(--no); }
.odds-resolved {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: #eceef2;
  border-radius: 7px;
  padding: 5px 9px;
}

/* top-3 divider */
.top3-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
.top3-divider span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink-3);
  background: #eceef2;
  border-radius: 999px;
  padding: 5px 13px;
}

/* locked rows */
.lrow.is-locked .lavatar,
.lrow.is-locked .lmain,
.lrow.is-locked .lside { filter: blur(8px); pointer-events: none; user-select: none; }
.lrow.is-locked { overflow: hidden; }
.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 14px;
  background: rgba(244,245,248,.55);
  border-radius: var(--r-lg);
  z-index: 2;
}
.lock-kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--warn); }
.lock-text { font-size: 11.5px; color: var(--ink-2); max-width: 320px; line-height: 1.45; }
.lock-btn {
  margin-top: 3px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.lock-btn:hover { background: #eceef2; }
.lock-t4 .lock-kicker { color: var(--no); }

/* ---------- sections ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.section-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--no); animation: pulse 2s ease-in-out infinite; }
.section-title-plain {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}

/* activity */
.activity-feed {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 0;
}
.activity-feed li {
  padding: 9px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px solid #f2f4f7;
  animation: feed-in .25s ease;
  font-feature-settings: var(--num);
}
.activity-feed li:last-child { border-bottom: none; }
.activity-feed .feed-time { color: var(--ink-3); font-size: 10px; display: block; margin-bottom: 1px; }
.activity-feed .feed-amt { font-weight: 700; color: var(--ink); }
.activity-feed li.feed-ts { color: var(--warn); }
.activity-feed li.feed-ts .feed-amt { color: var(--warn); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* how it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.how-step {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 16px;
}
.how-num { font-size: 10.5px; font-weight: 800; color: var(--blue); letter-spacing: .1em; margin-bottom: 9px; }
.how-step h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.01em; }
.how-step p { font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.how-fine { margin-top: 12px; margin-bottom: 40px; font-size: 10.5px; color: var(--ink-3); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--hair); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 11.5px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-brand { font-weight: 700; color: var(--ink-2); }
.footer-sep { margin: 0 7px; }
.footer-right { display: flex; gap: 16px; align-items: center; }
.footer-right a, .footer-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: none;
}
.footer-right a:hover, .footer-link:hover { color: var(--ink); text-decoration: underline; }

/* ---------- floating pills ---------- */
.complicity {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 45;
  background: var(--dark);
  color: #aab2bf;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  font-feature-settings: var(--num);
  box-shadow: 0 6px 18px rgba(23,27,34,.28);
}
.complicity span { color: #fff; }


/* ---------- modals ---------- */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(23,27,34,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--surface);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(23,27,34,.3);
  position: relative;
  animation: modal-in .18s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 8px;
}
.modal h2 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 12px; font-weight: 800; }
.modal p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 10px; }
.modal .gate-stat { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn-plain {
  background: transparent;
  border: 1px solid var(--hair-2);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 15px;
}
.btn-plain:hover { background: var(--bg); }
.btn-dark {
  background: var(--dark);
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 17px;
}
.btn-dark:hover { background: #262c37; }
.btn-dark:disabled { background: #b8bec8; cursor: not-allowed; }
.btn-blue {
  background: var(--blue);
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 18px;
}
.btn-blue:hover { background: var(--blue-deep); }

/* attestation checkbox */
.attest-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  cursor: pointer;
}
.attest-row input {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--dark);
  flex-shrink: 0;
  cursor: pointer;
}
.attest-row span { font-size: 13px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.gate-steps {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}
.gate-steps i {
  width: 22px; height: 4px;
  border-radius: 2px;
  background: var(--hair-2);
}
.gate-steps i.done { background: var(--warn); }

.detail-modal { max-width: 540px; max-height: 86vh; overflow-y: auto; }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--ink-3);
  padding: 6px;
}
.modal-close:hover { color: var(--ink); }
.detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.detail-head .lavatar { width: 42px; height: 42px; font-size: 13px; }
.detail-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 4px; }
.detail-handle { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.verified { display: inline-block; margin-left: 5px; font-size: 10.5px; color: var(--blue); font-weight: 700; }
.detail-desc { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 10px 0 14px; }
.detail-bignum { font-size: 28px; font-weight: 800; color: var(--blue); font-feature-settings: var(--num); letter-spacing: -0.02em; }
.detail-bidmeta { font-size: 12px; color: var(--ink-3); margin-top: 2px; margin-bottom: 14px; font-feature-settings: var(--num); }
.detail-odds {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.detail-odds .bet {
  flex: 1;
  font-size: 13px;
  padding: 11px;
  border-radius: 9px;
}
.detail-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 16px 0 8px;
}
.bids-table { width: 100%; border-collapse: collapse; font-feature-settings: var(--num); }
.bids-table td {
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--ink-2);
}
.bids-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.terms-box {
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.report-link {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: underline;
  margin-top: 14px;
  padding: 0;
}
.report-ack { font-size: 12px; color: var(--ink-3); margin-top: 14px; font-style: italic; }

.chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 9px;
}
.chip-live { background: var(--yes-tint); color: var(--yes); }
.chip-settle { background: #eceef2; color: var(--ink-2); }
.chip-cat { background: var(--blue-tint); color: var(--blue); }

/* ============================================================
   THE FOURTH WALL: glitch choreography
   g1 stutter · g2 corruption · g3 CRT collapse · void
   ============================================================ */

#glitchStatic {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 90;
  display: none;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .9;
}
body.g2 #glitchStatic { display: block; }

#crtLine {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top: -1.5px;
  background: #fff;
  box-shadow: 0 0 24px 6px rgba(255,255,255,.9), 0 0 80px 20px rgba(255,255,255,.5);
  z-index: 95;
  display: none;
  transform-origin: center;
}
body.g3b #crtLine { display: block; animation: crt-die .34s ease-in forwards; }
@keyframes crt-die {
  0%   { transform: scaleX(1); opacity: 1; }
  60%  { transform: scaleX(.6); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}

body.glitching { overflow: hidden; background: #000; }
body.glitching #app { pointer-events: none; }

body.g1 #app { animation: g-stutter .38s steps(2) both; }
@keyframes g-stutter {
  0%   { transform: none; filter: none; }
  18%  { transform: translateX(-6px); }
  22%  { transform: translateX(4px) skewX(-.6deg); filter: contrast(1.6); }
  30%  { transform: none; filter: none; }
  58%  { transform: translateY(3px); filter: saturate(0) contrast(2); }
  64%  { transform: none; filter: none; }
  86%  { transform: translateX(9px) skewX(1deg); filter: invert(1); }
  92%  { transform: none; filter: none; }
}

body.g2 #app {
  animation:
    g-jitter .09s steps(2) infinite,
    g-rgb .27s steps(1) infinite,
    g-clip .19s steps(1) infinite;
}
@keyframes g-jitter {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-8px, 2px) skewX(-1.2deg); }
  50%  { transform: translate(5px, -3px); }
  75%  { transform: translate(-3px, 5px) skewX(.8deg); }
  100% { transform: translate(7px, 0) scaleY(1.01); }
}
@keyframes g-rgb {
  0%   { filter: drop-shadow(-4px 0 rgba(255,0,60,.8)) drop-shadow(4px 0 rgba(0,220,255,.8)); }
  28%  { filter: invert(1) contrast(1.8); }
  34%  { filter: drop-shadow(6px 0 rgba(255,0,60,.9)) drop-shadow(-6px 0 rgba(0,220,255,.9)) saturate(3); }
  60%  { filter: saturate(0) contrast(3) brightness(1.4); }
  78%  { filter: drop-shadow(-9px 0 rgba(255,0,60,.7)) drop-shadow(9px 0 rgba(0,220,255,.7)); }
  100% { filter: invert(1) hue-rotate(90deg); }
}
@keyframes g-clip {
  0%   { clip-path: none; }
  20%  { clip-path: polygon(0 0, 100% 0, 100% 34%, 0 34%, 0 38%, 100% 38%, 100% 100%, 0 100%); }
  40%  { clip-path: polygon(0 0, 100% 0, 100% 61%, 0 61%, 0 70%, 100% 70%, 100% 100%, 0 100%); }
  60%  { clip-path: none; }
  80%  { clip-path: polygon(0 0, 100% 0, 100% 12%, 0 12%, 0 21%, 100% 21%, 100% 100%, 0 100%); }
  100% { clip-path: none; }
}

body.g3 #app { animation: g-crush .26s ease-in forwards; }
@keyframes g-crush {
  0%   { transform: scaleY(1); filter: brightness(1); }
  55%  { transform: scaleY(.35); filter: brightness(2.2) saturate(0); }
  100% { transform: scaleY(.004); filter: brightness(6) saturate(0); }
}
body.g-dead #app { display: none; }

/* ---------- the void ---------- */
.fourth-wall {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050505;
  color: #d9d4c8;
  font-family: var(--serif);
  overflow-y: auto;
  display: flex;
}
.fw-inner {
  max-width: 620px;
  margin: auto;
  padding: 72px 32px;
}
.fourth-wall .fw-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 400;
  letter-spacing: .01em;
  color: #f2efe6;
  margin-bottom: 36px;
  opacity: 0;
}
.fourth-wall.is-on .fw-title { animation: fw-fade 1.4s ease .8s forwards; }
.fw-body { font-size: 16.5px; line-height: 1.85; }
.fw-body p { margin-bottom: 20px; opacity: 0; }
.fourth-wall.is-on .fw-body p { animation: fw-fade 1.2s ease forwards; }
.fourth-wall.is-on .fw-body p:nth-child(1) { animation-delay: 2.0s; }
.fourth-wall.is-on .fw-body p:nth-child(2) { animation-delay: 3.2s; }
.fourth-wall.is-on .fw-body p:nth-child(3) { animation-delay: 4.4s; }
.fourth-wall.is-on .fw-body p:nth-child(4) { animation-delay: 5.6s; }
.fourth-wall.is-on .fw-body p:nth-child(5) { animation-delay: 6.8s; }
.fw-body .fw-em { color: #f2efe6; }
.fw-body .fw-dim { color: #8d887c; font-size: 14.5px; }
@keyframes fw-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fw-links {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  align-items: center;
  opacity: 0;
}
.fourth-wall.is-on .fw-links { animation: fw-fade 1.2s ease 7.6s forwards; }
.fw-about { color: #f2efe6; font-size: 15px; }
.fw-about:hover { color: #fff; }
.fw-return {
  background: none;
  border: 1px solid #3a382f;
  color: #8d887c;
  font-family: var(--serif);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
}
.fw-return:hover { border-color: #6a675c; color: #d9d4c8; }

.fourth-wall.is-fast .fw-title,
.fourth-wall.is-fast .fw-body p,
.fourth-wall.is-fast .fw-links { animation-delay: 0s !important; animation-duration: .5s !important; }

/* ---------- statement page ---------- */
.statement-body {
  background: #f7f5f0;
  color: #23211c;
  font-family: var(--serif);
}
.statement-shell { max-width: 640px; margin: 0 auto; padding: 80px 28px 96px; }
.statement-shell h1 { font-size: 34px; font-weight: 400; margin-bottom: 8px; letter-spacing: -0.01em; }
.statement-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8d8778; margin-bottom: 40px; font-family: var(--font); font-weight: 600; }
.statement-shell h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.statement-shell p { font-size: 16.5px; line-height: 1.85; margin-bottom: 18px; }
.statement-shell .plain-list { margin: 0 0 18px 22px; font-size: 16.5px; line-height: 1.85; }
.statement-shell a { color: #23211c; }
.statement-footer { margin-top: 56px; padding-top: 24px; border-top: 1px solid #ddd8cc; font-size: 14px; color: #8d8778; }
.statement-footer a { color: #8d8778; }

/* ---------- misc ---------- */
.stat-flash { color: var(--yes) !important; transition: none !important; }
.lprice { transition: color .5s ease; }

/* ---------- responsive ---------- */
@media (max-width: 700px) {
  /* two rows: brand + post button, then the range toggle + About */
  .header-inner { gap: 10px; row-gap: 6px; height: auto; padding: 9px 16px; flex-wrap: wrap; }
  .brand { order: 0; }
  .btn-nav-bid { order: 1; margin-left: auto; }
  .range-toggle { order: 2; margin-left: 0; }
  .site-nav { order: 3; margin-left: auto; }
  .nav-hide-sm { display: none; }
  .board, .activity, .how { scroll-margin-top: 118px; }
  .how-grid { grid-template-columns: 1fr; }
  .lrow { flex-wrap: wrap; }
  .lside { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
  .sim-badge { font-size: 9px; padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  body.g1 #app, body.g2 #app, body.g3 #app { animation: none; }
  body.g2 #glitchStatic { display: none; }
}
