:root {
  --bg: #fff4f8;
  --card: #ffffff;
  --text: #3a2430;
  --muted: #9a6b80;
  --line: #ffd6e6;
  --blue: #ff4d8d;
  --green: #2f9e6b;
  --green-bg: #e7f8ef;
  --amber: #e07a00;
  --amber-bg: #fff4e0;
  --danger: #e2556a;
  --shadow: 0 8px 22px rgba(255, 77, 141, 0.12);
  --nav-h: 58px;
  --top-h: 52px;
  --radius: 16px;
  --fs-title: 20px;
  --fs-section: 16px;
  --fs: 15px;
  --fs-sm: 13px;
  --fs-xs: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --tg-safe-top: 0px;
  --tg-safe-bottom: 0px;
  --tg-viewport: 100vh;
  font-family: "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: var(--fs);
  line-height: 1.5;
}

html[data-color-scheme="dark"] {
  --bg: #1c1418;
  --card: #2a1f24;
  --text: #f5e9ee;
  --muted: #b89aa8;
  --line: #3d2a33;
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

html[data-color-scheme="dark"] body,
html[data-color-scheme="dark"] html {
  background: #120d10;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: #ffd0e2; color: var(--text); overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .card, .price-cell, .region-item, .menu-btn, .city-chip, .ghost, .chat-btn, .text-btn, .chat-inbox-item, .follow-btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  transition: transform .12s ease, opacity .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
button { cursor: pointer; }
button:focus, button:focus-visible, button:active,
.card:focus, .price-cell:focus, .region-item:focus, .menu-btn:focus {
  outline: none;
}
button:focus, button:focus-visible { box-shadow: none; }
.primary:focus, .primary:focus-visible, .primary:active { box-shadow: 0 6px 14px rgba(255, 61, 130, 0.28); }
.chat-btn:focus, .chat-btn:focus-visible, .chat-btn:active { box-shadow: 0 6px 14px rgba(47, 124, 240, 0.28); }
.card:focus, .card:focus-visible, .region-item:focus, .region-item:focus-visible { box-shadow: var(--shadow); }
button:active, .card:active, .region-item:active, .price-cell:active, .menu-btn:active, .city-chip:active, .ghost:active, .chat-inbox-item:active, .follow-btn:active {
  transform: scale(0.98);
  opacity: 0.92;
}
button::-moz-focus-inner { border: 0; }
.boot {
  min-height: 40vh;
  /* 首屏由 app.js 立刻替换为首页，不再展示「正在打开」文案 */
}

.is-tapped {
  transform: scale(0.97) !important;
  opacity: 0.88 !important;
}
.btn-busy {
  opacity: 0.72 !important;
  pointer-events: none !important;
  cursor: wait !important;
}
button.btn-busy,
.primary.btn-busy,
.menu-btn.btn-busy {
  filter: saturate(0.85);
}
.gate-page {
  min-height: var(--tg-viewport, 100vh);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.gate-page .hero-card {
  width: 100%;
  max-width: 360px;
}
.auth-page .auth-card {
  background: linear-gradient(165deg, #ff6b9d 0%, #ff4d8d 42%, #e83a78 100%);
  color: #fff;
  padding: 22px 18px 20px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(232, 58, 120, 0.28);
}
.auth-card .auth-desc { margin: 0 0 14px; opacity: .92; font-size: 13px; line-height: 1.5; }
.auth-card .auth-msg {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.12);
  font-size: 13px;
}
.auth-form { display: grid; gap: 10px; }
.auth-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  opacity: .95;
}
.auth-label input {
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  color: #3a2430;
}
.auth-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.auth-captcha-btn {
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 52px;
  width: 168px;
  max-width: 42vw;
  flex: 0 0 auto;
  cursor: pointer;
}
.auth-captcha-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff5f8;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.auth-submit {
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #c2185b;
  background: #fff;
  cursor: pointer;
}
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-switch { margin: 14px 0 0; font-size: 13px; text-align: center; }
.auth-switch a { color: #fff; font-weight: 700; text-decoration: underline; }
.auth-or { margin: 16px 0 10px; text-align: center; font-size: 12px; opacity: .85; }
.auth-tg { text-align: center; }
.auth-hint { margin: 0; font-size: 12px; opacity: .85; }
img { max-width: 100%; display: block; }

#app {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #ffe4ef, #fff);
  padding: calc(12px + env(safe-area-inset-top, 0px) + var(--tg-safe-top)) 16px 0;
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.brand-row { margin-bottom: 6px; }
.site-brand {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #c2185b;
  line-height: 1.2;
}

.top-row h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  flex: 1;
  letter-spacing: .01em;
}
.top-row.center-title {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
}
.top-row.center-title .text-btn { grid-column: 1; justify-self: start; }
.top-row.center-title h1 {
  grid-column: 2;
  position: static;
  text-align: center;
  pointer-events: auto;
}

.icon-btn, .text-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 4px 0;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}

.tabs button {
  border: 0;
  background: transparent;
  padding: 10px 0 12px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}

.tabs button.active {
  color: var(--blue);
  font-weight: 700;
}

.tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  transform: translateX(-50%);
}

