.playtest-dialog { color:var(--ink,#33251d); background:var(--paper,#f6efdf); border:1px solid #9b876c; border-radius:10px; width:min(440px,calc(100vw - 24px)); max-height:85dvh; box-sizing:border-box; padding:20px; overflow:auto; font:inherit; }
.playtest-dialog::backdrop { background:#1e1719a8; }
.playtest-dialog h2 { margin-top:0; font-size:1.25rem; }
.playtest-dialog button { margin:8px 6px 2px 0; }
.pt-field { display:grid; gap:5px; margin:12px 0; }
.pt-field textarea,.pt-field select { box-sizing:border-box; width:100%; padding:8px; border:1px solid #b6a58c; border-radius:4px; color:inherit; background:#fffaf1; font:inherit; }
.pt-access { position:fixed; bottom:6px; right:8px; z-index:15; font-size:11px; background:#f6efdfef; }
body:has(#game-screen:not([hidden])) .pt-access { bottom:calc(74px + env(safe-area-inset-bottom,0px)); }
