.game-report-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; color: #203c32; background: #fffdf7; border: 1px solid #aeb9aa; border-radius: 14px; box-shadow: 0 22px 80px #071c1466; }
.game-report-dialog[open] { display: flex; flex-direction: column; }
.game-report-dialog::backdrop { background: #081e17aa; }
.game-report-dialog header, .game-report-dialog footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: #f0eddf; flex-shrink: 0; }
.game-report-dialog header { border-bottom: 1px solid #d4d6c7; }
.game-report-dialog header h2 { margin: 3px 0 0; font: 600 1.7rem/1.15 var(--serif); }
.game-report-dialog footer { border-top: 1px solid #d4d6c7; }
.game-report-body { padding: 16px 20px; overflow-y: auto; overscroll-behavior: contain; font: 400 .95rem/1.55 var(--sans); }
.game-report-body > p:first-child { margin-top: 0; }
.game-report-body > label:not(.game-report-replay) { display: block; font-weight: 700; margin: 16px 0; }
.game-report-body label span { font-weight: 400; }
.game-report-body textarea { display: block; box-sizing: border-box; width: 100%; margin-top: 5px; padding: 10px; resize: vertical; border: 1px solid #a5b2a6; border-radius: 6px; background: white; color: #203c32; font: 400 16px/1.45 var(--sans); }
.game-report-privacy { padding: 10px 12px; border-left: 3px solid #ad9560; background: #f5f1e5; font-size: .85rem; }
.game-report-replay { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; }
.game-report-replay input { width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0; }
.game-report-replay small { display: block; font-size: .85rem; }
.game-report-replay:has(input:disabled) { color: #657069; }
.game-report-body summary { cursor: pointer; min-height: 44px; align-content: center; font-weight: 700; }
.game-report-body pre { max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.5 monospace; padding: 12px; background: #edf1e9; }
.game-report-body [role="status"] { margin-bottom: 0; font-size: .85rem; }
@media (max-width: 500px) {
  .game-report-dialog header, .game-report-dialog footer, .game-report-body { padding: 12px; }
  .game-report-dialog header h2 { font-size: 1.4rem; }
  .game-report-dialog footer { flex-wrap: wrap; }
  .game-report-dialog footer button { flex: 1; min-height: 44px; }
}
