/* In-page correction reports: readable modal on home and individual game pages. */
.report-dialog{width:min(610px,calc(100vw - 26px));max-height:min(90vh,820px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #000b;font-family:var(--font)}
.report-dialog::backdrop{background:#080a07dd;backdrop-filter:blur(5px)}
.report-shell{display:flex;max-height:min(90vh,820px);flex-direction:column;min-width:0}
.report-head{display:flex;justify-content:space-between;gap:16px;padding:21px 24px 16px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--accent-soft),var(--surface))}
.report-heading{min-width:0}.report-kicker{margin:0 0 5px;color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.1em}.report-heading h2{margin:0;font-size:24px;line-height:1.2}.report-intro{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.report-close{width:36px;height:36px;flex:0 0 auto;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);color:var(--text);font-size:23px;cursor:pointer}.report-close:hover{border-color:var(--accent)}
.report-scroll{overflow:auto;overscroll-behavior:contain;padding:18px 24px 24px}
.report-context{display:grid;grid-template-columns:max-content 1fr;column-gap:10px;row-gap:3px;margin-bottom:18px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:12px;color:var(--muted)}
.report-context strong{overflow-wrap:anywhere;color:var(--text);font-weight:650}
.report-form{display:flex;flex-direction:column;gap:14px}
.report-field{display:flex;flex-direction:column;gap:6px}
.report-field label{display:flex;flex-direction:column;gap:6px;color:var(--text);font-size:12px;font-weight:650}
.report-field select,.report-field textarea,.report-field input{width:100%;min-height:42px;padding:10px 11px;border:1px solid var(--line);border-radius:8px;background:#11130f;color:var(--text);font:inherit;font-size:13px;line-height:1.45;outline:none}
.report-field textarea{min-height:112px;resize:vertical}
.report-field select:focus,.report-field textarea:focus,.report-field input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
.report-field small,.report-privacy{color:var(--muted);font-size:11px;line-height:1.55}
.report-privacy{margin:0}.report-privacy a{color:var(--accent);text-underline-offset:3px}
.report-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.report-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}
.report-status{margin:0;min-height:18px;font-size:11px;line-height:1.45;color:var(--muted)}.report-status[data-state="error"]{color:#ffb3a7}
.report-submit{flex:0 0 auto}.report-submit:disabled{opacity:.5;cursor:not-allowed}
.report-success{text-align:center;padding:22px 12px 24px}.report-success-mark{display:grid;place-items:center;width:47px;height:47px;margin:0 auto 13px;border:1px solid var(--accent);border-radius:50%;color:var(--accent);font-size:22px}
.report-success h3{font-size:22px;margin:0 0 8px}.report-success p{max-width:460px;margin:0 auto 20px;color:var(--muted);font-size:13px;line-height:1.6}
.report-context[hidden],.report-form[hidden],.report-success[hidden]{display:none!important}
@media(max-width:600px){.report-dialog{width:calc(100vw - 16px);max-height:94vh}.report-shell{max-height:94vh}.report-head{padding:17px 16px 14px}.report-scroll{padding:15px 16px 20px}.report-actions{flex-direction:column;align-items:stretch}.report-submit{width:100%}}
@media(prefers-reduced-motion:reduce){.report-dialog::backdrop{backdrop-filter:none}}
