/* PT-2: the F9 playtest panel (client/playtest-client.js, playtest-view.js). A side panel over the game; the game keeps running. */
#playtest-open{width:100%;margin-top:12px;padding:10px;font:11px var(--mono);letter-spacing:1.5px;color:var(--text);background:#ffffff14;border:1px solid #8af0c344;border-radius:6px;cursor:pointer}
#playtest{position:fixed;top:60px;right:12px;bottom:12px;width:min(440px,calc(100vw - 24px));z-index:6;display:flex;flex-direction:column;background:#13201ef2;border:1px solid #8af0c333;border-radius:8px;color:var(--text);font:13px/1.4 var(--mono)}
#playtest[hidden]{display:none}
#playtest>header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #ffffff1a}
#playtest-close{background:none;border:0;color:var(--muted);font-size:16px;cursor:pointer;padding:6px 10px}
#playtest-body{flex:1;overflow:auto;padding:10px 12px;overscroll-behavior:contain}
#playtest-body button,#playtest-body select,#playtest-body input,#playtest-body textarea{font:12px var(--mono);color:var(--text);background:#ffffff14;border:1px solid #8af0c344;border-radius:6px;padding:7px 10px;max-width:100%}
#playtest-body button{cursor:pointer;letter-spacing:1px}
#playtest-body button:disabled{opacity:.4;cursor:not-allowed}
#playtest-body button.warn{border-color:#ffb19d66;color:#ffd2c4}
#playtest-body #pt-pass:not(:disabled){background:var(--mint);color:#14241c}
#playtest-body textarea{width:100%;min-height:54px;box-sizing:border-box;margin:6px 0}
#playtest-body .meta{color:var(--muted);font-size:11px;word-break:break-word}
#playtest-body .text{white-space:pre-wrap;word-break:break-word}
#playtest-body h2{font-size:16px;margin:10px 0 4px;letter-spacing:0}
#playtest-body h3{font-size:13px;margin:12px 0 4px}
#playtest-body a{color:var(--mint)}
#playtest-body img.shot,#playtest-body video.shot{max-width:100%;border:1px solid #ffffff22;border-radius:6px;margin:4px 0}
#playtest-body .pt-bar,#playtest-body .pt-line{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
#playtest-body .pt-row{display:block;width:100%;text-align:left;margin:4px 0;letter-spacing:0}
#playtest-body .pt-row.pt-sub{width:calc(100% - 16px);margin-left:16px}
#playtest-body .pt-row.pt-grey{opacity:.5}
#playtest-body .pt-change{word-break:break-word}
#playtest-body .tag{display:inline-block;padding:0 7px;border-radius:9px;border:1px solid #ffffff33;font-size:10px;margin-left:4px}
#playtest-body .tag.pt-pass{border-color:var(--mint);color:var(--mint)}#playtest-body .tag.pt-fail{border-color:#ffb19d;color:#ffb19d}#playtest-body .tag.pt-nd{border-style:dashed}
#playtest-body .pt-comment{border-top:1px solid #ffffff1a;padding:6px 0}
#playtest-body .pt-changed{color:var(--mint);font-style:italic}
#playtest-body #pt-error:not(:empty),#pt-error:not(:empty){color:#ff9a8a;margin-bottom:6px}
#playtest-body .pt-failbox{border:1px solid #ffb19d44;border-radius:6px;padding:6px 8px;margin-top:6px}
#playtest-body .pt-failbox input#pt-title{flex:1 1 160px}
