/* Layout, type and motion for the Xelona page. Values follow the Kin OS frame;
   the greens are Hyperliquid's #03211c ground, #50d2c1 teal and #97fce3 mint. */

html { background: var(--site); }
.no-helvetica { --font-text: "Inter", Arial, sans-serif; }
html, body { overflow-x: clip; overscroll-behavior: none; }
body {
  margin: 0;
  font: 400 var(--t-m) / var(--lh-m) var(--font-text);
  letter-spacing: var(--tr-m);
  color: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header. The bar is a dark green glass pill so it can sit on both the void and the light OS ground. */
.hd {
  --hd-inset: 4px;
  --hd-h: calc(var(--u) * 40 + var(--hd-inset) * 2);
  position: fixed;
  top: 12px;
  left: var(--rail);
  right: 0;
  z-index: 12;
  width: auto;
  margin: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: var(--t-s);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tr-s);
  white-space: nowrap;
}
.hd__bar, .hd__tile {
  transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out);
}
.hd__bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--hd-h);
  padding: var(--hd-inset);
  border-radius: var(--r-m);
  --hd-ink: #c5d4cf;
  background: rgba(15, 57, 51, .55);
  -webkit-backdrop-filter: blur(calc(var(--u) * 24)) saturate(1.4) brightness(.72);
  backdrop-filter: blur(calc(var(--u) * 24)) saturate(1.4) brightness(.72);
}
.hd__tile {
  width: calc(var(--u) * 40);
  height: calc(var(--u) * 40);
  border-radius: calc(var(--r-m) - var(--hd-inset));
  background: #0f3933;
  display: grid;
  place-items: center;
  flex: none;
}
.mark {
  display: block;
  width: calc(var(--u) * 22);
  height: auto;
}
.hd__dot, .badge__dot, .badge__dot--live {
  display: block;
  width: calc(var(--u) * 6);
  height: calc(var(--u) * 6);
  border-radius: 50%;
  flex: none;
}
.hd__dot, .badge__dot--live {
  background: var(--cyan);
  animation: hd-pulse 1.8s ease-in-out infinite;
}
@keyframes hd-pulse { 50% { opacity: .35; } }
.hd__btn {
  display: inline-flex;
  align-items: center;
  height: calc(var(--u) * 40);
  padding: 0 var(--s16);
  border: 0;
  cursor: pointer;
  border-radius: calc(var(--r-m) - var(--hd-inset));
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) var(--ease-out);
}
.hd__btn:active { transform: scale(var(--press)); }
.hd__connect { margin-left: auto; }
.hd__btn--main { background: var(--yellow); color: #03211c; }
.hd.is-light .hd__bar { background: rgba(3, 33, 28, .78); }
.hd.is-light .hd__tile { background: #134038; }
.js .hd { animation: hd-in var(--dur-in) var(--ease-expo) backwards; }
@keyframes hd-in {
  from { opacity: 0; transform: translateY(calc(var(--in-y) * -1)); filter: blur(var(--in-blur)); }
}
@media (hover: hover) and (pointer: fine) {
  .hd__btn--main:hover { background: #c9fff0; }
  .seg__btn:hover { color: var(--ink-1); }
}
@media (max-width: 767px) {
  .hd { top: 8px; left: 8px; right: 8px; padding: 0; }
}

/* Stage. The bust canvas sits over the title and under the framed headline. */
.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform-origin: center center;
}
.stage.is-framed { overflow: hidden; background: var(--site); }
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero { position: relative; height: 0; }
.hero__title {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  margin: 0;
  top: calc(var(--bust-top, calc(107% - min(78%, 98.4vw))) + 40px);
  transform: translateY(-50%);
  font-family: var(--font-pixel);
  font-size: calc((100vw - 48px) / var(--title-em, 7.94));
  font-weight: 400;
  line-height: var(--lh-d1);
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--ink-2);
  -webkit-mask-image: radial-gradient(var(--hrx, 24vh) var(--hry, 30vh) at var(--hx, 50%) var(--hy, 130%), transparent 0%, transparent 64%, #000 100%);
  mask-image: radial-gradient(var(--hrx, 24vh) var(--hry, 30vh) at var(--hx, 50%) var(--hy, 130%), transparent 0%, transparent 64%, #000 100%);
}
.hero__note {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  font-size: var(--t-l);
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  transition: opacity 700ms var(--ease-out), visibility 0s linear;
}
html.is-hero-out .hero__note {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s16);
  margin-bottom: var(--s24);
  font-size: var(--t-s);
  line-height: var(--lh-s);
  color: var(--ink-3);
  white-space: nowrap;
}
.hero__lead { margin: 0; color: var(--ink-1); text-wrap: balance; }
.hero__lead span { display: block; color: var(--ink-3); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  height: calc(var(--u) * 32);
  padding: 0 var(--s12);
  border-radius: var(--r-s);
  background: rgba(252, 252, 252, .14);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
  font-size: var(--t-s);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-1);
  white-space: nowrap;
}
.badge__dot { background: var(--lavender); }
.badge--quiet { color: #c5d4cf; }
.badge--yellow { color: var(--yellow); }

.js .hero__title { animation: title-in var(--dur-in) var(--ease-expo) backwards; }
.js .hero__meta { animation: block-in var(--dur-in) var(--ease-expo) 60ms backwards; }
.js .hero__lead { animation: block-in var(--dur-in) var(--ease-expo) 120ms backwards; }
@keyframes title-in {
  from { opacity: 0; transform: translateY(calc(-50% + var(--in-y))); filter: blur(var(--in-blur)); }
}
@keyframes block-in {
  from { opacity: 0; transform: translateY(var(--in-y)); filter: blur(var(--in-blur)); }
}
.hero__title, .hero__meta, .hero__lead {
  transition: opacity 1100ms var(--ease-expo), translate 1100ms var(--ease-expo), scale 1100ms var(--ease-expo), filter 1100ms var(--ease-expo), visibility 0s;
}
.hero__meta { transition-delay: 80ms; }
.hero__lead { transition-delay: 160ms; }
html.is-hero-out .hero__title,
html.is-hero-out .hero__meta,
html.is-hero-out .hero__lead {
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms cubic-bezier(.45, 0, .55, 1), translate 700ms var(--ease-out), scale 700ms var(--ease-out), filter 700ms var(--ease-out), visibility 0s 760ms;
}
html.is-hero-out .hero__title { translate: 0 -4vh; scale: .97; filter: blur(16px); }
html.is-hero-out .hero__meta,
html.is-hero-out .hero__lead { translate: 0 -16px; filter: blur(10px); }
html.is-hero-out .hero__lead { transition-delay: 70ms, 70ms, 70ms, 70ms, 830ms; }
@media (max-width: 767px) {
  .hero__title { left: -.038em; font-size: calc((100vw - 48px) / var(--title-em-m, 5.244)); white-space: normal; }
  .hero__title span { display: block; }
  .hero__title-mid { display: none; }
  .hero__note {
    left: 16px;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: var(--t-m);
  }
  .hero__meta { margin-bottom: var(--s12); color: var(--ink-2); }
  .hero__lead, .hero__lead span { color: var(--ink-2); }
}

/* OS zoom. Widgets are solid while they fly, then settle into green glass. */
.os { position: relative; z-index: 3; height: 420vh; }
.os__pin { position: sticky; top: 0; height: 100vh; overflow: clip; pointer-events: none; }
.frame-head {
  position: absolute;
  z-index: 1;
  top: 5.5%;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: var(--s16);
  opacity: 0;
  transform-origin: 50% 0;
  text-align: center;
}
.frame-head__title {
  margin: 0;
  font-size: var(--t-l);
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  color: var(--ink-1);
}
.frame-head__title span { display: block; color: var(--ink-3); }
.ow {
  position: absolute;
  isolation: isolate;
  will-change: transform, opacity;
  contain: layout style;
  opacity: 0;
  border-radius: var(--r-m);
  background: rgba(7, 39, 35, calc(.8 * var(--glass, 0)));
  box-shadow: var(--l-lift);
  color: var(--ink-1);
  font-size: var(--t-s);
  line-height: 1.2;
  letter-spacing: var(--tr-s);
  --ink-2: #c5d5d0;
  --ink-3: #9db8b2;
}
.ow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgb(7, 39, 35);
  opacity: var(--solid, 1);
  pointer-events: none;
}
.ow.has-glass {
  -webkit-backdrop-filter: blur(calc(var(--u) * 16 * var(--glass))) saturate(calc(1 + .4 * var(--glass)));
  backdrop-filter: blur(calc(var(--u) * 16 * var(--glass))) saturate(calc(1 + .4 * var(--glass)));
}
.ow--img-b { z-index: 4; left: 12vw; top: 25vh; width: calc(var(--u) * 200); height: calc(var(--u) * 170); }
.ow--img-c { z-index: 6; left: 15.5vw; top: 47vh; width: calc(var(--u) * 160); height: calc(var(--u) * 136); }
.ow--add { z-index: 7; left: 5vw; top: 48vh; }
.ow--tools { z-index: 3; left: 61vw; top: 25vh; }
.ow--chart { z-index: 5; left: 73vw; top: 33vh; }
.ow--composer { z-index: 8; left: 0; right: 0; margin: 0 auto; top: calc(78vh - 20px); }
.ow--toast { z-index: 9; left: 70vw; top: 68vh; }
.ow--img {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--s8);
  margin: 0;
  padding: calc(var(--u) * 6) calc(var(--u) * 6) var(--s8);
  border-radius: var(--r-l);
}
.ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-l) - calc(var(--u) * 6));
}
.ph--mark {
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 70% at 18% 0%, color-mix(in srgb, var(--b) 55%, transparent), transparent 58%),
    linear-gradient(165deg, var(--a), #03211c);
  color: var(--b);
  font-size: calc(var(--u) * 22);
  font-weight: 500;
  letter-spacing: .12em;
}
.ow--img figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0 calc(var(--u) * 6);
}
.ow--img figcaption span { color: var(--ink-3); }
.ow--add {
  display: flex;
  align-items: center;
  gap: var(--s12);
  padding: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 6) var(--s12);
  font-weight: 500;
}
.ow--tools { display: flex; gap: calc(var(--u) * 6); padding: calc(var(--u) * 6); }
.ow--chart {
  display: grid;
  gap: var(--s12);
  width: calc(var(--u) * 250);
  padding: var(--s16) var(--s16) var(--s12);
  border-radius: var(--r-l);
}
.ow--composer {
  display: grid;
  gap: var(--s12);
  width: calc(var(--u) * 560);
  padding: var(--s16);
  border-radius: var(--r-l);
}
.ow--toast {
  display: flex;
  align-items: center;
  gap: var(--s12);
  height: calc(var(--u) * 48);
  padding: 0 var(--s16) 0 var(--s12);
  white-space: nowrap;
}
.ow__head { display: flex; justify-content: space-between; font-weight: 500; }
.ow__up { font-weight: 400; color: var(--ink-2); }
.lkey {
  width: calc(var(--u) * 34);
  height: calc(var(--u) * 34);
  border-radius: var(--r-s);
  background: var(--fill-1);
  display: grid;
  place-items: center;
  color: var(--ink-1);
  flex: none;
}
.lkey--send { background: var(--ink-1); color: var(--bg); }
.lchip {
  display: inline-flex;
  align-items: center;
  height: calc(var(--u) * 32);
  padding: 0 var(--s12);
  gap: var(--s8);
  border-radius: var(--r-s);
  background: var(--fill-1);
}
.lchip:has(kbd) { padding-right: calc(var(--u) * 6); }
.lchip kbd, .chip kbd {
  display: inline-flex;
  align-items: center;
  font: inherit;
}
.lchip kbd {
  height: calc(var(--u) * 20);
  padding: 0 calc(var(--u) * 6);
  border-radius: var(--r-xs);
  background: rgba(0, 0, 0, .28);
  color: var(--ink-2);
}
.minibars {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--u) * 6);
  height: calc(var(--u) * 84);
}
.minibars i {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: calc(var(--u) * 3);
  background: var(--lavender);
  transform-origin: bottom;
  transform: scaleY(.08);
  transition: transform 300ms var(--ease-out);
}
.minibars i.now { background: var(--yellow); }
.minibars.is-grown i { transform: none; transition-duration: 900ms; transition-timing-function: var(--ease-expo); }
.minibars.is-grown i:nth-child(1) { transition-delay: 0ms; }
.minibars.is-grown i:nth-child(2) { transition-delay: 40ms; }
.minibars.is-grown i:nth-child(3) { transition-delay: 80ms; }
.minibars.is-grown i:nth-child(4) { transition-delay: 120ms; }
.minibars.is-grown i:nth-child(5) { transition-delay: 160ms; }
.minibars.is-grown i:nth-child(6) { transition-delay: 200ms; }
.minibars.is-grown i:nth-child(7) { transition-delay: 240ms; }
.minibars__axis { display: flex; justify-content: space-between; color: var(--ink-3); }
.composer__text {
  min-height: calc(var(--t-m) * var(--lh-m) * 2);
  margin: 0;
  font-size: var(--t-m);
  line-height: var(--lh-m);
  letter-spacing: var(--tr-m);
  color: var(--ink-1);
}
.ow--composer.is-empty [data-typed] { color: var(--ink-3); }
.caret-text {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -.15em;
  background: var(--ink-1);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.composer__bar { display: flex; align-items: center; gap: calc(var(--u) * 6); }
.composer__end { display: flex; gap: calc(var(--u) * 6); margin-left: auto; }
.composer__glow {
  position: absolute;
  left: var(--s24);
  right: var(--s24);
  bottom: 0;
  height: calc(var(--u) * 2);
  border-radius: var(--r-pill);
  background: var(--grad-golden);
}
.plus, .mic, .arrow, .done { position: relative; display: block; }
.plus { width: calc(var(--u) * 12); height: calc(var(--u) * 12); }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 12);
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mic { width: calc(var(--u) * 11); height: calc(var(--u) * 16); }
.mic::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(var(--u) * 7);
  height: calc(var(--u) * 11);
  transform: translateX(-50%);
  border: 1.5px solid currentColor;
  border-radius: calc(var(--u) * 4);
}
.mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(var(--u) * 11);
  height: calc(var(--u) * 5);
  transform: translateX(-50%);
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 calc(var(--u) * 6) calc(var(--u) * 6);
}
.arrow {
  width: calc(var(--u) * 8);
  height: calc(var(--u) * 8);
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.arrow--up { transform: translateY(calc(var(--u) * 2)) rotate(135deg); }
.done {
  width: calc(var(--u) * 20);
  height: calc(var(--u) * 20);
  border-radius: 50%;
  background: var(--lavender);
  flex: none;
}
.done::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 24%;
  width: 26%;
  height: 44%;
  border-right: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(45deg);
}

