/* 村口生活 · 用户端商户列表（暖白/杏橙/炭黑，token 来自 theme.css） */
.app { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--paper); padding-bottom: 84px; }

/* 顶栏 */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 4px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.seal { display: grid; place-items: center; width: 34px; height: 37px; background: var(--accent); color: var(--on-accent); border-radius: 9px 9px 12px 4px; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.map-link { font-size: 13px; color: var(--accent-strong); text-decoration: none; font-weight: 600; padding: 8px 4px; }
.icon-btn { border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--ink-2); min-width: 44px; min-height: 44px; border-radius: 10px; }

/* 控件区（位置 + 搜索 + 一行入口，控制在约 180px） */
.controls { padding: 4px 16px 0; display: flex; flex-direction: column; gap: 8px; }

.loc-row { display: flex; gap: 8px; align-items: stretch; }
.loc-btn { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); background: var(--card); border-radius: var(--r-md); padding: 8px 12px; min-height: 52px; text-align: left; }
.loc-ic { font-size: 18px; }
.loc-txt { display: flex; flex-direction: column; min-width: 0; }
.loc-txt b { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-txt small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-chev { color: var(--ink-3); font-size: 18px; }
.switch-btn { border: 1px solid var(--line-strong); background: var(--card); border-radius: var(--r-md); min-width: 60px; font-size: 14px; color: var(--ink-2); font-weight: 600; }

.searchbox { position: relative; display: block; }
.search-ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 18px; pointer-events: none; }
.searchbox input { padding-left: 38px; padding-right: 42px; border-radius: 999px; min-height: 44px; }
.search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--ink-3); font-size: 20px; min-width: 34px; min-height: 34px; }

.quick-row { display: flex; gap: 8px; align-items: center; }
.chip { border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2); border-radius: 999px; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-charcoal); }
.chip.filter-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; }

/* 结果区 */
.results { padding: 0 16px; margin-top: 14px; }
.results-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.results-head h1 { font-size: 18px; margin: 0; }
.scope-note { font-size: 12px; color: var(--accent-strong); font-weight: 600; }
.count { font-size: 13px; color: var(--ink-3); margin-left: auto; }

