/* Peak Bot website theme: lime #8FE04B on black, Inter. Shared by the homepage, token pages and the editor. */

:root {
  --green: #8FE04B;
  --green-dim: #5C9E2E;
  --bg: #000000;          /* pure black so the logo's black backdrop blends seamlessly */
  --panel: #101410;
  --panel-2: #0C0F0B;
  --edge: #1F2A1B;
  --text: #FFFFFF;
  --dim: #8A9585;
  --radius: 16px;
  --maxw: 1600px; /* was 1200px; widened 2026-09-30 ("much wider"), the side gutter grows with the screen */
  --glow: 0 0 60px rgba(143, 224, 75, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; top: -20%; left: 50%;
  width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(143, 224, 75, 0.10) 0%, rgba(143, 224, 75, 0) 60%);
  pointer-events: none; z-index: 0;
}

a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 2.5vw, 40px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #06120A; box-shadow: 0 8px 30px rgba(143,224,75,.28); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(143,224,75,.42); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--edge); }
.btn-ghost:hover { border-color: var(--green-dim); background: rgba(143,224,75,.06); }

/* header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; }
.brand .mark { width: 42px; height: 42px; flex: none; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; color: var(--dim); font-weight: 600; font-size: 14px; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; border-radius: 2px; background: var(--green); box-shadow: 0 0 12px var(--green); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-x { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 50%; color: var(--dim); border: 1px solid var(--edge); transition: color .15s ease, border-color .15s ease, background .15s ease; }
.nav-x:hover { color: var(--text); border-color: var(--green-dim); background: rgba(143,224,75,.06); }
.brand-text { white-space: nowrap; text-transform: uppercase; letter-spacing: 2px; }
.nav-tg { display: inline-flex; align-items: center; gap: 8px; }
.nav-trend svg { flex: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }

/* hero */
.hero { position: relative; z-index: 1; padding: 76px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--green); background: rgba(143,224,75,.08);
  border: 1px solid var(--edge); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.03; font-weight: 900; letter-spacing: -1.5px; }
h1 .accent { color: var(--green); }
.lede { color: var(--dim); font-size: 19px; margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.chain-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--dim);
  border: 1px solid var(--edge); border-radius: 999px; padding: 7px 14px; background: var(--panel-2);
}
.chip .led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* hero logo showpiece */
.hero-logo { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-logo::after {
  content: ""; position: absolute; width: 62%; height: 62%; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,224,75,.20), rgba(143,224,75,0) 65%);
  filter: blur(10px); z-index: 0;
}
.hero-logo img { position: relative; z-index: 1; max-width: 100%; width: 480px; height: auto; }
/* fallback shown only if the logo image fails to load */
.logo-fallback { position: relative; z-index: 1; text-align: center; }
.logo-fallback svg { width: 150px; height: 150px; }
.logo-fallback .wm { font-size: 46px; font-weight: 900; letter-spacing: -1px; margin-top: 6px; }
.logo-fallback .wm span { color: var(--green); }
.logo-fallback .sub { color: var(--green); font-weight: 800; letter-spacing: 6px; font-size: 15px; }

/* sections */
section { position: relative; z-index: 1; padding: 68px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .tag { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; margin: 12px 0 14px; }
.section-head p { color: var(--dim); font-size: 17px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--edge), transparent); }

/* showcase: alert card + live board */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }

/* Alert card: mirrors the card the bot draws (src/services/alertImage.ts in the bot, 800x450 since 2026-09-30).
   Same layout, sized in container units (1cqw = 8 of the bot's pixels), so it is an exact scaled copy at any
   width. Keep the two in step when the bot's card changes. */
.acard-wrap { position: relative; align-self: center; width: 100%; }
.acard-tag {
  position: absolute; top: -12px; right: 18px; z-index: 2;
  background: var(--green); color: #06120A; font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 20px rgba(143,224,75,.4);
}
.acard {
  container-type: inline-size; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border: 1px solid var(--edge); border-radius: 20px;
  box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,.5);
}
.acard-art { position: absolute; left: 50%; top: 1.25cqw; width: 58.75cqw; height: 58.75cqw; opacity: .9; }
.acard-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #000 38%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.1) 100%); }
.acard-main { position: absolute; left: 3.75cqw; top: 3.75cqw; display: flex; flex-direction: column; gap: 1.75cqw; line-height: 1.2; }
.acard-head { display: flex; align-items: center; gap: 1.75cqw; }
.acard-logo {
  width: 8cqw; height: 8cqw; flex: none; border-radius: 50%; border: .375cqw solid var(--green);
  box-shadow: 0 0 2.625cqw rgba(143,224,75,.45); background: #101410; color: var(--green);
  font-size: 3.375cqw; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.acard-id { display: flex; flex-direction: column; }
.acard-tk { color: var(--green); font-size: 3cqw; font-weight: 900; line-height: 1.2; }
.acard-h { color: #fff; font-size: 5.5cqw; font-weight: 900; letter-spacing: -.15cqw; line-height: 1; }
.acard-usd {
  margin-top: 1cqw; color: var(--green); font-size: 10.5cqw; font-weight: 900; letter-spacing: -.375cqw; line-height: 1;
  text-shadow: 0 0 1.75cqw rgba(143,224,75,.5);
}
.acard-swap { display: flex; align-items: center; gap: 1.5cqw; color: #fff; font-size: 3cqw; font-weight: 700; white-space: nowrap; }
.acard-swap svg { width: 3cqw; height: 3cqw; flex: none; }
.acard-pills { display: flex; flex-wrap: wrap; gap: 1.25cqw; width: 70cqw; margin-top: 1.25cqw; }
.acard-pill {
  display: inline-flex; align-items: center; gap: 1.25cqw; padding: 1.25cqw 2cqw; border-radius: 999px;
  border: 1px solid var(--edge); background: rgba(16,20,16,.92); color: #fff; font-size: 2.5cqw; font-weight: 900; white-space: nowrap;
}
.acard-pill b { color: var(--dim); font-size: 1.625cqw; font-weight: 900; letter-spacing: .175cqw; }
.acard-foot { position: absolute; left: 3.75cqw; bottom: 3.75cqw; display: flex; align-items: center; gap: 1cqw; line-height: 1.2; }
.acard-foot .w { color: #fff; font-size: 2.5cqw; font-weight: 900; letter-spacing: .25cqw; }
.acard-foot .g { color: var(--green); font-size: 2.5cqw; font-weight: 700; letter-spacing: .5cqw; }
.acard-foot i { width: .875cqw; height: .875cqw; margin: 0 1.25cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 1.25cqw rgba(143,224,75,.9); }
.acard-foot .d { color: var(--dim); font-size: 2cqw; font-weight: 600; }

/* live board */
.board { background: var(--panel); border: 1px solid var(--edge); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; }
.board-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.board-head h3 { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 9px; }
.board-head h3 .trophy { color: var(--green); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--green); }
.live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(143,224,75,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(143,224,75,.55)} 70%{box-shadow:0 0 0 9px rgba(143,224,75,0)} 100%{box-shadow:0 0 0 0 rgba(143,224,75,0)} }
.board-sub { color: var(--dim); font-size: 13px; margin-bottom: 8px; }
.lb { position: relative; }
.lb-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 6px; font-size: 15px;
  border-top: 1px solid var(--edge); border-radius: 8px;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), background .3s ease;
}
.lb-row:first-child { border-top: 0; }
.lb-rank { width: 24px; height: 24px; flex: none; border-radius: 7px; background: rgba(143,224,75,.12); color: var(--green); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.lb-tk { font-weight: 800; min-width: 74px; }
.lb-up { margin-left: auto; color: var(--green); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-mc { color: var(--dim); font-weight: 600; font-size: 14px; min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.lb-row.flash { background: rgba(143,224,75,.07); }
.lb-dn { color: #E0574B; } /* rare negative 1h move */
.lb-icon { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel-2); border: 1px solid var(--edge); display: flex; align-items: center; justify-content: center; }
.lb-icon b { color: var(--dim); font-size: 12px; font-weight: 800; }
.lb-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chain-tabs { display: flex; gap: 8px; margin: 6px 0 12px; }
.chain-tab {
  flex: 1; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--dim); background: var(--panel-2); border: 1px solid var(--edge);
  border-radius: 999px; padding: 8px 6px; transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.chain-tab:hover { color: var(--text); }
.chain-tab.active { color: #06120A; background: var(--green); border-color: var(--green); }
.board-note { color: var(--dim); font-size: 13.5px; text-align: center; padding: 18px 8px 6px; }
.board-note a { color: var(--green); font-weight: 700; }
.sk { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--edge); }
.sk:first-child { border-top: 0; }
.sk span { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #141a13 25%, #1c261a 37%, #141a13 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.sk .a { width: 24px; height: 24px; border-radius: 7px; } .sk .b { width: 70px; } .sk .c { margin-left: auto; width: 52px; } .sk .d { width: 54px; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }
@media (prefers-reduced-motion: reduce) { .sk span { animation: none; } }

/* features */
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 26px; transition: transform .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-3px); border-color: var(--green-dim); }
.feature .ficon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; background: rgba(143,224,75,.1); border: 1px solid var(--edge); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--dim); font-size: 15px; }

