/**
 * Statistik-Seiten (/statistiken/…): Übersicht und Werkzeuge. Präfix kst-, Bausteine aus kb-ui.css.
 */

/* Kopf aller Statistik-Seiten (einheitlich, 16.10.2026): links die Kennzahl-Kachel (Überschrift, großer Wert,
   Status-Chip, Grafik, Fußnote) auf grauer Fläche, rechts die Werte-Liste (Bezeichnung | Wert | Zusatz) */
.kst-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 20px;
}
.kst-gauge,
.kst-rsi-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 22px 20px;
    border-radius: var(--kb-radius);
    background: var(--kb-bg-soft);
    text-align: center;
}
.kst-gauge figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.kst-gauge .kb-label,
.kst-rsi-now .kb-label {
    margin: 0;
}
.kst-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--kb-bg);
    box-shadow: inset 0 0 0 1px var(--kb-border);
    color: var(--kb-text);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.kst-status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kst-c, var(--kb-faint));
}
.kst-meter {
    align-self: stretch;
    height: 10px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--kb-border);
}
.kst-meter > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--kb-accent);
}
.kst-meter-caption {
    font-size: 0.8125rem;
    color: var(--kb-muted);
}

/* Werte-Liste rechts: drei feste Spalten, damit alle Seiten gleich ausgerichtet sind */
.kst-fact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(6.5rem, auto);
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--kb-border);
}
/* Alle Zeilen teilen dieselben Spalten (Werte und Zusätze stehen bündig untereinander) */
@supports (grid-template-columns: subgrid) {
    .kst-compare {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-content: start;
    }
    .kst-compare > * {
        grid-column: 1 / -1;
    }
    .kst-compare > .kst-fact {
        grid-template-columns: subgrid;
    }
}
.kst-fact-label {
    color: var(--kb-muted);
}
.kst-fact-value {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}
.kst-fact-value strong {
    font-size: 1.0625rem;
    font-variant-numeric: tabular-nums;
}
.kst-fact-value .kst-dot {
    margin: 0;
}
.kst-fact-zone {
    min-width: 7.5em;
    color: var(--kb-text);
    text-align: left;
}
.kst-fact-note {
    text-align: right;
    color: var(--kb-muted);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .kst-compare {
        display: block;
    }
    .kst-fact,
    .kst-compare > .kst-fact {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 12px;
    }
    .kst-fact-note {
        grid-column: 2;
    }
    .kst-fact-note:empty {
        display: none;
    }
    .kst-fact-zone {
        min-width: 0;
    }
}
.kst-gauge svg {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}
.kst-gauge-arc {
    fill: none;
    stroke-width: 16;
    opacity: 0.35;
}
.kst-gauge-arc.is-active {
    opacity: 1;
}
.kst-gauge-needle {
    stroke: var(--kb-text);
    stroke-width: 4;
    stroke-linecap: round;
}
.kst-gauge-hub {
    fill: var(--kb-text);
}
.kst-gauge figcaption {
    margin-top: -6px;
}
.kst-gauge-value {
    display: block;
    font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--kb-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.kst-gauge-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kb-text);
}

.kst-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.kst-meta {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    color: var(--kb-muted);
    line-height: 1.6;
}
.kst-meta a {
    color: inherit;
}
.kst-jumps {
    margin-top: 20px;
}

/* Einordnung */
.kst-verdict p {
    line-height: 1.7;
}
/* Knopftext nie umbrechen (Nutzerentscheidung 06.10.2026): gleich breit nebeneinander, passt es nicht, rutscht der
   Knopf in die nächste Zeile */
.kst-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.kst-cta .kb-btn {
    flex: 1 1 0;
    min-width: max-content;
    justify-content: center;
    text-align: center;
}

/* Chart */
.kst-chart-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.kst-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.kst-ranges .kb-chip {
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
}
.kst-ranges .kb-chip[aria-pressed="true"] {
    border-color: var(--kb-accent);
    background: var(--kb-accent-soft);
    color: var(--kb-accent-dark);
    font-weight: 600;
}
.kst-toggle {
    font-size: 0.875rem;
    color: var(--kb-muted);
}
.kst-chart {
    position: relative;
    height: 380px;
}

