
body:has([data-token-v4]) {
  background: var(--race-panel);
  color: var(--race-ink);
}
main.world:has([data-token-v4]) {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 24px 40px;
}
.token-v4 {
  --v4-surface: var(--race-panel-2);
  --v4-line: var(--race-grid);
  --v4-muted: var(--race-ink-2);
  color: var(--race-ink);
  font-family: var(--world-font-family-system);
  font-size: .84375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.token-v4 *, .token-v4 *::before, .token-v4 *::after {
  box-sizing: border-box;
}
.token-v4 .v4grid { display: grid; gap: 32px; }
.token-v4 .v4col, .token-v4 .aside { min-width: 0; }
.token-v4 .idrow { display: flex; gap: 12px; align-items: center; padding-top: 14px; }
.token-v4 h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
}
.token-v4 h2 { margin: 0 0 10px; font-size: 1rem; line-height: 1.4; }
.token-v4 .idrow .nm { color: var(--v4-muted); font-size: .78125rem; margin-top: 4px; }
.token-v4 .w-coin {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--v4-surface);
  color: var(--race-series-1);
  font-size: 1.0625rem;
  font-weight: 800;
  overflow: hidden;
}
.token-v4 .w-coin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.token-v4 .w-badge-stack { display: inline-flex; }
.token-v4 .w-badge-chain {
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--race-grid);
  color: var(--race-ink);
  font-size: .6875rem;
  font-weight: 800;
}
.token-v4 .ch-base { background: var(--base); color: var(--world-color-white); }
.token-v4 .ch-sol { background: var(--sol); color: var(--world-color-white); }
.token-v4 .ch-hype { background: var(--race-series-7); color: var(--race-panel); }
.token-v4 .ch-eth { background: var(--eth); color: var(--race-panel); }
.token-v4 .catchips { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; }
.token-v4 .w-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-line);
  border-radius: 24px;
  font-size: .75rem;
}
.token-v4 .sec { padding-top: 22px; }
.token-v4 .bigprice { font-size: 2.125rem; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.token-v4 .w-num { font-variant-numeric: tabular-nums; }
.token-v4 .sub { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.token-v4 .w-read, .token-v4 .meta, .token-v4 .footnote { color: var(--v4-muted); font-size: .75rem; }
.token-v4 .w-updown { color: var(--race-ink); }
.token-v4 .chaintable { margin-top: 14px; border-top: 2px solid var(--race-ink); }
.token-v4 .chrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 0;
  border-bottom: 1px solid var(--v4-line);
}
.token-v4 .chrow .nm { display: flex; align-items: center; font-weight: 700; }
.token-v4 .dep { color: var(--v4-muted); font-size: .6875rem; text-align: right; }
.token-v4 .pv { text-align: right; font-weight: 700; }
.token-v4 .pv .meta { display: block; font-weight: 400; font-size: .6875rem; }
.token-v4 .chartbox { margin-top: 14px; border: 1px solid var(--v4-line); border-radius: 12px; padding: 10px 12px; background: var(--v4-surface); }
.token-v4 .chartmeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.token-v4 .w-seg { display: flex; flex-wrap: wrap; border-radius: 28px; background: var(--race-panel); }
.token-v4 .w-seg a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; color: var(--race-ink); font-size: .75rem; }
.token-v4 a { color: var(--race-series-2); text-underline-offset: 3px; }
.token-v4 a:focus-visible { outline: 2px solid var(--race-series-5); outline-offset: 3px; border-radius: 4px; }
.token-v4 svg { max-width: 100%; height: auto; color: var(--race-up); }
.token-v4 .pricechart { width: 100%; min-height: 64px; display: block; }
.token-v4 figure { margin: 10px 0; }
.token-v4 figcaption { color: var(--v4-muted); font-size: .75rem; }
.token-v4 .v4facts { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0 0; }
.token-v4 .v4facts dt { color: var(--v4-muted); font-size: .75rem; }
.token-v4 .v4facts dd { margin: 0; font-weight: 700; }
.token-v4 .checks { border: 1px solid var(--v4-line); border-radius: 12px; background: var(--v4-surface); overflow: hidden; }
.token-v4 .crow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-bottom: 1px solid var(--v4-line); }
.token-v4 .crow:last-child { border: 0; }
.token-v4 .crow .nm { font-weight: 700; }
.token-v4 .crow .w-read { text-align: right; }
.token-v4 .description { max-width: 62ch; white-space: pre-wrap; margin: 0; }
.token-v4 .w-quote { padding: 16px; border: 1px solid var(--v4-line); border-radius: 12px; background: var(--v4-surface); }
.token-v4 .chopt { display: flex; align-items: center; gap: 10px; padding: 12px; margin-top: 8px; border: 1px solid var(--v4-line); border-radius: 12px; }
.token-v4 .chopt .mid { flex: 1; min-width: 0; }
.token-v4 .chopt p { margin: 4px 0 0; }
.token-v4 .chopt a { display: flex; align-items: center; min-height: 44px; }
.token-v4 .w-banner { padding: 14px 16px; border: 1px dashed var(--race-series-5); border-radius: 12px; color: var(--race-series-5); }
@media (min-width: 1000px) {
  .token-v4 .v4grid { grid-template-columns: minmax(0, 1fr) 352px; gap: 52px; }
  .token-v4 .aside { padding-top: 2px; }
  .token-v4 .w-quote { position: sticky; top: 84px; }
}
@media (max-width: 699px) {
  main.world:has([data-token-v4]) { padding-inline: 16px; }
  .token-v4 .v4grid { gap: 22px; }
  .token-v4 .chrow { gap: 6px; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr); }
  .token-v4 .chrow .nm { font-size: .75rem; }
  .token-v4 .w-seg { width: 100%; justify-content: space-around; }
  .token-v4 .crow { flex-wrap: wrap; gap: 4px; }
  .token-v4 .crow .w-read { text-align: left; }
}
@media (forced-colors: active) {
  .token-v4 .checks, .token-v4 .w-quote, .token-v4 .chartbox { border-color: CanvasText; }
}

