.cryptonisation-altcoin-season {
  --cas-bg: #ffffff;
  --cas-section-bg: #f9fbff;
  --cas-card-bg: #ffffff;
  --cas-text: #292b2d;
  --cas-title: #1f2937;
  --cas-muted: #6b7280;
  --cas-border: #e9eef0;
  --cas-accent: #2563eb;
  --cas-accent-dark: #111827;
  --cas-bitcoin: #f59e0b;
  --cas-neutral: #6b7280;
  --cas-altcoin: #15803d;
  background: var(--cas-bg);
  border: 1px solid #e8ecf3;
  border-radius: 12px;
  color: var(--cas-text);
  margin: 16px 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 16px;
}

.cryptonisation-altcoin-season__section + .cryptonisation-altcoin-season__section {
  margin-top: 0;
}

.cryptonisation-altcoin-season__section-heading {
  align-items: center;
  display: flex;
}

.cryptonisation-altcoin-season__section-heading-main {
  max-width: 100%;
  min-width: 0;
}

.cryptonisation-altcoin-season__section-heading-copy {
  min-width: 0;
}

.cryptonisation-altcoin-season__section-heading-copy .cryptonisation-altcoin-season__info-tooltip {
  vertical-align: middle;
}

.cryptonisation-altcoin-season__title-with-tooltip {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.cryptonisation-altcoin-season__title-with-tooltip .cryptonisation-altcoin-season__label {
  margin-bottom: 0;
}

.cryptonisation-altcoin-season__title-with-tooltip .cryptonisation-altcoin-season__info-tooltip {
  margin-left: 0;
  margin-top: 0;
}

.cryptonisation-altcoin-season__notice,
.cryptonisation-altcoin-season__noscript,
.cryptonisation-altcoin-season__chart {
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 12px;
}

.cryptonisation-altcoin-season__notice {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  margin-bottom: 12px;
}

.cryptonisation-altcoin-season__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #991b1b;
  padding: 14px;
}

.cryptonisation-altcoin-season__error p {
  margin: 8px 0 0;
}

.cryptonisation-altcoin-season__error-details {
  border-top: 1px solid #fecaca;
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  margin-top: 10px;
  padding-top: 10px;
  word-break: break-word;
}

.cryptonisation-altcoin-season__noscript {
  background: #f9fafb;
  color: var(--cas-muted);
  margin-top: 12px;
}