/* Was passierte danach? */
.kst-outcomes {
    width: 100%;
    table-layout: fixed;
}
.kst-outcomes th[scope="row"] {
    text-align: left;
    font-weight: 600;
}
.kst-outcomes td {
    text-align: center;
}
.kst-outcomes tr.is-current {
    background: var(--kb-accent-soft);
}
.kst-outcomes tr.is-all {
    border-top: 2px solid var(--kb-border);
    font-style: italic;
}
.kst-outcomes .kb-badge {
    margin-left: 6px;
    font-style: normal;
}
.kst-up {
    color: var(--kb-good);
}
.kst-down {
    color: var(--kb-bad);
}
.kst-sub {
    display: block;
    font-size: 0.8125rem;
    color: var(--kb-muted);
}

/* Phasen */
.kst-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 12px;
}
.kst-zone {
    padding: 14px 16px;
    border: 1px solid var(--kb-border);
    border-top: 4px solid var(--kst-zone);
    border-radius: 10px;
    background: var(--kb-bg);
}
.kst-zone.is-current {
    box-shadow: 0 0 0 2px var(--kst-zone);
}
.kst-zone-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.kst-zone-range {
    color: var(--kb-muted);
    font-variant-numeric: tabular-nums;
}
.kst-zone p {
    margin: 8px 0 10px;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.kst-zone-bar {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: var(--kb-bg-soft);
    overflow: hidden;
    margin-bottom: 4px;
}
.kst-zone-bar span {
    display: block;
    height: 100%;
    background: var(--kst-zone);
}

/* Rekorde */
.kst-records strong {
    display: block;
    margin: 4px 0;
}

/* Ratgeber */
.kst-seo-body > :first-child {
    margin-top: 0;
}
.kst-seo-body > :last-child {
    margin-bottom: 0;
}

/* Übersicht */
/* Feste Spalten (12 Werkzeuge: 4 × 3, Tablet 2 × 6, Handy 1 × 12), alle Kacheln gleich groß und neutral;
   die Zonenfarbe zeigt nur der Punkt vor der Einordnung */
.kst-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.kst-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    color: var(--kb-text);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.kst-tile:hover,
.kst-tile:focus-visible {
    border-color: var(--kb-accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.kst-tile .kb-label {
    min-height: 2.6em;
    line-height: 1.3;
}
.kb-tile > strong.kst-tile-value {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}
.kst-tile-note {
    color: var(--kb-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.kst-tile--zone .kst-tile-note::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--kst-zone, var(--kb-faint));
    vertical-align: 1px;
}
.kst-tile-more {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    color: var(--kb-accent-dark);
}

@media (max-width: 1024px) {
    .kst-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Handy: weiter 2 Spalten, kompakt; die ganze Kachel ist der Link */
@media (max-width: 520px) {
    .kst-tiles {
        gap: 8px;
    }
    .kst-tile {
        gap: 4px;
        padding: 12px;
    }
    .kst-tile .kb-label {
        font-size: 11px;
    }
    .kb-tile > strong.kst-tile-value {
        font-size: 22px;
    }
    .kst-tile-note {
        font-size: 13px;
    }
    .kst-tile-more {
        display: none;
    }
}

@media (max-width: 340px) {
    .kst-tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .kst-hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .kst-chart {
        height: 300px;
    }
}

/* Tabelle als Karten auf dem Handy (ohne Scrollleiste) */
@media (max-width: 640px) {
    .kst-outcomes,
    .kst-outcomes tbody,
    .kst-outcomes tr,
    .kst-outcomes th,
    .kst-outcomes td {
        display: block;
        width: 100%;
    }
    .kst-outcomes thead {
        display: none;
    }
    .kst-outcomes tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--kb-border);
    }
    .kst-outcomes td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        padding: 4px 0;
        text-align: right;
        border: 0;
    }
    .kst-outcomes td::before {
        content: attr(data-label);
        color: var(--kb-muted);
        text-align: left;
    }
    .kst-outcomes .kst-sub {
        display: inline;
        margin-left: 6px;
    }

}

/* Skala unter dem Kopfwert (RSI, Altseason, Rainbow) */
.kst-scale {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 280px;
    height: 10px;
    margin-top: 14px;
    border-radius: 5px;
    overflow: visible;
}
.kst-scale span:first-child {
    border-radius: 5px 0 0 5px;
}
.kst-scale span:last-of-type {
    border-radius: 0 5px 5px 0;
}
.kst-scale i {
    position: absolute;
    top: -5px;
    width: 4px;
    height: 20px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--kb-text);
    box-shadow: 0 0 0 2px var(--kb-bg);
}
.kst-scale-labels {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 16px;
    font-size: 0.75rem;
    color: var(--kb-muted);
}
.kst-scale-labels span {
    position: absolute;
    transform: translateX(-50%);
}
.kst-scale-labels span:nth-child(1) {
    left: 0;
    transform: none;
}
.kst-scale-labels span:nth-child(2) {
    left: 30%;
}
.kst-scale-labels span:nth-child(3) {
    left: 70%;
}
.kst-scale-labels span:nth-child(4) {
    right: 0;
    left: auto;
    transform: none;
}

