/* Skin is an art-only layer; the live cells, pieces, targets and routes stay above it. */
svg[data-premium]>polygon,svg[data-premium]>line,svg[data-premium] .hole-rim,svg[data-premium] .hole-well,svg[data-premium] .skin-well-legacy,svg[data-premium] .hole>path:first-of-type{visibility:hidden}
.premium-board{pointer-events:none}
.free-control-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:8px 12px;border:1px solid var(--line,#8b92aa66);border-radius:10px;background:var(--panel-solid,#243047);color:var(--ink,#eee);font-size:13px;flex-shrink:0}
.free-control-switch b{font-size:12px;color:var(--muted,#aab5cc)}
.free-control-switch[aria-checked="true"]{border-color:#e5b1d7;background:#b57caa33}.free-control-switch[aria-checked="true"] b{color:#f7c7e6}
.sandbox-tools .free-control-switch{width:auto;min-width:140px}
.seat-control:disabled,.rv-player button:disabled,.lg-seat button:disabled,.duo-seat button:disabled{opacity:.48;cursor:not-allowed}
#rv-open-hands{width:100%;min-height:36px;margin:5px 0;flex-shrink:0}#rv-open-hands[aria-pressed="true"]{border-color:#d0acdc;color:#eed2f2}
.premium-choices{border-bottom:1px solid var(--line,#8884);padding-bottom:14px;margin-bottom:14px}.material-choice[data-premium-choice] .material-sample{background:var(--swatch-top);border:1px solid var(--swatch-bottom)}
.material-choice[data-premium-choice] .material-sample i{background:var(--swatch-well);border:1px solid var(--swatch-bottom);box-shadow:inset 0 1px 1px #fff8}
#board-choice-galaxy .material-sample{background:url('assets/boards/galaxy-nebula.png') center/cover!important}#board-choice-galaxy .material-copy small{color:var(--accent,#dcafd0)}
body[data-board="galaxy"] #board{--board-top:#ddd6e8;--board-bottom:#ddd6e8;--board-edge:#a99abf;--board-rim:#fff5f6;--well-face:#d5cde5;--well-top:#c8bfdc;--well-border:#a69bb8;--well-rim:#ede2ee;--well-glint:#fff5fb;--bridge-line:#ad9ab6;--bridge-glint:#fff4ec}
body[data-board="galaxy"] #board>polygon[fill="url(#wood)"]{fill:#ddd6e8}
@media(max-height:800px){.free-control-switch{min-height:32px;padding:6px 10px}#rv-open-hands{min-height:31px;margin:3px 0}}
/* Both reveal identities live in one stable left-hand stack. */
body .fun-board-room #rv-players.fun-player-list{grid-template-columns:1fr;gap:6px}
body .fun-board-room #rv-players .rv-player{position:static!important;transform:none!important;width:100%;display:grid;grid-template-columns:1fr;gap:3px;margin:0;padding:7px 8px;border-top-width:2px}
body .fun-board-room #rv-players .rv-player>*{grid-column:1;grid-row:auto;margin:0}
body .fun-board-room #rv-players .rv-player .player-identity{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
body .fun-board-room #rv-players .rv-player button{height:28px;min-height:28px;padding:3px;font-size:11px}
body .fun-board-room #rv-players .rv-player.current-turn{border:2px solid var(--seat-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--seat-color) 22%,transparent)}
body .fun-board-room .rv-turn-dot[data-active="true"]::before{width:9px;height:9px;background:var(--seat-color);animation:reveal-turn-pulse 1.3s ease-in-out infinite}
body .fun-board-room #rv-turn[data-live="true"]::before{animation:reveal-turn-pulse 1.3s ease-in-out infinite}
@keyframes reveal-turn-pulse{0%,100%{opacity:1;box-shadow:0 0 0 2px color-mix(in srgb,var(--seat-color,var(--turn-color)) 28%,transparent)}50%{opacity:.45;box-shadow:0 0 0 6px transparent}}
@media(min-width:900px) and (min-height:620px){body #rv-match .fun-control-rail{gap:5px;padding:8px}body #rv-match .rv-toolbar{gap:5px}body #rv-match .rv-controls{padding-top:5px;gap:4px}body #rv-match .rv-turn{min-height:40px;padding:6px 8px;font-size:13px}body #rv-match .rv-toolbar button,body #rv-match .rv-controls button{min-height:28px;height:28px;font-size:11px;padding:3px}body #rv-match #rv-open-hands{grid-column:1/-1;height:30px;margin:0}}
@media(prefers-reduced-motion:reduce){body .fun-board-room .rv-turn-dot::before,body .fun-board-room #rv-turn::before{animation:none!important}}
