/* Shared lobby visuals and match navigation; the actual boards keep individual controls. */
:root{--game-target:44px}
.cover-wheel,.cover-auction,.cover-card{background:radial-gradient(ellipse,#a3794c60,#1c2c25 74%)}
.cover-deduction,.cover-memory,.cover-dice{background:radial-gradient(ellipse,#5f688068,#202a2d 73%)}
.cover-board,.cover-map,.cover-race{background:radial-gradient(ellipse,#7a9b695b,#202d25 74%)}
.cover-puzzle,.cover-word{background:radial-gradient(ellipse,#9b855258,#242e26 75%)}
.card-art{border-bottom:1px solid #53645263}
.card-art svg{height:min(100%,145px);width:min(86%,240px);filter:drop-shadow(0 9px 7px #0007)}
.card-body p,.notice,.event{font-size:.93rem}
.mode-tag,.tag,.game-top span{font-size:.76rem}
.brand{font-family:Georgia,serif;letter-spacing:.08em;white-space:nowrap}
body.playing .match-book{padding:8px 11px;white-space:nowrap}
.first-move{padding:10px 16px;margin-top:12px;background:#e7d4ac;border:1px solid #a98d50;border-radius:10px}
.first-move h3{font-size:1rem;margin:0}
.first-move p{margin:5px 0 0;font-size:1rem;line-height:1.55}
.full-rule summary{color:#375544;font-size:1rem}
.playing .game-top button{min-height:44px}
@media(max-width:440px){.playing .sitebar .brand{font-size:clamp(14px,4.3vw,20px);gap:6px}.playing .brand-mark{font-size:27px}.playing .sitebar{gap:7px}.match-book{font-size:.8rem}.card-art{height:135px}}
.rr-board>div{background:linear-gradient(140deg,#466c5c,#244138);border:1px solid #557465}
.rr-board .rr-office{background:linear-gradient(145deg,#86643d,#453523)}
.rr-board .rr-home{border:2px solid #f7da94;box-shadow:inset 0 0 8px #f6be773b}
.rr-token{display:inline-block;background:#e2cb8e;color:#273b30;border-radius:5px;padding:1px 3px;font-weight:800;font-size:clamp(.56rem,1.8vw,.77rem)}
.mp-grid{gap:clamp(4px,1.2vw,10px)}.mp-grid button,.mp-cards>span.mp-face{padding:0;min-height:52px;aspect-ratio:1.05;width:100%;border:0;background:none}
.mp-cards{max-width:380px;margin-bottom:10px}.mp-cards>span.mp-face{max-width:92px;aspect-ratio:.9}
.mp-face,.mp-back{border-radius:7px;display:grid;place-items:center;width:100%;height:100%;box-shadow:0 2px 0 #8f7248}
.mp-face,.mp-cards>span.mp-face{background:linear-gradient(145deg,#fff9e5,#d4c398);color:#1d2f29}.mp-face.mp-red{color:#8a2924}
.mp-face small{justify-self:start;padding:5px 0 0 8px;font-size:.85rem}.mp-face b{line-height:1.2;font-size:clamp(1.25rem,4vw,2rem);padding-bottom:6px}
.mp-back{border:1px solid #ad9266;background:repeating-linear-gradient(45deg,#1e4435 0 4px,#275244 4px 6px)}
.mp-back b{border:1px solid #9e8451;padding:4px 8px;border-radius:4px;color:#e6d7ae;background:#182f24}
.mp-grid button[aria-pressed=true] .mp-back{box-shadow:0 0 0 3px #eecf7d;background:#4b6746}
.tp-bank{display:grid;grid-template-columns:repeat(auto-fit,minmax(63px,1fr));gap:7px;padding:10px 0}
.tp-box{display:grid;gap:3px;text-align:center;border:1px solid #967949;border-radius:5px;padding:6px 2px;background:linear-gradient(#4b3726 20%,#927141 21% 29%,#452c1d 30% 81%,#61482e 84%);box-shadow:0 3px 1px #211511;color:#ffe3aa}
.tp-box small{font-size:.72rem}.tp-box.tp-passing{border-color:#fee395;box-shadow:0 0 12px #e4c0774a}
.tp-piece-rack{background:linear-gradient(145deg,#1d2f27,#132119);box-shadow:inset 0 2px 10px #0006;border:1px solid #6d6046;padding:8px;border-radius:10px}
.tp-territory{border:4px solid #6f5839!important;border-radius:6px;box-shadow:0 6px 0 #171813}
.tp-role-card{box-shadow:inset 4px 0 #c9ad6e,0 4px 17px #0005;background:radial-gradient(ellipse at 100% 0,#2b4c3d,#193128)!important}
.tp-zoo-icon{display:inline-block;width:1.8rem;height:1.8rem;vertical-align:middle;filter:drop-shadow(0 1px 1px #191b1680);flex-shrink:0}
.zoo-board .tp-zoo-icon{width:85%;height:85%}
.tp-zoo-crate{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-block:7px;padding:8px 11px;background:linear-gradient(150deg,#503a28,#28271d);border:1px solid #8a6340;border-radius:8px}
.tp-zoo-crate>span{display:flex;align-items:center;gap:2px;background:#202d25;border-radius:5px;padding:2px 5px}