/* Memory and agents. Copy sits beside the bust, never under it. */
.screen { position: relative; z-index: 2; padding: 64vh 0 24vh; }
.screen--left { padding-bottom: 48vh; }
.screen__col { display: grid; gap: var(--s72); width: min(calc(var(--u) * 520), 38vw); }
.screen--right .screen__col { margin-left: 56vw; }
.screen--left .screen__col { margin-left: 24px; }
@media (max-width: 767px) {
  .screen { padding-top: 18vh; }
  .screen__col,
  .screen--right .screen__col,
  .screen--left .screen__col {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px 16px 8px;
    border-radius: 24px;
    background: rgba(3, 33, 28, .82);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
  }
}
.screen__head { display: grid; gap: var(--s24); }
.screen__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s16);
  margin: 0;
  font-size: var(--t-s);
  line-height: var(--lh-s);
  color: var(--ink-3);
}
.screen__title {
  margin: 0;
  font-size: var(--t-l);
  font-weight: 400;
  line-height: var(--lh-l);
  letter-spacing: var(--tr-l);
  color: var(--ink-1);
}
.screen__sub { display: block; color: var(--ink-3); }
.screen__text { max-width: 40ch; margin: 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s8); list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  height: calc(var(--u) * 36);
  padding: 0 var(--s12);
  border-radius: var(--r-s);
  background: rgba(252, 252, 252, .14);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
  font-size: var(--t-s);
  line-height: 1;
  color: var(--ink-1);
}
.chip:has(kbd) { padding-right: var(--s8); }
.chip kbd {
  height: calc(var(--u) * 22);
  padding: 0 var(--s8);
  border-radius: var(--r-xs);
  background: var(--fill-2);
  color: #dadae0;
}
.panel {
  display: grid;
  gap: var(--s24);
  padding: var(--s24);
  border-radius: var(--r-l);
  background: rgba(15, 57, 51, .56);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  --ink-3: #8eaaa3;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s16); }
.panel__title { margin: 0; font-size: var(--t-m); font-weight: 500; color: var(--ink-1); }
.panel__note { margin: 0; font-size: var(--t-s); color: var(--ink-3); }
.panel .chips { margin-top: calc(var(--s8) * -1); }
.seg {
  display: inline-flex;
  gap: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-s);
  background: var(--fill-1);
  -webkit-backdrop-filter: var(--chip-blur);
  backdrop-filter: var(--chip-blur);
}
.seg__btn {
  height: calc(var(--u) * 28);
  padding: 0 var(--s12);
  border: 0;
  border-radius: var(--r-xs);
  background: transparent;
  font-weight: 500;
  font-size: var(--t-s);
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.seg__btn.is-on { background: var(--fill-2); color: var(--ink-1); }
.bars { display: grid; gap: var(--s12); }
.bars__plot {
  display: flex;
  align-items: flex-end;
  gap: calc(var(--u) * 4);
  height: calc(var(--u) * 140);
}
.bars__plot i {
  flex: 1;
  height: calc(var(--h) * 1%);
  min-height: calc(var(--u) * 14);
  border-radius: calc(var(--u) * 2);
  background: var(--fill-1);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform var(--rv-out) var(--ease-out);
}
.bars__plot i.on { background: var(--lavender); }
.bars__plot i.now { background: var(--yellow); }
.js .is-in .bars__plot.is-grown i {
  transform: none;
  transition: transform 900ms var(--ease-expo);
  transition-delay: calc(320ms + var(--j) * 18ms);
}
.bars__axis {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-s);
  color: var(--ink-3);
}
.bars__axis .is-now {
  text-transform: uppercase;
  letter-spacing: var(--tr-caps);
  color: var(--lavender);
}
.track {
  display: flex;
  height: calc(var(--u) * 28);
  border-radius: var(--r-pill);
  background: var(--fill-1);
  overflow: hidden;
}
.track i {
  width: calc(var(--w) * 1%);
  background: var(--c);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--rv-out) var(--ease-out);
}
.js .is-in .track i { clip-path: inset(0); transition: clip-path 1400ms var(--ease-expo) 420ms; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8) var(--s24);
  margin-top: calc(var(--s12) * -1);
  font-size: var(--t-s);
  color: var(--ink-2);
}
.legend span { display: inline-flex; align-items: center; gap: var(--s8); }
.legend i {
  width: calc(var(--u) * 8);
  height: calc(var(--u) * 8);
  border-radius: 50%;
  background: var(--c);
}
.stat { display: grid; gap: var(--s4); }
.stat__value {
  margin: 0;
  font-size: var(--t-l);
  font-variant-numeric: tabular-nums;
  color: var(--ink-1);
}
.stat__value small { margin-left: calc(var(--u) * 2); font-size: var(--t-m); color: var(--ink-2); }
.stat__label { margin: 0; font-size: var(--t-s); color: var(--ink-2); }
.ticks {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: calc(var(--u) * 28);
}
.ticks i {
  width: calc(var(--u) * 2);
  height: 100%;
  border-radius: calc(var(--u) * 1);
  background: var(--fill-2);
  transform-origin: bottom;
  transform: scaleY(.4);
  transition: transform var(--rv-out) var(--ease-out), background-color var(--rv-out) var(--ease-out);
}
.js .is-in .ticks i {
  transform: none;
  transition-duration: 800ms;
  transition-timing-function: var(--ease-expo);
  transition-delay: calc(380ms + var(--j) * 14ms);
}
.js .is-in .ticks i.on { background: var(--lavender); }
.js .is-in .ticks i.now { background: var(--yellow); }

