/* © 2026 FOMO Alerts. All rights reserved. */
/* The new home page, on top of site.css: the hero, $ALERT (numbers, chart, holders, supply), the video, the roadmap's
   frame, the chains and the X posts. */

/* ============================== hero ============================== */
.hero { position: relative; }
.hero-stage {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: calc(var(--hd) + clamp(32px, 8vw, 72px)) var(--gx) clamp(48px, 9vw, 80px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transform-origin: 60% 40%; will-change: transform; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 5, 16, 0.55) 0%, rgba(6, 5, 16, 0.78) 45%, rgba(6, 5, 16, 0.55) 75%, var(--bg) 100%),
    radial-gradient(80% 60% at 70% 40%, transparent, rgba(6, 5, 16, 0.5));
}
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%; perspective: 300px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 24%, rgba(0, 0, 0, 0.85) 45%, transparent 92%); mask-image: linear-gradient(to top, transparent 0%, #000 24%, rgba(0, 0, 0, 0.85) 45%, transparent 92%);
}
.hero-floor i {
  position: absolute; inset: 0; transform-origin: 50% 100%; transform: rotateX(58deg);
  background-image: linear-gradient(rgba(99, 227, 255, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 227, 255, 0.13) 1px, transparent 1px);
  background-size: 68px 68px; background-position: 50% 0; animation: floor 6s linear infinite; will-change: transform;
  top: -68px; /* (one grid square more, so the slide never shows an edge) */
}
@keyframes floor { from { transform: rotateX(58deg) translateY(0); } to { transform: rotateX(58deg) translateY(68px); } }
.lite .hero-floor i { animation: none; }
.hero-in { position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 3; max-width: 46rem; will-change: opacity, transform; }
.hero-copy.gone { pointer-events: none; visibility: hidden; }
.hero h1 { margin: 0; font-size: clamp(2.9rem, 12vw, 4.6rem); font-weight: 640; line-height: 0.96; letter-spacing: -0.052em; text-wrap: balance; }
.lead { margin: clamp(18px, 3vh, 34px) 0 0; max-width: 35rem; color: var(--dim); font-size: clamp(1.05rem, 0.45vw + 0.9rem, 1.3rem); line-height: 1.6; }
.lead b { color: var(--text); font-weight: 600; }
.tg-word { color: var(--text); font-weight: 600; white-space: nowrap; }
.tg { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.22em; vertical-align: -0.16em; color: #2aabee; }

/* the referral code: phones and tablets only (people sign up in Fomo's app there, where the link's code doesn't carry) */
.code {
  display: none; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 26rem; height: 3rem; margin-top: 24px; padding: 0 5px 0 14px;
  border: 1px dashed rgba(33, 201, 94, 0.5); border-radius: 8px; background: rgba(33, 201, 94, 0.05); cursor: pointer; transition: background-color 0.2s;
}
.code:hover { background: rgba(33, 201, 94, 0.09); }
.code-l { color: var(--dim); font-size: 0.8rem; }
.code-v { font: 600 1rem/1 var(--mono); letter-spacing: 0.05em; color: var(--text); }
.code-a {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 2.1rem; padding: 0 11px; border-radius: 6px;
  background: var(--green); color: #03140a; font: 600 0.82rem/1 var(--sans); transition: background-color 0.2s;
}
.code-a svg { width: 14px; height: 14px; }
.done .code-a { background: #f1f3fb; }
@media (max-width: 1023px), (max-height: 559px) { .code { display: flex; } }

/* the chart screen */
.rig { position: relative; z-index: 2; margin-top: clamp(40px, 9vw, 72px); }
.vp {
  margin: 0; border-radius: var(--r); overflow: hidden; background: #04050c; will-change: transform;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95), 0 0 80px -24px rgba(99, 227, 255, 0.35);
}
.vp video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* computers: text left, the screen in depth on the right; the hero holds while you scroll (home.js) */
@media (min-width: 1024px) and (min-height: 560px) {
  .hero-stage { height: 100vh; height: 100svh; min-height: 560px; padding: var(--hd) var(--gx) var(--ab); justify-content: center; }
  .hero-veil {
    background:
      linear-gradient(90deg, rgba(6, 5, 16, 0.95) 0%, rgba(6, 5, 16, 0.84) 30%, rgba(6, 5, 16, 0.42) 60%, rgba(6, 5, 16, 0.62) 100%),
      linear-gradient(180deg, rgba(6, 5, 16, 0.65) 0%, transparent 20%, transparent 72%, var(--bg) 100%);
  }
  .hero-floor { left: 40%; }
  .hero-in { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: center; gap: 3vw; height: 100%; }
  .hero h1 { font-size: min(6.6vw, 14vh, 10.8rem); }
  .rig { height: 100%; margin: 0; display: flex; align-items: center; justify-content: flex-end; perspective: 1700px; perspective-origin: 10% 46%; }
  .vp { flex: none; width: 96%; transform: translate3d(0, 0, -140px) rotateY(-19deg) rotateX(5deg); transform-origin: 50% 50%; }
  .js .hero { height: 220vh; }
  .js .hero-stage { position: sticky; top: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 560px) { .hero-in { grid-template-columns: minmax(0, 50fr) minmax(0, 50fr); } }
@media (min-width: 1024px) and (min-height: 560px) and (prefers-reduced-motion: reduce) {
  .js .hero { height: auto; }
  .js .hero-stage { position: relative; }
}

/* ============================== $ALERT ============================== */
.tok { padding-top: clamp(64px, 6vw, 130px); }
.tok-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px; }
.tok-title { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 30px); min-width: 0; }
.tok-logo { flex: none; width: clamp(56px, 5vw, 104px); height: auto; border-radius: 50%; box-shadow: 0 0 0 7px rgba(33, 201, 94, 0.06), 0 0 50px -6px rgba(33, 201, 94, 0.45); }
.tok-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.tok-act .btn { height: 3rem; }
.ca {
  display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; height: 3rem; padding: 0 6px 0 14px;
  border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.045); cursor: pointer; text-align: left; transition: background-color 0.2s;
}
.ca:hover { background: rgba(255, 255, 255, 0.08); }
.ca-l { flex: none; color: var(--dim2); font: 600 0.78rem/1 var(--mono); }
.ca-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 0.86rem; }
.ca-i { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--dim); }
.ca-i svg { grid-area: 1 / 1; width: 15px; height: 15px; transition: opacity 0.2s, transform 0.2s; }
.ca-i .i-d { opacity: 0; transform: scale(0.5); color: var(--green); }
.ca.done .i-c { opacity: 0; transform: scale(0.5); }
.ca.done .i-d { opacity: 1; transform: none; }
/* until $ALERT is live (coin.js): "CA Coming soon", nothing to copy */
.ca:disabled { padding-right: 16px; cursor: default; }
.ca:disabled:hover { background: rgba(255, 255, 255, 0.045); }
.ca:disabled .ca-v { color: var(--cyan); font-weight: 600; }
.ca:disabled .ca-i { display: none; }
.tok-soon { max-width: 60ch; margin: 22px 0 0; color: var(--dim); font-size: clamp(1.02rem, 0.4vw + 0.9rem, 1.25rem); }
.tok-soon a { color: var(--text); }

