@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.compare-page-wrapper {
    padding: 40px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== TITLE ===== */
.compare-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.compare-title {
    text-align: center;
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    position: relative;
}

.compare-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    margin: 12px auto 0;
}

.compare-cancel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    color: #c0392b;
    border: 1.5px solid #e74c3c;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-top: 6px;
}

.compare-cancel-link:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.25);
}

.compare-cancel-link i {
    font-size: 16px;
}

/* ===== PRODUCT CARDS (Header) ===== */
.compare-products-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.compare-product-card {
    background: #fff;
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.compare-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.compare-product-card.is-winner {
    border-color: #f57c00;
    background: #fff;
}

.compare-product-card.is-winner::before {
    content: '🏆 WINNER';
    position: absolute;
    top: 16px;
    right: -32px;
    background: #f57c00;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.compare-product-image {
    width: 100%;
    max-width: 220px;
    height: 220px;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.compare-product-card:hover .compare-product-image {
    transform: scale(1.03);
}

.compare-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.compare-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.compare-product-title a:hover {
    color: #667eea;
}

/* ===== Score Badge ===== */
.compare-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.compare-score-badge.winner {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
    box-shadow: none;
}

.compare-score-badge.loser {
    background: #f5f5f5;
    color: #777;
    border: 1px solid #e5e5e5;
}

.compare-score-badge .score-num {
    font-size: 22px;
    font-weight: 800;
}

/* ===== Price ===== */
.compare-product-price {
    color: #e53935;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* ===== Add to Cart ===== */
.compare-add-to-cart {
    display: inline-block;
    padding: 12px 28px;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.compare-add-to-cart:hover {
    background: #333;
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}

/* ===== SPECS TABLE ===== */
.compare-specs-section {
    margin-top: 40px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    background: #fff;
}

.compare-specs-section .nano-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 2px solid #e5e5e5;
    background: #fff;
}

.compare-specs-section .nano-box-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.compare-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

/* --- Header row --- */
.compare-specs-table thead th {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 18px 20px;
    text-align: center;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 2;
}

.compare-specs-table thead th:first-child {
    text-align: left;
    width: 22%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    letter-spacing: 1px;
}

.compare-specs-table thead th:not(:first-child) {
    width: 39%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Body rows --- */
.compare-specs-table tbody tr {
    transition: background 0.15s ease;
}

.compare-specs-table tbody tr:nth-child(even) {
    background: #f9f9fc;
}

.compare-specs-table tbody tr:nth-child(odd) {
    background: #fff;
}

.compare-specs-table tbody tr:hover {
    background: #f0f0fa;
}

.compare-specs-table tbody th {
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
    background: transparent;
    border-bottom: 1px solid #ebebeb;
    border-right: 2px solid #e5e5e5;
    white-space: nowrap;
}

.compare-specs-table tbody td {
    padding: 15px 20px;
    font-size: 13.5px;
    color: #333;
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    text-align: center;
    line-height: 1.55;
    vertical-align: middle;
}

.compare-specs-table tbody td:last-child {
    border-right: none;
}

/* --- spec-inner: absolute badges to keep text perfectly aligned --- */
.compare-specs-table tbody td .spec-inner {
    position: relative;
    display: block;
    padding: 0 45px 0 0;
    /* Reserve space on right for badge */
}

.compare-specs-table tbody td .spec-text {
    display: block;
    text-align: left;
    width: 100%;
}

.compare-specs-table tbody td .spec-badges {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.compare-specs-table tbody tr:last-child th,
.compare-specs-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Spec Highlight ===== */
.spec-win {
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

.spec-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f5;
    color: #777;
    font-size: 11px;
    font-weight: 700;
    min-width: 26px;
    padding: 3px 7px;
    border-radius: 20px;
    line-height: 1.3;
    border: 1px solid #e0e0ec;
    letter-spacing: 0.3px;
}

.spec-win .spec-score {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    color: #2e7d32;
    border-color: #c8e6c9;
    box-shadow: 0 1px 3px rgba(46, 125, 50, 0.15);
}

.spec-trophy {
    color: #f57c00;
    font-size: 13px;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(245, 124, 0, 0.3));
}

/* ===== Footer Row (Tổng điểm) ===== */
.compare-specs-table tfoot tr {
    background: #f9f9fc;
}

.compare-specs-table tfoot td,
.compare-specs-table tfoot th {
    padding: 18px 20px;
    font-weight: 800;
    font-size: 14px;
    border-top: 2px solid #e5e5e5;
}

.compare-specs-table tfoot th {
    text-align: left;
    color: #1a1a2e;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 13px;
}

.compare-specs-table tfoot td {
    text-align: center;
    border-right: 1px solid #ebebeb;
}

.compare-specs-table tfoot td:last-child {
    border-right: none;
}

.total-score-winner {
    color: #1a1a2e;
}

.total-score-winner .total-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
    border: 1.5px solid #ffcc02;
    font-size: 18px;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.2);
    letter-spacing: 0.5px;
}

.total-score-loser {
    color: #999;
}

.total-score-loser .total-badge {
    display: inline-block;
    background: #f5f5f5;
    color: #999;
    border: 1px solid #e0e0e0;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* ===== Empty ===== */
.compare-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .compare-products-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .compare-product-card {
        padding: 24px 16px;
    }

    .compare-product-image {
        max-width: 160px;
    }

    .compare-title {
        font-size: 22px;
    }

    .compare-specs-table tbody th,
    .compare-specs-table tbody td {
        padding: 10px 12px;
        font-size: 12px;
    }

    .compare-specs-table thead th {
        font-size: 11px;
        padding: 10px 12px;
    }

    .compare-score-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .compare-score-badge .score-num {
        font-size: 18px;
    }
}

/* ===== NANO BOX (Shared Styles) ===== */
.nano-box {
    margin-top: 40px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    box-shadow: none;
}

.nano-box-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
}

.nano-box-header h2,
.nano-box-header h3 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a2e;
    font-weight: 700;
}

