/* ===================================
   24点计算器特定样式
   =================================== */

.input-row {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.result-section {
    display: none;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.count-badge {
    background: #e0f2fe;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
}

.solutions-grid::-webkit-scrollbar {
    width: 6px;
}

.solutions-grid::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.card {
    background: #fff;
    border: 1px solid #f1f5f9;
    height: 48px;
    padding: 0 20px;
    min-width: 120px;
    border-radius: 24px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    cursor: default;
    user-select: all;
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--primary);
    background-color: #f0f9ff;
    color: var(--primary);
    box-shadow: 0 8px 15px -3px rgba(14, 165, 233, 0.2);
    z-index: 10;
}

.no-solution {
    text-align: center;
    padding: 20px;
    color: #ef4444;
    font-weight: 500;
}


@media (max-width: 480px) {
    .card {
        padding: 0 12px;
        font-size: 1rem;
        height: 42px;
    }
}
