* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', 'Impact', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #000000;
    min-height: 100vh;
    padding: 0;
    color: #ffffff;
    line-height: 1.5;
    font-size: 15px;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    border-bottom: 3px solid #dc2626;
    background: linear-gradient(180deg, #1a0000 0%, #000000 100%);
    position: relative;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

header::before,
header::after {
    content: '🔥';
    position: absolute;
    font-size: 60px;
    opacity: 0.6;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.8));
}

header::before {
    left: 20px;
}

header::after {
    right: 20px;
    transform: translateY(-50%) scaleX(-1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.header-text {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #dc2626;
    margin-bottom: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.8),
                 0 0 40px rgba(220, 38, 38, 0.4);
}

.subtitle {
    font-size: 0.9375rem;
    color: #9ca3af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #dc2626;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3),
                inset 0 1px 0 rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: visible;
}

.card::before {
    content: '🔥';
    position: absolute;
    font-size: 40px;
    opacity: 0.08;
    right: -5px;
    top: -5px;
    pointer-events: none;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #dc2626;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 44px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.card h2::before {
    content: '🔥';
    position: absolute;
    left: 0;
    font-size: 32px;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    padding-left: 36px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card h3::before {
    content: '🔥';
    position: absolute;
    left: 0;
    font-size: 24px;
    opacity: 0.85;
    top: 50%;
    transform: translateY(-50%);
}
}

.player-input {
    margin-bottom: 20px;
}

.max-cards-input {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
}

.max-cards-input label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.max-cards-input .hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 6px;
}

#player-list {
    margin-bottom: 16px;
}

.player-tag {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    color: #ffffff;
    padding: 6px 12px;
    margin: 4px;
    font-size: 0.875rem;
    border: 1px solid #dc2626;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.player-tag button {
    background: none;
    border: none;
    color: #dc2626;
    margin-left: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s;
}

.player-tag button:hover {
    color: #ffffff;
}

.input-group {
    display: flex;
    gap: 8px;
}

input[type="text"],
input[type="number"] {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #333333;
    font-size: 0.9375rem;
    font-family: inherit;
    background: #1a1a1a;
    color: #ffffff;
    transition: border-color 0.15s;
    font-weight: 600;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

select {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #333333;
    font-size: 0.9375rem;
    background: #1a1a1a;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.btn {
    padding: 10px 20px;
    border: 2px solid #dc2626;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid #dc2626;
    width: 100%;
    padding: 14px 12px 14px 48px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #333333;
    border-color: #333333;
    color: #666666;
    cursor: not-allowed;
}

.btn-secondary {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8125rem;
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #dc2626;
}

.btn-small:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.btn-warning {
    background: #1a1a1a;
    color: #dc2626;
    border: 2px solid #dc2626;
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 1rem;
}

.btn-warning:hover {
    background: #dc2626;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #dc2626;
    background: transparent;
    position: relative;
}

.game-header::before,
.game-header::after {
    content: '🔥';
    position: absolute;
    font-size: 40px;
    opacity: 0.4;
    bottom: -10px;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.6));
}

.game-header::before {
    left: 50%;
    margin-left: -60px;
}

.game-header::after {
    left: 50%;
    margin-left: 20px;
    transform: scaleX(-1);
}

/* Current Scores Display */
.current-scores-container {
    margin-top: 24px;
    margin-bottom: 20px;
}

.current-scores-label {
    font-size: 0.875rem;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 36px;
}

.current-scores-label::before {
    content: '🔥';
    position: absolute;
    left: 0;
    font-size: 24px;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
}

.current-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #dc2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
}

.current-scores::before,
.current-scores::after {
    content: '🔥';
    position: absolute;
    font-size: 50px;
    opacity: 0.3;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.6));
}

.current-scores::before {
    left: -15px;
}

.current-scores::after {
    right: -15px;
    transform: translateY(-50%) scaleX(-1);
}

.score-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid #dc2626;
}

.score-item.dealer {
    border-color: #dc2626;
    border-width: 2px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.score-player {
    font-weight: 700;
    font-size: 0.875rem;
    color: #ffffff;
    flex: 1;
    word-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-value {
    font-weight: 900;
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
}

.score-value.positive {
    color: #dc2626;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.score-value.negative {
    color: #666666;
}

.score-value.zero {
    color: #888888;
}

#round-info {
    text-align: right;
}

#round-info h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-info {
    margin: 4px 0 0 0;
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 600;
}

.rules-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 600;
}

.warning {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: 2px solid #ef4444;
    padding: 12px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    font-weight: 700;
}

.dealer-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dealer-badge::before {
    content: '🔥';
    display: inline-block;
    font-size: 12px;
    margin-right: 4px;
    vertical-align: middle;
}
}