.cryptonisation-altcoin-season__chart {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-style: dashed;
  color: var(--cas-muted);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

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

.cryptonisation-altcoin-season__card {
  background: var(--cas-section-bg);
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  min-height: 0;
  padding: 12px;
}

.cryptonisation-altcoin-season__card-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.cryptonisation-altcoin-season__card--wide {
  grid-column: 1 / -1;
}

.cryptonisation-altcoin-season__label {
  color: var(--cas-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cryptonisation-altcoin-season__value {
  color: var(--cas-title);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.cryptonisation-altcoin-season__status-card {
  position: relative;
}

.cryptonisation-altcoin-season__status-card--bitcoin {
  background: var(--cas-section-bg);
}

.cryptonisation-altcoin-season__status-card--neutral {
  background: var(--cas-section-bg);
}

.cryptonisation-altcoin-season__status-card--altcoin {
  background: var(--cas-section-bg);
}

.cryptonisation-altcoin-season__status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 0;
  padding: 4px 10px;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__status-badge--bitcoin {
  background: var(--cas-bitcoin);
  color: #ffffff;
}

.cryptonisation-altcoin-season__status-badge--neutral {
  background: var(--cas-neutral);
  color: #ffffff;
}

.cryptonisation-altcoin-season__status-badge--altcoin {
  background: var(--cas-altcoin);
  color: #ffffff;
}

.cryptonisation-altcoin-season__status-description {
  color: var(--cas-muted);
  font-size: 14px;
  margin-top: 12px;
}

.cryptonisation-altcoin-season__summary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cryptonisation-altcoin-season__summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cryptonisation-altcoin-season__summary-list--compact {
  margin-top: 12px;
}

.cryptonisation-altcoin-season__summary-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.cryptonisation-altcoin-season__summary-name {
  color: var(--cas-title);
  font-size: 14px;
  font-weight: 500;
}

.cryptonisation-altcoin-season__summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cryptonisation-altcoin-season__summary-date {
  color: var(--cas-muted);
  font-size: 14px;
}

.cryptonisation-altcoin-season__status-metric-value {
  color: var(--cas-title);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__plain-heading {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0 0 12px;
}

.cryptonisation-altcoin-season__status-history-value {
  color: var(--cas-title);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.cryptonisation-altcoin-season__score-chip {
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-width: 54px;
  justify-content: center;
  padding: 4px 10px;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__score-chip--bitcoin {
  background: var(--cas-bitcoin);
}

.cryptonisation-altcoin-season__score-chip--neutral {
  background: var(--cas-neutral);
}

.cryptonisation-altcoin-season__score-chip--altcoin {
  background: var(--cas-altcoin);
}

.cryptonisation-altcoin-season__meta {
  color: var(--cas-muted);
  font-size: 13px;
  margin-top: 8px;
}

.cryptonisation-altcoin-season__info-tooltip {
  align-self: center;
  cursor: help;
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  margin-left: 0;
  position: relative;
  vertical-align: middle;
}

.cryptonisation-altcoin-season__info-tooltip[data-tooltip-open="true"] {
  overflow: visible;
}

.cryptonisation-altcoin-season__info-icon {
  align-items: center;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  color: var(--cas-accent);
  cursor: help;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  line-height: 1;
  width: 18px;
}

.cryptonisation-altcoin-season__info-tooltip-content {
  background: rgba(17, 24, 39, 0.96);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  left: 0;
  line-height: 1.25;
  max-width: min(360px, calc(100vw - 24px));
  min-width: min(220px, calc(100vw - 24px));
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateY(6px);
  transition: opacity 0.18s ease;
  visibility: hidden;
  white-space: normal;
  width: max(220px, 32ch);
  z-index: 10;
}

.cryptonisation-altcoin-season__info-tooltip[data-tooltip-open="true"] > .cryptonisation-altcoin-season__info-tooltip-content {
  opacity: 1;
  visibility: visible;
}

.cryptonisation-altcoin-season__scale {
  padding-top: 46px;
}

.cryptonisation-altcoin-season__scale-track {
  display: grid;
  grid-template-columns: 25fr 49fr 26fr;
  height: 16px;
  overflow: visible;
  position: relative;
}

.cryptonisation-altcoin-season__scale-zone {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 11px;
  justify-content: center;
}

.cryptonisation-altcoin-season__scale-zone--bitcoin {
  background: var(--cas-bitcoin);
  border-radius: 999px 0 0 999px;
}

.cryptonisation-altcoin-season__scale-zone--neutral {
  background: var(--cas-neutral);
}

.cryptonisation-altcoin-season__scale-zone--altcoin {
  background: var(--cas-altcoin);
  border-radius: 0 999px 999px 0;
}

.cryptonisation-altcoin-season__scale-marker {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  position: absolute;
  top: -42px;
  transform: translateX(-50%);
}

.cryptonisation-altcoin-season__scale-marker::after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--cas-accent-dark);
  content: "";
  display: inline-block;
}

.cryptonisation-altcoin-season__scale-marker-label {
  background: var(--cas-accent-dark);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.16);
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
}

.cryptonisation-altcoin-season__scale-labels {
  color: var(--cas-muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 10px;
}

.cryptonisation-altcoin-season__chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cryptonisation-altcoin-season__timeframe-button,
.cryptonisation-altcoin-season__button {
  background: #ffffff;
  border: 1px solid var(--cas-border);
  border-radius: 8px;
  color: var(--cas-title);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.cryptonisation-altcoin-season__timeframe-button--active,
.cryptonisation-altcoin-season__timeframe-button:hover,
.cryptonisation-altcoin-season__button:hover {
  background: var(--cas-accent);
  border-color: var(--cas-accent);
  color: #ffffff;
}

.cryptonisation-altcoin-season__button {
  display: block;
  margin: 16px auto 0;
}

.cryptonisation-altcoin-season__distribution-scale {
  display: flex;
  flex-direction: column;
  padding-block: 10px;
}

.cryptonisation-altcoin-season__distribution-track {
  background: #f3f4f6;
  border-radius: 999px;
  display: flex;
  height: 16px;
  overflow: hidden;
}

.cryptonisation-altcoin-season__distribution-segment {
  align-items: center;
  display: flex;
  flex-basis: 0;
  justify-content: center;
  min-width: 0;
  padding: 0 10px;
}

.cryptonisation-altcoin-season__distribution-segment--positive {
  background: #15803d;
  border-radius: 999px 0 0 999px;
}

.cryptonisation-altcoin-season__distribution-segment--negative {
  background: #f59e0b;
  border-radius: 0 999px 999px 0;
}

.cryptonisation-altcoin-season__distribution-value {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__distribution-labels {
  color: var(--cas-muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 10px;
}

.cryptonisation-altcoin-season__distribution-label {
  text-align: center;
}

.cryptonisation-altcoin-season__composition-stack {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cryptonisation-altcoin-season__composition-card-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.cryptonisation-altcoin-season__composition-card-heading .cryptonisation-altcoin-season__label {
  margin-bottom: 0;
}

.cryptonisation-altcoin-season__composition-toggle {
  display: flex;
  margin-top: 12px;
  margin-inline: auto;
  width: auto;
}

.cryptonisation-altcoin-season__composition-toggle--desktop {
  background: var(--cas-accent);
  border-color: var(--cas-accent);
  color: #ffffff;
}

.cryptonisation-altcoin-season__composition-toggle--mobile {
  display: none;
  margin-inline: auto;
}

.cryptonisation-altcoin-season__chart-empty {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.cryptonisation-altcoin-season__chart-empty[hidden] {
  display: none;
}

.cryptonisation-altcoin-season__chart-svg {
  display: block;
  aspect-ratio: 800 / 360;
  height: auto;
  width: 100%;
}

.cryptonisation-altcoin-season__chart-grid-line {
  stroke: #e1e7f0;
  stroke-width: 1;
}

.cryptonisation-altcoin-season__chart-zone {
  opacity: 0.12;
}

.cryptonisation-altcoin-season__chart-zone--bitcoin {
  fill: var(--cas-bitcoin);
}

.cryptonisation-altcoin-season__chart-zone--neutral {
  fill: var(--cas-neutral);
}

.cryptonisation-altcoin-season__chart-zone--altcoin {
  fill: var(--cas-altcoin);
}

.cryptonisation-altcoin-season__chart-area {
  fill: rgba(37, 99, 235, 0.14);
}

.cryptonisation-altcoin-season__chart-line {
  fill: none;
  stroke: var(--cas-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.cryptonisation-altcoin-season__chart-point {
  fill: var(--cas-accent);
}

.cryptonisation-altcoin-season__chart-point-hit {
  cursor: pointer;
  fill: transparent;
}

.cryptonisation-altcoin-season__chart-axis-label {
  fill: var(--cas-muted);
  font-size: 11px;
}

.cryptonisation-altcoin-season__chart-tooltip {
  background: rgba(17, 24, 39, 0.92);
  border-radius: 8px;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 12px;
  left: 0;
  max-width: min(220px, calc(100% - 16px));
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
  white-space: normal;
  word-break: break-word;
  z-index: 2;
}

.cryptonisation-altcoin-season__composition-head,
.cryptonisation-altcoin-season__composition-item {
  column-gap: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(56px, 0.55fr) minmax(128px, 1fr);
}

.cryptonisation-altcoin-season__composition-head {
  background: #e4ecf8;
  border-bottom: 1px solid var(--cas-border);
  border-radius: 8px 8px 0 0;
  color: var(--cas-text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
}

.cryptonisation-altcoin-season__composition-cell--align-right {
  text-align: right;
}

.cryptonisation-altcoin-season__composition-list {
  display: grid;
  gap: 0;
}

.cryptonisation-altcoin-season__composition-item {
  align-items: center;
  border-bottom: 1px solid var(--cas-border);
  padding: 10px 12px;
}

.cryptonisation-altcoin-season__composition-item:last-child {
  border-bottom: none;
}

.cryptonisation-altcoin-season__composition-cell {
  color: var(--cas-title);
  font-size: 14px;
  line-height: 1.35;
  min-width: 0;
}

.cryptonisation-altcoin-season__composition-cell--coin {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.cryptonisation-altcoin-season__composition-cell--return-group {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__composition-return-value {
  font-weight: 700;
  white-space: nowrap;
}

.cryptonisation-altcoin-season__composition-return-value--primary {
  color: var(--cas-title);
}

.cryptonisation-altcoin-season__composition-return-value--secondary {
  font-weight: 600;
}

.cryptonisation-altcoin-season__composition-return-value--positive {
  color: #15803d;
}

.cryptonisation-altcoin-season__composition-return-value--negative {
  color: #f59e0b;
}

.cryptonisation-altcoin-season__timeline {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  margin-top: 16px;
}

.cryptonisation-altcoin-season__timeline-dot {
  border-radius: 999px;
  display: block;
  height: 10px;
  width: 100%;
}

.cryptonisation-altcoin-season__timeline-dot--bitcoin {
  background: var(--cas-bitcoin);
}

.cryptonisation-altcoin-season__timeline-dot--neutral {
  background: var(--cas-neutral);
}

.cryptonisation-altcoin-season__timeline-dot--altcoin {
  background: var(--cas-altcoin);
}

.cryptonisation-altcoin-season__table-wrap {
  overflow-x: auto;
}

.cryptonisation-altcoin-season__table {
  background: var(--cas-card-bg);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.cryptonisation-altcoin-season__table th,
.cryptonisation-altcoin-season__table td {
  border: none;
  font-size: 14px;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.cryptonisation-altcoin-season__table tbody tr + tr td {
  border-top: 1px solid var(--cas-border);
}

.cryptonisation-altcoin-season__table tbody tr:last-child td {
  border-bottom: 1px solid var(--cas-border);
}

.cryptonisation-altcoin-season__table th {
  background: #e4ecf8;
  border-bottom: 1px solid var(--cas-border);
  color: var(--cas-text);
  font-size: 16px;
  font-weight: 500;
}

.cryptonisation-altcoin-season__card--excluded .cryptonisation-altcoin-season__value {
  font-weight: 400;
}

@media (max-width: 900px) {
  .cryptonisation-altcoin-season__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cryptonisation-altcoin-season__composition-stack {
    grid-template-columns: 1fr;
  }

  .cryptonisation-altcoin-season__composition-toggle--desktop {
    display: none;
  }

  .cryptonisation-altcoin-season__composition-toggle--mobile {
    background: var(--cas-accent);
    border-color: var(--cas-accent);
    color: #ffffff;
    display: block;
  }
}

@media (max-width: 640px) {
  .cryptonisation-altcoin-season {
    padding: 12px;
  }

  .cryptonisation-altcoin-season__grid {
    grid-template-columns: 1fr;
  }

  .cryptonisation-altcoin-season__card--chart {
    padding: 8px;
  }

  .cryptonisation-altcoin-season__chart {
    min-height: 200px;
    padding: 8px;
  }

  .cryptonisation-altcoin-season__chart-svg {
    aspect-ratio: 16 / 11;
  }

  .cryptonisation-altcoin-season__scale {
    padding-top: 52px;
  }

  .cryptonisation-altcoin-season__scale-zone {
    font-size: 10px;
  }

  .cryptonisation-altcoin-season__scale-labels {
    font-size: 11px;
    gap: 8px;
  }

  .cryptonisation-altcoin-season__chart-tooltip {
    font-size: 11px;
    max-width: calc(100% - 12px);
    padding: 6px 8px;
  }

  .cryptonisation-altcoin-season__distribution-segment {
    padding-inline: 6px;
  }

  .cryptonisation-altcoin-season__distribution-value,
  .cryptonisation-altcoin-season__distribution-label {
    font-size: 11px;
  }

  .cryptonisation-altcoin-season__composition-head,
  .cryptonisation-altcoin-season__composition-item {
    column-gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(40px, 0.4fr) minmax(124px, 1fr);
  }

  .cryptonisation-altcoin-season__composition-head,
  .cryptonisation-altcoin-season__composition-cell {
    font-size: 12px;
  }

  .cryptonisation-altcoin-season__composition-head .cryptonisation-altcoin-season__composition-cell--align-right {
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .cryptonisation-altcoin-season__info-tooltip-content {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .cryptonisation-altcoin-season__timeline {
    grid-template-columns: repeat(15, minmax(0, 1fr));
  }
}
