:root {
  --bg: #000f06;
  --ink: #ecf2ed;
  --ink-92: rgba(236, 242, 237, 0.92);
  --ink-70: rgba(236, 242, 237, 0.7);
  --ink-45: rgba(236, 242, 237, 0.45);
  --ink-18: rgba(255, 255, 255, 0.12);
  --ink-08: rgba(255, 255, 255, 0.06);
  --ink-04: rgba(255, 255, 255, 0.035);
  --live: #79ff77;
  --live-dim: rgba(121, 255, 119, 0.16);
  --surface: #03160c;
  --card: #0b2615;
  --line: rgba(121, 255, 119, 0.14);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 80px;
  --max: 1080px;
  --display: "Poppins", -apple-system, sans-serif;
  --sans: "Inter", -apple-system, sans-serif;
  --mono: "Source Code Pro", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--live);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.noise,
.scan,
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.noise {
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scan {
  opacity: 0.035;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.35) 4px
  );
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 48%, rgba(0, 15, 6, 0.55) 100%);
}

header,
main,
footer,
.dock {
  position: relative;
  z-index: 1;
}

.topbar {
  z-index: 20;
}

.live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px var(--live-dim);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 18px 20px;
  padding-top: max(18px, env(safe-area-inset-top));
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(168px, 46vw);
  object-fit: contain;
  object-position: left center;
}

.desk-nav {
  display: none;
}

.page-desk {
  min-height: 100vh;
}

.desk-main {
  width: min(1240px, calc(100% - 40px));
  margin: 8px auto 0;
}

.desk-lead {
  max-width: 40rem;
  margin-bottom: 32px;
}

.section-eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-copy {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-70);
}

.stat-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 8px;
  background: var(--card);
}

.stat-card .dash-value {
  margin-top: 20px;
}

.stat-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-45);
}

.claim-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ghost.compact {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 12px;
}

.desk-actions,
.claim-action-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.desk-actions {
  margin-top: 20px;
}

.desk-actions .claim-btn,
.desk-actions .wallet-btn-lg,
.claim-action-btns .claim-btn,
.claim-action-btns .wallet-btn {
  flex: 1 1 100%;
}

.claim-action {
  display: grid;
  gap: 20px;
  margin-top: 0;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(121, 255, 119, 0.22);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(121, 255, 119, 0.12), transparent 46%),
    linear-gradient(180deg, #0e2d1a 0%, var(--card) 70%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.claim-action-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--live);
}

.claim-action-copy h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.claim-action-copy p:last-child {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-70);
}

/* Explicit selector (not `:last-child`) so adding `.claim-autodist-hint` right after this in the
   markup can't silently steal its styling just by becoming the new last sibling. */
.claim-action-copy [data-claim-hint] {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-70);
}

/* Auto-distribution status pill — hidden (via empty :empty) until app.js populates it from the
   keeper's /api/distribution/status, so holders on a "manual" or "interval" keeper still just
   see the plain claim hint above with no dangling empty pill. */
.claim-autodist-hint {
  margin: 10px 0 0;
}

.claim-autodist-hint:not(:empty) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(121, 255, 119, 0.28);
  background: rgba(121, 255, 119, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--live);
  width: fit-content;
}

.wallet-btn,
.claim-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

.wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(121, 255, 119, 0.32);
  background: linear-gradient(180deg, #12351f 0%, #0a2214 100%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(121, 255, 119, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.24);
}

.wallet-btn-icon {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--live) 0%, #3d9a3c 100%);
  box-shadow: 0 0 0 3px var(--live-dim);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3 7.5A2.5 2.5 0 0 1 5.5 5h13A2.5 2.5 0 0 1 21 7.5V9h-5.2a2.8 2.8 0 0 0 0 5.6H21v1.9A2.5 2.5 0 0 1 18.5 19h-13A2.5 2.5 0 0 1 3 16.5v-9Zm13 5.9a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2Z'/></svg>") center / 14px 14px no-repeat;
}

.wallet-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 46%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.wallet-btn:hover,
.wallet-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(121, 255, 119, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 4px var(--live-dim),
    0 10px 24px rgba(0, 0, 0, 0.3);
}