/* chains */
.chains { grid-template-columns: repeat(3, 1fr); }
.chain-card { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; }
.chain-card .name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.chain-card .name .led { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chain-card .role { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .3px; margin-bottom: 14px; }
.chain-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.chain-card li { color: var(--dim); font-size: 14.5px; padding-left: 22px; position: relative; }
.chain-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* trending split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel-box { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 28px; }
.panel-box h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.panel-box p { color: var(--dim); font-size: 15px; margin-bottom: 16px; }
.panel-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.panel-box li { color: var(--dim); font-size: 15px; padding-left: 24px; position: relative; }
.panel-box li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* steps */
.steps { grid-template-columns: repeat(3, 1fr); }
.step { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 26px; }
.step .num { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px; background: var(--green); color: #06120A; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--dim); font-size: 15px; }
.step code { background: var(--panel-2); border: 1px solid var(--edge); border-radius: 6px; padding: 2px 7px; color: var(--green); font-size: 13px; }

/* CTA */
.cta-band { text-align: center; background: radial-gradient(600px 200px at 50% 0%, rgba(143,224,75,.12), transparent 70%), var(--panel); border: 1px solid var(--edge); border-radius: 24px; padding: 56px 28px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; }
.cta-band p { color: var(--dim); font-size: 18px; margin: 14px auto 28px; max-width: 480px; }
.cta-band .hero-cta { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--edge); padding: 46px 0 40px; position: relative; z-index: 1; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand img.logo-img { height: 84px; width: auto; display: none; margin-bottom: 8px; }
.foot-brand p { color: var(--dim); font-size: 14px; margin-top: 12px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; margin-bottom: 10px; opacity: .85; transition: opacity .15s ease, color .15s ease; }
.foot-col a:hover { opacity: 1; color: var(--green); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--edge); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

/* responsive */
@media (max-width: 980px) {
  /* Not enough room for everything in the header: the nav links already cover Trending. */
  .nav-links { gap: 22px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 900px) {
  /* The five nav links need ~900px; below that they move into the menu button. */
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 10px 0 16px; border-top: 1px solid var(--edge); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { color: var(--dim); font-weight: 600; padding: 10px 4px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 360px; }
  .showcase, .split { grid-template-columns: minmax(0, 1fr); }
  .features, .chains, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-x { display: none; }
  /* Compact the Telegram CTA to an icon so it stops squashing the brand. */
  .nav-tg .nav-tg-text { display: none; }
  .nav-tg .tg-ico { display: inline-flex; }
  .nav-tg { padding: 10px 12px; }
  .nav-cta { gap: 8px; }
  .features, .chains, .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 36px; }
  section { padding: 52px 0; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ================= V2: shared bits ================= */
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 800; letter-spacing: .3px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--edge); background: var(--panel-2); color: var(--dim);
}
.pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.pill.top3 { color: #06120A; background: var(--green); border-color: var(--green); box-shadow: 0 4px 18px rgba(143,224,75,.28); }
.pill.top10 { color: var(--green); background: rgba(143,224,75,.08); border-color: var(--green-dim); }
.pill.organic { color: var(--text); }
.pill.organic .led { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pill.chain-solana .led { background: #9945FF; }
.pill.chain-robinhood .led { background: #CCFF00; }
.pill.chain-arc .led { background: #4C8DFF; }
.up { color: var(--green); }
.dn { color: #E0574B; }
.muted { color: var(--dim); }
.box { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 22px; }
.box h2 { font-size: 18px; font-weight: 900; margin-bottom: 12px; letter-spacing: -.2px; }
.box p { color: var(--dim); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.box ul, .box ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.box li { color: var(--dim); font-size: 15px; padding-left: 24px; position: relative; overflow-wrap: anywhere; }
.box ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.box ol { counter-reset: step; gap: 12px; }
.box ol li { padding-left: 34px; min-height: 22px; }
.box ol li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 7px; background: rgba(143,224,75,.12); color: var(--green);
  font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}

/* ================= V3 homepage: hero, top 3 cards, live market feed, live trending table ================= */
.hero2 { padding: 44px 0 26px; text-align: center; }
.hero2-eyebrow { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 14px; }
.hero2 h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -1.6px; }
.hero2-sub { margin-top: 14px; color: var(--dim); font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero2-more { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; font-size: 13px; padding: 6px 13px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(255,255,255,.02); transition: border-color .15s ease, background .15s ease; }
.hero2-more:hover { border-color: var(--green-dim); background: rgba(143,224,75,.06); }

#discover.disc2 { padding: 8px 0 60px; }
.spark-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pulse { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(143,224,75,.6); animation: pulse 1.8s infinite; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* top 3 cards */
.t3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t3-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px 18px; background: linear-gradient(180deg, rgba(143,224,75,.045), rgba(143,224,75,0) 45%), var(--panel); border: 1px solid var(--edge); border-radius: 18px; transition: transform .15s ease, border-color .15s ease; }
.t3-card:hover { transform: translateY(-2px); border-color: var(--green-dim); }
.t3-card.first { border-color: var(--green); box-shadow: 0 0 0 1px rgba(143,224,75,.22), 0 0 46px rgba(143,224,75,.18); }
.t3-top { display: flex; align-items: center; gap: 8px; min-height: 24px; flex-wrap: wrap; }
.t3-rank { font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 7px; background: rgba(143,224,75,.14); color: var(--green); }
.t3-card.first .t3-rank { background: var(--green); color: #06120A; }
.t3-top .pill { font-size: 11px; padding: 3px 9px; }
.t3-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 10px; }
.t3-logo { position: relative; width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel-2); border: 2px solid var(--green); box-shadow: 0 0 22px rgba(143,224,75,.35); display: flex; align-items: center; justify-content: center; }
.t3-logo b { color: var(--green); font-size: 22px; font-weight: 900; }
.t3-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t3-id { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.t3-sym { max-width: 100%; font-size: 19px; font-weight: 900; letter-spacing: -.3px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t3-name { max-width: 100%; color: var(--dim); font-size: 13px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; }
.t3-id .pill { font-size: 11px; padding: 3px 9px; }
.t3-ch { align-self: start; padding-top: 2px; text-align: right; }
.t3-ch > span { display: block; font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t3-ch small { color: var(--dim); font-size: 12px; font-weight: 700; }
.t3-spark { display: block; width: 100%; height: 48px; margin-top: 12px; overflow: visible; }
.t3-spark.up .ln { filter: drop-shadow(0 0 6px rgba(143,224,75,.55)); }
.t3-spark.dn .ln { filter: drop-shadow(0 0 6px rgba(224,87,75,.5)); }
.t3-tag { margin-top: 6px; color: var(--dim); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t3-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; padding-top: 12px; }
.t3-stats > div { min-width: 0; padding: 0 12px; border-left: 1px solid var(--edge); }
.t3-stats > div:first-child { padding-left: 0; border-left: 0; }
.t3-stats b { display: block; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t3-stats span { color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.t3-btn { width: 100%; justify-content: center; margin-top: 12px; padding: 10px 18px; }
.btn-line { color: var(--green); border-color: var(--green-dim); background: transparent; }
.btn-line:hover { color: var(--green); border-color: var(--green); background: rgba(143,224,75,.08); }
.t3-empty { grid-column: 1 / -1; padding: 34px 18px; text-align: center; color: var(--dim); font-size: 15px; background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; }
.t3-empty a { color: var(--green); font-weight: 700; }
.t3-sk { min-height: 270px; gap: 12px; }
.t3-sk span, .fd-sk span, .lt-sk span { display: block; border-radius: 8px; background: linear-gradient(90deg, #141a13 25%, #1c261a 37%, #141a13 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
.t3-sk .a { width: 38px; height: 20px; } .t3-sk .b { width: 60px; height: 60px; border-radius: 50%; }
.t3-sk .c { height: 48px; } .t3-sk .d { height: 42px; margin-top: auto; border-radius: 999px; }

/* Wide screens: the top cards lie flat (operator, 2026-09-30: "more horizontal"). The 24h move goes up to the
   top-right corner, the price line sits beside the name and the button beside the tagline, and the figures
   keep the full width underneath (beside the button they were cut short on a 1440px screen), so a card is
   about twice as wide as it is tall. Measured on the row of three, so it applies only while each card is wide
   enough (about 420px); narrower screens keep the stacked card, and so does a browser without container
   queries. */
.t3-grid { container-type: inline-size; }
@container (min-width: 1290px) {
  .t3-card:not(.t3-sk) {
    display: grid;
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, .7fr) auto;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "top top top ch" "logo id spark spark" "tag tag tag btn" "stats stats stats stats";
    gap: 12px 14px;
    align-items: center;
  }
  .t3-card .t3-head { display: contents; }
  .t3-card .t3-top { grid-area: top; }
  .t3-card .t3-logo { grid-area: logo; }
  .t3-card .t3-id { grid-area: id; justify-content: center; }
  .t3-card .t3-ch { grid-area: ch; display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; padding-top: 0; }
  .t3-card .t3-spark { grid-area: spark; align-self: center; height: 52px; margin: 0; }
  .t3-card .t3-tag { grid-area: tag; margin: 0; }
  .t3-card .t3-stats { grid-area: stats; align-self: end; margin: 0; padding-top: 12px; border-top: 1px solid var(--edge); }
  .t3-card .t3-btn { grid-area: btn; width: auto; margin: 0; padding: 9px 16px; }
}

/* live market feed */
.feed { display: flex; align-items: stretch; margin-top: 16px; background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; }
.feed-label { flex: none; display: flex; align-items: center; gap: 9px; padding: 0 18px; font-weight: 800; font-size: 14.5px; white-space: nowrap; border-right: 1px solid var(--edge); }
.feed-label svg { color: var(--green); }
.feed-wrap { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.feed-wrap::-webkit-scrollbar { display: none; }
.feed-track, .feed-copy { display: flex; width: max-content; }
.fd-item { flex: none; display: flex; align-items: center; gap: 10px; margin: 8px 0 8px 8px; padding: 7px 12px; border: 1px solid var(--edge); border-radius: 12px; background: var(--panel-2); white-space: nowrap; transition: border-color .15s ease; }
a.fd-item:hover { border-color: var(--green-dim); }
.fd-rank { color: var(--dim); font-size: 12px; font-weight: 800; }
.fd-logo { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel); border: 1px solid var(--edge); display: flex; align-items: center; justify-content: center; }
.fd-logo b { color: var(--dim); font-size: 12px; font-weight: 900; }
.fd-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fd-txt { display: flex; flex-direction: column; line-height: 1.25; }
.fd-txt b { font-size: 13.5px; font-weight: 900; }
.fd-txt > span { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fd-spark { width: 64px; height: 26px; flex: none; overflow: visible; }
.fd-sk .a { width: 30px; height: 30px; border-radius: 50%; } .fd-sk .b { width: 90px; height: 14px; }
.fd-empty { padding: 16px; color: var(--dim); font-size: 14px; }
.feed-next { flex: none; width: 46px; border: 0; border-left: 1px solid var(--edge); background: var(--panel-2); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .15s ease; }
.feed-next:hover { color: var(--green); }

/* live trending table */
.lt-panel { margin-top: 16px; background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.lt-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--edge); }
.lt-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.lt-title h2 { font-size: 18px; font-weight: 900; letter-spacing: -.3px; }
.lt-sub { color: var(--dim); font-size: 13px; }
.lt-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; flex: 1 1 auto; }
.lt-tools .chain-tab { flex: none; padding: 7px 12px; display: inline-flex; align-items: center; gap: 6px; }
.watch-n { font-variant-numeric: tabular-nums; }
.lt-table { width: 100%; border-collapse: collapse; }
.lt-scroll { overflow-x: auto; }
.lt-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--dim); padding: 12px 8px; border-bottom: 1px solid var(--edge); white-space: nowrap; }
.lt-table td { padding: 11px 8px; border-bottom: 1px solid var(--edge); vertical-align: middle; font-size: 14.5px; }
.lt-table tbody tr:last-child td { border-bottom: 0; }
.lt-table th:first-child, .lt-table td:first-child { padding-left: 20px; }
.lt-table th.c-act, .lt-table td.c-act { padding-right: 20px; }
.lt-table .r { text-align: right; }
.lt-row { transition: background .15s ease; }
.lt-row[data-href] { cursor: pointer; }
.lt-row:hover { background: rgba(143,224,75,.04); }
.lt-row.paid { background: linear-gradient(90deg, rgba(143,224,75,.07), rgba(143,224,75,0) 55%); }
.lt-rank { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--edge); font-weight: 800; font-size: 13px; }
.lt-tok { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 250px; }
.lt-table .d-logo { width: 36px; height: 36px; }
.lt-table .d-tk { font-size: 15px; }
.lt-table .c-price, .lt-table .c-1h, .lt-table .c-24h, .lt-table .c-mc, .lt-table .c-vol { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.lt-acts { display: inline-flex; align-items: center; gap: 8px; }
.lt-trade { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--green-dim); color: var(--green); font-weight: 800; font-size: 13px; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.lt-trade:hover { background: rgba(143,224,75,.1); border-color: var(--green); }
.lt-star { width: 34px; height: 34px; flex: none; border-radius: 9px; border: 0; background: transparent; color: var(--dim); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color .15s ease; }
.lt-star:hover { color: var(--text); }
.lt-star.on { color: var(--green); }
.lt-star.on svg { fill: currentColor; }
.pill .flame { flex: none; }
.pill.trend { color: var(--green); background: rgba(143,224,75,.1); border-color: rgba(143,224,75,.28); }
.pill.hot { color: #FF6B5E; background: rgba(224,87,75,.12); border-color: rgba(224,87,75,.34); }
.lt-table .c-meta, .lt-table .c-mini { display: none; }
.cdot { display: none; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: var(--dim); }
.cdot.chain-solana { background: #9945FF; }
.cdot.chain-robinhood { background: #CCFF00; }
.cdot.chain-arc { background: #4C8DFF; }
.lt-sk td { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.lt-sk .a { width: 30px; height: 30px; } .lt-sk .b { width: 36px; height: 36px; border-radius: 50%; }
.lt-sk .c { width: 160px; height: 14px; } .lt-sk .d { width: 90px; height: 14px; margin-left: auto; }
.lt-note { padding: 28px 16px; text-align: center; color: var(--dim); font-size: 14.5px; }
.lt-note a { color: var(--green); font-weight: 700; }
.disc-search { flex: 1 1 200px; min-width: 170px; max-width: 300px; display: flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--edge); border-radius: 999px; padding: 9px 14px; color: var(--dim); }
.disc-search:focus-within { border-color: var(--green-dim); }
.disc-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 14px; }
.disc-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.d-logo { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel-2); border: 1px solid var(--edge); display: flex; align-items: center; justify-content: center; }
.d-logo b { color: var(--dim); font-size: 15px; font-weight: 900; }
.d-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-names { min-width: 0; display: flex; flex-direction: column; }
.d-tk { font-weight: 900; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-nm { color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-num { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14.5px; }
.disc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--edge); background: var(--panel-2); color: var(--dim); font-size: 14px; }
.disc-foot b { color: var(--text); }
.perks { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }

/* Narrower screens: Volume goes first, then the 1h change (both stay on the phone layout's bottom line). */
@media (max-width: 1199px) { .lt-table .c-vol { display: none; } }
@media (max-width: 1099px) { .lt-table .c-1h { display: none; } }
/* Then the Chain column, replaced by a small colored dot before the ticker. */
@media (max-width: 1049px) { .lt-table .c-chain { display: none; } .cdot { display: inline-block; } }
@media (max-width: 900px) {
  .perks { grid-template-columns: 1fr 1fr; }
  /* The cards become a row you swipe through. */
  .t3-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .t3-grid::-webkit-scrollbar { display: none; }
  .t3-card { scroll-snap-align: start; }
  .t3-card:hover { transform: none; }
}
/* Small tablets and phones: every table row becomes a small card of its own. */
@media (max-width: 940px) {
  .lt-scroll { overflow: visible; }
  .cdot { display: none !important; }
  .lt-bar { padding: 14px; }
  .lt-tools { width: 100%; justify-content: flex-start; }
  .disc-search { max-width: none; flex: 1 1 100%; }
  .lt-table thead { display: none; }
  .lt-table, .lt-table tbody { display: block; }
  .lt-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "rank token price" "rank meta ch24" "rank mini acts"; column-gap: 10px; row-gap: 7px; align-items: center; padding: 12px; border-bottom: 1px solid var(--edge); }
  .lt-table tbody tr.lt-row:last-child { border-bottom: 0; }
  .lt-row > td { display: block; padding: 0 !important; border: 0; }
  .lt-row > .c-rank { grid-area: rank; align-self: start; }
  .lt-row > .c-token { grid-area: token; min-width: 0; }
  .lt-row > .c-price { grid-area: price; }
  .lt-row > .c-24h { grid-area: ch24; font-size: 13.5px; }
  .lt-row > .c-act { grid-area: acts; }
  .lt-row > .c-chain, .lt-row > .c-status, .lt-row > .c-1h, .lt-row > .c-mc, .lt-row > .c-vol { display: none !important; }
  .lt-table td.c-meta { display: flex; grid-area: meta; gap: 6px; flex-wrap: wrap; align-items: center; min-width: 0; }
  .lt-table td.c-mini { display: block; grid-area: mini; color: var(--dim); font-size: 12.5px; font-weight: 700; min-width: 0; }
  .c-meta .pill { font-size: 11px; padding: 3px 8px; }
  .lt-rank { width: 28px; height: 28px; font-size: 12px; }
  .lt-tok { max-width: none; }
  .lt-table .d-logo { width: 34px; height: 34px; }
  .lt-trade { padding: 6px 11px; font-size: 12.5px; }
  .lt-star { width: 30px; height: 30px; }
  .lt-sk td { padding: 16px 14px; }
}
@media (max-width: 680px) {
  .hero2 { padding: 30px 0 18px; }
  .hero2-eyebrow { font-size: 11px; letter-spacing: 2px; }
  #discover.disc2 { padding-top: 4px; }
  .t3-card { padding: 16px; }
  .t3-stats > div { padding: 0 8px; }
  .t3-stats b { font-size: 15.5px; }
  .t3-stats span { font-size: 12px; }
  .t3-logo { width: 54px; height: 54px; }
  .t3-sym { font-size: 18px; }
  .t3-ch > span { font-size: 17px; }
  .feed-label { padding: 0 12px; }
  .feed-label-t { display: none; }
  .mi-1h { display: none; }
  .lt-trade { padding: 6px 10px; }
  .lt-trade svg { display: none; }
  .lt-star { width: 28px; height: 28px; }
  .c-meta .pill { font-size: 10.5px; padding: 3px 7px; }
  .lt-title h2 { font-size: 17px; }
}
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }
/* Phones: the standard 16px side margin, so the content gets the width; one card at a time. */
@media (max-width: 600px) { .t3-grid { grid-auto-columns: 86%; } }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
@media (max-width: 380px) {
  .lt-row { grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 8px; }
  .lt-trade { padding: 6px 9px; }
  .t3-stats > div { padding: 0 6px; }
  .t3-stats b { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .t3-sk span, .fd-sk span, .lt-sk span { animation: none; } }

/* ================= V2 token page ================= */
.tp { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 64px; } /* keeps .wrap's side gutter */
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.tp-banner { position: relative; width: 100%; aspect-ratio: 3 / 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--edge); background: radial-gradient(600px 220px at 30% 40%, rgba(143,224,75,.16), transparent 70%), var(--panel); }
.tp-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-banner.none { aspect-ratio: 6 / 1; }
/* On the wide layout a 3:1 banner would grow past 500px tall: capped (the image is cropped to fit). */
.tp-banner { max-height: 400px; }
.tp-banner.none { max-height: 200px; }
.tp-id { display: flex; align-items: flex-start; gap: 18px; padding: 0 22px; position: relative; flex-wrap: wrap; }
/* Only the logo straddles the banner's edge; the name sits below it. */
.tp-logo { position: relative; width: 108px; height: 108px; margin-top: -54px; flex: none; border-radius: 50%; overflow: hidden; border: 3px solid var(--green); background: var(--panel-2); box-shadow: 0 10px 40px rgba(0,0,0,.6), var(--glow); display: flex; align-items: center; justify-content: center; }
.tp-logo b { color: var(--green); font-size: 38px; font-weight: 900; }
.tp-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-title { flex: 1; min-width: 220px; padding-top: 14px; }
.tp-title h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -1px; overflow-wrap: anywhere; }
.tp-title .tk { color: var(--green); font-weight: 800; font-size: 18px; margin-top: 4px; }
.tp-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } /* under the ticker, in .tp-title */
.tp-temp { margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px dashed var(--green-dim); background: rgba(143,224,75,.06); color: var(--dim); font-size: 14px; }
.tp-temp b { color: var(--text); }
.tp-temp .dot { width: 8px; height: 8px; margin-top: 7px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.tp-ca { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 12px 14px; }
.tp-ca .k { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--dim); text-transform: uppercase; }
.tp-ca code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; color: var(--text); word-break: break-all; }
.copy-btn { font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; color: var(--green); background: rgba(143,224,75,.08); border: 1px solid var(--green-dim); border-radius: 999px; padding: 7px 14px; }
.copy-btn:hover { background: rgba(143,224,75,.14); }
.tp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.tp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.stat { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.stat .k { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: var(--dim); text-transform: uppercase; }
.stat .v { font-size: 21px; font-weight: 900; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .s { font-size: 13px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.tp-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.chart-box { padding: 0; overflow: hidden; }
.chart-box iframe { display: block; width: 100%; height: 480px; border: 0; }
.links { display: flex; flex-direction: column; gap: 8px; }
.link-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 12px; background: var(--panel-2); font-weight: 700; font-size: 14.5px; transition: border-color .15s ease, background .15s ease; min-width: 0; }
.link-row:hover { border-color: var(--green-dim); background: rgba(143,224,75,.06); }
.link-row .ico { width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(143,224,75,.1); color: var(--green); display: flex; align-items: center; justify-content: center; }
.link-row .u { color: var(--dim); font-weight: 600; font-size: 12.5px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--edge); font-size: 14.5px; }
.kv:first-of-type { border-top: 0; }
.kv > span:first-child { color: var(--dim); flex: none; }
.kv > span:last-child { font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.own-box { background: radial-gradient(400px 160px at 50% 0%, rgba(143,224,75,.12), transparent 70%), var(--panel); }
.own-box p { margin-bottom: 14px; }
.own-box .btn { width: 100%; justify-content: center; }
.own-box .btn + .btn { margin-top: 10px; }
.notice { max-width: 640px; margin: 40px auto; text-align: center; }
.notice h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 14px; }
.notice p { color: var(--dim); font-size: 17px; margin-bottom: 26px; }
.notice .hero-cta { justify-content: center; }
@media (max-width: 900px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-stats { grid-template-columns: 1fr 1fr; }
  .chart-box iframe { height: 420px; }
}
@media (max-width: 560px) {
  /* Stacked like a profile: the logo on the banner's edge, then the name, ticker and badges under it, all on
     one left line with the contract box's text (its 1px border + 14px padding in from the boxes' edges). */
  .tp-id { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 15px; }
  .tp-logo { width: 76px; height: 76px; margin-top: -38px; }
  .tp-logo b { font-size: 28px; }
  .tp-banner.none { aspect-ratio: 4 / 1; } /* no banner: a strip tall enough for the logo to sit on its edge */
  .tp-title { width: 100%; min-width: 0; padding-top: 0; }
  .tp-title h1 { font-size: 30px; }
  .tp-title .tk { font-size: 16px; }
  .tp-banner { border-radius: 14px; }
  .tp-actions .btn { flex: 1; justify-content: center; }
  .stat .v { font-size: 18px; }
  .tp-ca { grid-template-columns: minmax(0, 1fr) auto; }
  /* The whole address on one line: its size follows the screen, so 44 characters fit from 360px wide. */
  .tp-ca code { grid-column: 1 / -1; grid-row: 2; font-size: clamp(10.5px, 3.05vw, 13.5px); }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= basic (locked) token pages ================= */
/* The rest of a full page, greyed out and blurred (empty shapes, not real data), behind the unlock card. */
.tp-lock { position: relative; margin-top: 22px; border: 1px solid var(--edge); border-radius: 20px; background: var(--panel-2); overflow: hidden; }
.tp-lock-ghost { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; filter: grayscale(1) blur(2px); opacity: .85; pointer-events: none; user-select: none; }
.tp-lock::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px 380px at 50% 50%, rgba(0,0,0,.15), rgba(0,0,0,.55) 80%); }
.g-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-tile, .g-box { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; }
.g-tile { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.g-tile span, .g-h { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--dim); }
.g-tile b { display: block; height: 16px; width: 70%; border-radius: 6px; background: #34422F; }
.g-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; }
.g-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.g-box { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.g-lines { display: flex; flex-direction: column; gap: 10px; }
.g-lines i { display: block; height: 10px; border-radius: 6px; background: #2C3829; }
.g-lines i:nth-child(2n) { width: 86%; }
.g-lines i:nth-child(3n) { width: 62%; }
.g-chart svg { display: block; width: 100%; height: 150px; }
.g-chart path { fill: none; stroke: #52704A; stroke-width: 3; vector-effect: non-scaling-stroke; }
.tp-lock-card { position: relative; z-index: 1; max-width: 560px; margin: 64px auto; padding: 30px 26px 26px; text-align: center; background: rgba(12,15,11,.92); border: 1px solid var(--green-dim); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.65), var(--glow); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lock-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: rgba(143,224,75,.12); border: 1px solid var(--green-dim); color: var(--green); display: flex; align-items: center; justify-content: center; }
.lock-eyebrow { display: block; margin-bottom: 6px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.tp-lock-card h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; letter-spacing: -.4px; overflow-wrap: anywhere; }
.tp-lock-card p { max-width: 440px; margin: 10px auto 0; color: var(--dim); font-size: 15px; overflow-wrap: anywhere; }
.lock-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; max-width: 480px; margin: 18px auto 0; text-align: left; }
.lock-list li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 600; }
.lock-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.lock-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.lock-cta .btn { justify-content: center; }
@media (max-width: 900px) {
  .g-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tp-lock-card { margin: 36px 14px; padding: 24px 16px 18px; }
  .lock-list { grid-template-columns: minmax(0, 1fr); max-width: 270px; }
}

/* ================= comments (full token pages) ================= */
.cm { margin-top: 18px; }
.cm [hidden] { display: none !important; } /* .btn's display would otherwise override the hidden attribute */
.cm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.box .cm-head h2 { margin: 0; }
.cm-count { flex: none; color: var(--dim); font-size: 14px; font-weight: 700; white-space: nowrap; }
.cm-form { position: relative; padding: 12px; border: 1px solid var(--edge); border-radius: 14px; background: var(--panel-2); }
.cm-txt.txt { min-height: 84px; background: var(--panel); }
.cm-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cm-as { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; min-width: 0; color: var(--dim); font-size: 13px; font-weight: 700; }
.cm-as span { flex: none; }
.cm-name.inp { flex: 1; min-width: 0; max-width: 240px; padding: 8px 12px; font-size: 14px; background: var(--panel); }
.cm-left { margin-left: auto; color: var(--dim); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cm-left.low { color: #E0A84B; }
.cm-post { padding: 10px 22px; }
.cm-hp { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.box .cm-msg { margin-top: 8px; font-size: 14px; font-weight: 700; white-space: normal; }
.box .cm-msg:empty { display: none; }
.box .cm-msg.ok { color: var(--green); }
.box .cm-msg.bad { color: #E0574B; }
.box .cm-rules { margin-top: 8px; font-size: 12.5px; white-space: normal; }
.box ol.cm-list { gap: 0; margin-top: 6px; }
.box .cm-list li { display: flex; gap: 12px; min-height: 0; padding: 14px 2px; border-top: 1px solid var(--edge); color: var(--text); }
.box .cm-list li::before { content: none; }
.box .cm-list li:first-child { border-top: 0; }
.cm-item.mine { animation: cmIn .35s ease; }
@keyframes cmIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cm-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; background: var(--panel-2); color: var(--green); }
.cm-main { flex: 1; min-width: 0; }
.cm-meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cm-name { font-size: 14.5px; overflow-wrap: anywhere; }
.cm-time { color: var(--dim); font-size: 12.5px; }
.box .cm-text { max-width: 80ch; margin-top: 3px; color: #D5DBD2; font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.box .cm-empty { margin-top: 14px; font-size: 14px; white-space: normal; }
.cm-more { width: 100%; justify-content: center; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .cm-item.mine { animation: none; } }
/* The page editor's "Comments on your page": the same list, each comment with a Delete button. */
.box .ed-cm-note { margin-bottom: 4px; font-size: 14px; white-space: normal; }
.box .ed-cm-msg { margin: 8px 0 2px; font-size: 14px; font-weight: 700; white-space: normal; }
.box .ed-cm-msg:empty { display: none; }
.box .ed-cm-msg.ok { color: var(--green); }
.box .ed-cm-msg.bad { color: #E0574B; }
.box.ed-cm .cm-list li { align-items: flex-start; }
.cm-del { flex: none; padding: 7px 14px; font-size: 13px; color: #E0574B; border-color: rgba(224,87,75,.35); }
.cm-del:hover { background: rgba(224,87,75,.08); border-color: #E0574B; }
@media (max-width: 560px) {
  .box.ed-cm .cm-list li { flex-wrap: wrap; }
  .ed-cm .cm-main { flex-basis: calc(100% - 48px); }
  .cm-del { margin-left: 48px; }
}
@media (max-width: 560px) {
  .cm-as { flex-basis: 100%; }
  .cm-name.inp { max-width: none; }
  .cm-post { flex: 1; justify-content: center; }
}

/* ================= V2 new listings ================= */
.lst-page { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 64px; }
.lst-hero { margin: 6px 0 24px; }
.lst-hero .eyebrow { margin-bottom: 16px; }
.lst-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.lst-hero .lede { margin: 14px 0 0; max-width: 640px; }
.lst-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
a.chain-tab { display: inline-flex; align-items: center; justify-content: center; }
.lst-count { color: var(--dim); font-size: 14px; font-weight: 700; }
.lst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
/* The chain filter on the listings page: each tab its natural width, never wrapped onto two lines. */
.lst-bar .chain-tabs { margin: 0; flex-wrap: wrap; }
.lst-bar .chain-tab { flex: none; white-space: nowrap; padding: 8px 14px; }
.lst-card { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.lst-card:hover { transform: translateY(-3px); border-color: var(--green-dim); }
.lst-banner { position: relative; aspect-ratio: 3 / 1; background: radial-gradient(300px 120px at 30% 40%, rgba(143,224,75,.16), transparent 70%), var(--panel-2); }
.lst-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-body { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; flex: 1; min-width: 0; }
.lst-id { display: flex; align-items: flex-start; gap: 12px; position: relative; min-width: 0; }
/* Only the logo straddles the banner's edge; the name sits below it. */
.lst-logo { position: relative; width: 52px; height: 52px; margin-top: -26px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid var(--green); background: var(--panel-2); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.lst-logo b { color: var(--green); font-weight: 900; font-size: 20px; }
.lst-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lst-names { min-width: 0; padding-top: 8px; }
.lst-name { font-weight: 900; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lst-tk { color: var(--green); font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lst-about { color: var(--dim); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lst-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.lst-meta .pill { font-size: 11px; padding: 4px 9px; }
.pill.new { color: var(--text); border-color: var(--green); background: rgba(143,224,75,.14); }
.lst-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--edge); font-size: 13px; }
.lst-foot .d-num { font-size: 14px; white-space: nowrap; }
.lst-empty { text-align: center; padding: 40px 22px; }
.lst-empty p { max-width: 460px; margin: 0 auto 20px; }
.lst-pager { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.lst-pager .muted { font-weight: 700; font-size: 14px; }
.lst-cta { margin-top: 40px; }
.lst-strip { padding: 8px 0 56px; }
.lst-strip .lst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2 x 2 */
@media (min-width: 1100px) { .lst-strip .lst-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* 4 across */
.lst-strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lst-strip-head .tag { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.lst-strip-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; letter-spacing: -.5px; margin-top: 6px; }
@media (max-width: 600px) {
  .lst-strip .lst-grid { grid-template-columns: minmax(0, 1fr); }
  .lst-strip .lst-card:nth-child(n+3) { display: none; } /* two newest on phones; the page has the rest */
  .lst-strip-head .btn { width: 100%; justify-content: center; }
}

/* ================= V2 buy trending (checkout) ================= */
.co { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 64px; max-width: 880px; }
/* The page shows and hides its parts with the hidden attribute; several parts are flex boxes, and a
   display rule would otherwise override it. */
.co [hidden] { display: none !important; }
.co-hero { margin: 6px 0 22px; }
.co-hero .eyebrow { margin-bottom: 16px; }
.co-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.co-hero .lede { margin: 12px 0 0; max-width: 640px; }
.co-step { margin-top: 16px; }
.co-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.box .co-step-h h2 { margin: 0; font-size: 19px; }
.co-num { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--green); color: #06120A; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.co-num.done { background: rgba(143,224,75,.14); color: var(--green); }
.co-ca { display: flex; gap: 10px; }
.co-ca .inp { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.co-err { margin-top: 12px; color: #E0574B; font-weight: 700; font-size: 14px; }
.co-token { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.co-token .d-logo { width: 52px; height: 52px; }
.co-token-names { min-width: 0; flex: 1 1 200px; }
.co-token > .btn { margin-left: auto; } /* on a phone the Change button drops below the name */
.co.co-paying .co-hero .lede, .co.co-paying .co-alt { display: none; }
.co-token .nm { font-weight: 900; font-size: 18px; overflow-wrap: anywhere; }
.co-token .tk { color: var(--green); font-weight: 800; font-size: 14px; }
.co-token .figs { color: var(--dim); font-size: 13.5px; margin-top: 2px; }
.co-plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.co-plan { border: 1px solid var(--edge); border-radius: 14px; padding: 14px; background: var(--panel-2); min-width: 0; }
.co-plan h3 { font-size: 16px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.co-plan .avail { font-size: 12px; font-weight: 700; color: var(--dim); }
.co-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.co-opt { font: inherit; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--edge); background: var(--panel); color: var(--text); border-radius: 12px; padding: 10px 12px; transition: border-color .15s ease, background .15s ease; min-width: 0; }
.co-opt:hover { border-color: var(--green-dim); }
.co-opt[aria-pressed="true"] { border-color: var(--green); background: rgba(143,224,75,.12); box-shadow: 0 0 0 1px var(--green) inset; }
.co-opt .h { font-weight: 700; font-size: 13px; color: var(--dim); }
.co-opt .p { font-weight: 900; font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.co-opt:disabled { opacity: .4; cursor: default; }
.co-full { font-size: 13px; color: var(--dim); margin-top: 10px; }
.box .co-benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 16px; }
.co-review { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 14px; border: 1px solid var(--green-dim); border-radius: 14px; background: rgba(143,224,75,.06); }
.co-review .sum { font-weight: 800; }
.co-review .sum b { color: var(--green); }
.box .co-for { color: var(--text); margin: -4px 0 14px; white-space: normal; }
.co-pay { display: grid; gap: 14px; }
.co-fields { display: grid; gap: 14px; min-width: 0; }
.co-pay.has-qr { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.co-qr { margin: 0; text-align: center; }
.co-qr img { display: block; width: 168px; height: 168px; border-radius: 12px; background: #fff; margin: 0 auto; }
.co-qr figcaption { margin-top: 8px; max-width: 168px; font-size: 12.5px; line-height: 1.4; color: var(--dim); }
.co-qr-toggle { display: none; justify-self: start; font-size: 14px; }
.co-field .k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.co-field .hint { font-size: 13px; color: var(--dim); margin-top: 6px; }
.co-copy { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--edge); border-radius: 12px; padding: 10px 12px; }
.co-copy code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; word-break: break-all; color: var(--text); }
.co-copy.amount code { font-family: inherit; font-size: 24px; font-weight: 900; color: var(--green); word-break: normal; }
.co-copy .copy-btn { flex: none; }
.co-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; font-size: 14.5px; }
.co-status .pulse { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(143,224,75,.6); animation: pulse 1.8s infinite; }
.co-meta { margin-top: 8px; color: var(--dim); font-size: 13.5px; }
.co-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.co-tg { margin-top: 18px; padding: 14px; border: 1px dashed var(--edge); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--dim); font-size: 14px; text-align: left; }
.co-tg b { color: var(--text); }
.co-tg:empty { display: none; }
.box .co-note { margin-top: 16px; font-size: 13px; white-space: normal; }
.co-link { font: inherit; background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; cursor: pointer; text-decoration: underline; }
.co-done { text-align: center; padding: 32px 22px; margin-top: 16px; }
.co-done .big-check { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #06120A; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; box-shadow: var(--glow); }
.box.co-done h2 { font-size: 26px; margin-bottom: 8px; }
.box.co-done p { max-width: 540px; margin: 0 auto; white-space: normal; }
.co-done .hero-cta { justify-content: center; margin: 18px 0 0; }
/* After paying: optional Telegram and/or email for Peak's benefits and updates. */
.co-contact { max-width: 560px; margin: 22px auto 12px; padding: 20px 18px; border: 1px solid var(--green-dim); border-radius: 16px; background: radial-gradient(420px 160px at 50% 0%, rgba(143,224,75,.1), transparent 70%), var(--panel-2); text-align: center; }
.co-contact h3 { font-size: 18px; font-weight: 900; letter-spacing: -.2px; }
.box.co-done .co-contact p { margin: 6px auto 0; font-size: 14.5px; }
.co-contact-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.co-contact-row { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.co-contact-row > .btn { min-width: 220px; justify-content: center; }
.co-contact-hint { color: var(--dim); font-size: 13px; max-width: 380px; }
.co-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--edge); }
.co-or.lead { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.co-or.lead::before, .co-or.lead::after { display: none; }
.co-or.lead span { flex: 1; }
.co-mail { display: flex; gap: 10px; width: 100%; max-width: 440px; }
.co-mail .inp { flex: 1; min-width: 0; padding: 10px 14px; }
.co-mail .btn { flex: none; }
#mailCancel { font-size: 13.5px; }
.co-mail-saved { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: var(--dim); }
.co-mail-saved b { color: var(--text); overflow-wrap: anywhere; }
.co-ok { color: var(--green); font-weight: 900; }
.box.co-done .co-mail-msg { margin-top: 10px; font-size: 14px; font-weight: 700; }
.box.co-done .co-mail-msg:empty { display: none; }
.box.co-done .co-mail-msg.ok { color: var(--green); }
.box.co-done .co-mail-msg.bad { color: #E0574B; }
.box.co-done .co-mail-note { margin-top: 10px; font-size: 12.5px; }
@media (max-width: 480px) {
  .co-contact { padding: 18px 14px; }
  .co-contact-row > .btn { width: 100%; min-width: 0; }
  .co-mail { flex-direction: column; }
  .co-mail .btn { justify-content: center; }
}
.co-alt { text-align: center; color: var(--dim); font-size: 14px; margin-top: 22px; }
.co-alt a { color: var(--green); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .co-status .pulse { animation: none; } }
@media (max-width: 640px) {
  .co-plans, .box .co-benefits { grid-template-columns: minmax(0, 1fr); }
  .co-ca { flex-direction: column; }
  .co-ca .btn { justify-content: center; }
  .co-copy.amount code { font-size: 20px; }
  .co-review .btn, .co-tg .btn { width: 100%; justify-content: center; }
  /* A phone can't scan its own screen: the QR waits behind "Show QR code" (for paying from another device). */
  .co-pay.has-qr { grid-template-columns: minmax(0, 1fr); }
  .co-qr-toggle { display: inline-block; }
  .co-pay:not(.qr-open) .co-qr { display: none; }
  .co-qr img { width: 200px; height: 200px; }
  .co-qr figcaption { max-width: none; }
}

/* ================= V2 editor ================= */
.ed { position: relative; z-index: 1; padding: 34px 0 70px; max-width: 820px; margin: 0 auto; }
.ed h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.ed .lede { font-size: 16.5px; margin: 10px 0 24px; max-width: none; }
.ed-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.ed-pick { font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--edge); background: var(--panel-2); color: var(--text); font-weight: 800; }
.ed-pick.active { border-color: var(--green); background: rgba(143,224,75,.1); }
.ed-pick .d-logo { width: 30px; height: 30px; }
.ed-pick .d-logo b { font-size: 12px; }
.ed-token { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ed-token .d-logo { width: 52px; height: 52px; }
.ed-token .nm { font-weight: 900; font-size: 20px; }
.ed-token .tk { color: var(--green); font-weight: 800; }
.ed-token .ed-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 800; letter-spacing: .3px; color: var(--text); display: flex; justify-content: space-between; gap: 10px; }
.field .count { color: var(--dim); font-weight: 600; }
.field .hint { font-size: 12.5px; color: var(--dim); overflow-wrap: anywhere; }
.field .hint button { font: inherit; color: var(--green); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
.field .err { font-size: 13px; color: #E0574B; font-weight: 700; }
.inp, .txt { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--panel-2); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s ease; }
.inp:focus, .txt:focus { border-color: var(--green-dim); }
.inp.bad, .txt.bad { border-color: #E0574B; }
.txt { min-height: 160px; resize: vertical; line-height: 1.55; }
.list-inputs { display: flex; flex-direction: column; gap: 8px; }
.ed-bar { position: sticky; bottom: 14px; z-index: 5; margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(12,15,11,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--edge); border-radius: 16px; padding: 12px 14px; }
.ed-bar .btn { flex: none; }
.ed-msg { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--dim); line-height: 1.35; }
.ed-msg.ok { color: var(--green); }
.ed-msg.bad { color: #E0574B; }
.btn[disabled] { opacity: .55; cursor: default; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) {
  .two { grid-template-columns: 1fr; }
  .ed-token .ed-actions { margin-left: 0; width: 100%; }
  .ed-token .ed-actions .btn { flex: 1; justify-content: center; padding: 11px 14px; }
  .ed-bar { padding: 10px 12px; bottom: 10px; }
  .ed-msg { font-size: 13px; }
  .ed-bar .btn { padding: 11px 18px; }
}
