:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --green: #1d8a4e;
  --ticker-green: #30d158;
  --red: #d70015;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --brand-gradient: linear-gradient(90deg, #0071e3 0%, #8a3ffc 55%, #e63d8b 100%);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-decoration: none; }
b { font-weight: 600; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-3); }

/* ---------------------------------------------------------------- contract address strip */

.ca-strip {
  display: flex;
  justify-content: center;
  height: 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ca-address {
  max-width: calc(100% - 32px);
  border: 0;
  background: none;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  transition: color 0.2s;
}
.ca-address:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ca-address.copied { font-family: var(--font); color: var(--green); text-decoration: none; }
.ca-address.pending { font-family: var(--font); color: var(--text-3); cursor: default; text-decoration: none; }

/* ---------------------------------------------------------------- top bar: ticker + nav */

.topbar { position: sticky; top: 0; z-index: 50; }

.ticker {
  display: flex;
  align-items: center;
  height: 34px;
  background: #000;
  color: #f5f5f7;
  font-size: 12px;
  letter-spacing: -0.005em;
  overflow: hidden;
}

.ticker-label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px 0 20px;
  background: #000;
  font-weight: 600;
  z-index: 1;
  box-shadow: 12px 0 16px #000;
}
.ticker-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ticker-green);
  animation: live 2s ease-in-out infinite;
}

.ticker-track { flex: 1; overflow: hidden; height: 100%; }
.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: marquee var(--duration, 60s) linear infinite;
}
.ticker:hover .ticker-inner { animation-play-state: paused; }