.wallet-btn:hover::after,
.wallet-btn:focus-visible::after {
  transform: translateX(120%);
  transition: transform 0.55s ease;
}

.wallet-btn:active {
  transform: translateY(1px) scale(0.98);
}

.wallet-btn.is-on {
  border-color: var(--live);
  color: var(--live);
  background: linear-gradient(180deg, #184627 0%, #0c2a18 100%);
}

.wallet-btn-lg {
  min-height: 52px;
  padding: 0 20px;
  font-size: 14px;
}

.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 188px);
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecf2ed 0%, #cfe0d3 100%);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(121, 255, 119, 0.16);
}

.claim-btn:hover,
.claim-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 4px var(--live-dim),
    0 14px 32px rgba(121, 255, 119, 0.22);
}

.claim-btn:active {
  transform: translateY(1px) scale(0.985);
}

.claim-btn.is-ready {
  background: linear-gradient(180deg, #9dff9b 0%, var(--live) 100%);
  animation: claim-ready 1.8s ease-in-out infinite;
}

.claim-btn.is-busy,
.claim-btn:disabled {
  opacity: 0.55;
  transform: none;
  animation: none;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}

@keyframes claim-ready {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 0 rgba(121, 255, 119, 0.28);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 8px rgba(121, 255, 119, 0);
  }
}

.claim-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feed-head.claim-history-feed {
  display: grid;
}

.claim-history-row.cycle-row:hover,
.claim-history-row.cycle-row:focus-visible {
  background: var(--ink-04);
  outline: none;
}

.claim-history-dialog .cycle-dialog-sub a {
  color: var(--live);
  font-weight: 600;
  text-decoration: none;
}

.claim-history-dialog .cycle-dialog-sub a:hover,
.claim-history-dialog .cycle-dialog-sub a:focus-visible {
  text-decoration: underline;
}

.claim-dialog-feed.tx-head.buy-feed {
  grid-template-columns: minmax(0, 1.4fr) 0.9fr 0.9fr;
}

.claim-dialog-row.buy-feed {
  grid-template-columns: minmax(0, 1.4fr) 0.9fr 0.9fr;
}

.table-empty {
  padding: 56px 16px 48px;
  text-align: center;
}

.table-empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.table-empty p + p {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-45);
}

.stock-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.stock-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-08);
}

.stock-row:last-child {
  border-bottom: 0;
}

.stock-row img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.stock-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #06180e;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--live);
  overflow: hidden;
}

/* Real DexScreener token logo (see js/app.js tokenLogoImg()) filling the existing 28px mark box
   when one's available — falls back to the plain 2-letter text mark above otherwise. */
.stock-mark img.token-logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* Inline logo used next to a symbol in plain text rows (stock-row, buy-feed). The <strong>/<em>
   pair next to it is always display:block (a stacked name+subtitle), so the shared wrapper needs
   to be a flex row itself for the logo to sit beside that stack instead of above it. */
.name-with-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

img.token-logo {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

.token-chip img.token-logo {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.stock-row strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.stock-row em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ink-45);
}

.stock-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 4px 0 10px;
}

.stock-head span:nth-child(3),
.stock-head span:nth-child(4) {
  text-align: right;
}

.stock-head span:nth-child(4),
.stock-dash {
  display: none;
}

.stock-px {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.stock-dash {
  min-width: 3.4em;
  text-align: right;
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  white-space: nowrap;
}

.dash-charts {
  display: grid;
  gap: 12px;
}

.dash-card {
  padding: 24px;
  border-radius: 8px;
  background: var(--card);
}

.dash-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.dash-value {
  margin: 16px 0 0;
  font-size: clamp(28px, 6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dash-value small {
  display: inline-block;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-45);
}

.dash-value.is-loading {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 112px;
  margin-top: 24px;
}

.spark i {
  flex: 1 1 0;
  min-width: 0;
  height: 8%;
  border-radius: 2px 2px 0 0;
  background: var(--ink);
  opacity: 0.18;
}

.spark-live i {
  background: var(--live);
  opacity: 0.22;
}

.spark-live i.is-on {
  opacity: 1;
}

.spark-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.dist-tables {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.table-card {
  padding: 0 20px 8px;
  border-radius: 8px;
  background: var(--card);
  overflow: visible;
  min-width: 0;
}

.table-toolbar {
  padding: 20px 0 12px;
}

.table-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pending {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #06180e;
}

.pending .live {
  flex: 0 0 auto;
  margin-top: 5px;
}

.pending p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.pending p + p {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-70);
}

.feed-head,
.feed-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-08);
}

