/* ============================================================
   固善建筑防水 · 暗色工程终端主题 V5.0
   ============================================================ */
:root {
  --bg: #0c1520;
  --bg-card: #111c28;
  --bg-input: #0a1018;
  --border: #1c2d3e;
  --accent: #00d4aa;
  --accent-dim: rgba(0,212,170,.10);
  --text: #e6edf3;
  --text-dim: #7e94ac;
  --text-muted: #3d5468;
  --red: #ff4757;
  --orange: #f0883e;
  --green: #3fb950;
  --blue: #58a6ff;
  --radius: 10px;
  --teal: #2a7c7c;
  --teal-light: #eef7f7;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ============================================================
   首页
   ============================================================ */
.page-wrap { max-width: 480px; margin: 0 auto; padding: 0 16px 100px; }

/* 顶部Header */
.site-header {
  text-align: center;
  padding: 32px 0 20px;
}
.site-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,212,170,.25);
}
.site-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
}
.site-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.5;
}

/* 状态面板 */
.status-panel {
  background: rgba(14,24,36,.9);
  border: 1px solid rgba(0,212,170,.10);
  border-left: 5px solid #00b8d4;
  border-top: 2px solid #00b8d4;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  position: relative;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-dim);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
}
.status-badge {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(0,184,212,.15);
  color: #00b8d4;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* 元信息条 */
.meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 20px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

/* 通用卡片 */
.form-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(28,45,62,.6);
}
.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.form-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.form-label .required { color: var(--red); margin-left: 2px; }
.form-label .hint { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: auto; }

/* 照片上传 */
.upload-area {
  border: 2px dashed #243a50;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  position: relative;
  overflow: hidden;
  background: rgba(10,16,24,.6);
}
.upload-area:active { border-color: var(--accent); }
.upload-area.has-photos { border-style: solid; border-color: var(--accent); }
.upload-icon { font-size: 36px; opacity: .5; }
.upload-text { font-size: 15px; color: var(--text-dim); margin-top: 8px; }
.upload-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.upload-input {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.upload-previews {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.upload-thumb {
  width: 72px; height: 72px; border-radius: 8px;
  object-fit: cover; border: 2px solid var(--accent);
}
.photo-tags {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.photo-tag {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(0,212,170,.3);
  border-radius: 20px;
  padding: 4px 12px;
  background: rgba(0,212,170,.06);
}
.video-upload-btn {
  display: inline-block;
  font-size: 12px;
  color: #94a3b8;
  border: 1px dashed #334155;
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all .2s;
  background: transparent;
}
.video-upload-btn:hover { border-color: #60a5fa; color: #60a5fa; }

/* 楼层选择 */
.floor-group { margin-bottom: 12px; }
.floor-label { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.floor-options {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.floor-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.floor-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* 渗漏位置标签 */
.loc-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.loc-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.loc-tag.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* 输入框 */
.dark-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
  resize: vertical;
}
.dark-input::placeholder { color: var(--text-muted); }
.dark-input:focus { outline: none; border-color: var(--accent); }

/* 主按钮 - 暗色版 */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #0c2f48, #0e4a56);
  border: 1.5px solid rgba(0,212,170,.45);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 24px;
  transition: all .2s;
}
.btn-submit:active { transform: scale(.98); }
.btn-submit:disabled { opacity: .5; }
.btn-submit .btn-icon {
  width: 28px; height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* 底部信息 */
.footer-info {
  text-align: center;
  padding: 20px 0 40px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 2;
}
.footer-info .accent { color: var(--accent); }

/* 诊断历史卡片 */
.history-section {
  margin-bottom: 24px;
}
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}
.history-item:active { background: var(--accent-dim); }
.history-loc { font-weight: 500; }
.history-time { color: var(--text-muted); font-size: 12px; }

/* ============================================================
   加载页 (loading.html) - 雷达扫描
   ============================================================ */
.scan-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.scan-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 2px solid var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.scan-topbar .back { color: var(--text-dim); font-size: 20px; }
.scan-topbar .status { color: var(--text-dim); font-size: 13px; }

/* 雷达动画 */
.radar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 24px;
}
.radar {
  width: 200px; height: 200px;
  position: relative;
}
.radar-circle {
  position: absolute;
  border: 1px solid rgba(0,212,170,.15);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.radar-circle:nth-child(1) { width: 60px; height: 60px; }
.radar-circle:nth-child(2) { width: 120px; height: 120px; }
.radar-circle:nth-child(3) { width: 180px; height: 180px; }
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: 0 50%;
  animation: radarSweep 2s linear infinite;
}
@keyframes radarSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  animation: radarPulse 2s ease-in-out infinite;
}
@keyframes radarPulse { 0%,100% { opacity:.4; transform:scale(.8); } 50% { opacity:1; transform:scale(1.2); } }
.radar-dot.d1 { top: 30%; left: 25%; background: var(--orange); animation-delay: 0s; }
.radar-dot.d2 { top: 60%; left: 35%; background: var(--blue); animation-delay: .5s; }
.radar-dot.d3 { top: 55%; left: 65%; background: var(--green); animation-delay: 1s; }
.radar-dot.d4 { top: 25%; left: 55%; background: var(--text-muted); animation-delay: 1.5s; }
.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--accent);
}

