/* =============================================
   LOTTOLAB — Toss Design System 기반 스타일
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
/* Colors */
    --blue: #3182F6;
    --blue-hover: #1B6FE4;
    --blue-light: rgba(49, 130, 246, 0.08);
    --blue-border: rgba(49, 130, 246, 0.2);

    --text-primary: #212529;
    --text-secondary: #4E5968;
    --text-muted: rgba(0, 12, 30, 0.46);

    --bg-page: #F2F4F6;
    --bg-white: #FFFFFF;
    --border: rgba(0, 29, 58, 0.1);
    --border-light: rgba(0, 29, 58, 0.06);

    --shadow-sm: 0 1px 4px rgba(0, 29, 58, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 29, 58, 0.10);

    /* Ball Colors (로또 공 — 변경 없이 유지) */
    --ball-1: linear-gradient(145deg, #fdd835, #f9a825);
    /* 1~10 */
    --ball-2: linear-gradient(145deg, #64b5f6, #1e88e5);
    /* 11~20 */
    --ball-3: linear-gradient(145deg, #ef5350, #c62828);
    /* 21~30 */
    --ball-4: linear-gradient(145deg, #bdbdbd, #757575);
    /* 31~40 */
    --ball-5: linear-gradient(145deg, #aed581, #558b2f);
    /* 41~45 */
/* Layout */
    --max-width: 680px;
    --nav-height: 60px;

    /* Tokens */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
        --radius-pill: 20px;

    --font: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
}

html {
scroll-behavior: smooth;
scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
font-family: var(--font);
background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
font-size: 15px;
    line-height: 1.6;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
position: sticky;
    top: 0;
    z-index: 100;
height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
max-width: var(--max-width);
    margin: 0 auto;
padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 20px;
}

.logo h1 {
font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--blue);
}

.header-nav {
    display: flex;
    gap: 2px;
}

.nav-link {
padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
background: rgba(49, 130, 246, 0.06);
    color: var(--blue);
}

.nav-link.active {
background: var(--blue-light);
    color: var(--blue);
    font-weight: 600;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.main-content {
max-width: var(--max-width);
    margin: 0 auto;
padding: 20px 16px 64px;
}

.page-section {
    padding: 24px 0 8px;
}

.section-divider {
height: 1px;
background: var(--border-light);
    margin: 8px 0;
}

.section-header {
    margin-bottom: 12px;
}

.section-title {
font-size: 18px;
font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

/* =============================================
   CARD
   ============================================= */
.card {
background: var(--bg-white);
    border: 1px solid var(--border);
border-radius: var(--radius-xl);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.card-title {
font-size: 15px;
    font-weight: 700;
color: var(--text-primary);
    margin-bottom: 12px;
}

/* =============================================
   SLIP BOARD (번호판)
   ============================================= */
.slip-board {
    margin-bottom: 14px;
}

.slip-top-bar {
display: flex;
    align-items: center;
    justify-content: space-between;
margin-bottom: 8px;
}

/* 모드 탭 */
.mode-tabs {
display: flex;
gap: 0;
    background: var(--bg-page);
    border: 1px solid var(--border);
border-radius: var(--radius-sm);
    overflow: hidden;
padding: 2px;
}

.mode-tab {
padding: 5px 14px;
    background: transparent;
    border: none;
font-family: var(--font);
font-size: 12px;
    font-weight: 600;
color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
gap: 5px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.mode-tab.active {
background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.mode-dot {
display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

/* .mode-tab.active .mode-dot — 색상은 JS에서 인라인 스타일로 처리 */

.include-dot {
    background: var(--blue);
}

.exclude-dot {
    background: #e53e3e;
}

/* 초기화 버튼 */
.btn-reset-prominent {
padding: 6px 14px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 12px;
font-weight: 600;
    cursor: pointer;
transition: border-color 0.15s, color 0.15s;
}

.btn-reset-prominent:hover {
border-color: #e53e3e;
    color: #e53e3e;
}

/* 번호 그리드 */
.slip-grid {
display: grid;
grid-template-columns: repeat(9, 1fr);
    gap: 3px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px;
    margin-bottom: 10px;
}

.slip-num {
position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
aspect-ratio: 1;
    border-radius: 6px;
    border: 1.5px solid transparent;
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
transition: background 0.1s, color 0.1s, border-color 0.1s, transform 0.1s;
    user-select: none;
line-height: 1;
}

.slip-num:hover {
background: var(--blue-light);
    color: var(--blue);
    border-color: var(--blue-border);
}

.slip-num.included {
background: var(--blue);
    color: #fff;
border-color: var(--blue);
    font-weight: 700;
}

.slip-num.included::before,
.slip-num.included::after {
    display: none;
}

.slip-num.excluded {
background: rgba(229, 62, 62, 0.08);
    color: rgba(229, 62, 62, 0.6);
    border-color: rgba(229, 62, 62, 0.2);
}

.slip-num.disabled {
opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.slip-num.included.disabled {
opacity: 0.85 !important;
background: var(--blue) !important;
    color: #fff !important;
border-color: var(--blue) !important;
}

.slip-num.excluded.disabled {
    opacity: 0.3;
}

/* 선택 현황 */
.selection-summary-inline {
display: flex;
gap: 14px;
    flex-wrap: wrap;
padding: 2px 0;
}

.summary-item {
display: flex;
    align-items: center;
gap: 5px;
    font-size: 12px;
}

.summary-label-sm {
font-weight: 600;
color: var(--text-secondary);
}

.summary-tags-sm {
display: flex;
gap: 3px;
    flex-wrap: wrap;
}

.tag-empty {
font-size: 12px;
    color: var(--text-muted);
}

.num-tag {
display: inline-flex;
    align-items: center;
    justify-content: center;
min-width: 24px;
    height: 20px;
    padding: 0 6px;
border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
}

.num-tag.include {
background: var(--blue-light);
    color: var(--blue);
    border: 1px solid var(--blue-border);
}

.num-tag.exclude {
background: rgba(229, 62, 62, 0.08);
    color: #e53e3e;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

/* =============================================
   GEN OPTIONS (게임 수 선택 + 생성 버튼)
   ============================================= */
.gen-options {
    margin-bottom: 0;
}

.set-selector {
display: flex;
gap: 6px;
    margin-bottom: 10px;
}

.set-btn {
flex: 1;
    padding: 8px 4px;
border: 1.5px solid var(--border);
    background: var(--bg-white);
color: var(--text-secondary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
border-radius: var(--radius-md);
    cursor: pointer;
transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.set-btn:hover {
border-color: var(--blue);
    color: var(--blue);
}

.set-btn.active {
background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-generate {
width: 100%;
padding: 13px;
    border: none;
background: var(--blue);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
transition: background 0.15s, transform 0.1s;
    letter-spacing: -0.1px;
}

.btn-generate:hover {
    background: var(--blue-hover);
}

.btn-generate:active {
    transform: scale(0.98);
}

.btn-action {
width: 100%;
padding: 13px;
    border: none;
    font-family: var(--font);
    font-size: 15px;
font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
transition: background 0.15s, transform 0.1s;
    color: #fff;
letter-spacing: -0.1px;
    margin-top: 12px;
}

.btn-action:active {
    transform: scale(0.98);
}

/* 시뮬레이션 버튼 — 블루 계열로 통일 */
.btn-orange {
background: var(--blue);
}
.btn-orange:hover {
    background: var(--blue-hover);
}

/* 세금 계산 버튼 — 약간 짙은 블루 */
.btn-green {
    background: #1B6FE4;
}
.btn-green:hover {
    background: #1460cc;
}

.btn-sm {
    padding: 7px 14px;
        border: 1.5px solid var(--border);
    background: var(--bg-white);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
        white-space: nowrap;
}

.btn-sm:hover {
    border-color: var(--blue);
        color: var(--blue);
}

.btn-accent {
    background: var(--blue-light);
        border-color: var(--blue-border);
        color: var(--blue);
    }
    
    .btn-use-sim {
        margin-left: auto;
        padding: 4px 10px;
        border: 1.5px solid var(--border);
        background: var(--bg-white);
        color: var(--text-secondary);
        font-family: var(--font);
        font-size: 11px;
        font-weight: 600;
        border-radius: var(--radius-pill);
        cursor: pointer;
        transition: border-color 0.15s, color 0.15s;
        white-space: nowrap;
    }
    
    .btn-use-sim:hover {
        border-color: var(--blue);
        color: var(--blue);
    }
    
    .btn-reset {
        padding: 6px 14px;
        border: 1.5px solid var(--border);
        background: var(--bg-white);
        color: var(--text-secondary);
        font-family: var(--font);
        font-size: 12px;
        font-weight: 600;
        border-radius: var(--radius-pill);
        cursor: pointer;
        transition: all 0.15s;
    }
    
    .btn-reset:hover {
        background: var(--bg-page);
        color: var(--text-primary);
}

/* =============================================
   LOTTO BALL
   ============================================= */
.lotto-ball {
display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    animation: ballPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(0);
}

.lotto-ball::before {
content: '';
    position: absolute;
    top: 4px;
    left: 9px;
    width: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: rotate(-25deg);
}

@keyframes ballPop {
0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }

    70% {
        transform: scale(1.1) rotate(8deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.lotto-ball.range-1 {
    background: var(--ball-1);
}

.lotto-ball.range-2 {
    background: var(--ball-2);
}

.lotto-ball.range-3 {
    background: var(--ball-3);
}

.lotto-ball.range-4 {
    background: var(--ball-4);
}

.lotto-ball.range-5 {
    background: var(--ball-5);
}

.lotto-ball.matched {
box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.15),
        0 0 0 3px var(--blue),
        0 0 12px rgba(49, 130, 246, 0.35);
}

.lotto-ball.small {
width: 34px;
    height: 34px;
font-size: 12px;
}

/* =============================================
   GENERATED RESULTS
   ============================================= */
.generated-results {
    min-height: 40px;
}

.empty-state {
text-align: center;
padding: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.number-set {
background: transparent;
    border-bottom: 1px solid var(--border-light);
padding: 8px 4px;
    display: flex;
    align-items: center;
gap: 8px;
    animation: fadeIn 0.3s ease;
}

.number-set:last-child {
    border-bottom: none;
}

.set-label {
font-size: 11px;
font-weight: 700;
    color: var(--blue);
    min-width: 16px;
}

.balls-container {
display: flex;
gap: 5px;
}

@keyframes fadeIn {
from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   INPUT / LABEL
   ============================================= */
.label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.text-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid rgba(0, 29, 58, 0.18);
    border-radius: var(--radius-md);
    background: var(--bg-white);
font-family: var(--font);
font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.12);
}

.text-input::placeholder {
    color: var(--text-muted);
}

.input-row {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.input-row .text-input {
    flex: 1;
}

/* =============================================
   MY NUMBERS DISPLAY
   ============================================= */
.my-numbers-display {
background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
min-height: 50px;
flex-wrap: wrap;
    margin-bottom: 6px;
}

.placeholder-text {
font-size: 13px;
color: var(--text-muted);
}

/* =============================================
   SIMULATION COUNT
   ============================================= */
.sim-my-numbers {
    margin-bottom: 14px;
}

.sim-count-section {
    margin-bottom: 14px;
}

.sim-count-options {
    display: flex;
    gap: 4px;
flex-wrap: wrap;
    margin-bottom: 6px;
}

.sim-count-btn {
    flex: 1;
min-width: 58px;
    padding: 8px 4px;
    border: 1.5px solid var(--border);
    background: var(--bg-white);
color: var(--text-secondary);
    font-family: var(--font);
font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    text-align: center;
}

.sim-count-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.sim-count-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* =============================================
   SIM RESULT (1회)
   ============================================= */
.sim-result {
margin-top: 16px;
    padding: 16px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    animation: fadeIn 0.3s ease;
}

.sim-result-header {
display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.result-label {
font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.winning-numbers {
display: flex;
gap: 5px;
    flex-wrap: wrap;
}

.bonus-wrap {
display: flex;
    align-items: center;
gap: 6px;
}

.bonus-label {
font-size: 12px;
    color: var(--text-muted);
white-space: nowrap;
}

.match-info {
font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.result-rank {
font-size: 22px;
    font-weight: 800;
color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* =============================================
   BATCH RESULT (2회 이상)
   ============================================= */
.batch-result {
margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

/* JS에서 동적 생성하는 stat-card 스타일 */
.stat-card {
background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 12px;
    text-align: center;
}

.stat-rank {
font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-count {
font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
margin-top: 2px;
}

.batch-summary {
background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    font-size: 13px;
color: var(--text-secondary);
line-height: 1.7;
}

/* =============================================
   TAX SECTION
   ============================================= */
.tax-input-group {
    margin-bottom: 12px;
}

.amount-wrap {
display: flex;
    align-items: center;
gap: 8px;
    margin-bottom: 10px;
}

.amount-input {
    flex: 1;
}

.amount-unit {
font-size: 14px;
font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.quick-amounts {
display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-btn {
flex: 1;
    min-width: 70px;
    padding: 8px 6px;
    border: 1.5px solid var(--border);
    background: var(--bg-white);
color: var(--text-secondary);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
border-radius: var(--radius-md);
    cursor: pointer;
text-align: center;
    line-height: 1.3;
transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.quick-btn small {
display: block;
    font-weight: 400;
    color: var(--text-muted);
font-size: 10px;
    margin-top: 1px;
}

.quick-btn:hover {
border-color: var(--blue);
    color: var(--blue);
}

.quick-btn.active {
    background: var(--blue-light);
    border-color: var(--blue-border);
    color: var(--blue);
}

/* Tax Result */
.tax-result {
margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

.tax-breakdown {
background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
}

.tax-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.tax-row:last-child {
    border-bottom: none;
}

.prize-row {
    font-weight: 700;
color: var(--text-primary);
}

.net-row {
    font-weight: 700;
color: var(--text-primary);
    background: var(--bg-white);
}

.tax-sep {
height: 1px;
background: var(--border);
}

.val-primary {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.val-red {
    font-weight: 700;
color: #e53e3e;
}

.val-green {
    font-size: 16px;
    font-weight: 800;
    color: var(--blue);
}

.val-muted {
    font-weight: 600;
    color: var(--text-muted);
}

.tax-chart {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* =============================================
   INFO TABLE
   ============================================= */
.info-table {
width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.info-table th,
.info-table td {
padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.info-table th {
font-size: 11px;
    font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
    letter-spacing: 0.5px;
background: var(--bg-page);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table td {
    color: var(--text-secondary);
}

.td-accent {
font-weight: 700;
color: var(--blue);
}

/* =============================================
   FOCUS & ACCESSIBILITY
   ============================================= */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
text-align: center;
padding: 24px 16px;
    font-size: 13px;
    color: var(--text-muted);
border-top: 1px solid var(--border-light);
    margin-top: 16px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
    .header-nav {
        gap: 0;
    }

    .nav-link {
        padding: 6px 10px;
            font-size: 13px;
    }

    .slip-grid {
        grid-template-columns: repeat(9, 1fr);
        gap: 2px;
    }

    .lotto-ball {
        width: 34px;
            height: 34px;
            font-size: 12px;
    }

    .quick-amounts {
        gap: 4px;
    }

        .sim-count-options {
            gap: 3px;
    }
}
/* =============================================
   "1등 나올 때까지" 기능 전용 스타일
   ============================================= */

/* 버튼 */
.btn-until-jackpot {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue-border);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s;
}

.btn-until-jackpot:hover:not(:disabled) {
    background: var(--blue-light);
}

.btn-until-jackpot:disabled,
.btn-orange:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* 진행 표시 */
.jackpot-progress {
    margin-top: 12px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    animation: fadeIn 0.25s ease;
}

.jackpot-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.jackpot-progress-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-jackpot-stop {
    padding: 4px 12px;
    background: transparent;
    border: 1.5px solid rgba(229, 62, 62, 0.35);
    color: #e53e3e;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.15s;
}

.btn-jackpot-stop:hover {
    background: rgba(229, 62, 62, 0.07);
}

.jackpot-bar-wrap {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.jackpot-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #60a5fa);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

/* 결과 카드 */
.jackpot-result {
    margin-top: 14px;
    animation: fadeIn 0.3s ease;
}

.jackpot-result-inner {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    text-align: center;
}

.jackpot-result-inner.jackpot-stopped {
    border-color: rgba(229, 62, 62, 0.2);
    background: rgba(229, 62, 62, 0.03);
}

.jackpot-emoji {
    font-size: 36px;
    margin-bottom: 8px;
}

.jackpot-headline {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

.jackpot-result-inner:not(.jackpot-stopped) .jackpot-headline {
    color: var(--blue);
}

.jackpot-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}

.jackpot-sub strong {
    color: var(--text-primary);
    font-weight: 700;
}

.jackpot-balls {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}