/* Latest Long.xyz buys — 3 columns (no per-row tx; click the row for the cycle dialog). */
.buy-feed-grid,
.feed-head.buy-feed-grid,
.feed-row.buy-feed-grid {
  grid-template-columns: minmax(52px, 72px) minmax(0, 1fr) minmax(88px, 100px);
}

.feed-head.buy-feed-grid .feed-col-amt,
.feed-row.buy-feed-grid .buy-amt {
  text-align: right;
  justify-self: end;
}

/* Distribution history — 4 columns; Wallets + Tx right-aligned under their headers. */
.dist-feed-grid,
.feed-head.dist-feed-grid,
.feed-row.dist-history-feed {
  grid-template-columns: minmax(52px, 72px) minmax(0, 1fr) minmax(56px, 72px) minmax(72px, auto);
}

.feed-head.dist-feed-grid .feed-col-wallets,
.feed-row.dist-history-feed .dist-wallets {
  text-align: right;
  justify-self: end;
}

.feed-head.dist-feed-grid span:last-child,
.feed-row.dist-history-feed .dist-tx {
  text-align: right;
  justify-self: end;
}

.basket-feed {
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.feed-col-short {
  display: none;
}

.feed-head {
  padding: 12px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.feed-row {
  font-size: 14px;
  list-style: none;
}

.buy-list,
.index-basket,
.burn-list,
.dist-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dist-pending-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 0 0 12px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
}

.dist-pending-banner[hidden] {
  display: none;
}

.dist-pending-banner p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.dist-pending-banner p + p {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-70);
}

.dist-pending-dot {
  flex: 0 0 auto;
  margin-top: 5px;
  background: #60a5fa;
}

.dist-history-feed.feed-row {
  align-items: start;
}

.dist-history-feed .feed-time,
.dist-history-feed .dist-wallets {
  align-self: center;
}

.dist-time {
  line-height: 1.35;
  font-size: 12px;
}

.dist-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.dist-token-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink-04);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.dist-token-pill .token-logo {
  border-radius: 4px;
  flex: 0 0 auto;
}

.dist-token-pill strong {
  font-weight: 600;
  color: var(--ink);
}

.dist-tokens:not(.is-expanded) .dist-token-extra {
  display: none;
}

.dist-tokens.is-expanded .dist-token-more {
  display: none;
}

.dist-token-more {
  color: var(--ink-45);
  font-weight: 500;
  font-family: inherit;
  border-style: dashed;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.dist-token-more:hover,
.dist-token-more:focus-visible {
  color: var(--ink);
  border-color: var(--ink-45);
  background: var(--ink-08);
  outline: none;
}

.dist-wallets {
  font-variant-numeric: tabular-nums;
  color: var(--ink-70);
  font-size: 13px;
  white-space: nowrap;
  align-self: center;
}

.dist-tx,
.tx-hash-btn.dist-tx {
  align-self: center;
  justify-self: end;
}

.tx-hash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(121, 255, 119, 0.5);
  background: linear-gradient(180deg, rgba(121, 255, 119, 0.24) 0%, rgba(61, 154, 60, 0.16) 100%);
  color: var(--live);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.tx-hash-btn:hover,
.tx-hash-btn:focus-visible {
  background: var(--live);
  color: var(--bg);
  border-color: var(--live);
  outline: none;
  transform: translateY(-1px);
}

.feed-time {
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
}

.feed-row strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.feed-row em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-45);
}

.token-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #06180e;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.buy-amt,
.wt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.buy-amt {
  color: var(--live);
}

