/* „Raus hier!" — spielspezifische Styles (Chrome aus ../style.css).
   Eigene Optik: dunkles Kreuz in Plattform-Farben, Avatar-Emojis als Figuren. */

.hero-raus { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 38px; margin-bottom: 8px; }
.hero-raus .fig { width: 22px; height: 22px; border-radius: 50% 50% 45% 45%; display: inline-block; }
.hero-raus .f0 { background: #4f8cff; }
.hero-raus .f1 { background: #e5484d; transform: translateY(4px); }
.hero-raus .f2 { background: #f2c14e; }

.players { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.pl {
    display: flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 12px;
    background: var(--panel); border: 1px solid var(--panel-border); font-size: 14px;
}
.pl .nm { display: flex; align-items: center; gap: 6px; }
.pl .score { color: var(--gold); font-weight: 800; }
.pl.turn { border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 193, 78, .25); animation: focus-pulse 1.6s infinite; }

/* Brett: 11×11, an Container UND Höhe gekoppelt (S15) */
.raus-board {
    display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr);
    gap: 2px; aspect-ratio: 1; margin: 6px auto;
    width: min(100%, 600px);
    width: clamp(280px, min(100%, calc(100dvh - 330px)), 600px);
    max-width: 100%;
    padding: 8px; border-radius: 16px;
    background: var(--panel); border: 1px solid var(--panel-border);
}
.raus-board.focus { border-color: rgba(242, 193, 78, .55); box-shadow: 0 0 0 1px rgba(242, 193, 78, .25), 0 0 26px rgba(242, 193, 78, .16); }
.rcell {
    border: 0; padding: 0; font: inherit; position: relative; min-width: 0; min-height: 0;
    border-radius: 50%; background: rgba(255, 255, 255, .10); cursor: default;
    display: grid; place-items: center;
}
.rcell.start { box-shadow: inset 0 0 0 2.5px var(--lc); background: color-mix(in srgb, var(--lc) 22%, transparent); }
.rcell.goal { border-radius: 30%; background: color-mix(in srgb, var(--lc) 30%, transparent); box-shadow: inset 0 0 0 1.5px var(--lc); }
.rcell.home { border-radius: 30%; background: color-mix(in srgb, var(--lc) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lc) 55%, transparent); }
.rcell.tgt { box-shadow: inset 0 0 0 3px var(--accent); cursor: pointer; }
.rcell.tgt-hit { box-shadow: inset 0 0 0 3px var(--red); animation: focus-pulse 1.2s infinite; }
.rcell.clickable { cursor: pointer; }

.rfig {
    position: absolute; inset: 6%; border-radius: 50%;
    display: grid; place-items: center;
    font-size: clamp(11px, 3.4vw, 22px); line-height: 1;
    background: color-mix(in srgb, var(--fc) 42%, #10141d);
    box-shadow: inset 0 0 0 2px var(--fc), 0 3px 8px rgba(0, 0, 0, .5);
    pointer-events: none;
}
.rfig.can { animation: fig-ready 1.4s infinite; }
.rfig.hop { animation: fig-hop .13s linear infinite; }
@keyframes fig-ready { 50% { transform: translateY(-8%); box-shadow: inset 0 0 0 2px var(--fc), 0 0 14px var(--fc); } }
@keyframes fig-hop { 50% { transform: translateY(-14%); } }

/* Brettmitte: Würfel */
.rmid {
    grid-column: 8 / 11; grid-row: 8 / 11;
    display: grid; place-items: center; align-content: center; gap: 2px;
}
.rmid .die { font-size: clamp(30px, 9vw, 56px); line-height: 1; animation: die-in .3s cubic-bezier(.2, 1.6, .4, 1); }
.rmid .die.faded { opacity: .3; }
.rmid .die-info { font-size: clamp(8px, 2vw, 12px); color: var(--muted); text-align: center; }
@keyframes die-in { from { transform: scale(.4) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }

.action-box { width: min(560px, 100%); margin: 0 auto 12px; }
.action-title { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.action-box.focus .action-title { font-size: 17px; font-weight: 800; color: var(--text); }
.act-btns { display: flex; gap: 10px; justify-content: center; }
.act-btns .btn { min-height: 50px; min-width: 170px; font-size: 16px; }

/* §4.16 Desktop-Fill */
@media (min-width: 1100px) {
    .raus-board { width: clamp(280px, min(100%, calc(100dvh - 300px)), 680px); }
}

/* Etappe 35 (#6): Discord-Bild als Spielfigur — schrumpft in den Farbring */
.rfig img {
    width: 78%; height: 78%; border-radius: 50%;
    object-fit: cover; display: block;
}
