/* R79 本地便民黄页 H5 */
:root {
  --color-primary: #07C160;
  --color-primary-dark: #06AD56;
  --color-primary-light: #E8F8EF;
  --color-accent: #FF8F1F;
  --color-text-primary: #1A1A1A;
  --color-text-secondary: #666;
  --color-text-tertiary: #999;
  --color-bg-page: #F5F6F7;
  --color-bg-surface: #fff;
  --color-border: #eee;
  --color-star-filled: #FFB800;
  --color-star-empty: #E0E0E0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-card: 0 2px 8px rgba(0,0,0,.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --spacing-page: 16px;
  --bottom-nav-height: 50px;
  --contact-footer-block: 58px;
  --bottom-chrome-height: calc(var(--bottom-nav-height) + var(--contact-footer-block) + 4px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --font-family: -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  background: var(--color-bg-page);
  color: var(--color-text-primary);
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body.has-tab-bar.has-contact-footer #app {
  padding-bottom: calc(var(--bottom-chrome-height) + var(--safe-area-bottom));
}
body.has-tab-bar #app {
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
}
body.has-tab-bar:not(.has-contact-footer) #app {
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
}
#skeleton[hidden], #loading[hidden] { display: none !important; }

#app { min-height: 100vh; position: relative; }
.page-container { min-height: 60vh; }