.js .rv {
  --rv-y: 32px;
  opacity: 0;
  transform: translateY(var(--rv-y));
  filter: blur(calc(var(--u) * 12));
  transition: opacity var(--rv-out) var(--ease-out), transform var(--rv-out) var(--ease-out), filter var(--rv-out) var(--ease-out);
}
.js [data-dir="up"]:not(.is-in) .rv,
.js .rv[data-dir="up"]:not(.is-in) { --rv-y: -24px; }
.js .rv--word { display: inline-block; --rv-y: .35em; filter: blur(calc(var(--u) * 10)); }
.js .rv--chip, .js .rv--panel { filter: none; }
.js .rv--panel { --rv-y: 48px; }
.js .is-in .rv, .js .rv.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity var(--rv-in) var(--ease-expo), transform var(--rv-in) var(--ease-expo), filter var(--rv-in) var(--ease-expo);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .is-in .rv--word { transition-duration: 1100ms; }

.veil {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16vh;
  z-index: 2;
  pointer-events: none;
}
.veil > div { position: absolute; inset: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .hero__title, .js .hero__meta, .js .hero__lead, .js .hd { animation: none; }
  .hero__title, .hero__meta, .hero__lead,
  html.is-hero-out .hero__title,
  html.is-hero-out .hero__meta,
  html.is-hero-out .hero__lead {
    translate: none;
    scale: none;
    filter: none;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }
  .js .rv, .js .is-in .rv, .js .rv.is-in, .js .is-in .rv--word {
    filter: none;
    transform: none;
    transition: opacity 200ms ease;
    transition-delay: 0ms;
  }
  .bars__plot i, .ticks i, .track i, .minibars i {
    transform: none;
    clip-path: none;
    transition: none;
  }
  .track i { clip-path: inset(0); }
  .caret-text, .hd__dot, .badge__dot--live { animation: none; }
  .rail { transition: none; }
}

