/* Mäxchen — spielspezifische Styles (Chrome aus ../style.css) */

.hero-dice { display: flex; justify-content: center; gap: 4px; font-size: 52px; margin-bottom: 8px; }
.hero-dice span:nth-child(1) { transform: rotate(-12deg); }
.hero-dice span:nth-child(2) { transform: rotate(9deg); }

/* Spieler mit Leben */
.players { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.pl {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 16px; border-radius: 12px; background: var(--panel);
    border: 1px solid var(--panel-border); min-width: 96px;
}
.pl.turn { border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 193, 78, .25); animation: focus-pulse 1.6s infinite; }
.pl.out { opacity: .45; filter: grayscale(.7); }
.pl .nm { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pl .lives { font-size: 13px; letter-spacing: 1px; }

/* Ansage — DER Fokus-Inhalt (§4.15) */
.announce-box {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    width: fit-content; margin: 0 auto 12px; padding: 10px 26px; border-radius: 14px;
    background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .5);
}
.announce-box[hidden] { display: none; }
.announce-box .lbl { font-size: 12.5px; color: var(--muted); }
.announce-box .val { font-size: clamp(26px, 7vw, 40px); font-weight: 800; color: var(--gold); }

/* Würfel */
.dice { display: flex; justify-content: center; gap: 10px; font-size: clamp(54px, 14vw, 84px); line-height: 1; }
.dice span { animation: die-in .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes die-in { from { transform: scale(.4) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Aufdeck-Drama */
.reveal-box {
    text-align: center; margin: 0 auto 12px; padding: 14px 18px; width: min(440px, 100%);
    border-radius: 14px; background: var(--panel); border: 1px solid var(--panel-border);
}
.reveal-box[hidden] { display: none; }
.reveal-box p { margin-top: 8px; font-size: 15px; }
.reveal-box .lie { color: var(--red); font-weight: 700; }
.reveal-box .truth { color: var(--green); font-weight: 700; }

/* Mein Zug */
.action-box { width: min(560px, 100%); margin: 0 auto 12px; }
.action-title { font-size: 15px; color: var(--muted); margin: 10px 0; }
.action-box.focus .action-title { font-size: 18px; font-weight: 800; color: var(--text); }
.act-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.act-btns .btn { min-height: 52px; min-width: 140px; font-size: 16px; }
.btn.danger { border-color: rgba(229, 72, 77, .55); color: var(--red); }
.btn.danger:hover { background: rgba(229, 72, 77, .14); }

.announce-picks { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 12px; }
.announce-picks[hidden] { display: none; }
.announce-picks .btn { min-height: 42px; padding: 8px 13px; font-weight: 800; }
.announce-picks .btn.truth { border-color: rgba(63, 191, 111, .6); }
.announce-picks .btn.maex { border-color: rgba(242, 193, 78, .7); color: var(--gold); }

@media (min-width: 1100px) {
    .pl { min-width: 130px; font-size: 16px; }
}

/* Etappe 21 (A5): Herz-Verlust pulsiert rot */
.pl.hurt { animation: hurt-pulse .9s ease-out; }
@keyframes hurt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .8); border-color: var(--red); }
    100% { box-shadow: 0 0 0 16px rgba(229, 72, 77, 0); }
}
