/* Anchored to the name, with the existing Vanilla palette and room left for play. */
.report-player-menu{min-width:0;flex:0 1 auto}
.report-player-panel{z-index:1}
.report-player-menu.is-report-active>.report-player-panel{visibility:visible;opacity:1;pointer-events:auto}
.seat-name[data-corner$=right] .report-player-panel{left:auto;right:0}
.seat-name[data-corner^=bottom] .report-player-panel{top:auto;bottom:100%;padding-top:0;padding-bottom:6px}
body.playing .table-stage .seat-name:has(.report-player-menu:hover),body.playing .table-stage .seat-name:has(.report-player-menu:focus-within),body.playing .table-stage .seat-name:has(.report-player-menu.is-report-active){z-index:45}
.report-player-open{color:var(--ink)}
.report-form{width:248px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 100px);overflow:auto;margin:0;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:12px/1.5 var(--font-ui);white-space:normal;text-align:left;box-shadow:0 4px 14px #0004}
.report-title{margin:0 0 8px;font:inherit;overflow-wrap:anywhere}
.report-form fieldset{min-width:0;margin:0;padding:0;border:0}
.report-form legend{margin:0 0 4px;padding:0;color:var(--muted);font:11px/1.5 var(--font-ui)}
.report-reason{display:flex;align-items:center;gap:8px;min-height:32px;cursor:pointer}
.report-reason input{appearance:auto;flex:none;width:14px;height:14px;margin:0;padding:0;accent-color:var(--green)}
.report-reason input:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
.report-form fieldset:disabled .report-reason{cursor:wait;opacity:.65}
.report-actions{display:flex;align-items:stretch;gap:8px;margin-top:10px}
.report-actions button{min-height:36px;padding:7px 8px;border:1px solid var(--line);border-radius:0;color:var(--ink);background:var(--green-light);font:11px/1.5 var(--font-ui);white-space:nowrap}
.report-actions .report-send{flex:1;background:var(--green);color:var(--paper);border-color:var(--green)}
.report-actions .report-cancel{background:transparent}
.report-actions button:hover:not(:disabled){border-color:var(--muted)}
.report-actions button:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
.report-actions button:disabled{opacity:.5;cursor:default}
.report-error,.report-status{margin:8px 0 0;font:11px/1.5 var(--font-ui);overflow-wrap:anywhere}
.report-error{color:var(--danger)}
.report-status{color:var(--muted)}