.list { display: flex; flex-direction: column; gap: 10px; }
.shop { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.shop-card { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: transparent; padding: 14px; cursor: pointer; }
.shop-photo { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--bg-2); display: grid; place-items: center; }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-empty { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.shop-body { flex: 1; min-width: 0; }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.shop-head h3 { margin: 0; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-name-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.takeout-tag { font-size: 11px; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; flex-shrink: 0; }
.shop-meta { font-size: 12.5px; color: var(--ink-2); margin: 3px 0 2px; }
.shop-meta .dist { color: var(--accent-strong); font-weight: 700; }
.shop-intro { font-size: 13px; color: var(--ink-3); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-open { color: var(--ink); font-weight: 700; }
.st-closed { color: var(--ink-3); }
.fav-btn { border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--accent-strong); padding: 10px 0 0 4px; min-width: 40px; min-height: 40px; flex-shrink: 0; }

.load-more { margin-top: 12px; }
.demo-note { text-align: center; font-size: 12px; color: var(--ink-3); padding: 14px 0; }

/* 底部弹层 */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(38,38,34,.4); z-index: 800; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; background: var(--card); border-radius: 20px 20px 0 0; max-height: 78vh; display: flex; flex-direction: column; animation: sheet-up .18s ease; }
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.sheet-head h2 { margin: 0; font-size: 17px; }
.sheet-body { padding: 4px 16px 8px; overflow: auto; }
.f-label { margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-strong); }
.switches { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.switch { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; font-size: 15px; color: var(--ink); cursor: pointer; }
.switch input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--accent-strong); }
.sheet-foot { display: flex; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.sheet-foot .btn.primary { flex: 1; }
.sheet-foot .btn.ghost { flex: 0 0 auto; min-width: 96px; }
.sheet-hint { font-size: 12px; color: var(--ink-3); margin: 14px 0 4px; line-height: 1.6; }

.menu-list { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; text-align: left; min-height: 52px; padding: 0 8px; font-size: 16px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.menu-item:active { background: var(--bg-2); }

/* 详情弹窗 */
#detail { border: 0; border-radius: var(--r-lg); padding: 0; max-width: 520px; width: calc(100% - 32px); background: var(--card); color: var(--ink); }
#detail::backdrop { background: rgba(38,38,34,.4); }
.detail-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.detail-top button { border: 0; background: transparent; font-size: 22px; color: var(--ink-2); min-width: 40px; min-height: 40px; }
#detail-content { padding: 16px; max-height: 72vh; overflow: auto; }
.detail-photo { width: 100%; height: 180px; object-fit: cover; border-radius: var(--r-md); margin-bottom: 12px; }
#detail-content h2 { margin: 0 0 4px; font-size: 19px; }
.detail-type { color: var(--ink-2); font-size: 13px; margin: 0 0 10px; }
.detail-intro { color: var(--ink-3); font-size: 14px; margin: 0 0 4px; white-space: pre-wrap; }
#detail-content dl { display: grid; grid-template-columns: 88px 1fr; gap: 8px 12px; margin: 14px 0; font-size: 14px; }
#detail-content dt { color: var(--ink-2); font-weight: 600; }
#detail-content dd { margin: 0; }
.tel { color: var(--accent-strong); font-weight: 700; text-decoration: none; }
.tel + .tel::before { content: '、'; color: var(--ink-3); }
.detail-notice { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }
#detail-content .btn { margin-top: 14px; }
#detail-content .btn + .btn { margin-top: 8px; }
.parking-box { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; }
.parking-box h4 { margin: 0 0 6px; font-size: 14px; }
.parking-item { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.parking-item strong { color: var(--ink); }
.parking-item a { color: var(--accent-strong); text-decoration: none; font-weight: 600; }

.empty-state .btn { margin-top: 16px; }

/* ---- 详情相册 ---- */
.album { margin: -16px -16px 12px; }
.album-main { position: relative; height: 240px; background: var(--bg-2); overflow: hidden; }
.album-main img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-2); }
.album-count { position: absolute; right: 12px; bottom: 12px; background: rgba(38,38,34,.72); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.album-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(38,38,34,.45); color: #fff; font-size: 22px; display: grid; place-items: center; }
.album-nav.prev { left: 8px; } .album-nav.next { right: 8px; }
.album-reload { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2); font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.album-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.album-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.on { border-color: var(--accent-strong); }
.album-empty { height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); background: var(--bg-2); font-size: 14px; }
.album-empty span:first-child { font-size: 30px; }

/* ---- 图文详情块 ---- */
.detail-blocks { margin: 4px 0 2px; }
.blk-heading { font-size: 15px; font-weight: 700; margin: 14px 0 6px; color: var(--ink); }
.blk-text { font-size: 14px; color: var(--ink-2); margin: 6px 0; white-space: pre-wrap; }
.blk-image { margin: 10px 0; }
.blk-image img { width: 100%; border-radius: var(--r-md); display: block; background: var(--bg-2); cursor: zoom-in; }
.blk-image figcaption { font-size: 12px; color: var(--ink-3); margin-top: 5px; text-align: center; }
.blk-missing { color: var(--ink-3); font-size: 13px; padding: 20px; text-align: center; background: var(--bg-2); border-radius: var(--r-md); }

/* ---- 全屏大图查看器 ---- */
.viewer { position: fixed; inset: 0; background: rgba(12,12,11,.96); z-index: 950; display: flex; align-items: center; justify-content: center; }
.viewer-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .08s linear; touch-action: none; }
.viewer-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 26px; z-index: 2; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; z-index: 2; }
.viewer-nav.vprev { left: 12px; } .viewer-nav.vnext { right: 12px; }
.viewer-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.16); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.viewer-reload { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--card); color: var(--ink-2); font-size: 13px; padding: 8px 14px; border-radius: 999px; z-index: 2; }
@media (min-width: 600px) { .viewer-nav { width: 52px; height: 52px; } .viewer-nav.vprev { left: 24px; } .viewer-nav.vnext { right: 24px; } }

/* 点击取号状态 */
.phone-loading { font-size: 13px; color: var(--ink-3); }
.phone-fail { font-size: 13px; color: var(--accent-strong); }
.phone-hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
#get-phone { margin-top: 6px; }

/* ===================================================================
   v11 列表视觉改版：暖橙渐变顶栏 + 八个线条 SVG 入口 + 独立白色列表区
   （只覆盖本页视觉，不动筛选弹层/详情弹层既有样式）
   =================================================================== */