body:has([data-token-v4]) .wt-tables { color: var(--race-ink); }
body:has([data-token-v4]) .wt-tables h2 { color: var(--race-ink); }
body:has([data-token-v4]) .wt-tables .wt-note, body:has([data-token-v4]) .wt-tables .wt-sample-note, body:has([data-token-v4]) .wt-tables th { color: var(--race-ink-2); }
body:has([data-token-v4]) .wt-tables td { color: var(--race-ink); border-color: var(--race-grid); }
body:has([data-token-v4]) .wt-tables a { color: var(--race-series-2); }
body:has([data-token-v4]) .wt-tables .is-up { color: var(--race-up); }
body:has([data-token-v4]) .wt-tables .is-dn { color: var(--race-down); }

.token-v4 .v4numbers .token-facts { display: block; width: 100%; }
.token-v4 .v4numbers .token-price-chart { display: block; margin: 0 0 8px; color: var(--v4-muted); }
.token-v4 .v4numbers table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--v4-line); border-radius: 12px; background: var(--v4-surface); overflow: hidden; }
.token-v4 .v4numbers caption { caption-side: top; text-align: left; margin: 0 0 10px; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--race-ink); }
.token-v4 .v4numbers th, .token-v4 .v4numbers td { padding: 12px 14px; border-top: 1px solid var(--v4-line); font-size: .8125rem; }
.token-v4 .v4numbers tr:first-child th, .token-v4 .v4numbers tr:first-child td { border-top: 0; }
.token-v4 .v4numbers th { text-align: left; font-weight: 700; color: var(--race-ink); }
.token-v4 .v4numbers td { text-align: right; color: var(--v4-muted); font-variant-numeric: tabular-nums; }

.token-v4 .bigprice { font-size: 2rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.token-v4 .w-updown.up { color: var(--race-up); }
.token-v4 .w-updown.dn { color: var(--race-down); }

body:has([data-token-v4]) {
  --race-panel: #1C1410;
  --race-panel-2: #251B14;
  --race-grid: #3A2D22;
  --race-ink: #F4EDE4;
  --race-ink-2: #B3A797;
  --race-up: #44CE7C;
  --race-down: #FF8176;
  --race-series-2: #FFA366;
  --v4-accent: #FF8A3B;
}
.token-v4 a, body:has([data-token-v4]) .wt-tables a { color: #FFA366; }
.token-v4 .w-seg a[aria-current], .token-v4 .w-seg a:focus-visible { color: var(--v4-accent); }

.token-v4 .w-read, .token-v4 .meta, .token-v4 .footnote, .token-v4 figcaption, .token-v4 .v4facts dt { font-size: .78125rem; }
.token-v4 .dep, .token-v4 .pv .meta, .token-v4 .chrow .nm { font-size: .75rem; }