/* the numbers: no boxes, just the figures */
.tiles { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(5, minmax(0, 1fr)); gap: 24px clamp(18px, 2.4vw, 48px); margin-top: clamp(40px, 3.6vw, 72px); }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-l { color: var(--dim); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-v { position: relative; z-index: 1; font: 600 clamp(1.45rem, 1.75vw, 2.4rem)/1.05 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-mc .t-v { font-size: clamp(2.3rem, 3.1vw, 4.2rem); letter-spacing: -0.045em; }
.t-s { position: relative; z-index: 1; font: 600 0.9rem/1 var(--mono); }
.t-tx { display: flex; align-items: baseline; gap: 6px; }
.t-tx .sep { color: var(--dim2); font-weight: 400; }
.t-ratio { display: block; height: 3px; margin-top: 6px; border-radius: 2px; background: rgba(255, 98, 46, 0.7); overflow: hidden; }
.t-ratio i { display: block; width: 50%; height: 100%; background: var(--green); transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.spark { position: absolute; right: 0; bottom: 0; width: 44%; height: 76%; pointer-events: none; }
.tile.flash.f-up .t-v { animation: fUp 1.4s ease-out; }
.tile.flash.f-dn .t-v { animation: fDn 1.4s ease-out; }
@keyframes fUp { from { color: var(--green-2); } }
@keyframes fDn { from { color: var(--red); } }

/* the chart and the holders */
.cs-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(420px, 31vw, 880px)); gap: clamp(24px, 2.6vw, 56px); margin-top: clamp(36px, 3vw, 60px); }
/* the chart, as on a Fomo coin page: Fomo's background, system font, toolbar on top, ranges and scale buttons below */
.fc {
  --fbg: #060510; --fline: #23222e; --ftext: #f4f4f6; --fdim: #9899a3; --ffont: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; flex-direction: column; min-width: 0; color: var(--ftext); background: var(--fbg);
  font-family: var(--ffont);
}
.fc-top { display: flex; align-items: center; gap: 2px; padding: 0 0 8px; }
.fc-btn { border: 0; border-radius: 6px; padding: 6px 10px; background: transparent; color: var(--ftext); font: 600 14px/1.2 var(--ffont); cursor: pointer; white-space: nowrap; }
.fc-btn:hover { background: rgba(255, 255, 255, 0.05); }
.fc-int { position: relative; }
.fc-menu {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; display: flex; flex-direction: column; min-width: 150px; padding: 4px;
  border-radius: 10px; background: #12111c; box-shadow: 0 0 0 1px var(--fline), 0 12px 32px rgba(0, 0, 0, 0.5);
}
.fc-menu button { border: 0; border-radius: 6px; padding: 8px 10px; background: transparent; color: var(--ftext); font: 500 14px/1.2 var(--ffont); text-align: left; cursor: pointer; }
.fc-menu button:hover { background: rgba(255, 255, 255, 0.05); }
.fc-menu button.on { color: var(--accent); }
.fc-units { color: var(--fdim); }
.fc-units span { color: var(--ftext); }
.fc-units[data-mode="mcap"] .u-mcap, .fc-units[data-mode="price"] .u-price { color: var(--accent); }
.fc-sep { flex: none; width: 1px; height: 20px; margin: 0 6px; background: var(--fline); }
.fc-dex { display: grid; place-items: center; margin-left: auto; width: 32px; height: 32px; border-radius: 8px; opacity: 0.75; transition: opacity 0.2s, background-color 0.2s; }
.fc-dex:hover { opacity: 1; background: rgba(255, 255, 255, 0.05); }
.fc-dex img { width: 22px; height: 22px; border-radius: 6px; }
.fc-wrap { position: relative; flex: 1; min-height: clamp(420px, 33vw, 860px); overflow: hidden; border-top: 1px solid var(--fline); }
.fc-chart { position: absolute; inset: 0; }
.fc-legend { position: absolute; left: 10px; top: 8px; z-index: 3; max-width: calc(100% - 100px); pointer-events: none; font-variant-numeric: tabular-nums; }
.fc-legend .lg-row { display: flex; align-items: baseline; gap: 8px; overflow: hidden; white-space: nowrap; }
.fc-legend .lg-name { font-size: 15px; }
.fc-legend .ohlc { display: flex; gap: 6px; font-size: 12px; }
.fc-legend i { margin-left: 2px; font-style: normal; }
.fc-legend .lg-vol { margin-top: 2px; font-size: 13px; }
.fc .green { color: var(--green); }
.fc .red { color: var(--red); }
.fc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 2px; border-top: 1px solid var(--fline); }
.fc-ranges, .fc-right { display: flex; align-items: center; gap: 2px; }
.fc-bottom button { border: 0; border-radius: 6px; padding: 4px 8px; background: transparent; color: var(--ftext); font: 500 13px/1.2 var(--ffont); cursor: pointer; }
.fc-bottom button:hover { background: rgba(255, 255, 255, 0.05); }
.fc-bottom button.on { color: var(--accent); }
.fc-clock { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-wait { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.cs-wait i { position: relative; width: 140px; height: 2px; overflow: hidden; border-radius: 1px; background: var(--line-2); }
.cs-wait i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); transform: translateX(-100%); animation: wait 1.6s ease-in-out infinite; }
@keyframes wait { to { transform: translateX(250%); } }
.fc-fail { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--fdim); font-size: 14px; text-decoration: none; }