.nano-box-header h2 i,
.nano-box-header h3 i {
    color: #4a5fc1;
    font-size: 24px;
}

.nano-box-header p {
    font-size: 13px;
    color: #555;
    margin: 5px 0 0 0;
}

.nano-box-body {
    padding: 24px;
}

/* ===== KEY DIFFERENCES ===== */
.compare-key-differences h3.adv-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px 0;
}

.compare-key-differences ul.adv-list {
    margin: 0 0 32px 0;
    padding: 0;
    list-style: none;
}

.compare-key-differences ul.adv-list:last-child {
    margin-bottom: 0;
}

.compare-key-differences .adv-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #333;
}

.compare-key-differences .adv-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== VALUE FOR MONEY BOX ===== */
.vfm-box {
    padding: 0;
}

.vfm-header .beta-badge {
    color: #777;
    font-weight: normal;
    font-size: 16px;
}

.vfm-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.vfm-product-col {
    flex: 1;
    text-align: center;
}

.vfm-label {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
}

.vfm-label-req {
    color: #d32f2f;
}

.vfm-input-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 32px;
    overflow: hidden;
    background: #fff;
}

.vfm-currency-symbol {
    padding: 0 10px;
    background: #f5f5f5;
    color: #777;
    border-right: 1px solid #ccc;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.vfm-input-wrap input {
    border: none;
    padding: 0 10px;
    width: 100px;
    text-align: right;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.vfm-name {
    margin-top: 8px;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vfm-winner-badge {
    background: #2e7d32;
    color: #fff;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 9px;
}

.vfm-middle-col {
    text-align: center;
    padding: 0 20px;
}

.vfm-select {
    padding: 0 10px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    outline: none;
    background: #fff;
    color: #333;
    margin: 0;
}

.vfm-vs {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

/* ===== SCALE BAR ===== */
.vfm-scale-container {
    position: relative;
    margin: 30px auto 20px;
    max-width: 90%;
}

.vfm-scale-track {
    height: 3px;
    background: #e0e0e0;
    position: relative;
    border-radius: 2px;
}

.vfm-scale-fill {
    position: absolute;
    height: 100%;
    background: #4caf50;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.vfm-scale-center {
    position: absolute;
    left: 50%;
    top: -6px;
    height: 15px;
    width: 2px;
    background: #d32f2f;
    transform: translateX(-50%);
}

.vfm-scale-marker {
    position: absolute;
    top: 0px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #4a5fc1;
    transform: translate(-50%, 3px);
    transition: all 0.4s ease;
}

/* ===== RESULTS ===== */
.vfm-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    margin-bottom: 20px;
}

.vfm-result-item {
    text-align: center;
}

.vfm-index {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #ccc;
    font-weight: 700;
    font-size: 14px;
    margin-right: 4px;
    transition: all 0.3s;
    border-radius: 3px;
}

.vfm-rating {
    font-size: 12px;
    color: #555;
}

.vfm-result-center {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vfm-recalc-btn {
    background: #4a5fc1;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
}

.vfm-recalc-btn:hover {
    background: #394b9f;
}

.vfm-summary-text {
    font-size: 13px;
    color: #444;
    margin-top: 24px;
    line-height: 1.6;
}

.vfm-summary-text strong {
    color: #1a1a2e;
}

@media (max-width: 768px) {
    .vfm-controls {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .vfm-middle-col {
        order: -1;
        margin-bottom: 20px;
    }

    .vfm-results {
        flex-direction: column;
        gap: 16px;
    }

    .vfm-result-center {
        margin: 16px 0;
    }
}

/* ========================================================
   DETAILED SPEC COMPARISON TABLES (cds-*)
   ======================================================== */
.compare-detail-sections {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* nano-box handles border/shadow/radius — só override table area */
.cds-group .cds-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cds-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 480px;
}

.cds-table thead tr {
    background: #f8f9fc;
}

.cds-th-label {
    width: 35%;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cds-th-val {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    border-left: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal;
    word-break: break-word;
}

.cds-row {
    border-top: 1px solid #f1f3f8;
    transition: background .15s;
}

.cds-row:hover {
    background: #fafbff;
}

.cds-label {
    padding: 10px 20px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}

.cds-cell {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    border-left: 1px solid #f1f3f8;
    transition: background .15s;
}

/* Winner — xanh lá */
.cds-cell.cds-winner {
    background: #f0fdf4;
    color: #15803d;
    font-weight: 700;
}

/* Loser — xám */
.cds-cell.cds-loser {
    color: #9ca3af;
}

/* Tie — xanh nhạt */
.cds-cell.cds-tie {
    background: #f0f7ff;
    color: #1d4ed8;
}

/* Chấm xanh chỉ bên thắng */
.cds-win-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.cds-na {
    color: #d1d5db;
}

/* Row tên chip (CPU/GPU name) — nổi bật hơn */
.cds-row-chip {
    background: #f8f9fc;
    border-top: 2px solid #e0e7ff !important;
}

.cds-label-chip {
    font-weight: 700;
    font-size: 13px;
    color: #1a1a2e;
    letter-spacing: 0.2px;
}

.cds-chip-name {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .cds-table {
        min-width: 380px;
    }

    .cds-th-val {
        min-width: 100px;
        max-width: 140px;
        padding: 8px 10px;
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        /* Giới hạn 2 dòng tên sản phẩm */
        display: table-cell;
        -webkit-line-clamp: 2;
        white-space: normal;
        word-break: break-word;
    }

    .cds-th-label {
        width: 38%;
        min-width: 100px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .cds-label {
        padding: 8px 10px;
        font-size: 11.5px;
    }

    .cds-cell {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 100px;
    }

    .cds-group-header h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cds-table {
        min-width: 320px;
    }

    .cds-th-label,
    .cds-label {
        padding: 6px 8px;
        font-size: 11px;
    }

    .cds-th-val,
    .cds-cell {
        padding: 6px 8px;
        font-size: 11px;
        min-width: 90px;
    }

    .cds-group-header h3 {
        font-size: 14px;
    }

    /* Badge điểm nhỏ lại cho phù hợp */
    .cds-win-dot {
        width: 6px;
        height: 6px;
    }
}


/* ===================================================
   COMPARE PAGE – ENTRANCE ANIMATIONS
   =================================================== */

@keyframes cmp-slide-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cmp-slide-left {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cmp-slide-right {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cmp-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cmp-pop {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cmp-row-in {
    from {
        opacity: 0;
        transform: translateX(-16px);
        background: #f0f0fa;
    }

    to {
        opacity: 1;
        transform: translateX(0);
        background: inherit;
    }
}

/* === DIRECT CSS ANIMATIONS (No JS Flash) === */
.compare-title-row {
    animation: cmp-slide-up 0.6s 0.1s both cubic-bezier(0.22, 0.61, 0.36, 1);
}

.compare-products-header .compare-product-card:first-child {
    animation: cmp-slide-left 0.6s 0.2s both cubic-bezier(0.22, 0.61, 0.36, 1);
}

.compare-products-header .compare-product-card:last-child {
    animation: cmp-slide-right 0.6s 0.25s both cubic-bezier(0.22, 0.61, 0.36, 1);
}

.compare-specs-section .nano-box-header {
    animation: cmp-fade 0.5s 0.4s both;
}

.compare-specs-table tbody tr {
    animation: cmp-row-in 0.4s both ease;
}

.compare-specs-table tbody tr:nth-child(1) {
    animation-delay: 0.50s;
}

.compare-specs-table tbody tr:nth-child(2) {
    animation-delay: 0.54s;
}

.compare-specs-table tbody tr:nth-child(3) {
    animation-delay: 0.58s;
}

.compare-specs-table tbody tr:nth-child(4) {
    animation-delay: 0.62s;
}

.compare-specs-table tbody tr:nth-child(5) {
    animation-delay: 0.66s;
}

.compare-specs-table tbody tr:nth-child(6) {
    animation-delay: 0.70s;
}

.compare-specs-table tbody tr:nth-child(7) {
    animation-delay: 0.74s;
}

.compare-specs-table tbody tr:nth-child(8) {
    animation-delay: 0.78s;
}

.compare-specs-table tbody tr:nth-child(9) {
    animation-delay: 0.82s;
}

.compare-specs-table tbody tr:nth-child(10) {
    animation-delay: 0.86s;
}

.compare-specs-table tbody tr:nth-child(11) {
    animation-delay: 0.90s;
}

.compare-specs-table tbody tr:nth-child(12) {
    animation-delay: 0.94s;
}

.compare-specs-table tfoot tr {
    animation: cmp-slide-up 0.5s 1.0s both cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* For JS Intersection Observer */
.cmp-anim-hidden {
    opacity: 0;
}

.cmp-animate-up {
    animation: cmp-slide-up 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}



/* score number count-up visual hint */
.spec-score,
.total-badge {
    transition: transform 0.3s ease;
}

.spec-score.cmp-counted,
.total-badge.cmp-counted {
    transform: scale(1.15);
    transition: transform 0.15s ease;
}