:root {
  --bg: #0b0c0b;
  --bg-2: #111312;
  --bg-3: #161916;
  --line: #232623;
  --text: #f4f7f5;
  --muted: #8b938d;
  --mint: #86f7b5;
  --mint-2: #6fe9a4;
  --mint-dim: #1b3a2a;
  --red: #f87171;
  --green: #4ade80;
  --orange: #f5b942;
  --radius: 14px;
  --sidebar: 232px;
  --rail: 318px;
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
.m-bar, .nav-dim { display: none; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; }

.app {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 16px 20px;
  border-right: 1px solid var(--line);
  background: #0c0d0c;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  flex: 0 0 46px;
  background: transparent;
}
.brand-name { font-size: 16px; }

.nav { display: grid; gap: 4px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #c9d0cb;
  font-size: 14px;
  font-weight: 500;
}
.nav-item svg { width: 18px; height: 18px; opacity: 0.9; }
.nav-item.is-on { background: #171a17; color: #fff; }
.nav-item:hover { background: #151815; }

.create-coin {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-radius: 10px;
  background: var(--mint);
  color: #111;
  font-weight: 700;
  font-size: 14px;
}
.create-coin:hover { background: var(--mint-2); }

.app-promo {
  margin-top: auto;
  position: relative;
  padding: 12px;
  border-radius: 14px;
  background: #141614;
  border: 1px solid var(--line);
}
.app-promo p { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.promo-x {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 16px;
}
.promo-art {
  height: 92px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #1b3a2a 0%, #141814 60%),
    #1a1d1a center/cover no-repeat;
  margin-bottom: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.promo-art::after {
  content: attr(data-fallback);
  opacity: 0.85;
}
.promo-art.has-img::after { content: none; }
.promo-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 8px;
  min-height: 16px;
}
.promo-meta b { font-size: 12px; }
.promo-meta span { font-size: 11px; color: var(--muted); }
.is-blur {
  filter: blur(14px);
  transform: scale(1.08);
}
.token-head-actions .btn-share {
  gap: 6px;
  min-width: 92px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
}
.token-head-actions .btn-share svg {
  width: 14px;
  height: 14px;
}
.promo-btn {
  display: flex;
  justify-content: center;
  padding: 7px;
  border-radius: 8px;
  background: #222;
  font-size: 12px;
  font-weight: 600;
}

.stage { min-width: 0; }
.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 8px 16px;
  background: #101210;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #d5ddd7;
}
.banner p { margin: 0; }
.banner-flag { color: #f43f5e; }
.banner-dl {
  background: var(--mint);
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
}
.banner-x { margin-left: auto; border: 0; background: 0; color: #888; font-size: 18px; }

.top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 8px;
}
.search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #141614;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  height: 36px;
  color: var(--muted);
}
.search svg { width: 16px; height: 16px; }
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  font-size: 13px;
}
.top-actions { margin-left: auto; display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.btn-dismiss {
  background: transparent;
  color: #888;
  font-size: 16px;
  min-width: 24px;
  height: 24px;
  padding: 0;
}
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-mint { background: var(--mint); color: #111; }
.btn-mint:hover { background: var(--mint-2); }
.btn-ghost { background: #1a1d1a; color: #fff; border: 1px solid var(--line); }
.btn-block { width: 100%; height: 42px; font-size: 14px; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: 14px;
  padding: 4px 16px 28px;
}

.token-card, .market, .clips, .chat-card, .trade-card, .info-card, .banner-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.token-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
}
.token-av {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #222;
  overflow: hidden;
}
.token-id h1 { margin: 0; font-size: 16px; letter-spacing: -0.03em; }
.token-id p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.token-head-actions { margin-left: auto; display: flex; gap: 8px; }
.chip-btn, .icon-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #1c201d;
  border: 1px solid var(--line);
  color: #e8eee9;
  font-size: 12px;
  font-weight: 600;
}
.icon-btn { display: inline-flex; align-items: center; justify-content: center; }

.chip-btn.is-mint {
  background: var(--mint);
  color: #111;
  border-color: transparent;
}

.stream {
  position: relative;
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
}
.stream-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  max-height: 520px;
  background: #070807;
}
.stream-vid {
  position: absolute;
  inset: -12%;
  z-index: 1;
  width: 124%;
  height: 124%;
  object-fit: cover;
  object-position: center 32%;
  filter: blur(11px) saturate(0.82) brightness(0.7);
  transform: scale(1.08);
  pointer-events: none;
}
.stream-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 38%, rgba(0,0,0,.06), rgba(0,0,0,.46) 78%);
  box-shadow: inset 0 0 56px rgba(0,0,0,.3);
}
.stream-live {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,.55);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}
.stream-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .28);
  flex: 0 0 7px;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(239, 68, 68, .28); }
  50% { box-shadow: 0 0 0 5px rgba(239, 68, 68, .12); }
}
.stream-live b { font-variant-numeric: tabular-nums; }
.stream-lock-btn {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 12px;
  border-radius: 999px;
  border: 0;
  background: #e8fbe8;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.stream-lock-btn:hover { background: #f3fff3; }
.stream-lock-btn svg { width: 22px; height: 22px; display: block; }

.market { margin-top: 12px; padding: 14px; }
.mc-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.k { display: block; color: var(--muted); font-size: 11px; }
.mc { display: block; font-size: 28px; letter-spacing: -0.04em; }
.chg { font-size: 12px; font-weight: 700; margin-left: 8px; }
.chg.is-pos, .pos b, b.is-pos { color: var(--green); }
.chg.is-neg, .neg b, b.is-neg { color: var(--red); }
.tiny { font-size: 11px; }
.muted { color: var(--muted); }

.curve { min-width: 220px; }
.curve-track {
  width: 220px;
  height: 8px;
  border-radius: 99px;
  background: #2a2e2b;
  overflow: hidden;
}
.curve-track i {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #f59e0b, #fde68a);
}
.curve-end { display: block; text-align: right; font-size: 12px; margin-top: 6px; color: #ddd; }

.chart-tools {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.tf, .chart-opts, .seg { display: flex; gap: 4px; align-items: center; }
.tf button, .chart-opts button, .seg button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 4px 7px;
  border-radius: 6px;
  font-weight: 600;
}
.tf button.is-on, .chart-opts button.is-on, .seg button.is-on {
  background: #1d221f;
  color: #fff;
}
.seg { background: #151815; border-radius: 8px; padding: 2px; }

.chart-wrap {
  position: relative;
  background: #0e100e;
  border-radius: 10px;
  min-height: 420px;
}
#chart { width: 100%; height: 420px; display: block; }
.draw-tools {
  position: absolute;
  left: 8px;
  top: 12px;
  display: grid;
  gap: 8px;
  opacity: 0.45;
}
.draw-tools span {
  width: 16px; height: 16px; border-radius: 3px; border: 1px solid #666;
}
.chart-caption {
  position: absolute;
  left: 36px;
  top: 10px;
  font-size: 11px;
  color: #9aa59e;
  max-width: 70%;
}

.stat-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.stat-chips div {
  background: #141714;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.stat-chips em { display: block; font-style: normal; color: var(--muted); font-size: 11px; }
.stat-chips b { font-size: 13px; }

.clips { margin-top: 12px; padding: 12px; }
.clip-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.clip-tabs button {
  border: 0;
  background: #171a17;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
}
.clip-tabs button.is-on { background: var(--mint); color: #111; }
.clip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.clip {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}
.clip-thumb {
  position: relative;
  height: 118px;
  overflow: hidden;
  background: #141614;
}
.clip img, .clip .ph {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
  background: #222;
}
.clip .ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b3a2a, #171a17);
  color: var(--mint);
  font-size: 16px;
  font-weight: 800;
}
.clip img { position: absolute; inset: 0; }
.clip-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.35);
  pointer-events: none;
}
.clip-play::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #fff;
}
.clip .dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #111;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}
.clip figcaption {
  padding: 8px 9px 10px;
}
.clip figcaption b {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.clip figcaption small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.rail { display: flex; flex-direction: column; gap: 12px; }
.chat-card { display: flex; flex-direction: column; min-height: 280px; }
.chat-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.chat-card h2 { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.chat-card h2 small { color: var(--green); font-size: 11px; display: flex; align-items: center; gap: 4px; }
.chat-card h2 i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.chat-body { position: relative; height: 210px; overflow: hidden; }
.chat-feed {
  height: 100%;
  overflow: hidden;
  padding: 10px 12px;
  filter: none;
  opacity: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: filter .7s ease, opacity .7s ease;
}
.chat-feed.is-blurred {
  filter: blur(7px);
  opacity: 0.72;
}
.chat-line {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  animation: chatIn .16s ease;
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-line .av { width: 22px; height: 22px; border-radius: 50%; }
.chat-line b { display: block; font-size: 11px; }
.chat-line b.c0 { color: #86f7b5; }
.chat-line b.c1 { color: #93c5fd; }
.chat-line b.c2 { color: #f9a8d4; }
.chat-line span { color: #d7ddd9; }
.chat-line .tok { color: var(--mint); font-style: normal; font-weight: 700; }
.chat-line em { color: #66706a; font-style: normal; font-size: 10px; }

.chat-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(17,19,18,.15), rgba(17,19,18,.55));
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.chat-lock.is-on { opacity: 1; }
.chat-lock.is-wait { opacity: 0; }
.chat-lock p {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.chat-send {
  margin: 10px;
  height: 38px;
  border-radius: 10px;
  background: #1a1d1a;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #d5dbd6;
}
.chat-send svg { width: 14px; height: 14px; }

.trade-card { padding: 12px; }
.side-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-tabs button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #1b1e1b;
  color: #bbb;
  font-weight: 700;
}
.side-tabs button.is-on { background: var(--mint); color: #111; }
.side-tabs button[data-side="sell"].is-on { background: #ef4444; color: #fff; }
.trade-meta {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 8px;
  font-size: 12px;
  color: var(--muted);
}
.linkish { border: 0; background: 0; color: #9ca3af; font-size: 12px; }
.amount {
  display: flex;
  align-items: center;
  background: #101210;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  height: 46px;
}
.amount input {
  flex: 1;
  border: 0;
  background: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  outline: none;
  width: 100%;
}
.amt-unit { color: var(--muted); font-weight: 700; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.presets button {
  border: 1px solid var(--line);
  background: #151815;
  color: #cfd6d1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
}
.presets button.is-on { border-color: var(--mint); color: var(--mint); }

.quote {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.quote b { color: var(--text); }
.quote em { font-style: normal; color: #8b938d; }
.info-card { padding: 12px; }
.info-price { margin-bottom: 10px; }
.info-price strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0 0 10px;
}
.info-grid div { margin: 0; }
.info-grid dt {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.info-grid dd {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
}
.btn-ca {
  width: 100%;
  height: 40px;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px;
  background: #151815;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #e8eee9;
  font-weight: 600;
}
.btn-ca span {
  background: var(--mint);
  color: #111;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 10px;
}
.btn-ca code { flex: 1; text-align: left; font-size: 12px; }
.btn-ca small { color: var(--muted); font-size: 11px; }
.banner-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 92px;
}
.token-banner {
  height: 110px;
  background: #111 center/cover no-repeat;
}
.legal { font-size: 11px; color: #6b736e; line-height: 1.6; margin: 0 4px; }
.legal a:hover { color: #fff; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}
.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(88dvh, 640px);
  overflow: auto;
  background: #161916;
  border: 1px solid #2a2e2b;
  border-radius: 18px;
  padding: 28px 26px 20px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.modal-card h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.04em; }
.how-lead { color: #c5cdc8; font-size: 14px; line-height: 1.5; }
.how-lead em { color: #60a5fa; font-style: normal; font-weight: 700; }
.how-lead strong { color: var(--mint); font-weight: 700; }
.how-steps { list-style: none; padding: 8px 0 4px; margin: 0; }
.how-steps li { margin: 8px 0; font-size: 14px; }
.how-note { color: #8b938d; font-size: 12px; line-height: 1.45; }
.how-links { margin: 12px 0 0; font-size: 12px; color: #6b736e; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 1fr; }
  .rail { display: grid; grid-template-columns: 1fr 1fr; }
  .legal, .banner-card { grid-column: 1 / -1; }
  .clip-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-chips { grid-template-columns: repeat(3, 1fr); }
  .chart-tools { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 840px) {
  .app { grid-template-columns: 1fr; }
  .m-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
    background: #0c0d0c;
    border-bottom: 1px solid var(--line);
  }
  .m-brand { margin: 0; flex: 1; min-width: 0; }
  .m-brand .brand-name { font-size: 15px; white-space: nowrap; }
  .btn-menu {
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
    background: #171a17;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .btn-menu span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #e8eee9;
    border-radius: 2px;
  }
  .nav-dim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 34;
    background: rgba(0,0,0,.55);
  }
  .nav-dim.is-on { display: block; }
  .sidebar {
    display: flex;
    position: fixed;
    z-index: 35;
    left: 0;
    top: 0;
    width: min(280px, 86vw);
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: none;
  }
  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 16px 0 40px rgba(0,0,0,.35);
  }
  .rail { grid-template-columns: 1fr; }
  .banner {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .banner-x { margin-left: auto; }
  .top-row {
    flex-wrap: wrap;
    padding: 10px 12px 6px;
  }
  .search { max-width: none; width: 100%; }
  .top-actions { display: none; }
  .workspace { padding: 4px 12px 24px; gap: 12px; }
  .stream-stage { min-height: 210px; }
  .chart-wrap, #chart { min-height: 280px; height: 280px; }
  .mc { font-size: 24px; }
  .mc-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .curve, .curve-track { width: 100%; min-width: 0; }
  .stat-chips { grid-template-columns: repeat(2, 1fr); }
  .modal-card {
    padding: 22px 18px 16px;
    border-radius: 16px;
  }
  .modal-card h2 { font-size: 20px; }
  .how-lead, .how-steps li { font-size: 13px; }
}

@media (max-width: 520px) {
  .clip-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .clip-thumb, .clip img, .clip .ph { height: 96px; }
  .stat-chips { grid-template-columns: 1fr 1fr; }
  .presets button { flex: 1 1 calc(33% - 6px); }
  .token-head { padding: 10px; }
  .token-id h1 { font-size: 15px; }
  .modal-card { max-height: 86dvh; }
}
