@font-face {
  font-family: 'JBM';
  src: url('fonts/jetbrains-mono-vf.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #07120c;
  --bg2: #0b1a12;
  --panel: #0c1c13;
  --line: #1c3a27;
  --line2: #27503a;
  --ink: #d8f5e1;
  --mute: #7fa58c;
  --dim: #4f705b;
  --green: #39ff7a;
  --frog: #7cff4f;
  --amber: #ffb020;
  --red: #ff4d4d;
  --grey: #8a9a90;
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(57, 255, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 122, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: 'JBM', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ticker */
.ticker {
  background: var(--frog);
  color: #06110a;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid #000;
}
.ticker__track {
  display: inline-block;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  animation: tick 38s linear infinite;
}
.ticker__track span {
  margin: 0 22px;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 18, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
}
.logo:hover {
  text-decoration: none;
}
.logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line2);
}
.logo em {
  color: var(--dim);
  font-style: normal;
  font-weight: 400;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav a {
  color: var(--mute);
}
.nav a:hover,
.nav a.on {
  color: var(--green);
  text-decoration: none;
}
.hdr__right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--amber);
  vertical-align: 1px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line2);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
}
.btn--main {
  background: var(--green);
  color: #04110a;
  border-color: var(--green);
}
.btn--main:hover {
  background: #6dffa0;
  color: #04110a;
}
.btn--sm {
  padding: 8px 14px;
  font-size: 11px;
}
.btn[aria-disabled='true'] {
  cursor: not-allowed;
}
.btn .chip {
  margin-left: 2px;
}

