/* Coin dashboard v2 — Bitcoin page mockups */

body.ci-coin-dashboard-v2 {
  --ci-cd-red: #8b1538;
  --ci-cd-red-dark: #6f112d;
  --ci-cd-text: #111111;
  --ci-cd-muted: #6b6b6b;
  --ci-cd-meta: #8a8a8a;
  --ci-cd-border: #e6e6e6;
  --ci-cd-bg: #ffffff;
  --ci-cd-panel: #f7f7f7;
  --ci-cd-green: #2d6a4f;
  --ci-cd-green-bg: #d8f3dc;
  --ci-cd-down: #a4161a;
  --ci-cd-down-bg: #ffe5ec;
  --ci-cd-serif: "Playfair Display", "Times New Roman", Times, serif;
  --ci-cd-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ci-cd-max: 1280px;
  --ci-cd-lift: translateY(-4px);
  --ci-cd-shadow: 0 12px 32px rgba(17, 17, 17, 0.09);
  --ci-cd-shadow-soft: 0 2px 12px rgba(17, 17, 17, 0.05);
  background: var(--ci-cd-bg) !important;
  font-family: var(--ci-cd-sans);
  color: var(--ci-cd-text);
}

body.ci-coin-dashboard-v2 #page,
body.ci-coin-dashboard-v2 #content,
body.ci-coin-dashboard-v2 .site-content,
body.ci-coin-dashboard-v2 main,
body.ci-coin-dashboard-v2 #main,
body.ci-coin-dashboard-v2 .single-article,
body.ci-coin-dashboard-v2 .guides-section,
body.ci-coin-dashboard-v2 .cw-bitcoin-section,
body.ci-coin-dashboard-v2 .secondary-background,
body.ci-coin-dashboard-v2 .page-heading {
  background-color: var(--ci-cd-bg) !important;
}

body.ci-coin-dashboard-v2 .page-heading,
body.ci-coin-dashboard-v2 .coin-news-section,
body.ci-coin-dashboard-v2 .ci-coin-news {
  display: none !important;
}

.ci-cdash {
  font-family: var(--ci-cd-sans);
  color: var(--ci-cd-text);
  padding: 28px 0 72px;
  background: var(--ci-cd-bg);
}

body.ci-coin-dashboard-v2 .main-wrapper {
  padding: 0 !important;
  max-width: none;
  background: var(--ci-cd-bg);
}

body.ci-coin-dashboard-v2 .ci-cdash h1,
body.ci-coin-dashboard-v2 .ci-cdash h2,
body.ci-coin-dashboard-v2 .ci-cdash-news__hero-title,
body.ci-coin-dashboard-v2 .ci-cdash-news__item-title,
body.ci-coin-dashboard-v2 .ci-cdash-happen__feature-title,
body.ci-coin-dashboard-v2 .ci-cdash-happen__card-title,
body.ci-coin-dashboard-v2 .ci-cdash-related a,
body.ci-coin-dashboard-v2 .ci-cdash-learn__list a {
  font-family: var(--ci-cd-serif);
}

.ci-cdash-hero,
.ci-cdash-perf,
.ci-cdash-chart,
.ci-cdash-news,
.ci-cdash-about,
.ci-cdash-learn,
.ci-cdash-depth,
.ci-cdash-happen {
  scroll-margin-top: 96px;
}

body.ci-coin-dashboard-v2:has(.ci-cdash-chart.is-fs) {
  overflow: hidden;
}

body.ci-coin-dashboard-v2:has(.ci-cdash-chart.is-fs)::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.4);
  z-index: 70;
}

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

.ci-cdash__inner > section:last-child {
  margin-bottom: 0;
}

/* The about view ends on a low-key tax note, so it needs less runway than the
   data-heavy views before the footer. */
.ci-cdash--view-about {
  padding-bottom: 24px;
}

.ci-cdash a {
  color: var(--ci-cd-red);
  text-decoration: none;
}

.ci-cdash a:hover {
  color: var(--ci-cd-red-dark);
}

.ci-cdash-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
}

body.ci-coin-dashboard-v2 .ci-cdash-section-title {
  margin: 0 0 8px !important;
  font-family: var(--ci-cd-serif) !important;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ci-cd-text);
  text-transform: none;
  letter-spacing: -0.01em;
}

.ci-cdash-section-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ci-cd-muted);
}

.ci-cdash-source {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--ci-cd-meta);
}

/* Hero + persistent snapshot */
.ci-cdash-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 540px);
  gap: 28px;
  align-items: start;
  margin-bottom: 8px;
}

.ci-cdash-hero {
  margin-bottom: 0;
  padding-top: 4px;
  min-width: 0;
}

body.ci-coin-dashboard-v2 .ci-cdash-hero__title {
  margin: 0 0 14px !important;
  font-family: var(--ci-cd-serif) !important;
  font-size: clamp(1.85rem, 3.6vw, 2.45rem) !important;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ci-cd-text);
  text-transform: none;
}

.ci-cdash-hero__lead {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ci-cd-muted);
}

.ci-cdash-hero__lead + .ci-cdash-hero__lead {
  margin-top: 10px;
}

.ci-cdash-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--ci-cd-border);
  position: sticky;
  top: var(--ci-header-height, 64px);
  z-index: 40;
  background: var(--ci-cd-bg);
  margin: 4px 0 28px;
  padding-top: 8px;
}

.ci-cdash-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: none;
}
.ci-cdash-tabs::-webkit-scrollbar {
  display: none;
}

.ci-cdash-tabs a {
  flex: none;
  padding: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #3a3a3a;
  border-bottom: 3px solid transparent;
}

.ci-cdash-tabs a.is-active,
.ci-cdash-tabs a:hover {
  color: var(--ci-cd-red);
  border-bottom-color: var(--ci-cd-red);
}

[class*="ci-cdash--view-overview"] .ci-cdash-chart__canvas,
.ci-cdash--view-price-history .ci-cdash-chart__canvas {
  height: 560px;
}

/* Tether peg chart: same height as other overview charts; scale fills via JS. */
.ci-cdash-chart--tether .ci-cdash-chart__canvas {
  height: 560px;
}

.ci-cdash-snap {
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 8px;
  box-shadow: var(--ci-cd-shadow-soft);
  min-width: 0;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.ci-cdash-snap:hover {
  transform: var(--ci-cd-lift);
  box-shadow: var(--ci-cd-shadow);
  border-color: #dcc5cd;
  background-color: #fffbfc;
}

.ci-cdash-snap__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.ci-cdash-snap__top .ci-cdash-kicker {
  margin: 0;
  padding-top: 2px;
}

.ci-cdash-snap__top .ci-cdash-ccy {
  align-items: flex-end;
  margin: 0;
}

.ci-cdash-snap__rank {
  flex: none;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ci-cd-red);
}

.ci-cdash-snap__quote {
  margin: 8px 0 4px;
}

.ci-cdash-chart,
.ci-cdash-range,
.ci-cdash-context,
.ci-cdash-convert,
.ci-cdash-depth__card,
.ci-cdash-news__featured,
.ci-cdash-news__item {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.ci-cdash-range:hover,
.ci-cdash-context:hover,
.ci-cdash-convert:hover,
.ci-cdash-depth__card:hover,
.ci-cdash-news__featured:hover,
.ci-cdash-news__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--ci-cd-shadow);
  border-color: #dcc5cd;
  background-color: #fffbfc;
}

.ci-cdash-snap__ident {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.ci-cdash-snap__ident-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ci-cdash-snap__ident-text {
  display: flex;
  flex-direction: column;
}

@keyframes ci-coin-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.ci-cdash-snap__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  animation: ci-coin-float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.ci-cdash-snap__name {
  font-family: var(--ci-cd-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ci-cd-text);
}

.ci-cdash-snap__ticker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-snap__rank-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ci-cdash-snap__rank-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}


.ci-cdash-snap__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
}

.ci-cdash-snap__value {
  font-size: clamp(1.75rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ci-cdash-snap__ccy {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-snap__chg {
  margin: 10px 0 0;
  display: flex;
  justify-content: flex-start;
}

.ci-cdash-chart,
.ci-cdash-range,
.ci-cdash-context,
.ci-cdash-convert,
.ci-cdash-explore__card {
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 4px;
}

.ci-cdash-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.ci-cdash-pill.is-up {
  background: var(--ci-cd-green-bg);
  color: var(--ci-cd-green);
}

.ci-cdash-pill.is-down {
  background: var(--ci-cd-down-bg);
  color: var(--ci-cd-down);
}

.ci-cdash-snap__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid #efefef;
  border-left: 1px solid #efefef;
}

.ci-cdash-snap__list > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #efefef;
  border-right: 1px solid #efefef;
}

.ci-cdash-snap__list > .ci-cdash-snap__drawdown {
  grid-column: 1 / -1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}

.ci-cdash-snap__list dt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
  white-space: nowrap;
}

.ci-cdash-snap__list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  word-break: break-word;
}

.ci-cdash-snap__drawdown dd {
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
}

.ci-cdash-snap__list dd.is-down {
  color: var(--ci-cd-down);
}

.ci-cdash-snap__list dd.is-up {
  color: var(--ci-cd-green);
}

.ci-cdash-snap .ci-cdash-source {
  margin: 20px 0 0;
}

/* Chart */
.ci-cdash-chart {
  padding: 8px 0 24px;
  margin-bottom: 40px;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.ci-cdash-chart--eth-overview {
  padding-top: 0;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 8px;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  width: 100%;
  margin-top: 8px;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__legend {
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__right-col {
  margin: 0 !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__controls {
  flex-wrap: nowrap;
}

/* Pin the plot under the toolbar — FX axis labels must not expand layout. */
.ci-cdash-chart--eth-overview .ci-cdash-chart__canvas {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  height: 560px;
  overflow: hidden;
  contain: layout paint;
}

.ci-cdash-chart--eth-overview .ci-cdash-chart__canvas > svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ci-cdash-chart.is-fs {
  position: fixed;
  top: calc(var(--ci-header-height, 64px) + 16px);
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.ci-cdash-chart.is-fs .ci-cdash-chart__canvas {
  flex: 1;
  height: auto;
  min-height: 420px;
}

.ci-cdash-chart__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ci-cdash-chart__title {
  margin: 0 0 4px;
  font-family: var(--ci-cd-serif);
  font-size: 1.75rem;
  font-weight: 700;
}

.ci-cdash-chart__sub {
  margin: 0;
  font-size: 15px;
  color: var(--ci-cd-muted);
}

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

.ci-cdash-tf {
  display: flex;
  gap: 4px;
}

.ci-cdash-tf button {
  appearance: none;
  border: 0;
  background: #f3f3f3;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.ci-cdash-tf button.is-active {
  background: var(--ci-cd-red);
  color: #fff;
}

.ci-cdash-ccy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-ccy select {
  appearance: none;
  border: 1px solid var(--ci-cd-border);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23111111' stroke-width='1.6' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 8px center;
  padding: 6px 24px 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ci-cd-text);
  border-radius: 3px;
  min-width: 72px;
  cursor: pointer;
}

.ci-cdash-fs,
.ci-cdash-explore__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  color: #444;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ci-cdash-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--ci-cd-muted);
}

.ci-cdash-line {
  display: inline-block;
  width: 16px;
  height: 0;
  margin-right: 4px;
  vertical-align: middle;
}

.ci-cdash-line.is-up {
  border-top: 1.5px solid var(--ci-cd-green);
}

.ci-cdash-line.is-down {
  border-top: 1.5px dashed var(--ci-cd-red);
}

.ci-cdash-line.is-open {
  border-top: 1.5px solid #bdbdbd;
}

.ci-cdash-legend-vol-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ci-cdash-vol-up, .ci-cdash-vol-down {
  display: inline-block;
  width: 3px;
  height: 10px;
}
.ci-cdash-vol-up {
  background: rgba(45, 106, 79, 0.35);
}
.ci-cdash-vol-down {
  background: rgba(139, 21, 56, 0.35);
  margin-right: 4px;
}

.ci-cdash-chart__canvas {
  position: relative;
  height: 520px;
  outline: none;
}

.ci-cdash-chart__canvas:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(139, 21, 56, 0.25);
  border-radius: 2px;
}

.ci-cdash-chart__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.ci-cdash-chart__crosshair {
  position: absolute;
  width: 1px;
  margin-left: -0.5px;
  background: #dcc5cd;
}

.ci-cdash-chart__crosshair--h {
  width: auto;
  height: 1px;
  margin-top: -0.5px;
  margin-left: 0;
  left: 0;
  right: 0;
  background: #dcc5cd;
}

.ci-cdash-chart__cross-lbl {
  position: absolute;
  background: #fff;
  color: #333;
  font-size: 11px;
  font-weight: normal;
  padding: 3px 6px;
  border: 1px solid #dcc5cd;
  pointer-events: none;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.ci-cdash-chart__cross-lbl--y {
  right: 12px;
  transform: translate(100%, -50%);
  margin-right: -4px;
}

.ci-cdash-chart__cross-lbl--x {
  bottom: 12px;
  transform: translate(-50%, 100%);
  margin-bottom: -4px;
}

.ci-cdash-chart__crosshair-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 0;
  background: #22c55e;
  border: 1px solid #000;
}

.ci-cdash-chart__canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Default: in-flow placeholder. Absolute overlay only inside the chart canvas. */
.ci-cdash-chart__loading {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ci-cd-meta);
  font-size: 13px;
  min-height: 72px;
  padding: 24px 12px;
}
.ci-cdash-chart__canvas {
  position: relative;
}
.ci-cdash-chart__canvas > .ci-cdash-chart__loading {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.ci-cdash-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 160px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  pointer-events: none;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  transition: opacity 0.12s ease;
}

.ci-cdash-tooltip__when {
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  color: #333;
  margin-bottom: 4px;
}

.ci-cdash-tooltip strong {
  display: block;
  font-size: 16px;
  margin: 4px 0 6px;
  color: var(--ci-cd-text);
}

.ci-cdash-tooltip__chg,
.ci-cdash-tooltip__vol {
  font-size: 13px;
  color: var(--ci-cd-muted);
  line-height: 1.4;
}

.ci-cdash-milestone-card {
  position: absolute;
  z-index: 100;
  width: 280px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 16px;
  font-family: var(--ci-cd-sans);
  pointer-events: auto;
  transition: opacity 0.2s ease;
}
.ci-cdash-milestone-card[hidden] {
  display: none !important;
}
.ci-cdash-milestone-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}
.ci-cdash-milestone-card__close:hover {
  color: #4b5563;
}
.ci-cdash-milestone-card__meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.ci-cdash-milestone-card__type {
  font-size: 11px;
  font-weight: 700;
  color: var(--ci-cd-red);
  letter-spacing: 0.05em;
}
.ci-cdash-milestone-card__date {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.ci-cdash-milestone-card__title {
  font-family: var(--ci-cd-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ci-cd-text);
  margin: 0 0 8px;
  line-height: 1.2;
}
.ci-cdash-milestone-card__desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 12px;
}
.ci-cdash-milestone-card__link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-cd-red);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.ci-cdash-milestone-card__link:hover {
  text-decoration: underline;
}

.ci-cdash-chart__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ci-cd-meta);
  flex-wrap: wrap;
}

.ci-cdash-chart__meta {
  color: var(--ci-cd-meta);
}

.ci-cdash-chart__hint {
  color: var(--ci-cd-muted);
}

/* Performance */
.ci-cdash-perf {
  margin-bottom: 56px;
}

.ci-cdash-perf__head,
.ci-cdash-explore__head,
.ci-cdash-context__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.ci-cdash-note {
  flex: none;
  text-align: right;
  min-width: 160px;
  margin-top: 6px;
}

.ci-cdash-note strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
}

.ci-cdash-note span {
  font-size: 12px;
  color: var(--ci-cd-muted);
}

.ci-cdash-perf__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.ci-cdash-perf__source {
  margin: 0 0 48px;
  font-size: 12px;
  color: var(--ci-cd-meta);
}

.ci-cdash-pill.is-na {
  background: #f3f3f3;
  color: var(--ci-cd-meta);
}

.ci-cdash-range__marker.is-na {
  opacity: 0.35;
}

.ci-cdash-range {
  padding: 16px 18px 14px;
}

.ci-cdash-range__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.ci-cdash-range__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-range__now {
  font-size: 12px;
  color: var(--ci-cd-muted);
}

.ci-cdash-range__pill {
  margin: 12px 0 14px;
}

.ci-cdash-range__hi-lo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.ci-cdash-range__hi-lo span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-range__hi-lo strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.ci-cdash-range__bar {
  position: relative;
  height: 8px;
}

.ci-cdash-range__track {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d8f3dc 0%, #f3e6d8 50%, #f8c6c8 100%);
}

.ci-cdash-range__marker {
  position: absolute;
  top: -4px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--ci-cd-red);
  box-shadow: 0 0 0 1px #fff;
}

.ci-cdash-range__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ci-cd-meta);
}

/* Tether peg performance: Bitcoin card chrome + peg extras */
.ci-cdash-range--tether .ci-cdash-range__bar,
.ci-cdash-range--usdc .ci-cdash-range__bar {
  position: relative;
}
.ci-cdash-range--tether .ci-cdash-range__peg,
.ci-cdash-range--usdc .ci-cdash-range__peg {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #555;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}
.ci-cdash-range--tether .ci-cdash-range__marker,
.ci-cdash-range--usdc .ci-cdash-range__marker {
  z-index: 2;
}
.ci-cdash-range--tether .ci-cdash-range__dev,
.ci-cdash-range--usdc .ci-cdash-range__dev {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ci-cd-border, #e8e4df);
}
.ci-cdash-range--tether .ci-cdash-range__dev-label,
.ci-cdash-range--usdc .ci-cdash-range__dev-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}
.ci-cdash-range--tether .ci-cdash-range__hi-lo strong,
.ci-cdash-range--usdc .ci-cdash-range__hi-lo strong {
  font-variant-numeric: tabular-nums;
}

