.game-container {
    background: #5c3e1f;
    padding: 20px;
    border-radius: 48px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,200,0.1);
    border: 1px solid #8b5a2b;
    max-width: 950px;
    margin: 2rem auto;
}
.game-header {
    background: #4a2e12;
    padding: 12px 20px;
    border-radius: 60px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #f5e6c4;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4), 0 3px 6px rgba(0,0,0,0.3);
}
.stats {
    display: flex;
    gap: 28px;
    background: #2f1d0b;
    padding: 6px 20px;
    border-radius: 50px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: bold;
}
.bomb-limit {
    background: #2f1d0b;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.grid {
    display: grid;
    gap: 8px;
    background: #4a2e12;
    padding: 18px;
    border-radius: 36px;
    justify-content: center;
    margin-bottom: 15px;
}
.cell {
    background: #6d4c2a;
    aspect-ratio: 1 / 1;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 18px;
    box-shadow: inset 0 -2px 0 #3b2a18, 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.08s linear;
    color: #d4c4a8;
    text-shadow: 0 1px 1px black;
    cursor: pointer;
}
.cell:hover {
    transform: scale(0.97);
    background: #8b5a2b;
    cursor: url("") 14 14, auto;
}
.cell.removed {
    background: #2a5a2a;
    color: #88ff88;
    text-decoration: line-through;
    cursor: default;
    pointer-events: none;
}
.message-area {
    text-align: center;
    margin: 15px 0;
    font-size: 1rem;
    font-weight: bold;
    color: #ffd966;
    min-height: 55px;
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 30px;
}
.game-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.back-btn, .reset-btn {
    background: #b87c3a;
    border: none;
    color: #f9e2b7;
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}
.back-btn:hover, .reset-btn:hover {
    background: #d49442;
    transform: scale(1.02);
    color: white;
}
@media (max-width: 700px) {
    .game-header { flex-direction: column; align-items: stretch; }
    .stats, .bomb-limit { justify-content: center; }
    .cell { font-size: 0.8rem; min-width: 42px; }
    .grid { gap: 5px; padding: 10px; }
}