/* status chips */
.chip {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.7;
  white-space: nowrap;
  vertical-align: 2px;
}
.chip--live {
  color: var(--green);
}
.chip--soon {
  color: var(--amber);
}
.chip--tbd {
  color: var(--grey);
}
.chip--off {
  color: var(--red);
}
.chip--plain {
  color: var(--mute);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

/* hero */
.hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  margin: 0 0 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero h1 .g {
  color: var(--green);
}
.hero h1 .strike {
  position: relative;
  color: var(--red);
}
.hero .sub {
  color: var(--mute);
  max-width: 36em;
  font-size: 16px;
  margin: 0 0 28px;
}
.hero .sub b {
  color: var(--ink);
  font-weight: 600;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.fine {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ca {
  display: flex;
  border: 1px solid var(--line2);
  background: var(--panel);
  max-width: 560px;
  margin-bottom: 14px;
}
.ca__l {
  padding: 10px 14px;
  flex: 1;
  min-width: 0;
}
.ca__k {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}
.ca__v {
  font-size: 13px;
  color: var(--green);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca button {
  border: 0;
  border-left: 1px solid var(--line2);
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 0 18px;
  cursor: pointer;
}
.ca button:hover {
  color: var(--green);
}

/* panels */
.panel {
  border: 1px solid var(--line2);
  background: var(--panel);
}
.panel__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line2);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
}
.panel__hd .r {
  color: var(--amber);
}
.frame {
  background: var(--frog);
  position: relative;
  overflow: hidden;
}
.frame img {
  width: 100%;
  height: auto;
}
.frame--dark {
  background: #0d2417;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line2);
}
.stats div {
  padding: 10px 12px;
  border-right: 1px solid var(--line2);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-transform: uppercase;
}
.stats div:last-child {
  border-right: 0;
}
.stats b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.term {
  margin-top: 14px;
}
.term pre {
  margin: 0;
  padding: 14px;
  font: inherit;
  font-size: 12px;
  line-height: 1.85;
  color: var(--mute);
  white-space: pre-wrap;
}
.term pre .k {
  color: var(--green);
}
.term pre .w {
  color: var(--amber);
}
.term pre .x {
  color: var(--red);
}

/* sections */
.sec {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.sec__hd {
  border-left: 3px solid var(--green);
  padding-left: 18px;
  margin-bottom: 40px;
  max-width: 760px;
}
.sec__no {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}
.sec h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  margin: 6px 0 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.sec__hd p {
  color: var(--mute);
  margin: 0;
  font-size: 15px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.note {
  color: var(--dim);
  font-size: 12px;
  margin-top: 16px;
}
.note sup,
.foot sup {
  color: var(--green);
}

/* toggle */
.tg {
  padding: 28px;
}
.tg__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.switch {
  display: inline-flex;
  border: 1px solid var(--line2);
  background: #06100a;
  padding: 4px;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}
.switch span {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--dim);
  transition:
    background 0.18s,
    color 0.18s;
}
.switch[data-state='on'] .s-on {
  background: var(--green);
  color: #04110a;
}
.switch[data-state='off'] .s-off {
  background: var(--red);
  color: #1a0505;
}
.switch:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.tg__state {
  margin: 22px 0 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.tg__state.on {
  color: var(--green);
}
.tg__state.off {
  color: var(--red);
}
.bubble {
  position: relative;
  border: 1px solid var(--line2);
  background: #06100a;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 15px;
  color: var(--ink);
}
.bubble::before {
  content: 'PEPE ›';
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 4px;
}
.tg__why {
  color: var(--mute);
  margin: 0;
}
.tg__img {
  transition: opacity 0.25s;
}
.tg__img.fade {
  opacity: 0.2;
}

/* steps / cards */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line2);
}
.card {
  padding: 22px;
  border-right: 1px solid var(--line2);
  background: var(--panel);
}
.card:last-child {
  border-right: 0;
}
.card__n {
  font-size: 34px;
  font-weight: 800;
  color: var(--line2);
  line-height: 1;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card p {
  color: var(--mute);
  font-size: 14px;
  margin: 0 0 14px;
}

/* table */
.tbl {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line2);
  background: var(--panel);
  font-size: 14px;
}
.tbl th,
.tbl td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.tbl thead th {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  border-bottom: 1px solid var(--line2);
}
.tbl thead th.us {
  color: var(--green);
}
.tbl tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 20%;
  font-size: 13px;
}
.tbl td {
  color: var(--mute);
}
.tbl td.us {
  color: var(--ink);
}
.tbl .chip {
  margin-left: 6px;
}

/* chat */
.chat {
  padding: 18px;
}
.msg {
  margin-bottom: 14px;
  font-size: 14px;
}
.msg b {
  font-weight: 700;
  margin-right: 6px;
}
.msg.you b {
  color: var(--amber);
}
.msg.bot b {
  color: var(--green);
}
.msg.bot {
  color: var(--ink);
  padding-left: 14px;
  border-left: 2px solid var(--line2);
}
.msg.you {
  color: var(--mute);
}
.chat hr {
  border: 0;
  border-top: 1px dashed var(--line2);
  margin: 16px 0;
}
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* rules */
.rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line2);
}
.rule {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.rule:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.rule h3 {
  margin: 0 0 6px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.rule h3 .n {
  color: var(--green);
  margin-right: 8px;
}
.rule p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}
.never {
  margin-top: 18px;
  border: 1px solid var(--red);
  padding: 14px 18px;
  color: var(--ink);
  font-size: 14px;
}
.never b {
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-right: 8px;
}

/* leaderboard */
.lb td,
.lb th {
  font-size: 12px;
}
.lb .empty td {
  text-align: center;
  padding: 40px 16px;
  color: var(--mute);
  font-size: 14px;
}
.lb .ghost td {
  color: var(--line2);
}

/* registry */
.reg {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line2);
  background: var(--panel);
}
.reg td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.reg td:first-child {
  width: 34%;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.reg td:last-child {
  text-align: right;
  width: 1%;
}

/* how to buy */
.buy {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.buy li {
  list-style: none;
  border: 1px solid var(--line2);
  background: var(--panel);
  padding: 20px;
}
.buy li::before {
  counter-increment: s;
  content: 'HOP ' counter(s);
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 10px;
}
.buy h3 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
}
.buy p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}
.warn {
  margin-top: 18px;
  border: 1px solid var(--amber);
  color: var(--ink);
  padding: 14px 18px;
  font-size: 14px;
}
.warn b {
  color: var(--amber);
}
ol.buy {
  padding: 0;
  margin: 0;
}

/* pond */
.pond {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}
.pond .frame {
  border: 1px solid var(--line2);
}

/* faq */
.faq details {
  border: 1px solid var(--line2);
  border-bottom: 0;
  background: var(--panel);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line2);
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--green);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--mute);
  max-width: 60em;
}

