:root {
    --bg: #0f1815;
    --bg-top: #13241e;
    --panel: #182720;
    --panel-2: #20342b;
    --panel-3: #254137;
    --line: #355347;
    --line-soft: #294239;
    --text: #f0f7f3;
    --muted: #a8bdb2;
    --accent: #38c98a;
    --accent-2: #68dda9;
    --accent-dark: #1f8d64;
    --good: #42d99a;
    --bad: #ff6f7d;
    --warn: #e6ba5c;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 201, 138, 0.16), transparent 34%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 46%, #0d1512 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.hidden {
    display: none !important;
}

/* ---------- LOGIN ---------- */

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(430px, 100%);
    padding: 32px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.brand {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.form-label {
    display: block;
    margin: 18px 0 7px;
    color: var(--muted);
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 11px 12px;
    color: var(--text);
    background: #14231d;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
}

.login-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

/* ---------- BUTTONS ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 15px;
    color: #fff;
    font-weight: 700;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 10px;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.07);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    color: #e2efe8;
    background: #244137;
    border-color: #426554;
}

.btn-good {
    background: #1f8d64;
    border-color: #2aad7b;
}

.btn-danger {
    background: #6b2a31;
    border-color: #91404b;
}

.btn-warn {
    background: #6e5722;
    border-color: #9f7c2d;
}

/* ---------- TOP ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 24, 21, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 24px 12px;
}

.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.version-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.strategy-label {
    color: var(--muted);
    font-size: 12px;
}

.test-label {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.system-status {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: #d8e7df;
    font-size: 12px;
    background: #162720;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--good);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(66, 217, 154, 0.55);
}

.status-dot.warn {
    background: var(--warn);
    box-shadow: 0 0 10px rgba(243, 184, 75, 0.65);
}

.status-dot.bad {
    background: var(--bad);
    box-shadow: 0 0 10px rgba(255, 93, 108, 0.65);
}

/* ---------- NAVIGATION ---------- */

.main-nav {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 14px;
    color: #c6d8cf;
    font-weight: 700;
    background: #162720;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.nav-link:hover {
    border-color: #4f7564;
}

.nav-link.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.logout-link {
    margin-left: auto;
    color: #ff9ba5;
}

/* ---------- LAYOUT ---------- */

.page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px;
}

.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.page-title {
    margin: 0;
    font-size: 23px;
}