/* 扫描状态文字 */
.scan-status {
  text-align: center;
  padding: 0 20px;
}
.scan-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.scan-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* 进度条 */
.progress-wrap {
  margin: 0 24px 8px;
  background: var(--bg-card);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00e5c0);
  border-radius: 6px;
  width: 0%;
  transition: width .4s;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 14px; height: 100%;
  background: white;
  border-radius: 50%;
  opacity: .6;
}
.progress-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  padding: 8px 0 20px;
}

/* 步骤列表 */
.step-list {
  padding: 0 24px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  border-left: 3px solid var(--border);
  color: var(--text-muted);
}
.step-item.done {
  border-left-color: var(--green);
  color: var(--text);
}
.step-item.active {
  border-left-color: var(--accent);
  color: var(--text);
}
.step-item .icon { font-size: 16px; width: 20px; }
.step-item .label { flex: 1; }
.step-item .done-tag {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
}
.scan-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   问答页 (question.html) - 参数核验
   ============================================================ */
.verify-page {
  min-height: 100vh;
  background: var(--bg);
}
.verify-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 2px solid var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.verify-topbar .back { color: var(--text-dim); font-size: 20px; cursor: pointer; }
.verify-topbar .step-tag { color: var(--text-dim); font-size: 13px; }

/* 警告横幅 */
.alert-banner {
  background: linear-gradient(135deg, rgba(255,71,87,.15), rgba(255,71,87,.05));
  border-left: 4px solid var(--red);
  padding: 14px 16px;
  margin: 0;
}
.alert-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
}
.alert-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* 核验表单头 */
.verify-header {
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 16px;
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}
.verify-header-title {
  font-size: 14px;
  font-weight: 600;
}
.verify-header-sub {
  font-size: 12px;
  color: var(--accent);
  margin-top: 2px;
}

