:root {
  --bg: #0f1115;
  --panel: #171a21;
  --panel-2: #1f2430;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #22c55e;
  --accent-2: #f59e0b;
  --line: rgba(255,255,255,.08);
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.app { min-height: 100vh; padding-bottom: 40px; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(15,17,21,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-btn, .close-btn, .admin-link {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.brand h1 { margin: 0; font-size: 1.1rem; }
.brand-sub { color: var(--muted); font-size: .78rem; }
.admin-link { margin-left: auto; font-size: .85rem; }

.hero {
  padding: 24px 16px 8px;
  text-align: center;
}
.hero-hint { color: var(--accent-2); font-size: .9rem; margin: 0 0 8px; }
.hero h2 { margin: 0; font-size: 1.8rem; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 280px;
  background: var(--panel);
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 40;
  border-right: 1px solid var(--line);
  padding: 16px;
}
.sidebar.open { transform: translateX(0); }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.region-nav { display: flex; flex-direction: column; gap: 8px; }
.region-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid transparent;
}
.region-link.active {
  border-color: var(--accent);
  background: rgba(34,197,94,.12);
}
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .2s;
  z-index: 30;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.content { padding: 8px 16px 24px; max-width: 920px; margin: 0 auto; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section h3 { margin: 0 0 12px; font-size: 1.2rem; }
.pill {
  font-size: .78rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(34,197,94,.15); color: var(--accent);
}

.listing-grid { display: grid; gap: 12px; }

/* City sub-site: 3 shops per row */
.city-app {
  position: relative;
  isolation: isolate;
}
.city-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--city-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.city-app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,12,22,.55) 0%, rgba(8,12,22,.82) 45%, rgba(8,12,22,.92) 100%);
  pointer-events: none;
}

.city-topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.city-topbar-main {
  min-width: 0;
  text-align: center;
}
.city-topbar-main h1 {
  margin: 0;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-topbar-main .brand-sub {
  font-size: .72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(34,197,94,.45);
  background: rgba(34,197,94,.12);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  max-width: 42vw;
  white-space: nowrap;
}
.region-picker-value {
  font-weight: 700;
  font-size: .92rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.region-picker-arrow {
  color: var(--accent);
  font-size: .85rem;
  flex-shrink: 0;
}
.region-picker-btn:hover {
  border-color: var(--accent);
  background: rgba(34,197,94,.2);
}

.region-bar-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px 12px;
  max-width: 1080px;
  margin: 0 auto;
  position: sticky;
  top: 52px;
  z-index: 15;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.region-bar-top .region-link {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid transparent;
  font-size: .88rem;
  white-space: nowrap;
}
.region-bar-top .region-link.active {
  border-color: var(--accent);
  background: rgba(34, 197, 94, .15);
  color: var(--accent);
  font-weight: 700;
}

.city-hero {
  padding-top: 8px;
  padding-bottom: 4px;
}
.city-hero .hero-hint {
  margin: 0;
  font-size: .85rem;
}

.city-app .content { max-width: 1080px; }
.city-app .listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.city-app .listing-body { padding: 12px 12px 14px; }
.city-app .listing-body h4 {
  font-size: .92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-app .listing-desc {
  font-size: .82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-app .card-more {
  font-size: .78rem;
  margin-top: 8px;
}
.city-app .listing-meta { gap: 6px; margin-bottom: 6px; }
.city-app .price { font-size: .88rem; }
.city-app .tag { font-size: .72rem; }
.city-app .empty { grid-column: 1 / -1; }

@media (max-width: 720px) {
  .city-app .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .city-app .listing-body { padding: 8px 8px 10px; }
  .city-app .listing-body h4 { font-size: .78rem; }
  .city-app .card-more { font-size: .72rem; margin-top: 6px; }
  .city-app .listing-desc { display: none; }
}
.listing-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}
.listing-link {
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.listing-link:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.listing-link:active { transform: translateY(0); }
.card-more {
  display: inline-block;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--accent);
}
.back-btn { display: inline-flex; align-items: center; }

.detail-page { max-width: 760px; }
.detail-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  overflow: hidden;
  background: var(--panel-2);
}
.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero.is-placeholder img { object-fit: contain; padding: 24px; background: var(--panel-2); }
.detail-gallery {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  overflow-x: auto;
}
.detail-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
  cursor: pointer;
}
.detail-thumb.is-active { border-color: var(--accent); }
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-body { padding: 18px 16px 22px; }
.detail-head h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.35; }
.detail-sub { color: var(--muted); font-weight: 500; font-size: 1rem; }
.detail-summary {
  color: var(--accent-2);
  margin: 0 0 16px;
  font-size: .95rem;
}
.detail-content h3 { margin: 0 0 10px; font-size: 1rem; }
.detail-text { white-space: pre-wrap; word-break: break-word; }
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #041007;
}
.btn-secondary {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.badge-open {
  background: rgba(34,197,94,.15);
  color: var(--accent);
}
.listing-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel-2);
}
.listing-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-image.is-placeholder img {
  object-fit: contain;
  padding: 18px;
  opacity: .85;
}
.listing-body { padding: 14px 16px; }
.listing-body h4 { margin: 0 0 8px; font-size: 1rem; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.price { color: var(--accent-2); font-weight: 700; }
.tag {
  font-size: .78rem; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--muted);
}
.listing-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.badge {
  display: inline-block; margin-top: 8px;
  font-size: .75rem; padding: 4px 8px; border-radius: 999px;
  background: rgba(245,158,11,.15); color: var(--accent-2);
}
.is-waiting { opacity: .85; }
.empty { color: var(--muted); padding: 24px; text-align: center; }