.tk { color: inherit; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; }
.tk b { font-weight: 600; }
.tk .addr { font-family: var(--mono); color: #a1a1a6; font-size: 11px; }
.tk .amt { color: var(--ticker-green); font-variant-numeric: tabular-nums; }
.tk .round { color: #6e6e73; }
.tk::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #424245; margin-left: 22px; margin-right: -22px; }

.tk.empty::after { display: none; }
button.tk { border: 0; background: none; font: inherit; cursor: pointer; height: 100%; }

/* Latest bids ribbon, pinned to the bottom of the screen */
.bids-ticker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; }
body { padding-bottom: 34px; }
.bids-ticker .ticker-label::before { background: #2997ff; }
.bids-ticker .tk .amt { color: #2997ff; }

/* Chat ribbon under the headline: sliding messages plus a box to add one */
.chat-ribbon { height: 44px; border-top: 1px solid #1d1d1f; }
.chat-ribbon .ticker-label::before { background: #a36bff; }
.chat-ribbon .tk .addr { color: #a36bff; }
.chat-ribbon .tk .name { color: #a36bff; font-weight: 600; }
.chat-inner { animation: none; will-change: transform; } /* moved by app.js, not the marquee */
.chat-form {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 16px 0 14px;
  background: #000;
  box-shadow: -12px 0 16px #000;
  z-index: 1;
}
.chat-form input {
  width: 240px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #333336;
  border-radius: 980px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-form input::placeholder { color: #86868b; }
.chat-form input:focus { border-color: #a36bff; }
.chat-form .chat-name { width: 120px; }
.chat-form button {
  height: 28px;
  padding: 0 14px;
  border: 0;
  border-radius: 980px;
  background: #f5f5f7;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.chat-form button:disabled { opacity: 0.5; cursor: default; }

/* Emoji ribbon under the words: no band, just the emojis on the page */
.react-ribbon { height: 56px; background: none; color: var(--text); }
.react-list {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.react-list::-webkit-scrollbar { display: none; }
/* Centred when there's room, scrollable from the start when there isn't. */
.react-list > :first-child { margin-left: auto; }
.react-list > :last-child { margin-right: auto; }
.react-button {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.15s var(--ease), background 0.2s;
}
.react-button:hover { background: var(--bg-alt); transform: scale(1.15); }
.react-button:focus-visible { outline: 2px solid #ff5fa2; outline-offset: -2px; }
.react-button.pop { animation: pop 0.35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }

/* Emojis flying up the screen (animated from app.js). They sit beneath the page content,
   so they pass behind the words and disappear behind anything with a background. */
.emoji-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.flying-emoji { position: absolute; font-size: 34px; line-height: 1; user-select: none; will-change: transform, opacity; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes live { 50% { opacity: 0.3; } }

.globalnav {
  height: 52px;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Wordmark: the logo is the "A", sized to the cap height and sat on the text baseline. */
.logo { display: flex; align-items: baseline; color: var(--text); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1; }
.logo-mark { display: block; height: 0.76em; width: auto; margin-right: 0.05em; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text); opacity: 0.8; font-size: 12px; letter-spacing: -0.01em; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

.wallet-button {
  border: 0;
  border-radius: 980px;
  padding: 6px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.wallet-button:hover { background: var(--blue-hover); }
.wallet-button.connected { background: var(--bg-alt); color: var(--text); font-family: var(--mono); font-size: 11px; }
.wallet-button.connected:hover { background: #e8e8ed; }
.wallet-button .bal { color: var(--text-2); margin-left: 6px; font-family: var(--font); font-size: 12px; }

/* ---------------------------------------------------------------- buttons */

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 980px;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}
.pill-button:hover { background: var(--blue-hover); }
.pill-button:active { transform: scale(0.98); }
.pill-button:disabled { opacity: 0.4; cursor: default; transform: none; }
.pill-button.small { padding: 8px 16px; font-size: 14px; }
.pill-button.tiny { padding: 5px 14px; font-size: 13px; }
.pill-button.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.pill-button.ghost:hover { background: rgba(0, 102, 204, 0.06); }
.pill-button.wide { width: 100%; }

.text-link { border: 0; background: none; padding: 0; color: var(--link); font-size: 17px; }
.text-link:hover { text-decoration: underline; }
.text-link.muted { color: var(--text-2); }

/* ---------------------------------------------------------------- hero */

/* Headline sits on a black banner so it stands out above the words. */
.hero {
  padding: 48px 22px 52px;
  background: #000;
  border-top: 1px solid #1d1d1f;
  color: #f5f5f7;
  text-align: center;
}
.hero .gradient-text { background-image: linear-gradient(90deg, #2997ff 0%, #a36bff 55%, #ff5fa2 100%); }

h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: rise 1s var(--ease) both;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow { margin: 0 0 8px; color: var(--text-2); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- words across the screen */

/* Words are laid out by JS on a spiral: biggest in the centre, shrinking outward. */
.cloud { padding: 72px 16px 144px; overflow: hidden; }
.cloud-stage { position: relative; width: 100%; min-height: 360px; }
.cloud-empty { margin: 120px 0 0; text-align: center; color: var(--text-3); font-size: 21px; }
.cloud-empty:not([hidden]) + .cloud-stage { display: none; }
.cloud-inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

.word {
  position: absolute;
  border: 0;
  background: none;
  padding: 0;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.6s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
  animation: bloom 0.9s var(--ease) both;
  animation-delay: calc(150ms + var(--i) * 28ms);
}
.cloud-stage:not(.ready) .word { animation: none; opacity: 0; }
@keyframes bloom {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
.word.open { color: #c7c7cc; }
/* Bought: the word stays black with a glow behind it in the "Earn the fees" gradient.
   The glow is a blurred gradient copy of the word; its box is a little bigger than the
   word's so descenders (g, p) and edge letters still get colour. */
.word.owned::before,
.word.owned::after {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: -0.1em;
  right: -0.1em;
  bottom: -0.15em;
  padding: 0 0.1em;
  z-index: -1;
  background-image: linear-gradient(90deg, #2997ff 0%, #a36bff 55%, #ff5fa2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.word.owned::before { filter: blur(0.06em); opacity: 0.45; }
.word.owned::after { filter: blur(0.2em); opacity: 0.3; }
.word.open:hover, .word.open:focus-visible { color: #86868b; }
.word.settled { animation: none; }
.word.flash, .word.settled.flash { animation: pulse 0.9s var(--ease); }
.word:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }

/* Hovering one word quietly steps the rest back. */
.cloud:has(.word:hover) .word:not(:hover) { opacity: 0.18; }
.word:hover { transform: scale(1.04); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  40% { transform: scale(1.08); }
}

/* ---------------------------------------------------------------- hover card */

.hovercard {
  position: fixed;
  z-index: 60;
  width: 248px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 18px 50px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.hovercard.show { opacity: 1; transform: none; }
.hc-word { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.hovercard dl { margin: 0; }
.hovercard dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.hovercard dt { color: var(--text-2); }
.hovercard dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hovercard .hc-bid { margin-top: 4px; padding-top: 9px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.hovercard .hc-bid dd { color: var(--blue); }
.hc-foot { margin: 8px 0 0; font-size: 11px; color: var(--text-3); }

/* Before launch: words are shown greyed out, but bidding isn't open yet. */
body:not(.preview) .when-preview, body.preview .when-live { display: none; }
body.preview .word { cursor: default; }

/* ---------------------------------------------------------------- auction */

.auction, .how {
  max-width: 1024px;
  margin: 0 auto;
  padding: 100px 22px 0;
}

.section-head { text-align: center; margin-bottom: 40px; }
.auction { padding-top: 112px; max-width: 1280px; }
.auction .section-head { margin-bottom: 56px; }
.auction h2 { font-size: clamp(24px, 2.6vw, 32px); }

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.round-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 28px 32px 34px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
}
.round-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.round-stat span { color: var(--text-2); font-size: 13px; }
.round-stat strong {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.countdown-stat strong { font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.round-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, 0.05); }
.round-progress i { display: block; height: 100%; width: 0; background: var(--brand-gradient); transition: width 1s linear; }

.table-wrap {
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 8px 24px;
  overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; color: var(--text-2); font-weight: 500; font-size: 13px; padding: 18px 10px 12px; }
td { padding: 12px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr { cursor: pointer; transition: background 0.15s; }
tbody tr:hover { background: rgba(0, 0, 0, 0.03); }
td.word-cell { font-weight: 600; }
td.addr { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
td.bid-cell strong { font-weight: 600; }
td.bid-cell small { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
td.action { text-align: right; width: 1%; }
td.payout-cell strong { font-weight: 600; color: var(--green); }
.tx-link { display: block; font-family: var(--mono); font-size: 11px; color: var(--link); }
.tx-link:hover { text-decoration: underline; }
tr.bumped td { animation: bump 1.2s ease; }
.you { color: var(--blue); font-family: var(--font); font-weight: 600; }
@keyframes bump { 0% { background: rgba(0, 113, 227, 0.12); } 100% { background: transparent; } }

/* ---------------------------------------------------------------- how it works */

.section-lede { max-width: 680px; margin: 20px auto 0; color: var(--text-2); font-size: 19px; line-height: 1.5; }

/* Numbered steps, each on a light card with the number in the brand gradient. */
.steps { list-style: none; max-width: 820px; margin: 0 auto; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
  padding: 28px 32px 30px;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.step::before {
  content: counter(step);
  grid-row: span 2;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin: 4px 0 8px; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-2); }
.step b { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- footer */

.footer { max-width: 980px; margin: 120px auto 0; padding: 24px 22px 48px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; }
.footer p { margin: 0 0 6px; }
.footer code { font-family: var(--mono); color: var(--text-2); word-break: break-all; }
.footer .mono-link { font-family: var(--mono); word-break: break-all; }
.footer .mono-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- sheets */

.sheet {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 36px 36px 30px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.sheet[open] { animation: sheet-in 0.35s var(--ease); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

.sheet .eyebrow { font-size: 14px; font-variant-numeric: tabular-nums; }

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 13px;
}
.close:hover { background: #e8e8ed; }

.sheet-word { font-size: clamp(44px, 10vw, 68px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px; word-break: break-word; }

.sheet-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.sheet-facts.three { grid-template-columns: 1fr 1fr 1fr; }
.sheet-facts div { background: var(--bg-alt); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sheet-facts span { color: var(--text-2); font-size: 12px; }
.sheet-facts strong { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-facts strong.addr-value { font-family: var(--mono); font-size: 14px; line-height: 1.75; }

.current-bid { margin-top: 22px; display: grid; gap: 2px; }
.current-bid span { font-size: 13px; color: var(--text-2); }
.current-bid strong { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.current-bid strong.flash { animation: pulse 0.9s var(--ease); }
.current-bid em { font-style: normal; font-size: 13px; color: var(--text-3); font-family: var(--mono); }
.current-bid em.leading { color: var(--green); font-family: var(--font); font-weight: 600; }

.bid-form { margin-top: 18px; }
.bid-form.leading .bid-field, .bid-form.leading .bid-help { display: none; }
.bid-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bid-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.bid-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bid-field > span { color: var(--text-2); font-size: 14px; font-weight: 500; }
.bid-help { margin: 8px 0 16px; font-size: 13px; color: var(--text-2); }
.form-error { min-height: 1.2em; margin: 10px 0 0; font-size: 14px; color: var(--red); text-align: center; }

.history { margin-top: 20px; }
.history-title { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.history ul { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.history li .addr { font-family: var(--mono); font-size: 12px; }
.history li.empty { color: var(--text-3); }
.history li.clickable { cursor: pointer; }
.history li.clickable:hover { color: var(--link); }

.wallet-address { font-family: var(--mono); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 22px; }
.wallet-actions { display: flex; justify-content: space-between; margin-top: 24px; }
.wallet-actions .text-link { font-size: 14px; }
.wallet-choices { display: grid; gap: 10px; margin-top: 20px; }

/* ---------------------------------------------------------------- toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 58px;
  transform: translate(-50%, 20px);
  padding: 12px 20px;
  border-radius: 980px;
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- scroll reveal */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */

@media (hover: none) {
  .hovercard { display: none; }
}

@media (max-width: 833px) {
  .nav-links { display: none; }
  .round-bar { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 0 16px; }
  .ticker-label { padding-left: 16px; }
  .hero { padding: 32px 16px 36px; }
  .cloud { padding: 44px 8px 104px; }
  .auction { padding-top: 72px; }
  .auction .section-head { margin-bottom: 36px; }
  .auction, .how { padding-left: 16px; padding-right: 16px; }
  .round-bar { padding: 22px 20px 28px; gap: 18px; }
  .step { grid-template-columns: 1fr; padding: 24px 22px 26px; }
  .step::before { grid-row: auto; margin-bottom: 12px; font-size: 36px; }
  .step h3 { font-size: 21px; }
  .section-lede { font-size: 17px; }
  .table-wrap { padding: 4px 10px; }
  td, th { padding-left: 6px; padding-right: 6px; }
  .sheet { padding: 32px 22px 24px; }
  .sheet-facts.three { grid-template-columns: 1fr 1fr; }
  .sheet-facts strong { font-size: 15px; }
  .wallet-button .bal { display: none; }
  /* Chat box drops below the sliding messages */
  .chat-ribbon { flex-wrap: wrap; height: auto; }
  .chat-ribbon .ticker-label, .chat-ribbon .ticker-track { height: 34px; }
  .chat-form { flex: 1 1 100%; min-width: 0; height: auto; padding: 0 16px 10px; box-shadow: none; }
  .chat-form input { flex: 1; width: auto; min-width: 0; font-size: 16px; }
  .chat-form .chat-name { flex: 0 0 30%; width: auto; }
  .react-list { padding: 0 6px; }
}
