/* ═══ Crypto Exchanges — unified design (matches CMC coins table) ═══ */

/* ═══ Breadcrumbs ═══ */
.cel-breadcrumbs {
    padding: 12px 0;
    font-size: 13px;
    color: #9aa5b4;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cel-breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
    background-image: none !important;
}
.cel-breadcrumbs a:hover {
    text-decoration: underline;
    background-image: none !important;
}
.cel-breadcrumb-sep {
    margin: 0 6px;
    color: #9aa5b4;
}

/* ═══ Override theme table styles ═══ */
.entry-content .cel-wrap table,
.entry-content .cel-wrap table td,
.entry-content .cel-wrap table th,
.home-text .cel-wrap table,
.home-text .cel-wrap table td,
.home-text .cel-wrap table th,
.archive-description .cel-wrap table,
.archive-description .cel-wrap table td,
.archive-description .cel-wrap table th {
    border: none !important;
    margin: 0 !important;
}

.cel-wrap {
    --bg: #f4f6f9;
    --card: #fff;
    --hover: #f8fafd;
    --border: #e8edf4;
    --t1: #0d1320;
    --t2: #536070;
    --t3: #9aa5b4;
    --accent: #2563eb;
    --accent-h: #1d4ed8;
    --accent-l: #eff6ff;
    --green: #059669;
    --red: #dc2626;
    --orange: #f59e0b;
    --r: 14px;
    --rs: 10px;
    --rx: 8px;
    --sh: 0 1px 4px rgba(15,23,42,.05), 0 1px 2px rgba(15,23,42,.04);
    --tr: .18s ease;
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: var(--font);
    color: var(--t1);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.5;
}
.cel-wrap *:not(.bx) {
    font-family: var(--font);
    box-sizing: border-box;
}

/* ═══ Section Card ═══ */
.cel-wrap .cel-section-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh);
    position: relative;
    margin-bottom: 20px;
}
.cel-wrap .cel-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}
.cel-wrap .cel-section-title {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--t1);
}
.cel-wrap .cel-count {
    background: var(--accent-l);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}

/* ═══ Tabs ═══ */
.cel-wrap .cel-tabs {
    display: flex;
    gap: 4px;
}
.cel-wrap .cel-tab {
    padding: 7px 14px;
    border-radius: var(--rs);
    font-size: 13px;
    font-weight: 600;
    color: var(--t2);
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cel-wrap .cel-tab:hover {
    background: var(--accent-l);
    color: var(--accent);
}
.cel-wrap .cel-tab.active {
    background: var(--accent);
    color: #fff;
}
.cel-wrap .cel-tab.active .cel-count {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* ═══ Search ═══ */
.cel-wrap .cel-head-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cel-wrap .cel-search-input,
.cel-wrap .cel-pairs-search {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: var(--rs);
    font-size: 12px;
    color: var(--t1);
    background: var(--card);
    outline: none;
    width: 170px;
    transition: var(--tr);
}
.cel-wrap .cel-search-input:focus,
.cel-wrap .cel-pairs-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ═══ Table wrapper ═══ */
.cel-wrap .cel-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* ═══ Table ═══ */
.cel-wrap table.cel-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    background: var(--card);
    table-layout: auto;
    margin: 0;
    padding: 0;
}

/* ═══ thead ═══ */
.cel-wrap table.cel-table thead th {
    text-align: left;
    padding: 9px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--t3);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: var(--tr);
    vertical-align: middle;
}
.cel-wrap table.cel-table thead th:hover {
    color: var(--t1);
}

/* Sort indicators */
.cel-wrap th.sorting::after { content: '⇅'; margin-left: 4px; font-size: 13px; opacity: .4; }
.cel-wrap th.sorting_asc::after { content: '↑'; margin-left: 4px; opacity: 1; color: var(--accent); }
.cel-wrap th.sorting_desc::after { content: '↓'; margin-left: 4px; opacity: 1; color: var(--accent); }

/* ═══ tbody ═══ */
.cel-wrap table.cel-table > tbody > tr > td {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    font-size: 15px;
    vertical-align: middle;
    color: var(--t1);
    text-align: left;
    background: var(--card);
    transition: var(--tr);
}
.cel-wrap table.cel-table > tbody > tr {
    transition: var(--tr);
    cursor: pointer;
}
.cel-wrap table.cel-table > tbody > tr:hover > td {
    background: var(--hover);
}
.cel-wrap table.cel-table > tbody > tr:last-child > td {
    border-bottom: none;
}