/* features (agent page) */
.feat {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--line2);
  border-bottom: 0;
  background: var(--panel);
}
.feat:last-of-type {
  border-bottom: 1px solid var(--line2);
}
.feat__l {
  padding: 22px;
  border-right: 1px solid var(--line2);
}
.feat__l h3 {
  margin: 0 0 10px;
  font-size: 17px;
  text-transform: uppercase;
}
.feat__r {
  padding: 22px;
}
.feat__r p {
  margin: 0 0 12px;
  color: var(--mute);
}
.feat__r .ex {
  color: var(--ink);
  border-left: 2px solid var(--green);
  padding-left: 12px;
  margin: 0;
}
.feat__r .ex i {
  color: var(--green);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 8px;
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line2);
  background: var(--panel);
}
.list li {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.list li:last-child {
  border-bottom: 0;
}
.list li::before {
  content: '✕';
  color: var(--red);
  margin-right: 12px;
}
.plain p {
  color: var(--mute);
  max-width: 52em;
}
.plain p b {
  color: var(--ink);
}

/* risk page */
.risks {
  counter-reset: r;
}
.risk {
  display: grid;
  grid-template-columns: 90px 1fr;
  border: 1px solid var(--line2);
  border-bottom: 0;
  background: var(--panel);
}
.risk:last-child {
  border-bottom: 1px solid var(--line2);
}
.risk::before {
  counter-increment: r;
  content: counter(r, decimal-leading-zero);
  padding: 22px;
  font-size: 26px;
  font-weight: 800;
  color: var(--line2);
  border-right: 1px solid var(--line2);
}
.risk div {
  padding: 22px;
}
.risk h3 {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
}
.risk p {
  margin: 0;
  color: var(--mute);
}
.geo {
  border: 1px solid var(--amber);
  padding: 26px;
  background: #140f04;
}
.geo h3 {
  margin: 0 0 12px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.geo p {
  color: var(--ink);
  margin: 0 0 12px;
}
.geo p:last-child {
  margin-bottom: 0;
}

/* footer */
.foot {
  padding: 48px 0 70px;
  color: var(--dim);
  font-size: 12px;
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
}
.foot__links {
  display: flex;
  gap: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
.foot__links a {
  color: var(--mute);
}
.foot p {
  max-width: 70em;
  margin: 16px 0 0;
  line-height: 1.7;
}

/* preview switcher */
.pv {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 60;
  display: flex;
  gap: 4px;
  align-items: center;
  background: #000;
  border: 1px dashed var(--amber);
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.pv button {
  background: transparent;
  color: var(--mute);
  border: 1px solid var(--line2);
  font: inherit;
  padding: 2px 8px;
  cursor: pointer;
}
.pv button.on {
  color: #000;
  background: var(--amber);
  border-color: var(--amber);
}
.hv {
  display: none;
}
.hv.on {
  display: block;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--green);
  color: #04110a;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s;
  z-index: 70;
}
.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero .wrap,
  .two,
  .pond {
    grid-template-columns: 1fr;
  }
  .grid4,
  .buy {
    grid-template-columns: 1fr 1fr;
  }
  .card:nth-child(2) {
    border-right: 0;
  }
  .card {
    border-bottom: 1px solid var(--line2);
  }
  .rules {
    grid-template-columns: 1fr;
  }
  .rule:nth-child(odd) {
    border-right: 0;
  }
  .nav {
    display: none;
  }
  .feat {
    grid-template-columns: 1fr;
  }
  .feat__l {
    border-right: 0;
    border-bottom: 1px solid var(--line2);
  }
  .pond .frame {
    max-width: 280px;
  }
}
@media (max-width: 620px) {
  .grid4,
  .buy {
    grid-template-columns: 1fr;
  }
  .card {
    border-right: 0;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats div:nth-child(2) {
    border-right: 0;
  }
  .tbl {
    font-size: 12px;
  }
  .tbl th,
  .tbl td {
    padding: 10px;
  }
  .risk {
    grid-template-columns: 1fr;
  }
  .risk::before {
    border-right: 0;
    border-bottom: 1px solid var(--line2);
    padding: 12px 22px;
  }
  .hdr__right .st {
    display: none;
  }
  .sec {
    padding: 64px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.js-stagger .msg { opacity: 0; transform: translateY(6px); transition: opacity 0.45s, transform 0.45s; }
.js-stagger .msg.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-stagger .msg { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .logo em { display: none; }
  .hdr .btn--sm .chip { display: none; }
  .term pre { white-space: pre; overflow-x: auto; font-size: 11px; }
}
.hero .wrap > *, .two > *, .pond > * { min-width: 0; }

/* ---------- v2: short meme layout ---------- */
.v2 .hero { padding: 56px 0 64px; }
.v2 .hero .wrap { grid-template-columns: 1fr 0.9fr; align-items: center; }
.v2 .hero h1 { font-size: clamp(44px, 6.4vw, 92px); }
.v2 .hero .sub { font-size: 18px; }
.sec--tight { padding: 64px 0; }
.h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; margin: 8px 0 26px; text-transform: uppercase; letter-spacing: -0.01em; }
.v2 .sec__no { margin-bottom: 18px; }
.v2 .tg { display: flex; flex-direction: column; justify-content: center; }
.v2 .tg .h2 { margin-bottom: 22px; }
.v2 .tg__state { font-size: 15px; }
.v2 .bubble { font-size: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); }
.three .card { border-right: 1px solid var(--line2); }
.three .card:last-child { border-right: 0; }
.three .card h3 { font-size: 20px; }
.three .card p { font-size: 15px; }
.memes { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 14px; align-items: stretch; }
.memes figure { margin: 0; border: 1px solid var(--line2); background: var(--frog); display: flex; flex-direction: column; }
.memes figure:nth-child(2) { background: #0d2417; }
.memes img { width: 100%; height: 100%; object-fit: cover; flex: 1; min-height: 0; }
.memes figcaption { background: var(--panel); border-top: 1px solid var(--line2); padding: 8px 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.tokchips { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line2); background: var(--panel); }
.tokchips div { padding: 16px; border-right: 1px solid var(--line2); min-width: 0; }
.tokchips div:last-child { border-right: 0; }
.tokchips span { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.tokchips b { font-size: 15px; color: var(--green); overflow-wrap: anywhere; }
.hops { list-style: none; counter-reset: h; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hops li { border: 1px solid var(--line2); background: var(--panel); padding: 18px; font-size: 15px; }
.hops li::before { counter-increment: h; content: "HOP " counter(h); display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--green); margin-bottom: 8px; }
.pondv2 { text-align: center; }
.pondv2 .h2 { margin-bottom: 20px; }
.v2 .foot { padding: 28px 0 70px; border-top: 1px solid var(--line); }
.v2 .foot p { margin: 0 auto; max-width: 62em; text-align: center; }
.v2 .foot b { color: var(--mute); }
@media (max-width: 980px) {
  .three, .hops { grid-template-columns: 1fr; }
  .three .card { border-right: 0; border-bottom: 1px solid var(--line2); }
  .three .card:last-child { border-bottom: 0; }
  .memes { grid-template-columns: 1fr 1fr; }
  .memes figure:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .tokchips { grid-template-columns: repeat(3, 1fr); }
  .tokchips div { border-bottom: 1px solid var(--line2); }
  .tokchips div:nth-child(3n) { border-right: 0; }
}
@media (max-width: 620px) {
  .tokchips { grid-template-columns: 1fr 1fr; }
  .tokchips div:nth-child(3n) { border-right: 1px solid var(--line2); }
  .tokchips div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 980px) {
  .v2 .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .v2 .hero .panel { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
  .v2 .hero { padding: 28px 0 48px; }
}

/* ---------- v2.1: no green fills behind art ---------- */
.v2 .ticker { background: transparent; color: var(--green); border-bottom: 1px solid var(--line2); }
.mascot { position: relative; }
.mascot .art { background: transparent; }
.mascot img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.v2 .hero .mascot img { max-width: 560px; margin: 0 auto; }
.stats--bare { background: transparent; border: 0; border-top: 1px solid var(--line2); margin-top: 8px; }
.stats--bare div { border-right: 1px solid var(--line); }
.v2 .memes figure { background: transparent; border: 0; }
.v2 .memes figure:nth-child(2) { background: transparent; }
.v2 .memes img { object-fit: contain; }
.v2 .memes figure:nth-child(2) img { object-fit: cover; border: 1px solid var(--line2); }
.v2 .memes figcaption { background: transparent; border-top: 0; text-align: center; padding: 10px 0 0; }
@media (max-width: 980px) {
  .v2 .hero .mascot { order: -1; max-width: 400px; width: 100%; margin: 0 auto; }
}

/* ---------- v2.2: six-item dev list ---------- */
.lede { color: var(--mute); max-width: 44em; margin: -10px 0 26px; font-size: 16px; }
.six { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); }
.six .card { border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.six .card:nth-child(3n) { border-right: 0; }
.six .card:nth-last-child(-n + 3) { border-bottom: 0; }
.six .card h3 { font-size: 18px; }
.six .card p { font-size: 15px; margin: 0; }
@media (max-width: 980px) {
  .six { grid-template-columns: 1fr 1fr; }
  .six .card:nth-child(3n) { border-right: 1px solid var(--line2); }
  .six .card:nth-child(2n) { border-right: 0; }
  .six .card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line2); }
  .six .card:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 620px) {
  .six { grid-template-columns: 1fr; }
  .six .card { border-right: 0 !important; border-bottom: 1px solid var(--line2) !important; }
  .six .card:last-child { border-bottom: 0 !important; }
}
@media (max-width: 620px) {
  .six .card { padding: 16px 18px; }
  .six .card__n { font-size: 18px; margin-bottom: 6px; }
}

/* ---------- v2.3: how it autos ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line2); background: var(--panel); }
.step { padding: 22px 24px; border-right: 1px solid var(--line2); position: relative; }
.step:last-child { border-right: 0; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); background: var(--bg); color: var(--green); width: 22px; text-align: center; font-weight: 800; z-index: 1; }
.step__k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; font-weight: 700; }
.step p { margin: 0; color: var(--mute); font-size: 15px; }
.step p.quote { color: var(--ink); font-size: 16px; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: 13px; }
.uses span { color: var(--dim); margin-right: 4px; }
.uses b { font-weight: 600; color: var(--ink); border: 1px solid var(--line2); padding: 4px 10px; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line2); }
  .step:last-child { border-bottom: 0; }
  .step:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -12px; transform: none; }
}

/* ---------- v2.4: app design preview ---------- */
.app { border: 1px solid var(--line2); background: #06100a; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); font-size: 13px; }
.app__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line2); background: var(--panel); }
.app__dots { display: inline-flex; gap: 6px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); display: block; }
.app__title { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.app__tag { margin-left: auto; color: var(--amber); border: 1px dashed var(--amber); padding: 1px 8px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.app__grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; }
.app__col { padding: 16px 18px; border-right: 1px solid var(--line); min-width: 0; }
.app__col:last-child { border-right: 0; }
.app__h { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin: 4px 0 10px; font-weight: 700; }
.app__h em { font-style: normal; color: var(--green); margin-right: 4px; }
.app__col .app__h:not(:first-child) { margin-top: 18px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.kv span { color: var(--dim); }
.kv b { color: var(--ink); font-weight: 600; text-align: right; }
.kv b.sel { border: 1px solid var(--line2); padding: 0 8px; color: var(--green); }
.kv b.red { color: var(--red); }
.opts { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.opts b { font-weight: 500; font-size: 11px; color: var(--mute); border: 1px solid var(--line); padding: 1px 7px; }
.opts b:first-child { color: #04110a; background: var(--green); border-color: var(--green); }
.pad { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pad i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); margin-top: 6px; }
.pad i.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.pad p { margin: 0; color: var(--ink); line-height: 1.5; }
.pad span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.newpad { margin-top: 12px; border: 1px dashed var(--line2); padding: 8px; text-align: center; color: var(--green); }
.mini { display: inline-flex; border: 1px solid var(--line2); padding: 3px; gap: 3px; margin-bottom: 14px; }
.mini span { padding: 4px 12px; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.mini span.on { background: var(--green); color: #04110a; }
.ask { border: 1px solid var(--amber); padding: 12px; background: #140f04; }
.ask__t { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.ask__r { color: var(--mute); font-size: 12px; margin-bottom: 10px; }
.ask__b { display: flex; gap: 8px; align-items: center; }
.ask__b span { border: 1px solid var(--line2); padding: 3px 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.ask__b span.y { background: var(--green); border-color: var(--green); color: #04110a; font-weight: 700; }
.ask__b small { margin-left: auto; color: var(--amber); }
.log { margin-top: 14px; font-size: 12px; color: var(--mute); }
.log div { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.log span { color: var(--dim); display: inline-block; min-width: 70px; }
.app__lb { border-top: 1px solid var(--line2); padding: 14px 18px 16px; overflow-x: auto; }
.app__lb table { width: 100%; border-collapse: collapse; min-width: 460px; }
.app__lb th { text-align: left; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 600; padding: 4px 8px; border-bottom: 1px solid var(--line); }
.app__lb td { padding: 7px 8px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.app__lb td.g { color: var(--green); }
.app__lb td.r { color: var(--red); }
.cp { border: 1px solid var(--line2); padding: 1px 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.mvp { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line2); background: var(--panel); }
.mvp li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 18px 20px; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.mvp li:nth-child(3n) { border-right: 0; }
.mvp li:nth-last-child(-n + 3) { border-bottom: 0; }
.mvp em { font-style: normal; color: var(--green); font-size: 20px; line-height: 1.2; }
.mvp h3 { margin: 0 0 6px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.mvp p { margin: 0; color: var(--mute); font-size: 14px; }
.v2 .switch span { font-size: 15px; padding: 12px 22px; }
@media (max-width: 980px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__col { border-right: 0; border-bottom: 1px solid var(--line); }
  .app__tag { display: none; }
  .mvp { grid-template-columns: 1fr; }
  .mvp li { border-right: 0 !important; border-bottom: 1px solid var(--line2) !important; }
  .mvp li:last-child { border-bottom: 0 !important; }
}
@media (max-width: 620px) {
  .app__bar::after { content: "Preview · In dev · Demo"; margin-left: auto; color: var(--amber); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
}
.howuse { margin-top: 18px; border: 1px solid var(--amber); background: #140f04; padding: 14px 18px; color: var(--ink); font-size: 15px; }
.howuse b { color: var(--amber); margin-right: 6px; }

/* ---------- whitepaper ---------- */
.wp__grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 48px; padding-bottom: 40px; }
.wp__toc { position: sticky; top: 80px; align-self: start; font-size: 12px; border-left: 1px solid var(--line2); padding-left: 16px; }
.wp__toc-h { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.wp__toc ul { list-style: none; margin: 0; padding: 0; }
.wp__toc li { margin: 0 0 8px; }
.wp__toc a { color: var(--mute); }
.wp__toc a:hover { color: var(--green); text-decoration: none; }
.wp__body { max-width: 760px; min-width: 0; font-size: 15px; line-height: 1.75; }
.wp__body h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; text-transform: uppercase; margin: 0 0 10px; }
.wp__body h2 { font-size: 24px; text-transform: uppercase; margin: 56px 0 14px; padding-top: 14px; border-top: 1px solid var(--line2); scroll-margin-top: 80px; }
.wp__body h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; margin: 30px 0 8px; color: var(--green); }
.wp__body p, .wp__body li { color: #b9d8c3; }
.wp__body strong { color: var(--ink); }
.wp__body hr { display: none; }
.wp__body blockquote { margin: 22px 0; border: 1px solid var(--amber); background: #140f04; padding: 4px 18px; }
.wp__body blockquote p { color: var(--ink); }
.wp__body table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; border: 1px solid var(--line2); background: var(--panel); }
.wp__body th, .wp__body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.wp__body th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.wp__body td:first-child { color: var(--ink); }
.wp__body small { color: var(--dim); font-size: 12px; }
.wp__body ul, .wp__body ol { padding-left: 22px; }
@media (max-width: 980px) {
  .wp__grid { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .wp__toc { position: static; }
}
@media print {
  body { background: #fff !important; background-image: none !important; color: #111; font-size: 11pt; }
  .hdr, .foot, .wp__toc, .pv, .toast { display: none !important; }
  .wp__grid { display: block; padding: 0; }
  .wp__body { max-width: none; }
  .wp__body p, .wp__body li, .wp__body td, .wp__body th { color: #222 !important; }
  .wp__body h1, .wp__body h2, .wp__body strong, .wp__body td:first-child { color: #000 !important; }
  .wp__body h3 { color: #0a7a35 !important; }
  .wp__body h2 { border-top-color: #ccc; page-break-after: avoid; }
  .wp__body table { background: #fff; border-color: #ccc; }
  .wp__body th, .wp__body td { border-color: #ddd; }
  .wp__body blockquote { background: #fff8e6; border-color: #d99a00; }
  .wp__body blockquote p { color: #222 !important; }
  .chip { border-color: #555 !important; color: #333 !important; }
  .wp__body a { color: #0a7a35; }
}

/* ---------- v2.5: token detail, roadmap, footer links ---------- */
.tokchips--7 { grid-template-columns: repeat(7, 1fr); }
.tokwhy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line2); border-top: 0; background: var(--panel); }
.tokwhy div { padding: 18px 20px; border-right: 1px solid var(--line2); }
.tokwhy div:last-child { border-right: 0; }
.tokwhy h3 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green); }
.tokwhy p { margin: 0; color: var(--mute); font-size: 14px; }
.road { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line2); background: var(--panel); }
.road li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.road li:last-child { border-bottom: 0; }
.road__n { font-size: 30px; font-weight: 800; color: var(--line2); text-align: center; }
.road h3 { margin: 0 0 4px; font-size: 16px; text-transform: uppercase; }
.road p { margin: 0; color: var(--mute); font-size: 14px; }
.foot__links--v2 { justify-content: center; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 980px) {
  .tokchips--7 { grid-template-columns: repeat(3, 1fr); }
  .tokwhy { grid-template-columns: 1fr; }
  .tokwhy div { border-right: 0; border-bottom: 1px solid var(--line2); }
  .tokwhy div:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  .tokchips--7 { grid-template-columns: 1fr 1fr; }
  .road li { grid-template-columns: 36px 1fr; }
  .road li .chip { grid-column: 2; justify-self: start; }
  .road__n { font-size: 22px; }
}
.wp__grid > * { min-width: 0; }
.wp__body { overflow-wrap: break-word; }
@media (max-width: 620px) {
  .wp__body table { display: block; overflow-x: auto; }
  .wp__body h1 { font-size: 32px; }
}
@media print {
  .wp__grid { padding: 0 2mm !important; }
  .wp__body ol, .wp__body ul { padding-left: 2.4em; }
  .wp__body ol { list-style: decimal outside; }
}

/* ---------- v2.6: allocation ---------- */
.tokchips--5 { grid-template-columns: repeat(5, 1fr); }
.alloc { border: 1px solid var(--line2); border-top: 0; background: var(--panel); padding: 18px 20px; }
.alloc__bar { display: flex; height: 14px; border: 1px solid var(--line2); margin-bottom: 16px; }
.alloc__bar i { display: block; height: 100%; }
.alloc__bar i:nth-child(1) { background: var(--green); }
.alloc__bar i:nth-child(2) { background: var(--amber); }
.alloc__bar i:nth-child(3) { background: #7fd3ff; }
.alloc__rows { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 18px; }
.alloc__rows b { display: block; font-size: 28px; line-height: 1; }
.alloc__rows div:nth-child(1) b { color: var(--green); }
.alloc__rows div:nth-child(2) b { color: var(--amber); }
.alloc__rows div:nth-child(3) b { color: #7fd3ff; }
.alloc__rows span { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin: 6px 0 4px; }
.alloc__rows p { margin: 0; color: var(--mute); font-size: 13px; }
@media (max-width: 980px) {
  .tokchips--5 { grid-template-columns: repeat(3, 1fr); }
  .alloc__rows { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tokchips--5 { grid-template-columns: 1fr 1fr; }
}

/* ---------- v3: motion layer (anim.js) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.wi { display: inline-block; will-change: transform; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 0.08em; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); box-shadow: 0 0 12px rgba(255, 77, 77, 0.6); }
.strike.struck::after { transform: scaleX(1); }
.hero .mascot { perspective: 900px; }
.hero .mascot .art { transform-style: preserve-3d; will-change: transform; }
.hdr { transition: background 0.3s, box-shadow 0.3s; }
.hdr--scrolled { background: rgba(7, 18, 12, 0.97); box-shadow: 0 1px 0 var(--line2), 0 10px 30px rgba(0, 0, 0, 0.35); }
.btn { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s, color 0.18s, background 0.18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(57, 255, 122, 0.14); }
.btn--main:hover { box-shadow: 0 8px 26px rgba(57, 255, 122, 0.35); }
.ticker:hover .ticker__track { animation-play-state: paused; }
.flow .step { transition: background 0.4s, box-shadow 0.4s; }
.flow .step.lit { background: #10301d; box-shadow: inset 0 0 0 1px var(--green), 0 0 24px rgba(57, 255, 122, 0.12); }
.flow .step.lit .step__k { color: var(--ink); }
.flow .step.lit .step__k::before { content: "▶ "; color: var(--green); }
.pad i.on { animation: padpulse 2s ease-in-out infinite; }
@keyframes padpulse { 0%, 100% { box-shadow: 0 0 4px var(--green); } 50% { box-shadow: 0 0 12px var(--green), 0 0 2px var(--green); } }
.ask.ping { animation: askping 2.4s ease-out infinite; }
@keyframes askping { 0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }
.ask__b span.y { animation: approveglow 1.6s ease-in-out infinite; }
@keyframes approveglow { 0%, 100% { box-shadow: 0 0 0 rgba(57, 255, 122, 0); } 50% { box-shadow: 0 0 14px rgba(57, 255, 122, 0.55); } }
.chip--live { position: relative; padding-left: 16px; }
.chip--live::before { content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--green); animation: livedot 1.4s ease-in-out infinite; }
@keyframes livedot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.roadwrap { position: relative; }
.road__line { position: absolute; left: 47px; top: 18px; bottom: 18px; width: 2px; background: var(--line); z-index: 1; pointer-events: none; }
.road__line i { display: block; width: 100%; height: 100%; background: var(--green); transform-origin: top center; box-shadow: 0 0 8px var(--green); }
.road li { position: relative; }
.road__n { position: relative; z-index: 2; background: var(--panel); }
.memes figure { transition: transform 0.35s ease; }
.memes figure:hover { transform: translateY(-6px) rotate(-1deg); }
.memes figure:hover img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5)); }
.six .card, .mvp li, .tokwhy div { transition: background 0.25s; }
.six .card:hover, .mvp li:hover { background: #0f2619; }
.dot { animation: livedot 1.4s ease-in-out infinite; }
@media (max-width: 620px) {
  .road__line { left: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .strike::after { transform: scaleX(1); transition: none; }
  .pad i.on, .ask.ping, .ask__b span.y, .chip--live::before, .dot { animation: none; }
  .btn:hover, .memes figure:hover { transform: none; }
}
.strike::after { transform: scaleX(1); }
.motion .strike::after { transform: scaleX(0); }
.motion .strike.struck::after { transform: scaleX(1); }

/* ---------- v3: looping art videos ---------- */
.loopvid { display: block; width: 100%; height: auto; background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 82%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 82%, transparent 100%); }
.loopvid--scene { -webkit-mask-image: none; mask-image: none; }
.hero .mascot .loopvid { max-width: 560px; margin: 0 auto; }
.v2 .memes video { width: 100%; height: 100%; object-fit: contain; flex: 1; min-height: 0; }
.v2 .memes figure:nth-child(2) video { object-fit: cover; border: 1px solid var(--line2); }

/* ---------- v3.1: memes strip can never overflow (old iOS Safari / in-app browsers) ---------- */
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
.v2 .memes { overflow: hidden; }
.v2 .memes > figure { display: block; min-width: 0; max-width: 100%; }
.v2 .memes video, .v2 .memes img { display: block; width: 100%; max-width: 100%; height: auto; flex: none; aspect-ratio: 1 / 1; object-fit: contain; }
.v2 .memes figure:nth-child(2) video, .v2 .memes figure:nth-child(2) img { aspect-ratio: 3 / 2; object-fit: cover; }
.v2 .memes { align-items: end; }
.hero .mascot, .hero .mascot .art { min-width: 0; max-width: 100%; }
.hero .mascot video { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1 / 1; }
@media (max-width: 620px) {
  .v2 .memes { gap: 10px; }
  .v2 .memes figcaption { font-size: 10px; letter-spacing: 0.1em; }
}

/* ---------- v3.2: gentler edge feather so the art isn't cut off ---------- */
.loopvid {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-composite: intersect;
}
.loopvid--scene { -webkit-mask-image: none; mask-image: none; }
.v2 .memes figure:not(:nth-child(2)) video { width: 90%; margin: 0 auto; }

/* ---------- v3.3: video background disappears into the page (lighten), no mask, no box ---------- */
.loopvid:not(.loopvid--scene) { -webkit-mask-image: none; mask-image: none; mix-blend-mode: lighten; }
/* blend must sit on the outermost layer: inner transforms isolate blending */
.loopvid:not(.loopvid--scene) { mix-blend-mode: normal; }
.hero .mascot { mix-blend-mode: lighten; }
.v2 .memes figure:not(:nth-child(2)) { mix-blend-mode: lighten; }