.kst-chart--tall {
    height: 480px;
}

/* Signal-Check */
.kst-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.kst-signal {
    padding: 16px 18px;
    border: 1px solid var(--kb-border);
    border-radius: 10px;
}
.kst-signal .kb-h3 {
    margin: 0 0 4px;
}
.kst-signal-table,
.kst-event-table {
    width: 100%;
    table-layout: fixed;
}
.kst-signal-table td,
.kst-event-table td {
    text-align: center;
}
.kst-signal-table th[scope="row"] {
    text-align: left;
    font-weight: 600;
}
.kst-signal-table tr.is-all {
    font-style: italic;
}
.kst-events {
    margin-top: 12px;
}
.kst-events summary {
    cursor: pointer;
    color: var(--kb-accent-dark);
    font-weight: 600;
}
.kst-event-table {
    margin-top: 8px;
    font-size: 0.875rem;
}
.kst-event-table td:first-child {
    text-align: left;
}

/* RSI aller Coins */
.kst-coin-filter {
    margin-bottom: 12px;
}
.kst-coins {
    width: 100%;
    table-layout: fixed;
}
.kst-coins th[scope="row"] {
    text-align: left;
    font-weight: 600;
}
.kst-coins td {
    text-align: right;
}
.kst-coins thead th:not(:first-child) {
    text-align: right;
}
.kst-coin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kb-text);
    text-decoration: none;
}
.kst-coin img {
    flex: 0 0 24px;
    border-radius: 50%;
}
.kst-sub--inline {
    display: inline;
    margin-left: 4px;
}
.kst-rsi-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 2px 8px;
    border-left: 3px solid var(--kst-zone, var(--kb-border));
    border-radius: 4px;
    background: var(--kb-bg-soft);
    font-size: 0.8125rem;
    white-space: nowrap;
}
.kst-rsi-badge strong {
    font-size: 0.9375rem;
}
.kst-empty {
    color: var(--kb-muted);
}

@media (max-width: 900px) {
    .kst-signal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .kst-chart--tall {
        height: 400px;
    }

}

/* Kartenansicht: Zeilenkopf (Coin-Name) über die ganze Karte – sonst begrenzt .kb-table tbody th (36 %) den Namen
   und lange Namen wie „Artificial Superintelligence Alliance“ brechen mitten im Wort um */
@media (max-width: 640px) {
    .kb-table.kst-coins tbody th,
    .kb-table.kst-alts tbody th,
    .kb-table.kst-bands tbody th,
    .kb-table.kst-stability tbody th,
    .kb-table.kst-outlook tbody th,
    .kb-table.kst-halvings tbody th {
        width: 100%;
    }
}

