/* ═══ VOTE WIDGET — native DEX Screener style ═══
   Палитра страницы: bg #111116 · panel #17171c · card #1d1d22 · hover #222227
   border #28282d · text #e6e6e6 · muted #999/#666 · brand blue #5974f0 · up #26a69a */

/* --- контейнер-обёртка в правой колонке --- */
.ds-vote-wrap { width: 100%; margin-top: 12px; }

/* --- главная карточка --- */
.vote-card {
  position: relative;
  background: #17171c;
  border: 1px solid #28282d;
  border-radius: 12px;
  padding: 18px 16px 16px;
}
.vote-card-title {
  font-family: "Space Grotesk", Poppins, sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; color: #999999;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 14px;
}
.vote-card-divider { height: 1px; background: #28282d; margin: 14px -16px; }

/* --- hero: общий счётчик (центрирован по сетке карточки) --- */
.vote-hero { text-align: center; }
  .vote-big-num {
  font-family: "Space Grotesk", Poppins, sans-serif;
  font-size: 30px; font-weight: 700; color: #ffffff;
  font-variant-numeric: tabular-nums; line-height: 1.05;
}
.vote-big-label { font-size: 11px; color: #999999; margin-top: 2px; }

/* --- прогресс-бар --- */
.vote-bar-wrap { margin-top: 14px; }
  .vote-bar {
  height: 6px; border-radius: 3px; overflow: hidden;
  background: #28282d;
}
  .vote-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #354690, #5974f0);
  border-radius: 3px;
  transition: width 1s cubic-bezier(.22,1,.36,1);
}
  .vote-bar-labels {
  display: flex; justify-content: center; align-items: baseline;
  gap: 10px; margin-top: 6px; font-size: 11px;
  }
  .vote-bar-labels .side {
  color: #e6e6e6; font-weight: 600; font-variant-numeric: tabular-nums;
}
.vote-bar-labels .title { color: #666666; text-transform: uppercase; letter-spacing: .5px; font-size: 10px; }

/* --- stats: Voters / Round / Rank --- */
  .vote-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 12px;
}
  .vote-stat {
  background: #1d1d22; border: 1px solid #28282d; border-radius: 8px;
  padding: 8px 6px; text-align: center;
}
.vote-stat-val { font-size: 15px; font-weight: 700; color: #ffffff; font-variant-numeric: tabular-nums; }
.vote-stat-val.green { color: #26a69a; }
.vote-stat-label { font-size: 10px; color: #666666; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* --- countdown --- */
  .countdown-row {
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.cd-unit { text-align: center; min-width: 44px; }
  .cd-num {
  font-size: 18px; font-weight: 700; color: #ffffff;
  background: #1d1d22; border: 1px solid #28282d; border-radius: 8px;
  padding: 5px 0; font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 9px; color: #666666; text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.cd-sep { color: #666666; font-size: 16px; font-weight: 700; margin-bottom: 14px; }

/* --- eligibility --- */
.eligibility-title { font-family: "Space Grotesk", Poppins, sans-serif; font-size: 11px; font-weight: 600; color: #999999; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; text-align: center; }
.eligibility-cards { display: flex; gap: 8px; position: relative; }
  .elig-card {
  flex: 1; background: #1d1d22; border: 1px solid #28282d; border-radius: 8px;
  padding: 10px 8px; text-align: center;
}
.elig-icon { color: #5974f0; display: flex; justify-content: center; margin-bottom: 5px; }
.elig-label { font-size: 10px; color: #666666; text-transform: uppercase; letter-spacing: .4px; }
.elig-value { font-size: 13px; font-weight: 700; color: #e6e6e6; margin-top: 1px; }
  .elig-or {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #111116; border: 1px solid #28282d; border-radius: 4px;
  font-size: 9px; font-weight: 700; color: #666666; text-transform: uppercase;
  padding: 2px 5px; z-index: 2;
}

/* --- CTA кнопка: как Buy/Solid у dex screener --- */
  .btn-vote-main {
  width: 100%; padding: 12px; border: none; border-radius: 10px;
  background: linear-gradient(180deg, #5974f0, #354690);
  color: #fff; font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 2px 0 rgba(0,0,0,.25);
  transition: filter .15s ease, opacity .15s;
}
.btn-vote-main:hover { filter: brightness(1.08); }
.btn-vote-main:active { filter: brightness(.95); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }

/* --- gasless note + rules --- */
  .vote-note {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  font-size: 11px; color: #666666; margin-top: 10px; line-height: 1.3;
}
.vote-note svg { color: #26a69a; flex-shrink: 0; }
.rules-mini { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
  .rule-mini-item {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 11px; color: #999999; line-height: 1.45;
}
.rule-mini-icon { color: #5974f0; flex-shrink: 0; margin-top: 1px; }
.rule-mini-text strong { color: #e6e6e6; font-weight: 700; }

/* --- Recent Votes --- */
.vote-activity { margin-top: 4px; }
.live-now { display: inline-flex; align-items: center; gap: 5px; margin-left: 7px;
  font-size: 10.5px; font-weight: 600; color: #26a69a; background: rgba(38,166,154,.1);
  border: 1px solid rgba(38,166,154,.28); border-radius: 20px; padding: 2px 8px;
  vertical-align: middle; white-space: nowrap; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #26a69a; flex-shrink: 0;
  animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.vote-activity-title {
  font-family: "Space Grotesk", Poppins, sans-serif;
  font-size: 11px; font-weight: 600; color: #999999;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.vote-activity .activity-list {
  max-height: 236px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0; padding-right: 4px;
}
.vote-activity .activity-list::-webkit-scrollbar { width: 4px; }
.vote-activity .activity-list::-webkit-scrollbar-thumb { background: #28282d; border-radius: 2px; }
.activity-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid #232329;
}
.vote-activity .activity-item:first-child { padding-top: 0; }
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  background: #1d1d22; color: #5974f0;
  display: flex; align-items: center; justify-content: center;
}
.activity-info { flex: 1; min-width: 0; }
.activity-addr {
  font-size: 12px; font-weight: 600; color: #e6e6e6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.holder-pill {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .4px;
  color: #26a69a; background: rgba(38,166,154,.12); border: 1px solid rgba(38,166,154,.25);
  border-radius: 4px; padding: 0 4px; vertical-align: middle; margin-left: 2px;
}
.activity-detail { font-size: 10px; color: #666666; margin-top: 1px; }
.activity-amount {
  font-size: 11px; font-weight: 700; color: #26a69a; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ═══ MODAL — Confirm Vote ═══ */
  .vote-modal-overlay {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}
.vote-modal-overlay.show { opacity: 1; visibility: visible; pointer-events: all; }
  .vote-modal {
    position: relative;
    display: flex; flex-direction: column;
  width: 400px; max-width: 100%; max-height: 100%;
  background: #17171c;
  border: 1px solid #28282d; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.96); transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.vote-modal-overlay.show .vote-modal { transform: scale(1); }
.vote-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 6px;
  background: transparent; border: none; cursor: pointer;
  color: #666666; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.vote-modal-close:hover { background: #222227; color: #e6e6e6; }
.vote-modal-body { padding: 24px 22px 20px; text-align: center; }

.vm-head { display: flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 16px; }
.coin-logo, .vm-logo {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: #1d1d22; border: 1px solid #28282d;
    display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 14px; font-weight: 700; color: #999999;
}
.coin-logo.has-img img, .vm-logo.has-img img,
.vm-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .vm-head-text { min-width: 0; }
.vm-eyebrow { font-size: 10px; font-weight: 700; color: #666666; text-transform: uppercase; letter-spacing: .6px; }
.vm-token { font-size: 15px; font-weight: 700; color: #ffffff; }
.vm-ticker { color: #999999; font-weight: 600; font-size: 13px; }
  .vm-contract {
  font-size: 11px; color: #666666; margin-top: 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.vm-title { font-size: 17px; font-weight: 700; color: #ffffff; margin: 0 0 12px; }
.vm-accent { color: #5974f0; }

  .vm-info {
  display: flex; align-items: center; gap: 10px;
  background: #1d1d22; border: 1px solid #28282d; border-radius: 8px;
  padding: 10px 12px; text-align: left; margin-bottom: 12px;
}
.vm-info-icon { color: #26a69a; flex-shrink: 0; }
.vm-info-text { font-size: 12px; color: #999999; line-height: 1.4; }
.vm-info-text strong { color: #e6e6e6; }

.vm-disclaimer { font-size: 11px; color: #666666; line-height: 1.5; margin: 0 0 14px; }
.vm-disclaimer strong { color: #99999999; color: #999999; }

.vm-confirm { margin-top: 4px; }
  .vm-cancel {
  width: 100%; margin-top: 8px; padding: 10px;
  background: #222227; border: 1px solid #28282d; border-radius: 10px;
  color: #999999; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background .15s, color .15s;
}
.vm-cancel:hover { background: #28282d; color: #e6e6e6; }

/* ═══ TOAST ═══ */
.vm-toast {
  position: fixed; bottom: 24px; right: 24px; left: auto;
  transform: translateY(16px) scale(.97);
  opacity: 0; visibility: hidden; pointer-events: none;
  background: #1d1d22;
  border: 1px solid #28282d;
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  z-index: 1100;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .28s ease, visibility .28s;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.vm-toast.show { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.vm-toast span { font-size: 13px; font-weight: 500; color: #e6e6e6; }

/* --- Share (dex screener style) --- */
.share-card { background: transparent; border: none; padding: 14px 0 0; }
.vote-card .share-label {
  font-family: "Space Grotesk", Poppins, sans-serif;
  font-size: 11px; color: #999999; margin: 12px 0 8px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.share-btns { display: flex; gap: 8px; }
.share-btn {
  flex: 1; padding: 9px; border-radius: 8px;
  background: #1d1d22; border: 1px solid #28282d;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: #999999;
  cursor: pointer; text-decoration: none;
  transition: box-shadow .08s ease, transform .08s ease, color .12s, background .12s, border-color .12s;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
  margin-bottom: 2px;
}
.share-btn:hover { border-color: #5974f0; color: #e6e6e6; background: #222227; }
.share-btn:active { transform: translateY(2px); box-shadow: none; }

/* ═══ ПРАВАЯ КОЛОНКА = ТОЛЬКО ГОЛОСОВАНИЕ (реф: ничего лишнего вокруг vote-card) ═══ */
.dsp-kzNOqD > .custom-kq3kkh,
.dsp-kzNOqD > .custom-178eynl,
.dsp-kzNOqD > .custom-14xbyrr { display: none !important; }

/* внутри custom-p8yo5c остаётся ТОЛЬКО стек с голосовалкой (первый ребёнок),
   всё ниже (Site/About/trades-hints/ad-b) прячем — реф-стиль: чистый сайдбар */
.custom-p8yo5c > .custom-p8yo5c,
.custom-p8yo5c > .custom-irayms,
.custom-p8yo5c > .custom-1axbvnt,
.custom-p8yo5c > .custom-1qydhzc { display: none !important; }

/* нижние сервисные стеки-заглушки под голосовалкой (маркетинг-мин'ы) — прячем */
.custom-1lzkwvw > .custom-dg0cw3,
.custom-1lzkwvw > .custom-xjrq59,
.custom-1lzkwvw > .custom-i33gp9,
.custom-1lzkwvw > .chakra-stack__divider { display: none !important; }

/* блок Search on Twitter / Other pairs (последний хвост p8yo5c) — прячем */
.custom-p8yo5c .custom-wt1v79 { display: none !important; }

/* ═══ TOKEN DETAILS (внизу центральной колонки, реф-структура) ═══ */
.td-col { padding: 0; }
.td-inner { max-width: 100%; margin: 0; padding: 20px 18px 32px; }
.td-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.td-title { font-size: 17px; font-weight: 800; color: #ffffff; letter-spacing: .2px; }
.td-pill {
  font-size: 10px; font-weight: 700; border-radius: 4px; padding: 3px 8px;
  color: #26a69a; background: rgba(38,166,154,.08); border: 1px solid rgba(38,166,154,.3);
}
.td-grid { display: grid; grid-template-columns: minmax(280px,340px) minmax(300px,1fr); gap: 12px; }
.td-card { background: #17171c; border: 1px solid #28282d; border-radius: 12px; padding: 16px; }

/* key info */
.td-card-title { font-family: "Space Grotesk", Poppins, sans-serif; font-size: 11px; font-weight: 600; color: #999999; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.td-kv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8.5px 0; border-bottom: 1px solid #232329; }
.td-kv-row:last-child { border-bottom: none; padding-bottom: 0; }
.td-kv-row span { font-size: 12px; color: #666666; }
.td-kv-row b { font-size: 15px; color: #e6e6e6; font-weight: 600; text-align: right; word-break: break-all; }

/* tokenomics: донат + легенда (пропорции рефа 55/25/12/8) */
.td-tok-body { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; }
.td-donut-wrap svg circle[data-seg="community"]  { stroke:#5974f0; }
.td-legend { display: flex; flex-direction: column; gap: 10px; min-width: 170px; }
.td-leg-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #999999; }
.td-leg-item b { margin-left: auto; color: #e6e6e6; }
.dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.dot-c { background:#5974f0; } .dot-l { background:#26a69a; }
.dot-e { background:#a4cf5e; } .dot-t { background:#F0B90B; }
.td-supply-chip { font-size: 10px; font-weight: 700; color: #26a69a; background: rgba(38,166,154,.1); border: 1px solid rgba(38,166,154,.3); border-radius: 4px; padding: 2px 6px; }

.td-audit { grid-column: 1 / -1; }
.td-audit-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #e6e6e6; font-weight: 600; }
.td-audit-sub { margin-top: 5px; font-size: 11px; color: #77777c; line-height: 1.35; }

/* markets — таблица как в dexscreener транзакциях */
.td-markets { grid-column: 1 / -1; overflow-x: auto; }
.td-markets-table { width: 100%; border-collapse: collapse; }
.td-markets-table th {
  font-size: 10px; font-weight: 700; color: #666666; text-transform: uppercase; letter-spacing: .5px;
  text-align: left; padding: 7px 10px; border-bottom: 1px solid #28282d; white-space: nowrap;
}
.td-markets-table td { font-size: 13px; color: #cccccc; padding: 9px 10px; border-bottom: 1px solid #232329; white-space: nowrap; }
.td-markets-table tr.mrow:last-child td { border-bottom: none; }
.td-markets-table tr.mrow:hover td { background: #1d1d22; cursor: pointer; }

/* ═══ ЦЕНТР: расхлопывание чарт+таблиц (в живом dexscreener это делает гидрация, у нас её нет) ═══ */
/* колонка центра скроллится (как в живом DS), чарт фикс-высоты, TD достижим скроллом */
.custom-1mgfq9c { flex: 1 1 0 !important; min-width: 0; overflow: visible !important; }
.custom-u4bj1o { display: flex !important; flex: 0 0 auto; height: 359px; flex-direction: column; min-height: 0; }
.custom-19qkkht { flex: 0 0 auto; }
.custom-y5h636 { display: flex !important; flex: 0 0 auto; align-items: flex-start; }

/* TD не сжимается флексом — полная высота, достижим скроллом колонки */
.td-col { flex: 0 0 auto !important; }
.custom-1mgfq9c > .td-col { flex-shrink: 0; }

/* ═══ П.1: общий скролл страницы — правая колонка без своего скролла ═══ */
.dsp-kzNOqD { overflow: visible !important; }
main { overflow-y: auto !important; overflow-x: hidden; } /* единый вертикальный скролл на main */

/* ═══ П.9: всё вмещается в один экран (1025px), компактный TD ═══ */
.custom-u4bj1o { display:flex !important; flex:0 0 auto; height:auto; flex-direction:column; min-height:0; }
.custom-1cazyn5 { position:relative; min-height:380px !important; height:auto; background:#0b0e14; }
.custom-1cazyn5 > * { position:absolute; inset:0; }
.dsp-jFeutP { width:100%; height:100% !important; position:absolute; inset:0; }
.custom-19qkkht { flex:0 0 auto; }
.td-col { flex:0 0 auto !important; }
.td-inner { padding:12px 16px 16px !important; }
.td-title { font-size:15px !important; }
.td-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); gap:10px !important; margin-top:8px; }
.td-card { padding:12px 14px !important; border-radius:10px; }
.td-kv-row { padding:6px 0 !important; }
.td-audit-row { font-size:12px; }
/* markets компактно + скрыть панель-фильтры таблицы трейдов (не нужны) */
.td-markets-table th { padding:6px 8px; font-size:10px; }
.td-markets-table td { padding:6px 8px; font-size:12.5px; }

/* П.8: nav низ — спрятать кривой anon/Sign-in если мешает */
nav .custom-gdkc3w { display:none !important; }

/* П.3: share-btn X — компактная иконка-кнопка */
.share-btns .share-btn svg { width:13px;height:13px;flex-shrink:0; }

/* ── П.1 продолжение: РЯД 19oip3g растягивается по контенту, скролл только на main ── */
.custom-19oip3g { overflow: visible !important; min-height:0 !important; }
.custom-1mgfq9c { overflow: visible !important; }
/* main — единственный скроллер */
main.custom-1ip3p22 { overflow-y: auto !important; }
/* анти-схлопывание flex-строки: min-height по контенту */
.custom-19oip3g > * { min-height: 0; }

/* ── П.1/П.9 ФИНАЛ: flex-строка и центр по контенту, ЕДИНСТВЕННЫЙ скролл — main ── */
.custom-19oip3g { height: auto !important; overflow: visible !important; }
/* центр (чарт+TD) делит ряд с колонкой vote (460/400/340px): растём из ОСТАВШЕЙСЯ
   ширины, а не от 100% родителя — иначе 100%+400px > ряда и центр уезжает под nav */
.custom-1mgfq9c {
  height: auto !important; min-height: max-content !important;
  flex: 1 1 0 !important; width: auto !important;
  overflow: visible !important;
}
main.custom-1ip3p22, main { overflow-y: auto !important; overflow-x: hidden; }
/* чарт вписывается: высота = viewBox минус шапка/тд, авто-масштаб */
@media (min-height: 900px){
  .custom-1cazyn5 { min-height: 400px; }
}
/* TD: сжать карточки чтобы всё влезало в 1025px вместе с чартом */
.td-inner { padding: 10px 16px 14px !important; }
.td-card { padding: 10px 12px !important; }
.td-card-title { margin-bottom: 8px !important; }
.td-kv-row { padding: 5.5px 0 !important; }

/* ── вся цепочка flex-обёрток: по контенту, скролл только main ── */
.custom-697dix { overflow: visible !important; height: auto !important; }

/* ── ФИКС ширины (П.1): trending-бар распухал колонку до 5442px ──
   горизонтальный viewport data-scrollable не даёт ряду схлопнуться → главный ряд растягивался под контент ленты.
   Обёртке запрещаем расти: viewport остаётся внутри 100% ширины со своим горизонтальным скроллом. */
.custom-y5h636 { min-width: 0 !important; width: auto !important; }
.custom-y5h636 > div { flex: 1 1 0 !important; min-width: 0 !important; }
.custom-1g68m89 { max-width: 100% !important; }
/* цепочка флекс-контейнеров центра: запрещаем min-width:auto распухать по содержимому
   (TradingView-заглушка 78fucf с кнопками Txns тянула ширину до ~5400px) */
.custom-19oip3g,.custom-1mgfq9c,.custom-u4bj1o,.custom-697dix,
.custom-19qkkht,.custom-1vjv7zm,.custom-1275zxc,.custom-78fucf,
.custom-y5h636,.td-col { min-width: 0 !important; }

/* левая колонка vote (внутри 19oip3g это столбец с голосовалкой):
   emotion-базис на десктопе давал flex:initial + width:calc(300px+...) — колонка
   сжималась до 1px и vote-card исчезала. Явно задаём фиксированную ширину. */
.custom-1hweal0 { width: 460px !important; min-width: 460px !important; flex: 0 0 460px !important; }
@media (max-width: 1500px){
  .custom-1hweal0 { width: 400px !important; min-width: 400px !important; flex-basis: 400px !important; }
}
@media (max-width: 1240px){
  .custom-1hweal0 { width: 340px !important; min-width: 340px !important; flex-basis: 340px !important; }
}

/* ── П.3: список сетей тянется до низа навигации (мёртвый нижний блок 120px убираем) ── */
.dsp-bgEBTs { display: none !important; }
.dsp-eYITUx.dsp-fTlicE.dsp-eKrKGL { max-height: none !important; height: 100% !important; overflow-y: auto !important; }

/* ── П.1 ТД/чарт влезают в экран ── */
/* блок Transactions/Top Traders/KOLs/Holders/Maps под графиком убран совсем (данных у нас нет),
   Token Details встаёт сразу после графика, сам график стал выше ~500px */
.custom-19qkkht { display: none !important; }
.custom-1cazyn5 { min-height: 500px !important; }
.custom-uwwqev { display: none !important; }
.custom-stewrd { height: 40px !important; }
.custom-stewrd img { object-fit: cover; width: 100%; height: 40px; object-position: center 30%; }

/* ── П.1: Token Details компактнее (бот ≤ 1025px) ── */
.td-inner { padding: 10px 16px 12px !important; }
.td-grid { gap: 8px !important; margin-top: 6px; }
.td-card { padding: 8px 11px !important; }
.td-card-title { margin-bottom: 6px !important; }
.td-kv-row { padding: 3.5px 0 !important; }
.td-donut-wrap svg { width: 106px !important; height: 106px !important; }
.td-legend { gap: 7px !important; min-width: 150px !important; }
.td-markets-table th { padding: 4px 8px !important; font-size: 10px !important; }
.td-markets-table td { padding: 4px 8px !important; font-size: 12.5px !important; }
.td-audit-sub { margin-top: 3px; font-size: 10.5px; }

/* ═══ МОБИЛКА (≤ 760px): всё в одну колонку, без горизонтального распуха ═══ */
@media (max-width: 1240px){
  /* 13.11 #3: диапазон снова расширен (760→1024→1240) — оператор: «планшет
     должен отдавать ту же версию, что и телефон». Вся зона ≤1240px (вкл. планшет
     1025-1240, где emotion ещё рисовал боковой сайдбар) теперь живёт по одной
     мобильной схеме: топбар сверху + vote/TD во всю ширину + скролл всего каркаса */
  /* страница: только вертикальный скролл */
  .custom-1ip3p22 { overflow-x: hidden !important; }

  /* 13.11 #3 (фидбек «разрешение меняю — шапка стоит на месте»): у emotion
     каркас position:fixed + overflow:hidden, скролл живёт только в main →
     топбар «прилипает». Как на офф-дексе мобайла: скроллится ВЕСЬ каркас,
     топбар уходит вместе с блоками. position:static + overflow:visible */
  .custom-cwirlr { position: static !important; overflow: visible !important;
    height: auto !important; max-height: none !important;
    /* 100vw = окно + вертикальный скроллбар (~15px) → горизонтальный скролл
       страницы. 100% = ровно body, как у всех блоков */
    width: 100% !important; }
  nav.custom-fo8nmc { position: static !important; width: 100% !important; }

  /* ГЛАВНОЕ: main схлопывался в 0 высоты — flex-родитель давал nav flex-shrink:0,
     а main сжимался до нуля. Возвращаем минимальную высоту + родителю свой overflow */
  .notranslate { min-height: 100vh !important; }
  /* ФИКС «прилепленного» лого (13.11): inline-nav ≤61em делал вертикальный
     столбик 48px слева, слово DexScreener клипалось overflow'ом, vote/TD теряли
     48px ширины. На мобиле nav = ПОЛНОШИРИННЫЙ горизонтальный топбар 50px:
     иконка + слово DexScreener + поиск/Explore справа, всё в один ряд */
  .custom-cwirlr { flex-direction: column !important; }
  nav.custom-fo8nmc {
    width: 100% !important; min-width: 100% !important; max-width: 100% !important;
    height: 50px !important; min-height: 50px !important; max-height: 50px !important;
    flex: 0 0 50px !important;
    flex-direction: row !important;
    border-right: none !important; border-bottom: 1px solid #282829;
    overflow: visible !important;
  }
  /* внутренние колонки nav → горизонтальный ряд, чтобы не было
     вертикального стека элементов на топбаре */
  nav.custom-fo8nmc > .custom-6su6fj {
    display: flex !important; flex-direction: row !important; align-items: center;
    width: 100% !important; height: 50px !important; gap: 10px;
  }
  nav.custom-fo8nmc .custom-7qet1i,
  nav.custom-fo8nmc [data-nav-open] { display: none !important; }  /* выезжающее меню скрываем */
  /* 13.11 #2 (референс site2 vote/mobile.png — офф мобайл-топбар декса):
     слева КРУГЛЫЙ значок без слова, рядом пилюля «Get the App!», справа лупа + EXPLORE
     вплотную к краю. Точную верстку оффа копируем: */
  /* 1) вордмарк (слово DexScreener) на мобиле НЕ показываем — у офф его нет */
  nav.custom-fo8nmc .custom-17yze8y { display: none !important; }
  /* 2) круглая иконка как у офф (30px, обычная).
     ВАЖНО (13.11 #4): эмошен прячет .custom-16q9pr7 выше 62em (≈992px,
     «десктопный» вариант), из-за чего в зоне 1025–1240 топбар рендерился
     без иконки («обрезан»). В зоне топбара показываем принудительно */
  nav.custom-fo8nmc .custom-16q9pr7 { display: block !important;
    width: 30px !important; height: 30px !important; flex: 0 0 auto; margin-left: var(--chakra-space-3); }
  nav.custom-fo8nmc .custom-16q9pr7 svg { width: 30px !important; height: 30px !important; }
  /* 3) пилюля «Get the App!» — ПО ЦЕНТРУ топбара (реф-логика оператора:
     слева иконка, в центре get-app, справа лупа+Explore). Абсолютное
     центрирование — не зависит от ширины левой/правой групп */
  nav.custom-fo8nmc > .custom-6su6fj { position: relative !important; }
  /* пилюля живёт внутри .custom-1vmlpe2 — гасим его позиционирование,
     чтобы абсолют считался от всего ряда топбара; сам ряд тянется на всю
     ширину nav, иначе правая группа не прижимается к правому краю */
  nav.custom-fo8nmc .custom-1vmlpe2 { position: static !important;
    width: 100% !important; max-width: none !important; min-width: 0 !important;
    flex: 1 1 auto !important; }
  nav.custom-fo8nmc .custom-wk2nh8 { display: flex !important;
    position: absolute !important; left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    /* emotion-базис даёт width:100%+max-width:160px — снимаем, пусть пиллюля
       растягивается по содержимому */
    width: auto !important; max-width: none !important;
    min-width: 0 !important; margin: 0 !important; padding: 5px 11px !important;
    border-radius: 18px !important; font-size: 11.5px !important; gap: 4px !important;
    flex: 0 0 auto; height: auto !important; white-space: nowrap;
    -webkit-flex-shrink: 0; }
  /* вузкая зона (<480): всё ужато, чтобы центр-пилюля не влезала в лупу+Explore */
  @media (max-width: 479px){
    nav.custom-fo8nmc .custom-wk2nh8 { padding: 4px 6px !important; font-size: 10px !important; }
    /* dsp-стили глушат наш шрифт внутри пилюли — давим все уровни вложенности */
    nav.custom-fo8nmc .custom-wk2nh8 * { font-size: inherit !important; }
    nav.custom-fo8nmc .custom-wk2nh8 svg { width: 9px !important; height: 9px !important; }
    nav.custom-fo8nmc .custom-wk2nh8 { max-width: calc(100vw - 210px) !important; overflow: hidden !important; }
  }
  nav.custom-fo8nmc .custom-wk2nh8 svg { width: 12px !important; height: 12px !important; }
  /* контейнер ряда не должен вылезать за экран (было 496px при вьюпорте 390) */
  nav.custom-fo8nmc .custom-1vmlpe2 { max-width: 100% !important; padding-left: var(--chakra-space-3); gap: 0; }
  /* 4) правые кнопки ВПЛОТНУЮ к краю (офф: лупа+EXPLORE почти без отступа),
     но строго внутри экрана; EXPLORE шире оффового — режем паддинг */
  nav.custom-fo8nmc .custom-hxot9r { margin-left: auto !important; margin-right: 2px !important; display: flex; align-items: center; }
  nav.custom-fo8nmc .custom-hxot9r .custom-9so7vl { min-width: 42px !important; padding-inline: 9px !important; }
  nav.custom-fo8nmc .custom-hxot9r .custom-7uzd6o { min-width: 0 !important;
    width: auto !important; padding-inline: 8px !important; font-size: 12px !important; gap: 3px !important; }
  /* вузкая зона (<480) — ПОСЛЕ базовых правил топбара, чтобы перекрыть их:
     лупа/Explore жмутся, пилюля центру достаётся меньше места */
  @media (max-width: 479px){
    nav.custom-fo8nmc .custom-hxot9r { margin-right: 3px !important; gap: 0 !important; }
    nav.custom-fo8nmc .custom-hxot9r .custom-9so7vl { min-width: 26px !important; width: 26px !important; padding-inline: 0 !important; }
    nav.custom-fo8nmc .custom-hxot9r .custom-7uzd6o { min-width: 0 !important; width: auto !important; padding-inline: 5px !important; font-size: 9.5px !important; gap: 2px !important; }
    nav.custom-fo8nmc .custom-16q9pr7 { margin-left: 6px !important; }
  }
  /* MAIN занимает всю ширину под топбаром — ни одного потерянного пикселя */
  main.custom-1ip3p22 { height: auto !important; min-height: calc(100vh - 50px) !important; flex: 1 1 auto !important; width: 100% !important; }

  /* ── ПЕРЕДЕЛАНО С НУЛЯ (13.11 «криво-косо»): раньше главный ряд был строкой
     flex, где vote забирала 100% и центр с TD схлопывался в 0 = каша.
     Новая логика — ТА ЖЕ ЧТО У БЛОКОВ: ряд = вертикальный стек,
     каждый ребёнок тянется на всю ширину обёртки, обёртка = вся main.
     Так шапка, vote и TD всегда одной ширины и одного левого края. */
  .custom-697dix   { width: 100% !important; max-width: 100% !important; }
  .custom-19oip3g  { display: flex !important; flex-direction: column !important;
    width: 100% !important; height: auto !important; overflow: visible !important; }
  .custom-1hweal0  { display: block !important; width: 100% !important;
    min-width: 0 !important; max-width: none !important; flex: none !important;
    height: auto !important; overflow: visible !important; }
  .custom-1mgfq9c  { display: block !important; width: 100% !important;
    min-width: 0 !important; max-width: none !important; flex: none !important;
    height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .custom-u4bj1o   { display: none !important; }  /* чарт скрыт на мобиле */
  .td-col          { width: 100% !important; flex: none !important; }
  .custom-y5h636   { width: 100% !important; flex: none !important; }


  /* Token Details grid — одна колонка, карточки по ширине контейнера */
  .td-grid { grid-template-columns: minmax(0,1fr) !important; }
  .td-grid > * { min-width: 0 !important; max-width: 100% !important; }

  /* markets-таблица: колонки по ширине контента, на узком скрываем менее важные */
  .td-card.td-markets { overflow-x: auto !important; max-width: 100% !important; }
  .td-markets-table { table-layout: auto !important; width: 100% !important; }
  .td-markets-table th:nth-child(n+6), .td-markets-table td:nth-child(n+6) { display: none !important; } /* прячем LIQUIDITY на узком */
  .td-markets-table th, .td-markets-table td { white-space: nowrap !important; padding: 4px 6px !important; }
  .td-markets-table th:nth-child(1) { width: 24px !important; }   /* # */
  .td-markets-table th:nth-child(4) { width: 78px !important; }   /* Price */
  .td-markets-table th:nth-child(5) { width: 84px !important; }   /* Volume */

  /* нижний тикер-бар (trending) — БЕЗ 100vw-хака: 100vw шире окна на ширину
     вертикального скроллбара → появлялся горизонтальный скролл страницы */
  .custom-1g68m89 { max-width: 100% !important; width: 100% !important; margin-left: 0 !important; }
  .custom-ad9g43, .custom-4xraet { flex-wrap: nowrap !important; }

  /* ═══ М2: компактная вота-карточка — первый экран не должен быть полувотой ═══ */
  .vote-card {
    padding: 12px 12px 12px !important;
    border-radius: 10px !important;
  }
  .vote-card-title { margin-bottom: 8px !important; font-size: 10px !important; }
  .vote-card-divider { margin: 9px -12px !important; }
  /* hero-счётчик компактно в одну строку с прогрессом */
  .vote-hero { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; text-align: left; }
  .vote-big-num { font-size: 22px !important; }
  .vote-bar-wrap { margin-top: 6px !important; }
  .vote-stats-row { gap: 6px !important; margin-top: 8px !important; }
  .vote-stat { padding: 5px 4px !important; }
  .vote-stat-val { font-size: 13px !important; }
  .countdown-row { gap: 3px !important; }
  .cd-unit { min-width: 38px !important; }
  .cd-num { font-size: 15px !important; padding: 4px 0 !important; }
  .eligibility-cards { gap: 6px !important; }
  .elig-card { padding: 7px 5px !important; }
  /* CTA: тач-минимум Apple/Android 44px + заметная кнопка */
  .btn-vote-main { padding: 13px !important; font-size: 14px !important; min-height: 44px !important; }
  .vm-cancel { padding: 12px !important; min-height: 44px !important; }
   .vote-big-num { font-size: 22px !important; }
  .rules-mini { gap: 4px !important; margin-top: 6px !important; }
  .rule-mini-item { font-size: 10.5px !important; line-height: 1.35 !important; }
  .vote-activity .activity-list { max-height: 120px !important; }
  .share-btns { margin-bottom: 2px !important; }

  /* ═══ М3: график ВЫРЕЗАЕМ на ≤1024 (как у конкурента): цифры пары и так в
     Token Details, а тяжёлый canvas только тормозил первый экран мобильного ═══ */
  .custom-u4bj1o { display: none !important; }
  .ds-tfbar { top: 6px !important; right: 6px !important; }
  .ds-tfbar button { padding: 4px 7px !important; font-size: 10px !important; }

  /* ═══ М4: хедер токена (лого + тикер) компактный ═══ */
  /* stewrd — размытый фоновый баннер; на мобилке сжатый до квадрата выглядит как
     чёрное пятно поверх лого — прячем целиком */
  .custom-stewrd { display: none !important; }
  .custom-kq3kkh img { width: 28px !important; height: 28px !important; }
  .custom-14xbyrr .chakra-stack { gap: 4px !important; }
  .td-inner { padding: 8px 10px 10px !important; }
  .td-card { padding: 7px 9px !important; }

  /* ═══ М6: зазор между графиком и Token Details (иначе сливается вплотную) ═══ */
  .td-col { margin-top: 12px !important; }
  .td-title-row { padding-bottom: 2px !important; }

  /* ═══ М5: ОДИН общий скролл — левая колонка vote не должна иметь свой overflow ═══ */
  /* М5+ФИКС УЗОСТИ (13.11): vote-колонка на мобиле = ровно как Token Details:
     полная ширина main без клипа 340/400px и без лишних боковых отступов,
     карточка голосования визуально одного размера с TD-карточками */
  .custom-1hweal0 { overflow: visible !important; height: auto !important; flex: 0 0 auto !important;
    width: 100% !important; min-width: 100% !important; }
  .custom-p8yo5c { padding-left: 10px !important; padding-right: 10px !important; }
}



/* ── П.1: правая карточка голосования тоже вписана в экран ── */
.vote-activity .activity-list { max-height: 196px !important; }
.rules-mini { margin-top: 8px !important; gap: 5px !important; }
.ds-vote-wrap { margin-top: 6px !important; }

/* ── П.4: наша TF-панель поверх графика (родные chakra-табы дисплей:none в разметке) ── */
/* TF-вкладки — правый верх графика (как в оригинале), легенда OHLC — левый верх */
.ds-tfbar {
  position: absolute; top: 8px; right: 10px; z-index: 7;
  display: flex; gap: 4px;
  background: rgba(13,16,22,.88); border: 1px solid #232329; border-radius: 9px;
  padding: 3px; backdrop-filter: blur(4px);
}
.ds-tfbar button {
  border: none; background: transparent; color: #999999;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; cursor: pointer;
  font-family: inherit; line-height: 1;
}
.ds-tfbar button:hover { color: #e6e6e6; background: #222227; }
.ds-tfbar button.on { color: #ffffff; background: #222227; box-shadow: inset 0 0 0 1px #33333a; }
.ds-tfbar button span.chg { font-weight: 600; margin-left: 4px; }

/* ── TradingView-хром на канвасе: легенда OHLC слева, кластер инструментов справа ── */
.ds-cv-leg {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  display: flex; align-items: baseline; gap: 10px;
  font-size: 11px; color: #999999; pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.ds-cv-leg .lg-pair b { color: #ffffff; font-size: 12.5px; font-weight: 800; }
.ds-cv-leg .lg-o, .ds-cv-leg .lg-h, .ds-cv-leg .lg-l { letter-spacing: .3px; }
.ds-cv-leg .lg-c { font-weight: 700; }
.ds-cv-leg .lg-c.up { color: #26a69a; }
.ds-cv-leg .lg-c.dn { color: #ef5350; }
.ds-cv-tools {
  position: absolute; top: 46px; right: 10px; z-index: 6;
  display: flex; align-items: center; gap: 2px;
}
.ds-cv-tool {
  width: 28px; height: 28px; border: none; border-radius: 6px;
  background: transparent; color: #b2b5be; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ds-cv-tool:hover { background: rgba(255,255,255,.08); color: #ffffff; }
.ds-cv-tool.act { background: rgba(89,116,240,.25); color: #ffffff; }

/* ── левая вертикальная панель рисования (tv-стиль, размер как на дексе: кнопка 28px) ── */
.ds-ltools {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  z-index: 7;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 2px 0;
}
.ds-ltool {
  width: 28px; height: 28px; border: none; border-radius: 5px;
  background: transparent; color: #b2b5be; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.ds-ltool:hover { background: rgba(255,255,255,.08); color: #ffffff; }
.ds-ltool.act { background: rgba(89,116,240,.28); color: #ffffff; }
.ds-lsep { width: 18px; height: 1px; background: #2a2e39; margin: 4px 0; }