.hl { display: flex; flex-direction: column; min-width: 0; }
.hl-table { min-width: 0; }
.hl-row {
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) clamp(6.8rem, 7.8vw, 10.5rem) 4.4rem; align-items: center; gap: 12px;
  height: clamp(32px, 1.85vw, 40px); padding: 0 6px; border-radius: 6px; font-size: 0.86rem;
}
.hl-row:not(.hl-cols):hover { background: rgba(255, 255, 255, 0.035); }
.hl-cols { height: 30px; color: var(--dim2); font-size: 0.8rem; }
.hl-rank { color: var(--dim2); font: 500 0.74rem/1 var(--mono); }
.hl-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hl-who a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); text-decoration: none; font: 500 0.8rem/1.2 var(--mono); transition: color 0.2s; }
.hl-who a.named { font: 600 0.88rem/1.2 var(--sans); }
.hl-who a:hover { color: var(--cyan); }
.hl-tag { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.hl-tag.t-pool, .hl-tag.t-curve { background: #21c95e; }
.hl-tag.t-lock { background: #f4c84a; }
.hl-tag.t-dev, .hl-tag.t-promo { background: #b07cff; }
.hl-badge { flex: none; width: 28px; height: 18px; object-fit: contain; }
.hl-pct { display: flex; align-items: center; gap: 10px; min-width: 0; font: 500 0.78rem/1 var(--mono); }
.hl-pct > span:first-child { flex: none; width: 3.6em; text-align: right; }
.hl-m { flex: 1; min-width: 0; height: 3px; border-radius: 2px; background: rgba(148, 170, 255, 0.09); overflow: hidden; }
.hl-m i { display: block; height: 100%; background: var(--cyan); opacity: 0.85; }
.hl-m i.t-pool, .hl-m i.t-curve { background: #21c95e; }
 .hl-m i.t-lock { background: #f4c84a; } .hl-m i.t-dev, .hl-m i.t-promo { background: #b07cff; }
.hl-num { color: var(--dim); font: 500 0.78rem/1 var(--mono); text-align: right; white-space: nowrap; }
.hl-cols .hl-num { font: inherit; color: inherit; }
.hl-empty { padding: 24px 6px; color: var(--dim); }
.hl-row.scan { animation: scanIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes scanIn { from { opacity: 0; transform: translateX(8px); } }

/* supply and safety: one small row */
.sup { margin-top: clamp(56px, 5vw, 110px); }
.sup-in { display: grid; grid-template-columns: clamp(140px, 10vw, 220px) auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 3.4vw, 80px); }
.ring { position: relative; }
.ring svg { width: 100%; height: auto; overflow: visible; }
.ring-track { fill: none; stroke: rgba(148, 170, 255, 0.07); stroke-width: 20; }
.ring-arc { fill: none; stroke-width: 20; cursor: pointer; transition: stroke-width 0.25s, opacity 0.25s; outline: none; }
.ring-arc:focus-visible { stroke-width: 26; }
.ring.has-on .ring-arc { opacity: 0.3; }
.ring.has-on .ring-arc.on { opacity: 1; stroke-width: 26; }
.ring-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.ring-mid b { font: 650 clamp(1.4rem, 1.6vw, 2.2rem)/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ring-mid span { margin-top: 6px; color: var(--dim); font-size: 0.8rem; }
.legend { display: grid; gap: 2px; }
.legend button {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 12rem; padding: 8px 10px;
  border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; transition: background-color 0.2s;
}
.legend button:hover, .legend button.on { background: rgba(255, 255, 255, 0.05); }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { font: 600 0.9rem/1 var(--mono); }
.c-sale { background: #21c95e; } .c-air { background: #4f9dff; } .c-team { background: #f4c84a; } .c-promo { background: #b07cff; }
.facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 12px; min-height: 28px; font-size: 1rem; }
.facts .ok { flex: none; width: 18px; height: 18px; color: var(--green); }
.pf { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: var(--dim); transition: color 0.2s, background-color 0.2s; }
.pf:hover { color: var(--cyan); background: rgba(99, 227, 255, 0.12); }
.pf svg { width: 12px; height: 12px; }
.facts li > span + .pf { margin-left: 2px; }

/* ============================== the explainer video ============================== */
.how h2 { text-align: center; }
.yt {
  position: relative; width: min(100%, calc((100vh - var(--hd) - var(--ab) - 80px) * 16 / 9)); min-width: min(100%, 640px); aspect-ratio: 16 / 9;
  margin: clamp(32px, 3vw, 60px) auto 0; border-radius: var(--r); overflow: hidden; background: #000;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(99, 227, 255, 0.3);
}
.yt-face { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-face img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s; }
.yt-face:hover img { transform: scale(1.015); filter: brightness(0.95); }
/* the play button: just the white triangle, no circle behind it (owner, 27 Oct); a soft shadow keeps it visible */
.yt-btn {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(68px, 6.4vw, 128px); aspect-ratio: 1; translate: -50% -50%;
  transition: transform 0.25s;
}
.yt-face:hover .yt-btn { transform: scale(1.1); }
.yt-btn svg { width: 70%; height: 70%; margin-left: 8%; color: #fff; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(99, 227, 255, 0.35)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================== roadmap: exactly as on the current page ============================== */
/* (roadmap.css has its styles; these restore the old page's font and colors around it) */
.roadmap {
  --text: #f4f4f6; --dim: #9899a3; --dim2: #666771; --green: rgb(33, 201, 94);
  color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.roadmap h2, .roadmap h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
.roadmap b { font-weight: 700; }
@media (min-width: 961px) { .roadmap { font-size: 13.6px; } }

/* ============================== chains (as on the current home page) ============================== */
.chains-sec { padding: 24px var(--gx) 0; }
.chains-label { margin: 0 0 18px; text-align: center; color: var(--dim2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.chains { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.chain { display: block; transition: transform 0.2s; }
.chain img { width: 68px; height: 68px; transition: filter 0.2s; }
.chain:hover { transform: translateY(-3px); }
.chain:hover img { filter: brightness(1.6); }

/* ============================== latest from X ============================== */
.xs-grid { display: grid; grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 3vw, 72px); }
.xs-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.x-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; gap: clamp(12px, 1.2vw, 22px); }
.x-post { min-width: 0; }
.x-post .twitter-tweet { margin: 0 !important; }
.x-post blockquote.twitter-tweet { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, 0.03); color: var(--dim); }

/* ============================== in between sizes ============================== */
@media (max-width: 1599px) {
  .tiles { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); column-gap: clamp(16px, 1.8vw, 32px); }
  .spark { width: 40%; }
}
@media (max-width: 1199px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1279px) {
  .cs-main { grid-template-columns: minmax(0, 1fr); }
  .fc-wrap { min-height: clamp(380px, 50vw, 560px); }
  .sup-in { grid-template-columns: clamp(140px, 18vw, 200px) minmax(0, 1fr); }
  .facts { grid-column: 1 / -1; }
  .xs-grid { grid-template-columns: minmax(0, 1fr); }
  .xs-head { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 1023px) {
  .tok-top { align-items: flex-start; }
}

/* ============================== phones ============================== */
@media (max-width: 759px) {
  .hero h1 { letter-spacing: -0.045em; }
  .code { max-width: none; }
  .tok-title { gap: 14px; }
  .tok-act, .ca { width: 100%; }
  .tok-act .btn { flex: 1 1 100%; }
  .ca-v { font-size: 0.74rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .t-mc { grid-column: 1 / -1; }
  .spark { width: 50%; }
  .fc-wrap { min-height: 360px; }
  .fc-legend .ohlc, .fc-clock, .fc-right .fc-sep { display: none; }
  .hl-row { grid-template-columns: 1.3rem minmax(0, 1fr) 5.4rem 4rem; gap: 8px; padding: 0 2px; }
  .hl-pct { gap: 6px; }
  .hl-pct > span:first-child { width: 3.1em; }
  .sup-in { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ring { width: min(190px, 56vw); }
  .legend { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend button { min-width: 0; }
  .facts { width: 100%; }
  .facts li { font-size: 0.94rem; }
  .chains { gap: 8px; }
  .chain img { width: 38px; height: 38px; }
}

/* the roadmap: no "scroll to fly" hint (roadmap.js still needs the element) */
.rm-hint { display: none; }
