/* === MODAL ACTIONS === */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* === GAME NOTIFICATION === */
.game-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 8, 4, 0.95);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: var(--gold);
    font-family: 'MedievalSharp', cursive;
    font-size: 1rem;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.game-notification.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.game-notification.error {
    border-color: var(--blood-light);
    color: var(--blood-light);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-music {
    opacity: 0.7;
    min-width: 58px;
}

/* === PANELS === */
.panel {
    background: var(--glass-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.panel:hover {
    border-color: var(--gold);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* === GAME SCREEN === */
#game-screen {
    background: linear-gradient(180deg, #1a0a00 0%, #0d0d2b 50%, #1a0a00 100%);
}

.game-layout {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

/* === STATS PANEL === */
#stats-panel {
    width: 260px;
    min-width: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.char-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 0.8rem;
}

.char-name-class {
    text-align: left;
}

.char-header h3 {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.2rem;
    color: var(--gold);
}

.gold-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 12px;
    padding: 3px 9px;
    font-family: 'Crimson Text', serif;
    font-size: 0.85rem;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.gold-coin {
    font-size: 0.9rem;
    color: var(--gold);
}

/* === CAPACITÉS DE CLASSE === */
.ability-panel {
    padding-top: 0.6rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.ability-panel h4 {
    font-family: 'MedievalSharp', cursive;
    color: var(--gold);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.ability-entry {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.82rem;
    color: rgba(244, 228, 193, 0.75);
}

.ability-name-label {
    font-style: italic;
}

.ability-charges-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ability-pips {
    display: flex;
    gap: 4px;
}

.ability-pip {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.12);
    display: inline-block;
    transition: background 0.2s;
}

.ability-pip.full {
    background: var(--gold);
    box-shadow: 0 0 4px rgba(201, 168, 76, 0.5);
}

.ability-passive {
    font-size: 0.78rem;
    color: rgba(244, 228, 193, 0.5);
    font-style: italic;
}