/* Hub — light theme (总站) */
body.hub-light {
  background: #f4f7fb;
  color: #1e293b;
}

.hub-app {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #16a34a;
  --accent-2: #ea580c;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  min-height: 100vh;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 35%, #ffffff 100%);
  color: var(--text);
}

.hub-app .topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.hub-app .brand-sub { color: var(--accent-2); }
.hub-app .section h3 { color: #0f172a; }
.hub-app .prose { color: var(--muted); }
.hub-app .footer { color: var(--muted); }

.hub-topbar { justify-content: center; padding: 20px 16px; }
.hub-brand { text-align: center; }
.hub-brand h1 {
  font-size: 1.65rem;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.hub-hero {
  padding: 4px 16px 24px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hub-intro {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0 0 20px;
}
.hub-content { max-width: 920px; }

.hub-app .search-bar input[type="search"] {
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.hub-app .search-bar input[type="search"]:focus {
  outline: none;
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.hub-app .search-bar button {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.hub-app .city-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.hub-app .city-card:hover {
  border-color: #86efac;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.12);
}
.hub-app .city-name { color: #0f172a; }
.hub-app .city-arrow { color: #16a34a; font-weight: 600; }

.hub-app .pill {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

.hub-app .listing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.hub-app .listing-link:hover {
  border-color: #86efac;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.1);
}
.hub-app .listing-image { background: #f1f5f9; }
.hub-app .tag {
  background: #f1f5f9;
  color: #475569;
}
.hub-app .price { color: #ea580c; }
.hub-app .card-more { color: #16a34a; }
.hub-app .search-city-tag {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}
.hub-app .empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

/* Hub & Search — shared (city pages keep dark theme) */
.search-bar {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}
.search-bar input[type="search"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: .95rem;
}
.search-bar button {
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #041007;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.city-search-wrap {
  padding: 0 16px 12px;
  max-width: 920px;
  margin: 0 auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.city-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.city-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.4);
}
.city-card.is-soon {
  cursor: not-allowed;
  opacity: .72;
  border-style: dashed;
  background: #f1f5f9;
}
.city-card.is-soon:hover {
  transform: none;
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.city-arrow-muted { color: var(--muted); }
.hub-app .city-card.is-soon {
  background: #f8fafc;
}
.city-name { font-size: 1.35rem; font-weight: 700; }
.city-tagline { color: var(--muted); font-size: .85rem; }
.city-arrow { color: var(--accent); font-size: .85rem; margin-top: 4px; }

.search-city-tag {
  display: inline-block;
  font-size: .75rem;
  color: var(--accent);
  background: rgba(34,197,94,.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.clear-search {
  margin-left: auto;
  font-size: .85rem;
  color: var(--muted);
}
.section-head { flex-wrap: wrap; }

.form-section-title {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--accent);
}

.prose { color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }

.contact-list { list-style: none; padding: 0; margin: 0 0 16px; color: var(--muted); }
.contact-list li { padding: 6px 0; }
.contact-form { display: grid; gap: 10px; }
.contact-form input, .contact-form textarea, .admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.contact-form button, .admin-form button, .auth-card button {
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #041007;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
}
.footer { text-align: center; color: var(--muted); padding: 24px 16px; font-size: .85rem; }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 50;
}
.modal.hidden { display: none; }
.modal-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.modal-card h3 { margin-top: 0; }
.modal-card button { width: 100%; margin-top: 12px; }

.flash {
  padding: 10px 12px; border-radius: 10px; margin-bottom: 12px;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3);
}
.flash-error { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }

/* Admin */
.admin-body { background: #0b0d11; }
.admin-auth {
  min-height: 100vh; display: grid; place-items: center; padding: 20px;
}
.auth-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: grid; gap: 12px;
}
.auth-card a { color: var(--muted); font-size: .9rem; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: #11151d;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.admin-brand { font-weight: 700; margin-bottom: 10px; }
.admin-build-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.18);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
}
.admin-sidebar a {
  padding: 10px 12px; border-radius: 10px; color: var(--muted);
}
.admin-sidebar a:hover { background: var(--panel-2); color: var(--text); }
.admin-main { padding: 24px; }
.admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}
.admin-form { display: grid; gap: 12px; }
.admin-form.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-form .full { grid-column: 1 / -1; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px; text-align: left; vertical-align: top;
}
.admin-table input { min-width: 80px; }
.actions { display: flex; gap: 8px; }
button.danger, .danger { background: var(--danger) !important; color: white !important; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 18px;
}
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.stat-card span { color: var(--muted); font-size: .85rem; }
.stat-card strong { display: block; font-size: 1.6rem; margin-top: 6px; }
.preview img { max-width: 220px; border-radius: 12px; }
.image-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.image-manage-title { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.image-manage-item {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  font-size: .85rem;
}
.image-manage-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.image-upload-field { display: grid; gap: 10px; }
.image-upload-slots {
  display: grid;
  gap: 10px;
}
.image-upload-slot {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
}
.image-upload-slot span {
  color: var(--muted);
  font-size: .88rem;
}
.image-upload-slot input[type="file"] {
  width: 100%;
}
.btn-link { margin-left: 12px; color: var(--muted); }
.admin-hint { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.scope-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.scope-tabs a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}
.scope-tabs a.active, .scope-tabs a:hover {
  background: rgba(34,197,94,.12); border-color: var(--accent); color: var(--accent);
}
.table-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.table-thumb.wide { width: 120px; height: auto; max-height: 56px; }

/* Contact QR codes */
.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.contact-qr-grid-fixed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .contact-qr-grid-fixed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .contact-qr-grid-fixed .contact-qr-card { padding: 8px 6px; }
  .contact-qr-grid-fixed .contact-qr-label { font-size: .82rem; }
  .contact-qr-grid-fixed .contact-qr-account { font-size: .72rem; }
}
.contact-qr-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}
.contact-qr-label {
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 10px;
  color: var(--accent);
}
.contact-qr-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
}
.contact-qr-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-qr-img.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
}
.contact-qr-placeholder {
  font-size: .78rem;
  color: var(--muted);
  padding: 8px;
  text-align: center;
}
.contact-qr-account-muted { color: var(--muted); opacity: .6; }
.contact-qr-account {
  margin-top: 8px;
  font-size: .82rem;
  color: var(--muted);
  word-break: break-all;
}

.hub-app .contact-qr-card {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.hub-app .contact-qr-img { background: #f8fafc; }

/* Reviews marquee */
.reviews-section { overflow: hidden; }
.reviews-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 0;
}
.hub-app .reviews-marquee {
  background: #fff;
  border-color: #e2e8f0;
}
.reviews-marquee::before,
.reviews-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--panel), transparent);
}
.reviews-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--panel), transparent);
}
.hub-app .reviews-marquee::before {
  background: linear-gradient(90deg, #fff, transparent);
}
.hub-app .reviews-marquee::after {
  background: linear-gradient(270deg, #fff, transparent);
}
.reviews-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: reviews-scroll 40s linear infinite;
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}
.reviews-marquee.is-single::before,
.reviews-marquee.is-single::after {
  display: none;
}
.reviews-marquee.is-single .reviews-track {
  width: 100%;
  justify-content: center;
  animation: none;
}
.reviews-marquee.is-single .review-slide {
  width: min(360px, 92vw);
}
  flex: 0 0 auto;
  width: min(280px, 72vw);
}
.review-slide img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.review-caption {
  margin: 6px 0 0;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}
@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: row; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-form.grid-2 { grid-template-columns: 1fr; }
}
