/* 檢舉頁（SPEC_PLATFORM_REPORTS §2）—— 獨立頁面，不依賴賣場或官網的樣式 */
:root {
  --coral: #E8796B; --coral-deep: #C95F52; --ink: #3A2E2A; --muted: #8C8178;
  --line: #ECE3DE; --bg: #FFF7F0; --card: #FFFFFF; --err: #B42318; --err-bg: #FEF3F2;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
a { color: var(--coral-deep); }
.rp-top { padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.rp-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.rp-brand img { width: 28px; height: 28px; border-radius: 8px; }
.rp-wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 22px; margin: 4px 0 14px; }
h2 { font-size: 16px; margin: 0 0 12px; }
.rp-notice { background: #fff; border: 1px solid #F5D9C8; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.rp-notice p { margin: 0 0 6px; }
.rp-notice ul { margin: 0; padding-left: 1.2em; }
.rp-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%; font: inherit; color: inherit; padding: 10px 12px;
  border: 1px solid #DCD2CB; border-radius: 10px; background: #fff;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(232,121,107,.35); border-color: var(--coral); }
.rp-row { display: flex; gap: 8px; }
.rp-row input { flex: 1; min-width: 0; }
.rp-hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.rp-req { font-size: 12px; color: var(--coral-deep); font-weight: 500; margin-left: 6px; }
.rp-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.rp-check input { width: auto; margin-top: 4px; flex: none; }
.rp-cats { display: grid; gap: 8px; }
.rp-cat { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; margin: 0; }
.rp-cat input { width: auto; margin-top: 4px; flex: none; }
.rp-cat.on { border-color: var(--coral); background: #FFF4F1; }
.rp-sub { margin-top: 12px; padding: 12px; background: #FBF7F4; border-radius: 10px; font-size: 14px; }
.rp-sub p { margin: 0 0 8px; }
.rp-contact { font-size: 14px; margin-bottom: 8px; overflow-wrap: anywhere; }
.rp-target { padding: 12px; background: #FBF7F4; border-radius: 10px; overflow-wrap: anywhere; }
.rp-target .k { color: var(--muted); font-size: 13px; }
.rp-target .v { font-weight: 600; }
.rp-target button { margin-top: 8px; }
.rp-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-img { position: relative; width: 84px; height: 84px; }
.rp-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rp-img button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #555; color: #fff; cursor: pointer; line-height: 24px; padding: 0; }
.rp-url { margin-bottom: 8px; }
.rp-btn-primary, .rp-btn-secondary, .rp-btn-link { font: inherit; cursor: pointer; border-radius: 999px; }
.rp-btn-primary { width: 100%; margin-top: 14px; padding: 12px; border: 0; color: #fff; font-weight: 600; background: linear-gradient(180deg, #EC8577 0%, var(--coral) 100%); }
.rp-btn-primary:disabled { opacity: .55; cursor: default; }
.rp-btn-secondary { padding: 8px 16px; border: 1px solid #DCD2CB; background: #fff; color: var(--ink); white-space: nowrap; }
.rp-btn-link { padding: 0; border: 0; background: none; color: var(--coral-deep); text-decoration: underline; font-size: 14px; }
.rp-err, .rp-errs { color: var(--err); font-size: 14px; margin: 8px 0 0; }
.rp-errs { background: var(--err-bg); border-radius: 10px; padding: 10px 12px; }
.rp-errs ul { margin: 0; padding-left: 1.2em; }
.rp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-done { text-align: center; }
.rp-done .no { font-size: 24px; font-weight: 700; letter-spacing: .5px; margin: 8px 0; user-select: all; }
.rp-done p { text-align: left; }
.rp-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 16px calc(24px + env(safe-area-inset-bottom)); }
.rp-foot p { margin: 6px 0 0; }