.page { padding: var(--space-4) var(--space-4) 20px; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 2px 10px;
}

.filter {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 40px;
  padding: 0 12px;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 2px 8px;
}

.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.region-search {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: #fff;
  border-radius: 12px;
  height: 40px;
  padding: 0 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.status-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: var(--shadow);
}
.status-filter > span { font-size: var(--fs-sm); color: var(--muted); flex: none; width: 100%; }
.status-filter .city-chip {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 12px;
}
.place-pill { max-width: 58%; font-size: 11px; }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 4px 8px 4px 4px;
  box-shadow: var(--shadow);
}
.filter-bar > button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
}
.filter-bar small, .fold-head small { color: var(--muted); font-size: 12px; font-weight: 400; }
.filter-panel { margin-top: 8px; background: #fff; border-radius: 14px; padding: 8px 8px 4px; box-shadow: var(--shadow); }
.pick-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pick-row > span { width: 32px; flex: none; font-size: 12px; color: var(--muted); }
.pick-scroll { display: flex; gap: 6px; overflow-x: auto; flex: 1; padding-bottom: 2px; }
.pick-scroll .city-chip { flex: none; }
.fold {
  background: #fff;
  border-radius: 12px;
  margin-top: 8px;
}
.fold-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
}
.city-fold {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 132px;
  overflow: auto;
  padding: 0 12px 12px;
}
.city-chip {
  border: 0;
  background: #fff0f6;
  color: #a14b6d;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: var(--fs-xs);
}
.subfold { margin: 0 8px 8px; background: #fff7fa; border-radius: 10px; }
.fold-head.sub { padding: 8px 10px; font-size: 13px; }
.pay-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pay-card h2 { margin: 4px 0 12px; font-size: 18px; }
.eyebrow.dark { color: var(--muted); letter-spacing: 0; }
.pay-amount { font-size: 34px; font-weight: 800; color: #ff3d7f; line-height: 1.1; }
.pay-amount small { font-size: 14px; font-weight: 700; }
.pay-sub { margin: 6px 0 0; color: #a14b6d; font-size: 13px; }
.pay-qr { width: 220px; height: 220px; margin: 14px auto; border-radius: 16px; background: #fff; border: 1px solid #ffd6e6; }
.pay-timer { font-size: 13px; color: #a14b6d; }
.pay-address { word-break: break-all; font-size: 13px; color: #3a2430; background: #fff5f8; border-radius: 12px; padding: 10px; }
.pay-state { font-size: 28px; font-weight: 800; margin: 18px 0 8px; }
.pay-state.ok { color: #2f9e6b; }
.region-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  text-align: left;
}
.region-item span { display: flex; flex-direction: column; gap: 2px; }
.region-item small { color: var(--muted); font-size: 12px; }

.ghost {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.grid > .card {
  align-self: stretch;
  height: 100%;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* 推荐页卡片高度只由封面比例 + 固定文案区决定，不受简介/评论影响 */
  min-height: 0;
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  flex: none;
  overflow: hidden;
  background: linear-gradient(160deg, #ffd0e4, #fff0f5);
}

.cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 700;
  color: #e24b86;
}

.badges {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.badge-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: none;
}

.pill {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  background: #ff4d8d;
  flex: none;
  max-width: 100%;
}

.badge-tags .pill {
  max-width: none;
  padding: 3px 7px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.pill.ok { background: var(--green); }
.pill.busy { background: var(--amber); }
.pill.rest { background: #f0a03a; }
.pill.airdrop { background: #5b8def; }

.card-body {
  padding: 10px;
  min-width: 0;
  flex: none;
  display: grid;
  grid-template-rows: 22px 18px 20px;
  gap: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.name-row, .status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.name-row {
  height: 22px;
  min-height: 22px;
  overflow: hidden;
}
.name-row strong, .status-line span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.name-row strong { font-size: 14px; font-weight: 700; }
.price { color: #ff3d7f; font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; display: flex; align-items: baseline; gap: 1px; }
.price b { font-size: 15px; font-weight: 800; }
.price small { font-size: 11px; font-weight: 700; }
.card-place {
  margin: 0;
  min-height: 18px;
  height: 18px;
  color: #6b4558;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  min-width: 0;
}
.card .place-meta {
  flex-wrap: nowrap;
  overflow: hidden;
  height: 22px;
  margin-top: 6px;
  flex: none;
}
.place-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place-chip.city {
  background: #fff0f5;
  color: #d9487a;
}
.place-chip.country {
  background: #f3f6ff;
  color: #4a6fd8;
}
.place-chip.district {
  background: #f6f3ff;
  color: #7a5ad8;
}
.place-chip.shop {
  background: #f2fbf6;
  color: #2f9b63;
  max-width: 100%;
}
.place-chip.deposit {
  background: #edf2fb;
  color: #5a6f99;
  box-shadow: none;
}
.place-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 8px;
  align-items: stretch;
}
.place-block .place-cell {
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
  overflow: hidden;
}
.place-block .place-label {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  opacity: 0.8;
}
.place-block .place-value {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-block .place-cell.city {
  background: #fff0f5;
  color: #d9487a;
}
.place-block .place-cell.country {
  background: #f3f6ff;
  color: #4a6fd8;
}
.place-block .place-cell.shop {
  background: #f2fbf6;
  color: #2f9b63;
}
.place-block .place-cell.deposit {
  background: #eef2f8;
  color: #5a6f99;
  box-shadow: none;
}
.place-block .place-meta { margin-top: 0; }
.detail .place-chip {
  font-size: 12px;
  padding: 4px 10px;
}
.meta { color: var(--muted); font-size: var(--fs-xs); margin-top: 4px; min-width: 0; }
.meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-line {
  color: #5a3d4c;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  height: 20px;
  min-height: 20px;
  overflow: hidden;
}
.detail .intro-tags {
  max-height: 52px;
  overflow: hidden;
}
.status-line .ok { color: var(--green); font-weight: 700; }
.status-line .busy { color: var(--amber); font-weight: 700; }
.status-line .rest { color: #c47a12; font-weight: 700; }
.status-line > span:last-child {
  color: #4a3140;
  font-weight: 650;
}
.status-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: none;
}
.airdrop-tag {
  color: #3b6fd9;
  font-weight: 700;
}
.ticker {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 8px;
  height: 26px;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  height: 26px;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
}
.ticker-track span { padding: 0 16px; font-size: 11px; line-height: 26px; color: #a14b6d; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ad-banner {
  min-height: 84px;
  margin-bottom: 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 16px 12px;
  text-decoration: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #ff4d8d, #ff8fb8 55%, #ffd0e4);
}
a.ad-banner { cursor: pointer; }
a.ad-banner:active { transform: scale(0.99); opacity: .96; }
.ad-banner strong { font-size: 20px; letter-spacing: .12em; font-weight: 700; }
.ad-banner small { display: block; margin-top: 6px; font-size: var(--fs-xs); letter-spacing: .08em; opacity: .92; }
.manage-actions button.on { background: #ff4d8d; color: #fff; border-color: #ff4d8d; }
.staff-group { margin: 16px 0 8px; font-size: 15px; }
.manage-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}
.manage-cover { width: 72px; height: 96px; object-fit: cover; border-radius: 12px; flex: none; }
.manage-main { flex: 1; min-width: 0; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.media-keep { position: relative; }
.media-keep img, .media-keep video { width: 100%; height: 92px; object-fit: cover; border-radius: 10px; background: #ffe4ef; }
.media-keep button {
  position: absolute;
  right: 4px;
  top: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
}
.manage-card.shelved { opacity: 0.78; }
.delete-btn {
  border: 1px solid #ffd0d4;
  background: #fff1f0;
  color: #e2556a;
}
.manage-actions { grid-template-columns: 1fr 1fr 1fr; }
.status-picks, .manage-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.status-picks button, .manage-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 0;
}
.manage-actions .delete-btn {
  border-color: #ffd0d4;
  background: #fff1f0;
  color: #e2556a;
}
.status-picks button[data-status="available"].on {
  background: #2f9e6b;
  border-color: #2f9e6b;
  color: #fff;
}
.status-picks button[data-status="busy"].on {
  background: #e2556a;
  border-color: #e2556a;
  color: #fff;
}
.status-picks button[data-status="rest"].on {
  background: #e07a00;
  border-color: #e07a00;
  color: #fff;
}
.manage-card form { margin-top: 12px; }

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 6;
}

.tabbar button {
  border: 0;
  background: transparent;
  color: #a08a96;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  position: relative;
}

.tabbar button.active { color: var(--blue); font-weight: 700; }
.tabbar svg { width: 22px; height: 22px; }
.tab-ico { position: relative; display: inline-flex; }
.tab-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.panel, .detail, .form-card, .msg, .staff-row {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-card { text-align: center; }
.profile-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  font-size: 28px;
  object-fit: cover;
  background: linear-gradient(160deg, #ffd0e4, #fff0f5);
}
.profile-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto 6px;
}
.profile-name span { line-height: 1.2; }
.profile-name .shop-badge {
  height: auto;
  min-height: 18px;
  padding: 2px 8px;
  line-height: 1.3;
}

/* —— 我的：头图 + 分组菜单 —— */
.me-page { display: grid; gap: var(--space-3); }
.me-hero {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.me-hero .profile-avatar {
  width: 56px;
  height: 56px;
  margin: 0;
  flex: 0 0 auto;
  font-size: 22px;
}
.me-hero-meta { min-width: 0; flex: 1; }
.me-hero-name {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: 650;
  line-height: 1.25;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.me-hero-name > span { min-width: 0; word-break: break-word; }
.me-hero .user-id { margin: 4px 0 0; }
.me-hero-guest p { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.me-hero-guest .primary { margin-top: var(--space-3); width: auto; min-width: 120px; padding: 10px 18px; }

.me-asset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  border: 0;
  padding: 14px var(--space-4);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff0f6 0%, #ffe8f1 55%, #fff 100%);
  box-shadow: var(--shadow);
  text-align: left;
  color: var(--text);
}
.me-asset-label { margin: 0; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; }
.me-asset-num {
  margin: 2px 0 0;
  font-size: var(--fs-title);
  font-weight: 750;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.me-asset-num small { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-left: 2px; }
.me-asset-go { font-size: var(--fs-sm); color: var(--blue); font-weight: 650; white-space: nowrap; }

.me-group { margin: 0; }
.me-group-title {
  margin: var(--space-2) var(--space-1) 6px;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .06em;
}
.me-group-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.me-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 48px;
  padding: 12px var(--space-4);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--text);
  font-size: var(--fs);
  font-weight: 500;
}
.me-group-list .me-row:last-child { border-bottom: 0; }
.me-row-label { flex: 1; min-width: 0; }
.me-row-meta {
  flex: 0 0 auto;
  font-size: var(--fs-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.me-row-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #d4a0b4;
  border-bottom: 2px solid #d4a0b4;
  transform: rotate(-45deg);
  margin-left: 2px;
}
.me-row.danger { color: var(--danger); }
.me-row.danger .me-row-chevron { border-color: #e8a0ab; }

.sub-page-head .top-row { min-height: 36px; }
.sub-page-head h1 { font-size: var(--fs-section); font-weight: 650; }

.booking-card {
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}
.booking-card .bk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.bk-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .02em;
  background: #fff0f6;
  color: var(--blue);
}
.booking-card.tone-warn .bk-status { background: var(--amber-bg); color: var(--amber); }
.booking-card.tone-action .bk-status { background: #ffe8f1; color: #d81b60; }
.booking-card.tone-wait .bk-status { background: #eef4ff; color: #3d6fd8; }
.booking-card.tone-ok .bk-status { background: var(--green-bg); color: var(--green); }
.booking-card.tone-mute .bk-status { background: #f3ecef; color: var(--muted); }
.bk-oid {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bk-title {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.3;
}
.bk-shop {
  margin: 2px 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.bk-goods {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7fa;
}
.bk-service { font-size: var(--fs); font-weight: 600; color: #5b3a48; min-width: 0; }
.bk-price {
  flex: 0 0 auto;
  font-size: var(--fs-section);
  font-weight: 750;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.bk-deduct {
  margin: 8px 0 0;
  font-size: var(--fs-xs);
  color: var(--green);
}
.bk-times {
  display: grid;
  gap: 8px;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--line);
}
.bk-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}
.bk-kv span { color: var(--muted); flex: 0 0 auto; }
.bk-kv strong {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bk-foot {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.bk-tip {
  margin: 0 0 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.45;
}
.bk-tip.ok { color: var(--green); }
.bk-foot .primary { margin: 0; width: 100%; }
.bk-empty { text-align: center; }
.promo-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
}
.promo-stat-item {
  padding: var(--space-3);
  border-radius: 12px;
  background: #fff0f6;
}
.promo-stat-item small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.promo-stat-item strong {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-section);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wallet-hero {
  text-align: left;
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  background: linear-gradient(145deg, #fff0f6, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wallet-hero .eyebrow { margin: 0 0 4px; }
.wallet-hero .balance-num {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.wallet-section-title {
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--muted);
  letter-spacing: .04em;
}
.vip-badge,
.shop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}
.vip-badge {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: #7a3e00;
  box-shadow: 0 2px 6px rgba(253, 160, 133, 0.35);
}
.shop-badge {
  background: linear-gradient(135deg, #5b8def, #3d6fd8);
  color: #fff;
  box-shadow: 0 2px 6px rgba(61, 111, 216, 0.28);
}
.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.card-body .intro-tags { margin-top: 6px; }
.intro-badge {
  height: auto;
  min-height: 20px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.shop-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-name-text {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.shop-line .shop-badge {
  max-width: 100%;
  height: auto;
  min-height: 20px;
  padding: 3px 9px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  font-size: 11px;
}
.hero-card .shop-line { margin: 0 0 6px; }
.hero-card .shop-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  letter-spacing: 0;
}
.user-id { font-variant-numeric: tabular-nums; font-size: var(--fs-sm); color: var(--muted); }
.panel h2 { margin: 0 0 6px; font-size: 18px; }
.panel p, .hint { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.menu-btn, .primary, .warn, .chat-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  margin-top: 10px;
  font-size: 15px;
}
.menu-btn { background: #fff0f6; color: var(--text); text-align: left; font-weight: 500; }
.primary { background: linear-gradient(180deg, #ff6aa3, #ff3d82); color: #fff; font-weight: 700; box-shadow: 0 6px 14px rgba(255, 61, 130, 0.28); }
.chat-btn { background: linear-gradient(180deg, #5aa8ff, #2f7cf0); color: #fff; font-weight: 700; box-shadow: 0 6px 14px rgba(47, 124, 240, 0.28); }
.warn { background: #fff1f0; color: var(--danger); }

.form-card { padding: 14px; margin-bottom: 12px; }
.form-card h3 { margin: 0 0 10px; font-size: 16px; }
label.field, .field { display: block; margin-bottom: 12px; font-size: var(--fs-sm); color: #5b3a48; }
.field .ghost { margin-top: 8px; }
label.field input, label.field select, label.field textarea, .filter, .region-search {
  font-size: 16px;
}
label.field input, label.field select, label.field textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
textarea { min-height: 72px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}
.chips input { margin-right: 4px; }
.photo-preview {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff0f6;
  margin-top: 6px;
}

.detail { overflow: hidden; }
.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 560px);
  background: linear-gradient(160deg, #ffd0e4, #fff0f5);
}
.gallery .slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}
.gallery img, .gallery video, .gallery .avatar-fallback { width: 100%; height: 100%; object-fit: cover; }
.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
}
.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  overscroll-behavior: contain;
}
.viewer-track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 12px 24px;
  box-sizing: border-box;
}
.viewer-slide img, .viewer-slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: auto;
}
.viewer-close {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3a2430;
  padding: 8px 12px;
  top: 12px;
  right: 12px;
}
.viewer-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}
.detail .hero img, .detail .avatar-fallback { width: 100%; height: 100%; object-fit: cover; }
.detail .pad { padding: 16px 14px 18px; }
.detail h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.detail-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.detail .hint { margin: 4px 0; }
.detail .pad > p { margin: 12px 0; font-size: var(--fs); line-height: 1.6; color: #5b3a48; }
.detail .book-actions { margin-top: 16px; }
#comment-form .primary { margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tag {
  background: #fff0f6;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: var(--fs-xs);
  color: #a14b6d;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.facts div {
  background: #fff5f8;
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.facts strong { display: block; font-size: 15px; font-weight: 700; }
.facts small { display: block; margin-top: 3px; color: var(--muted); font-size: var(--fs-xs); }
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.price-cell {
  width: 100%;
  background: #fff;
  border: 1px solid #ffd6e6;
  border-radius: 14px;
  padding: 12px 12px 11px;
  text-align: left;
  cursor: pointer;
}
.price-cell small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.price-cell strong { display: flex; align-items: baseline; gap: 2px; color: #ff3d7f; margin-top: 6px; }
.price-cell strong em { font-style: normal; font-size: 22px; font-weight: 800; line-height: 1; }
.price-cell strong span { font-size: var(--fs-xs); font-weight: 700; }
.price-cell.on {
  border-color: #ff4d8d;
  background: #fff0f6;
  box-shadow: 0 0 0 2px rgba(255, 77, 141, 0.16);
}
.price-go { display: block; margin-top: 8px; font-style: normal; font-size: var(--fs-xs); color: #ff4d8d; font-weight: 700; }
.price-cell.on .price-go { color: #ff3d7f; }
.follow-btn {
  border: 1px solid #ff4d8d;
  background: #fff;
  color: #ff4d8d;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: var(--fs-sm);
  font-weight: 700;
  flex: none;
  white-space: nowrap;
}
.follow-btn.on { background: #ff4d8d; color: #fff; }
.comment-box { margin-top: 18px; padding-top: 4px; }
.comment-box h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.comment-box textarea {
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
}
.comment-item {
  background: #fff5f8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.comment-item strong {
  display: inline-block;
  font-size: 13px;
  color: #5a4652;
  font-weight: 650;
}
.comment-item p { margin: 4px 0 0; font-size: 14px; }
.state-badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.state-badge.ok { background: var(--green-bg); color: var(--green); }
.state-badge.busy { background: #fff1f0; color: #d4380d; }
.state-badge.rest { background: var(--amber-bg); color: var(--amber); }
.state-badge.airdrop { background: #eef4ff; color: #3b6fd9; }
.airdrop-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  font-size: var(--fs-sm);
  color: var(--text);
}
.airdrop-switch .switch-btn {
  min-width: 52px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #d9d9d9;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.airdrop-switch .switch-btn.on {
  background: #5b8def;
}
.book-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.book-actions.dual { grid-template-columns: 1fr 1fr; }
.book-actions .primary,
.book-actions .chat-btn,
.book-actions .ghost { margin-top: 0; width: 100%; }
.wallet-deduct {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}
.wallet-deduct input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--primary, #2f6bff);
}
.announce-mask,
.book-confirm-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(30, 18, 24, 0.45);
}
.announce-card {
  width: min(100%, 340px);
  border-radius: 16px;
  background: #fff;
  padding: 18px 16px 14px;
  box-shadow: 0 16px 40px rgba(40, 20, 30, 0.22);
}
.announce-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 650;
  text-align: center;
}
.announce-body {
  max-height: 46vh;
  overflow: auto;
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.6;
  word-break: break-word;
}
.announce-ok {
  display: block;
  width: 100%;
  margin-top: 16px;
}
.book-confirm-card {
  width: min(100%, 340px);
  border-radius: 16px;
  background: #fff;
  padding: 18px 16px 14px;
  box-shadow: 0 16px 40px rgba(40, 20, 30, 0.22);
}
.book-confirm-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
}
.book-confirm-line {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.book-confirm-balance { margin: 12px 0 0; }
.book-confirm-deduct { margin-top: 14px; }
.book-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.book-confirm-actions .ghost,
.book-confirm-actions .primary {
  width: 100%;
  margin: 0;
}
.balance-num { margin: 4px 0 8px; font-size: 32px; font-weight: 800; color: #1f2937; }
.balance-num small { font-size: 14px; font-weight: 600; color: var(--muted); }
.tier-list { margin: 8px 0 14px; padding-left: 18px; color: #5b3a48; line-height: 1.7; }
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ledger-row small { color: var(--muted); white-space: nowrap; }
.book-actions .wide { grid-column: 1 / -1; }
.messages-page { padding-top: 4px; }
.chat-inbox { display: grid; gap: 0; }
.chat-inbox-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  padding: 12px 4px;
  box-shadow: none;
}
.chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff7aad, #ff4d8d);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}
.chat-inbox-main { min-width: 0; display: grid; gap: 2px; }
.chat-inbox-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.chat-inbox-item strong { font-size: 15px; font-weight: 700; color: var(--text); }
.chat-inbox-top time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.chat-inbox-place,
.chat-inbox-preview {
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-inbox-place { color: #c2185b; }
.chat-unread {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.chat-unread-spacer { width: 18px; }
.chat-meta {
  margin: 0 0 8px;
  padding: 0 2px;
  color: var(--muted);
  font-size: var(--fs-xs);
}
.chat-media, .chat-media-video {
  display: block;
  max-width: min(220px, 70vw);
  border-radius: 10px;
  margin: 4px 0;
  overflow: hidden;
}
.chat-media img {
  width: 100%;
  height: auto;
  display: block;
}
.composer-attach {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff0f6;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.support-hero {
  margin: 0 0 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff0f6, #ffe9f1);
  border: 1px solid #ffd6e6;
  color: var(--text);
  box-shadow: none;
}
.support-hero .eyebrow { margin: 0 0 4px; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; }
.support-hero h2 { margin: 0 0 6px; font-size: 16px; color: #ff3d82; font-weight: 700; }
.support-hero p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: #8a5a6e; }
.support-points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.support-points li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ffe0ec;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: #8a5a6e;
}
.chat-page .support-hero + .chat-log { margin-top: 4px; }
#book-form { margin-top: 12px; }
.offer-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.55fr 0.7fr;
  gap: 8px;
  margin-top: 8px;
}
.offer-row input,
.offer-row select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  min-width: 0;
  font-size: var(--fs-sm);
}
@media (max-width: 420px) {
  .offer-row { grid-template-columns: 1fr 1fr; }
  .offer-row input[name="offerName"] { grid-column: 1 / -1; }
}

.msg, .staff-row { padding: 12px; margin-bottom: 8px; }
.msg { width: 100%; border: 0; text-align: left; }
.msg strong, .staff-row strong { display: block; }
.staff-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.staff-actions { display: flex; flex-direction: column; gap: 6px; }
.staff-actions button, .linkish {
  border: 0;
  background: #fff0f6;
  color: var(--blue);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.pay-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(255, 244, 248, 0.9);
}
.pay-mask p { margin: 12px 0 0; color: #a14b6d; font-size: 15px; font-weight: 700; }
.pay-mask > div { text-align: center; }
.spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid #ffd0e4;
  border-top-color: #ff4d8d;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px);
  transform: translateX(-50%);
  background: rgba(58, 36, 48, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: var(--fs-sm);
  line-height: 1.4;
  z-index: 9;
  width: max-content;
  max-width: 86%;
  box-shadow: 0 8px 20px rgba(58, 36, 48, 0.18);
}

.chat-page {
  position: fixed;
  top: calc(var(--top-h) + env(safe-area-inset-top));
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  padding: 10px 14px 12px;
  box-sizing: border-box;
  background: var(--bg);
}
.chat-log {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 2px 10px;
}
.chat-page .composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 5px 5px 5px 14px;
  box-shadow: 0 4px 14px rgba(255, 77, 141, 0.08);
}
.chat-page .composer input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 11px 0;
  background: transparent;
  font-size: 16px;
}
.chat-page .composer button {
  border: 0;
  background: #ff4d8d;
  color: #fff;
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
}
.bubble {
  width: fit-content;
  max-width: 78%;
  background: #fff;
  border: 1px solid #ffd6e6;
  border-radius: 4px 16px 16px 16px;
  padding: 9px 12px 7px;
  box-shadow: 0 4px 12px rgba(255, 77, 141, 0.08);
  word-break: break-word;
}
.bubble p { margin: 0; font-size: 15px; line-height: 1.5; }
.bubble-name { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; color: #ff4d8d; }
.bubble time { display: block; margin-top: 5px; font-size: 10px; color: #c08aa0; text-align: right; }
.bubble.me {
  align-self: flex-end;
  background: linear-gradient(180deg, #ff7aaf, #ff3d82);
  color: #fff;
  border: 0;
  border-radius: 16px 4px 16px 16px;
}
.bubble.me time { color: rgba(255, 255, 255, 0.78); }
.hero-card {
  background: linear-gradient(160deg, #ff4d8d, #ff8ab4);
  color: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.hero-card h2 { margin: 4px 0 8px; font-size: 20px; font-weight: 700; }
.hero-card p { margin: 0; color: rgba(255,255,255,.92); font-size: var(--fs-sm); line-height: 1.55; }
.eyebrow { margin: 0 0 4px; font-size: var(--fs-xs); letter-spacing: .06em; opacity: .9; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.steps li {
  background: #fff;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 4px;
}
.steps li.on, .steps li.done { color: #fff; background: #ff4d8d; font-weight: 700; }
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #fff;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 12px;
}
.seg button {
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 8px 0;
  color: var(--muted);
}
.seg.three { grid-template-columns: repeat(3, 1fr); }
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.review-card p { margin: 6px 0; }
.ghost.block { width: 100%; margin-top: 0; background: #fff; }
.staff-list { margin-top: 8px; }
.composer input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.composer button { border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 0 14px; }