.dealer-cell {
    background: rgba(220, 38, 38, 0.2) !important;
    font-weight: 700;
}

select:focus {
    outline: none;
    border-color: #dc2626;
}

/* Round Input Grid */
.round-grid {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Force equal column widths */
}

.grid-row {
    display: table-row;
}

.grid-header {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grid-label {
    display: table-cell;
    padding: 12px 16px 12px 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: right;
    vertical-align: middle;
    width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grid-cell {
    display: table-cell;
    padding: 8px;
    text-align: center;
    border: 1px solid #dc2626;
    vertical-align: middle;
    font-size: 0.875rem;
}

/* Equal widths for all player columns */
.grid-cell:not(.grid-label) {
    width: auto; /* Let table-layout: fixed handle equal widths */
}

.grid-player {
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 12px 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grid-player .dealer-badge {
    display: block;
    font-size: 0.6875rem;
    margin-top: 4px;
    color: #dc2626;
    font-weight: 600;
}

.grid-input-row .grid-cell {
    padding: 4px;
    background: #0a0a0a;
}

.grid-input {
    width: 100%;
    padding: 8px;
    border: 2px solid #333333;
    font-size: 0.9375rem;
    text-align: center;
    font-family: inherit;
    background: #1a1a1a;
    color: #ffffff;
    transition: all 0.2s;
    font-weight: 700;
}

.grid-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

.input-row label {
    flex: 1;
    font-weight: 700;
    font-size: 0.9375rem;
}

.input-row input {
    width: 80px;
    text-align: center;
}

.scorecard {
    margin-top: 24px;
}

.scorecard h2 {
    margin-bottom: 16px;
}

.scorecard-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #0a0a0a;
}

th, td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #dc2626;
}

/* Equal width for all player columns in scorecard */
th:not(:first-child),
td:not(:first-child) {
    width: 1%;
}

th:first-child,
td:first-child {
    text-align: left;
    padding-left: 12px;
    min-width: 120px;
}

th {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    font-weight: 900;
    color: #ffffff;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 3px solid #dc2626;
}

td {
    color: #ffffff;
    font-weight: 600;
}

tr:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
}

.total-row {
    border-top: 3px solid #dc2626;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.total-row td {
    padding-top: 12px;
    padding-bottom: 12px;
}

.positive-score {
    color: #dc2626;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.negative-score {
    color: #666666;
    font-weight: 700;
}

/* Distinguish cumulative row from score row */
tr:has(td em:first-child) {
    font-style: italic;
}

tr:has(strong:first-child) td:first-child {
    font-weight: 600;
}

