:root {
  color-scheme: light;
  --bg: #f6fbff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --line: #dfe8ef;
  --text: #07111f;
  --muted: #657385;
  --soft: #f2f6fa;
  --green: #b7ff00;
  --green-2: #21c95d;
  --blue: #067cff;
  --blue-2: #0457dd;
  --red: #d82e45;
  --ink: #101214;
  --shadow: 0 18px 50px rgba(16, 18, 20, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 18, 20, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 0 18%, rgba(183, 255, 0, 0.12), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(6, 124, 255, 0.07), transparent 26%),
    linear-gradient(135deg, #fbfdf7 0%, #f4fbff 54%, #f8fff0 100%);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  margin-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0;
  background: rgba(251, 253, 247, 0.86);
  backdrop-filter: blur(14px);
}

.asset-ticker {
  height: 38px;
  margin: -6px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.ticker-track {
  display: inline-flex;
  min-width: max-content;
  height: 100%;
  align-items: center;
  gap: 20px;
  padding: 0 16px;
  animation: ticker-scroll 46s linear infinite;
}

.asset-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 12px;
  white-space: nowrap;
}

.ticker-item img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.ticker-item strong {
  color: #101826;
  font-weight: 900;
}

.ticker-item b {
  font-size: 11px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 21px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--ink);
  box-shadow: 0 5px 12px rgba(16, 18, 20, 0.1);
}

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

.nav-link,
.text-button {
  border: 0;
  background: transparent;
  color: #101826;
}

.nav-link {
  min-width: 78px;
  height: 40px;
  border-radius: 8px;
}

.nav-link.active {
  color: var(--ink);
  background: #efffd1;
  box-shadow: inset 0 -2px 0 var(--green);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.connect,
.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.connect,
.primary {
  color: #101214;
  background: linear-gradient(180deg, #c8ff23, #9dff00);
  box-shadow: 0 9px 18px rgba(124, 205, 0, 0.22);
}

.connect {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
}

.wallet-dot {
  width: 15px;
  height: 12px;
  border: 2px solid rgba(16, 18, 20, 0.72);
  border-radius: 4px;
  position: relative;
}

.wallet-dot::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #101214;
}

.primary:hover,
.connect:hover {
  background: linear-gradient(180deg, #d4ff46, #8df000);
}

.ghost {
  background: #fff;
  border-color: #d6e0e8;
  color: #0b1220;
}

.ghost:disabled,
.primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 14px;
}

.feature-card,
.market-panel,
.explore,
.trade-panel,
.route-panel,
.launch-panel,
.preview-panel,
.markets-full,
.docs-panel,
.chart-panel,
.token-trade-panel,
.activity-panel,
.holders-panel {
  padding: 20px;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #168b39;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(150, 255, 0, 0.18);
}

.feature-inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}

.main-coin-inner {
  grid-template-columns: minmax(142px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.main-coin-poster {
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  color: #101214;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(145deg, #c9ff1a, #8df000);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 12px 24px rgba(119, 201, 0, 0.22);
}

.main-coin-poster img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(16, 18, 20, 0.18);
}

.main-coin-poster strong,
.main-coin-poster span {
  display: block;
}

.main-coin-poster strong {
  font-size: 19px;
  line-height: 1.05;
}

.main-coin-poster span {
  margin-top: 5px;
  color: rgba(16, 18, 20, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.main-coin-copy {
  display: grid;
  align-content: center;
}

.stock-poster {
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: #09200d;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(145deg, #b5ff00, #83f000);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 12px 24px rgba(119, 201, 0, 0.22);
}

.democratize-poster {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(145deg, #c9ff1a, #8df000);
}

.democratize-poster img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.stock-poster img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.16));
}

.top-token-poster {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #07111f, #96ff00);
  color: #fff;
}

.top-token-poster img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
}

.poster-letter {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #07111f;
  font-style: normal;
  font-weight: 900;
  font-size: 28px;
}

.stock-poster strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.stock-poster span {
  color: rgba(7, 17, 31, 0.75);
  font-size: 12px;
}

.feature-copy h1,
.feature-copy p {
  margin: 0;
}

.title-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: 27px;
  line-height: 1.12;
  max-width: 480px;
}

.verified {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green-2);
  display: inline-block;
  position: relative;
  margin-top: 6px;
  flex: 0 0 auto;
}

.verified::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.feature-copy p {
  color: var(--muted);
  margin-top: 8px;
}

