.shared-setup .home-inner{max-height:100dvh;overflow:auto;padding:20px 4px;box-sizing:border-box}
.shared-setup .names-list{display:grid;gap:8px;max-width:100%}
.shared-setup .name-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,16px)}
.shared-setup .name-field{gap:6px;padding:9px clamp(7px,1.5vw,15px)}
.shared-setup .name-field input{min-width:0;width:clamp(55px,19vw,130px)}
.shared-setup .name-field span{white-space:nowrap}
.shared-setup .add-row{cursor:pointer;font:inherit;font-size:13px;letter-spacing:.1em;color:var(--brass-hi,#f0d6ae);background:none;border:0;padding:5px 10px}
.shared-setup [hidden]{display:none!important}
.rolloff.many{flex-wrap:wrap;max-height:54vh;overflow:auto}.rolloff.many .ro-side{width:120px}
.players.many{max-height:42vh;overflow:auto}.phone-view-tools{display:none}
@media(max-width:767px) and (orientation:portrait){
 body.playing-board #rotate-hint{display:none!important}
 body.playing-board #scene canvas{touch-action:none}
 #ui .phone-view-tools{display:flex;gap:4px;position:fixed;right:12px;bottom:18%;pointer-events:auto}
 .phone-view-tools button{color:#efd6ae;background:#30211deb;border:1px solid #92764e;border-radius:4px;min-height:36px}
 .playing-board .hud-right .players .player:not(.active){display:none}.playing-board .hud-right .prop-board:not(.has){display:none}
 .playing-board .hud-left{max-width:70vw}.playing-board .dock{bottom:max(6%,32px)}
 .playing-board .card-paper{max-width:90vw;max-height:76dvh;overflow:auto}
}
@media(min-width:768px),(orientation:landscape){
 .shared-setup .home-inner{max-height:none;overflow:visible;padding:0}
 .shared-setup .name-pair{display:flex!important}
 .shared-setup .name-field{gap:10px;padding:10px 16px}
 .shared-setup .name-field input{width:120px}
 .shared-setup:has(.name-pair:nth-child(2)) .home-inner{max-height:100dvh;overflow:auto}
}
@media(max-width:767px) and (orientation:portrait){
 .playing-board #ui .controls.left,.playing-board #ui .controls.tools{top:auto;transform:none;bottom:14px}
 .playing-board #ui .controls.left{left:12px;right:auto;display:flex;flex-direction:row;gap:4px}
 .playing-board #ui .controls.tools{right:12px;left:auto;display:grid;grid-template-columns:repeat(2,36px);gap:4px}
 .playing-board #ui .controls .ctl{width:36px;height:36px}
 .playing-board #ui .dock{left:50%;right:auto;bottom:14px;transform:translateX(-50%)}
 .playing-board #ui .phone-view-tools{bottom:104px}
}
.home-bottom .park-return{pointer-events:auto;color:#eed7b6;text-decoration:none;font:13px/1.5 "Songti SC",serif;padding:6px 10px;margin-right:8px}