:root { --hero-1: #F2A65A; --hero-2: #E07B39; --cream: #FBF7F0; }

/* 奶白背景 */
body { background: var(--cream); }
.app { background: var(--cream); padding-bottom: 96px; }

/* 暖橙渐变顶栏（含白色搜索卡） */
.hero {
  background: linear-gradient(160deg, var(--hero-1) 0%, var(--hero-2) 62%, #D06E2E 100%);
  padding: 14px 16px 18px; border-radius: 0 0 20px 20px;
  box-shadow: 0 6px 18px rgba(208, 110, 46, .18);
  color: #fff;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-hero { color: #fff; }
.brand-hero small { color: rgba(255, 255, 255, .82); }
.brand-hero .seal { background: rgba(255, 255, 255, .92); color: var(--hero-2); }
.map-link-hero { color: #fff; font-weight: 700; text-decoration: none; padding: 8px 6px; }
.icon-btn-hero { color: #fff; }
.hero-title { margin: 10px 2px 2px; font-size: 24px; line-height: 1.2; letter-spacing: .5px; }
.hero-sub { margin: 0 2px 12px; font-size: 12.5px; color: rgba(255, 255, 255, .88); }

/* 白色搜索卡（定位 + 搜索） */
.search-card { background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 6px 16px rgba(90, 60, 30, .14); display: flex; flex-direction: column; gap: 8px; }
.search-card .loc-btn { border-color: #EFE7DA; background: #FDFBF7; }
.search-card .switch-btn { border-color: #EFE7DA; background: #FDFBF7; }
.search-card .searchbox input { background: #fff; border-color: #EFE7DA; }
.controls { display: none; }   /* 旧位置上移进顶栏，避免重复 */

/* 两行四列分类入口 */
.cat-section { padding: 14px 16px 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 76px; padding: 8px 4px; border: 1px solid #EFE7DA; background: #fff;
  border-radius: 14px; color: #6A5A46; font-size: 12px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(90, 60, 30, .05);
}
.cat .cat-ic { width: 26px; height: 26px; color: var(--hero-2); }
.cat span { white-space: nowrap; }
.cat[aria-pressed="true"] { border-color: var(--hero-2); background: #FFF4E8; color: #A8571F; }
.cat[aria-pressed="true"] .cat-ic { color: #C9631F; }
.cat:active { transform: scale(.98); }

/* 独立白色列表区：左图右文 */
.list-area { margin: 14px 16px 0; background: #fff; border-radius: 16px; padding: 14px 12px 6px; box-shadow: 0 2px 10px rgba(90, 60, 30, .07); }
.results-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.results-head h2 { font-size: 16px; margin: 0; }
.results-head .count { color: var(--ink-3); font-size: 12px; }
.results-head .filter-chip { margin-left: auto; min-height: 36px; padding: 0 12px; }
.list { display: flex; flex-direction: column; }
/* 注意：neighbors.css 也定义了 .shop-card（发现页的门店卡），
   本页覆盖必须带 .list-area 前缀以取得更高优先级，否则会被后加载的规则盖掉 */
.list-area .shop + .shop { border-top: 1px solid #F3EDE3; }
.list-area .shop-card { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; margin: 0; border: 0; border-radius: 0; background: transparent; }
.list-area .shop-photo { width: 86px; height: 86px; border-radius: 12px; }
.list-area .shop-name-row h3 { font-size: 15.5px; font-weight: 700; }
.list-area .shop-intro { color: var(--ink-3); -webkit-line-clamp: 2; }
.list-loading { text-align: center; color: var(--ink-3); font-size: 13px; padding: 18px 0; }
.list-area .load-more { margin: 12px 0 6px; }
.list-area .demo-note { margin: 10px 0 6px; }

/* 360px：四列仍不溢出 */
@media (max-width: 370px) {
  .cat { min-height: 70px; font-size: 11.5px; }
  .cat .cat-ic { width: 23px; height: 23px; }
  .hero-title { font-size: 22px; }
}

/* 列表卡片扁平化：列表区已是白底，去掉卡片自己的边框/底色，仅用分隔线 */
.list-area .shop { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.list-area .shop + .shop { border-top: 1px solid #F3EDE3; }
/* 店名可读：允许两行，不被状态/标签挤没 */
.list-area .shop-head { align-items: flex-start; flex-wrap: nowrap; }
.list-area .shop-name-row { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
.list-area .shop-name-row h3 { flex: 1 1 auto; min-width: 0; margin: 0; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.list-area .shop-head > .st { flex-shrink: 0; font-size: 12px; white-space: nowrap; }
.list-area .shop-photo { background: #F5EFE6; }
.list-area .shop-photo img { background: #F5EFE6; }

/* meta 行内的外卖标签 */
.list-area .shop-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.list-area .shop-meta .takeout-tag { flex: 0 0 auto; }

/* 店名独占整行；状态/外卖在 meta 行，避免与店名抢宽度 */
.list-area .shop-head { display: block; }
.list-area .shop-name-row { display: block; }
.list-area .shop-name-row h3 { width: 100%; }
.list-area .shop-meta .st { flex: 0 0 auto; }

/* 相册：无真实照片/加载失败时不出现黑块 */
.album-main { background: #F5EFE6; }
.album-empty-ic { width: 30px; height: 30px; color: #B9AE9C; }
.album-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; color: var(--ink-3); font-size: 13px; }

/* v19：动态入口图标/文字、便民二级筛选行、旧分类与经营内容标签 */
.cat .cat-ic { display:block; width:26px; height:26px; margin:0 auto 6px; color:var(--hero-2); }
.cat .cat-ic svg { width:26px; height:26px; display:block; }
.cat .cat-tx { display:block; font-size:13px; line-height:1.2; white-space:nowrap; }
.subcat-row { display:flex; gap:8px; overflow-x:auto; padding:10px 2px 2px; -webkit-overflow-scrolling:touch; }
.subcat-row::-webkit-scrollbar { display:none; }
.subcat { flex:0 0 auto; padding:7px 14px; border-radius:999px; border:1px solid #EADFD2; background:#fff; color:#6B5B4B; font-size:13px; }
.subcat[aria-pressed="true"] { background:#FDEFE2; border-color:var(--hero-2); color:#B4561F; font-weight:600; }
.chip-note { margin:12px 2px 6px; color:#9A8B7C; font-size:12px; }
.btags { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:8px 0 2px; }
.btags-label { color:#9A8B7C; font-size:12px; margin-right:2px; }
.btag { padding:3px 10px; border-radius:999px; background:#FBF3EA; border:1px solid #EFE0CF; color:#8A6A4C; font-size:12px; }
.btags-note { margin:2px 0 8px; color:#A79A8C; font-size:11.5px; line-height:1.4; }

/* 联系入口先于相册与长正文，首屏可直接操作。 */
.detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 16px; }
#detail-content .detail-actions .btn { margin: 0; min-height: 48px; padding: 8px 4px; font-size: 14px; text-align: center; }
#detail-content .album { margin-top: 16px; }
.quick-phone { padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
#detail-parking { margin: 0 0 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
#detail-parking .parking-item { padding: 8px 0; }
#detail-parking .parking-item a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; }

/* v20：独立商户详情页（/merchant.html） */
.m-topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:8px; padding:10px 12px; background:#fff;
  border-bottom:1px solid #F0E7DA; }
.m-topbar .m-title { flex:1 1 auto; min-width:0; }
.m-topbar .m-title strong { display:block; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.m-topbar .m-sub { display:block; color:#9A8B7C; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.merchant-main { padding:12px 12px 24px; max-width:720px; margin:0 auto; box-sizing:border-box; }
.merchant-page .album { margin:16px 0 10px; border-radius:12px; overflow:hidden; }
.m-h1 { font-size:20px; margin:6px 0 4px; line-height:1.3; }
.merchant-main .detail-actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.merchant-main .detail-actions .btn { flex:1 1 auto; min-width:96px; text-align:center; }
.phone-slot { display:flex; flex-wrap:wrap; gap:10px; margin:4px 0 10px; }
.phone-slot a.tel { padding:8px 12px; border-radius:10px; background:#FBF3EA; border:1px solid #EFE0CF; color:#B4561F; text-decoration:none; font-weight:600; }
.parking-box { border:1px solid #EFE6DA; border-radius:10px; padding:10px; background:#FFFDFA; margin-bottom:10px; }
.merchant-main .detail-addr { color:#6B5B4B; font-size:13px; margin:4px 0; }
.merchant-main .checkin-entry { margin-top:12px; }

/* v21：修复「隐藏的全屏相册仍拦截点击」——类选择器的 display 覆盖了 [hidden] 的 display:none */
.viewer[hidden], .merchant-page #viewer[hidden], #viewer[hidden] { display:none !important; pointer-events:none !important; }
.viewer:not([hidden]) { display:flex; }
