/* ============================================================================
   /spots/ · 景点分享 / 商业申请
   苹果极简风：白底 + 单一强调蓝 + 大留白 + 18px 圆角
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --accent: #0066cc;
  --ok: #1d7a3e;
  --ok-bg: #e8f5ec;
  --bad: #b3261e;
  --bad-bg: #fdecea;
  --r: 18px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --maxw: 1120px;
  --pad: clamp(18px, 4vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ------------------------------------------------------------- topbar ---- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
  flex: none;
}

.back:hover {
  color: var(--ink);
}

.back svg {
  width: 14px;
  height: 14px;
}

.brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  flex: none;
}

.brand .dot {
  color: var(--line);
  margin: 0 8px;
  font-weight: 400;
}

.topbar-spacer {
  flex: 1;
  min-width: 0;
}

.lang-btn {
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.lang-btn:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

/* --------------------------------------------------------------- hero ---- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(52px, 9vw, 96px) var(--pad) clamp(32px, 5vw, 56px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  max-width: 22ch;
  /* 中文标题不在词中间断行：只在标点（，。）后换行 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #0055ad;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink-2);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ------------------------------------------------------------ section ---- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad);
}

.section + .section {
  padding-top: 0;
}

.section-head {
  margin-bottom: 28px;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
}

.section-head .lede {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 60ch;
}

/* --------------------------------------------------------------- grid ---- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  transition: 0.2s;
}

.chip:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.status-line {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}

.dot-status.live {
  background: var(--ok);
}

.dot-status.demo {
  background: #c58a00;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 288px), 1fr));
  gap: 20px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: transparent;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.card h3 {
  font-size: 19px;
  min-width: 0;
}

.card .en {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  margin-top: 3px;
  display: block;
}

.badge {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-2);
  white-space: nowrap;
}

.badge.cat-attraction {
  background: #eaf2fd;
  color: #0b4f9e;
}

.badge.cat-photo_spot {
  background: #f3ecfd;
  color: #5b2f9e;
}

.badge.cat-activity {
  background: #e7f6ef;
  color: #136b43;
}

.badge.cat-commercial {
  background: #fdf1e3;
  color: #8a5312;
}

.card-city {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-city svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
  flex: none;
}

.card-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.skeleton {
  border-radius: var(--r);
  background: linear-gradient(100deg, var(--bg-alt) 30%, #fbfbfd 50%, var(--bg-alt) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
  height: 210px;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
}

/* --------------------------------------------------------------- form ---- */

.form-wrap {
  background: var(--bg-alt);
  border-radius: calc(var(--r) + 6px);
  padding: clamp(22px, 4vw, 40px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

label .req {
  color: var(--bad);
  font-size: 11px;
}

label .hint {
  font-weight: 400;
  color: var(--ink-2);
  font-size: 12px;
}

input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.6;
}

select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
}

input::placeholder,
textarea::placeholder {
  color: #a1a1a6;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ----------------------------------------------------------- file/photo ---- */

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  text-align: center;
  transition: 0.2s;
  position: relative;
}

.file-drop:hover {
  border-color: var(--ink-2);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-drop .fd-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 8px;
}

.file-drop .fd-main {
  font-size: 14px;
  font-weight: 500;
}

.file-drop .fd-sub {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 4px;
}

.preview {
  margin-top: 14px;
  display: none;
  gap: 14px;
  align-items: flex-start;
}

.preview.show {
  display: flex;
}

.preview img {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.preview-meta {
  min-width: 0;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
}

.preview-meta b {
  color: var(--ink);
  font-weight: 500;
}

/* --------------------------------------------------------- gps verdict ---- */

.verdict {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  display: none;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.55;
}

.verdict.show {
  display: flex;
}

.verdict.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.verdict.bad {
  background: var(--bad-bg);
  color: var(--bad);
}

.verdict.pending {
  background: #fff8e6;
  color: #8a6100;
}

.verdict .v-icon {
  flex: none;
  font-weight: 700;
}

.verdict .v-body {
  min-width: 0;
}

.verdict .v-body small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
  font-weight: 400;
}

.verdict .v-reason {
  font-weight: 400;
  font-size: 12px;
}

/* ---------------------------------------------------------------- misc ---- */

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-actions .btn {
  flex: none;
}

.note-inline {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
  flex: 1 1 240px;
  min-width: 0;
}

.alert {
  margin-top: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  display: none;
  line-height: 1.6;
}

.alert.show {
  display: block;
}

.alert.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.alert.bad {
  background: var(--bad-bg);
  color: var(--bad);
}

.ai-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.btn-sm {
  padding: 7px 15px;
  font-size: 13px;
  border-radius: 999px;
}

/* ------------------------------------------------------- viewfinder mock ---- */

.ai-aid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.phone-mock {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: linear-gradient(170deg, #2b2b2f 0%, #1d1d1f 55%, #131315 100%);
  border-radius: 34px;
  padding: 13px;
  box-shadow: var(--shadow), inset 0 0 0 1px #3a3a3e;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(120% 90% at 50% 30%, #4b5a4e 0%, #26302a 45%, #141815 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 17px;
  border-radius: 999px;
  background: #0b0b0d;
  z-index: 3;
}

/* 四角框线 */
.frame {
  position: absolute;
  inset: 58px 26px 132px;
}

.frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: #fff;
  border-style: solid;
  border-width: 0;
  opacity: 0.92;
}

.frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 2.5px;
  border-left-width: 2.5px;
  border-top-left-radius: 7px;
}

.frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 2.5px;
  border-right-width: 2.5px;
  border-top-right-radius: 7px;
}

.frame i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom-width: 2.5px;
  border-left-width: 2.5px;
  border-bottom-left-radius: 7px;
}

.frame i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-bottom-width: 2.5px;
  border-right-width: 2.5px;
  border-bottom-right-radius: 7px;
}

/* 中间十字 */
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: #fff;
}

.crosshair::before {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.crosshair::after {
  top: 50%;
  left: 0;
  height: 1.5px;
  width: 100%;
  transform: translateY(-50%);
}

.crosshair span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/* 下方提示条 */
.hint-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 74px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 10.5px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  z-index: 2;
}

.hint-bar .arrow {
  flex: none;
  font-size: 12px;
}

/* 文字超宽时省略号收尾，绝不换行 —— 提示条在取景框里必须是单行 */
.hint-bar .txt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shutter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.shutter::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.aid-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}

.aid-copy p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
}

.aid-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.aid-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

.aid-list .n {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* -------------------------------------------------------------- footer ---- */

.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--pad) 40px;
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-inner a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.footer-inner a:hover {
  color: var(--ink);
}

/* ------------------------------------------------------------ responsive ---- */

@media (max-width: 900px) {
  .ai-aid {
    grid-template-columns: 1fr;
  }
  .phone-mock {
    max-width: 258px;
  }
  .aid-copy {
    order: -1;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .status-line {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }
  .card {
    padding: 18px;
  }
  .toolbar {
    gap: 6px;
  }
  .chip {
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================================
   真上传 · 举报 · 照片缩略图 · AI 提示条
   —— 以上为 v2 新增，全部使用既有设计变量，保持苹果极简风
   ========================================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* ------------------------------------------------------ 照片字段附带 ---- */

.caption-label {
  margin-top: 6px;
}

.caption-input {
  margin-top: 0;
}

.exif-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.exif-note > span:first-child {
  flex: none;
  line-height: 1.45;
}

.exif-note > span:last-child {
  min-width: 0;
}

/* ------------------------------------------------------ 上传状态面板 ---- */

.upload-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.upload-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}

.upload-head > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.upload-pct {
  flex: none;
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.upload-track {
  margin-top: 9px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}

.upload-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.upload-panel.is-uploading .upload-bar {
  width: 38%;
  transform: none;
  animation: uploadSlide 1.15s infinite ease-in-out;
}

.upload-panel.is-done .upload-bar {
  width: 100%;
  transform: none;
  background: var(--ok);
  animation: none;
}

.upload-panel.is-error .upload-bar {
  width: 100%;
  transform: none;
  background: var(--bad);
  animation: none;
}

@keyframes uploadSlide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(300%);
  }
}

.upload-panel .btn {
  margin-top: 10px;
}

.strip-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ok);
  line-height: 1.55;
}

.strip-note > span:first-child {
  flex: none;
}

.strip-note > span:last-child {
  min-width: 0;
}

/* --------------------------------------------------- 卡片照片缩略图 ---- */

.card-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ph {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-report {
  position: absolute;
  right: 4px;
  bottom: 4px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1;
  padding: 5px 7px;
  min-height: 22px;
  cursor: pointer;
}

.ph-report:hover {
  background: #fff;
}

/* -------------------------------------------------------- 举报按钮 ---- */

.card-foot-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.report-btn {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.4;
  padding: 3px 6px;
  min-height: 24px;
  border-radius: 6px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 2px;
}

.report-btn:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.report-btn[disabled] {
  opacity: 0.55;
  text-decoration: none;
  cursor: default;
}

/* -------------------------------------------------------- 举报面板 ---- */

.report-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.report-panel {
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.report-head h2 {
  font-size: 18px;
  min-width: 0;
}

.icon-btn {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.report-target {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.report-reasons {
  border: 0;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.reason {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reason:hover {
  border-color: var(--ink-2);
}

.reason.is-on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.reason input {
  flex: none;
  margin: 0;
  accent-color: var(--accent);
}

.reason span {
  min-width: 0;
}

.report-detail-label {
  margin-top: 16px;
}

.report-panel textarea {
  margin-top: 7px;
  min-height: 74px;
}

.report-error {
  display: none;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--bad);
}

.report-error.show {
  display: block;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.report-done {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 13.5px;
  line-height: 1.55;
}

.report-done .v-icon {
  flex: none;
  font-weight: 700;
}

/* ----------------------------------------------------- AI 提示条 ---- */

.ai-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border-radius: 12px;
  background: #eef4ff;
  color: #0b4f9e;
  padding: 9px 13px;
  font-size: 12.5px;
  line-height: 1.5;
}

.ai-banner > span:nth-child(2) {
  min-width: 0;
}

.link-btn {
  flex: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12.5px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alert.warn {
  background: #fff8e6;
  color: #8a6100;
}

/* --------------------------------------------------- 小屏收口 ---- */

@media (max-width: 640px) {
  .report-overlay {
    padding: 14px;
  }
  .report-panel {
    padding: 18px;
    max-height: calc(100vh - 28px);
  }
  .report-actions .btn {
    flex: 1 1 auto;
  }
  .ph {
    width: 76px;
    height: 76px;
  }
  .verdict {
    font-size: 13px;
    padding: 11px 12px;
  }
  .upload-head {
    font-size: 12.5px;
  }
}