/* Coin- und Signal-Tabellen als Karten auf dem Handy */
@media (max-width: 640px) {
    .kst-coins,
    .kst-coins tbody,
    .kst-coins tr,
    .kst-coins th,
    .kst-coins td,
    .kst-event-table,
    .kst-event-table tbody,
    .kst-event-table tr,
    .kst-event-table td {
        display: block;
        width: 100%;
    }
    .kst-coins thead,
    .kst-event-table thead {
        display: none;
    }
    .kst-coins tr,
    .kst-event-table tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--kb-border);
    }
    .kst-coins tr[hidden] {
        display: none;
    }
    .kst-coins td,
    .kst-event-table td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        padding: 4px 0;
        border: 0;
        text-align: right;
    }
    .kst-coins td::before,
    .kst-event-table td::before {
        content: attr(data-label);
        color: var(--kb-muted);
        text-align: left;
    }
    .kst-event-table td:first-child {
        text-align: right;
    }
    .kst-signal-table {
        font-size: 0.8125rem;
    }
}

/* Filter der Coin-Tabelle: Punkt in Zonenfarbe, leere Zonen ausgegraut */
.kst-coin-filter .kst-dot {
    width: 8px;
    height: 8px;
    background: var(--kst-zone);
}
.kst-ranges .kb-chip:disabled {
    cursor: default;
    opacity: 0.45;
}

/* Bitcoin Rainbow Chart */
.kst-gauge-value--text {
    font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.25rem);
    line-height: 1.15;
}
.kst-scale--bands span {
    flex: 1;
}
.kst-scale--bands span:first-child {
    border-radius: 5px 0 0 5px;
}
.kst-scale--bands span:last-of-type {
    border-radius: 0 5px 5px 0;
}
.kst-scale-labels--ends span:nth-child(1) {
    left: 0;
    transform: none;
}
.kst-scale-labels--ends span:nth-child(2) {
    right: 0;
    left: auto;
    transform: none;
}

.kst-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--kb-muted);
}
.kst-legend > span {
    display: inline-flex;
    align-items: center;
}
.kst-line {
    display: inline-block;
    width: 18px;
    margin-right: 6px;
    border-top: 2px solid #111827;
}
.kst-line--dashed {
    border-top: 2px dashed #303640;
}
.kst-bands,
.kst-stability,
.kst-outlook,
.kst-halvings {
    width: 100%;
}
.kst-bands th[scope="row"],
.kst-stability th[scope="row"],
.kst-outlook th[scope="row"],
.kst-halvings th[scope="row"] {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.kst-bands tr.is-current,
.kst-stability tr.is-current {
    background: var(--kb-accent-soft);
}
.kst-bands td:nth-child(2) {
    white-space: nowrap;
}

/* Rainbow-Tabellen als Karten auf dem Handy */
@media (max-width: 640px) {
    .kst-bands,
    .kst-bands tbody,
    .kst-bands tr,
    .kst-bands th,
    .kst-bands td,
    .kst-stability,
    .kst-stability tbody,
    .kst-stability tr,
    .kst-stability th,
    .kst-stability td,
    .kst-outlook,
    .kst-outlook tbody,
    .kst-outlook tr,
    .kst-outlook th,
    .kst-outlook td,
    .kst-halvings,
    .kst-halvings tbody,
    .kst-halvings tr,
    .kst-halvings th,
    .kst-halvings td {
        display: block;
        width: 100%;
    }
    .kst-bands thead,
    .kst-stability thead,
    .kst-outlook thead,
    .kst-halvings thead {
        display: none;
    }
    .kst-bands tr,
    .kst-stability tr,
    .kst-outlook tr,
    .kst-halvings tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--kb-border);
    }
    .kst-bands td,
    .kst-stability td,
    .kst-outlook td,
    .kst-halvings td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        padding: 4px 0;
        border: 0;
        text-align: right;
        white-space: normal;
    }
    .kst-bands td::before,
    .kst-stability td::before,
    .kst-outlook td::before,
    .kst-halvings td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: var(--kb-muted);
        text-align: left;
    }
}