/* Was `display: none` by default (only shown back at the >=720px breakpoint below) — that hid
   the tx link outright on any narrower viewport, which is exactly what looked "not visible" to
   the user. A working tx link is core functionality, not a nice-to-have that should disappear on
   mobile, so it's visible at every width now. Doubles as both a real <a> (per-transaction rows
   inside the cycle dialog) and a <button> (the aggregate "open cycle" trigger on each row). */
.buy-tx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  margin-left: auto;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-45);
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.buy-tx:hover,
.buy-tx:focus-visible {
  color: var(--live);
  background: var(--ink-08);
}

.cycle-row {
  cursor: pointer;
}

.cycle-row:hover,
.cycle-row:focus-visible {
  background: var(--ink-04);
  outline: none;
}

.cycle-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(80vh, 640px);
  padding: 20px;
  border: 1px solid var(--line, var(--ink-18));
  border-radius: 16px;
  background: var(--card, #0d1410);
  color: inherit;
  overflow-y: auto;
}

.cycle-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.cycle-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cycle-dialog-head h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycle-dialog-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-45);
}

.cycle-dialog-close {
  min-width: 32px;
  min-height: 32px;
  border: 1px solid var(--ink-18);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-70);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.cycle-dialog-close:hover {
  color: var(--ink-100, #fff);
  border-color: rgba(255, 255, 255, 0.28);
}

.cycle-dialog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tx-row {
  position: relative;
}

.tx-row-hit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
}

.tx-hover-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ecf2ed;
  color: #000f06;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .tx-row:hover .tx-hover-pill,
  .tx-row:focus-within .tx-hover-pill {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-row.buy-feed,
.tx-head.buy-feed {
  grid-template-columns: 72px minmax(0, 1fr) auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip,
.ghost,
.cta,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip {
  display: none;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--ink-08);
  background: var(--ink-04);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}

.ghost {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink-18);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}

.ghost:hover,
.ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
}

.ghost.is-on {
  border-color: var(--live);
  color: var(--live);
}

.cta {
  padding: 16px 32px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.06);
}

.cta.compact {
  padding: 12px 16px;
  min-width: 128px;
  font-size: 12px;
  white-space: nowrap;
}

.text-link {
  color: var(--ink-70);
  font-size: 14px;
  font-weight: 500;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 12px auto 0;
  padding: 28px 0 8px;
  text-align: center;
  overflow: hidden;
}

.hero-art {
  position: relative;
  height: min(52vw, 340px);
  margin: 0 auto 8px;
  max-width: 720px;
}

.art-x,
.art-10 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.art-x {
  opacity: 0.55;
  transform: scale(1.22);
}

.art-10 {
  opacity: 0.95;
  mix-blend-mode: screen;
}

.live-line {
  margin: 0 auto 28px;
  max-width: 28ch;
  color: var(--ink-70);
  font-size: 15px;
  font-weight: 400;
}

.live-word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--live);
  font-weight: 700;
}

.hero strong {
  font-weight: 600;
  color: var(--ink-92);
}

.hero-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--live);
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 10vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-copy {
  margin: 0 auto 28px;
  max-width: 42ch;
  color: var(--ink-70);
  font-size: 16px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.board {
  width: min(var(--max), calc(100% - 40px));
  margin: 48px auto 0;
}

.board-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.board-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.board-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ink-08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.board-list li {
  border-top: 1px solid var(--ink-08);
}

.board-list li:first-child {
  border-top: 0;
}

.board-row {
  display: grid;
  grid-template-columns: 36px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 14px;
}

.board-row:hover,
.board-row:focus-visible {
  background: rgba(121, 255, 119, 0.04);
}

.board-empty {
  display: flex;
  justify-content: center;
  min-height: 64px;
  padding: 18px;
  color: var(--ink-45);
  font-size: 14px;
}

.board-rank {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--live);
}

.board-list img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: #03160c;
}

.board-name {
  min-width: 0;
}

.board-name strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-name em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ink-45);
}