.ci-cdash-perf__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.ci-cdash-perf__grid--convert {
  grid-template-columns: minmax(280px, 420px);
}

.ci-cdash-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 0;
}

.ci-cdash-context {
  padding: 22px 22px 0;
}

.ci-cdash-context__leads {
  margin: 0 0 8px;
}

.ci-cdash-context__summary {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.ci-cdash-context__leads .ci-cdash-context__summary:last-child {
  margin-bottom: 12px;
}

.ci-cdash-context__factors-title {
  margin: 0 0 12px;
  font-family: var(--ci-cd-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ci-cd-text);
}

.ci-cdash-context__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-auto-flow: column;
  column-gap: 28px;
  row-gap: 20px;
  align-items: start;
  padding-bottom: 24px;
}

.ci-cdash-context__cols > .ci-cdash-factors {
  display: contents;
}

.ci-cdash-factors {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ci-cdash-factors li {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  min-width: 0;
}

.ci-cdash-factors__n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3d6dc;
  color: var(--ci-cd-red);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-cdash-factors strong {
  display: block;
  margin-bottom: 2px;
}

.ci-cdash-factors p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ci-cd-muted);
  padding-bottom: 4px;
}

.ci-cdash-related {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ci-cdash-related li {
  padding: 12px 0;
  border-top: 1px solid var(--ci-cd-border);
}

.ci-cdash-related a {
  display: block;
  font-family: var(--ci-cd-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ci-cd-red);
}

.ci-cdash-related span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-context__foot {
  margin: 8px -22px 0;
  padding: 12px 22px;
  background: #f6f1ea;
  text-align: center;
  font-size: 13px;
  color: var(--ci-cd-muted);
}

/* Converter */
.ci-cdash-convert {
  padding: 20px 20px 16px;
  flex: none;
}

.ci-cdash-convert__title {
  margin: 0 0 16px;
  font-family: var(--ci-cd-serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.ci-cdash-convert__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ci-cdash-convert__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ci-cd-border);
  border-radius: 6px;
}

.ci-cdash-convert__field img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.ci-cdash-convert__usd {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ci-cd-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ci-cdash-convert__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  background: transparent;
  outline: none;
}

.ci-cdash-convert__field span:last-child {
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-cd-muted);
}

.ci-cdash-convert__swap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--ci-cd-red);
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-cdash-convert__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.ci-cdash-convert__quick button {
  appearance: none;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ci-cdash-convert__bi {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-cd-green);
}

/* News */
.ci-cdash-news {
  margin-bottom: 56px;
}

.ci-cdash-news__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.ci-cdash-news__head > div {
  max-width: 720px;
}

.ci-cdash-news__head .ci-cdash-section-lead + .ci-cdash-section-lead {
  margin-top: 10px;
}

.ci-cdash-news__all {
  flex: none;
  align-self: flex-end;
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
  border-bottom: 2px solid var(--ci-cd-red);
  padding-bottom: 6px;
  line-height: 1;
  white-space: nowrap;
}

/* Tether: View All sits above the grid so both columns share one top edge. */
.ci-cdash-news__cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 20px;
  margin: -10px 0 12px;
}

.ci-cdash-news__side-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.ci-cdash-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 20px;
}

.ci-cdash-news__featured {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  overflow: hidden;
}

.ci-cdash-news__side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 20px;
  min-width: 0;
  min-height: 0;
}

.ci-cdash-news__featured .ci-cdash-news__hero {
  height: 100%;
}

.ci-cdash-news__hero {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.ci-cdash-news__hero-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ece7e1;
  aspect-ratio: 16 / 10;
  flex: none;
}

.ci-cdash-news__hero-media img,
.ci-cdash-news__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ci-cdash-news__ph {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(139, 21, 56, 0.12)),
    repeating-linear-gradient(90deg, #e8e2da 0 18px, #efe9e2 18px 28px);
}

.ci-cdash-news__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  background: #fff;
  color: var(--ci-cd-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
}

.ci-cdash-news__hero-body {
  padding: 20px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ci-cdash-news__meta {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-news__item .ci-cdash-news__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.ci-cdash-news__cat {
  color: var(--ci-cd-red);
}

.ci-cdash-news__time,
.ci-cdash-news__ago {
  color: var(--ci-cd-meta);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.ci-cdash-news__hero-title {
  margin: 0 0 10px;
  font-family: var(--ci-cd-serif);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.22;
}

.ci-cdash-news__hero-title a,
.ci-cdash-news__item-title a {
  color: var(--ci-cd-text);
}

.ci-cdash-news__hero-title a:hover,
.ci-cdash-news__item-title a:hover {
  color: var(--ci-cd-red);
}

.ci-cdash-news__excerpt {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ci-cd-muted);
}

.ci-cdash-news__hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
}

.ci-cdash-news__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
}

.ci-cdash-news__desk {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
  white-space: nowrap;
}

.ci-cdash-news__item {
  min-width: 0;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  overflow: hidden;
}

.ci-cdash-news__item--row {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 180px;
}

.ci-cdash-news__item--col {
  display: flex;
  flex-direction: column;
}

.ci-cdash-news__item--banner {
  grid-column: 1 / span 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(170px, 0.8fr);
}

.ci-cdash-news__item--wide {
  grid-column: 1 / span 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1.65fr);
}

.ci-cdash-news__item-body {
  padding: 14px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.ci-cdash-news__item-body .ci-cdash-news__link {
  margin-top: auto;
}

.ci-cdash-news__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ece7e1;
  min-width: 0;
  min-height: 0;
}

.ci-cdash-news__item--row .ci-cdash-news__thumb {
  width: 240px;
  height: 100%;
}

.ci-cdash-news__item--col .ci-cdash-news__thumb {
  width: 100%;
  flex: none;
  height: 160px;
  min-height: 0;
  aspect-ratio: auto;
}

.ci-cdash-news__item--row .ci-cdash-news__item-body,
.ci-cdash-news__item--col .ci-cdash-news__item-body {
  padding: 12px 14px 12px;
}

.ci-cdash-news__item--banner .ci-cdash-news__thumb {
  min-height: 220px;
  height: 100%;
  align-self: stretch;
}

.ci-cdash-news__item--wide .ci-cdash-news__thumb {
  min-height: 148px;
  height: 148px;
}

.ci-cdash-news__banner-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 8px 10px;
  background: var(--ci-cd-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.ci-cdash-news__item-title {
  margin: 0 0 10px;
  font-family: var(--ci-cd-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ci-cdash-news__item--row .ci-cdash-news__item-title,
.ci-cdash-news__item--col .ci-cdash-news__item-title {
  font-size: 1.02rem;
  margin-bottom: 8px;
  -webkit-line-clamp: 3;
}

.ci-cdash-news__item--banner .ci-cdash-news__item-title,
.ci-cdash-news__item--wide .ci-cdash-news__item-title {
  font-size: 1.18rem;
  -webkit-line-clamp: 3;
}

.ci-cdash-news__item--row .ci-cdash-news__excerpt,
.ci-cdash-news__item--col .ci-cdash-news__excerpt,
.ci-cdash-news__item--banner .ci-cdash-news__excerpt,
.ci-cdash-news__item--wide .ci-cdash-news__excerpt {
  margin-bottom: 12px;
  font-size: 13px;
}

/* Explore */
.ci-cdash-explore {
  margin-bottom: 56px;
}

.ci-cdash-explore__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  align-self: flex-end;
}

.ci-cdash-explore__meta,
.ci-cdash-explore__count {
  font-size: 12px;
  color: var(--ci-cd-muted);
}

.ci-cdash-explore__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Extra horizontal padding so the first/last card borders are not clipped by overflow. */
  padding: 10px 6px 14px;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}
.ci-cdash-explore__track::-webkit-scrollbar {
  display: none;
}

.ci-cdash-explore__card {
  scroll-snap-align: start;
  padding: 16px;
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 4px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}


.ci-cdash-explore__card:hover {
  box-shadow: 0 10px 30px rgba(124, 26, 59, 0.25);
  border-color: var(--ci-cd-red);
  background-color: var(--ci-cd-red);
  color: #fff;
}

.ci-cdash-explore__card:hover .ci-cdash-explore__ident strong,
.ci-cdash-explore__card:hover .ci-cdash-explore__ident span,
.ci-cdash-explore__card:hover .ci-cdash-explore__rank,
.ci-cdash-explore__card:hover .ci-cdash-explore__price,
.ci-cdash-explore__card:hover .ci-cdash-explore__chg,
.ci-cdash-explore__card:hover .ci-cdash-explore__stats span,
.ci-cdash-explore__card:hover .ci-cdash-explore__stats strong {
  color: #fff !important;
}

.ci-cdash-explore__card:hover .ci-cdash-explore__spark polyline,
.ci-cdash-explore__card:hover .ci-cdash-explore__spark line {
  stroke: #fff !important;
}

.ci-cdash-explore__card:hover .ci-cdash-explore__stats {
  border-color: rgba(255, 255, 255, 0.2);
}

.ci-cdash-explore__card:hover .ci-cdash-explore__tag {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}


@media (max-width: 980px) {
  .ci-cdash-explore__card {
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

@media (max-width: 640px) {
  .ci-cdash-explore__card {
    flex: 0 0 100%;
  }
}

/* Market-specific chart + technical indicators panel */
.ci-cdash-chart--market .ci-cdash-chart__controls {
  display: flex;
  width: 100%;
}

.ci-cdash-market__toolbar {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.ci-cdash-market__toolbar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ci-cdash-market__toolbar-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ci-cd-meta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ci-cdash-market__toolbar-group--fs {
  justify-content: flex-end;
  padding-bottom: 2px;
}
.ci-cdash-market__toggles {
  display: flex;
  gap: 4px;
}
.ci-cdash-market__toggles button {
  background: none;
  border: 1px solid var(--ci-cd-border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ci-cd-text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ci-cdash-market__toggles button:hover {
  border-color: #aaa;
}
.ci-cdash-market__toggles button:disabled {
  cursor: default;
}
.ci-cdash-market__toggles button:disabled:not(.is-active) {
  color: #a5a5a5;
  border-color: #f0f0f0;
}
.ci-cdash-market__toggles button:disabled:hover {
  border-color: #f0f0f0;
}
.ci-cdash-market__toggles button:disabled.is-active:hover {
  border-color: var(--ci-cd-red);
}
.ci-cdash-market__toggles button.is-active {
  background: var(--ci-cd-red);
  border-color: var(--ci-cd-red);
  color: #fff;
}
.ci-cdash-market__dropdown {
  position: relative;
}
.ci-cdash-market__dropdown-btn {
  background: none;
  border: 1px solid var(--ci-cd-border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ci-cd-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  transition: all 0.15s ease;
}
.ci-cdash-market__dropdown-btn:hover {
  border-color: #aaa;
}
.ci-cdash-market__dropdown-btn.is-active,
.ci-cdash-market__dropdown-btn[aria-expanded="true"] {
  border-color: var(--ci-cd-red);
  color: var(--ci-cd-red);
}
.ci-cdash-market__dropdown-btn.is-active .ci-cdash-market__dropdown-chevron,
.ci-cdash-market__dropdown-btn[aria-expanded="true"] .ci-cdash-market__dropdown-chevron {
  color: var(--ci-cd-red);
}
.ci-cdash-market__dropdown-badge {
  background: var(--ci-cd-red);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
}
.ci-cdash-market__dropdown-chevron {
  color: var(--ci-cd-meta);
}
.ci-cdash-market__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  min-width: 160px;
}
.ci-cdash-market__dropdown-menu[hidden] {
  display: none !important;
}
.ci-cdash-market__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ci-cd-text);
  cursor: pointer;
}
.ci-cdash-market__check input {
  margin: 0;
  accent-color: var(--ci-cd-red);
}
.ci-cdash-market__active-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ci-cd-border);
}
.ci-cdash-market__active-tags[hidden] {
  display: none !important;
}
.ci-cdash-market__active-tags-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ci-cd-meta);
  letter-spacing: 0.5px;
}
.ci-cdash-market__tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  border: 1px solid var(--ci-cd-border);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ci-cd-text);
}
.ci-cdash-market__tag-close {
  cursor: pointer;
  color: var(--ci-cd-meta);
  font-size: 12px;
  line-height: 1;
}
.ci-cdash-market__tag-close:hover {
  color: var(--ci-cd-red);
}
.ci-cdash-chart__in-chart-legend {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ci-cd-text);
  z-index: 10;
  pointer-events: none;
}
.ci-cdash-chart__in-chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ci-cdash-market__chart {
  position: relative;
  margin-top: 8px;
  width: 100%;
}
.ci-cdash-chart--market .ci-cdash-chart__canvas {
  width: 100%;
  min-height: 420px;
}
.ci-cdash-chart--market .ci-cdash-chart__canvas svg[data-market-chart-svg] {
  display: block;
  width: 100%;
  height: 100%;
}
/* Override legacy legend if still lingering */
.ci-cdash-market__legend {
  display: none !important;
}

.ci-cdash-tech {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.ci-cdash-tech__head {
  margin-bottom: 14px;
}
.ci-cdash-tech__title {
  margin-top: 6px;
  font-family: var(--ci-cd-serif);
  font-size: 20px;
}
.ci-cdash-tech__tf {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.ci-cdash-tech__tf button {
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--ci-cd-muted);
  cursor: pointer;
}
.ci-cdash-tech__tf button.is-active {
  background: rgba(139, 21, 56, 0.10);
  border-color: rgba(139, 21, 56, 0.35);
  color: var(--ci-cd-red);
}

.ci-cdash-tech__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.ci-cdash-tech__card {
  background: var(--ci-cd-panel);
  border: 1px solid var(--ci-cd-border);
  border-radius: 14px;
  padding: 14px;
}
.ci-cdash-tech__label {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 12px;
  color: var(--ci-cd-meta);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ci-cdash-tech__res {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 18px;
}
.ci-cdash-tech__support {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--ci-cd-muted);
  line-height: 1.35;
}
.ci-cdash-tech__counts {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ci-cdash-tech__foot {
  margin-top: 16px;
  border-top: 1px solid var(--ci-cd-border);
  padding-top: 14px;
}
.ci-cdash-tech__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ci-cdash-tech__method-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}
.ci-cdash-tech__method-toggle .ci-cdash-tech__chev {
  display: inline-block;
  font-weight: 900;
  color: var(--ci-cd-red);
  transition: transform 0.15s ease;
}
.ci-cdash-tech__method-toggle[aria-expanded="true"] .ci-cdash-tech__chev {
  transform: rotate(180deg);
}
.ci-cdash-tech__method-summary {
  color: var(--ci-cd-muted);
  font-size: 12px;
  font-weight: 800;
}
.ci-cdash-tech__meta p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ci-cd-muted);
}
.ci-cdash-tech__disclaimer {
  margin-top: 10px;
  color: var(--ci-cd-meta);
  font-weight: 800;
}
.ci-cdash-tech__method-panel {
  margin-top: 14px;
  border-top: 1px dashed var(--ci-cd-border);
  padding-top: 14px;
}
.ci-cdash-tech__method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
.ci-cdash-tech__method-h {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--ci-cd-text);
  font-size: 13px;
}

@media (max-width: 980px) {
  .ci-cdash-market__grid {
    grid-template-columns: 1fr;
  }
  .ci-cdash-tech__grid {
    grid-template-columns: 1fr;
  }
}

.ci-cdash-explore__ident {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ci-cdash-explore__ident img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.ci-cdash-explore__ident strong {
  display: block;
  font-size: 14px;
}

.ci-cdash-explore__ident span {
  font-size: 12px;
  color: var(--ci-cd-muted);
}

.ci-cdash-explore__rank {
  margin-left: auto;
  font-size: 11px;
  color: var(--ci-cd-meta);
}

.ci-cdash-explore__mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.ci-cdash-explore__price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ci-cdash-explore__chg {
  font-size: 13px;
  font-weight: 700;
}

.ci-cdash-explore__chg.is-up,
.ci-cdash-news .is-up {
  color: var(--ci-cd-green);
}

.ci-cdash-explore__chg.is-down {
  color: var(--ci-cd-down);
}

.ci-cdash-explore__spark {
  display: block;
}

.ci-cdash-explore__tag {
  display: inline-block;
  margin: 12px 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.ci-cdash-explore__stats {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  border-top: 1px solid var(--ci-cd-border);
  padding-top: 12px;
}

.ci-cdash-explore__stats span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-explore__stats a {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}



.ci-cdash-depth__card:hover .ci-cdash-depth__value {
  color: var(--ci-cd-red);
}

/* Supply / valuation */
.ci-cdash-depth {
  margin-bottom: 56px;
}

.ci-cdash-depth__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.ci-cdash-depth__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ci-cdash-depth__net-kicker {
  margin: 28px 0 12px;
}

.ci-cdash-depth__card {
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  padding: 18px 18px 16px;
  min-width: 0;
}

.ci-cdash-depth__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-depth__value {
  margin: 0 0 8px;
  font-family: var(--ci-cd-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ci-cd-text);
}

.ci-cdash-depth__value.is-up {
  color: var(--ci-cd-green);
}

.ci-cdash-depth__value.is-down {
  color: var(--ci-cd-down);
}

.ci-cdash-depth__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ci-cd-muted);
}

/* Market wire — original editorial layout, not a CoinGecko clone */
.ci-cdash-happen {
  margin-bottom: 56px;
}