/* ═══ Sticky name column ═══ */
.cel-wrap .cel-sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left !important;
}
.cel-wrap table.cel-table thead th.cel-sticky-col {
    background: var(--bg);
}
.cel-wrap table.cel-table > tbody > tr > td.cel-sticky-col {
    background: var(--card);
}
.cel-wrap table.cel-table > tbody > tr:hover > td.cel-sticky-col {
    background: var(--hover);
}
/* Shadow on sticky column when scrolled */
.cel-table-wrap.scrolled .cel-sticky-col::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    bottom: 0;
    width: 8px;
    background: linear-gradient(90deg, rgba(0,0,0,.04), transparent);
    pointer-events: none;
}

/* ═══ Rank column ═══ */
.cel-wrap .cel-rank-num {
    color: var(--t3);
    font-size: 13px;
}
.cel-wrap .cel-th-rank {
    width: 40px;
    min-width: 40px;
}

/* ═══ Link resets (prevent theme background-image underlines) ═══ */
.cel-wrap a,
.cel-wrap a:hover,
.cel-wrap a:focus {
    background-image: none !important;
    text-decoration: none;
}

/* ═══ Exchange name cell ═══ */
.cel-wrap .cel-exchange-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--t1);
    font-weight: 600;
    white-space: nowrap;
    padding-left: 8px;
    background-image: none !important;
}
.cel-wrap .cel-exchange-link:hover {
    color: var(--accent);
    background-image: none !important;
}
.cel-wrap .cel-ex-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--bg);
}
.cel-wrap .cel-ex-name {
    font-size: 14px;
}
.cel-wrap .cel-ex-type-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cel-wrap .cel-type-spot {
    background: #eff6ff;
    color: #2563eb;
}
.cel-wrap .cel-type-cex {
    background: #eff6ff;
    color: #2563eb;
}
.cel-wrap .cel-type-dex {
    background: #f0fdf4;
    color: #059669;
}
.cel-wrap .cel-type-derivatives {
    background: #fef3c7;
    color: #d97706;
}
.cel-wrap .cel-type-perp_dex {
    background: #fce7f3;
    color: #db2777;
}

/* ═══ Score ═══ */
.cel-wrap .cel-score-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cel-wrap .cel-score-bar-mini {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.cel-wrap .cel-score-fill-mini {
    height: 100%;
    border-radius: 2px;
    transition: width .3s ease;
}
.cel-wrap .cel-score-mini span {
    font-size: 12px;
    font-weight: 600;
    color: var(--t2);
    min-width: 20px;
}

/* ═══ Sparkline ═══ */
.cel-wrap .cel-sparkline {
    width: 100px;
    height: 32px;
    display: inline-block;
}

/* ═══ Pair name ═══ */
.cel-wrap .cel-pair-name strong {
    color: var(--t1);
}
.cel-wrap .cel-pair-name {
    font-size: 13px;
    font-weight: 500;
}

/* ═══ Trade button ═══ */
.cel-wrap .cel-trade-btn {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--rx);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-l);
    text-decoration: none;
    transition: var(--tr);
}
.cel-wrap .cel-trade-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* ═══ Fiats ═══ */
.cel-wrap .cel-fiats {
    font-size: 13px;
    color: var(--t2);
}

