/* ================================================================
   TradeButtons Dashboard Widgets — Widget-Inhalts-Styles
   (Dark Navy Hub, polished & responsive)
   ================================================================ */

/* ── Allgemeine Widget-Basis ─────────────────────────────────────── */

.tbdw-panel-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #e2e8f0;
}

.tbdw-panel-content * { box-sizing: border-box; }

/* akctsp-wrap füllt Panel-Content komplett via Absolute-Positioning
   (zuverlässiger als height:100% in flex-Kontexten) */
.tbdw-panel-content .akctsp-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Inner Widget-Container — scrollt bei Listen, clippt bei Visualisierungen */
.tbdw-panel-content .akctsp-widget {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* Kritisch: Hintergrund und Textfarbe erzwingen damit akctsp Light-Theme-CSS */
    /* nicht die Dark-Panel-Styles überschreibt */
    background: transparent !important;
    color: #e2e8f0 !important;
}

/* Scrollbar innerhalb akctsp-widget */
.tbdw-panel-content .akctsp-widget::-webkit-scrollbar       { width: 4px; height: 4px; }
.tbdw-panel-content .akctsp-widget::-webkit-scrollbar-track  { background: rgba(255,255,255,.04); }
.tbdw-panel-content .akctsp-widget::-webkit-scrollbar-thumb  { background: rgba(255,255,255,.18); border-radius: 3px; }

/* ── NEWS WIDGETS ([akch_news], [exchange_news], [ak_crypto_news]) ─── */

/* ─ List View ─ */
.tbdw-panel.view-list .tbdw-panel-content .akctsp-card.akctsp-news-item {
    display: block;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    transition: background .14s;
    cursor: pointer;
}

.tbdw-panel.view-list .tbdw-panel-content .akctsp-card.akctsp-news-item:last-child {
    border-bottom: none;
}

.tbdw-panel.view-list .tbdw-panel-content .akctsp-card.akctsp-news-item:hover {
    background: rgba(45,212,191,.05);
}

/* ─ Compact View ─ */
.tbdw-panel.view-compact .tbdw-panel-content .akctsp-widget {
    display: block;
    padding: 0;
}