.ci-cdash-happen__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.ci-cdash-happen__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--ci-cd-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
  background: #fff;
  line-height: 1;
}

.ci-cdash-happen__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ci-cd-red);
  box-shadow: 0 0 0 0 rgba(139, 21, 56, 0.45);
  animation: ci-cdash-pulse 1.8s ease-out infinite;
}

@keyframes ci-cdash-pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 21, 56, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(139, 21, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 21, 56, 0); }
}

.ci-cdash-happen__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.ci-cdash-happen__layout:not(:has(.ci-cdash-happen__feed)),
.ci-cdash-happen__layout:not(:has(.ci-cdash-happen__feature)) {
  grid-template-columns: 1fr;
}

.ci-cdash-happen__feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #111;
  color: #fff;
  overflow: hidden;
  height: auto;
  align-self: stretch;
}

.ci-cdash-happen__feature:has(.ci-cdash-happen__feature-media) {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.ci-cdash-happen__feature-media {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  background: #1c1c1c;
}

.ci-cdash-happen__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.ci-cdash-happen__feature:hover .ci-cdash-happen__feature-media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.ci-cdash-happen__feature-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.ci-cdash-happen__feature:has(.ci-cdash-happen__feature-media) .ci-cdash-happen__feature-copy {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 1;
  padding: 72px 20px 18px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.88) 42%, #111 100%);
}

.ci-cdash-happen__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a3b3;
}

.ci-cdash-happen__meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #8b1538;
}

.ci-cdash-happen__feature-title {
  margin: 0;
  font-family: var(--ci-cd-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ci-cdash-happen__feature-title a {
  color: #fff;
}

.ci-cdash-happen__feature-title a:hover {
  color: #f3d5de;
}

.ci-cdash-happen__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #c8c8c8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ci-cdash-happen__open {
  margin-top: 6px;
  padding-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid var(--ci-cd-red);
  width: max-content;
  line-height: 1.2;
  padding-bottom: 4px;
}

.ci-cdash-happen__open:hover {
  color: #f3d5de;
}

.ci-cdash-happen__feed {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.ci-cdash-happen__when {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ci-cd-red);
}

.ci-cdash-happen__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.ci-cdash-happen__list > li {
  flex: 1 1 auto;
  display: flex;
}

.ci-cdash-happen__card {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  color: inherit;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ci-cdash-happen__card:hover {
  border-color: #d7c3ca;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
  transform: translateY(-1px);
  color: inherit;
}

.ci-cdash-happen__time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ci-cd-red);
  padding-top: 2px;
  white-space: nowrap;
}

.ci-cdash-happen__card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ci-cdash-happen__card-title {
  font-family: var(--ci-cd-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ci-cd-text);
}

.ci-cdash-happen__card:hover .ci-cdash-happen__card-title {
  color: var(--ci-cd-red);
}

.ci-cdash-happen__card-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
}

.ci-cdash-happen--side {
  margin: 0;
  padding: 18px 12px 12px 18px;
  border: 1px solid var(--ci-cd-border);
  background: #fff;
  flex: none;
  display: flex;
  flex-direction: column;
}

.ci-cdash-happen--side .ci-cdash-kicker {
  flex: none;
}

