.combo-header {
    background: #0d1117;
    border-radius: 12px;
    padding: 8px 24px;
    margin-bottom: 20px;
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.combo-title-top {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-align: left;
}
.combo-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00e676;
    line-height: 1;
}
.combo-label {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 16px;
}
.btn-group-select {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #e9ecef;
    color: #333;
    border: 1px solid #dee2e6;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.btn-group-select:hover {
    background: #dee2e6;
}
.combination-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}
.info-bar {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    min-height: 22px;
}
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin: 12px 0;
    width: 100%;
    box-sizing: border-box;
}
.num-btn {
    width: 100%;
    height: 44px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #222;
    box-sizing: border-box;
}
@media (max-width: 576px) {
    .num-btn {
        height: 32px;
        font-size: 0.75rem;
    }
    .number-grid {
        gap: 2px;
    }
}
.num-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
}
.num-btn.selected {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.num-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.popup-overlay.active {
    display: flex;
}
.popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    width: 360px;
    max-width: 95vw;
}
.popup-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 16px 0;
}
.popup-num {
    aspect-ratio: 1;
    border: 1.5px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.popup-num:hover {
    border-color: #dc3545;
    color: #dc3545;
}
.popup-num.selected {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.combo-result-list {
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.9rem;
}
.num-btn-clear {
    background: #e9ecef;
    color: #dc3545;
    border-color: #dee2e6;
    font-size: 0.75rem;
    font-weight: 700;
}
.num-btn-clear:hover {
    background: #dee2e6;
    color: #dc3545;
    border-color: #dee2e6;
}
.combo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}
.popup-warning {
    width: 300px;
    text-align: center;
}
.popup-close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 0 4px;
}
.popup-close-btn:hover {
    color: #333;
}
.stat-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #e9ecef;
    color: #333;
    border: 1px solid #dee2e6;
}
.stat-badge-fixed {
    background: #e9ecef;
    color: #333;
    border-color: #dee2e6;
}
.stat-badge-clear {
    background: #e9ecef;
    color: #333;
    border-color: #dee2e6;
    cursor: pointer;
}
.stat-badge-clear:hover {
    background: #dee2e6;
}
.stat-badge-generate {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    cursor: pointer;
    font-weight: 600;
}
.stat-badge-generate:hover {
    background: #0b5ed7;
}
.stat-badge-generate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.num-btn.selected {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}
.num-btn.fixed {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}