/* Launchpad chrome. The rail is the desktop home menu; Explore and Launch
   cover the cinematic page without moving its scroll. */
:root { --rail: 0px; }
@media (min-width: 1100px) {
  :root { --rail: 104px; }
  .stage { left: var(--rail); }
  .hd { left: var(--rail); }
  .hero__note { left: calc(var(--rail) + 24px); }
  .hero__title { font-size: calc((100vw - var(--rail) - 48px) / var(--title-em, 9.348)); }
  .ow--img-b { left: max(12vw, calc(var(--rail) + 24px)); }
  .ow--img-c { left: max(15.5vw, calc(var(--rail) + 56px)); }
  .ow--add { left: calc(var(--rail) + 20px); }
  .ow--composer { left: var(--rail); }
  .screen--left .screen__col { margin-left: calc(var(--rail) + 24px); }
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  border: 0;
  padding: 0;
  background: rgba(3, 33, 28, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
html.is-menu .scrim { opacity: 1; pointer-events: auto; }
@media (min-width: 1100px) { .scrim { display: none; } }

.rail {
  display: none;
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(280px, 86vw);
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 18px;
  background: #072723;
  border-right: 1px solid rgba(248, 249, 249, .08);
  transform: translateX(-105%);
  transition: transform 240ms var(--ease-out);
}
html.is-menu .rail { display: flex; transform: none; }
@media (min-width: 1100px) {
  .rail {
    display: flex;
    z-index: 20;
    width: var(--rail);
    padding: 18px 10px 16px;
    transform: none;
  }
}
.rail__brand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #0f3933;
}
.rail__brand .mark { width: 26px; }
.rail__brand:focus-visible,
.rail__nav a:focus-visible,
.dock a:focus-visible,
.ex__cta:focus-visible,
.tk__frames button:focus-visible,
.tk__switch button:focus-visible,
.tk__tabs button:focus-visible,
.tk__pill:focus-visible,
.tk__max:focus-visible,
.ex__sort button:focus-visible,
.ex__search input:focus-visible,
.ex__row:focus-visible,
.ex__more:focus-visible,
.token__back:focus-visible,
.ln__field input:focus-visible,
.ln__field textarea:focus-visible,
.ln__field select:focus-visible,
.ln__wl input:focus-visible,
.ln__wl button:focus-visible,
.ln__chip button:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.rail__nav { display: grid; gap: 4px; }
.rail__nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #8eaaa3;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.rail__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex: none;
}
.rail__nav svg .fill { fill: currentColor; stroke: none; }
.rail__nav a[aria-current="page"] {
  color: #03211c;
  background: var(--yellow);
}
@media (hover: hover) and (pointer: fine) {
  .rail__nav a:hover { color: var(--ink-1); }
  .rail__nav a[aria-current="page"]:hover { color: #03211c; background: #c9fff0; }
}
@media (min-width: 1100px) {
  .rail__nav a {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 10px 4px;
    font-size: 11px;
    letter-spacing: .04em;
  }
}
.rail__chain {
  margin: auto 0 0;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8eaaa3;
}

.dock {
  display: none;
}
@media (max-width: 1099px) {
  .dock {
    position: fixed;
    z-index: 24;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    width: min(420px, calc(100vw - 24px));
    height: 68px;
    padding: 6px;
    gap: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid rgba(248, 249, 249, .12);
    background: rgba(7, 39, 35, .82);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 16px 40px rgba(3, 33, 28, .4);
  }
  .dock a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 44px;
    border-radius: 999px;
    color: #c5d5d1;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
  }
  .dock a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .dock a svg .fill { fill: currentColor; stroke: none; }
  .dock a[aria-current="page"] {
    color: #03211c;
    background: var(--yellow);
  }
  .dock a:active { transform: scale(.97); }
  html[data-view="explore"] .view--explore,
  html[data-view="token"] .view--token,
  html[data-view="launch"] .view--launch {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
  #stocks .screen__head, #assets .screen__head, #pair { scroll-margin-top: 88px; }
  .hero__note { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.menu-btn {
  display: none;
  width: calc(var(--u) * 40);
  height: calc(var(--u) * 40);
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-1);
  flex: none;
}
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 1099px) {
  .veil { display: none; }
}

html:not([data-view="home"]) .stage,
html:not([data-view="home"]) .veil,
html:not([data-view="home"]) main {
  visibility: hidden;
  pointer-events: none;
}

.view { display: none; }
html[data-view="explore"] .view--explore,
html[data-view="token"] .view--token,
html[data-view="launch"] .view--launch {
  display: block;
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--rail);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--site);
  padding: 84px var(--gutter) var(--s72);
  color: var(--ink-1);
}