/* Cumulative total rows - slightly emphasized */
tbody tr:nth-child(4n) {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, transparent 100%);
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 12px;
    }
    
    .logo {
        width: 56px;
        height: 56px;
    }
    
    .header-content {
        gap: 16px;
    }
    
    header {
        padding: 24px 0;
        margin-bottom: 24px;
    }
    
    header::before,
    header::after {
        width: 40px;
        height: 50px;
        left: 10px;
    }
    
    header::after {
        left: auto;
        right: 10px;
    }
    
    header h1 {
        font-size: 1.375rem;
    }
    
    .subtitle {
        font-size: 0.875rem;
    }
    
    .card {
        padding: 12px;
    }
    
    .card::before {
        width: 30px;
        height: 37px;
        opacity: 0.06;
    }
    
    .card h2 {
        font-size: 1.125rem;
        margin-bottom: 12px;
        padding-left: 36px;
    }
    
    .card h2::before {
        width: 24px;
        height: 30px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    /* Equal width columns for round input grid */
    .round-grid {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .grid-row {
        display: flex;
        width: 100%;
    }
    
    .grid-label {
        flex: 0 0 60px;
        width: 60px;
        padding: 8px 8px 8px 0;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .grid-cell {
        flex: 1;
        min-width: 0;
        padding: 6px 4px;
        font-size: 0.8125rem;
    }
    
    .grid-player {
        padding: 10px 4px;
        font-size: 0.8125rem;
        word-break: break-word;
    }
    
    .grid-player .dealer-badge {
        font-size: 0.625rem;
        margin-top: 2px;
    }
    
    .grid-input {
        padding: 6px 4px;
        font-size: 0.875rem;
    }
    
    /* Equal width columns for scorecard table */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    thead, tbody, tr {
        display: block;
        width: 100%;
    }
    
    tr {
        display: flex;
        width: 100%;
    }
    
    th:first-child,
    td:first-child {
        flex: 0 0 100px;
        width: 100px;
        text-align: left;
        padding-left: 8px;
        font-size: 0.75rem;
    }
    
    th:not(:first-child),
    td:not(:first-child) {
        flex: 1;
        min-width: 0;
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    
    /* Current scores mobile optimization */
    .current-scores-container {
        margin-top: 16px;
    }
    
    .current-scores-label {
        font-size: 0.875rem;
        margin-bottom: 8px;
        padding-left: 32px;
    }
    
    .current-scores-label::before {
        width: 20px;
        height: 25px;
    }
    
    .current-scores {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .current-scores::before,
    .current-scores::after {
        width: 30px;
        height: 37px;
        opacity: 0.1;
    }
    
    .score-item {
        padding: 10px;
    }
    
    .score-player {
        font-size: 0.8125rem;
    }
    
    .score-value {
        font-size: 1.125rem;
    }
    
    .score-item:first-child .score-value.positive::after {
        width: 20px;
        height: 25px;
    }
    
    /* Button optimizations */
    .btn {
        padding: 12px 16px;
        font-size: 0.9375rem;
    }
    
    .btn-primary {
        padding-left: 40px;
    }
    
    .btn-primary::before {
        width: 20px;
        height: 25px;
        left: 10px;
    }
    
    .btn-small {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }
    
    /* History items mobile */
    .history-item {
        padding: 12px;
    }
    
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 0.8125rem;
    }
    
    .history-players {
        font-size: 0.75rem;
    }
    
    .history-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .history-actions button {
        width: 100%;
    }
    
    /* Flame divider mobile */
    .flame-divider {
        margin: 16px 0;
        height: 45px;
    }
    
    .flame-divider::after {
        width: 35px;
        height: 44px;
    }
    
    /* Game header mobile */
    .game-header::before,
    .game-header::after {
        width: 30px;
        height: 37px;
    }
}

/* Tablet optimization (601px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .container {
        padding: 16px;
    }
    
    /* Equal width for 4-7 players on tablet */
    .grid-cell {
        min-width: 80px;
    }
    
    th:not(:first-child),
    td:not(:first-child) {
        min-width: 80px;
    }
}

/* Very small screens (< 360px) */
@media (max-width: 359px) {
    header h1 {
        font-size: 1.125rem;
    }
    
    .grid-label {
        flex: 0 0 50px;
        width: 50px;
        font-size: 0.6875rem;
    }
    
    .grid-player {
        font-size: 0.75rem;
    }
    
    th:first-child,
    td:first-child {
        flex: 0 0 80px;
        width: 80px;
        font-size: 0.6875rem;
    }
}

/* Game History Styles */
.history-games {
    margin-top: 16px;
}

.history-item {
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid #dc2626;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.2);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.history-winner {
    font-weight: 900;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.history-players {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 12px;
    padding: 8px 0;
    border-top: 1px solid #dc2626;
    border-bottom: 1px solid #dc2626;
    font-weight: 600;
}

.history-actions {
    display: flex;
    gap: 8px;
}

#history-list {
    margin-top: 12px;
}

/* Flame Accents - Minimal & Elegant */
.flame-accent {
    position: relative;
}

.flame-accent::before {
    content: '🔥';
    display: inline-block;
    font-size: 14px;
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.8;
}

/* Subtle flame gradient for positive scores */
.positive-score {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
}

/* Flame border for winner in history */
.history-winner::before {
    content: '🔥';
    display: inline-block;
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
    opacity: 0.85;
}

/* Subtle flame glow on hover for primary buttons */
.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
}

/* Flame divider */
.flame-divider {
    height: 60px;
    margin: 32px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flame-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 38, 38, 0.6) 50%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.flame-divider::after {
    content: '🔥';
    position: relative;
    font-size: 50px;
    opacity: 0.4;
    z-index: 1;
}



/* Flame accent for dealer indicator */
.dealer-cell {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.04) 0%, transparent 100%) !important;
}

/* Current scores flame highlight for leader */
.score-item:first-child .score-value.positive {
    position: relative;
}

.score-item:first-child .score-value.positive::after {
    content: '🔥';
    display: inline-block;
    font-size: 28px;
    margin-left: 8px;
    vertical-align: middle;
    animation: flicker 2s ease-in-out infinite;
}

.score-item:first-child {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
}

@keyframes flicker {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Game complete flame celebration */
.game-complete-indicator {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.2) 0%, 
        rgba(220, 38, 38, 0.3) 50%,
        rgba(220, 38, 38, 0.2) 100%);
    border-radius: 8px;
    margin: 16px 0;
    border: 2px solid #dc2626;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.game-complete-indicator::before {
    content: '🔥';
    display: block;
    font-size: 32px;
    margin: 0 auto 8px;
    animation: flicker 2s ease-in-out infinite;
}
