/* =========================================
   COINBUZZER - NEW LISTING PAGE
========================================= */

.cb-new-page .container {
    position: relative;
}

.cb-new-hero {
    margin-bottom: 24px;
}

.cb-new-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,179,0,0.10);
    color: #ffcc33;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.cb-new-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.cb-new-stat {
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.cb-new-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #ffcc33;
    line-height: 1.1;
}

.cb-new-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #cfe7f7;
}

.cb-new-subline {
    margin-top: 4px;
    font-size: 13px;
    color: #cfe7f7;
    opacity: .85;
}

.cb-new-ad-row {
    margin-top: 6px;
    margin-bottom: 8px;
}

.cb-new-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cb-new-list-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffcc33;
}

.cb-new-page .notice {
    min-height: 180px;
}

.cb-new-page .name a {
    text-decoration: none;
}

.cb-new-page .name a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================================
   NEW LISTING NAME + PROGRESS
========================================= */

.cb-new-page td.name .cb-new-name-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    min-width: 220px;
}

.cb-new-page .cb-new-coin-title {
    display: block !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-new-page .cb-new-coin-title a {
    display: inline-block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.cb-new-page .cb-new-coin-title a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.cb-new-page .cb-listing-progress-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 170px !important;
    max-width: 170px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cb-new-page .cb-listing-progress {
    display: block !important;
    width: 120px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.14) !important;
    overflow: hidden !important;
    flex: 0 0 120px !important;
}

.cb-new-page .cb-listing-progress span {
    display: block !important;
    height: 100% !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ff9900, #ffcc33) !important;
}

.cb-new-page .cb-listing-progress-mini {
    display: block !important;
    margin-top: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: #cfe7f7 !important;
    letter-spacing: 0.02em;
    white-space: nowrap !important;
}

/* =========================================
   OPTIONAL SMALL STATUS BADGES
========================================= */

.cb-listing-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.cb-listing-badge.new {
    background: rgba(126, 208, 255, 0.16);
    color: #7ed0ff;
}

.cb-listing-badge.mid {
    background: rgba(255, 204, 51, 0.18);
    color: #ffcc33;
}

.cb-listing-badge.hot {
    background: rgba(141, 247, 163, 0.18);
    color: #8df7a3;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
    .cb-new-stats {
        gap: 8px;
    }

    .cb-new-stat {
        min-width: calc(50% - 4px);
        padding: 10px 12px;
    }

    .cb-new-stat-value {
        font-size: 17px;
    }

    .cb-new-stat-label {
        font-size: 11px;
    }

    .cb-new-list-head h2 {
        font-size: 18px;
    }

    .cb-new-page .notice {
        min-height: auto;
    }

    .cb-new-page td.name .cb-new-name-cell {
        gap: 4px !important;
        min-width: auto;
    }

    .cb-new-page .cb-new-coin-title {
        margin-bottom: 0 !important;
    }
    
}
/* =========================================
   MOBILE OPTIMIZATION - NEW LISTINGS
========================================= */
@media (max-width: 768px) {

    /* Tabs horizontal scrollbar sauberer */
    .cb-new-page .tabs.is-boxed {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        white-space: nowrap;
        margin-bottom: 14px;
    }

    .cb-new-page .tabs.is-boxed ul {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        min-width: max-content;
        border-bottom: 0 !important;
    }

    .cb-new-page .tabs.is-boxed li {
        flex: 0 0 auto;
    }

    .cb-new-page .tabs.is-boxed a {
        padding: 10px 14px;
        font-size: 15px;
    }

    /* Tabellenblock */
    .cb-new-page .listings table.table {
        width: 100% !important;
        table-layout: fixed;
    }

    .cb-new-page .listings table.table th,
    .cb-new-page .listings table.table td {
        vertical-align: middle;
    }

    /* Mobil: nur 3 Hauptspalten schön verteilen */
    .cb-new-page .listings table.table th:nth-child(1),
    .cb-new-page .listings table.table td:nth-child(1) {
        width: 8%;
        padding-left: 8px;
        padding-right: 4px;
    }

    .cb-new-page .listings table.table th:nth-child(2),
    .cb-new-page .listings table.table td:nth-child(2) {
        width: 14%;
        padding-left: 4px;
        padding-right: 6px;
    }

    .cb-new-page .listings table.table th:nth-child(3),
    .cb-new-page .listings table.table td:nth-child(3) {
        width: 48%;
    }

    .cb-new-page .listings table.table th:last-child,
    .cb-new-page .listings table.table td:last-child {
        width: 30%;
        text-align: right;
        padding-right: 10px;
    }

    /* Name-Spalte kompakter */
    .cb-new-page td.name .cb-new-name-cell {
        gap: 6px !important;
        min-width: 0 !important;
        width: 100%;
    }

    .cb-new-page .cb-new-coin-title {
        width: 100%;
    }

    .cb-new-page .cb-new-coin-title a {
        font-size: 15px !important;
        line-height: 1.2 !important;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Symbol / Chain mobil */
    .cb-new-page td.name .is-hidden-tablet {
        display: flex !important;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        font-size: 12px;
        color: #dcecff;
        line-height: 1.2;
    }

    .cb-new-page td.name .is-hidden-tablet .network {
        font-weight: 700;
        color: #ffffff;
    }

    /* Progressbar auf Mobil wieder EINBLENDEN */
    .cb-new-page .cb-listing-progress-wrap.is-hidden-mobile {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 145px !important;
    }

    .cb-new-page .cb-listing-progress {
        width: 90px !important;
        flex: 0 0 90px !important;
        height: 5px !important;
    }

    .cb-new-page .cb-listing-progress-mini {
        font-size: 10px !important;
        color: #cfe7f7 !important;
    }

    /* Coin-Bilder etwas kleiner */
    .cb-new-page .listings table.table td img {
        max-width: 38px;
        height: auto;
    }

    /* Vote Button mobil */
    .cb-new-page .listings table.table td:last-child .button {
        min-width: 112px;
        height: 40px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 10px;
        justify-content: center;
    }

    .cb-new-page .listings table.table td:last-child .button .votes {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        height: 34px;
        margin-right: 8px;
        border-radius: 8px;
        background: rgba(0,0,0,0.15);
        font-size: 12px;
        font-weight: 700;
    }

    .cb-new-page .listings table.table td:last-child .button span:last-child {
        font-size: 14px;
        font-weight: 700;
    }

    /* Überschrift mobil */
    .cb-new-page .cb-new-list-head {
        display: block;
        margin-bottom: 10px;
    }

    .cb-new-page .cb-new-list-head h2 {
        font-size: 18px;
        line-height: 1.2;
    }

    .cb-new-page .cb-new-subline {
        font-size: 12px;
        line-height: 1.35;
    }
}
/* =========================================
   MOBILE FIX - VOTE BUTTON
========================================= */
@media (max-width: 768px) {

    .cb-new-page .listings {
        overflow-x: hidden;
    }

    .cb-new-page .listings table.table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    .cb-new-page .listings table.table th:nth-child(3),
    .cb-new-page .listings table.table td:nth-child(3) {
        width: 46% !important;
    }

    .cb-new-page .listings table.table th:last-child,
    .cb-new-page .listings table.table td:last-child {
        width: 34% !important;
        padding-right: 8px !important;
    }

    .cb-new-page .listings table.table td:last-child {
        text-align: right !important;
    }

    .cb-new-page .listings table.table td:last-child .button {
        min-width: 96px !important;
        width: 96px !important;
        height: 38px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }

    .cb-new-page .listings table.table td:last-child .button .votes {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 32px !important;
        width: 32px !important;
        height: 32px !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
        background: rgba(0,0,0,0.16) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        flex: 0 0 32px !important;
    }

    .cb-new-page .listings table.table td:last-child .button span:last-child {
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
}