.ci-cdash-happen--side .ci-cdash-happen__side-title {
  margin: 0 0 12px;
  font-family: var(--ci-cd-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  flex: none;
  padding-right: 6px;
}

.ci-cdash-happen--side .ci-cdash-happen__list {
  --ci-wire-gap: 8px;
  --ci-wire-card: 5.15rem;
  gap: var(--ci-wire-gap);
  flex: none;
  max-height: calc(2 * var(--ci-wire-card) + var(--ci-wire-gap));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.ci-cdash-happen--side .ci-cdash-happen__list::-webkit-scrollbar {
  width: 6px;
}

.ci-cdash-happen--side .ci-cdash-happen__list::-webkit-scrollbar-thumb {
  background: #d4c4c8;
  border-radius: 99px;
}

.ci-cdash-happen--side .ci-cdash-happen__list > li {
  flex: none;
}

.ci-cdash-happen--side .ci-cdash-happen__card {
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  min-height: var(--ci-wire-card);
  box-sizing: border-box;
}

.ci-cdash-happen--side .ci-cdash-happen__card-title {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* About / Learn */
.ci-cdash-about,
.ci-cdash-learn {
  margin-bottom: 40px;
  padding-top: 8px;
}

.ci-cdash-about__body {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}

.ci-cdash-about__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ci-cdash-about__facts li {
  border: 1px solid var(--ci-cd-border);
  border-radius: 4px;
  padding: 12px 14px;
}

.ci-cdash-about__facts span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ci-cd-meta);
  margin-bottom: 4px;
}

.ci-cdash-learn__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.ci-cdash-learn__list li {
  border-top: 1px solid var(--ci-cd-border);
  padding: 14px 0;
}

.ci-cdash-learn__list a {
  font-family: var(--ci-cd-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ci-cd-text);
}

.ci-cdash-learn__list a:hover {
  color: var(--ci-cd-red);
}

@media (max-width: 1100px) {
  .ci-cdash-mast {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: 20px;
  }

  .ci-cdash-perf__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ci-cdash-news__grid {
    grid-template-columns: 1fr;
  }

  .ci-cdash-news__cta-row {
    grid-template-columns: 1fr;
    margin: -6px 0 12px;
  }

  .ci-cdash-news__cta-spacer {
    display: none;
  }

  .ci-cdash-news__hero-media {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 980px) {
  .ci-cdash-context .ci-cdash-note {
    display: none;
  }

  .ci-cdash-mast,
  .ci-cdash-perf__grid:not(.ci-cdash-perf__grid--convert),
  .ci-cdash-news__grid,
  .ci-cdash-context__cols,
  .ci-cdash-about__facts,
  .ci-cdash-learn__list {
    grid-template-columns: 1fr;
  }

  .ci-cdash-context__cols {
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .ci-cdash-perf__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ci-cdash-side {
    overflow: visible;
    height: auto;
  }

  .ci-cdash-happen--side {
    flex: none;
  }

  .ci-cdash-depth__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ci-cdash-chart__head,
  .ci-cdash-perf__head,
  .ci-cdash-news__head,
  .ci-cdash-explore__head,
  .ci-cdash-depth__head,
  .ci-cdash-happen__head,
  .ci-cdash-happen__layout {
    flex-direction: column;
  }

  .ci-cdash-happen__layout {
    grid-template-columns: 1fr;
  }

  .ci-cdash-happen__feature {
    position: static;
  }

  .ci-cdash-happen__feature-media {
    max-height: 280px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .ci-cdash-news__side {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .ci-cdash-news__item--row,
  .ci-cdash-news__item--col,
  .ci-cdash-news__item--banner,
  .ci-cdash-news__item--wide {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    max-height: none;
  }

  .ci-cdash-news__item--row .ci-cdash-news__thumb,
  .ci-cdash-news__item--banner .ci-cdash-news__thumb,
  .ci-cdash-news__item--wide .ci-cdash-news__thumb,
  .ci-cdash-news__item--col .ci-cdash-news__thumb {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
  }

  .ci-cdash-news__item--banner .ci-cdash-news__thumb {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ci-cdash-mast {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ci-cdash-perf__cards {
    grid-template-columns: 1fr;
  }

  .ci-cdash-snap__top {
    align-items: center;
  }

  .ci-cdash-happen__head {
    align-items: flex-start;
  }

  .ci-cdash-happen__card {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ci-cdash__inner {
    width: calc(100% - 28px);
  }

  .ci-cdash-snap__value,
  .ci-cdash-explore__price,
  .ci-cdash-range__hi-lo strong {
    font-size: 22px;
  }

  .ci-cdash-chart__canvas {
    height: 360px;
  }

  .ci-cdash-chart--tether .ci-cdash-chart__canvas {
    height: 360px;
  }

  .ci-cdash-snap__list {
    grid-template-columns: 1fr 1fr;
  }

  .ci-cdash-snap__drawdown {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .ci-cdash-news__hero-media {
    aspect-ratio: 16 / 9;
  }

  .ci-cdash-depth__grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------
   TECHNICAL INDICATORS REDESIGN
----------------------------------------- */
.ci-cdash-tech__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.ci-cdash-tech__head > div:first-child {
    max-width: 600px;
}

.ci-cdash-tech__tf-wrap {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.ci-cdash-tech__tf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #6b7280;
    text-transform: uppercase;
}

.ci-cdash-tech__tf-sub {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

.ci-cdash-tech__tf {
    display: flex;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 2px;
}

.ci-cdash-tech__tf button {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.ci-cdash-tech__tf button.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ci-cdash-tech__tf button:hover:not(.is-active) {
    background: #e5e7eb;
}

.ci-cdash-tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ci-cdash-tech__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ci-cdash-tech__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #4b5563;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.ci-cdash-tech__arc-wrap {
    position: relative;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
}

.ci-cdash-tech__arc {
    width: 100%;
    height: auto;
}

.ci-cdash-tech__res-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.ci-cdash-tech__res {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1;
}

.ci-cdash-tech__res-lean {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ci-cdash-tech__res-sub {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Result Colors */
.ci-cdash-tech__res--bull { color: #16a34a; }
.ci-cdash-tech__res--bear { color: #dc2626; }
.ci-cdash-tech__res--neutral { color: #6b7280; }

.ci-cdash-tech__counts {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
    gap: 8px;
}

.ci-cdash-tech__count-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
}

.ci-cdash-tech__count-item strong {
    color: #111827;
}

.ci-cdash-tech__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ci-cdash-tech__dot--bull { background: #16a34a; }
.ci-cdash-tech__dot--bear { background: #dc2626; }
.ci-cdash-tech__dot--neutral { background: #9ca3af; }

.ci-cdash-tech__support {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Redesigned Methodology Box */
.ci-cdash-tech__method-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-top: 3px solid #8b1538;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.ci-cdash-tech__method-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 8px;
}

.ci-cdash-tech__method-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #8b1538;
    font-weight: 600;
    font-size: 14px;
}

.ci-cdash-tech__method-toggle:hover {
    color: #6b0000;
}

.ci-cdash-tech__method-chev {
    transition: transform 0.3s;
}

.ci-cdash-tech__method-toggle[aria-expanded="true"] .ci-cdash-tech__method-chev {
    transform: rotate(180deg);
}

.ci-cdash-tech__method-updated {
    font-size: 12px;
    color: #6b7280;
}

.ci-cdash-tech__method-meta {
    font-size: 11.5px;
    color: #374151;
    padding: 0 20px;
    margin-bottom: 16px;
}

.ci-cdash-tech__method-sep {
    margin: 0 10px;
    color: #d1d5db;
}

.ci-cdash-tech__method-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 20px 16px;
    padding: 12px 14px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.55;
    width: calc(100% - 40px);
    box-sizing: border-box;
    background: #eef1f5;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.ci-cdash-tech__method-disclaimer svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ci-cdash-tech__method-disclaimer p {
    margin: 0;
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
}

.ci-tether-mkt__peg-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 800px) {
    .ci-tether-mkt__peg-grid--two {
        grid-template-columns: 1fr;
    }
}

/* Expanded Methodology Panel */
/* Border and padding live on the inner element: max-height:0 clips content but
   still paints the collapsed element's own border and padding, which showed as
   a stray line under the folded box. */
.ci-cdash-tech__method-panel {
    background: #fff;
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
    grid-column: 1 / -1;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.ci-cdash-tech__method-panel-inner {
    padding: 32px 32px 28px;
    border-top: 1px solid #e5e7eb;
}

.ci-cdash-tech__method-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ci-cdash-tech__method-header h3 {
    color: #111827;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.ci-cdash-tech__method-close {
    background: none;
    border: none;
    color: #111827;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.ci-cdash-tech__method-close:hover {
    color: #8b1538;
}

.ci-cdash-tech__method-p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 700px;
}

.ci-cdash-tech__method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.ci-cdash-tech__method-step {
    position: relative;
}

.ci-cdash-tech__method-num {
    font-size: 36px;
    font-weight: 700;
    color: #8b1538;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
}

.ci-cdash-tech__method-arrow {
    font-size: 18px;
    color: #8b1538;
}

.ci-cdash-tech__method-h {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8b1538;
    margin-bottom: 8px;
    line-height: 1.4;
    text-transform: uppercase;
}

.ci-cdash-tech__method-h strong {
    font-size: 17px;
    color: #111827;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    margin-top: 6px;
    font-weight: 700;
}

.ci-cdash-tech__method-step p:last-child {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

.ci-cdash-tech__method-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 32px 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

/* When this is the closing block of the panel, its trailing rule and spacing
   leave a large empty strip above the box edge. */
.ci-cdash-tech__method-grid2:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.ci-cdash-tech__method-h2 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8b1538;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ci-cdash-tech__method-grid2 p:last-child {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.ci-cdash-tech__method-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    border-top: none;
    font-size: 13px;
    color: #6b7280;
}

.ci-cdash-tech__method-footer > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 520px;
    line-height: 1.5;
}

.ci-cdash-tech__method-footer-right {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    padding-left: 24px;
}

/* Responsive */
@media (max-width: 991px) {
    .ci-cdash-tech__grid {
        grid-template-columns: 1fr;
    }
    
    .ci-cdash-tech__head {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ci-cdash-tech__tf-wrap {
        align-items: flex-start;
        text-align: left;
    }

    .ci-cdash-tech__method-steps,
    .ci-cdash-tech__method-grid2 {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .ci-cdash-tech__method-arrow {
        display: none;
    }
    
    .ci-cdash-tech__method-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ==========================================================================
   Bitcoin Markets Section
   ========================================================================== */
.ci-cdash-markets {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
    font-family: var(--ci-cd-sans);
}

.ci-cdash-markets__header {
    margin-bottom: 24px;
}

.ci-cdash-markets__header h2 {
    font-family: var(--ci-cd-serif);
    font-size: 28px;
    margin: 8px 0;
    color: #111;
}

.ci-cdash__eyebrow {
    font-family: var(--ci-cd-sans);
    color: #8b1538;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ci-cdash-markets__desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin-top: 8px;
    font-family: var(--ci-cd-sans);
}

.ci-cdash-markets__controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.ci-cdash-markets__filter-group label,
.ci-cdash-markets__currency-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ci-cdash-markets__tabs {
    display: flex;
    gap: 8px;
}

.ci-cdash-markets__tab {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111;
    font-family: var(--ci-cd-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.ci-cdash-markets__tab.is-active {
    background: #8b1538;
    border-color: #8b1538;
    color: #fff;
}

.ci-cdash-markets__currency-group {
    display: flex;
    flex-direction: column;
}

.ci-cdash-markets__currency-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--ci-cd-sans);
    font-size: 14px;
    font-weight: 600;
    color: #111;
    background: #fff;
    cursor: pointer;
}

.ci-cdash-markets__currency-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.ci-cdash-markets__count {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 4px; /* Align with bottom of inputs */
}

/* Table */
.ci-cdash-markets__table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
}

.ci-cdash-markets__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.ci-cdash-markets__table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #8b1538;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.ci-cdash-markets__table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.ci-cdash-markets__tr:last-child td {
    border-bottom: 1px solid #e5e7eb;
}

.ci-cdash-markets__exch-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ci-cdash-markets__exch-inner img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
    flex-shrink: 0;
}

.ci-cdash-markets__exch-inner strong {
    font-size: 16px;
    color: #111;
    font-weight: 700;
}

.ci-cdash-markets__td-pair strong {
    display: block;
    font-size: 15px;
    color: #111;
    font-weight: 700;
}

.ci-cdash-markets__td-pair span {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin-top: 2px;
}

.ci-cdash-markets__td-price strong {
    display: block;
    font-size: 15px;
    color: #111;
    font-weight: 700;
}

.ci-cdash-markets__val-price-usd {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin-top: 2px;
}

.ci-cdash-markets__td-vol strong {
    font-size: 15px;
    color: #111;
    font-weight: 700;
}

.ci-cdash-markets__td-time {
    font-size: 14px;
    color: #4b5563;
}

/* Spot ETF tables: keep all columns readable; scroll instead of clipping. */
#ci-coin-etfs .ci-cdash-markets__table-wrap--etf,
.ci-cdash-markets__table-wrap--etf {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
#ci-coin-etfs .ci-cdash-markets__table--etf,
.ci-cdash-markets__table--etf {
    width: max-content;
    min-width: 1280px;
    table-layout: auto;
}
#ci-coin-etfs .ci-cdash-markets__table--etf th,
#ci-coin-etfs .ci-cdash-markets__table--etf td,
.ci-cdash-markets__table--etf th,
.ci-cdash-markets__table--etf td {
    white-space: nowrap;
}
#ci-coin-etfs .ci-cdash-markets__th-time,
#ci-coin-etfs .ci-cdash-markets__td-time,
.ci-cdash-markets__table--etf .ci-cdash-markets__th-time,
.ci-cdash-markets__table--etf .ci-cdash-markets__td-time {
    min-width: 150px;
    padding-right: 20px;
}
#ci-coin-etfs .ci-cdash-markets__val-time {
    display: inline-block;
    white-space: nowrap;
}

/* Footer */
.ci-cdash-markets__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.ci-cdash-markets__disclaimer {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.ci-cdash-markets__meta {
    color: #9ca3af;
}

.ci-cdash-markets__expand {
    background: #fff;
    border: 1px solid #8b1538;
    color: #8b1538;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 4px;
    white-space: nowrap;
    font-family: var(--ci-cd-sans);
}

.ci-cdash-markets__expand:hover,
.ci-cdash-markets__expand:focus-visible {
    background: #8b1538;
    border-color: #8b1538;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .ci-cdash-markets__controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .ci-cdash-markets__count {
        margin-top: 8px;
    }
}


/* ==========================================================================
   Bitcoin Tokenomics Section
   ========================================================================== */
.ci-cdash-tokenomics {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
    font-family: var(--ci-cd-sans);
}

.ci-cdash-tokenomics__header {
    margin-bottom: 32px;
}

.ci-cdash-tokenomics__header h2 {
    font-family: var(--ci-cd-serif);
    font-size: 28px;
    margin: 8px 0;
    color: #111;
}

.ci-cdash-tokenomics__desc {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
    margin-top: 8px;
}
.ci-cdash-tokenomics__desc--spaced {
    margin-top: 18px;
}

.ci-cdash-tokenomics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .ci-cdash-tokenomics__grid {
        grid-template-columns: 1fr;
    }
}

.ci-cdash-tokenomics__col {
    padding: 0 16px;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

/* Pin each column's closing note to the bottom so all three end level. */
.ci-cdash-tokenomics__chart-meta,
.ci-cdash-tokenomics__table-meta,
.ci-cdash-tokenomics__timeline-meta {
    margin-top: auto;
}

/* Keep the three column headings on one line at the same height. */
.ci-cdash-tokenomics__col-title {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-cdash-tokenomics__col:first-child {
    border-left: none;
    padding-left: 0;
}

.ci-cdash-tokenomics__col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 24px;
    text-align: center;
}

.ci-cdash-tokenomics__col-title--serif {
    font-family: var(--ci-cd-serif);
    font-size: 20px;
    text-transform: none;
    font-weight: 400;
}

.ci-cdash-eth-tf {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.ci-cdash-eth-tf .ci-cdash-tech__tf button.is-active {
    background: #fff;
    color: #8b1538;
    box-shadow: inset 0 0 0 1px #8b1538;
}

.ci-cdash-eth-metrics {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ci-cdash-eth-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.ci-cdash-eth-metric:last-child {
    border-bottom: none;
}

.ci-cdash-eth-metric__copy {
    min-width: 0;
}

.ci-cdash-eth-metric__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8b1538;
}

.ci-cdash-eth-metric__value {
    display: block;
    font-family: var(--ci-cd-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    white-space: nowrap;
    text-align: right;
}

.ci-cdash-eth-metric__note {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #6b7280;
}

.ci-cdash-eth-metric__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.ci-cdash-eth-metric__badge {
    display: inline-block;
    border: 1px solid #8b1538;
    color: #8b1538;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

/* Progress Circle */
.ci-cdash-tokenomics__chart-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
}

.ci-cdash-tokenomics__svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ci-cdash-tokenomics__bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3;
}

.ci-cdash-tokenomics__fg {
    fill: none;
    stroke: #8b1538;
    stroke-width: 3;
    stroke-linecap: square;
    transition: stroke-dasharray 1s ease-out;
}

.ci-cdash-tokenomics__chart-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ci-cdash-tokenomics__chart-pct {
    display: block;
    font-family: var(--ci-cd-serif);
    font-size: 32px;
    color: #111;
}

.ci-cdash-tokenomics__chart-lbl {
    display: block;
    font-size: 13px;
    color: #6b7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ci-cdash-tokenomics__chart-meta {
    text-align: center;
}

.ci-cdash-tokenomics__chart-meta strong {
    display: block;
    font-size: 15px;
    color: #111;
}

.ci-cdash-tokenomics__chart-meta span {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin: 4px 0 8px;
}

.ci-cdash-tokenomics__chart-meta small {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

/* Supply Metrics Table */
.ci-cdash-tokenomics__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.ci-cdash-tokenomics__table td {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
}

.ci-cdash-tokenomics__table tr:last-child td {
    border-bottom: none;
}

.ci-cdash-tokenomics__table td:last-child {
    text-align: right;
    color: #111;
}

.ci-cdash-tokenomics__table-meta {
    text-align: center;
    color: #9ca3af;
}

/* Tooltip Icon */
.ci-cdash-tooltip-icon {
    display: inline-block;
    margin-left: 4px;
    cursor: help;
    color: #9ca3af;
    font-size: 12px;
}

/* Timeline */
.ci-cdash-timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 24px;
    position: relative;
}

.ci-cdash-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: #e5e7eb;
}

.ci-cdash-timeline__item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 24px;
}

.ci-cdash-timeline__item:last-child {
    margin-bottom: 0;
}

.ci-cdash-timeline__marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    z-index: 1;
}

.ci-cdash-timeline__item.is-active .ci-cdash-timeline__marker {
    background: #8b1538;
    border-color: #8b1538;
}

.ci-cdash-timeline__content strong {
    display: block;
    font-size: 15px;
    color: #111;
}

.ci-cdash-timeline__content span {
    display: block;
    font-size: 14px;
    color: #4b5563;
    margin-top: 2px;
}

.ci-cdash-timeline__badge {
    display: inline-block;
    background: #8b1538;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    margin-top: 4px !important;
}

.ci-cdash-tokenomics__timeline-meta p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* Footer / Methodology */
.ci-cdash-tokenomics__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 16px;
}

.ci-cdash-tokenomics__expand-btn {
    background: none;
    border: none;
    color: #8b1538;
    font-family: var(--ci-cd-sans);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ci-cdash-tokenomics__expand-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ci-cdash-tokenomics__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
}

.ci-cdash-tokenomics__disclaimer {
    width: 100%;
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* Premium Methodology Section */
.ci-cdash-tokenomics__methodology-static {
    margin-top: 32px;
    padding: 32px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ci-cdash-tokenomics__grid--xrp-cards {
    gap: 20px;
}
.ci-cdash-tokenomics__grid--xrp-cards > .ci-cdash-tokenomics__card {
    border: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 22px 20px;
    background: #fff;
}
.ci-cdash-tokenomics__grid--xrp-cards > .ci-cdash-tokenomics__card:hover {
    background: #fff;
}
.ci-cdash-tokenomics__card-foot {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}
.ci-cdash-tokenomics__metric-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ci-cdash-tokenomics__metric-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ci-cdash-tokenomics__metric-label {
    font-size: 13px;
    color: #6b7280;
    font-family: var(--ci-cd-sans);
}
.ci-cdash-tokenomics__metric-val strong {
    display: block;
    font-size: 16px;
    color: #111827;
    font-family: var(--ci-cd-sans);
    font-weight: 700;
    line-height: 1.25;
}
.ci-cdash-tokenomics__metric-val em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}
.ci-cdash-tokenomics__metric-list--compact {
    margin-top: 4px;
    gap: 12px;
}
.ci-cdash-tokenomics__destroyed {
    margin-top: 20px;
    padding: 16px 16px 14px;
    background: #fdf2f4;
    border-radius: 8px;
}
.ci-cdash-tokenomics__destroyed-label {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b1538;
    font-family: var(--ci-cd-sans);
}
.ci-cdash-tokenomics__destroyed-val {
    margin: 0;
    font-size: 22px;
    color: #111827;
    line-height: 1.2;
}
.ci-cdash-tokenomics__destroyed-sub {
    margin: 4px 0 12px;
    font-size: 12px;
    color: #8b1538;
    font-family: var(--ci-cd-sans);
}
.ci-cdash-tokenomics__destroyed-bar {
    height: 6px;
    border-radius: 999px;
    background: #f3e0e4;
    overflow: hidden;
}
.ci-cdash-tokenomics__destroyed-bar span {
    display: block;
    height: 100%;
    background: #8b1538;
    border-radius: 999px;
}
.ci-cdash-tokenomics__stack-legend--rich li {
    align-items: flex-start;
    gap: 8px;
}
.ci-cdash-tokenomics__stack-legend--rich li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ci-cdash-tokenomics__legend-amt {
    display: block;
    color: #6b7280;
}
.ci-cdash-tokenomics__legend-amt strong {
    display: inline;
    color: #111827;
    font-size: 13px;
    margin-right: 4px;
}
.ci-cdash-tokenomics__legend-amt em {
    font-style: normal;
    color: #9ca3af;
    font-size: 12px;
}
.ci-cdash-tokenomics__breakdown-label--sub {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.ci-cdash-tokenomics__sources {
    margin: 18px 0 0;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    font-family: var(--ci-cd-sans);
}
.ci-cdash-tokenomics__methodology-static--xrp .ci-cdash-tokenomics__methodology-header h3 {
    font-family: var(--ci-cd-sans);
    font-size: 22px;
    font-weight: 700;
}
.ci-cdash-tokenomics__methodology-static--xrp .ci-cdash-tokenomics__methodology-header p {
    margin-bottom: 14px;
    max-width: none;
}
.ci-cdash-tokenomics__methodology-static--xrp .ci-cdash-tokenomics__methodology-header p:last-child {
    margin-bottom: 28px;
}
.ci-cdash-tokenomics__method-grid2--two {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.ci-cdash-tokenomics__grid--xrp-cards .ci-cdash-tokenomics__chart-lbl {
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}
#ci-coin-etfs .ci-cdash-markets__td-pair span,
#ci-coin-etfs .ci-cdash-markets__val-price-usd {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}
.ci-cdash-tokenomics__breakdown-label {
    margin: 4px 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b1538;
}
.ci-cdash-tokenomics__stack {
    display: flex;
    width: 100%;
    height: 14px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f4f6;
    margin-bottom: 12px;
}
.ci-cdash-tokenomics__stack-seg {
    display: block;
    height: 100%;
    min-width: 2px;
}
.ci-cdash-tokenomics__stack-legend {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ci-cdash-tokenomics__stack-legend li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}
.ci-cdash-tokenomics__stack-legend span:last-child {
    color: #9ca3af;
}
.ci-cdash-tokenomics__swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex: none;
    margin-top: 2px;
}
#ci-coin-etfs .ci-cdash-section-lead,
.ci-cdash-markets__head .ci-cdash-section-lead,
.ci-cdash-tokenomics__desc {
    max-width: 720px;
}

.ci-cdash-tokenomics__methodology-header h4,
.ci-cdash-tokenomics__methodology-header h3 {
    font-family: var(--ci-cd-serif);
    font-size: 20px;
    color: #111827;
    margin: 0 0 16px;
    font-weight: 700;
}

.ci-cdash-tokenomics__methodology-header p {
    font-family: var(--ci-cd-sans);
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 800px;
}

.ci-cdash-tokenomics__method-grid2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* The supply methodology reads as one continuous block, so drop the rules and
   trailing gaps that separate the steps, the notes and the closing disclaimer. */
.ci-cdash-tokenomics__method-steps {
    padding-bottom: 0;
    border-bottom: 0;
}

.ci-cdash-tokenomics__method-grid2 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.ci-cdash-tokenomics__method-h2-override {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 15px !important;
    color: #111827 !important;
}

.ci-cdash-tokenomics__disclaimer-small--italic {
    font-style: italic;
    color: #9ca3af;
    font-size: 13px;
    margin: 24px 0 0;
    padding: 20px 0 0;
    line-height: 1.6;
    border-top: 1px solid #e5e7eb;
}

.ci-cdash-tokenomics__methodology-static > .ci-cdash-tokenomics__disclaimer-small--italic:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ci-cdash-tokenomics__methodology-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.ci-cdash-methodology-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    padding: 24px;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    grid-column: span 2;
}

.ci-cdash-methodology-card:nth-child(4),
.ci-cdash-methodology-card:nth-child(5) {
    grid-column: span 3;
}

@media (max-width: 900px) {
    .ci-cdash-tokenomics__methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ci-cdash-methodology-card,
    .ci-cdash-methodology-card:nth-child(4),
    .ci-cdash-methodology-card:nth-child(5) {
        grid-column: span 1;
    }
    /* On a 2-col tablet layout, the 5th item will span 2 columns to center itself nicely */
    .ci-cdash-methodology-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .ci-cdash-tokenomics__methodology-grid {
        grid-template-columns: 1fr;
    }
    .ci-cdash-methodology-card,
    .ci-cdash-methodology-card:nth-child(4),
    .ci-cdash-methodology-card:nth-child(5) {
        grid-column: span 1;
    }
}

.ci-cdash-methodology-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #e5e7eb;
}

.ci-cdash-methodology-card__step {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #8b1538;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.ci-cdash-methodology-card h5 {
    font-family: var(--ci-cd-sans);
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.ci-cdash-methodology-card p {
    font-family: var(--ci-cd-sans);
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.ci-cdash-tokenomics__disclaimer-small {
    margin: 0 !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    border-top: 0;
    padding-top: 16px;
    display: block;
}



/* ==========================================================================
   Bitcoin Price History & Yearly Table
   ========================================================================== */

.ci-cdash-history-intro {
    margin-bottom: 32px;
}

.ci-cdash-history-h1 {
    font-family: var(--ci-cd-serif);
    font-size: 36px;
    color: #111;
    margin: 8px 0 16px;
}

.ci-cdash-history-intro p {
    font-family: var(--ci-cd-sans);
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 12px;
    max-width: 800px;
}

/* History Markers */
.ci-cdash-history-marker {
    pointer-events: none;
}
@media (max-width: 768px) {
    .ci-cdash-history-marker text, .ci-cdash-history-marker rect {
        display: none;
    }
}

/* Price-history chart (log area + markers) */
.ci-cdash--view-price-history .ci-cdash-chart {
  margin-top: 8px;
}
.ci-cdash--view-price-history .ci-cdash-chart__canvas {
  height: 560px;
  background: #fff;
  border: 1px solid var(--ci-cd-border, #e8e8e8);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.ci-cdash--view-price-history .ci-cdash-chart__canvas svg[data-history-chart-svg] {
  display: block;
  width: 100%;
  height: 100%;
}
.ci-cdash--view-price-history .ci-cdash-tf button.is-active {
  background: var(--ci-cd-red, #900);
  color: #fff;
  border-color: var(--ci-cd-red, #900);
}
.ci-cdash-history-log {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  cursor: default;
  user-select: none;
}
.ci-cdash-history-log input {
  width: 14px;
  height: 14px;
  accent-color: var(--ci-cd-red, #900);
  pointer-events: none;
}
.ci-cdash-history-log__info {
  color: #999;
  font-size: 12px;
}
.ci-cdash--view-price-history .ci-cdash-tooltip {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.ci-cdash--view-price-history .ci-cdash-chart__crosshair-dot {
  border-color: var(--ci-cd-red, #900) !important;
  background: #fff;
}
.ci-cdash--view-price-history .ci-hist-marker-hit {
  pointer-events: all;
}
@media (max-width: 900px) {
  .ci-cdash--view-price-history .ci-cdash-chart__canvas {
    height: 420px;
  }
  .ci-cdash--view-price-history .ci-hist-marker-label {
    display: none;
  }
}

/* Yearly Table Section */
.ci-cdash-yearly-table-section {
    margin-top: 48px;
    border-top: 1px solid #e5e7eb;
    padding-top: 48px;
}

.ci-cdash-yearly-table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.ci-cdash-yearly-table-titles h2 {
    font-family: var(--ci-cd-serif);
    font-size: 28px;
    color: #111;
    margin: 8px 0 12px;
}

.ci-cdash-yearly-table-titles p {
    font-family: var(--ci-cd-sans);
    font-size: 15px;
    color: #4b5563;
    margin: 0;
    max-width: 700px;
    line-height: 1.5;
}

.ci-cdash-yearly-table-titles p + p,
.ci-cdash-chart__sub + .ci-cdash-chart__sub {
    margin-top: 12px;
}

/* USDC methodology: strip-like columns, no soft gray cards */
.ci-cdash-methodology-section--usdc {
    margin-top: 96px;
}
.ci-cdash-methodology-grid--usdc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ci-cd-border);
    border-bottom: 1px solid var(--ci-cd-border);
    margin-top: 28px;
}
.ci-cdash-method-col {
    padding: 28px 20px;
    border-right: 1px dashed var(--ci-cd-border);
    text-align: center;
}
.ci-cdash-method-col:last-child {
    border-right: none;
}
.ci-cdash-method-col__figure {
    font-family: var(--ci-cd-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--ci-cd-red);
    margin-bottom: 10px;
    line-height: 1.15;
}
.ci-cdash-method-col__figure span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ci-cdash-method-col__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ci-cd-text);
}
.ci-cdash-method-col__body {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}
@media (max-width: 900px) {
    .ci-cdash-methodology-grid--usdc {
        grid-template-columns: 1fr 1fr;
    }
    .ci-cdash-method-col:nth-child(2n) {
        border-right: none;
    }
    .ci-cdash-method-col:nth-child(-n+2) {
        border-bottom: 1px dashed var(--ci-cd-border);
    }
}
@media (max-width: 600px) {
    .ci-cdash-methodology-grid--usdc {
        grid-template-columns: 1fr;
    }
    .ci-cdash-method-col {
        border-right: none;
        border-bottom: 1px dashed var(--ci-cd-border);
    }
    .ci-cdash-method-col:last-child {
        border-bottom: none;
    }
}

.ci-cdash-highlights-section > .ci-cdash-yearly-table-titles {
    margin-bottom: 32px;
}

.ci-cdash-yearly-table-controls label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.ci-cdash-yearly-table-container {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 16px;
}

.ci-cdash-yearly-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-family: var(--ci-cd-sans);
}

.ci-cdash-yearly-table th {
    position: sticky;
    top: 0;
    background: #f9fafb;
    padding: 16px;
    /* Headers sit over left-aligned data unless the column opts into ci-txt-right. */
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    border-bottom: 2px solid #8b1538;
    z-index: 10;
}

/* Beats the element specificity of the rule above so opted-in columns stay right. */
.ci-cdash-yearly-table th.ci-txt-right {
    text-align: right;
}
.ci-cdash-yearly-table th.ci-txt-center,
.ci-cdash-yearly-table td.ci-txt-center {
    text-align: center;
}

/* Column header hover explainers (fixed floater — not clipped by table overflow) */
.ci-cdash-th-tip-wrap {
    vertical-align: bottom;
    overflow: visible;
    cursor: help;
    outline: none;
}
.ci-cdash-th-tip-wrap:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(139, 21, 56, 0.35);
}
.ci-cdash-th-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    pointer-events: none;
}
.ci-cdash-th-tip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1;
}
.ci-cdash-th-tip-floater {
    position: fixed;
    z-index: 10050;
    max-width: 280px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: #4b5563;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, visibility 0.12s ease;
}
.ci-cdash-th-tip-floater.is-visible {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .ci-cdash-th-tip__icon {
        display: none;
    }
}

.ci-cdash-yearly-table td {
    padding: 16px;
    font-size: 14px;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.ci-cdash-yearly-table tr:last-child td {
    border-bottom: none;
}

.ci-cdash-yearly-table tr:hover td {
    background-color: rgba(0,0,0,0.01);
}

.ci-txt-right {
    text-align: right;
}
.ci-txt-center {
    text-align: center;
}

/* YTD Highlights */
.ci-cdash-yearly-table tr.is-current-year td {
    background-color: rgba(153, 0, 0, 0.03);
    position: relative;
}

.ci-cdash-yearly-table tr.is-current-year td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #8b1538;
}

.ci-cdash-yearly-ytd {
    display: inline-block;
    border: 1px solid #8b1538;
    color: #8b1538;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Pills */
.ci-cdash-yearly-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.ci-cdash-yearly-pill.is-up {
    color: #166534;
}

.ci-cdash-yearly-pill.is-down {
    color: #991b1b;
}

.ci-cdash-yearly-table-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
}


/* Displaying generic chart title/sub in history mode now */
[data-history-mode="true"] .ci-cdash-chart__head > div:first-child {
    display: block;
}

/* Monthly Table Specifics */
.ci-cdash-monthly-grid th, .ci-cdash-monthly-grid td {
    padding: 12px 16px;
}
.ci-cdash-monthly-year {
    position: relative;
    text-align: center;
    color: var(--ci-cd-red, #900);
    font-weight: 700;
    font-size: 18px;
    padding: 28px 0 16px;
}
.ci-cdash-monthly-year:first-child {
    padding-top: 8px;
}
.ci-cdash-monthly-year span {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 16px;
}
.ci-cdash-monthly-year::after {
    content: '';
    position: absolute;
    top: calc(50% + 6px);
    left: 10%;
    right: 10%;
    border-top: 1px solid var(--ci-cd-red, #900);
    opacity: 0.3;
    z-index: 1;
}
.ci-cdash-monthly-table-section .ci-cdash-yearly-table-container {
    overflow: visible;
    border: none;
}
.ci-cdash-monthly-year-table {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
}
.ci-cdash-monthly-table-section .ci-cdash-monthly-grid {
    border: none;
    margin-bottom: 0;
}
.ci-cdash-year-divider td {
    padding: 24px 0 !important;
    text-align: center;
    position: relative;
    color: var(--ci-cd-red);
    font-weight: 700;
    font-size: 18px;
    background: transparent !important;
}
.ci-cdash-year-divider span {
    background: var(--ci-cd-bg);
    padding: 0 16px;
    position: relative;
    z-index: 2;
}
.ci-cdash-year-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    border-top: 1px solid var(--ci-cd-red);
    opacity: 0.3;
    z-index: 1;
}
.ci-cdash-monthly-toggle-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--ci-cd-red);
    background: transparent;
    color: var(--ci-cd-red);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 0 auto;
}
.ci-cdash-monthly-toggle-btn:hover,
.ci-cdash-monthly-toggle-btn:focus-visible {
    background: var(--ci-cd-red, #8b1538);
    color: #ffffff;
}
.ci-cdash-monthly-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--ci-cd-border);
    padding-top: 24px;
    margin-top: 24px;
    gap: 16px;
}
.ci-cdash-monthly-footer .ci-cdash-yearly-table-meta {
    margin-top: 0;
    padding: 0;
    border-top: none;
    text-align: center;
    justify-content: center;
}
.ci-cdash-mtd {
    display: inline-block;
    border: 1px solid var(--ci-cd-red);
    color: var(--ci-cd-red);
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    line-height: 1;
}
.ci-cdash-select {
    appearance: none;
    border: 1px solid var(--ci-cd-border);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23111111' stroke-width='1.6' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 8px center;
    padding: 6px 24px 6px 10px;
    font-size: 13px;
    border-radius: 4px;
}
.ci-cdash-green { color: var(--ci-cd-green); }
.ci-cdash-red { color: var(--ci-cd-red); }

/* =========================================
   HISTORICAL HIGHLIGHTS STRIP
   ========================================= */
/* LEO highlights: 4 columns × 2 rows for the eight records */
.ci-cdash-records-strip.ci-cdash-records-strip--leo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 0;
  overflow: visible;
  padding: 0;
  margin-top: 28px;
  border-top: 4px solid var(--ci-cd-red);
  border-bottom: 1px solid var(--ci-cd-border);
}
.ci-cdash-records-strip--leo .ci-cdash-record-box {
  flex: none;
  width: auto;
  min-width: 0;
  text-align: left;
  padding: 24px 20px;
  border-right: 1px solid var(--ci-cd-border);
  border-bottom: 1px solid var(--ci-cd-border);
}
.ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(4n) {
  border-right: none;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(n+5) {
  border-bottom: none;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box:last-child {
  border-right: none;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box > span {
  margin-bottom: 10px;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box > div {
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1.25;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box .ci-cdash-date {
  font-size: 13px;
  margin-bottom: 0;
}
.ci-cdash-records-strip--leo .ci-cdash-record-box p {
  margin-top: 10px !important;
}
@media (max-width: 1100px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--leo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(4n) {
    border-right: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(2n) {
    border-right: none;
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(n+5) {
    border-bottom: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(n+7) {
    border-bottom: none;
  }
}
@media (max-width: 640px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--leo {
    grid-template-columns: 1fr;
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box {
    border-right: none;
    border-bottom: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(n+5),
  .ci-cdash-records-strip--leo .ci-cdash-record-box:nth-child(n+7) {
    border-bottom: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--leo .ci-cdash-record-box:last-child {
    border-bottom: none;
  }
}


.ci-cdash-records-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid var(--ci-cd-red);
    border-bottom: 1px solid var(--ci-cd-border);
    margin-bottom: 32px;
}
.ci-cdash-record-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px dashed var(--ci-cd-border);
}
.ci-cdash-record-box:last-child {
    border-right: none;
}
.ci-cdash-record-box > span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
}
.ci-cdash-record-val {
    font-family: var(--ci-cd-serif);
    font-size: 28px;
    font-weight: 700;
    
    margin-bottom: 4px;
}
.ci-cdash-record-val svg {
    width: 24px;
    height: 24px;
    vertical-align: -3px;
    fill: currentColor;
}
.ci-cdash-date {
    font-size: 13px;
    color: #6b7280;
}
@media (max-width: 1024px) {
    .ci-cdash-records-strip {
        grid-template-columns: repeat(3, 1fr);
        border-bottom: none;
    }
    .ci-cdash-record-box {
        border-bottom: 1px dashed var(--ci-cd-border);
    }
    .ci-cdash-record-box:nth-child(3n) {
        border-right: none;
    }
}
@media (max-width: 767px) {
    .ci-cdash-records-strip {
        grid-template-columns: 1fr;
    }
    .ci-cdash-record-box {
        border-right: none;
        padding: 16px;
    }
}
/* Stellar highlights: 3 columns × 2 rows */
.ci-cdash-records-strip.ci-cdash-records-strip--stellar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 0;
  overflow: visible;
  padding: 0;
  margin-top: 28px;
  border-top: 4px solid var(--ci-cd-red);
  border-bottom: 1px solid var(--ci-cd-border);
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box {
  flex: none;
  width: auto;
  min-width: 0;
  text-align: left;
  padding: 24px 20px;
  border-right: 1px solid var(--ci-cd-border);
  border-bottom: 1px solid var(--ci-cd-border);
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(3n) {
  border-right: none;
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(n+4) {
  border-bottom: none;
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box > span {
  margin-bottom: 10px;
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box > div {
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1.25;
}
.ci-cdash-records-strip--stellar .ci-cdash-record-box .ci-cdash-date {
  font-size: 13px;
  color: #333;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--stellar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(3n) {
    border-right: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(2n) {
    border-right: none;
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(n+4) {
    border-bottom: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box:nth-child(n+5) {
    border-bottom: none;
  }
}
@media (max-width: 560px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--stellar {
    grid-template-columns: 1fr;
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box {
    border-right: none;
    border-bottom: 1px solid var(--ci-cd-border);
  }
  .ci-cdash-records-strip--stellar .ci-cdash-record-box:last-child {
    border-bottom: none;
  }
}
.ci-cdash-record-box {
    text-align: center;
    flex: 1;
    border-right: 1px solid var(--ci-cd-border);
    padding: 32px 16px;
}
.ci-cdash-record-box:last-child {
    border-right: none;
}
.ci-cdash-record-box > span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ci-cdash-record-box div {
    font-size: 32px;
    margin-bottom: 8px;
}
.ci-cdash-record-box .ci-cdash-date {
    font-size: 13px;
    color: #333;
}

/* USDC / peg highlights — modern card grid */
.ci-cdash-highlights-section,
.ci-cdash-methodology-section {
    margin-top: 96px;
}

/* USDC market: peg stability cards + methodology match page chrome */
.ci-cdash-tech--usdc-peg .ci-cdash-tech__card {
  background: #fff;
  border: 1px solid var(--ci-cd-border);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: none;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ci-cd-meta);
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__res {
  font-family: var(--ci-cd-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__res-sub {
  font-size: 13px;
  color: var(--ci-cd-muted);
  line-height: 1.45;
  margin: 0;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__count-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #475569;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__count-item strong {
  color: var(--ci-cd-text);
  font-weight: 700;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-details {
  border: 1px solid var(--ci-cd-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-summary::-webkit-details-marker,
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-summary::marker {
  display: none;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-summary h3 {
  margin: 0;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}
.ci-cdash-tech--usdc-peg .ci-cdash-tech__method-content {
  padding: 0 18px 20px;
  border-top: 1px solid #f1f5f9;
}
.ci-cdash-market__chart .ci-cdash-chart__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ci-cdash-records-strip--cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    border: none;
    padding: 0;
    margin-top: 28px;
}

.ci-cdash-records-strip--cards .ci-cdash-chart__loading {
    grid-column: 1 / -1;
    padding: 28px 16px;
    border: 1px solid var(--ci-cd-border);
    border-radius: 10px;
    background: #fafafa;
}

.ci-cdash-records-strip__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    padding: 20px 18px 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: var(--ci-cd-shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ci-cdash-records-strip__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ci-cd-red) 0%, #c45a78 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.ci-cdash-records-strip__item:hover {
    transform: translateY(-4px);
    border-color: #d7c3ca;
    box-shadow: var(--ci-cd-shadow);
}

.ci-cdash-records-strip__item:hover::before {
    opacity: 1;
}

.ci-cdash-records-strip__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b6b6b;
    line-height: 1.35;
}

.ci-cdash-records-strip__value {
    display: block;
    margin: 0;
    font-family: var(--ci-cd-sans);
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    letter-spacing: -0.02em;
    transition: color 0.22s ease;
}

.ci-cdash-records-strip__item:hover .ci-cdash-records-strip__value {
    color: var(--ci-cd-red);
}

.ci-cdash-records-strip__meta {
    display: block;
    margin-top: auto;
    font-size: 12px;
    font-weight: 500;
    color: #8a8a8a;
    line-height: 1.35;
}

/* Peg methodology cards (USDC price history) */
.ci-cdash-methodology-section .ci-cdash-methodology-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.ci-cdash-methodology-section .ci-cdash-methodology-card--peg {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 168px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: var(--ci-cd-shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.ci-cdash-methodology-section .ci-cdash-methodology-card--peg::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--ci-cd-red);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.ci-cdash-methodology-section .ci-cdash-methodology-card--peg:hover {
    transform: translateY(-4px);
    border-color: #d7c3ca;
    box-shadow: var(--ci-cd-shadow);
    background: linear-gradient(180deg, #fff 0%, #fbf7f8 100%);
}

.ci-cdash-methodology-section .ci-cdash-methodology-card--peg:hover::after {
    opacity: 1;
}

.ci-cdash-methodology-card__figure {
    font-family: var(--ci-cd-sans);
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111;
    line-height: 1.1;
    transition: color 0.22s ease;
}

.ci-cdash-methodology-card__figure span {
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #8a8a8a;
    vertical-align: middle;
}

.ci-cdash-methodology-section .ci-cdash-methodology-card--peg:hover .ci-cdash-methodology-card__figure {
    color: var(--ci-cd-red);
}

.ci-cdash-methodology-card__title {
    margin: 0;
    font-family: var(--ci-cd-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
}

.ci-cdash-methodology-card__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.ci-cdash-methodology-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8a8a8a;
    text-align: center;
}

.ci-cdash-methodology-note svg {
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 1100px) {
    .ci-cdash-records-strip--cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ci-cdash-highlights-section,
    .ci-cdash-methodology-section {
        margin-top: 64px;
    }

    .ci-cdash-records-strip--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ci-cdash-methodology-section .ci-cdash-methodology-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ci-cdash-records-strip__item {
        min-height: 118px;
        padding: 16px 14px;
    }
}

@media (max-width: 420px) {
    .ci-cdash-records-strip--cards {
        grid-template-columns: 1fr;
    }
}

/* Recovery table under highlights */
.ci-cdash-recovery-section {
    margin-top: 48px;
}
.ci-cdash-recovery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}
.ci-cdash-recovery-intro h3 {
    margin: 0 0 8px;
    font-family: var(--ci-cd-serif);
    font-size: 24px;
    font-weight: 700;
    color: #111;
}
.ci-cdash-recovery-intro p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    max-width: 640px;
}
.ci-cdash-recovery-intro p + p {
    margin-top: 18px;
}
.ci-cdash-recovery-meta {
    flex-shrink: 0;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}
.ci-cdash-recovery-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow-x: auto;
    width: 100%;
}
.ci-cdash-recovery-table,
.ci-cdash-yearly-table-container .ci-cdash-recovery-table {
    width: 100%;
    min-width: 920px;
    margin-bottom: 0;
    border-collapse: collapse;
    table-layout: fixed;
}
.ci-cdash-recovery-table th,
.ci-cdash-recovery-table td {
    /* Date cells stack a date over a price; single-line cells must line up with
       that first line rather than float to the middle of the row. */
    vertical-align: top;
    padding: 16px 14px;
    word-wrap: break-word;
}
.ci-cdash-recovery-table th {
    white-space: normal;
}
/* Only the leading date column reads as a row label; every other column is
   centred so its header and values share one axis. */
.ci-cdash-recovery-table th,
.ci-cdash-recovery-table td,
.ci-cdash-recovery-table th.ci-txt-right,
.ci-cdash-recovery-table td.ci-txt-right {
    text-align: center;
}
.ci-cdash-recovery-table th:first-child,
.ci-cdash-recovery-table td:first-child {
    text-align: left;
}
.ci-cdash-recovery-table td:not(:first-child) .ci-cdash-recovery-cell {
    align-items: center;
}
.ci-cdash-recovery-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
}
.ci-cdash-recovery-date {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}
.ci-cdash-recovery-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}
.ci-cdash-recovery-metric {
    font-size: 14px;
    color: #111;
    white-space: nowrap;
}
.ci-cdash-recovery-row.is-ongoing {
    background: #fdf7f7;
}
.ci-cdash-recovery-row.is-ongoing td:first-child {
    box-shadow: inset 4px 0 0 var(--ci-cd-red, #900);
}
.ci-cdash-recovery-status {
    white-space: nowrap;
}
.ci-cdash-recovery-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 2px;
}
.ci-cdash-recovery-badge.is-pending {
    color: var(--ci-cd-red, #900);
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}
.ci-cdash-recovery-badge.is-recovered {
    color: var(--ci-cd-red, #900);
    border: 1px solid var(--ci-cd-red, #900);
    background: #fff;
}
@media (max-width: 900px) {
    .ci-cdash-recovery-header {
        flex-direction: column;
    }
    .ci-cdash-recovery-meta {
        white-space: normal;
    }
}

/* =========================================
   MILESTONES TIMELINE
   ========================================= */
.ci-cdash-milestones-timeline {
    position: relative;
    padding: 180px 0;
    margin: 40px 0;
}
.ci-cdash-timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ci-cd-red);
    z-index: 1;
}
.ci-cdash-timeline-points {
    display: flex;
    justify-content: space-around;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 2;
    transform: translateY(-50%);
}
.ci-timeline-point {
    position: relative;
    width: 20%;
    text-align: center;
}
.ci-timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1.5px solid var(--ci-cd-red);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px rgba(139, 21, 56, 0.4);
}
.ci-timeline-dot::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ci-cd-red);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ci-timeline-point:last-child .ci-timeline-dot {
    background: var(--ci-cd-red);
}
.ci-timeline-point:last-child .ci-timeline-dot::after {
    background: #fff;
}
.ci-timeline-content {
    position: absolute;
    width: 100%;
    left: 0;
}
.ci-timeline-top .ci-timeline-content {
    bottom: 40px;
}
.ci-timeline-bottom .ci-timeline-content {
    top: 40px;
}
.ci-timeline-val {
    font-size: 32px;
    font-weight: 500;
    font-family: var(--ci-cd-serif);
    margin-bottom: 4px;
    color: var(--ci-cd-text);
}
.ci-timeline-date {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #555;
}
.ci-timeline-desc {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}
.ci-timeline-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--ci-cd-red);
    text-decoration: none;
}

/* =========================================
   BITCOIN ABOUT PAGE (BESPOKE)
   ========================================= */
.ci-cdash-about-grid-2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
}
@media (min-width: 992px) {
    .ci-cdash-about-grid-2 {
        flex-direction: row;
        gap: 80px;
    }
}
/* Removed outdated ci-cdash-about-glance styles to allow the new stacked layout */
.ci-cdash-about-origins {
    margin-top: 80px;
    margin-bottom: 64px;
}
.ci-cdash-about-origins .ci-cdash__eyebrow {
    color: var(--ci-cd-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}
.ci-cdash-about-origins__intro {
    max-width: 820px;
    margin-bottom: 40px;
}
.ci-cdash-about-origins__intro p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #111;
}
.ci-cdash-about-origins__intro p:last-child {
    margin-bottom: 0;
}
.ci-cdash-about-origins__timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 40px 28px;
}
.ci-cdash-about-origins__line {
    display: none;
}
.ci-cdash-about-origins__milestone {
    position: relative;
    z-index: 1;
    text-align: left;
}
.ci-cdash-about-origins__label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}
.ci-cdash-about-origins__date {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-origins__icon {
    width: 44px;
    height: 44px;
    margin: 0 0 20px;
    border: 1.5px solid var(--ci-cd-red, #900);
    border-radius: 50%;
    background: #fff;
    color: var(--ci-cd-red, #900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ci-cdash-about-origins__icon svg {
    width: 18px;
    height: 18px;
}
.ci-cdash-about-origins__milestone:hover .ci-cdash-about-origins__icon {
    background: var(--ci-cd-red, #900);
    color: #fff;
    transform: scale(1.08);
}
.ci-cdash-about-origins__title,
.ci-cdash-about-origins__date {
    transition: color 0.2s ease;
}
.ci-cdash-about-origins__milestone:hover .ci-cdash-about-origins__title {
    color: var(--ci-cd-red, #900);
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-about-origins__milestone:hover .ci-cdash-about-origins__icon {
        transform: none;
    }
}
.ci-cdash-about-origins__title {
    margin: 0 0 10px;
    font-family: var(--ci-cd-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
}
.ci-cdash-about-origins__milestone p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #333;
    max-width: 280px;
}
@media (min-width: 900px) {
    .ci-cdash-about-origins__timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        padding: 48px 40px 44px;
    }
    .ci-cdash-about-origins__timeline--4-cols {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .ci-cdash-about-origins__line {
        display: block;
        position: absolute;
        /* Align with icon centers: padding + label + date + half icon */
        top: calc(48px + 1.2em + 8px + 1.1em + 16px + 22px);
        left: calc(16.666% + 28px);
        right: calc(16.666% + 28px);
        height: 1.5px;
        background: var(--ci-cd-red, #900);
        z-index: 0;
    }
    .ci-cdash-about-origins__timeline--4-cols .ci-cdash-about-origins__line {
        left: calc(12.5% + 20px);
        right: calc(12.5% + 20px);
    }
    .ci-cdash-about-origins__milestone {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .ci-cdash-about-origins__icon {
        margin: 0 auto 24px;
        position: relative;
        z-index: 1;
    }
    .ci-cdash-about-origins__milestone p {
        max-width: 260px;
    }
}
@media (max-width: 899px) {
    .ci-cdash-about-origins__timeline {
        padding-left: 28px;
    }
    .ci-cdash-about-origins__line {
        display: block;
        position: absolute;
        top: 40px;
        bottom: 40px;
        left: 55px;
        width: 1.5px;
        height: auto;
        background: var(--ci-cd-red, #900);
        z-index: 0;
    }
    .ci-cdash-about-origins__milestone {
        padding-left: 72px;
    }
    .ci-cdash-about-origins__icon {
        position: absolute;
        left: 6px;
        top: 28px;
        width: 44px;
        height: 44px;
        margin: 0;
    }
}

/* Understanding Bitcoin: Evolution + How it Works / Price */
.ci-cdash-about-understand {
    margin-bottom: 64px;
}
.ci-cdash-about-understand .ci-cdash__eyebrow {
    color: var(--ci-cd-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}
.ci-cdash-about-col--split {
    border-left: none;
    padding-left: 0;
}
@media (min-width: 992px) {
    .ci-cdash-about-col--split {
        border-left: 1px solid var(--ci-cd-border, #e5e7eb);
        padding-left: 64px;
    }
}
/* Both columns share one row track per element, so the eyebrows, headings,
   intros and lists start on the same line no matter how long the copy runs. */
@supports (grid-template-rows: subgrid) {
    @media (min-width: 992px) {
        .ci-cdash-custom-grid.ci-cdash-about-understand {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto auto 1fr;
            /* Column gap only: a row gap would push every shared track apart. */
            gap: 0 80px;
        }
        .ci-cdash-about-understand > .ci-cdash-about-col {
            display: grid;
            grid-row: span 4;
            grid-template-rows: subgrid;
            row-gap: 0;
            align-content: start;
        }
    }
}

.ci-cdash-about-prose {
    max-width: 640px;
    margin-bottom: 32px;
}
.ci-cdash-about-prose p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}
.ci-cdash-about-prose p:last-child {
    margin-bottom: 0;
}
.ci-cdash-about-evolution {
    position: relative;
    padding-left: 24px;
    margin-left: 16px;
}
.ci-cdash-about-evolution::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--ci-cd-red, #900);
}
.ci-cdash-about-evolution__item {
    position: relative;
    margin-bottom: 32px;
}
.ci-cdash-about-evolution__item:last-child {
    margin-bottom: 0;
}
.ci-cdash-about-evolution__item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ci-cd-red, #900);
}
.ci-cdash-about-evolution__year {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-evolution__item h3 {
    margin: 0 0 8px;
    font-family: var(--ci-cd-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
}
.ci-cdash-about-evolution__item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}
.ci-cdash-about-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.ci-cdash-about-process__step {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--ci-cd-border, #e5e7eb);
    border-radius: 10px;
    padding: 20px 22px;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ci-cdash-about-process__icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--ci-cd-red, #900);
    border-radius: 50%;
    background: #fdeef1;
    color: var(--ci-cd-red, #900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ci-cdash-about-process__body {
    min-width: 0;
}
.ci-cdash-about-process__num {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ci-cd-red, #900);
    transition: color 0.2s ease;
}
.ci-cdash-about-process__step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    transition: color 0.2s ease;
}
.ci-cdash-about-process__step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    transition: color 0.2s ease;
}
.ci-cdash-about-process__step:hover {
    background: var(--ci-cd-red, #900);
    border-color: var(--ci-cd-red, #900);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(139, 21, 56, 0.18);
}
.ci-cdash-about-process__label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--ci-cd-red);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}
.ci-cdash-about-process__step:hover .ci-cdash-about-process__num,
.ci-cdash-about-process__step:hover strong,
.ci-cdash-about-process__step:hover p,
.ci-cdash-about-process__step:hover .ci-cdash-about-process__label,
.ci-cdash-about-process__step:hover .ci-cdash-about-process__body > span {
    color: #fff !important;
}
.ci-cdash-about-process__step:hover .ci-cdash-about-process__icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-about-process__step:hover {
        transform: none;
    }
}
.ci-cdash-about-price-shape {
    margin-top: 80px;
    margin-bottom: 32px;
    padding-top: 64px;
    border-top: 1px solid var(--ci-cd-border, #e5e7eb);
}
.ci-cdash-about-price-shape .ci-cdash__eyebrow {
    color: var(--ci-cd-red, #900);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}
.ci-cdash-about-price-shape > .ci-cdash-about-prose {
    max-width: 860px;
}
.ci-cdash-about-factors {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0 40px;
}
@media (min-width: 700px) {
    .ci-cdash-about-factors {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1000px) {
    .ci-cdash-about-factors {
        grid-template-columns: repeat(3, 1fr);
    }
}
.ci-cdash-about-price-shape .ci-cdash-about-qa {
    max-width: none;
}
.ci-cdash-about-factor {
    border: 1px solid var(--ci-cd-border, #e5e7eb);
    border-radius: 10px;
    background: #fff;
    padding: 24px 22px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ci-cdash-about-factor__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #fde8e8;
    color: var(--ci-cd-red, #900);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ci-cdash-about-factor h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    transition: color 0.2s ease;
}
.ci-cdash-about-factor p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    transition: color 0.2s ease;
}
.ci-cdash-about-factor:hover {
    background: var(--ci-cd-red, #900);
    border-color: var(--ci-cd-red, #900);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(139, 21, 56, 0.18);
}
.ci-cdash-about-factor:hover h3,
.ci-cdash-about-factor:hover p {
    color: #fff;
}
.ci-cdash-about-factor:hover .ci-cdash-about-factor__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-about-factor:hover {
        transform: none;
    }
}

/* Question blocks are disclosure panels so the section stays scannable. */
.ci-cdash-about-qa {
    margin-bottom: 12px;
    border: 1px solid var(--ci-cd-border, #e5e7eb);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.ci-cdash-about-qa:last-child {
    margin-bottom: 0;
}
.ci-cdash-about-qa__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}
.ci-cdash-about-qa__head::-webkit-details-marker {
    display: none;
}
.ci-cdash-about-qa__head:hover {
    background: #fbf7f8;
}
.ci-cdash-about-qa h3 {
    margin: 0;
    font-family: var(--ci-cd-serif);
    font-size: 20px;
    font-weight: 600;
    color: #111;
    transition: color 0.2s ease;
}
.ci-cdash-about-qa__head:hover h3 {
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-qa__chev {
    display: flex;
    flex: 0 0 auto;
    color: var(--ci-cd-red, #900);
    transition: transform 0.2s ease;
}
.ci-cdash-about-qa[open] .ci-cdash-about-qa__chev {
    transform: rotate(180deg);
}
.ci-cdash-about-qa__body {
    padding: 0 22px 20px;
    border-top: 1px solid var(--ci-cd-border, #e5e7eb);
    padding-top: 16px;
}
.ci-cdash-about-qa p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}
.ci-cdash-about-qa p:last-child {
    margin-bottom: 0;
}
.ci-cdash-about-qa__meta {
    font-size: 12px !important;
    color: #888 !important;
}

/* Using and Selling Bitcoin / Cash Out */
.ci-cdash-about-cashout {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 40px;
    border-top: 1px solid var(--ci-cd-border, #e5e7eb);
}
.ci-cdash-about-cashout .ci-cdash__eyebrow {
    color: var(--ci-cd-red, #900);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
}
.ci-cdash-about-cashout__intro {
    max-width: 860px;
    margin-bottom: 40px;
}
.ci-cdash-about-cashout__flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
}
@media (min-width: 700px) {
    .ci-cdash-about-cashout__flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
@media (min-width: 1100px) {
    .ci-cdash-about-cashout__flow {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        position: relative;
    }
    .ci-cdash-about-cashout__flow::before {
        content: '';
        position: absolute;
        top: 74px;
        left: 12%;
        right: 12%;
        height: 1px;
        background: var(--ci-cd-red, #900);
        z-index: 0;
    }
}
.ci-cdash-about-cashout__step {
    position: relative;
    z-index: 1;
    text-align: left;
    /* The border and padding are reserved up front so revealing the hover card
       does not shift the step or the connector line. */
    padding: 16px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ci-cdash-about-cashout__step:hover {
    background: var(--ci-cd-red, #900);
    border-color: var(--ci-cd-red, #900);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(139, 21, 56, 0.2);
}
.ci-cdash-about-cashout__label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--ci-cd-red);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    margin-top: 12px;
    transition: color 0.2s ease;
}
.ci-cdash-about-cashout__step:hover .ci-cdash-about-cashout__num,
.ci-cdash-about-cashout__step:hover h3,
.ci-cdash-about-cashout__step:hover p,
.ci-cdash-about-cashout__step:hover .ci-cdash-about-cashout__label,
.ci-cdash-about-cashout__step:hover > span {
    color: #fff !important;
}
.ci-cdash-about-cashout__step:hover .ci-cdash-about-cashout__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-about-cashout__step:hover {
        transform: none;
    }
}
@media (min-width: 1100px) {
    .ci-cdash-about-cashout__step {
        text-align: center;
    }
}
.ci-cdash-about-cashout__num {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-cashout__icon {
    width: 64px;
    height: 64px;
    margin: 0 0 16px;
    border-radius: 50%;
    background: #f8eaea;
    color: var(--ci-cd-red, #900);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1100px) {
    .ci-cdash-about-cashout__icon {
        margin-left: auto;
        margin-right: auto;
    }
}
.ci-cdash-about-cashout__step h3 {
    margin: 0 0 8px;
    font-family: var(--ci-cd-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
}
.ci-cdash-about-cashout__step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
}
.ci-cdash-about-cashout__checklist {
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.ci-cdash-about-cashout__checklist-lead {
    max-width: 900px;
    margin: 0 0 28px;
}
.ci-cdash-about-cashout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 800px) {
    .ci-cdash-about-cashout__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.ci-cdash-about-cashout__col {
    padding: 24px 22px;
    border: 1px solid var(--ci-cd-border, #e5e7eb);
    border-radius: 10px;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ci-cdash-about-cashout__col:hover {
    background: var(--ci-cd-red, #900);
    border-color: var(--ci-cd-red, #900);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(139, 21, 56, 0.2);
}
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__col-head {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__col-head h3,
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__item span,
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__item strong,
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__item p,
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__check,
.ci-cdash-about-cashout__col:hover > p,
.ci-cdash-about-cashout__col:hover p {
    color: #fff !important;
}
.ci-cdash-about-cashout__col:hover .ci-cdash-about-cashout__col-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
@media (prefers-reduced-motion: reduce) {
    .ci-cdash-about-cashout__col:hover {
        transform: none;
    }
}
.ci-cdash-about-cashout__col-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ci-cd-border, #e5e7eb);
}
.ci-cdash-about-cashout__col-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8eaea;
    color: var(--ci-cd-red, #900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ci-cdash-about-cashout__col-head h3 {
    margin: 0;
    font-family: var(--ci-cd-serif);
    font-size: 18px;
    font-weight: 600;
    color: #111;
}
.ci-cdash-about-cashout__col > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}
.ci-cdash-about-cashout__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
}
.ci-cdash-about-cashout__item:last-child {
    padding-bottom: 0;
}
.ci-cdash-about-cashout__check {
    flex: 0 0 auto;
    display: flex;
    margin-top: 2px;
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-cashout__item span {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-cd-red, #900);
}
.ci-cdash-about-cashout__item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}
.ci-cdash-about-cashout__tax {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 14px 18px;
    border: 1px solid #f3d9e0;
    border-radius: 10px;
    background: #fdf6f8;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.ci-cdash-about-cashout__tax-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-cd-red, #900);
}

.ci-cdash-factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .ci-cdash-factors-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.ci-cdash-tradeoffs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 32px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 32px;
}
@media (min-width: 768px) {
    .ci-cdash-tradeoffs-container {
        flex-direction: row;
    }
    .ci-cdash-tradeoff-col {
        flex: 1;
    }
}

.ci-cdash-markets__currency-select--small {
    padding: 4px 24px 4px 8px;
    font-size: 13px;
    height: auto;
}
.ci-cdash-markets__currency-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ==========================================================================
   Market subpage interactivity
   Reuses the overview hover language: lift, soft shadow, warm tint.
   ========================================================================== */

.ci-cdash-tech__card,
.ci-cdash-tokenomics__col,
.ci-cdash-markets__tab,
.ci-cdash-markets__expand,
.ci-cdash-markets__tr td,
.ci-cdash-tokenomics__table td,
.ci-cdash-tech__method-num,
.ci-cdash-timeline__marker,
.ci-cdash-tokenomics__chart-wrap,
.ci-cdash-markets__exch-inner img {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
        transform 0.2s ease, box-shadow 0.2s ease;
}

/* Indicator summary cards */
.ci-cdash-tech__card:hover {
    transform: var(--ci-cd-lift);
    box-shadow: var(--ci-cd-shadow);
    border-color: #dcc5cd;
    background-color: #fffbfc;
}

/* Pair-type tabs */
.ci-cdash-markets__tab:hover:not(.is-active) {
    border-color: #8b1538;
    color: #8b1538;
    background-color: #fffbfc;
}

/* Exchange rows (row colouring is handled by the shared table rules below) */
.ci-cdash-markets__tr:hover .ci-cdash-markets__exch-inner img {
    transform: scale(1.12);
}

.ci-cdash-markets__expand:hover {
    transform: translateY(-1px);
}

/* Methodology steps */
.ci-cdash-tech__method-num {
    display: inline-block;
}

.ci-cdash-tech__method-step:hover .ci-cdash-tech__method-num {
    color: #8b1538;
    transform: translateY(-2px);
}

/* Supply and tokenomics columns */
.ci-cdash-tokenomics__col {
    border-radius: 8px;
}

.ci-cdash-tokenomics__col:hover {
    background-color: #fffbfc;
}

.ci-cdash-tokenomics__col--chart:hover .ci-cdash-tokenomics__chart-wrap {
    transform: scale(1.03);
}

/* Halving timeline */
.ci-cdash-timeline__item:hover .ci-cdash-timeline__marker {
    transform: scale(1.35);
    background-color: #8b1538;
}

.ci-cdash-timeline__item:hover .ci-cdash-timeline__content strong {
    color: #8b1538;
}

@media (prefers-reduced-motion: reduce) {
    .ci-cdash-tech__card,
    .ci-cdash-tokenomics__col,
    .ci-cdash-markets__tab,
    .ci-cdash-markets__expand,
    .ci-cdash-markets__tr td,
    .ci-cdash-tokenomics__table td,
    .ci-cdash-tech__method-num,
    .ci-cdash-timeline__marker,
    .ci-cdash-tokenomics__chart-wrap,
    .ci-cdash-markets__exch-inner img {
        transition: none;
    }

    .ci-cdash-tech__card:hover,
    .ci-cdash-markets__expand:hover,
    .ci-cdash-tech__method-step:hover .ci-cdash-tech__method-num,
    .ci-cdash-tokenomics__col--chart:hover .ci-cdash-tokenomics__chart-wrap,
    .ci-cdash-timeline__item:hover .ci-cdash-timeline__marker,
    .ci-cdash-markets__tr:hover .ci-cdash-markets__exch-inner img {
        transform: none;
    }
}

/* ==========================================================================
   Shared coin-page table treatment
   Filled header, and a deep red row highlight with white text on hover.
   ========================================================================== */

.ci-cdash-yearly-table thead th,
.ci-cdash-monthly-grid thead th,
.ci-cdash-recovery-table thead th,
.ci-cdash-markets__table thead th,
.ci-cdash-tokenomics__table thead th {
    background: #8b1538;
    color: #fff;
    border-bottom: 1px solid #8b1538;
}

.ci-cdash-yearly-table thead th a,
.ci-cdash-monthly-grid thead th a,
.ci-cdash-recovery-table thead th a,
.ci-cdash-markets__table thead th a,
.ci-cdash-tokenomics__table thead th a,
.ci-cdash-yearly-table thead th .ci-cdash-th-tip__icon,
.ci-cdash-markets__table thead th .ci-cdash-th-tip__icon {
    color: #fff;
}

.ci-cdash-yearly-table tbody tr:hover td,
.ci-cdash-monthly-grid tbody tr:hover td,
.ci-cdash-recovery-table tbody tr:hover td,
.ci-cdash-markets__table tbody tr:hover td,
.ci-cdash-markets__tr:hover td,
.ci-cdash-tokenomics__table tbody tr:hover td {
    background-color: #8b1538;
    /* Beat inline green/red cell colours so all hover text stays readable. */
    color: #fff !important;
    border-bottom-color: #8b1538;
}

/* Cell contents carry their own colours (change pills, bold values, badges),
   so they need to invert with the row. */
.ci-cdash-yearly-table tbody tr:hover td *,
.ci-cdash-monthly-grid tbody tr:hover td *,
.ci-cdash-recovery-table tbody tr:hover td *,
.ci-cdash-markets__table tbody tr:hover td *,
.ci-cdash-markets__tr:hover td *,
.ci-cdash-tokenomics__table tbody tr:hover td * {
    color: #fff !important;
}

.ci-cdash-yearly-table tbody tr:hover .ci-cdash-yearly-ytd {
    border-color: #fff;
}

/* The recovered badge has a white fill, which hides its now-white label. */
.ci-cdash-recovery-table tbody tr:hover .ci-cdash-recovery-badge.is-recovered {
    background: transparent;
    border-color: #fff;
}

/* The current-year accent bar would otherwise sit on top of the highlight. */
.ci-cdash-yearly-table tbody tr.is-current-year:hover td:first-child::before {
    background: #fff;
}

/* —— Tether market (editorial layout) —— */
.ci-tether-mkt .ci-cdash-kicker,
.ci-tether-mkt .ci-cdash__eyebrow {
  color: var(--ci-cd-red);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ci-tether-mkt__peg {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}
.ci-tether-mkt__peg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 24px;
}
.ci-tether-mkt__peg-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 20px 24px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ci-tether-mkt__peg-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b1538;
  margin: 0 0 8px;
}
.ci-tether-mkt__gauge {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 4px;
}
.ci-tether-mkt__gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}
.ci-tether-mkt__gauge-center {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.ci-tether-mkt__peg-status {
  font-family: var(--ci-cd-sans, 'Inter', system-ui, sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  color: #111;
  line-height: 1.1;
}
.ci-tether-mkt__peg-status.is-on-peg { color: #16a34a; }
.ci-tether-mkt__peg-status.is-watch { color: #ca8a04; }
.ci-tether-mkt__peg-status.is-off-peg { color: #8b1538; }
.ci-tether-mkt__peg-status.is-unknown { color: #9ca3af; }
.ci-tether-mkt__peg-status.is-dominance {
  color: #8b1538;
  font-size: 28px;
  font-weight: 800;
}
.ci-tether-mkt__peg-price {
  font-family: var(--ci-cd-sans, 'Inter', system-ui, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 8px 0 4px;
  line-height: 1.35;
}
.ci-tether-mkt__peg-price--muted {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}
.ci-tether-mkt__peg-meta {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.45;
}
.ci-tether-mkt__method-bar {
  margin-top: 4px;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin: 0;
  cursor: pointer;
  list-style: none;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-summary::-webkit-details-marker,
.ci-tether-mkt__method-bar .ci-cdash-tech__method-summary::marker {
  display: none;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-icon {
  display: flex;
  flex-shrink: 0;
  color: #8b1538;
}
.ci-tether-mkt__method-title {
  flex: 1;
  font-family: var(--ci-cd-sans, 'Inter', system-ui, sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-toggle {
  margin-left: auto;
  display: flex;
  transition: transform 0.2s ease;
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-details[open] .ci-cdash-tech__method-toggle {
  transform: rotate(90deg);
}
.ci-tether-mkt__method-bar .ci-cdash-tech__method-content {
  padding: 0 18px 20px;
  border-top: 1px solid #f1f5f9;
}
.ci-tether-mkt__markets {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
}
.ci-tether-mkt__markets .ci-cdash-markets__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}
.ci-tether-mkt__search-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ci-tether-mkt__search-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.ci-tether-mkt__search {
  min-width: 220px;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
  color: #111;
}
.ci-tether-mkt__markets .ci-cdash-markets__table thead th {
  background: transparent;
  color: #8b1538;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
}
.ci-tether-mkt__markets .ci-cdash-markets__table tbody tr:nth-child(even) td {
  background: #fafafa;
}
/* Even-row background must not beat the maroon hover highlight (white text). */
.ci-tether-mkt__markets .ci-cdash-markets__table tbody tr:hover td,
.ci-tether-mkt__markets .ci-cdash-markets__table tbody tr:nth-child(even):hover td {
  background-color: #8b1538 !important;
  color: #fff !important;
  border-bottom-color: #8b1538;
}
.ci-tether-mkt__markets .ci-cdash-markets__table tbody tr:hover td *,
.ci-tether-mkt__markets .ci-cdash-markets__table tbody tr:nth-child(even):hover td * {
  color: #fff !important;
}
.ci-tether-mkt__markets .is-up { color: #1b5e3b; font-weight: 600; }
.ci-tether-mkt__markets .is-down { color: #8b1538; font-weight: 600; }
.ci-tether-mkt__donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.ci-tether-mkt__donut {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}
.ci-tether-mkt__donut-total {
  font-size: 14px;
  font-weight: 700;
  fill: #111;
}
.ci-tether-mkt__donut-sub {
  font-size: 8px;
  fill: #6b7280;
}
.ci-tether-mkt__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 280px;
  font-size: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 8px;
}
.ci-tether-mkt__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.ci-tether-mkt__legend strong {
  margin-left: auto;
}
.ci-tether-mkt__swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ci-tether-mkt__chain-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #e5e7eb;
}
.ci-tether-mkt__total-row td {
  border-top: 2px solid #111;
  padding-top: 12px;
}
.ci-tether-mkt__growth-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}
.ci-tether-mkt__growth-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.ci-tether-mkt__growth-ranges button {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}
.ci-tether-mkt__growth-ranges button.is-active {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: #111;
}
.ci-tether-mkt__growth-ranges button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ci-tether-mkt__growth-chart-wrap {
  width: 100%;
  min-height: 260px;
  margin-bottom: 16px;
}
.ci-tether-mkt__growth-chart {
  width: 100%;
  height: 260px;
  display: none;
  margin-bottom: 0;
}
.ci-tether-mkt__growth-chart.is-active {
  display: block;
}
.ci-tether-mkt__growth-axis {
  font-size: 9px;
  fill: #9ca3af;
}
.ci-tether-mkt__growth-empty {
  height: 180px;
  display: flex;
  align-items: center;
  color: #9ca3af;
}
.ci-tether-mkt__growth-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.ci-tether-mkt__growth-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}
.ci-tether-mkt__growth-stats span { color: #6b7280; }
.ci-tether-mkt__growth-stats .is-up { color: #1b5e3b; }
.ci-tether-mkt__growth-stats .is-down { color: #8b1538; }
.ci-tether-mkt__reserves {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
}
.ci-tether-mkt__reserve-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.ci-tether-mkt__reserve-metric {
  border: 1px solid #e5e7eb;
  padding: 18px 20px;
  background: #fff;
}
.ci-tether-mkt__reserve-kicker {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.ci-tether-mkt__reserve-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}
.ci-tether-mkt__reserve-metric strong {
  font-family: var(--ci-cd-serif);
  font-size: 26px;
  color: #111;
}
.ci-tether-mkt__reserve-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.ci-tether-mkt__reserve-col--allocation {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ci-tether-mkt__reserve-composition {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.ci-tether-mkt__reserve-composition-title {
  margin: 0 0 16px;
  font-family: var(--ci-cd-serif);
  font-size: 18px;
  font-weight: 600;
  color: #111;
}
.ci-tether-mkt__donut-wrap--reserve {
  margin-top: 4px;
}
.ci-tether-mkt__legend--reserve {
  max-width: 100%;
}
.ci-tether-mkt__attest-panel {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.ci-tether-mkt__attest-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b1538;
}
.ci-tether-mkt__attest-meta {
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ci-tether-mkt__attest-meta div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.ci-tether-mkt__attest-meta div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ci-tether-mkt__attest-meta dt {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}
.ci-tether-mkt__attest-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-align: right;
}
.ci-tether-mkt__transparency-box {
  border: 1px solid #e5e7eb;
  background: #fbf9f6;
  padding: 20px 22px;
}
.ci-tether-mkt__transparency-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}
.ci-tether-mkt__transparency-box p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}
.ci-tether-mkt__transparency-box p:last-child {
  margin-bottom: 0;
}
.ci-tether-mkt__reserve-col--attest .ci-tether-mkt__report-btn {
  margin-top: 16px;
}
.ci-tether-mkt__stack {
  display: flex;
  height: 14px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f3f4f6;
}
.ci-tether-mkt__stack span { display: block; height: 100%; }
.ci-tether-mkt__alloc-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
}
.ci-tether-mkt__alloc-table thead th,
.ci-tether-mkt__alloc-table tbody td,
.ci-tether-mkt__alloc-table tbody td:last-child,
.ci-tether-mkt__alloc-table tbody td:first-child,
.ci-tether-mkt__alloc-table tbody td strong {
  text-align: center !important;
  width: 33.333%;
  padding-left: 8px;
  padding-right: 8px;
}
.ci-tether-mkt__alloc-table thead th {
  background: #8b1538;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  padding-top: 12px;
  padding-bottom: 12px;
}
.ci-tether-mkt__alloc-table tbody td {
  padding-top: 12px;
  padding-bottom: 12px;
  vertical-align: middle;
}
.ci-tether-mkt__report-btn,
.ci-cdash a.ci-tether-mkt__report-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1.5px solid #8b1538;
  border-radius: 4px;
  color: #8b1538;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  background: #fff;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ci-tether-mkt__report-btn:hover,
.ci-tether-mkt__report-btn:focus-visible,
.ci-cdash a.ci-tether-mkt__report-btn:hover,
.ci-cdash a.ci-tether-mkt__report-btn:focus-visible {
  background: #8b1538;
  border-color: #8b1538;
  color: #fff;
}
.ci-tether-mkt__report-btn:hover svg,
.ci-tether-mkt__report-btn:focus-visible svg {
  stroke: #fff;
}
.ci-tether-mkt__reserve-note {
  margin-top: 14px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .ci-tether-mkt__attest-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ci-tether-mkt__attest-meta dd {
    text-align: left;
  }
}
.ci-tether-mkt__method {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 24px;
}
.ci-tether-mkt__method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.ci-tether-mkt__method-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 24px 32px;
  border-right: 1px solid #e5e7eb;
  background: #fff;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ci-tether-mkt__method-card:last-child {
  border-right: none;
}
.ci-tether-mkt__method-num {
  font-family: var(--ci-cd-serif);
  font-size: 28px;
  color: #8b1538;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.ci-tether-mkt__method-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8b1538;
  margin: 0 0 4px;
  transition: color 0.2s ease;
}
.ci-tether-mkt__method-card h3 {
  font-family: var(--ci-cd-serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #111;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.ci-tether-mkt__method-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
  transition: color 0.2s ease;
}
.ci-tether-mkt__method-card:hover {
  background: var(--ci-cd-red, #8b1538);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(139, 21, 56, 0.18);
  z-index: 1;
}
.ci-tether-mkt__method-card:hover .ci-tether-mkt__method-num,
.ci-tether-mkt__method-card:hover .ci-tether-mkt__method-eyebrow,
.ci-tether-mkt__method-card:hover h3,
.ci-tether-mkt__method-card:hover p {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .ci-tether-mkt__method-card:hover {
    transform: none;
  }
}
@media (max-width: 900px) {
  .ci-tether-mkt__peg-grid,
  .ci-tether-mkt__reserve-metrics,
  .ci-tether-mkt__reserve-grid,
  .ci-tether-mkt__method-grid {
    grid-template-columns: 1fr;
  }
  .ci-tether-mkt__method-card {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .ci-tether-mkt__method-card:last-child {
    border-bottom: none;
  }
  .ci-tether-mkt__donut-wrap {
    align-items: center;
  }
  .ci-tether-mkt__donut {
    width: 220px;
    height: 220px;
  }
}

/* Figure HELOC market quality */
.ci-cdash-quality__card .ci-cdash-tech__res {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 12px;
}
.ci-cdash-quality__card .ci-cdash-tech__res.is-active,
.ci-cdash-quality__card .ci-cdash-tech__res.is-strong,
.ci-cdash-quality__card .ci-cdash-tech__res.is-high {
  color: #1b5e3b;
}
.ci-cdash-quality__card .ci-cdash-tech__res.is-limited,
.ci-cdash-quality__card .ci-cdash-tech__res.is-moderate {
  color: #8a5a00;
}
.ci-cdash-quality__card .ci-cdash-tech__res.is-stale,
.ci-cdash-quality__card .ci-cdash-tech__res.is-thin,
.ci-cdash-quality__card .ci-cdash-tech__res.is-low,
.ci-cdash-quality__card .ci-cdash-tech__res.is-not-available {
  color: #8b1538;
}
.ci-cdash-asset-balance__table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 8px;
}
.ci-cdash-asset-balance__table td {
  padding: 12px 8px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

/* —— USDS peg market gauges —— */
.ci-cdash-peg-gauge--position {
  margin: 8px 0 4px;
}
.ci-cdash-peg-gauge__track {
  position: relative;
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #f3f4f6;
}
.ci-cdash-peg-gauge__band {
  display: block;
  height: 100%;
}
.ci-cdash-peg-gauge__band--below,
.ci-cdash-peg-gauge__band--above {
  flex: 1.15;
  background: #f3e8ee;
}
.ci-cdash-peg-gauge__band--near {
  flex: 1;
  background: #e8e8e8;
}
.ci-cdash-peg-gauge__center {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #611f3d;
  transform: translateX(-50%);
}
.ci-cdash-peg-gauge__marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #611f3d;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(97, 31, 61, 0.35);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.ci-cdash-peg-gauge__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ci-cdash-tech__res.is-caution {
  color: #611f3d;
}
.ci-cdash-peg-overall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 4px;
}
.ci-cdash-peg-overall__seg {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  background: #f9fafb;
}
.ci-cdash-peg-overall__seg.is-active[data-seg="stable"] {
  color: #166534;
  border-color: #86efac;
  background: #f0fdf4;
}
.ci-cdash-peg-overall__seg.is-active[data-seg="watch"] {
  color: #92400e;
  border-color: #fcd34d;
  background: #fffbeb;
}
.ci-cdash-peg-overall__seg.is-active[data-seg="elevated"] {
  color: #611f3d;
  border-color: #d4a5b5;
  background: #faf5f7;
}
.ci-cdash-markets__val-dev {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}
.ci-cdash-markets__val-dev.is-discount,
.ci-cdash-markets__val-dev.is-premium,
.ci-cdash-markets__val-dev.is-peg {
  color: #4b5563;
}
.ci-cdash-markets__stale {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #b45309;
}
.ci-cdash-markets__tr.is-stale {
  opacity: 0.85;
}
.ci-cdash-markets__type {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.ci-cdash-markets__val-chg.is-up {
  color: #16a34a;
  font-weight: 600;
}
.ci-cdash-markets__val-chg.is-down {
  color: #8b1538;
  font-weight: 600;
}
.ci-cdash-markets__val-share {
  font-variant-numeric: tabular-nums;
}

/* —— USDS overview peg performance cards —— */
.ci-cdash-perf__cards--usds .ci-cdash-range__stats--usds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.ci-cdash-perf__cards--usds .ci-cdash-range__stat-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.ci-cdash-perf__cards--usds .ci-cdash-range__stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.ci-cdash-perf__cards--usds .ci-cdash-range__prices {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #111;
  line-height: 1.2;
}
.ci-cdash-perf__cards--usds .ci-cdash-range__prices-sep {
  color: #94a3b8;
  font-weight: 600;
}
.ci-cdash-perf__cards--usds [data-period-low].is-below-peg,
.ci-cdash-perf__cards--usds [data-period-high].is-below-peg {
  color: var(--ci-cd-down, #a4161a);
}
.ci-cdash-perf__cards--usds [data-period-low].is-above-peg,
.ci-cdash-perf__cards--usds [data-period-high].is-above-peg {
  color: var(--ci-cd-green, #2d6a4f);
}
.ci-cdash-perf__cards--usds [data-period-dev] .ci-cdash-pill {
  font-size: 12px;
}

/* —— USDS market: peg gauges, methodology accordion, supply cards —— */
.ci-cdash-tech--usds-peg .ci-cdash-peg-gauge--stability {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
}
.ci-cdash-tech--usds-peg .ci-cdash-peg-gauge--stability .ci-cdash-tech__res-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  width: auto;
  pointer-events: none;
}
.ci-cdash-tech--usds-peg .ci-cdash-tech__counts {
  width: 100%;
}
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosDev.is-up,
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosSub.is-up {
  color: var(--ci-cd-green, #16a34a);
}
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosDev.is-down,
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosSub.is-down {
  color: var(--ci-cd-down, #dc2626);
}
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosDev.is-peg,
.ci-cdash-tech--usds-peg #ciCdashUsdsPegPosSub.is-peg {
  color: #6b7280;
}

.ci-cdash-tech__methodology--usds {
  margin-top: 8px;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: 0;
  cursor: pointer;
  list-style: none;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  background: #fff;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-summary::-webkit-details-marker,
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-summary::marker {
  display: none;
  content: "";
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #6b7280;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-chev {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--ci-cd-red, #8b1538);
  transition: transform 0.2s ease;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-details[open] .ci-cdash-tech__method-chev {
  transform: rotate(180deg);
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-content {
  padding: 4px 18px 20px;
  border-top: 1px solid #e5e7eb;
}
.ci-cdash-tech__methodology--usds .ci-cdash-tech__method-intro {
  margin: 16px 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__grid--usds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__col:first-child {
  padding-left: 18px;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__col-title {
  min-height: 0;
  display: block;
  align-items: unset;
  justify-content: unset;
  margin: 0 0 12px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__big {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.25;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__chg {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin: 0 0 12px;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__big.is-up,
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__chg.is-up {
  color: var(--ci-cd-green, #16a34a);
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__big.is-down,
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__chg.is-down {
  color: var(--ci-cd-down, #dc2626);
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__big.is-na,
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__chg.is-na {
  color: #9ca3af;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__meta {
  margin-top: auto;
  color: #6b7280;
}
.ci-cdash-tokenomics--usds .ci-cdash-tokenomics__meta small {
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .ci-cdash-tokenomics--usds .ci-cdash-tokenomics__grid--usds {
    grid-template-columns: 1fr;
  }
}

/* —— Ethena USDe supply + backing (coverage ring + supply/allocation tables) —— */
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px 32px;
  margin-bottom: 20px;
  align-items: stretch;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main > .ci-cdash-tokenomics__col {
  background: transparent;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 0 0 0 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main > .ci-cdash-tokenomics__col:first-child {
  border-left: none;
  padding-left: 0;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__col-title--serif {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--ci-cd-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__surplus {
  text-align: center;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #166534;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__protocol-meta {
  margin: 8px 0 4px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__table td strong {
  font-weight: 600;
  color: #111;
}
@media (max-width: 1100px) {
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main {
    grid-template-columns: 1fr 1fr;
  }
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main > .ci-cdash-tokenomics__col--chart {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    padding-bottom: 8px;
  }
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main > .ci-cdash-tokenomics__col--metrics:first-of-type {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde-main > .ci-cdash-tokenomics__col {
    border-left: none;
    padding-left: 0;
  }
}

/* legacy 2×2 cards (unused; kept for safety) */
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde .ci-cdash-tokenomics__col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__big {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.25;
  text-align: left;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__big.is-na {
  color: #9ca3af;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__meta {
  margin-top: auto;
  color: #6b7280;
}
.ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__meta small {
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .ci-cdash-tokenomics--ethena-usde .ci-cdash-tokenomics__grid--ethena-usde {
    grid-template-columns: 1fr;
  }
}

/* —— Canton burn-mint supply (3-col) —— */
.ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 28px 32px;
  margin-bottom: 12px;
  align-items: stretch;
}
.ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton > .ci-cdash-tokenomics__col {
  background: transparent;
  border: none;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 0 0 0 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton > .ci-cdash-tokenomics__col:first-child {
  border-left: none;
  padding-left: 0;
}
.ci-cdash-tokenomics--canton .ci-cdash-tokenomics__col-title--serif {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--ci-cd-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
}
.ci-cdash-tokenomics--canton .ci-cdash-tokenomics__chart-meta strong {
  display: block;
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton {
    grid-template-columns: 1fr 1fr;
  }
  .ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton > .ci-cdash-tokenomics__col--chart {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  .ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton {
    grid-template-columns: 1fr;
  }
  .ci-cdash-tokenomics--canton .ci-cdash-tokenomics__grid--canton > .ci-cdash-tokenomics__col {
    border-left: none;
    padding-left: 0;
  }
}

/* —— LEO burn-based supply cards —— */
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__header h2 {
  background: none;
  box-shadow: none;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__grid--leo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__col:first-child {
  padding-left: 18px;
  border-left: 1px solid #e5e7eb;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__col:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
  border-color: #d1d5db;
  background: #fff;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__col-title {
  min-height: 0;
  display: block;
  align-items: unset;
  justify-content: unset;
  margin: 0 0 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__big {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__big--model {
  letter-spacing: 0.04em;
  color: var(--ci-cd-red, #8b1538);
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__big.is-na {
  color: #9ca3af;
  font-weight: 600;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__meta {
  margin-top: auto;
  color: #6b7280;
}
.ci-cdash-tokenomics--leo .ci-cdash-tokenomics__meta small {
  font-size: 12px;
  line-height: 1.45;
  display: block;
}
.ci-cdash-tokenomics--leo .ci-cdash-tech__method-box {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .ci-cdash-tokenomics--leo .ci-cdash-tokenomics__grid--leo {
    grid-template-columns: 1fr;
  }
}

/* —— USDS price history —— */
.ci-cdash-chart--usds-history .ci-cdash-history-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}
.ci-cdash-chart--usds-history .ci-cdash-history-chart-copy {
  flex: 1;
  min-width: 280px;
}
.ci-cdash-chart--usds-history .ci-cdash-history-chart-copy p {
  font-size: 14px;
  color: var(--ci-cd-text);
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
}
.ci-cdash-chart--usds-history .ci-cdash-history-chart-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}
.ci-cdash-chart--usds-history .ci-cdash-history-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ci-cd-muted);
}
.ci-cdash-chart--usds-history .ci-cdash-history-legend__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(97, 31, 61, 0.1);
  border: 1px solid #611f3d;
  vertical-align: middle;
}
.ci-cdash-records-strip--usds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ci-cdash-records-strip--usds .ci-cdash-records-strip__item {
  min-height: 168px;
}
.ci-cdash-records-strip--usds .ci-cdash-records-strip__value.is-up {
  color: var(--ci-cd-green, #16a34a);
}
.ci-cdash-records-strip--usds .ci-cdash-records-strip__value.is-down {
  color: var(--ci-cd-down, #dc2626);
}
.ci-cdash-records-strip--usds .ci-cdash-records-strip__note {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
}

/* WhiteBIT price records — spaced 3×2 card grid */
.ci-cdash-records-strip.ci-cdash-records-strip--wbt {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding-top: 8px;
  border-top: none;
  border-bottom: none;
}
.ci-cdash-highlights-section:has(.ci-cdash-records-strip--wbt) .ci-cdash-yearly-table-titles {
  margin-bottom: 8px;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__item {
  min-height: 176px;
  padding: 24px 22px 22px;
  gap: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: none;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__item:hover {
  transform: translateY(-2px);
  border-color: #dcc8cf;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__label {
  min-height: 2.7em;
  margin-bottom: 2px;
  color: #6b6b6b;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__value {
  font-size: clamp(1.45rem, 1.9vw, 1.75rem);
  margin: 4px 0 2px;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__value.is-up {
  color: var(--ci-cd-green, #16a34a);
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__value.is-down {
  color: var(--ci-cd-down, #b42318);
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__item:hover .ci-cdash-records-strip__value {
  color: #111;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__item:hover .ci-cdash-records-strip__value.is-up {
  color: var(--ci-cd-green, #16a34a);
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__item:hover .ci-cdash-records-strip__value.is-down {
  color: var(--ci-cd-down, #b42318);
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__meta {
  margin-top: 4px;
  font-size: 13px;
  color: #555;
}
.ci-cdash-records-strip--wbt .ci-cdash-records-strip__note {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8a8a;
}
@media (max-width: 980px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--wbt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 560px) {
  .ci-cdash-records-strip.ci-cdash-records-strip--wbt {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ci-cdash-records-strip--wbt .ci-cdash-records-strip__item {
    min-height: 0;
    padding: 20px 18px;
  }
  .ci-cdash-records-strip--wbt .ci-cdash-records-strip__label {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .ci-cdash-records-strip--usds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ci-cdash-chart--usds-history .ci-cdash-history-chart-controls {
    align-items: flex-start;
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  .ci-cdash-records-strip--usds {
    grid-template-columns: 1fr;
  }
}

.ci-cdash-tech__res--leaning-bull { color: #22c55e; }
.ci-cdash-tech__res--leaning-bear { color: #ef4444; }

.ci-cdash-recovery-row.is-ongoing td {
    background-color: #fdf5f6;
}
.ci-cdash-recovery-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ci-cdash-recovery-badge.is-ongoing {
    background-color: #fce8eb;
    color: var(--ci-cd-red);
}
.ci-cdash-recovery-badge.is-recovered {
    background-color: #e8f5e9;
    color: var(--ci-cd-green);
}


/* ——— Tether price-history (peg chart) ——— */
.ci-cdash-chart--tether-history {
  margin-top: 8px;
}
.ci-cdash-chart--tether-history .ci-cdash-history-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.ci-cdash-chart--tether-history .ci-cdash-history-chart-copy {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 640px;
}
.ci-cdash-chart--tether-history .ci-cdash-history-chart-copy h2 {
  font-family: var(--ci-cd-serif);
  font-size: 28px;
  color: #111;
  margin: 8px 0 12px;
}
.ci-cdash-chart--tether-history .ci-cdash-history-chart-copy p {
  font-family: var(--ci-cd-sans);
  font-size: 15px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}
.ci-tether-hist__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
}
.ci-tether-hist__controls .ci-cdash-tf button {
  min-height: 34px;
}
.ci-tether-hist__chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 4px;
  padding-bottom: 0;
}
.ci-tether-hist__ctrl-label,
.ci-tether-hist__controls .ci-cdash-ccy > label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ci-cd-muted, #6b7280);
}
.ci-tether-hist__peg-ref {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--ci-cd-border, #e5e7eb);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}
.ci-tether-hist__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0;
  font-size: 12px;
  color: var(--ci-cd-muted, #6b7280);
}
.ci-tether-hist__dev-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ci-cd-muted, #6b7280);
  max-width: 720px;
  line-height: 1.5;
}
.ci-tether-hist__leg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ci-tether-hist__leg-line {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2.5px solid #611f3d;
}
.ci-tether-hist__leg-peg {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 1.5px dashed #555555;
}
.ci-tether-hist__leg-band {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 1px dashed #d4d4d8;
}
.ci-tether-hist__leg-vol {
  display: inline-block;
  width: 12px;
  height: 10px;
  background: rgba(97, 31, 61, 0.28);
  vertical-align: middle;
}
.ci-tether-hist__dev-toggle {
  margin: 0;
  cursor: pointer;
}
.ci-tether-hist__dev-toggle input {
  pointer-events: auto;
}
.ci-cdash-chart--tether-history .ci-cdash-chart__canvas {
  height: 560px;
  background: #fff;
  border: 1px solid var(--ci-cd-border, #e8e8e8);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ci-cdash-chart--tether-history .ci-cdash-chart__canvas::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ci-cdash-chart--tether-history .ci-cdash-chart__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
}
.ci-cdash-chart--tether-history .ci-cdash-chart__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ci-cd-muted, #6b7280);
}
.ci-cdash-chart--tether-history.is-fs {
  position: fixed;
  inset: 0;
  z-index: 10040;
  margin: 0;
  padding: 24px;
  background: #fff;
  overflow: auto;
}
.ci-cdash-chart--tether-history.is-fs .ci-cdash-chart__canvas {
  height: calc(100vh - 220px);
}
.ci-tether-hist__tip {
  position: absolute;
  z-index: 5;
  min-width: 180px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.45;
  color: #374151;
  pointer-events: none;
  white-space: nowrap;
}
.ci-tether-hist__tip strong {
  display: block;
  margin-bottom: 4px;
  color: #111;
}
.ci-tether-hist__tip .is-down { color: var(--ci-cd-red, #8b1538); font-weight: 600; }
.ci-tether-hist__tip .is-up { color: var(--ci-cd-green, #1b5e3b); font-weight: 600; }

@media (max-width: 900px) {
  .ci-cdash-chart--tether-history .ci-cdash-chart__canvas {
    height: 380px;
  }
  .ci-tether-hist__controls {
    justify-content: flex-start;
  }
}

/* ——— Tether About: Reserves & Transparency panel ——— */
.ci-tether-about-reserves__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.ci-tether-about-reserves__col {
  padding: 28px 24px 32px;
  border-right: 1px solid #e5e7eb;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ci-tether-about-reserves__col:last-child {
  border-right: none;
}
.ci-tether-about-reserves__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ci-tether-about-reserves__num {
  font-family: var(--ci-cd-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: #8b1538;
  transition: color 0.2s ease;
}
.ci-tether-about-reserves__icon {
  display: inline-flex;
  color: #8b1538;
  transition: color 0.2s ease;
}
.ci-tether-about-reserves__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b1538;
  transition: color 0.2s ease;
}
.ci-tether-about-reserves__col h3 {
  margin: 0 0 10px;
  font-family: var(--ci-cd-serif);
  font-size: 20px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.ci-tether-about-reserves__col > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
  transition: color 0.2s ease;
}
.ci-tether-about-reserves__col:hover {
  background: var(--ci-cd-red, #8b1538);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(139, 21, 56, 0.18);
  z-index: 1;
}
.ci-tether-about-reserves__col:hover .ci-tether-about-reserves__num,
.ci-tether-about-reserves__col:hover .ci-tether-about-reserves__icon,
.ci-tether-about-reserves__col:hover .ci-tether-about-reserves__eyebrow,
.ci-tether-about-reserves__col:hover h3,
.ci-tether-about-reserves__col:hover > p:last-child {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .ci-tether-about-reserves__col:hover {
    transform: none;
  }
}
@media (max-width: 900px) {
  .ci-tether-about-reserves__panel {
    grid-template-columns: 1fr;
  }
  .ci-tether-about-reserves__col {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .ci-tether-about-reserves__col:last-child {
    border-bottom: none;
  }
}

/* Tether market: Peg Analysis + Reserves layout */
.ci-tether-mkt__peg .ci-tether-mkt__peg-head,
.ci-tether-mkt__peg .ci-tether-mkt__peg-head > div:first-child {
  max-width: none;
  width: 100%;
}
.ci-tether-mkt__peg-lead {
  max-width: none !important;
  width: 100%;
}
.ci-tether-mkt__method-box .ci-cdash-tech__method-panel[hidden] {
  display: none !important;
}
.ci-tether-mkt__method-box .ci-cdash-tech__method-panel:not([hidden]) {
  max-height: none !important;
  overflow: visible;
}
.ci-tether-mkt__reserve-asof {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #8b1538;
}
.ci-tether-mkt__reserve-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
}
.ci-tether-mkt__reserve-metric {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}
.ci-tether-mkt__reserve-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fde8e8;
  color: #8b1538;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ci-tether-mkt__reserve-metric-body {
  min-width: 0;
}
.ci-tether-mkt__reserve-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}
.ci-tether-mkt__reserve-metric strong {
  font-family: var(--ci-cd-serif);
  font-size: 28px;
  font-weight: 600;
  color: #111;
  line-height: 1.15;
}
.ci-tether-mkt__reserve-col-sub {
  margin: -8px 0 16px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.ci-tether-mkt__reserve-col .ci-cdash-tokenomics__col-title {
  justify-content: flex-start;
  text-align: left;
  min-height: 0;
  margin-bottom: 8px;
}
.ci-tether-mkt__alloc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.ci-tether-mkt__stack {
  display: flex;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 18px;
  background: #f3f4f6;
}
.ci-tether-mkt__stack > span {
  display: block;
  height: 100%;
}
/* report-btn styles consolidated above (ensure white text on red hover) */
.ci-tether-mkt__transparency-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #8b1538;
}
.ci-tether-mkt__transparency-head .ci-tether-mkt__transparency-title {
  margin: 0;
}
.ci-tether-mkt__growth-col .ci-cdash-tokenomics__table-meta {
  text-align: left;
  color: #9ca3af;
  background: transparent;
  border: 0;
  padding: 12px 0 0;
  box-shadow: none;
}
@media (max-width: 900px) {
  .ci-tether-mkt__reserve-metrics,
  .ci-tether-mkt__reserve-grid {
    grid-template-columns: 1fr;
  }
}