.board-mcap {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.board-chg {
  display: none;
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
}

.board-chg.up {
  color: var(--live);
}

.board-chg.down {
  color: #ff8b8b;
}

.strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 56px auto 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.clock {
  background: var(--card);
  padding: 20px 18px 18px;
  text-align: left;
}

.clock .k,
.kicker,
.term-bar,
.form-out,
.clock .s,
.register label span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.clock .v {
  margin: 8px 0 4px;
  font-family: var(--mono);
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.clock .v.accent {
  color: var(--live);
}

.clock .s {
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: var(--space-7) auto 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 32px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--live);
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  color: var(--ink-70);
}

.index-ui {
  display: grid;
  gap: 12px;
}

.panel {
  padding: 20px;
  border: 1px solid var(--ink-08);
  border-radius: 16px;
  background: var(--card);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.panel-head h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.panel-note {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-45);
}

.index-basket {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-row {
  display: grid;
  grid-template-columns: 28px 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 4px;
  border-top: 1px solid var(--ink-08);
  border-radius: 10px;
}

.index-row:hover,
.index-row:focus-visible {
  background: rgba(121, 255, 119, 0.05);
}

.index-row:first-child {
  border-top: 0;
}

.slot-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #06180e;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--live);
}

.index-row strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.index-row em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-45);
}

.index-row .wt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--live);
  text-align: right;
}

.index-row .mcap {
  display: none;
}

.index-side {
  display: grid;
  gap: 12px;
}

.feed-epoch {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-08);
}

.feed-epoch .kicker {
  margin-bottom: 4px;
}

.feed-panel .epoch-clock {
  font-size: clamp(32px, 8vw, 40px);
}

.feed-panel .panel-head {
  margin-bottom: 8px;
}

.epoch-id {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-70);
}

.epoch-bar {
  height: 4px;
  margin-top: 16px;
  border-radius: 99px;
  background: rgba(121, 255, 119, 0.12);
  overflow: hidden;
}

.epoch-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--live);
}

.epoch-clock,
.total-fig {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.total-fig {
  color: var(--live);
}

.buy-empty {
  margin: 12px 0 0;
  color: var(--ink-45);
}

.buy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.buy-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 4px;
  border-top: 1px solid var(--ink-08);
  border-radius: 10px;
}

.buy-row:first-child {
  border-top: 0;
}

.buy-row:hover,
.buy-row:focus-visible {
  background: rgba(121, 255, 119, 0.05);
}

.buy-row strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.buy-row em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-45);
}

.buy-amt {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--live);
  text-align: right;
  white-space: nowrap;
}

.buy-tx {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-45);
  text-align: right;
}

.buy-token {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.buy-usd {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
}

.buy-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.buy-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 36px;
  font-size: 13px;
  color: var(--ink-70);
}

.buy-line span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.buy-line a,
.buy-copy {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.buy-copy {
  border: 0;
  background: none;
  padding: 0;
  min-height: 36px;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.card {
  padding: 24px;
  border: 1px solid var(--ink-08);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}

.card-art {
  width: 88px;
  height: 72px;
  margin: 0 0 16px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.9;
}

.card-art.ten {
  width: 120px;
}

.card .idx {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--live);
  letter-spacing: 0.1em;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--ink-70);
  font-size: 15px;
}

.split {
  display: grid;
  gap: 28px;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #010b06;
  overflow: hidden;
}

.term-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--live);
}

.term-body {
  margin: 0;
  min-height: 168px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-70);
  white-space: pre-wrap;
  word-break: break-word;
}

.term-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.term-row .cta {
  flex: 1 1 auto;
}

.term-row input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--ink-18);
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
}

.term-note {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--ink-45);
  font-size: 12px;
}

.basket {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.basket li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--ink-08);
  background: var(--card);
  font-size: 14px;
  color: var(--ink-70);
}

.basket span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--live);
}

.register {
  display: grid;
  gap: 16px;
  padding: 24px;
  margin-bottom: 12px;
  border: 1px solid var(--ink-08);
  border-radius: 16px;
  background: var(--card);
}

.register label {
  display: grid;
  gap: 8px;
}

.register input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--ink-18);
  background: #010b06;
  font-family: var(--mono);
  font-size: 13px;
}