/* ═══ Fixed thead clone ═══ */
.cel-fixed-thead {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg, #f4f6f9);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    overflow: hidden;
}
.cel-fixed-thead table {
    border-collapse: collapse;
    border: 0;
    margin: 0;
}
.cel-fixed-thead th {
    text-align: left;
    padding: 9px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--t3, #9aa5b4);
    background: var(--bg, #f4f6f9);
    border: 0;
    border-bottom: 1px solid var(--border, #e8edf4);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    font-family: var(--font, 'Manrope', sans-serif);
}
.cel-fixed-thead th:hover { color: var(--t1, #0d1320); }
.cel-fixed-thead th.sorting_asc::after { content: '↑'; margin-left: 4px; color: var(--accent, #2563eb); }
.cel-fixed-thead th.sorting_desc::after { content: '↓'; margin-left: 4px; color: var(--accent, #2563eb); }
.cel-fixed-thead th.sorting::after { content: '⇅'; margin-left: 4px; opacity: .4; }

/* ═══ Pagination ═══ */
.cel-wrap .cel-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}
.cel-wrap .cel-page-info {
    font-size: 13px;
    color: var(--t3);
}
.cel-wrap .cel-page-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cel-wrap .cel-page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--rx);
    background: var(--card);
    color: var(--t2);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}
.cel-wrap .cel-page-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}
.cel-wrap .cel-page-btn:disabled {
    opacity: .4;
    cursor: default;
}
.cel-wrap .cel-page-numbers {
    display: flex;
    gap: 2px;
}
.cel-wrap .cel-page-num {
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: var(--rx);
    background: transparent;
    color: var(--t2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
}
.cel-wrap .cel-page-num:hover {
    background: var(--accent-l);
    color: var(--accent);
}
.cel-wrap .cel-page-num.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ═══════════════════════════════════
   SINGLE EXCHANGE PAGE
   ═══════════════════════════════════ */

/* Header */
.cel-wrap .cel-single-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.cel-wrap .cel-single-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cel-wrap .cel-single-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
}
.cel-wrap .cel-single-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.2;
}
.cel-wrap .cel-single-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cel-wrap .cel-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--t2);
}
.cel-wrap .cel-badge-type {
    background: var(--accent-l);
    color: var(--accent);
}

/* Social links */
.cel-wrap .cel-single-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cel-wrap .cel-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--rx);
    font-size: 12px;
    font-weight: 600;
    color: var(--t2);
    text-decoration: none;
    transition: var(--tr);
}
.cel-wrap .cel-link-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-l);
}

/* Stats Grid */
.cel-wrap .cel-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.cel-wrap .cel-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 14px 16px;
    box-shadow: var(--sh);
}
.cel-wrap .cel-stat-label {
    font-size: 12px;
    color: var(--t3);
    margin-bottom: 4px;
}
.cel-wrap .cel-stat-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--t1);
}

/* Score bar */
.cel-wrap .cel-score-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.cel-wrap .cel-score-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--green);
    transition: width .5s ease;
}
.cel-wrap .cel-score-num {
    font-size: 14px;
    font-weight: 700;
}

/* Charts Row */
.cel-wrap .cel-charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.cel-wrap .cel-chart-container {
    height: 330px;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}
.cel-wrap .cel-volume-chart-card {
    min-height: 340px;
    overflow: hidden;
}

/* Donut */
.cel-wrap .cel-donut-card {
    min-height: 340px;
    overflow: hidden;
}
.cel-wrap .cel-donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 12px;
}
.cel-wrap .cel-donut-svg-w {
    position: relative;
    width: 180px;
    height: 180px;
}
.cel-wrap .cel-donut-svg-w svg {
    width: 100%;
    height: 100%;
}
.cel-wrap .cel-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}
.cel-wrap .cel-donut-center-value {
    font-size: 16px;
    font-weight: 800;
}
.cel-wrap .cel-donut-center-label {
    font-size: 11px;
    color: var(--t3);
}
.cel-wrap .cel-donut-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    width: 100%;
}
.cel-wrap .cel-dl-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 3px 6px;
    border-radius: var(--rx);
    cursor: default;
    transition: opacity .15s, background .15s;
}
.cel-wrap .cel-dl-item:hover { background: var(--hover); }
.cel-wrap .cel-dl-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}
.cel-wrap .cel-dl-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.cel-wrap .cel-dl-pct {
    margin-left: auto;
    font-weight: 600;
    color: var(--t2);
    font-size: 13px;
    white-space: nowrap;
}

/* Description card */
.cel-wrap .cel-desc-body {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--t2);
}

/* Not found */
.cel-wrap .cel-not-found {
    text-align: center;
    padding: 60px 20px;
    color: var(--t3);
    font-size: 16px;
}

/* Affiliate button */
.cel-wrap .cel-affiliate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--rs);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--tr);
}
.cel-wrap .cel-affiliate-btn:hover {
    background: var(--accent-h);
}

