/* Contest Marketplace - Extra Vote Credit Tools */

.cm-credit-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.cm-credit-stat span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.cm-credit-stat strong {
    display: block;
    color: #061226;
    font-size: 42px;
    line-height: 1;
}

.cm-credit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 22px;
    margin-bottom: 22px;
}

.cm-code-mini {
    background: #071326;
    color: #e5f0ff;
    border-radius: 16px;
    padding: 14px;
    white-space: pre-wrap;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.35;
}

.cm-credit-plus {
    color: #16a34a;
    font-weight: 1000;
}

.cm-credit-minus {
    color: #dc2626;
    font-weight: 1000;
}

@media (max-width: 1100px) {
    .cm-credit-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-credit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .cm-credit-stat-grid {
        grid-template-columns: 1fr;
    }
}
