/* Mühle — spielspezifische Styles (Chrome aus ../style.css).
   Kein Raster: 24 Punkte auf drei Ringen, als Prozentkoordinaten über einem
   quadratischen Kasten. Die Linien liegen als SVG darunter — sie sind reine
   Optik, die Regeln stehen im Kernel. */

.hero-muehle { display: flex; justify-content: center; gap: 6px; font-size: 46px; line-height: 1; margin-bottom: 6px; }
.hero-muehle span:nth-child(1) { color: #4f8cff; transform: rotate(-8deg); }
.hero-muehle span:nth-child(2) { color: var(--gold); }
.hero-muehle span:nth-child(3) { color: #e5484d; transform: rotate(8deg); }

.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 .side { font-weight: 700; font-size: 13px; }
.pl .side.w { color: #e8ecf3; }
.pl .side.b { color: var(--muted); }
.pl.turn { border-color: var(--gold); box-shadow: 0 0 18px rgba(242, 193, 78, .25); animation: focus-pulse 1.6s infinite; }

/* Brett: an Container UND Viewport-Höhe gekoppelt (S15) */
.m-board {
    position: relative; aspect-ratio: 1; margin: 6px auto;
    width: min(100%, 520px);
    width: clamp(280px, min(100%, calc(100dvh - 330px)), 520px);
    max-width: 100%;
    background: linear-gradient(160deg, #2a3346, #131a27);
    border: 1px solid var(--panel-border); border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.m-board.focus { box-shadow: 0 0 0 1px rgba(242, 193, 78, .35), 0 14px 40px rgba(0, 0, 0, .45); }
.m-lines {
    position: absolute; inset: 8%; width: 84%; height: 84%;
    fill: none; stroke: rgba(232, 236, 243, .35); stroke-width: .06; stroke-linecap: square;
}

/* Ein Punkt ist ein Tippziel (S12) — der sichtbare Stein sitzt darin. */
.pt {
    position: absolute; width: 13%; height: 13%; transform: translate(-50%, -50%);
    border: 0; background: none; padding: 0; border-radius: 50%;
    display: grid; place-items: center; cursor: default;
    min-width: 44px; min-height: 44px;
}
.pt::before {
    content: ''; position: absolute; width: 34%; height: 34%; border-radius: 50%;
    background: rgba(232, 236, 243, .28);
}
.pt.hat::before { content: none; }
.pt.kann { cursor: pointer; }
.pt.kann::before { background: rgba(242, 193, 78, .55); width: 44%; height: 44%; }
.pt.ziel::before { content: ''; background: rgba(63, 191, 111, .75); width: 52%; height: 52%; animation: focus-pulse 1.4s infinite; }
.pt.sel .stein { box-shadow: 0 0 0 3px var(--gold), 0 3px 8px rgba(0, 0, 0, .5); }
.pt.weg .stein { box-shadow: 0 0 0 3px var(--red), 0 3px 8px rgba(0, 0, 0, .5); animation: focus-pulse 1.1s infinite; }
.pt.lm .stein { box-shadow: 0 0 0 3px rgba(242, 193, 78, .5), 0 3px 8px rgba(0, 0, 0, .5); }

.stein {
    width: 76%; height: 76%; border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .25);
}
.stein.w { background: linear-gradient(160deg, #fdfdfa, #d6dbe6); }
.stein.s { background: linear-gradient(160deg, #3a4152, #1b2030); }

.take-hint { text-align: center; color: var(--red); font-size: 15px; font-weight: 800; min-height: 20px; margin: 0 0 4px; }
.take-hint[hidden] { display: none; }
.hand-zeile { display: flex; justify-content: center; gap: 14px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.hand-zeile b { color: var(--text); }