.register input:focus,
.term-row input:focus,
.ghost:focus-visible,
.cta:focus-visible,
.wallet-btn:focus-visible,
.claim-btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 2px;
}

.form-out {
  margin: 0;
  color: var(--live);
  letter-spacing: 0.04em;
  text-transform: none;
}

.foot {
  width: min(var(--max), calc(100% - 40px));
  margin: 80px auto 0;
  padding-bottom: 16px;
  text-align: center;
  color: var(--ink-45);
  font-size: 12px;
}

.foot p {
  margin: 0 0 8px;
}

.foot span {
  margin: 0 8px;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 18px;
  background: rgba(3, 18, 10, 0.88);
  border: 1px solid var(--ink-08);
  backdrop-filter: blur(16px);
}

.dock-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  will-change: transform, width;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.18s ease;
}

.dock a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 72px;
  min-height: 52px;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--ink-45);
  font-size: 10px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.dock a.is-on,
.dock a:hover,
.dock a:focus-visible {
  color: var(--ink);
}

.dock a.is-on {
  background: transparent;
}

.dock-icon {
  width: 18px;
  height: 18px;
  border: 1.6px solid currentColor;
  border-radius: 5px;
}

.dock-icon.home {
  border-radius: 50%;
}

.dock-icon.layers {
  border: none;
  border-radius: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 2 7l10 5 10-5-10-5Z'/><path d='m2 17 10 5 10-5'/><path d='m2 12 10 5 10-5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 2 7l10 5 10-5-10-5Z'/><path d='m2 17 10 5 10-5'/><path d='m2 12 10 5 10-5'/></svg>") center / contain no-repeat;
}

.dock-icon.plus {
  position: relative;
}

.dock-icon.plus::before,
.dock-icon.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.dock-icon.plus::before {
  width: 8px;
  height: 1.6px;
}

.dock-icon.plus::after {
  width: 1.6px;
  height: 8px;
}