.page-description {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.small-text {
    color: var(--muted);
    font-size: 12px;
}

.footer {
    padding: 30px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

/* ---------- CARDS ---------- */

.cards-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.grid-equal-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.card {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.metric-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.metric-value {
    margin-top: 8px;
    font-size: 26px;
    font-weight: 800;
}

.metric-sub {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.good {
    color: var(--good) !important;
}

.bad {
    color: var(--bad) !important;
}

.warn {
    color: var(--warn) !important;
}

/* ---------- TABLES ---------- */

.table-shell {
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.data-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 13px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #202a36;
}

.data-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #aac1b5;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    background: #20342b;
}

.data-table tr.clickable {
    cursor: pointer;
}

.data-table tr.clickable:hover {
    background: #20382f;
}

.expand-row td {
    padding: 0;
    background: #162720;
}

.badge {
    display: inline-block;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 800;
    background: #294238;
    border: 1px solid #304158;
    border-radius: 999px;
}

.badge-long {
    color: #83e4bb;
    background: #16382d;
    border-color: #2f7d5e;
}

.badge-short {
    color: #ff9ba5;
    background: #3a1b20;
    border-color: #63333a;
}

.badge-l1 {
    color: #8fc0ff;
}

.badge-other {
    color: #d4b1ff;
}

.badge-active {
    color: #7ce2ae;
}

.badge-shadow {
    color: #f3c76c;
}

.rank {
    font-weight: 900;
}

.rank-high {
    color: var(--good);
}

.rank-mid {
    color: var(--warn);
}

/* ---------- POSITION DETAILS ---------- */

.position-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.detail-box {
    padding: 14px;
    background: #1e3129;
    border: 1px solid #253141;
    border-radius: 12px;
}

.detail-box h4 {
    margin: 0 0 10px;
    color: #aac0b5;
    font-size: 12px;
    text-transform: uppercase;
}

.detail-list {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    margin: 0;
    font-size: 12px;
}

.detail-list dt {
    color: #9fb5aa;
}

.detail-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 700;
    text-align: right;
}

/* ---------- CHART ---------- */

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.chart-wrap {
    position: relative;
    height: 320px;
}

.chart-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.summary-line {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.summary-line b {
    color: var(--text);
}

/* ---------- REPORTS ---------- */

.filters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.filter-block label {
    display: block;
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 12px;
}

.filter-button {
    display: flex;
    align-items: flex-end;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.report-item {
    padding: 13px;
    background: #1a2c24;
    border: 1px solid #253141;
    border-radius: 12px;
}

.report-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.report-item b {
    display: block;
    margin-top: 6px;
    font-size: 19px;
}

/* ---------- EDIT ---------- */

.edit-block {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.edit-block h3 {
    margin-top: 0;
}

.inline-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.coin-pill {
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #1a2c24;
    border: 1px solid #314055;
    border-radius: 999px;
}

.action-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.recommendation {
    margin-top: 10px;
    padding: 13px;
    background: #1b2e26;
    border: 1px solid #3b485b;
    border-radius: 12px;
}

.recommendation-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
    .cards-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-2,
    .grid-equal-2 {
        grid-template-columns: 1fr;
    }

    .position-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .system-status {
        justify-content: flex-start;
    }

    .logout-link {
        margin-left: 0;
    }
}/* ---------- GREEN V2 / LOGO ---------- */

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 210px;
    height: 63px;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex: 0 0 auto;
}

.login-logo {
    width: min(300px, 100%);
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.topbar {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.topbar-inner {
    background:
        linear-gradient(
            90deg,
            rgba(56, 201, 138, 0.035),
            rgba(104, 221, 169, 0.015),
            transparent
        );
}

.nav-link {
    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease;
}

.nav-link:hover {
    background: #213a30;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #082117;
    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-2)
        );
    border-color: var(--accent-2);
    box-shadow: 0 6px 18px rgba(56, 201, 138, 0.18);
}

.card,
.table-shell,
.edit-block {
    background:
        linear-gradient(
            180deg,
            rgba(32, 52, 43, 0.94),
            rgba(24, 39, 32, 0.98)
        );
}

.card {
    border-color: #395b4c;
}

.metric-value {
    letter-spacing: -0.4px;
}

.status-pill {
    background: #1a2d25;
    border-color: #345545;
}

.badge-l1 {
    color: #94f2cb;
    border-color: #3e8568;
}

.badge-other {
    color: #d4c0ff;
}

.badge-shadow {
    color: #f0cd78;
}

.chart-wrap {
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .brand-logo {
        width: 180px;
        height: 54px;
    }
}

/* ---------- LIVE POSITIONS / LEDGER REPORTS ---------- */

.position-history {
    margin: 0 18px 18px;
    padding: 14px;
    background: #172a22;
    border: 1px solid #355347;
    border-radius: 12px;
}

.history-title,
.report-table-title {
    margin-bottom: 10px;
    color: #aac0b5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-item {
    display: grid;
    gap: 4px;
    padding: 9px 0;
    border-bottom: 1px solid #294239;
}

.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-item > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-headline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.report-note {
    margin-top: 16px;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    background: #162720;
    border: 1px solid #355347;
    border-radius: 10px;
}

.report-table-title {
    margin-top: 20px;
}

.report-table-shell {
    margin-top: 0;
}

.reports-filters {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1280px) {
    .reports-filters {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .reports-filters {
        grid-template-columns: 1fr;
    }

    .report-headline {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ========================================================================== */
/* UNIFIED UI V1 — PNG LOGO + CRYPTO QUALIFICATION                           */
/* Uses the existing KryptoBot Control Center palette and layout.             */
/* ========================================================================== */

.brand-logo {
    width: 210px;
    height: 63px;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.login-logo {
    width: min(300px, 100%);
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* ---------- CRYPTO / QUALIFICATION ---------- */

.crypto-intro-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.crypto-intro-text {
    margin-top: 6px;
    max-width: 900px;
    line-height: 1.55;
}

.crypto-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.crypto-error {
    display: none;
    margin-bottom: 16px;
    padding: 13px 15px;
    color: #ffadb4;
    background: #341b20;
    border: 1px solid #70404a;
    border-radius: var(--radius);
}

.crypto-progress-card {
    margin-bottom: 18px;
    padding: 14px 16px;
}

.crypto-progress-track {
    height: 9px;
    overflow: hidden;
    background: #14231d;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
}

.crypto-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-2));
    border-radius: inherit;
    transition: width 0.22s ease;
}

.crypto-progress-meta {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
}

.crypto-cards-7 {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.crypto-filters {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.crypto-sort-note {
    margin: 0 0 10px;
}

.crypto-table-shell {
    overflow: auto;
}

.crypto-table {
    min-width: 1580px;
}

.crypto-table th.crypto-sortable {
    position: sticky;
    top: 0;
    padding-right: 26px;
    cursor: pointer;
    user-select: none;
}

.crypto-table th.crypto-sortable:hover {
    color: #e2efe8;
    background: #28463a;
}

.crypto-table th.crypto-sortable::after {
    content: "↕";
    position: absolute;
    right: 8px;
    color: #789487;
    font-size: 11px;
}

.crypto-table th.crypto-sortable[data-sort-dir="asc"]::after {
    content: "▲";
    color: var(--accent-2);
}

.crypto-table th.crypto-sortable[data-sort-dir="desc"]::after {
    content: "▼";
    color: var(--accent-2);
}

.crypto-meta-head {
    color: #c8f8e1 !important;
}

.crypto-score {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    min-width: 78px;
    padding: 5px 8px;
    color: #e9fff5;
    font-weight: 900;
    background: #244137;
    border: 1px solid #426554;
    border-radius: 10px;
}

.crypto-score .num {
    font-size: 15px;
}

.crypto-score .den {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.crypto-score.na {
    color: var(--muted);
    background: #1a2c24;
    border-color: var(--line);
}

.crypto-mono {
    font-family: Consolas, "SFMono-Regular", monospace;
    font-variant-numeric: tabular-nums;
}

.crypto-badge-btc {
    color: #f3c76c;
}

.crypto-badge-observed {
    color: #b4c8bd;
}

.crypto-badge-ready {
    color: #83e4bb;
    background: #16382d;
    border-color: #2f7d5e;
}

.crypto-badge-no {
    color: #ff9ba5;
    background: #3a1b20;
    border-color: #63333a;
}

.crypto-badge-swap {
    color: #082117;
    background: var(--accent-2);
    border-color: var(--accent-2);
}

.crypto-badge-watch {
    color: #f3c76c;
    background: #3a3120;
    border-color: #6f5b2c;
}

.crypto-detail-row {
    display: none;
}

.crypto-detail-row > td {
    padding: 0;
    background: #162720;
    white-space: normal;
}

.crypto-detail-row .detail-box > div {
    color: var(--text);
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.crypto-table-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* ---------- POSITION SORTING — same visual language ---------- */

table thead th.kb-sortable {
    cursor: pointer;
    user-select: none;
    padding-right: 24px !important;
    position: relative;
}

table thead th.kb-sortable::after {
    content: "↕";
    position: absolute;
    right: 7px;
    color: #789487;
    font-size: 11px;
}

table thead th.kb-sortable[data-kb-sort-dir="asc"]::after {
    content: "▲";
    color: var(--accent-2);
}

table thead th.kb-sortable[data-kb-sort-dir="desc"]::after {
    content: "▼";
    color: var(--accent-2);
}

@media (max-width: 1250px) {
    .crypto-cards-7 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .crypto-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .brand-logo {
        width: 180px;
        height: 54px;
    }

    .crypto-intro-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .crypto-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .crypto-cards-7,
    .crypto-filters {
        grid-template-columns: 1fr;
    }

    .crypto-progress-meta {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* >>> CRYPTO_TABLE_VIEWPORT_V1 >>> */

/* Opis kolumn — zgodny z istniejącym wyglądem Control Center. */
.crypto-column-help {
    margin: 0 0 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.crypto-column-help summary {
    padding: 12px 15px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.crypto-column-help summary:hover {
    background: var(--panel-2);
}

.crypto-column-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--line-soft);
    border-top: 1px solid var(--line);
}

.crypto-column-help-grid > div {
    min-height: 96px;
    padding: 12px 13px;
    background: var(--panel);
}

.crypto-column-help-grid b {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-2);
    font-size: 12px;
}

.crypto-column-help-grid span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/*
Tabela ma własny pionowy viewport.
Dzięki temu poziomy scrollbar jest stale na dole widocznego okna tabeli,
zamiast dopiero pod kilkuset wierszami.
*/
.crypto-table-shell {
    height: clamp(380px, 52vh, 680px);
    max-height: 680px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    position: relative;
}

/* Sticky header pozostaje widoczny podczas przewijania pionowego. */
.crypto-table thead th {
    position: sticky;
    top: 0;
    z-index: 6;
}

/*
Pierwsze trzy kolumny zostają widoczne podczas przewijania w poziomie:
LP / Coin / META SCORE.
*/
.crypto-table th:nth-child(1),
.crypto-table td:nth-child(1) {
    position: sticky;
    left: 0;
    min-width: 54px;
    width: 54px;
}

.crypto-table th:nth-child(2),
.crypto-table td:nth-child(2) {
    position: sticky;
    left: 54px;
    min-width: 145px;
}

.crypto-table th:nth-child(3),
.crypto-table td:nth-child(3) {
    position: sticky;
    left: 199px;
    min-width: 118px;
}

.crypto-table th:nth-child(-n+3) {
    z-index: 8;
    background: var(--panel-2);
}

.crypto-table td:nth-child(-n+3) {
    z-index: 3;
    background: #1c3028;
}

.crypto-table tr.clickable:hover td:nth-child(-n+3),
.crypto-table tr.crypto-data-row:hover td:nth-child(-n+3) {
    background: #20382f;
}

.crypto-table .crypto-detail-row td,
.crypto-table .expand-row td {
    position: static;
}

/* Czytelniejszy scrollbar w ciemnym panelu. */
.crypto-table-shell {
    scrollbar-color: #4f7564 #14231d;
    scrollbar-width: auto;
}

.crypto-table-shell::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}

.crypto-table-shell::-webkit-scrollbar-track {
    background: #14231d;
}

.crypto-table-shell::-webkit-scrollbar-thumb {
    background: #4f7564;
    border: 3px solid #14231d;
    border-radius: 999px;
}

.crypto-table-shell::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

@media (max-width: 1100px) {
    .crypto-column-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crypto-table-shell {
        height: 50vh;
    }
}

@media (max-width: 700px) {
    .crypto-column-help-grid {
        grid-template-columns: 1fr;
    }

    .crypto-table-shell {
        height: 55vh;
        min-height: 360px;
    }
}
/* <<< CRYPTO_TABLE_VIEWPORT_V1 <<< */
