/* Potholes WTF v0.9.39: the "report a real pothole" flow (js/report.js) -- the game overlay AND the /report/ page.
   Brand palette from style.css (gold, orange, purple-black, asphalt, cream); Anton for the title. Nothing is loaded from here. */
.rp-overlay { display: none; position: fixed; inset: 0; z-index: 60; overflow: auto; -webkit-overflow-scrolling: touch;
  background: rgba(22, 16, 28, 0.96); color: #f4f2ee; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) calc(env(safe-area-inset-right, 0px) + 14px) calc(env(safe-area-inset-bottom, 0px) + 24px) calc(env(safe-area-inset-left, 0px) + 14px);
  -webkit-user-select: text; user-select: text; text-align: left; }
.rp-overlay.on { display: block; }
html.rp-open body { overflow: hidden; }
.rp-form { max-width: 520px; margin: 0 auto; }
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rp-title { margin: 0; font: 400 clamp(26px, 7vw, 36px)/1.1 'Anton', Impact, 'Arial Narrow', sans-serif; color: #f0b030; letter-spacing: .02em; }
.rp-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.rp-steps { display: flex; gap: 6px; list-style: none; margin: 12px 0 16px; padding: 0; counter-reset: s; }
.rp-steps li { flex: 1; padding: 6px 0; border-radius: 999px; text-align: center; font-size: 13px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.rp-steps li.on { background: #e8590c; color: #fff; font-weight: 700; }
.rp-hidden { display: none !important; }
.rp-lead { margin: 0 0 12px; line-height: 1.4; }
.rp-dim { opacity: .7; }
.rp-filebtn { display: block; margin: 0 0 10px; }
.rp-filebtn input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rp-filebtn span, .rp-geo, .rp-copy, .rp-back { display: inline-block; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 2px solid #f0b030; background: transparent; color: #f0b030; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.rp-filebtn span { display: block; text-align: center; background: rgba(240,176,48,.12); }
.rp-filebtn:focus-within span { outline: 3px solid #e8590c; }
.rp-geo, .rp-copy { margin: 8px 0 12px; }
.rp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.rp-thumb { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: #1d1a27; border: 1px solid rgba(255,255,255,.25); }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-x { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.rp-gps { margin: 4px 0 6px; font-size: 14px; color: #f0b030; }
.rp-field { display: block; margin: 10px 0; font-size: 14px; }
.rp-field input, .rp-field textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: #1d1a27; color: #fff; font: inherit; font-size: 16px; }
.rp-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-q { margin: 14px 0 6px; font-weight: 700; }
.rp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-choice { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); cursor: pointer; font-size: 15px; }
.rp-choice:has(input:checked) { border-color: #f0b030; background: rgba(240,176,48,.18); }
.rp-choice input { margin: 0; accent-color: #e8590c; }
.rp-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 16px; }
.rp-big { flex: 1; min-height: 54px; padding: 12px 18px; border-radius: 14px; border: 3px solid #1b1422; background: linear-gradient(180deg, #ffc84a, #f0b030); color: #21122f; font: 700 18px/1 system-ui, sans-serif; cursor: pointer; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.rp-big:disabled { opacity: .45; cursor: default; }
.rp-err { color: #ffb4a8; margin: 10px 0 0; }
.rp-thanks { margin: 0 0 8px; font: 400 clamp(22px, 6vw, 30px)/1.15 'Anton', Impact, sans-serif; color: #f0b030; }
.rp-311 { display: flex; margin: 10px 0; background: linear-gradient(180deg, #ff7a2e, #e8590c); color: #fff; }
.rp-phone { margin: 6px 0 12px; font-size: 15px; }
.rp-phone a { color: #f0b030; }
.rp-summary { font-size: 14px; }
/* the standalone page (potholes.wtf/report/): the same form, in the page flow */
.rp-page { max-width: 560px; margin: 0 auto; padding: 16px; }
.rp-page .rp-close { display: none; }
.rp-body { margin: 0; background: #1d1a27; color: #f4f2ee; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.rp-body a { color: #f0b030; }
.rp-body footer { text-align: center; font-size: 13px; opacity: .75; padding: 18px 16px 32px; }

/* 2026-11-07: donate after a report is sent (step 3) */
.rp-donate { display: block; margin: 14px 0 4px; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 2px solid #e8590c; background: rgba(232,89,12,.16); color: #ffb37a; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; }
.rp-donate:hover, .rp-donate:focus-visible { background: rgba(232,89,12,.32); }
.rp-small { margin: 0 0 8px; font-size: 12px; opacity: .75; text-align: center; }
