body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #e9ede9;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

.game-container {
    text-align: center;
    padding: 20px;
}

.ui-panel {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.main-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stats-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: stretch;
}

/* Alle 4 Kacheln sind jetzt identisch breit */
.score-badge, .highscore-container {
    background: #fff;
    border-radius: 12px;
    padding: 12px 0;
    width: 110px;
    text-align: center;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.score-label {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

#scoreValue, #timerValue, #levelValue, .highscore-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.no-record {
    font-size: 24px;
    color: #ddd;
    font-weight: bold;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    color: #333;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

button:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.15);
}

canvas {
    background-color: transparent;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.rules-box {
    margin-top: 20px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}