@media (min-width: 720px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .chip {
    display: flex;
  }

  .brand-wordmark {
    height: 40px;
    max-width: 220px;
  }

  .hero {
    margin-top: 36px;
  }

  .hero-art {
    height: 420px;
    max-width: 860px;
  }

  .basket {
    grid-template-columns: 1fr 1fr;
  }

  .live-line {
    max-width: none;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .board-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .board-row {
    grid-template-columns: 40px 40px minmax(0, 1fr) 120px 72px;
    padding: 12px 18px;
  }

  .board-chg {
    display: block;
  }

  .strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .buy-feed-grid,
  .feed-head.buy-feed-grid,
  .feed-row.buy-feed-grid {
    grid-template-columns: minmax(64px, 88px) minmax(0, 1fr) minmax(96px, 112px);
    gap: 12px;
  }

  .dist-feed-grid,
  .feed-head.dist-feed-grid,
  .feed-row.dist-history-feed {
    grid-template-columns: minmax(64px, 88px) minmax(0, 1fr) minmax(72px, 88px) minmax(80px, auto);
    gap: 12px;
  }

  .tx-row.buy-feed,
  .tx-head.buy-feed {
    grid-template-columns: 1.1fr 1.5fr 0.9fr;
  }

  .stock-head,
  .stock-row {
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
  }

  .stock-head span:nth-child(4),
  .stock-dash {
    display: block;
  }

  .index-row {
    grid-template-columns: 32px 36px minmax(0, 1fr) 72px 88px;
  }

  .index-row .mcap {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    text-align: right;
    color: var(--ink-70);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .register {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }

  .desk-actions .claim-btn,
  .desk-actions .wallet-btn-lg,
  .claim-action-btns .claim-btn,
  .claim-action-btns .wallet-btn {
    flex: 0 1 auto;
  }

  .register .cta,
  .form-out {
    grid-column: 1 / -1;
  }

  .form-out {
    justify-self: start;
  }

  .dock a {
    min-width: 80px;
  }
}

@media (min-width: 980px) {
  .dash-charts {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dist-tables {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 12px;
  }

  .claim-action {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    padding: 28px 28px;
  }

  .claim-action-btns {
    flex-wrap: nowrap;
  }
}

.shimmer {
  display: block;
  position: relative;
  overflow: hidden;
  background: rgba(121, 255, 119, 0.07);
  border-radius: 6px;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(236, 242, 237, 0.06) 40%,
    rgba(121, 255, 119, 0.2) 50%,
    rgba(236, 242, 237, 0.06) 60%,
    transparent 100%
  );
  animation: shimmer-sweep 1.5s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  100% {
    transform: translateX(100%);
  }
}

.shimmer-row,
.board-skel {
  pointer-events: none;
}

.feed-row.shimmer-row {
  min-height: 64px;
}

.shimmer-stack {
  min-width: 0;
}

.shimmer-stack-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shimmer-time {
  width: 52px;
  height: 13px;
}

.shimmer-title {
  width: min(58%, 160px);
  height: 15px;
}

.shimmer-sub {
  width: min(42%, 120px);
  height: 12px;
  margin-top: 8px;
}

.shimmer-amt {
  width: 56px;
  height: 15px;
  justify-self: end;
}

.shimmer-rank {
  width: 22px;
  height: 13px;
}

.shimmer-logo {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.shimmer-logo-lg {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.shimmer-wt {
  width: 36px;
  height: 13px;
}

.shimmer-value {
  width: min(148px, 62%);
  height: 32px;
  border-radius: 8px;
}

.shimmer-row:nth-child(2) .shimmer::after,
.board-skel:nth-child(2) .shimmer::after {
  animation-delay: 0.08s;
}

.shimmer-row:nth-child(3) .shimmer::after,
.board-skel:nth-child(3) .shimmer::after {
  animation-delay: 0.16s;
}

.shimmer-row:nth-child(4) .shimmer::after,
.board-skel:nth-child(4) .shimmer::after {
  animation-delay: 0.24s;
}

.shimmer-row:nth-child(5) .shimmer::after,
.board-skel:nth-child(5) .shimmer::after {
  animation-delay: 0.32s;
}

.shimmer-row:nth-child(6) .shimmer::after,
.board-skel:nth-child(6) .shimmer::after {
  animation-delay: 0.4s;
}

.shimmer-row:nth-child(7) .shimmer::after,
.board-skel:nth-child(7) .shimmer::after {
  animation-delay: 0.48s;
}

.shimmer-row:nth-child(8) .shimmer::after,
.board-skel:nth-child(8) .shimmer::after {
  animation-delay: 0.56s;
}

.shimmer-row:nth-child(9) .shimmer::after {
  animation-delay: 0.64s;
}

.shimmer-row:nth-child(10) .shimmer::after {
  animation-delay: 0.72s;
}

@media (max-width: 479px) {
  .feed-col-full {
    display: none;
  }

  .feed-col-short {
    display: inline;
  }

  .buy-feed-grid,
  .feed-head.buy-feed-grid,
  .feed-row.buy-feed-grid {
    grid-template-columns: 48px minmax(0, 1fr) 64px;
    gap: 8px;
    padding: 12px 0;
  }

  .dist-feed-grid,
  .feed-head.dist-feed-grid,
  .feed-row.dist-history-feed {
    grid-template-columns: 48px minmax(0, 1fr) 44px minmax(68px, auto);
    gap: 8px;
    padding: 12px 0;
  }

  .tx-hash-btn {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  .feed-head {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 10px 0;
  }

  .dist-time,
  .feed-time {
    font-size: 11px;
  }

  .dist-token-pill {
    font-size: 11px;
    padding: 3px 6px;
    gap: 4px;
  }

  .buy-amt,
  .dist-wallets {
    font-size: 12px;
  }

  .table-card {
    padding: 0 14px 8px;
  }

  .table-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live {
    box-shadow: none;
  }

  .dock-indicator {
    transition: none;
  }

  .wallet-btn,
  .claim-btn {
    transition: none;
  }

  .wallet-btn::after,
  .claim-btn.is-ready,
  .tx-hover-pill,
  .shimmer::after {
    animation: none;
    transition: none;
  }
}