/* Skeleton */
.skeleton { padding: var(--spacing-page); }
.skeleton-header, .skeleton-search, .skeleton-card {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.skeleton-header { height: 48px; }
.skeleton-search { height: 44px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.skeleton-icon { height: 72px; border-radius: var(--radius-md); background: #eee; animation: shimmer 1.2s infinite; }
.skeleton-card { height: 96px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* 底部双栏：Tab 导航 + 标准固定条（纵向叠放，避免重叠） */
.bottom-chrome {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  padding-bottom: var(--safe-area-bottom);
}

.tab-bar {
  position: relative;
  min-height: var(--bottom-nav-height);
  display: flex;
  align-items: flex-end;
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding: 2px 0 4px;
}

.contact-footer {
  position: relative;
  background: transparent;
  padding: 5px 12px 4px;
}
.contact-footer__btns {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.contact-footer__cta, .contact-footer__btn {
  flex: 0 0 auto;
  text-align: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.2;
  max-width: 30%;
}
.contact-footer__cta {
  background: #c41e1e !important;
  color: #fff !important;
}
.contact-footer__btn {
  background: #f5f5f5;
  color: var(--color-text-primary);
  border: 1px solid rgba(0,0,0,.08);
}
.contact-footer__brand { margin: 3px 0 0; text-align: center; font-size: 10px; color: #999; line-height: 1.3; }
.tab-item {
  flex: 1;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-text-tertiary);
  cursor: pointer;
}
.tab-item.active { color: var(--color-primary); font-weight: 600; }
.tab-item--center .tab-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-top: -4px;
  margin-bottom: 2px;
  box-shadow: 0 3px 10px rgba(7,193,96,.3);
}
.tab-icon { font-size: 20px; line-height: 1; }
.tab-label { font-size: 11px; }

/* Home */
.page-home { padding-bottom: 8px; }
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--spacing-page);
  background: var(--color-bg-surface);
}
.city-btn {
  display: flex; align-items: center; gap: 4px;
  border: 0; background: none; font-size: 14px; cursor: pointer;
}
.home-header__brand { font-weight: 600; color: var(--color-primary); }
.search-bar-wrapper { padding: 8px var(--spacing-page) 12px; background: var(--color-bg-surface); }
.search-bar {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border: 0; border-radius: var(--radius-full);
  background: var(--color-bg-page);
  box-shadow: var(--shadow-sm);
  color: var(--color-text-tertiary);
  cursor: pointer;
}
.quick-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 8px var(--spacing-page) 12px;
  background: var(--color-bg-surface);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.quick-scroll::-webkit-scrollbar { display: none; }
.quick-entry {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 0; background: none; min-width: 56px; cursor: pointer;
}
.quick-entry__icon { font-size: 24px; }
.quick-entry__name { font-size: 11px; color: var(--color-text-secondary); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 12px var(--spacing-page) 16px;
  background: var(--color-bg-surface);
}
.category-icon {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 0; background: none; cursor: pointer;
}
.category-icon:active { transform: scale(.92); }
.icon-box {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--cat-bg, var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.icon-name { font-size: 11px; color: var(--color-text-secondary); text-align: center; }
.community-bar {
  display: flex; align-items: center; gap: 4px;
  margin: 12px var(--spacing-page);
  padding: 10px 12px;
  background: linear-gradient(135deg, #E8F8EF, #F0FDF4);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.community-name { color: var(--color-primary); font-weight: 600; }
.section-block { padding: 0 var(--spacing-page) 16px; }
.section-title { font-size: 16px; margin: 0 0 12px; }

/* Business card */
.business-list { display: flex; flex-direction: column; gap: 10px; }
.biz-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  padding: 12px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.biz-card:active { transform: scale(.99); }
.biz-card__photo {
  position: relative;
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-primary-light);
}
.biz-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.biz-card__cat {
  position: absolute; right: 4px; bottom: 4px;
  font-size: 14px;
}
.biz-card__head { display: flex; align-items: center; gap: 6px; }
.biz-card__name { margin: 0; font-size: 15px; flex: 1; }
.biz-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; margin: 4px 0; }
.biz-card__rating strong { color: var(--color-accent); }
.biz-card__meta { font-size: 12px; color: var(--color-text-secondary); display: flex; gap: 8px; flex-wrap: wrap; }
.biz-card__tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.biz-card__actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.btn-icon, .btn-call {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--color-bg-page);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
}
.btn-call { background: var(--color-primary); color: #fff; text-decoration: none; }
.star { color: var(--color-star-empty); font-size: 12px; }
.star--full, .star--half { color: var(--color-star-filled); }
.status-tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.status-open { background: #E8F8EF; color: #07C160; }
.status-closed { background: #FEE2E2; color: #EF4444; }
.status-closing { background: #FFF3E6; color: #FF8F1F; }
.status-rest { background: #F3F4F6; color: #9CA3AF; }
.tag { font-size: 10px; padding: 2px 6px; background: #f5f5f5; border-radius: 4px; color: var(--color-text-secondary); }
.tag--verified { background: #E8F8EF; color: var(--color-primary); }

/* Category page */
.page-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px var(--spacing-page);
  background: var(--color-bg-surface);
  position: sticky; top: 0; z-index: 10;
}
.page-header--flat { justify-content: space-between; }
.page-title { margin: 0; font-size: 18px; flex: 1; }
.btn-back { border: 0; background: none; font-size: 20px; padding: 4px 8px; cursor: pointer; }
.category-layout { display: flex; min-height: 70vh; }
.cat-sidebar {
  width: 28%;
  background: var(--color-bg-surface);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
}
.cat-nav-item {
  width: 100%;
  display: flex; align-items: center; gap: 6px;
  padding: 14px 10px;
  border: 0; border-left: 3px solid transparent;
  background: none;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.cat-nav-item.is-active {
  border-left-color: var(--color-primary);
  background: var(--color-primary-light);
  font-weight: 600;
}
.cat-main { flex: 1; overflow: hidden; }
.sub-category-chips, .filter-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 8px var(--spacing-page);
  background: var(--color-bg-surface);
}
.sub-category-chips::-webkit-scrollbar, .filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}
.filter-chip.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.sort-btn {
  margin-left: auto;
  border: 0; background: none;
  font-size: 12px; color: var(--color-text-secondary);
  white-space: nowrap;
  cursor: pointer;
}
.cat-main .business-list { padding: 8px var(--spacing-page) 16px; }

/* Detail */
.page-detail { background: var(--color-bg-page); }
.detail-hero { position: relative; height: 200px; background: #ddd; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero img.is-fallback { display: none; }
.detail-hero__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.detail-hero__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
}
.detail-hero__overlay h2 { margin: 0 0 4px; }
.detail-section {
  margin: 12px var(--spacing-page);
  padding: 16px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
}
.detail-section h3 { margin: 0 0 12px; font-size: 15px; }
.detail-score { display: flex; gap: 16px; align-items: center; }
.detail-score__num { font-size: 36px; font-weight: 700; color: var(--color-accent); }
.rating-bar { display: grid; grid-template-columns: 36px 1fr 28px; gap: 8px; align-items: center; font-size: 11px; margin: 4px 0; }
.rating-bar__track { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--color-star-filled); }
.service-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}
.service-item:last-child { border-bottom: 0; }
.service-item span { display: block; color: var(--color-text-secondary); font-size: 11px; margin-top: 2px; }
.service-item__price { color: var(--color-primary); font-weight: 600; white-space: nowrap; }
.detail-info { margin: 6px 0; font-size: 13px; color: var(--color-text-secondary); }
.detail-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 16px var(--spacing-page) 24px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--outline { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn--lg { padding: 14px; font-size: 15px; }

/* Search */
.search-input-wrap { flex: 1; }
.search-input-wrap input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0 14px;
}
.search-history { padding: 12px var(--spacing-page); background: var(--color-bg-surface); }
.search-history__head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.search-history__head button { border: 0; background: none; color: var(--color-text-tertiary); }
.chip-group, .history-list { display: flex; flex-wrap: wrap; gap: 8px; }
.history-chip { padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: #fff; font-size: 12px; cursor: pointer; }
.page-search .business-list { padding: 12px var(--spacing-page); }

/* Nearby / Map */
.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}
.view-toggle button.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.nearby-map-wrap { position: relative; }
.nearby-map { height: 320px; background: #e8f4ec; }
.map-fallback {
  height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  background: linear-gradient(180deg, #E8F8EF, #fff);
  color: var(--color-text-secondary);
  font-size: 13px;
}
.map-fallback code { background: #f0f0f0; padding: 2px 6px; border-radius: 4px; }
.map-sheet { padding: 8px var(--spacing-page) 16px; }
.amap-marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  border: 2px solid #fff;
}
.is-hidden { display: none !important; }
.page-nearby .business-list { padding: 12px var(--spacing-page); }

/* Mine */
.mine-header {
  padding: 24px var(--spacing-page);
  background: linear-gradient(135deg, #07C160, #05D06B);
  color: #fff;
}
.mine-header h1 { margin: 0 0 4px; }
.mine-header p { margin: 0; opacity: .9; font-size: 13px; }
.mine-section { padding: 16px var(--spacing-page); }
.mine-section h2 { font-size: 15px; margin: 0 0 12px; display: flex; justify-content: space-between; }
.history-item {
  width: 100%;
  display: flex; justify-content: space-between;
  padding: 12px;
  border: 0;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
}
.mine-links { display: flex; flex-direction: column; gap: 8px; }
.mine-link {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--color-border);
  cursor: pointer;
}
.mine-footnote {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* Empty / Toast / Loading */
.empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--color-text-tertiary);
  font-size: 14px;
}
.empty-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.toast {
  position: fixed;
  left: 50%; bottom: calc(var(--bottom-chrome-height) + 24px);
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 200;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.loading-mask {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
}
.loading-mask[hidden] { display: none !important; }
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--color-primary-light);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* P1 · 评价 / 提交 / 分享 / 推送 */
.section-head-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.section-head-row h3 { margin: 0; }
.btn-text {
  border: 0; background: none; color: var(--color-primary);
  font-size: 13px; cursor: pointer; padding: 4px 0;
}
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-item {
  padding: 12px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.review-item__head {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.review-item__time { color: var(--color-text-tertiary); font-size: 11px; margin-left: auto; }
.review-empty { color: var(--color-text-tertiary); font-size: 13px; margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-actions .btn { flex: 1 1 calc(50% - 4px); min-width: 120px; }

.p1-sheet {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: flex-end; justify-content: center;
}
.p1-sheet[hidden] { display: none !important; }
.p1-sheet__mask {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.p1-sheet__panel {
  position: relative; width: 100%; max-width: 480px;
  max-height: 85vh; overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.p1-sheet__body { padding: 20px var(--spacing-page) 28px; position: relative; }
.p1-sheet__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--color-bg-surface); font-size: 20px; cursor: pointer;
}
.p1-sheet__title { margin: 0 0 12px; font-size: 17px; }
.p1-sheet__desc, .p1-sheet__note {
  font-size: 12px; color: var(--color-text-tertiary); margin: 8px 0 0;
}
body.sheet-open { overflow: hidden; }

.p1-form { display: flex; flex-direction: column; gap: 8px; }
.p1-form label { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }
.p1-form input, .p1-form select, .p1-form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-size: 14px; box-sizing: border-box;
}
.p1-form--page { padding: 0 var(--spacing-page) 24px; }
.star-picker { display: flex; gap: 4px; margin-bottom: 8px; }
.star-pick {
  border: 0; background: none; font-size: 28px;
  color: #ddd; cursor: pointer; padding: 0;
}
.star-pick.is-on { color: #FFB800; }

.seasonal-banner {
  display: flex; align-items: center; gap: 10px;
  margin: 0 var(--spacing-page) 12px;
  padding: 12px;
  background: linear-gradient(90deg, #E8F8EF, #fff);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-primary-light);
}
.seasonal-banner__icon { font-size: 28px; }
.seasonal-banner__body { flex: 1; min-width: 0; }
.seasonal-banner__body strong { display: block; font-size: 14px; }
.seasonal-banner__body p { margin: 2px 0 0; font-size: 12px; color: var(--color-text-secondary); }

.community-toggle {
  display: flex; align-items: center; gap: 8px;
  margin: 0 var(--spacing-page) 12px;
  padding: 10px 12px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  font-size: 13px; cursor: pointer;
}
.community-toggle input { width: 18px; height: 18px; accent-color: var(--color-primary); }

.share-preview-name { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.share-preview-meta { font-size: 13px; color: var(--color-text-secondary); margin: 0 0 16px; }
.share-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.share-actions .btn { flex: 1; }
.share-url {
  font-size: 11px; color: var(--color-text-tertiary);
  word-break: break-all; margin: 0;
}
.share-poster-wrap { margin-top: 16px; text-align: center; }
.share-poster-wrap canvas { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.share-hint { font-size: 12px; color: var(--color-text-tertiary); margin-top: 8px; }

.push-cat-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.push-cat-chip {
  padding: 8px 12px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); font-size: 13px; cursor: pointer;
}
.push-cat-chip.is-on { border-color: var(--color-primary); background: var(--color-primary-light); }
.push-cat-chip input { display: none; }

.page-submit .submit-tip {
  padding: 0 var(--spacing-page); margin: 0 0 12px;
  font-size: 13px; color: var(--color-text-secondary);
}
.sub-item {
  padding: 12px; background: var(--color-bg-surface);
  border-radius: var(--radius-sm); margin-bottom: 8px; font-size: 13px;
}
.sub-item__time { font-size: 11px; color: var(--color-text-tertiary); }
.mine-review-list .review-item { margin-bottom: 0; }

/* 试玩模式 · 适配 Tab + 标准固定底栏 */
body.editor-mode-active.has-tab-bar.has-contact-footer {
  padding-bottom: calc(var(--bottom-chrome-height) + 52px + var(--safe-area-bottom));
}
body.has-tab-bar .em-entry-btn {
  bottom: calc(var(--bottom-chrome-height) + 14px + var(--safe-area-bottom));
  z-index: 95;
}
body.editor-mode-active .detail-hero img.em-editable-img,
body.editor-mode-active .biz-card__photo img.em-editable-img,
body.editor-mode-active .detail-hero__placeholder.em-editable-img {
  outline: 2px dashed rgba(74, 144, 217, 0.55);
  outline-offset: 2px;
}
body.editor-mode-active .seasonal-banner strong.em-editable,
body.editor-mode-active .home-header__brand.em-editable,
body.editor-mode-active .community-name.em-editable {
  outline: 1px dashed rgba(74, 144, 217, 0.45);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  #app, .bottom-chrome { max-width: 480px; margin-left: auto; margin-right: auto; }
  .bottom-chrome { left: 50%; right: auto; width: 100%; transform: translateX(-50%); }
  .p1-sheet__panel { margin: 0 auto; }
  body.has-tab-bar .em-entry-btn { max-width: calc(480px - 32px); }
}
