:root {
  --primary: #2f6fed;
  --primary-dark: #1f53c0;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1f2533;
  --muted: #8a92a6;
  --ok: #1faa6a;
  --warn: #e0822f;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 30px;
}
.topbar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  padding: 18px 12px;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(47, 111, 237, 0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}
.guide {
  display: flex;
  gap: 12px;
  padding: 14px 12px 4px;
  overflow-x: auto;
}
.door-card {
  flex: 0 0 48%;
  background: var(--card);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.door-img {
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8fb4ff, #2f6fed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  /* 完整显示引导图（不裁剪）：自动缩放至整图可见 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eaf0ff;
  position: relative;
  overflow: hidden;
}
/* 有照片时：隐藏占位文字与底部遮罩，让整图清晰呈现 */
.door-img.has-img .door-img-ph { display: none; }
.door-img.has-img::after { display: none; }
/* 后门夜间占位：调亮，避免接近纯黑看不清 */
.door-img-night { background: linear-gradient(135deg, #5a78c4, #2f3f6e); }
/* 有照片时：底部加深遮罩 + 文字阴影，保证文字（含暗图）清晰可读 */
.door-img.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%);
  border-radius: 10px;
}
.door-img-ph {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.door-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; margin: 2px 0 6px; }
.door-title { flex: 1 1 100%; } /* 标题独占一行，避免被距离徽章挤压竖排 */
.door-nav-btn {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}
.door-nav-btn:active { background: var(--primary); color: #fff; }
.door-nav-wrap { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.door-dist {
  font-size: 11px;
  color: var(--primary);
  background: #eaf0ff;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 600;
}
.door-dist:empty { display: none; }
.door-title { font-weight: 600; margin: 0; font-size: 14px; }
.door-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }
.door-video { width: 100%; border-radius: 10px; margin-top: 8px; background: #000; }

.query-box { padding: 16px 12px; }
.query-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.qt-item {
  flex: 1; text-align: center; padding: 8px; font-size: 14px;
  color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer;
}
.qt-item.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
#nameInput {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  background: #fff;
}
#nameInput:focus { border-color: var(--primary); }
#queryBtn {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
#queryBtn:active { background: var(--primary-dark); }
.hint { text-align: center; color: var(--muted); font-size: 12px; margin: 8px 0 0; }

.order-entry {
  display: block;
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, #fff7e6, #ffe9c7);
  border: 1px solid #ffd591;
  border-radius: 12px;
  color: #d46b08;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 169, 64, .18);
}
.order-entry:active { transform: scale(.99); background: linear-gradient(135deg, #ffe9c7, #ffd98f); }

.checkin-area { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f5; }
.vip-slot { margin-bottom: 10px; }
.vip-tip { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border: 1px solid #ffd666; color: #b85c00; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; font-weight: 600; text-align: center; }
.vip-view-btn { margin-top: 10px; padding: 10px 20px; background: linear-gradient(135deg, #ffd666, #ffa940); color: #5a3500; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; }
.vip-view-btn:active { background: linear-gradient(135deg, #ffc53d, #fa8c16); }
.checkin-tips { background: #fff8e6; color: #b85c00; padding: 8px 12px; border-radius: 8px; margin-bottom: 10px; font-size: 13px; line-height: 1.5; }
.auto-fill-slot { margin-bottom: 6px; }
.auto-fill-tip { background: #e8f4ff; color: #1a6fc4; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.switch-guest-btn { background: #fff; border: 1px solid #1a6fc4; color: #1a6fc4; padding: 4px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.switch-guest-btn:active { background: #e8f4ff; }
.password-area { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eef0f5; }
.recheckin { margin-top: 10px; }
.recheckin summary { color: var(--primary); cursor: pointer; font-size: 14px; padding: 6px 0; user-select: none; }
.recheckin summary::before { content: '🔄 '; }
.recheckin[open] summary { margin-bottom: 8px; }

/* 老客户VIP卡：合并身份证校验+密码显示（统一黄色布局） */
.vip-card { background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border: 1px solid #ffd666; border-radius: 12px; padding: 8px 12px 6px; margin: 10px 0; }
.vip-title { font-size: 13.5px; font-weight: 700; color: #b85c00; margin-bottom: 6px; line-height: 1.55; text-align: center; }
.vip-pwd-area { margin-top: 4px; }
.vip-pwd-area .row { background: rgba(255,255,255,.6); border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; border-bottom: none !important; }
.vip-pwd-area .pwd { background: #fff; color: #b85c00; }
.vip-btn-area { text-align: center; margin-top: 4px; }
.vip-verify-btn { padding: 12px 24px; border: none; border-radius: 10px; background: linear-gradient(135deg, #ffd666, #ffa940); color: #5a3500; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(255,169,64,.35); transition: transform 0.1s; }
.vip-verify-btn:active { transform: scale(0.97); background: linear-gradient(135deg, #ffc53d, #fa8c16); }
.vip-input-row { display: flex; gap: 8px; margin-top: 10px; }
.vip-input-row input { flex: 1; padding: 12px 14px; border: 2px solid #ffd666; border-radius: 10px; font-size: 18px; letter-spacing: 4px; text-align: center; outline: none; background: #fff; transition: border-color 0.2s; }
.vip-input-row input:focus { border-color: #ffa940; }
.vip-confirm-btn { padding: 12px 20px; border: none; border-radius: 10px; background: linear-gradient(135deg, #ffd666, #ffa940); color: #5a3500; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.vip-confirm-btn:active { background: linear-gradient(135deg, #ffc53d, #fa8c16); }
.vip-msg { margin-top: 4px; font-size: 13px; min-height: 4px; text-align: center; }
.vip-msg.err { color: #d33; }
.vip-msg.ok { color: #1a9b4e; font-weight: 600; }
.checkin-form input[type="text"], .checkin-form input[type="tel"] {
  flex: 1; padding: 8px 10px; border: 1px solid #dfe3ec; border-radius: 8px; font-size: 14px; outline: none;
}
.checkin-form input:focus { border-color: var(--primary); }
.checkin-btn {
  width: 100%; padding: 10px; margin-top: 8px; border: 1px dashed var(--primary); border-radius: 10px;
  background: #f5f8ff; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer;
}
.checkin-btn:active { background: #e8eeff; }
.checkin-submit {
  width: 100%; padding: 12px; margin-top: 8px; border: none; border-radius: 10px;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.checkin-submit:active { background: var(--primary-dark); }
.checkin-submit:disabled { opacity: 0.6; }

/* ---------- 入住办理中 全屏遮罩 + 奔跑小鹿进度条 ---------- */
.checkin-loader-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255, 255, 255, 0.94);
  display: flex; align-items: center; justify-content: center;
  animation: cl-fade 0.2s ease-out;
}
@keyframes cl-fade { from { opacity: 0 } to { opacity: 1 } }

.checkin-loader {
  width: 84%; max-width: 380px;
  text-align: center; padding: 24px 18px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 36px rgba(47, 111, 237, 0.18);
}
.checkin-loader-text {
  font-size: 15px; color: #2f6fed; font-weight: 600;
  margin-bottom: 22px; letter-spacing: 0.5px;
  min-height: 22px;
}
.checkin-loader-dots {
  display: inline-block; width: 1.6em; text-align: left;
  animation: cl-dots 1.2s steps(4, end) infinite;
}
@keyframes cl-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.checkin-loader-track {
  position: relative; height: 36px;
  background: #eef2fb; border-radius: 18px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: visible;
}
.checkin-loader-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 0%; border-radius: 18px;
  background: linear-gradient(90deg, #2f6fed 0%, #4f8fff 60%, #7eafff 100%);
  transition: width 0.35s cubic-bezier(.4, 0, .2, 1);
}
.checkin-loader-deer {
  position: absolute; top: 50%;
  width: 108px; height: 68px;
  transform: translate(-50%, -50%);
  left: 0%;
  transition: left 0.35s cubic-bezier(.4, 0, .2, 1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.checkin-loader-deer svg { width: 100%; height: 100%; display: block; animation: cl-bounce 0.32s ease-in-out infinite; }
@keyframes cl-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.checkin-loader-deer .cl-leg {
  transform-box: fill-box;
  transform-origin: 50% 12%;
  animation: cl-leg-run 0.32s ease-in-out infinite alternate;
}
.checkin-loader-deer .cl-leg-a { animation-delay: 0s; }
.checkin-loader-deer .cl-leg-b { animation-delay: 0.16s; }
@keyframes cl-leg-run {
  from { transform: rotate(-28deg); }
  to   { transform: rotate(28deg); }
}
.checkin-loader-percent {
  margin-top: 14px; font-size: 13px; color: #888;
  font-family: ui-monospace, monospace; letter-spacing: 1px;
}
.msg-ok { background: #e8f8ee; color: #1a9b4e; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin: 8px 0; }
.msg-err { background: #fde8e8; color: #d33; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin: 8px 0; }
.msg-info { background: #e8f1fd; color: #2f6fed; padding: 10px 12px; border-radius: 8px; font-size: 14px; margin: 8px 0; }
.gender-warn { background: #fff1e6; border: 1px solid #ffb066; color: #c2410c; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; line-height: 1.5; font-weight: 600; margin-bottom: 10px; }

.result { padding: 4px 12px; }
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.02);
}
.card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--text); }
.row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed #eef0f5; font-size: 13.5px; }
.row:last-child { border-bottom: none; }
.row .label { color: var(--muted); min-width: 70px; }
.pwd {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  text-align: center;
  padding: 14px 0;
  background: linear-gradient(135deg, #f0f5ff, #e8f0ff);
  border-radius: 10px;
  margin: 8px 0;
  border-radius: 10px;
  margin: 8px 0;
}
.pwd-fail { color: var(--warn); font-size: 14px; font-weight: 500; letter-spacing: 0; background: #fff4ea; }
.pwd-hint { color: var(--warn); font-size: 12px; line-height: 1.5; text-align: right; max-width: 70%; }
.notice { white-space: pre-line; font-size: 13px; color: #555; line-height: 1.7; }
.section-title { font-weight: 600; margin: 18px 0 8px; font-size: 15px; }

/* 好评返现 */
.review-form .field { margin-bottom: 12px; }
.review-form label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.review-form input[type=text] {
  width: 100%; padding: 12px; border: 1px solid #dfe3ec; border-radius: 10px; font-size: 15px;
}
.review-form input[type=file] { font-size: 13px; }
.submit-btn {
  width: 100%; padding: 13px; border: none; border-radius: 12px;
  background: var(--ok); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; margin: 10px 0; text-align: center; }
.msg-ok { background: #e8f8f0; color: var(--ok); }
.msg-err { background: #fdecec; color: #d33; }
.hidden { display: none !important; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 18px 12px 0; }

/* 广告轮播图 */
.ad-carousel-card { padding: 0; overflow: hidden; cursor: pointer; }
.ad-carousel { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #f5f5f5; }
.ad-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.ad-slide.active { opacity: 1; }
.ad-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-dots { position: absolute; bottom: 36px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.ad-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all 0.3s; }
.ad-dot.active { width: 18px; border-radius: 3px; background: #fff; }
.ad-cta { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 13px; text-align: center; font-weight: 600; }

/* 酒店服务卡片（外卖地址+值班电话） */
.hotel-contact-card h3 { color: var(--primary); }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #eef0f5; }
.contact-row:last-child { border-bottom: none; }
.contact-info { flex: 1; min-width: 0; }
.contact-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 15px; color: #222; font-weight: 500; word-break: break-all; line-height: 1.5; }
.copy-btn { padding: 8px 14px; border: none; border-radius: 8px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.copy-btn:active { background: var(--primary-dark); }
.copy-btn.copied { background: var(--ok); }
.call-btn { padding: 8px 14px; border: none; border-radius: 8px; background: var(--ok); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; }
.call-btn:active { background: #0d8a44; }
/* 后台富文本编辑器 */
.rte-toolbar { display: flex; gap: 6px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.rte-toolbar button { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid #dfe3ec; background: #fff; border-radius: 6px; cursor: pointer; font-size: 14px; color: #333; }
.rte-toolbar button:hover { background: #f0f4ff; }
.rte-sep { width: 1px; height: 20px; background: #dfe3ec; margin: 0 2px; }
.rte-editor { min-height: 110px; border: 1px solid #dfe3ec; border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.6; background: #fff; outline: none; }
.rte-editor:focus { border-color: #2f6fed; box-shadow: 0 0 0 2px rgba(47,111,237,.12); }
.rte-editor:empty:before { content: '输入入住注意事项，可选颜色/加粗…'; color: #aaa; }

/* WiFi 二维码 */
.wifi-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
.wifi-qr { width: 160px; height: 160px; border-radius: 12px; background: #fff; padding: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.08); cursor: pointer; transition: transform 0.15s; }
.wifi-qr:active { transform: scale(0.97); }
.wifi-qr-tip { font-size: 13px; color: var(--muted); text-align: center; }
.qr-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 999; align-items: center; justify-content: center; padding: 24px; }
.qr-overlay.show { display: flex; }
.qr-overlay-box { background: #fff; border-radius: 16px; padding: 18px; text-align: center; max-width: 320px; }
.qr-overlay-box img { width: 260px; height: 260px; display: block; border-radius: 8px; }

/* 自动续住 */
.extend-details {
  margin-top: 10px;
  border: 1px solid #ffe0ec;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7fb, #fff0f6);
  overflow: hidden;
}
.extend-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  outline: none;
}
.extend-details > summary::-webkit-details-marker { display: none; }
.extend-details > summary::after {
  content: '立即办理 ▾';
  margin-left: auto;
  font-size: 12.5px;
  color: #eb2f96;
  background: #fff;
  border: 1px solid #ffb3d4;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .5px;
}
.extend-details[open] > summary::after { content: '收起 ▴'; }
.extend-summary-text { font-size: 15px; font-weight: 700; color: #eb2f96; }
.extend-summary-hint { font-size: 12px; color: #888; }
.extend-summary-svg { flex-shrink: 0; display: inline-flex; align-items: center; }
.extend-content { padding: 6px 14px 14px; }
.extend-title { display: none; }
.extend-box-legacy { margin-top: 14px; padding: 14px; border: 1px solid #ffe0ec; border-radius: 12px; background: linear-gradient(135deg, #fff7fb, #fff0f6); }
.extend-title-legacy { font-size: 15px; font-weight: 700; color: #eb2f96; margin-bottom: 8px; }
.ext-date { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #f0c2da; border-radius: 8px; font-size: 14px; background: #fff; }
.extend-preview { font-size: 14px; color: #444; margin: 8px 0; min-height: 20px; }
.extend-preview b { color: #eb2f96; }
.ext-err { color: #d33; font-size: 13px; }
.extend-pay-btn { width: 100%; padding: 11px; border: none; border-radius: 10px; background: linear-gradient(135deg, #ff5fa2, #eb2f96); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.extend-pay-btn:disabled { background: #f3c4dd; cursor: not-allowed; }
.extend-pay-btn:not(:disabled):active { opacity: .9; }
.extend-quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.ext-quick-btn { flex: 1; min-width: 60px; padding: 9px 6px; border: 1px solid #ffb3d4; border-radius: 10px; background: #fff; color: #eb2f96; font-size: 14px; font-weight: 600; cursor: pointer; }
.ext-quick-btn:hover { background: #ffe6f2; }
.ext-quick-btn:active { background: #ffd6ea; }
.ext-sub { display: inline-block; margin-top: 4px; font-size: 12px; color: #888; }
.ext-move { display: inline-block; margin-top: 4px; font-size: 12px; color: #e0822f; }
.qr-overlay-tip { margin-top: 12px; font-size: 14px; color: #333; font-weight: 500; }

/* ===== 好评领红包入口 ===== */
.review-redpack {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff1f0, #ffe7e3);
  border: 1px solid #ffccc7;
  border-radius: 14px;
  padding: 14px;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.review-redpack:active { transform: scale(.99); }
.rp-illus { flex-shrink: 0; display: inline-flex; align-items: center; filter: drop-shadow(0 2px 4px rgba(207,19,34,.18)); }
.rp-body { flex: 1; min-width: 0; }
.rp-title { font-size: 16px; font-weight: 800; color: #cf1322; }
.rp-sub { font-size: 12.5px; color: #8c5a52; margin-top: 3px; line-height: 1.4; }
.rp-cta {
  flex-shrink: 0;
  align-self: center;
  background: linear-gradient(135deg, #ff7a45, #f5222d);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(245,34,45,.28);
}

/* ===== 门锁密码卡片（门/房一致只显示一个）===== */
.pwd-card {
  background: linear-gradient(135deg, #f0f5ff, #e8f0ff);
  border: 1px solid #cfe0ff;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  margin: 10px 0;
}
.pwd-card-title { font-size: 14px; font-weight: 700; color: #2f6fed; margin-bottom: 4px; }
.pwd-card-sub { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pwd-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #1f53c0;
  padding: 8px 0;
  font-family: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
}
.pwd-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.pwd-item {
  background: linear-gradient(135deg, #f0f5ff, #e8f0ff);
  border: 1px solid #cfe0ff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.pwd-item-title { font-size: 13px; font-weight: 600; color: #2f6fed; margin-bottom: 6px; }
.pwd-num .pwd-digits { display: inline-block; }
.pwd-num .pwd-hash {
  display: inline-block;
  margin-left: 6px;
  font-size: 22px;
  font-weight: 800;
  color: #6b8ad6;
  letter-spacing: 0;
  vertical-align: 2px;
}
.pwd-card-hint { font-size: 12px; color: var(--warn); margin-top: 8px; line-height: 1.5; text-align: center; }

/* ===== 好评返现入口卡片 ===== */
.review-entry-card { text-align: center; cursor: pointer; padding: 20px 18px; background: linear-gradient(135deg, #fff7e6, #fff1d6); border: 1px solid #ffd591; }
.review-entry-card:active { transform: scale(0.99); }
.review-entry-title { font-size: 16px; font-weight: 700; color: #d46b08; margin-bottom: 6px; }
.review-entry-sub { font-size: 13px; color: #ad6800; line-height: 1.5; }

/* ===== 通用弹窗（好评返现等）===== */
.modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 340px;
  max-height: 86vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 16px; font-weight: 700; color: var(--text);
  border-bottom: 1px solid #f0f2f7;
}
.modal-close {
  border: none; background: #f2f4f8; color: #888; width: 28px; height: 28px;
  border-radius: 50%; font-size: 15px; cursor: pointer; line-height: 1;
}
.modal-close:active { background: #e6e9f0; }
.modal-body { padding: 16px; overflow-y: auto; }
.modal-body .field { margin-bottom: 12px; }
.modal-body label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.modal-body input[type=file] { font-size: 13px; width: 100%; }