/* ═══ Loading state ═══ */
.cel-wrap .cel-loading {
    text-align: center;
    padding: 40px;
    color: var(--t3);
}
.cel-wrap .cel-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: celSpin .6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}
@keyframes celSpin {
    to { transform: rotate(360deg); }
}

/* ═══ Chart Tooltip ═══ */
.cel-lw-tooltip {
    display: none;
    position: absolute;
    z-index: 10;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    white-space: nowrap;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cel-lw-tooltip-date {
    color: #888;
    margin-bottom: 4px;
    font-size: 12px;
}
.cel-lw-tooltip-price {
    font-size: 15px;
}
.cel-lw-tooltip-price strong {
    color: #111;
    font-size: 16px;
}

/* ═══ Responsive ═══ */

/* Tablet */
@media (max-width: 1024px) {
    .cel-wrap .cel-charts-row {
        grid-template-columns: 1fr;
    }
    .cel-wrap .cel-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {

    .cel-wrap table.cel-table {
        min-width: 500px;
    }
    .cel-wrap .cel-single-header {
        flex-direction: column;
        gap: 12px;
    }
    .cel-wrap .cel-single-links {
        flex-wrap: wrap;
    }
    .cel-wrap .cel-search-input,
    .cel-wrap .cel-pairs-search {
        width: 100%;
        min-width: 0;
    }
    .cel-wrap .cel-tabs {
        flex-wrap: wrap;
        gap: 4px;
    }
    .cel-wrap .cel-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
		padding: 8px;
    }
    .cel-wrap .cel-head-controls {
        width: 100%;
    }
    .cel-wrap .cel-head-controls .cel-search {
        width: 100%;
    }
    /* Hide less important columns on main table */
    .cel-wrap .cel-th-vol7d,
    .cel-wrap .cel-th-fiats {
        display: none;
    }
    .cel-wrap #cel_exchanges_table td:nth-child(5),
    .cel-wrap #cel_exchanges_table td:nth-child(8) {
        display: none;
    }
    /* Chart container */
    .cel-wrap .cel-chart-container {
        height: 280px;
    }
    .cel-wrap .cel-donut-wrap {
        flex-direction: column;
        align-items: center;
    }
    .cel-wrap .cel-donut-svg-w {
        width: 160px;
        height: 160px;
    }
}

/* Mobile */
@media (max-width: 480px) {

    .cel-wrap .cel-single-name {
        font-size: 18px;
    }
	.cel-page-header-row { flex-direction: column; }
    .cel-wrap .cel-donut-legend {
        grid-template-columns: 1fr;
    }
    .cel-wrap .cel-tab {
        padding: 6px 10px;
        font-size: 13px;
    }
    .cel-wrap .cel-section-card {
        border: 0;
    }
    /* Hide more columns on pairs table */
    .cel-wrap .cel-th-spread,
    .cel-wrap .cel-th-share {
        display: none;
    }
    .cel-wrap #cel_pairs_table td:nth-child(6),
    .cel-wrap #cel_pairs_table td:nth-child(7) {
        display: none;
    }
    .cel-wrap .cel-stat-card {
        padding: 10px;
    }
    .cel-breadcrumbs {
        font-size: 12px;
    }

    /* Limit sticky column width so other columns remain visible */
    .cel-wrap .cel-sticky-col {
        max-width: 140px;
    }
    .cel-wrap .cel-exchange-link {
        max-width: 130px;
        overflow: hidden;
    }
    .cel-wrap .cel-ex-name {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }

    /* Stat block in one line */
    .cel-summary-stats .cel-stat {
        flex-direction: row !important;
        align-items: center;
        gap: 10px !important;
		padding: 5px 10px !important;
    }
	.mmdesc {
    margin-bottom: 5px;
	}
	.cel-page-header-row {gap: 11px !important;}
}

/* ═══ Page Header ═══ */
.cel-page-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cel-page-header-left {
    flex: 1;
    min-width: 0;
}
.cel-page-header-row .cel-summary-stats {
    margin-bottom: 0;
    flex-shrink: 0;
}
/* mtop and mmdesc are theme classes */