.metric-big {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.metric-big span {
  color: #2fb300;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.metric-big small {
  margin-bottom: 7px;
  color: #1d2939;
  font-weight: 800;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 18px 0 20px;
}

.stats-row div {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.stats-row div:last-child {
  border-right: 0;
}

dt {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

dd {
  margin: 6px 0 0;
  font-size: 17px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-actions.single-action {
  grid-template-columns: minmax(180px, 260px);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.text-button {
  color: #344054;
  font-weight: 700;
  padding: 0;
}

.market-table {
  display: grid;
  gap: 6px;
}

.market-row,
.market-header {
  display: grid;
  grid-template-columns: minmax(166px, 1.5fr) minmax(90px, 0.78fr) minmax(78px, 0.68fr) minmax(90px, 0.76fr) 66px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 13px;
}

.market-row > span,
.market-header > span {
  min-width: 0;
  white-space: nowrap;
}

.market-row > :last-child,
.market-header > :last-child {
  justify-self: end;
}

.market-header {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.coin-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.coin-cell > div {
  min-width: 0;
}

.coin-cell img,
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.coin-cell strong,
.coin-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coin-cell span {
  color: var(--muted);
  font-size: 11px;
}

.up {
  color: var(--green-2);
  font-weight: 800;
}

.down {
  color: var(--red);
  font-weight: 800;
}

.spark {
  display: block;
  width: 64px;
  height: 26px;
}

.spark path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.explore {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.section-head h2,
.panel h2,
.coin-card h3,
.stock-card h3 {
  margin: 0;
}

.section-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search,
select,
.single-input,
.form-grid input,
.form-grid textarea {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

input[type="file"]:not(.file-input) {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 8px;
}

.file-field {
  min-width: 0;
}

.file-picker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
}

.file-button {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbff;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 0 12px;
  cursor: pointer;
}

.file-button:hover {
  border-color: #b9ff00;
  box-shadow: 0 0 0 3px rgba(185, 255, 0, 0.16);
}

.file-picker span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-width: 220px;
}

.search span {
  width: 13px;
  height: 13px;
  border: 2px solid #667085;
  border-radius: 50%;
  position: relative;
}

.search span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: #667085;
  transform: rotate(45deg);
  border-radius: 2px;
}

.search input {
  border: 0;
  outline: 0;
  width: 100%;
}

select {
  padding: 0 34px 0 12px;
  min-width: 150px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 12px;
}

.chip {
  height: 34px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.chip.active {
  border-color: transparent;
  background: var(--green);
  box-shadow: 0 5px 12px rgba(104, 196, 0, 0.18);
}

.coin-grid,
.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.coin-card,
.stock-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  overflow: hidden;
}

.coin-card {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.coin-card:hover {
  border-color: rgba(6, 124, 255, 0.34);
  box-shadow: 0 14px 30px rgba(16, 18, 20, 0.09);
  transform: translateY(-1px);
}

.coin-art {
  height: 104px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  position: relative;
}

.coin-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 65%);
}

.coin-art span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1220;
  font-weight: 900;
}

.coin-art img {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.coin-art .coin-card-logo {
  border-radius: 14px;
}

.star {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 20px;
}

.coin-body,
.stock-card {
  padding: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.empty-state strong {
  font-size: 18px;
  color: #101826;
}

.empty-state span {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state.compact {
  min-height: 120px;
  padding: 18px;
}

.coin-symbol {
  color: var(--muted);
  margin-top: 2px;
  font-size: 13px;
}

.coin-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
  font-size: 12px;
}

.coin-metrics small {
  color: var(--muted);
  display: block;
  text-transform: uppercase;
  font-weight: 800;
}

.coin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.mini-trade {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  height: 34px;
  font-weight: 800;
}

.mini-trade.secondary {
  color: #334155;
  background: #f8fbff;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
}

.fee-badge {
  padding: 8px 10px;
  border-radius: 999px;
  color: #101214;
  background: #efffd1;
  font-size: 12px;
  font-weight: 900;
}

.swap-box,
.form-grid {
  display: grid;
  gap: 13px;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
}

.input-row input,
.single-input,
.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0 12px;
  outline: 0;
  color: var(--text);
}

.input-row input {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.balance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  align-items: center;
  gap: 8px;
  margin-top: -2px;
}

.balance-row span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-row button {
  min-width: 48px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #101826;
  font-size: 12px;
  font-weight: 900;
}

.balance-row button:hover:not(:disabled) {
  border-color: #b9ff00;
  background: #f6ffe5;
}

.balance-row button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.flip {
  width: 42px;
  height: 42px;
  margin: -2px auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.full {
  width: 100%;
}

.quote-output {
  min-height: 112px;
  margin: 0;
  white-space: pre-wrap;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #07111f;
  color: #e9f9ff;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
}

.quote-output[hidden] {
  display: none;
}

.quote-output.compact {
  min-height: 92px;
}

.steps {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #344054;
}

.steps li + li {
  margin-top: 13px;
}

.route-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.buyback-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  background: linear-gradient(135deg, #101214 0%, #172016 58%, #233000 100%);
  color: #fff;
}

.buyback-card img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
}

.buyback-card strong,
.buyback-card span {
  display: block;
}

.buyback-card strong {
  font-size: 18px;
}

.buyback-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.route-card strong {
  color: #07111f;
}

.route-card span {
  color: var(--muted);
  line-height: 1.45;
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid textarea {
  min-height: 110px;
  padding-top: 10px;
  resize: vertical;
}

.launch-status {
  margin: 10px 12px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.launch-status.success {
  color: var(--green-dark);
}

.launch-status.error {
  color: var(--red);
}

.preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.stock-card {
  display: grid;
  gap: 12px;
}

.stock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stock-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stock-card img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft);
}

.stock-card p {
  margin: 0;
  color: var(--muted);
}

.token-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
}

.token-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

.token-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.token-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.token-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}

.token-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-title h1 {
  margin: 0;
  font-size: 24px;
}

.token-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contract-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.contract-links a,
.contract-links span {
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.contract-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.token-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.token-meta-stats div {
  min-width: 86px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.token-meta-stats small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.token-meta-stats strong {
  display: block;
  margin-top: 2px;
  color: #101826;
  font-size: 13px;
}

.token-price {
  text-align: right;
}

.token-price strong {
  display: block;
  font-size: 24px;
}

.token-price span {
  font-weight: 800;
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chart-canvas {
  min-height: 392px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#eef4fb 1px, transparent 1px),
    linear-gradient(90deg, #eef4fb 1px, transparent 1px),
    #ffffff;
  background-size: 100% 64px, 88px 100%;
  overflow: hidden;
}

.chart-canvas svg {
  display: block;
  width: 100%;
  height: 392px;
}

.chart-axis line {
  stroke: #e4edf5;
  stroke-width: 1;
}

.chart-axis text {
  fill: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.chart-x-axis line {
  stroke: #d8e3ec;
}

.chart-x-axis text {
  fill: #7a8898;
  font-size: 10px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8fc;
}

.segmented button {
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 900;
  color: #344054;
}

.segmented button.active {
  color: #062b18;
  background: var(--green);
}

.activity-table,
.holder-list {
  display: grid;
  gap: 8px;
}

.activity-row,
.holder-row {
  display: grid;
  align-items: center;
  min-height: 42px;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.activity-row {
  grid-template-columns: 74px 1fr 1fr 84px;
}

.activity-row.trade-row {
  grid-template-columns: 66px 1fr 1fr 84px 92px;
}

.holder-row {
  grid-template-columns: 1fr 42px 72px 86px;
}

.activity-row strong,
.holder-row strong {
  color: #101826;
}

.activity-row span,
.holder-row span {
  color: var(--muted);
}

.holder-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 30px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ecffe6;
  color: #128000;
  font-size: 11px;
  font-weight: 900;
}

.hash-link {
  color: #067cff;
  font-weight: 800;
  text-decoration: none;
}

.hash-link:hover {
  text-decoration: underline;
}

.strong-link {
  color: #101826;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 4px 4px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: #101826;
  font-size: 15px;
}

.site-footer a {
  color: #067cff;
  font-weight: 900;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.holder-bar {
  height: 6px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
}

.holder-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.hero-link {
  width: 100%;
}

.docs-panel {
  display: grid;
  gap: 18px;
}

.doc-cta {
  min-width: 150px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.docs-grid article {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.docs-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 8px;
  color: #101214;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.docs-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.docs-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.docs-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  background: #101214;
  color: #fff;
}

.docs-flow div {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.docs-flow div:last-child {
  border-right: 0;
}

.docs-flow strong,
.docs-flow span {
  display: block;
}

.docs-flow strong {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.docs-flow span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero-grid,
  .page-grid,
  .token-layout,
  .token-lower-grid,
  .docs-grid,
  .docs-flow {
    grid-template-columns: 1fr;
  }

  .docs-flow div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .docs-flow div:last-child {
    border-bottom: 0;
  }

  .coin-grid,
  .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1160px);
    padding-top: 10px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .top-actions {
    margin-left: 0;
  }

  .connect {
    padding: 0 12px;
  }

  .feature-inner {
    grid-template-columns: 1fr;
  }

  .main-coin-inner {
    grid-template-columns: 1fr;
  }

  .stock-poster {
    max-width: 180px;
  }

  .main-coin-poster {
    min-height: auto;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .main-coin-poster img {
    width: 74px;
    height: 74px;
  }

  .token-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .token-price {
    text-align: left;
  }

  .stats-row,
    .hero-actions,
    .button-row,
    .form-grid,
    .input-row {
    grid-template-columns: 1fr;
  }

  .stats-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }

  .market-row,
  .market-header {
    grid-template-columns: 1.3fr 0.8fr 0.7fr;
  }

  .market-row > :nth-child(4),
  .market-row > :nth-child(5),
  .market-header > :nth-child(4),
  .market-header > :nth-child(5) {
    display: none;
  }

  .coin-grid,
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-actions {
    grid-template-columns: 1fr;
  }

  .activity-row,
  .holder-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .search,
  select {
    width: 100%;
  }
}