.pad {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: var(--s32);
}
.pad__head { display: grid; gap: var(--s16); }
.pad__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s24);
}
.pad__title-row .screen__title { max-width: 18ch; }
.pad__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s16);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
}
.pad__end { display: flex; align-items: center; gap: var(--s16); margin-left: auto; }
.pad .ln { max-width: none; margin: 0; }

.view--explore .pad { width: min(1080px, 100%); gap: var(--s24); }
.ex__head { display: grid; gap: var(--s12); }
.ex__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
}
.ex__lede {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: var(--t-m);
  line-height: var(--lh-m);
}
.ex__tools, .ex__end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
}
.ex__sort {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(248, 249, 249, .08);
  border-radius: var(--r-l);
  background: #021815;
}
.ex__sort button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: calc(var(--r-l) - 4px);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: var(--t-s);
  font-weight: 500;
  cursor: pointer;
}
.ex__sort button[aria-selected="true"] { background: var(--yellow); color: #03211c; }
@media (hover: hover) and (pointer: fine) {
  .ex__sort button:hover { color: var(--ink-1); }
  .ex__sort button[aria-selected="true"]:hover { color: #03211c; }
}
.ex__count { margin: 0; color: var(--ink-3); font-size: var(--t-s); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex__search { display: block; }
.ex__search input {
  width: 220px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: var(--r-l);
  background: #021815;
  color: var(--ink-1);
  font: inherit;
  font-size: var(--t-s);
}
.ex__search input::placeholder { color: var(--ink-3); }
.ex__search input:focus { outline: none; border-color: rgba(151, 252, 227, .55); }

.ex__sheet {
  border: 1px solid rgba(248, 249, 249, .08);
  border-radius: var(--r-l);
  background: #021815;
  overflow: hidden;
}
.ex__cols, .ex__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.7fr) minmax(72px, .7fr) minmax(64px, .55fr) minmax(56px, .5fr) minmax(108px, .8fr);
  gap: var(--s16);
  align-items: center;
  padding: 0 20px;
}
.ex__cols {
  min-height: 44px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(248, 249, 249, .08);
}
.ex__cols span:first-child { padding-left: 58px; }
.ex__cols span:last-child, .ex__cap { text-align: right; }
.ex__row {
  min-height: 76px;
  border-bottom: 1px solid rgba(248, 249, 249, .06);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-ui) var(--ease-out);
}
.ex__list .ex__row:last-child { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .ex__row:hover { background: rgba(151, 252, 227, .05); }
}
.ex__row:active { background: rgba(151, 252, 227, .08); }
.ex__row:focus-visible { outline-offset: -2px; }
.ex__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ex__id { min-width: 0; }
.ex__who strong, .ex__who em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ex__who strong { font-weight: 500; font-size: var(--t-m); letter-spacing: -.02em; }
.ex__who em { margin-top: 2px; font-style: normal; color: var(--ink-3); font-weight: 400; font-size: var(--t-s); }
.ex__subline { display: none; }
.ex__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--yellow);
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .04em;
  flex: none;
  overflow: hidden;
}
.ex__mark img { width: 100%; height: 100%; object-fit: cover; }
.ex__kind, .ex__age { color: var(--ink-2); font-size: var(--t-s); }
.ex__pair { color: var(--yellow); font-size: var(--t-s); letter-spacing: .04em; }
.ex__cap { display: grid; justify-items: end; gap: 2px; }
.ex__cap strong { font-weight: 500; font-size: var(--t-m); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ex__cap b { font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.is-up { color: var(--yellow); }
.is-down { color: #e7c4a2; }
.is-flat { color: var(--ink-3); }
.ex__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(248, 249, 249, .08);
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--t-s);
  cursor: pointer;
}
.ex__more[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ex__more:hover { color: var(--ink-1); background: rgba(151, 252, 227, .04); }
}
.ex__empty { margin: 0; padding: 48px 20px; text-align: center; color: var(--ink-3); }
.ex__row--shimmer { pointer-events: none; }
.ex__shimmer {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(248, 249, 249, .05) 0%, rgba(151, 252, 227, .18) 50%, rgba(248, 249, 249, .05) 100%);
  background-size: 220% 100%;
  animation: ex-shimmer 1.35s ease-in-out infinite;
}
.ex__row--shimmer .ex__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(248, 249, 249, .05) 0%, rgba(151, 252, 227, .18) 50%, rgba(248, 249, 249, .05) 100%);
  background-size: 220% 100%;
  animation: ex-shimmer 1.35s ease-in-out infinite;
}
.ex__row--shimmer .ex__id { display: grid; gap: 8px; width: min(180px, 70%); }
.ex__row--shimmer .ex__id strong { width: 72%; height: 14px; }
.ex__row--shimmer .ex__id em { width: 46%; }
.ex__row--shimmer .ex__kind .ex__shimmer,
.ex__row--shimmer .ex__pair .ex__shimmer,
.ex__row--shimmer .ex__age .ex__shimmer { width: 48px; }
.ex__row--shimmer .ex__cap strong { width: 72px; margin-left: auto; height: 14px; }
@keyframes ex-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ex__shimmer,
  .ex__row--shimmer .ex__mark { animation: none; background: rgba(248, 249, 249, .08); }
}

