/* Reporting begins where the players are, with one confirmation for the whole selected group. */
.report-start { border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; padding: 8px 0 8px 12px; text-decoration: none; }
.report-start:hover { color: var(--orange); }
.report-start[hidden] { display: none; }
.report-closed { color: var(--muted); font-size: 12px; }
.report-player-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.report-player { flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid transparent; border-radius: 7px; display: inline-grid; place-items: center; color: var(--muted); background: transparent; cursor: pointer; opacity: 0; }
.report-player svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.report-player > span { display: none; }.report-player[aria-pressed=true] > span { display: block; }.report-player[aria-pressed=true] svg { display: none; }
tr:hover .report-player, tr:focus-within .report-player, .report-selecting .report-player { opacity: 1; }
.report-player:hover { color: var(--orange); border-color: var(--orange); }
.report-player[aria-pressed=true] { opacity: 1; background: var(--orange); border-color: var(--orange); color: white; }
tr.report-selected td { background: color-mix(in srgb, var(--orange) 7%, transparent); }
.report-selecting { padding-bottom: 90px; }.report-selecting .standings { scroll-margin-bottom: 100px; }
.report-selection[hidden], .report-dialog [hidden] { display: none !important; }
.report-selection { position: fixed; z-index: 25; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(690px, calc(100% - 32px)); box-sizing: border-box; display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 32px rgb(0 0 0 / .16); }
.report-selection > div { flex: 1; }.report-selection strong { display: block; font-size: 14px; }.report-selection > div > span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.report-selection .rw-button { min-height: 38px; padding: 9px 12px; font-size: 12px; }
.report-dialog { width: min(520px, calc(100% - 32px)); box-sizing: border-box; max-height: calc(100dvh - 40px); padding: 24px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 80px rgb(0 0 0 / .22); }
.report-dialog::backdrop { background: rgb(0 0 0 / .4); backdrop-filter: blur(2px); }
.report-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }.report-dialog h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.report-close { width: 32px; height: 32px; flex-shrink: 0; background: none; color: var(--muted); border: 0; font-size: 25px; cursor: pointer; }
.report-dialog .report-form { display: block; margin: 0; }.report-dialog .report-form button { align-self: auto; }
.report-selected-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; max-height: 140px; overflow-y: auto; }
.report-selected-names button { font: inherit; font-size: 12px; border: 1px solid color-mix(in srgb, var(--orange) 40%, var(--line)); border-radius: 6px; padding: 6px 10px; background: color-mix(in srgb, var(--orange) 5%, var(--panel)); color: var(--ink); cursor: pointer; }
.report-reasons { border: 0; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; }.report-reasons legend { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.report-dialog .report-reasons label { position: relative; }.report-dialog .report-reasons input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.report-reasons label span { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.report-reasons input:checked + span { border-color: var(--orange); color: var(--orange); background: color-mix(in srgb, var(--orange) 5%, transparent); }.report-reasons input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.report-dialog .report-note-label { font-size: 12px; font-weight: 600; margin-right: 8px; }.report-dialog textarea { display: block; width: 100%; box-sizing: border-box; resize: vertical; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--ink); padding: 10px 12px; margin: 8px 0 14px; font: inherit; font-size: 14px; }
.report-dialog p.rw-subtle { line-height: 1.6; }.report-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }.report-dialog-actions .rw-button { font-size: 13px; padding: 10px 14px; }
.report-error { font-size: 13px; color: var(--warn); }.game-report-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 12px 0; }.game-report-status:empty { display: none; }.game-report-status .note { font-size: 13px; color: var(--muted); margin: 0; }
@media (hover: none), (pointer: coarse) { .report-player { opacity: 1; width: 38px; height: 38px; flex-basis: 38px; } }
@media (max-width: 640px) { .report-player { opacity: .8; }.report-selection { bottom: 8px; padding: 10px; gap: 6px; }.report-selection > div > span { display: none; }.report-selection strong { font-size: 12px; }.report-dialog { padding: 18px; }.report-player-name { gap: 3px; }.report-start { max-width: 140px; text-align: right; } }
.report-receipt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