/* Altcoin Season: Tabelle Altcoins gegen Bitcoin */
.kst-alts {
    width: 100%;
    table-layout: fixed;
}
.kst-alts th:first-child,
.kst-alts td:first-child {
    width: 84px;
}
.kst-alts th[scope="row"] {
    text-align: left;
    font-weight: 600;
}
.kst-alts td {
    text-align: right;
}
.kst-alts thead th:nth-child(n+3) {
    text-align: right;
}
.kst-alts td:first-child {
    text-align: left;
    color: var(--kb-muted);
}
.kst-alts tr[hidden] {
    display: none;
}
@media (max-width: 640px) {
    .kst-alts,
    .kst-alts tbody,
    .kst-alts tr,
    .kst-alts th,
    .kst-alts td {
        display: block;
        width: 100%;
    }
    .kst-alts th:first-child,
    .kst-alts td:first-child {
        width: 100%;
    }
    .kst-alts thead {
        display: none;
    }
    .kst-alts tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--kb-border);
    }
    .kst-alts tr[hidden] {
        display: none;
    }
    .kst-alts td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        padding: 4px 0;
        border: 0;
        text-align: right;
    }
    .kst-alts td::before {
        content: attr(data-label);
        color: var(--kb-muted);
        text-align: left;
    }
}

/* Bitcoin-Dominanz: Aufteilungsbalken */
.kst-split {
    display: flex;
    width: 100%;
    max-width: 320px;
    height: 14px;
    margin-top: 14px;
    border-radius: 7px;
    overflow: hidden;
}
.kst-split span {
    display: block;
    height: 100%;
}
.kst-legend--center {
    justify-content: center;
}

/* Allzeithochs: Suche, sortierbare Spalten */
.kst-list-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}
.kst-search {
    flex: 1 1 240px;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--kb-border);
    border-radius: var(--kb-radius-sm);
    font: inherit;
}
.kst-sort {
    white-space: nowrap;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.kst-sort::after {
    content: ' ↕';
    color: var(--kb-faint);
}
th[aria-sort="ascending"] .kst-sort::after {
    content: ' ↑';
    color: var(--kb-accent-dark);
}
th[aria-sort="descending"] .kst-sort::after {
    content: ' ↓';
    color: var(--kb-accent-dark);
}
.kst-athlist thead th:nth-child(n+3) {
    text-align: right;
}
.kst-cycles {
    margin-top: 16px;
}
.kst-breakout-summary {
    margin-bottom: 14px;
}

/* TVL: Anteilsbalken, Kategorien, Tabellen */
.kst-share {
    display: inline-block;
    width: 70px;
    height: 6px;
    margin-right: 8px;
    border-radius: 3px;
    background: var(--kb-bg-soft);
    overflow: hidden;
    vertical-align: middle;
}
.kst-share span {
    display: block;
    height: 100%;
    background: var(--kb-accent);
}
.kst-cats {
    display: grid;
    gap: 8px;
}
.kst-cat {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}
.kst-cat .kst-share {
    width: 100%;
    margin: 0;
}
.kst-cat-value {
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.kst-chains thead th:nth-child(n+3),
.kst-protocols thead th:nth-child(n+3) {
    text-align: right;
}
.kst-protocols th[scope="row"] .kst-sub {
    font-weight: 400;
}
@media (max-width: 640px) {
    .kst-cat {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .kst-cat .kst-share {
        grid-column: 1 / -1;
        order: 3;
    }
}

/* Inflation */
.kst-share--orange span {
    background: #f7931a;
}
.kst-infl thead th:nth-child(n+3) {
    text-align: right;
}
.kst-infl .kb-badge {
    margin-left: 6px;
}
.kst-eras tr.is-current {
    background: var(--kb-accent-soft);
}

/* Bitcoin-Halving */
.kst-countdown {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.kst-progress {
	align-self: stretch;
	width: 100%;
	height: 10px;
	margin: 12px 0 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--kb-bg-soft);
}

.kst-progress > span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #f7931a;
}

.kst-scroll {
	overflow-x: auto;
}

.kst-halving-table td,
.kst-halving-table th {
	font-variant-numeric: tabular-nums;
}

.kst-row-now > * {
	background: #fff7ed;
}

.kst-row-now > th {
	box-shadow: inset 3px 0 0 #f7931a;
}

.kst-cell {
	display: inline-block;
}

.kst-halving-table .kst-cell {
	text-align: inherit;
}