.token {
  width: min(1120px, 100%);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  min-width: 0;
}
.token__back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: var(--t-s);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .token__back:hover { color: var(--ink-1); }
}
.token__name {
  margin: 0;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink-1);
}
.token__name:focus { outline: none; }
.tk__top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  min-width: 0;
}
.tk__avatar .ex__mark { width: 64px; height: 64px; border-radius: 18px; font-size: 16px; }
.tk__id { min-width: 0; }
.tk__eyebrow {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tk__chain {
  margin: 0;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.tk__name {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tk__name:focus { outline: none; }
.tk__skel { width: 64px; height: 12px; }
.tk__skel--kicker { width: 72px; height: 10px; }
.tk__skel--name { width: min(220px, 70%); height: 28px; margin-top: 10px; }
.tk__skel--pair { width: 96px; height: 12px; margin-top: 10px; }
.tk__skel--mcap { width: min(160px, 40vw); height: 28px; }
.tk__metrics .tk__skel { margin-top: 8px; }
.tk__skel-block { display: block; height: 280px; margin: 16px; border-radius: 18px; }
.tk__skel-block--swap { height: 220px; }
.tk__pair { margin: 4px 0 0; color: var(--ink-2); }
.tk__mcap { min-width: 0; text-align: right; }
.tk__mcap strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1;
}
.tk__mcap .is-up,
.tk__mcap .is-down,
.tk__mcap .is-flat { font-variant-numeric: tabular-nums; }
.tk__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.tk__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: 999px;
  background: rgba(248, 249, 249, .04);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
button.tk__pill { color: var(--ink-1); }
.tk__about {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.tk__card {
  min-width: 0;
  border: 1px solid rgba(248, 249, 249, .08);
  border-radius: 24px;
  background: #021815;
}
.tk__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px;
}
.tk__metrics span {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tk__metrics strong {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.tk__layout {
  display: grid;
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.tk__main, .tk__side { display: grid; gap: 16px; min-width: 0; }
.tk__chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}
.tk__chart-read { min-width: 0; }
.tk__chart-read strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.tk__delta { display: inline-block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tk__frames {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 249, .1);
  background: rgba(0, 0, 0, .22);
}
.tk__frames button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
}
.tk__frames button[aria-selected="true"] { background: var(--yellow); color: #03211c; }
.tk__plot-host { min-width: 0; min-height: 180px; overflow: hidden; }
.tk__plot-host:has(.ex__empty) { min-height: 0; }
.tk__plot { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; }
.tk__funds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 16px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(151, 252, 227, .06);
  border: 1px solid rgba(151, 252, 227, .16);
}
.tk__funds span {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tk__funds strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.tk__hint {
  margin: 10px 16px 0;
  color: var(--ink-3);
  font-size: 13px;
}
.tk__hint[hidden] { display: none; }
.tk__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 16px 16px 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 249, .1);
  background: rgba(0, 0, 0, .25);
}
.tk__switch button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.tk__switch button[aria-selected="true"][data-mode="buy"] { background: var(--yellow); color: #03211c; }
.tk__switch button[aria-selected="true"][data-mode="sell"] { background: #d4896a; color: #1a100c; }
.tk__pay {
  display: block;
  margin: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(248, 249, 249, .1);
  background: rgba(0, 0, 0, .28);
}
.tk__payhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tk__bal { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.tk__max {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yellow);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tk__max:disabled { opacity: .4; cursor: default; }
.tk__payrow { display: flex; align-items: center; gap: 12px; margin-top: 8px; min-width: 0; }
.tk__payrow input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink-1);
  font: inherit;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.tk__payrow input:focus { outline: none; }
.tk__payrow input::placeholder { color: rgba(248, 249, 249, .28); }
.tk__payrow b {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 249, .12);
  font-weight: 500;
  font-size: 14px;
}
.tk__recv { min-height: 1.2em; margin: 0 16px 8px; color: var(--ink-3); font-size: var(--t-s); }
.tk__go { width: calc(100% - 32px); margin: 0 16px 8px; border-radius: 999px; min-height: 52px; }
.tk__go--sell { background: #d4896a; color: #1a100c; }
.tk__swap .ln__error { margin: 0 16px 16px; }
.tk__tabs {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(248, 249, 249, .06);
}
.tk__tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tk__tabs button[aria-selected="true"] { background: var(--yellow); color: #03211c; }
.tk__empty { margin: 0; padding: 36px 16px; text-align: center; color: var(--ink-3); }
.tk__holder {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}
.tk__holder span:last-child { color: var(--ink-3); }
.tk__tx {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, .8fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  border-top: 1px solid rgba(248, 249, 249, .06);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.tk__tx span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk__tx span:nth-child(3),
.tk__tx span:nth-child(4) { color: var(--ink-3); text-align: right; }
.tk__claim { padding: 16px; }
.tk__claim[hidden] { display: none; }
.tk__claim-head strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
.tk__claim-note { margin: 8px 0 14px; color: var(--ink-2); font-size: 14px; }
.tk__claim .tk__go { width: 100%; margin: 0; }
.tk__claim .ln__error { margin: 10px 0 0; }
@media (min-width: 1080px) {
  .tk__layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .tk__side { position: sticky; top: 8px; }
}
.ex__quote { margin: 0; color: var(--ink-3); font-size: var(--t-s); }
.ex__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s16);
  border: 0;
  border-radius: var(--r-s);
  background: var(--yellow);
  color: #03211c;
  font: inherit;
  font-size: var(--t-s);
  font-weight: 500;
  cursor: pointer;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .ex__cta:hover { background: #c9fff0; }
}
.ex__cta:active { transform: scale(.98); }
.ex__cta:disabled { opacity: .55; cursor: progress; }
.ex__cta--ghost { background: transparent; color: var(--yellow); border: 1px solid rgba(151, 252, 227, .45); }
@media (hover: hover) and (pointer: fine) {
  .ex__cta--ghost:hover { background: rgba(151, 252, 227, .08); }
  .tk__go--sell:hover { background: #e09a7e; }
}

@media (max-width: 760px) {
  .ex__tools { align-items: stretch; flex-direction: column; gap: 10px; }
  .ex__end { display: contents; }
  .ex__sort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex__sort button { min-height: 44px; padding: 0 8px; }
  .ex__search { width: 100%; }
  .ex__search input { width: 100%; }
  .ex__count { order: 3; }
  .ex__cols { display: none; }
  .ex__kind, .ex__pair, .ex__age { display: none; }
  .ex__subline { display: inline; }
  .ex__row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 12px 16px;
    gap: 12px;
  }
  .ex__who strong { font-size: 16px; }
  .view--explore .ex__cta { min-height: 44px; padding: 0 16px; }
}

@media (max-width: 1079px) {
  .tk__side { order: -1; }
}
@media (max-width: 720px) {
  .tk__top { grid-template-columns: 56px minmax(0, 1fr); }
  .tk__avatar .ex__mark { width: 56px; height: 56px; }
  .tk__mcap {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    text-align: left;
  }
  .tk__mcap strong { margin-top: 0; font-size: 28px; }
  .tk__metrics { gap: 8px; padding: 14px 12px; }
  .tk__metrics strong { font-size: 15px; }
  .tk__tx { grid-template-columns: 52px minmax(0, 1fr); }
  .tk__tx span:nth-child(3) { grid-column: 2; text-align: left; font-size: 12px; }
  .tk__tx span:nth-child(4) { display: none; }
  .pad__title-row { align-items: flex-start; flex-direction: column; }
  .pad__end { width: 100%; flex-wrap: wrap; }
  .ex__search { flex: 1; display: block; }
  .ex__search input { width: 100%; }
}

.ln { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 28px; align-items: start; }
.ln__form, .ln__preview {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(7, 39, 35, .78);
  border: 1px solid rgba(248, 249, 249, .06);
}
.ln__field { display: grid; gap: 6px; color: var(--ink-3); font-size: 13px; }
.ln__field input, .ln__field textarea, .ln__field select {
  width: 100%;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: 12px;
  background: rgba(3, 33, 28, .55);
  color: var(--ink-1);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  color-scheme: dark;
}
.ln__steps {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}
.ln__steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 12px;
  white-space: nowrap;
}
.ln__steps li span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(248, 249, 249, .08);
  font-size: 10px;
}
.ln__steps li.is-on { color: #03211c; background: var(--yellow); }
.ln__steps li.is-on span { background: rgba(3, 33, 28, .16); }
.ln__steps li.is-done { color: var(--yellow); }
.ln__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ln__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f3933;
  color: var(--ink-3);
  cursor: pointer;
}
.ln__mark input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ln__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ln__form [data-step]:not([hidden]) { display: grid; gap: 14px; }
.ln__range { width: 100%; accent-color: #97fce3; }
.ln__taxhead { display: flex; justify-content: space-between; gap: 12px; }
.ln__taxhead strong { color: var(--ink-1); font-weight: 500; }
.ln__ends { display: flex; justify-content: space-between; margin: -8px 0 0; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ln__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.ln__presets button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(248, 249, 249, .12);
  background: transparent;
  color: var(--ink-1);
  cursor: pointer;
}
.ln__presets button[aria-pressed="true"] { background: rgba(151, 252, 227, .16); border-color: #97fce3; color: #97fce3; }
.ln__presets button:disabled { opacity: .4; cursor: not-allowed; }
.ln__wl { display: flex; gap: 8px; align-items: stretch; }
.ln__wl input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(248, 249, 249, .1);
  border-radius: 12px;
  background: rgba(3, 33, 28, .55);
  color: var(--ink-1);
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  padding: 12px 14px;
  color-scheme: dark;
}
.ln__wl button {
  flex: none;
  min-width: 72px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(248, 249, 249, .12);
  background: transparent;
  color: var(--ink-1);
  cursor: pointer;
}
.ln__wl button:hover:not(:disabled) { border-color: #97fce3; color: #97fce3; }
.ln__wl button:disabled { opacity: .4; cursor: not-allowed; }
.ln__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ln__chips:empty { display: none; }
.ln__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  max-width: 100%;
  padding: 0 4px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 249, .12);
  background: rgba(3, 33, 28, .55);
  color: var(--ink-1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.ln__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln__chip button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.ln__chip button:hover { color: #e7c4a2; }
.ln__wlerror { margin: 0; color: #e7c4a2; font-size: 13px; }
.ln__wlerror:empty { display: none; }
.ln__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ln__actions .ex__cta { width: auto; min-width: 148px; }
.ln__log { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ln__log li { color: var(--ink-3); font-size: 13px; }
.ln__log li.is-run { color: var(--ink-1); }
.ln__log li.is-ok { color: #97fce3; }
.ln__pair {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(151, 252, 227, .08);
}
.ln__pair span { color: var(--ink-3); font-size: 13px; }
.ln__pair em { margin-left: auto; color: var(--ink-3); font-style: normal; font-size: 13px; }
.ln__error { min-height: 1.2em; margin: 0; color: #e7c4a2; font-size: 13px; }
.ln__note { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.ln__kicker { margin: 0; color: var(--ink-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ln__id { display: grid; gap: 4px; }
.ln__id h2 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
  text-transform: uppercase;
}
.ln__id p { margin: 0; color: var(--ink-3); }
.ln__preview .ex__mark { width: 48px; height: 48px; font-size: 13px; }
.ln__preview .screen__text { max-width: none; }

.ln__preview { position: sticky; top: 12px; }

@media (max-width: 900px) {
  html[data-view="explore"] .view--explore,
  html[data-view="token"] .view--token,
  html[data-view="launch"] .view--launch {
    left: 0;
    padding: var(--s24) var(--gutter) calc(112px + env(safe-area-inset-bottom));
  }
  .ln { grid-template-columns: 1fr; }
  .ln__preview { position: static; }
}
html[data-view="explore"] .view--explore,
html[data-view="launch"] .view--launch,
html[data-view="token"] .view--token {
  padding-top: calc(12px + (var(--u) * 40) + 28px);
}
html[data-view="token"] .view--token {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  overflow-x: hidden;
}
@media (min-width: 1100px) {
  html[data-view="token"] .view--token {
    padding-left: 28px;
    padding-right: 28px;
  }
}