.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card.akctsp-news-item {
    display: block;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card.akctsp-news-item a {
    font-size: 11.2px;
    line-height: 1.32;
    margin-bottom: 2px;
}

.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card.akctsp-news-item .sub {
    font-size: 9.5px;
}

.tbdw-panel-content .akctsp-card.akctsp-news-item a {
    color: #c8d6e8 !important;
    text-decoration: none !important;
    background: transparent !important;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    display: block;
    margin-bottom: 5px;
    transition: color .14s;
}

.tbdw-panel-content .akctsp-card.akctsp-news-item a:hover {
    color: #2dd4bf !important;
}

.tbdw-panel-content .akctsp-card.akctsp-news-item .sub {
    font-size: 10.5px;
    color: #475569;
    font-weight: 400;
    letter-spacing: .01em;
}

/* ─ Tile View ─ */
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 9px;
    padding: 10px;
    align-content: start;
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.akctsp-news-item {
    display: flex;
    flex-direction: column;
    padding: 13px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    transition: background .16s, border-color .16s, transform .14s;
    cursor: pointer;
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.akctsp-news-item:hover {
    background: rgba(45,212,191,.07);
    border-color: rgba(45,212,191,.32);
    transform: translateY(-2px);
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.akctsp-news-item a {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    overflow: hidden;
    font-size: 12px;
    margin-bottom: 0;
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.akctsp-news-item .sub {
    margin-top: 8px;
    font-size: 10px;
}

/* ── GAINERS / WATCHLIST / GEMS ─────────────────────────────────── */

/* ─ Base Card ─ */
.tbdw-panel-content .akctsp-card:not(.akctsp-news-item) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .13s;
    cursor: default;
}

.tbdw-panel-content .akctsp-card:not(.akctsp-news-item):hover {
    background: rgba(255,255,255,.03);
}

.tbdw-panel-content .akctsp-card:not(.akctsp-news-item):last-child {
    border-bottom: none;
}

.tbdw-panel-content .akctsp-card strong {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
    flex-shrink: 0;
    margin-right: 8px;
}

.tbdw-panel-content .akctsp-card .sub {
    font-size: 11.5px !important;
    color: #64748b !important;
    text-align: right;
    flex-shrink: 0;
}

/* ─ Gain / Loss color coding (added by JS) ─ */
.tbdw-panel-content .akctsp-card.is-gain .sub { color: #22c55e; }
.tbdw-panel-content .akctsp-card.is-loss .sub { color: #f87171; }

.tbdw-panel-content .akctsp-card.is-gain {
    border-left: 2px solid rgba(34,197,94,.35);
    padding-left: 12px;
}
.tbdw-panel-content .akctsp-card.is-loss {
    border-left: 2px solid rgba(248,113,113,.35);
    padding-left: 12px;
}

/* ─ Compact View ─ */
.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card:not(.akctsp-news-item) {
    padding: 6px 10px;
    min-height: 30px;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card:not(.akctsp-news-item) strong {
    font-size: 11.2px !important;
}

.tbdw-panel.view-compact .tbdw-panel-content .akctsp-card:not(.akctsp-news-item) .sub {
    font-size: 10.4px !important;
}

/* ─ Tile View ─ */
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 9px;
    padding: 10px;
    align-content: start;
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card:not(.akctsp-news-item) {
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-left: none;
    border-radius: 10px;
    padding: 14px;
    gap: 6px;
    transition: background .16s, border-color .16s, transform .14s;
    cursor: pointer;
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card:not(.akctsp-news-item):hover {
    transform: translateY(-2px);
}

.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card:not(.akctsp-news-item) .sub {
    text-align: left;
    font-size: 12.5px;
}

/* Gain/loss tiles */
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.is-gain {
    border-top: 2px solid rgba(34,197,94,.5);
    background: rgba(34,197,94,.06);
    border-left: 1px solid rgba(255,255,255,.07);
    padding-left: 14px;
}
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.is-gain:hover {
    background: rgba(34,197,94,.11);
    border-top-color: rgba(34,197,94,.8);
}
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.is-loss {
    border-top: 2px solid rgba(248,113,113,.5);
    background: rgba(248,113,113,.06);
    border-left: 1px solid rgba(255,255,255,.07);
    padding-left: 14px;
}
.tbdw-panel.view-tiles .tbdw-panel-content .akctsp-card.is-loss:hover {
    background: rgba(248,113,113,.11);
    border-top-color: rgba(248,113,113,.8);
}

/* ── TAPE / KURS-TICKER ──────────────────────────────────────────── */

/* AK Heatmap Tape: no rounded frame/margins so strip-widgets can be seamless */
.tbdw-panel-content .akctsp-tape {
    margin: 0 !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    height: 100%;
    display: flex;
    align-items: center;
}

.tbdw-panel-content .item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
}

.tbdw-panel-content .item strong {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .02em;
}

.tbdw-panel-content .item em {
    font-style: normal;
    font-size: 11.5px;
    color: #64748b;
    transition: color .15s;
}

/* Tape gain/loss (added by JS) */
.tbdw-panel-content .item.is-gain em { color: #22c55e; }
.tbdw-panel-content .item.is-loss em { color: #f87171; }

/* Tape separator dots */
.tbdw-panel-content .item + .item::before {
    content: '·';
    color: #1e293b;
    font-size: 16px;
    margin-right: -8px;
}

/* Topgainer Ticker: same seamless strip behavior as tape widgets */
.tbdw-panel-content .ak-crypto-ticker-wrapper {
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #cbd5e1;
    height: 100%;
    display: flex;
    align-items: center;
    min-height: 0;
}

.tbdw-panel-content .ak-crypto-ticker-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.tbdw-panel-content .ak-crypto-ticker-controls {
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tbdw-panel-content .ak-crypto-ticker-btn {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #dbeafe;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 999px;
    cursor: pointer;
}

.tbdw-panel-content .ak-crypto-ticker-btn.is-active {
    background: rgba(45,212,191,.18);
    border-color: rgba(45,212,191,.45);
    color: #ccfbf1;
}

.tbdw-panel-content .ak-crypto-ticker-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.tbdw-panel-content .ak-crypto-ticker-track {
    display: inline-flex;
    min-width: max-content;
    white-space: nowrap;
    animation: tbdw-ak-ticker-scroll var(--ak-crypto-ticker-speed, 150s) linear infinite !important;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation-play-state: running !important;
}

.tbdw-panel-content .ak-crypto-ticker-wrapper:hover .ak-crypto-ticker-track,
.tbdw-panel-content .ak-crypto-ticker-wrapper.is-paused .ak-crypto-ticker-track,
.tbdw-panel-content .ak-crypto-ticker-wrapper.ak-crypto-ticker-loading .ak-crypto-ticker-track {
    animation-play-state: running !important;
}

.tbdw-panel-content .ak-crypto-ticker-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.tbdw-panel-content .ak-dir-up .ak-crypto-change { color: #22c55e; }
.tbdw-panel-content .ak-dir-down .ak-crypto-change { color: #f87171; }
.tbdw-panel-content .ak-crypto-ticker-loading-msg { opacity: .7; font-size: 11px; }
.tbdw-panel-content .ak-crypto-ticker-error { color: #fca5a5; font-size: 11px; }

@keyframes tbdw-ak-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--ak-crypto-ticker-shift, -50%)); }
}

/* ── HEATMAP TILES ───────────────────────────────────────────────── */

.tbdw-panel-content .akctsp-tile {
    border-radius: 8px !important;
    transition: transform .15s, filter .15s !important;
    cursor: pointer;
}

.tbdw-panel-content .akctsp-tile:hover {
    transform: scale(1.04) !important;
    z-index: 5;
    filter: brightness(1.15) !important;
}

.tbdw-panel-content .akctsp-tile .tk {
    font-weight: 700 !important;
    font-size: 11px !important;
}

.tbdw-panel-content .akctsp-tile .chg {
    font-weight: 600 !important;
}

/* ── BUBBLE CHART ────────────────────────────────────────────────── */

.tbdw-panel-content .akctsp-bubble {
    transition: transform .15s, filter .15s !important;
    cursor: pointer;
}

.tbdw-panel-content .akctsp-bubble:hover {
    transform: scale(1.06) !important;
    filter: brightness(1.2) !important;
    z-index: 5;
}

.tbdw-panel-content .akctsp-bubble .sub {
    font-size: 11px;
    color: rgba(255,255,255,.85);
}

/* ── STATUS BAR / TICKER STRIPS ──────────────────────────────────── */

.tbdw-panel-content .akctsp-wrap:has(.item) {
    justify-content: center;
}

/* ── LEERER ZUSTAND / LOADING ────────────────────────────────────── */

.tbdw-panel-content .akctsp-widget:empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    color: rgba(45, 212, 191, 0.4);  /* Cyan, sichtbar auf dunklem Hintergrund */
    font-size: 12px;
}

.tbdw-panel-content .akctsp-widget:empty::after {
    content: '●  ●  ●';
    animation: tbdw-pulse 1.4s ease-in-out infinite;
    letter-spacing: 6px;
}

@keyframes tbdw-pulse {
    0%, 100% { opacity: .25; }
    50%       { opacity: .8; }
}

/* ── TAPE / TICKER: kein Scroll, horizontales Clipping ──────────── */

/* Tape-Zeilen dürfen nicht scrollen — die laufen von allein */
.tbdw-panel-content .akctsp-wrap:has(.item) .akctsp-widget {
    overflow: hidden;
}

/* ── HEATMAP / BUBBLES: SVG soll Panel füllen ────────────────────── */

/* D3-SVGs in Visualisierungs-Widgets auf Panel-Maß skalieren */
.tbdw-panel-content .akctsp-widget > svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ── CRYPTO STATUS BAR: Einzelne Indikator-Karten im Panel ─────── */
/* Original-Look 1:1 beibehalten — Padding für sichtbaren Rahmen + Schatten */

/* Wrapper: Padding damit border-radius + box-shadow der Karte sichtbar bleiben */
.tbdw-panel-content .akcs-bar-wrapper {
    margin: 0 !important;
    padding: 6px 6px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

/* Bar: zentriert, volle Breite */
.tbdw-panel-content .akcs-bar {
    justify-content: center;
    height: 100%;
    align-items: stretch;
    gap: 0;
}

/* Einzelne Karte: Panel-Breite minus Padding, Original-Styling bleibt komplett erhalten */
.tbdw-panel-content .akcs-card {
    min-width: unset !important;
    flex: 1 1 100%;
    max-width: 100%;
    /* Sicherstellen dass das Original-Styling nicht von Panel-Regeln überschrieben wird */
    overflow: hidden;
}

/* ── Exchange Roll (Börsenzeiten) im Panel ─────────────────────── */

.tbdw-panel-content .exchange-roll-container {
    background: transparent !important;
    color: #e2e8f0 !important;
}

/* ── Coin Pages im Panel ───────────────────────────────────────── */

.tbdw-panel-content .tb-coin-page {
    background: transparent !important;
    color: #e2e8f0 !important;
    overflow-y: auto;
    max-height: 100%;
}

/* ── Exchange News im Panel ────────────────────────────────────── */

.tbdw-panel-content .exchange-news-wrap {
    background: transparent !important;
    color: #e2e8f0 !important;
}

/* ── Hexenkalender Dial im Panel ───────────────────────────────── */

.tbdw-panel-content .hexenkalender-dial {
    background: transparent !important;
}

/* ── Exchange Astro im Panel ───────────────────────────────────── */

.tbdw-panel-content .tbxa-wrap {
    background: transparent !important;
    color: #e2e8f0 !important;
    height: 100%;
    gap: 8px;
}

/* Astro-Wrap absolute positionieren damit es Panel komplett füllt */
.tbdw-panel-content .tbxa-wrap.tbxa-single-section {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
}

/* Astro-Karten im Dashboard: transparenter Hintergrund, subtile Ränder */
.tbdw-panel-content .tbxa-card {
    background: transparent !important;
    border-color: rgba(255,255,255,.06) !important;
}

/* Star Map Einzelpanel: Karte füllt Panel, SVG skaliert mit */
.tbdw-panel-content .tbxa-single-section .tbxa-starmap-card {
    height: 100% !important;
    max-height: none !important;
    width: 100% !important;
    max-width: none !important;
}

.tbdw-panel-content .tbxa-single-section .tbxa-starmap-canvas {
    flex: 1;
    height: 100%;
    min-height: 0;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.tbdw-panel-content .tbxa-single-section .tbxa-starmap-svg {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* Gauge Einzelpanel: Karte zentriert, Badges unten */
.tbdw-panel-content .tbxa-single-section .tbxa-gauge-card {
    padding: 8px 12px;
}

/* Calendar Einzelpanel: scrollbar */
.tbdw-panel-content .tbxa-single-section .tbxa-col-right {
    padding: 10px 14px;
    overflow-y: auto;
}

/* ── Nahtlos-Fix: Interne Padding/Margins von Plugins entfernen ── */
/* Damit Ticker + Heatmap direkt aneinander liegen können           */

.tbdw-panel-content .ak-crypto-ticker,
.tbdw-panel-content .ak-ticker-wrapper,
.tbdw-panel-content .akctsp-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ticker-Kontainer soll Panel komplett füllen */
.tbdw-panel-content .ak-crypto-ticker {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Live-Heatmap SVG: kein Randabstand */
.tbdw-panel-content .akctsp-heatmap-live {
    padding: 0 !important;
    margin: 0 !important;
}

/* ================================================================
   KOMPAKT-SCHICHT für CSB-Indikator-Karten (csb-*)
   ================================================================
   Die Karten stammen aus ak-crypto-status-bar und bringen feste
   Größen mit (.akcs-card padding 10/12px, .akcs-value 18px,
   .akcs-icon 22px, .akcs-label 10px). Dadurch liess sich das
   Widget zwar klein ziehen, der Inhalt wurde aber nur geclippt.

   Das Fremd-Plugin wird NICHT verändert — hier nur Overrides,
   gescoped auf Dashboard-Panels vom Typ csb-*. Die Obergrenzen
   entsprechen den Originalwerten → bei normaler Größe identisch.
   ================================================================ */

/* Koeffizienten angehoben (08.08.): vorher erreichte der Inhalt seine volle
   Groesse erst ab 120-200px Kachelhoehe. Bei den ueblichen ~103px war er also
   DAUERHAFT verkleinert, obwohl seitlich Platz frei war. Jetzt gilt die volle
   Groesse ab ~72-90px; verkleinert wird erst bei wirklich kleinen Kacheln.
   Die Obergrenzen sind unveraendert — bei grossen Kacheln aendert sich nichts. */
@supports (container-type: size) {

    .tbdw-panel[data-widget-type^="csb-"] > .tbdw-panel-content {
        container-type: size;
        container-name: tbdwkpi;
    }

    .tbdw-panel[data-widget-type^="csb-"] .akcs-bar-wrapper {
        padding: clamp(2px, 7cqh, 6px) clamp(2px, 4cqw, 6px) clamp(3px, 9cqh, 10px);
    }
    .tbdw-panel[data-widget-type^="csb-"] .akcs-card {
        padding: clamp(3px, 11cqh, 10px) clamp(4px, 7cqw, 12px) !important;
    }
    .tbdw-panel[data-widget-type^="csb-"] .akcs-value {
        font-size: clamp(11px, 25cqh, 18px) !important;
    }
    .tbdw-panel[data-widget-type^="csb-"] .akcs-label {
        font-size: clamp(7px, 14cqh, 10px) !important;
    }
    .tbdw-panel[data-widget-type^="csb-"] .akcs-icon {
        width: clamp(11px, 27cqh, 22px) !important;
        height: clamp(11px, 27cqh, 22px) !important;
    }
    .tbdw-panel[data-widget-type^="csb-"] .akcs-change {
        font-size: clamp(8px, 16cqh, 12px) !important;
    }

    /* Gestuftes Ausblenden — Nebensächliches zuerst.
     * 108px ist gemessen, nicht geschätzt: bei 100px Panel-Höhe (8x4) quoll die
     * Karte mit sichtbarem Icon noch 10px über. Ab 108px ist der Überlauf über
     * die gesamte Größenspanne (6x3 … 20x7) exakt 0. */
    @container tbdwkpi (max-height: 108px) {
        .tbdw-panel[data-widget-type^="csb-"] .akcs-icon,
        .tbdw-panel[data-widget-type^="csb-"] .akcs-attribution { display: none !important; }
    }
    @container tbdwkpi (max-height: 56px) {
        .tbdw-panel[data-widget-type^="csb-"] .akcs-label,
        .tbdw-panel[data-widget-type^="csb-"] .akcs-gauge { display: none !important; }
    }
    @container tbdwkpi (max-width: 92px) {
        .tbdw-panel[data-widget-type^="csb-"] .akcs-label,
        .tbdw-panel[data-widget-type^="csb-"] .akcs-attribution { display: none !important; }
    }

    /* Schmale Kacheln (02.11.2026, Ticket TB-202608-000026 „Mondphasen Übersicht –
     * Schrift hängt aus dem Bild"): Die Schicht oben verkleinert nur nach der HÖHE.
     * Gemessen auf /dashboard/: ab 1440px Bildschirmbreite sind die acht Kacheln
     * 146px und schmaler; „MARKTKAPITALISIERUNG" braucht 140px (10px, 0.14em), bei
     * 900px ragten auch „Mondphase", „Marktbreite", Werte und Änderungen heraus und
     * Kacheln bis 16px aus ihrem Feld. Hier zusätzlich nach der BREITE: Schrift über
     * cqw, engerer Buchstabenabstand, Silbentrennung (lang="de"), Wertzeile darf
     * umbrechen, weniger Innenabstand oben/unten. Gemessen 900…1920px: 0 Überstände. */
    @container tbdwkpi (max-width: 220px) {
        .tbdw-panel[data-widget-type^="csb-"] .akcs-label {
            font-size: clamp(7px, min(14cqh, 7.5cqw), 10px) !important;
            letter-spacing: .04em !important;
            line-height: 1.15;
            hyphens: auto;
            -webkit-hyphens: auto;
            overflow-wrap: anywhere;
        }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-header > .akcs-label { min-width: 0; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-header { margin-bottom: 2px; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-value { font-size: clamp(11px, min(25cqh, 13cqw), 18px) !important; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-value-row { flex-wrap: wrap; row-gap: 1px; column-gap: 6px; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-value-text { white-space: normal; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-sub-row,
        .tbdw-panel[data-widget-type^="csb-"] .akcs-change,
        .tbdw-panel[data-widget-type^="csb-"] .akcs-value-text { font-size: clamp(8px, 7.5cqw, 10px) !important; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-sub-row { margin-top: 2px; }
        .tbdw-panel[data-widget-type^="csb-"] .akcs-card { padding-top: 7px !important; padding-bottom: 7px !important; }
    }
    @container tbdwkpi (max-width: 150px) {
        .tbdw-panel[data-widget-type^="csb-"] .akcs-icon { display: none !important; }
    }
}