/* 参数项 */
.param-section {
  padding: 0 16px 16px;
}
.param-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  padding: 12px 0 8px;
}
.param-label > span:first-child {
  flex: 1;
  line-height: 1.6;
}
.param-label .req { color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* 单选列表 */
.radio-list { list-style: none; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: all .15s;
}
.radio-item:active,
.radio-item.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.radio-circle {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.radio-item.selected .radio-circle {
  border-color: var(--accent);
}
.radio-item.selected .radio-circle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

/* 标签选择（持续时长等） */
.tag-options {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.tag-option.selected {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* 补充说明 */
.extra-note {
  margin-top: 16px;
}
.extra-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.extra-label .opt { color: var(--text-muted); font-size: 12px; font-weight: 400; }

/* 提交按钮（暗色通用） */
.btn-dark-submit {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px 24px;
  background: linear-gradient(135deg, #0d3d56, #0a4f5c);
  border: 1.5px solid var(--accent);
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
}
.btn-dark-submit:disabled { opacity: .5; }

/* ============================================================
   分析中页 (analyzing.html) - 暗色进度
   ============================================================ */
.analyzing-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.analyzing-icon { font-size: 48px; margin-bottom: 16px; }
.analyzing-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.analyzing-progress {
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.analyzing-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00e5c0);
  border-radius: 6px;
  width: 0%;
  transition: width .4s;
}
.analyzing-text {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.cancel-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}

/* ============================================================
   报告页 (report.html) - 浅色专业报告
   ============================================================ */
.report-page {
  max-width: 480px;
  margin: 0 auto;
  background: #f7f8fa;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* 报告顶栏 */
.report-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.report-topbar .back { color: #666; font-size: 20px; text-decoration: none; }
.report-topbar .title { font-size: 15px; font-weight: 600; color: #333; }
.report-topbar .rep-id { font-size: 11px; color: #999; }

/* 严重度横幅 */
.severity-banner {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.severity-banner.level-low { background: linear-gradient(135deg, #43a047, #66bb6a); }
.severity-banner.level-mid { background: linear-gradient(135deg, #f57c00, #ffa726); }
.severity-banner.level-high { background: linear-gradient(135deg, #e53935, #ef5350); }

/* 报告卡片 */
.rpt-card {
  background: #fff;
  margin: 12px 16px;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.rpt-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rpt-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}
.rpt-text {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.rpt-gray {
  font-size: 13px;
  color: #888;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}
.rpt-confidence {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 2px 10px;
  float: right;
}

/* 后果列表 */
.consequence-list {
  list-style: none;
  margin-top: 10px;
}
.consequence-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.consequence-list li::before {
  content: '●';
  color: var(--orange);
  flex-shrink: 0;
}

/* 方案卡片 */
.solution-card {
  border: 1px solid #e8e8e8;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px;
  margin-bottom: 12px;
}
.solution-name {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.solution-method {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
.solution-price {
  display: inline-block;
  background: rgba(0,212,170,.12);
  color: #0a6b57;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}
.solution-duration {
  font-size: 13px;
  color: #888;
  margin-left: 8px;
}

/* 王师傅开场白 */
.rpt-opening {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin: 12px 16px 0;
  background: #fff;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.rpt-opening-avatar {
  font-size: 28px;
  flex-shrink: 0;
}
.rpt-opening-text {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* 双轨报价 scenario */
.scenario-box {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8fffe;
  border: 1px solid #d4f0e9;
  border-radius: 8px;
}
.scenario-box.risk {
  background: #fffaf5;
  border-color: #f0dcc8;
}
.scenario-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.scenario-label.a {
  background: rgba(0,212,170,.15);
  color: #0a6b57;
}
.scenario-label.b {
  background: rgba(240,136,62,.15);
  color: #b35c1e;
}
.scenario-condition {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}
.scenario-method {
  font-size: 13px;
  color: #333;
  font-weight: 600;
  margin-bottom: 4px;
}
.scenario-price {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #0a6b57;
  background: rgba(0,212,170,.1);
  padding: 2px 10px;
  border-radius: 4px;
}
.scenario-box.risk .scenario-price {
  color: #b35c1e;
  background: rgba(240,136,62,.1);
}
.scenario-evidence {
  font-size: 12px;
  color: #888;
  font-style: italic;
  margin-bottom: 4px;
}
.scenario-duration {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}
.scenario-note {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

/* 注意事项 */
.precaution-list {
  list-style: none;
}
.precaution-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.precaution-list li::before {
  content: '●';
  color: var(--accent);
  flex-shrink: 0;
}

/* 锁定遮罩 */
.lock-overlay {
  position: relative;
  min-height: 160px;
}
.lock-overlay .lock-blur {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}
.lock-mask {
  background: rgba(255,255,255,.92);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 12px 16px;
}
.lock-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.lock-sub {
  font-size: 12px;
  color: #888;
  margin-bottom: 16px;
}
.lock-phone-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 600;
}
.lock-phone-label .note { color: #888; font-weight: 400; font-size: 12px; }
.lock-phone-input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  margin-bottom: 12px;
}
.lock-phone-input:focus { outline: none; border-color: var(--accent); }
.btn-unlock {
  width: 100%;
  background: linear-gradient(135deg, #0d3d56, #1a5c6c);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.btn-unlock:disabled { opacity: .5; }

/* 解锁成功横幅 */
.unlock-banner {
  background: linear-gradient(135deg, rgba(0,212,170,.08), rgba(0,212,170,.03));
  border: 1px solid rgba(0,212,170,.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 16px;
}
.unlock-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.unlock-sub {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* 报告底部免责 */
.report-disclaimer {
  font-size: 12px;
  color: #888;
  margin: 16px;
  padding: 14px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* 底部CTA栏 */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  z-index: 100;
}
.btn-cta-call {
  flex: 1;
  background: linear-gradient(135deg, #0d3d56, #1a5c6c);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn-cta-small {
  background: #f5f5f5;
  color: #666;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* 分享视图提示 */
.shared-banner {
  background: #fff;
  margin: 12px 16px;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  text-align: center;
}
.btn-try-diag {
  display: inline-block;
  background: linear-gradient(135deg, #0d3d56, #1a5c6c);
  color: #fff;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   通用页脚
   ============================================================ */
.dark-footer {
  text-align: center;
  padding: 20px 16px 40px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ============================================================
   过期提示
   ============================================================ */
.expired-toast {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  z-index: 9999;
  transition: opacity .5s;
}

/* ============================================================
   重拍弹窗 (补丁⑩)
   ============================================================ */
.rephoto-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rephoto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  color: var(--text);
}
.rephoto-card .icon { font-size: 48px; margin-bottom: 12px; }
.rephoto-card .msg {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-dim);
}
.rephoto-card .btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================================
   手机号门控 (report.html - Image 2 redesign)
   ============================================================ */
.phone-gate {
  background: #fff;
  border-radius: 16px;
  margin: 16px;
  padding: 28px 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.phone-gate-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}
.phone-gate-features {
  background: var(--teal-light);
  border: 1px solid #d4e8e8;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.phone-gate-features-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}
.phone-gate-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.phone-gate-list li {
  font-size: 15px;
  color: #333;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pg-check {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.phone-gate-form {
  margin-top: 0;
}
.phone-gate-label {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.phone-gate-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  transition: border-color .2s;
}
.phone-gate-input-wrap:focus-within {
  border-color: var(--teal);
}
.pg-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 10px;
  opacity: .6;
}
.phone-gate-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 15px;
  color: #333;
  background: transparent;
}
.phone-gate-input::placeholder {
  color: #aaa;
}
.phone-gate-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #2a7c7c, #3a9e9e);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity .2s;
}
.phone-gate-btn:active { opacity: .85; }
.phone-gate-btn:disabled { opacity: .5; cursor: default; }
.phone-gate-free {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-top: 14px;
}
.phone-gate-free strong {
  color: var(--teal);
}
.phone-gate-disclaimer {
  font-size: 12px;
  color: #999;
  line-height: 1.7;
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 380px) {
  .site-title { font-size: 19px; }
  .btn-submit { font-size: 16px; padding: 14px; }
  .floor-btn { padding: 6px 12px; font-size: 13px; }
  .loc-tag { padding: 6px 14px; font-size: 13px; }
}
