/* Boulevard — spielspezifische Styles (Chrome aus ../style.css).
   Eigene Optik: dunkles Brett, Farbleisten, KEINE fremde Gestaltung. */

.hero-blvd { font-size: 44px; letter-spacing: 8px; margin-bottom: 8px; }

/* Spieler-Leiste */
.pl-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.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.turn { border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 193, 78, .25); animation: focus-pulse 1.6s infinite; }
.pl.dead { opacity: .45; filter: grayscale(.8); }
.pl .cash { font-weight: 800; color: var(--gold); }
.pl .dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }

/* ── Brett: 11×11-Grid ────────────────────────────── */
.board {
    display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr);
    /* S15: zusätzlich an die Viewport-HÖHE gedeckelt, Untergrenze 300px */
    gap: 2px;
    /* 100% statt 96vw: 96vw ignorierte das Screen-Padding → 2px Quer-Scroll */
    width: min(100%, 720px);   /* Fallback ohne dvh (Safari < 15.4) */
    width: clamp(280px, min(100%, calc(100dvh - 350px)), 720px);
    max-width: 100%; aspect-ratio: 1; margin: 0 auto 12px;
    background: rgba(63, 191, 111, .05); border: 1px solid var(--panel-border);
    border-radius: 12px; padding: 4px;
}
.tile {
    position: relative; border-radius: 4px; background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .07); overflow: hidden;
    display: flex; flex-direction: column; min-width: 0; min-height: 0;
    font-size: clamp(5.5px, 1.35vw, 9.5px); line-height: 1.15; padding: 1px 2px;
}
.tile .strip { height: 18%; min-height: 4px; border-radius: 2px; margin-bottom: 1px; }
.tile .nm { font-weight: 700; overflow: hidden; word-break: break-word; }
.tile .pr { color: var(--muted); margin-top: auto; }
.tile.special { align-items: center; justify-content: center; text-align: center; font-size: clamp(8px, 2vw, 15px); }
.tile.owned { box-shadow: inset 0 0 0 2px var(--ownc, transparent); }
.tile.here { background: rgba(242, 193, 78, .16); }
.tile .hs { position: absolute; top: 1px; right: 2px; font-size: clamp(6px, 1.5vw, 10px); }
.tile .chips { position: absolute; bottom: 1px; right: 2px; display: flex; gap: 1px; }
.tile .chips i {
    width: clamp(6px, 1.6vw, 11px); height: clamp(6px, 1.6vw, 11px);
    border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .5);
}

/* Brettmitte: Würfel + Karte + Log + Pott */
.mid {
    grid-row: 2 / 11; grid-column: 2 / 11;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 4%; min-height: 0; overflow: hidden;
}
.mid .dice { font-size: clamp(30px, 7vw, 54px); line-height: 1; }
.mid .dice span { animation: die-in .3s cubic-bezier(.2, 1.6, .4, 1); display: inline-block; }
@keyframes die-in { from { transform: scale(.4) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
.mid .pot { font-size: clamp(10px, 2vw, 14px); color: var(--gold); font-weight: 700; }
.mid .cardbox {
    font-size: clamp(8px, 1.8vw, 13px); text-align: center; color: var(--text);
    background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .45);
    border-radius: 10px; padding: 6px 10px; max-width: 100%;
}
.mid .log {
    font-size: clamp(7px, 1.6vw, 11.5px); color: var(--muted); text-align: center;
    overflow: hidden; max-width: 100%;
}
.mid .log div:last-child { color: var(--text); font-weight: 600; }

/* Aktions-Box */
.action-box { width: min(640px, 100%); margin: 0 auto 12px; }
.action-title { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.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: 50px; min-width: 130px; font-size: 15.5px; }
.btn.danger { border-color: rgba(229, 72, 77, .55); color: var(--red); }
.build-row { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.build-row[hidden] { display: none; }
.build-row .btn { font-size: 12.5px; padding: 8px 10px; }
.finish-btn { display: block; margin: 0 auto; font-size: 13.5px; padding: 9px 16px; color: var(--muted); }

/* §4.16 Desktop-Fill */
@media (min-width: 1100px) {
    .board { width: min(80vh, 860px); }
    .tile { font-size: 11px; }
}

/* Etappe 21 (A4): Lande-Puls auf dem Zielfeld */
.tile.landed { animation: tile-land .6s ease-out; }
@keyframes tile-land {
    0% { box-shadow: 0 0 0 0 rgba(242, 193, 78, .8); }
    100% { box-shadow: 0 0 0 14px rgba(242, 193, 78, 0); }
}

/* ── Etappe 23 (Feedback-Runde 6) ── */
/* F7: Avatar-Spielfiguren statt Punkte */
.tile .chips i {
    width: clamp(10px, 2.4vw, 17px); height: clamp(10px, 2.4vw, 17px);
    border-radius: 50%; display: grid; place-items: center;
    font-size: clamp(7px, 1.7vw, 12px); line-height: 1;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .5);
}
.pl.off { opacity: .6; }
.pl .offtag { font-size: 11px; color: var(--muted); border: 1px solid var(--panel-border); border-radius: 999px; padding: 1px 7px; }

/* F9: Häuser-Badge lesbar */
.tile .hs {
    top: auto; bottom: 1px; left: 2px; right: auto;
    font-size: clamp(7px, 1.7vw, 11px); font-weight: 800;
    background: rgba(0, 0, 0, .55); border-radius: 5px; padding: 0 3px;
}

/* F10: Bau-Menü */
.build-btn { text-align: left; line-height: 1.25; }
.build-btn small { color: var(--muted); font-weight: 600; }

/* F11: Log-Box */
.log-box {
    width: min(640px, 100%); margin: 0 auto 10px; padding: 10px 14px;
    background: var(--panel); border: 1px solid var(--panel-border); border-radius: 12px;
    font-size: 13px; color: var(--muted); display: grid; gap: 3px;
}
.log-box:empty { display: none; }
.log-box .new { color: var(--text); font-weight: 700; font-size: 14.5px; }

/* F12: Spielstand-Hinweis */
.save-hint { text-align: center; font-size: 12px; color: var(--muted); margin: 0 auto 10px; max-width: 560px; }

/* F8: Feld-Karte */
.tile-card { width: min(400px, 92vw); }
.ti-strip { height: 14px; border-radius: 8px; margin-bottom: 10px; }
.tile-card .scores td { padding: 3px 6px; font-size: 13.5px; }
.tile { cursor: pointer; }
