/* ============================================================
   举报页样式
   由 report/index.php 内联 <style> 抽离而来（样式与程序分离）。
   动态主题色经由页面根元素的 inline style 注入 CSS 变量。
   ============================================================ */
  .rp-wrap { min-height: 100vh; display: flex; flex-direction: column; }
  .cw { width: 1000px; max-width: calc(100% - 24px); margin: 0 auto; }
  /* 头部（与公告中心一致） */
  .cat-header { background: #fff; border-bottom: 1px solid #e6e6e6; }
  .cat-header .cw { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
  .cat-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
  .cat-logo .lg-mark { width: 34px; height: 34px; border-radius: 7px; background: var(--rp-accent); display: flex; align-items: center; justify-content: center; }
  .cat-logo .lg-txt { display: flex; flex-direction: column; line-height: 1.25; }
  .cat-logo .lg-txt .t { font-size: 17px; font-weight: 700; color: #333; letter-spacing: .5px; }
  .cat-logo .lg-txt .u { font-size: 11px; color: #aaa; }
  .cat-logo img.lg-img { max-height: 46px; display: block; }
  .cat-search { flex: 1; max-width: 520px; }
  .cat-search form { display: flex; height: 40px; border: 2px solid var(--rp-accent); border-radius: 8px; overflow: hidden; }
  .cat-search input { flex: 1; border: none; outline: none; padding: 0 14px; font-size: 14px; color: #333; min-width: 0; }
  .cat-search button { border: none; background: var(--rp-accent); color: #fff; padding: 0 22px; font-size: 14px; letter-spacing: 2px; cursor: pointer; }
  .cat-home-btn { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #555; text-decoration: none; padding: 7px 14px; border: 1px solid #e2e5ea; border-radius: 6px; transition: all .15s; }
  .cat-home-btn:hover { color: var(--rp-accent); border-color: var(--rp-accent); background: #f4f8ff; }

  .rp-main { flex: 1; padding: 22px 0 46px; }

  /* 横幅 */
  .rp-hero { border-radius: 14px; padding: 26px 30px; margin-bottom: 18px; background: linear-gradient(120deg, #1b3a6b, #1b5bd5 60%, #3d7bff); color: #fff; box-shadow: 0 10px 26px rgba(27,91,213,.22); position: relative; overflow: hidden; }
  .rp-hero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.10); }
  .rp-hero h1 { margin: 0; font-size: 24px; font-weight: 800; position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
  .rp-hero .sub { margin-top: 8px; font-size: 13.5px; opacity: .93; position: relative; z-index: 1; line-height: 1.7; max-width: 760px; }

  /* 卡片 / 表单 */
  .rp-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 26px 30px 30px; }
  .rp-locked { display: flex; gap: 12px; align-items: flex-start; background: #f4f8ff; border: 1px solid #d8e6ff; border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; }
  .rp-locked .ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 7px; background: var(--rp-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
  .rp-locked .info { min-width: 0; }
  .rp-locked .info .nm { font-weight: 600; color: #1f2530; font-size: 14.5px; word-break: break-word; }
  .rp-locked .info .lk { font-size: 12.5px; color: #6b7280; word-break: break-all; margin-top: 2px; }

  .rp-field { margin-bottom: 20px; }
  .rp-field > label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 9px; }
  .rp-field > label .req { color: #e8534e; margin-left: 2px; }
  .rp-field > label .opt { font-weight: 400; color: #b6bcc4; font-size: 12.5px; margin-left: 6px; }
  .rp-input, .rp-textarea { width: 100%; border: 1px solid #dfe3e9; border-radius: 8px; padding: 11px 13px; font-size: 14px; color: #333; outline: none; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; font-family: inherit; }
  .rp-input:focus, .rp-textarea:focus { border-color: var(--rp-accent); box-shadow: 0 0 0 3px rgba(27,91,213,.10); }
  .rp-textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
  .rp-help { font-size: 12.5px; color: #9aa0a8; margin-top: 6px; }

  /* 类型胶囊选择 */
  .rp-types { display: flex; flex-wrap: wrap; gap: 10px; }
  .rp-type { position: relative; }
  .rp-type input { position: absolute; opacity: 0; pointer-events: none; }
  .rp-type span { display: inline-block; padding: 8px 18px; border: 1px solid #e2e6ec; border-radius: 22px; font-size: 13.5px; color: #555; cursor: pointer; transition: all .15s; user-select: none; background: #fff; }
  .rp-type input:checked + span { background: var(--rp-accent); border-color: var(--rp-accent); color: #fff; box-shadow: 0 4px 10px rgba(27,91,213,.22); }
  .rp-type span:hover { border-color: #b9cdf2; }

  .rp-cap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .rp-cap .q { font-size: 15px; font-weight: 600; color: #333; background: #f4f6f9; border: 1px solid #e8ebef; border-radius: 8px; padding: 10px 14px; letter-spacing: 1px; }
  .rp-cap input { width: 120px; }

  .rp-actions { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
  .rp-submit { background: var(--rp-accent); color: #fff; border: none; border-radius: 8px; padding: 12px 34px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px rgba(27,91,213,.24); transition: filter .15s, transform .05s; }
  .rp-submit:hover { filter: brightness(1.06); }
  .rp-submit:active { transform: translateY(1px); }
  .rp-actions .tip { font-size: 12.5px; color: #b0b6bd; }

  .rp-alert { border-radius: 10px; padding: 13px 16px; font-size: 13.5px; margin-bottom: 20px; line-height: 1.6; }
  .rp-alert-err { background: #fef3f2; border: 1px solid #f7d4d1; color: #c0392b; }

  /* 结果面板 */
  .rp-result { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 54px 30px; text-align: center; }
  .rp-result .ic { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 38px; }
  .rp-result.ok .ic { background: #e9f9ef; color: #24a25a; }
  .rp-result.off .ic { background: #f2f3f5; color: #9aa0a8; }
  .rp-result.login .ic { background: #eef4ff; color: var(--rp-accent); }
  .rp-result h2 { margin: 0 0 10px; font-size: 21px; color: #1f2530; }
  .rp-result p { margin: 0 auto; color: #7a828c; font-size: 14px; line-height: 1.8; max-width: 520px; }
  .rp-result .btns { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
  .rp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: 8px; font-size: 14px; text-decoration: none; transition: all .15s; }
  .rp-btn-primary { background: var(--rp-accent); color: #fff; }
  .rp-btn-primary:hover { filter: brightness(1.06); }
  .rp-btn-ghost { border: 1px solid #dfe3e9; color: #555; background: #fff; }
  .rp-btn-ghost:hover { border-color: var(--rp-accent); color: var(--rp-accent); }

  @media (max-width: 768px) {
    .cat-header .cw { flex-wrap: wrap; gap: 12px; }
    .cat-search { order: 3; max-width: 100%; flex-basis: 100%; }
    .cat-home-btn { margin-left: 0; }
    .rp-hero { padding: 22px 20px; } .rp-hero h1 { font-size: 20px; }
    .rp-card { padding: 22px 18px 26px; }
  }
