#wpwr-worte-raten-game {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f9f9f9; /* Einheitlicher heller Hintergrund im WordPress-Stil */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.wpwr-header {
    text-align: center;
    margin-bottom: 20px;
}

.wpwr-header h2, .wpwr-header p {
    color: #333;
    margin: 5px 0;
}

/* Kategorien-Auswahlfeld */
.wpwr-select-label {
    text-align: center;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
}

.wpwr-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.wpwr-cat-btn {
    width: 100%;
    padding: 10px !important;
    text-align: center;
    font-size: 14px !important;
    white-space: normal !important;
    height: auto !important;
    background: #f0f0f0 !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
}

.wpwr-cat-btn:hover {
    background: #e2e8f0 !important;
    border-color: #0073aa !important;
    color: #0073aa !important;
}

/* Spielbereich Header */
.wpwr-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    margin-bottom: 15px;
    font-size: 14px;
}

.wpwr-status-message {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 15px 0;
    color: #0073aa;
}

/* Statusbalken für 10 Fehlversuche */
.wpwr-progress-container {
    margin-bottom: 25px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.wpwr-progress-label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #444;
    text-align: right;
}

.wpwr-progress-bar-bg {
    width: 100%;
    height: 14px;
    background: #e2e8f0;
    border-radius: 7px;
    overflow: hidden;
}

.wpwr-progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #0073aa;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Lösungsfeld */
.wpwr-word-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
    min-height: 50px;
}

.wpwr-char-box {
    width: 38px;
    height: 48px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wpwr-char-box.space {
    border: none;
    background: transparent;
    box-shadow: none;
    width: 15px;
}

.wpwr-char-box.dash {
    background: #e2e8f0;
    border-color: #bbb;
}

.wpwr-char-box.revealed {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f8ff;
}

/* Buchstaben-Auswahlfeld (Tastatur) */
.wpwr-keyboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.wpwr-key {
    width: 36px;
    height: 38px;
    padding: 0 !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: bold;
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    border-radius: 4px;
}

.wpwr-key:hover:not(.disabled) {
    background: #0073aa !important;
    color: #fff !important;
    border-color: #0073aa !important;
}

.wpwr-key.disabled {
    background: #e2e8f0 !important;
    color: #999 !important;
    border-color: #d1d5db !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.wpwr-controls {
    text-align: center;
    margin-top: 15px;
}