/* ═══ Summary Stats Bar ═══ */
.cel-wrap .cel-summary-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cel-wrap .cel-summary-item,
.cel-summary-stats .cel-stat {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e8edf4);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cel-wrap .cel-summary-label,
.cel-summary-stats .cel-stat-label {
    font-size: 11px;
    color: var(--t3, #9aa5b4);
    text-transform: uppercase;
    letter-spacing: .3px;
}
.cel-wrap .cel-summary-value,
.cel-summary-stats .cel-stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--t1, #0d1320);
}

/* ═══ Volume Change Badge ═══ */
.cel-wrap .cel-vol-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
.cel-wrap .cel-vol-change.up { background: #dcfce7; color: var(--green); }
.cel-wrap .cel-vol-change.down { background: #fef2f2; color: var(--red); }

/* ═══ Info Tabs (single page) ═══ */
.cel-wrap .cel-info-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 18px;
}
.cel-wrap .cel-info-tab {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t3);
    border: 0;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--tr);
    white-space: nowrap;
}
.cel-wrap .cel-info-tab:hover { color: var(--t1); }
.cel-wrap .cel-info-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.cel-wrap .cel-info-panel {
    display: none;
    padding: 16px 18px;
}
.cel-wrap .cel-info-panel.active { display: block; }

/* Chart in tab */
.cel-wrap .cel-chart-container-full {
    height: 400px;
    width: 100%;
    box-sizing: border-box;
}

/* ═══ X Feed ═══ */
.cel-wrap .cel-x-feed {
    max-height: 700px;
    overflow-y: auto;
}

/* Tweet loader placeholder */
.cel-wrap .cel-tweet-loader {
    padding: 20px 0;
}
.cel-wrap .cel-ph-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px 15px;
}
.cel-wrap .cel-ph-item::before {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 50%;
    z-index: 1;
    width: 500%; margin-left: -250%;
    background: linear-gradient(90deg, hsla(0,0%,100%,0) 46%, hsla(0,0%,100%,.35) 50%, hsla(0,0%,100%,0) 54%) 50% 50%;
    animation: celPhAnim .8s linear infinite;
    content: '';
}
.cel-wrap .cel-ph-row {
    height: 16px;
    margin: 8px 0;
    background: #ced4da;
    border-radius: 4px;
}
.cel-wrap .cel-ph-row:nth-child(1) { width: 60%; }
.cel-wrap .cel-ph-row:nth-child(2) { width: 80%; }
.cel-wrap .cel-ph-row:nth-child(3) { width: 40%; }
@keyframes celPhAnim {
    0% { transform: translate3d(-30%,0,0); }
    100% { transform: translate3d(30%,0,0); }
}

/* ═══ Overview table in tab ═══ */
.cel-wrap .cel-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.cel-wrap .cel-overview-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.cel-wrap .cel-overview-row:last-child { border-bottom: 0; }
.cel-wrap .cel-ov-label { color: var(--t3); }
.cel-wrap .cel-ov-value { color: var(--t1); font-weight: 600; }

/* ═══ Asset column in pairs table ═══ */
.cel-wrap .cel-asset-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}
.cel-wrap .cel-asset-link:hover { color: var(--accent); }
.cel-wrap .cel-asset-logo {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cel-wrap .cel-asset-symbol {
    font-size: 13px;
    font-weight: 500;
    color: #222;
}

/* ═══ Pseudo links ═══ */
.cel-wrap .js-link { cursor: pointer; }

/* ═══ No data message ═══ */
.cel-wrap .cel-no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--t3);
    font-size: 14px;
}

/* ═══ Status badges ═══ */
.cel-wrap .cel-badge-warn {
    background: #fef2f2;
    color: var(--red);
}

@media (max-width: 768px) {
    .cel-wrap .cel-info-tabs { overflow-x: auto; }
    .cel-wrap .cel-overview-grid { grid-template-columns: 1fr; }
    .cel-page-header-row .cel-summary-stats { align-self: flex-start; }
}

/* ═══ Hide DataTables default elements ═══ */
.cel-wrap .dataTables_wrapper .dataTables_length,
.cel-wrap .dataTables_wrapper .dataTables_filter,
.cel-wrap .dataTables_wrapper .dataTables_info,
.cel-wrap .dataTables_wrapper .dataTables_paginate {
    display: none !important;
}
.cel-wrap .dataTables_wrapper {
    overflow: visible !important;
}
