/* =========================================================
   周末去哪 · Shared UI System
   v9 · clean white · mint #3DB89A · lively 撞色 art bg (mint/peach/lilac/lemon) · colorful filled icons · 二次元 soft cute
   ========================================================= */

:root {
  /* Surfaces — clean pure white + soft mint panels (pale fills stay soft) */
  --wq-page-bg: #FFFFFF;
  --wq-surface: #FFFFFF;
  --wq-surface-soft: #F0FAF7;
  --wq-surface-tint: #E8F6F2;
  --wq-surface-sky: #F0FAF7;
  --wq-hairline: #D7E8E2;

  /* Hero accent — deeper mint (clearly stronger than v7 #7BC9B8) */
  --wq-accent: #3DB89A;
  --wq-accent-deep: #1F8F74;
  --wq-accent-soft: #E8F6F2;
  --wq-accent-mid: #7BC9B8; /* former v7 hero — borders / mid fills */
  --wq-accent-pale: #F0FAF7;
  /* Brand anchors: mint #3DB89A · deep #1F8F74 · mid #7BC9B8 · pastel 撞色 below */
  /* Art / backgrounds (v9 lively) */
  --wq-art-map-bg: url("assets/art/map-bg.svg");
  --wq-art-map-photo: url("assets/art/bg-map.jpg");
  --wq-art-soft: url("assets/art/bg-soft.jpg");

  /* Text — clean charcoal with mint-leaning mute */
  --wq-text: #2A3432;
  --wq-text-secondary: #5E706C;
  --wq-text-muted: #849490;

  /* Multi-pastel 撞色 blocks — stronger presence (二次元 soft) */
  --wq-peach: #FFE4DC;
  --wq-peach-mid: #FFC8B8;
  --wq-peach-deep: #FF9F8A; /* hearts / tiny cute only */
  --wq-lilac: #EDE5FF;
  --wq-lilac-mid: #D4C6FF;
  --wq-lilac-deep: #9B7FE0;
  --wq-lemon: #FFF1C2;
  --wq-lemon-mid: #FFE08A;
  --wq-lemon-deep: #D4A93A;
  --wq-coral: #FFE0E8;
  --wq-coral-mid: #FFC0D0;
  --wq-coral-deep: #E87898;
  --wq-sand: #D7E8E2;
  --wq-sage: #3DB89A;
  --wq-sky-mid: #E8F6F2;

  /* Soft mint-tinted shadows — deeper mint glow */
  --wq-shadow-xs: 0 2px 8px rgba(31, 90, 78, 0.05);
  --wq-shadow-sm: 0 4px 14px rgba(31, 90, 78, 0.06);
  --wq-shadow-md: 0 6px 18px rgba(31, 90, 78, 0.07);
  --wq-shadow-lg: 0 10px 28px rgba(31, 90, 78, 0.08);
  --wq-shadow-xl: 0 14px 34px rgba(31, 90, 78, 0.09);
  --wq-shadow-phone: 0 28px 64px rgba(31, 90, 78, 0.11);
  --wq-shadow-accent: 0 6px 16px rgba(61, 184, 154, 0.32);

  /* Rounder / cuter radii */
  --wq-radius-xs: 10px;
  --wq-radius-sm: 14px;
  --wq-radius-md: 18px;
  --wq-radius-lg: 20px;
  --wq-radius-xl: 22px;
  --wq-radius-2xl: 26px;
  --wq-radius-3xl: 28px;
  --wq-radius-4xl: 32px;
  --wq-radius-phone: 40px;
  --wq-radius-pill: 999px;

  /* Spacing */
  --wq-space-1: 4px;
  --wq-space-2: 8px;
  --wq-space-3: 12px;
  --wq-space-4: 16px;
  --wq-space-5: 20px;
  --wq-space-6: 24px;
  --wq-space-7: 28px;
  --wq-space-8: 32px;
  --wq-page-x: 20px;
  --wq-tabbar-clearance: 100px;

  /* Type */
  --wq-font: "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --wq-fs-xs: 11px;
  --wq-fs-sm: 12px;
  --wq-fs-md: 13px;
  --wq-fs-base: 14px;
  --wq-fs-lg: 15px;
  --wq-fs-xl: 16px;
  --wq-fs-2xl: 18px;
  --wq-fs-3xl: 20px;
  --wq-fs-4xl: 22px;
  --wq-fs-5xl: 24px;
  --wq-fs-6xl: 26px;
  --wq-lh-tight: 1.3;
  --wq-lh-snug: 1.45;
  --wq-lh-normal: 1.55;

  /* Layout */
  --wq-phone-w: 390px;
  --wq-phone-h: 844px;
  --wq-status-h: 44px;
  --wq-tabbar-h: 64px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.wq-body,
.wq-body {
  font-family: var(--wq-font);
  background: var(--wq-page-bg);
  color: var(--wq-text);
  display: flex;
  justify-content: center;
  padding: var(--wq-space-8);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Phone frame ---------- */
.wq-phone {
  width: var(--wq-phone-w);
  min-height: var(--wq-phone-h);
  background: var(--wq-surface);
  border-radius: var(--wq-radius-phone);
  overflow: hidden;
  position: relative;
  box-shadow: var(--wq-shadow-phone);
  display: flex;
  flex-direction: column;
}

.wq-phone--fixed {
  height: var(--wq-phone-h);
  min-height: 0;
}

/* ---------- Status bar ---------- */
.wq-status {
  height: var(--wq-status-h);
  padding: 14px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: var(--wq-fs-base);
  font-weight: 600;
  color: var(--wq-text);
  flex-shrink: 0;
  z-index: 5;
}

.wq-status--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.wq-status--light {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ---------- App header ---------- */
.wq-header {
  padding: var(--wq-space-2) var(--wq-page-x) var(--wq-space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wq-space-3);
  flex-shrink: 0;
}

.wq-header--nav {
  gap: var(--wq-space-3);
  justify-content: flex-start;
}

.wq-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wq-city {
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--wq-space-1);
}

.wq-title {
  font-size: var(--wq-fs-6xl);
  font-weight: 800;
  color: var(--wq-text);
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.wq-title--lg {
  font-weight: 800;
}

.wq-title--md {
  font-size: var(--wq-fs-4xl);
  font-weight: 800;
}

.wq-title--sm {
  font-size: var(--wq-fs-5xl);
  font-weight: 800;
  line-height: var(--wq-lh-tight);
}

.wq-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: url("assets/art/avatar-me.jpg") center / cover no-repeat;
  border: 2px solid #fff;
  box-shadow: var(--wq-shadow-sm);
  flex-shrink: 0;
  overflow: hidden;
}

.wq-avatar--lg {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  position: relative;
  box-shadow: var(--wq-shadow-accent);
}

/* ---------- Page content ---------- */
.wq-content {
  flex: 1;
  padding: 0 var(--wq-page-x) var(--wq-tabbar-clearance);
  display: flex;
  flex-direction: column;
  gap: var(--wq-space-4);
  min-height: 0;
}

.wq-content--gap-sm {
  gap: var(--wq-space-3);
}

.wq-content--flush {
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Section labels ---------- */
.wq-section-label {
  font-size: var(--wq-fs-xl);
  font-weight: 800;
  color: var(--wq-text);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: 0.2px;
}

.wq-section-label span,
.wq-section-label .wq-link {
  font-size: var(--wq-fs-sm);
  font-weight: 500;
  color: var(--wq-text-muted);
}

.wq-section-label .wq-link--accent {
  font-weight: 600;
  color: var(--wq-accent-deep);
}

.wq-label-muted {
  font-size: var(--wq-fs-md);
  font-weight: 800;
  color: var(--wq-text-muted);
  margin-bottom: var(--wq-space-2);
  padding-left: var(--wq-space-1);
}

.wq-label {
  font-size: var(--wq-fs-base);
  font-weight: 800;
  color: var(--wq-text);
  margin-bottom: var(--wq-space-2);
}

.wq-count {
  font-size: var(--wq-fs-sm);
  color: var(--wq-text-muted);
}

/* ---------- Chips / filters ---------- */
.wq-filters {
  margin: 0 var(--wq-page-x) 14px;
  padding: 8px;
  display: flex;
  gap: var(--wq-space-2);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
  background: var(--wq-accent-soft);
  border-radius: var(--wq-radius-xl);
  border: 1px solid var(--wq-hairline);
}

.wq-filters::-webkit-scrollbar {
  display: none;
}

.wq-chips {
  display: flex;
  gap: var(--wq-space-2);
  flex-wrap: wrap;
}

.wq-chip {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: var(--wq-radius-pill);
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  background: var(--wq-surface-soft);
  border: 1.5px solid var(--wq-hairline);
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
  box-shadow: var(--wq-shadow-xs);
}

.wq-chip--sm {
  padding: 7px 12px;
  font-size: var(--wq-fs-sm);
}

.wq-chip--float {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--wq-shadow-sm);
  border-color: transparent;
}

.wq-chip.active,
.wq-chip--active {
  background: var(--wq-accent);
  color: #fff;
  font-weight: 700;
  border: 1.5px solid var(--wq-accent);
  box-shadow: var(--wq-shadow-accent);
}

.wq-chip--float.active,
.wq-chip--float.wq-chip--active {
  background: var(--wq-accent);
  color: #fff;
  border: 1px solid var(--wq-accent);
  font-weight: 700;
}

/* Pastel 撞色 chip / tag / panel variants (mint hero + peach/lilac/lemon) */
.wq-chip--mint { background: var(--wq-accent-soft); color: var(--wq-accent-deep); border-color: var(--wq-accent-mid); }
.wq-chip--peach { background: var(--wq-peach); color: #C45A48; border-color: var(--wq-peach-mid); }
.wq-chip--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); border-color: var(--wq-lilac-mid); }
.wq-chip--lemon { background: var(--wq-lemon); color: #9A7A20; border-color: var(--wq-lemon-mid); }
.wq-chip--coral { background: var(--wq-coral); color: var(--wq-coral-deep); border-color: var(--wq-coral-mid); }

.wq-chip .wq-ico {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}
.wq-chip--peach .wq-ico { color: #C45A48; }
.wq-chip--lilac .wq-ico { color: var(--wq-lilac-deep); }
.wq-chip--lemon .wq-ico { color: #9A7A20; }
.wq-chip--coral .wq-ico { color: var(--wq-coral-deep); }
.wq-chip--mint .wq-ico { color: var(--wq-accent-deep); }
.wq-chip.active .wq-ico {
  color: #fff;
  background: none !important;
  background-color: #fff !important;
  -webkit-mask: var(--wq-ico) center / contain no-repeat !important;
  mask: var(--wq-ico) center / contain no-repeat !important;
}

.wq-tag--mint { background: var(--wq-accent-soft); color: var(--wq-accent-deep); border-color: var(--wq-accent-mid); }
.wq-tag--peach { background: var(--wq-peach); color: #C45A48; border-color: var(--wq-peach-mid); }
.wq-tag--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); border-color: var(--wq-lilac-mid); }
.wq-tag--lemon { background: var(--wq-lemon); color: #9A7A20; border-color: var(--wq-lemon-mid); }
.wq-tag--coral { background: var(--wq-coral); color: var(--wq-coral-deep); border-color: var(--wq-coral-mid); }

.wq-panel-mint {
  background: var(--wq-accent-soft);
  border: 1.5px solid var(--wq-hairline);
  border-radius: var(--wq-radius-xl);
}
.wq-panel-peach {
  background: var(--wq-peach);
  border: 1.5px solid var(--wq-peach-mid);
  border-radius: var(--wq-radius-xl);
}
.wq-panel-lilac {
  background: var(--wq-lilac);
  border: 1.5px solid var(--wq-lilac-mid);
  border-radius: var(--wq-radius-xl);
}
.wq-panel-lemon {
  background: var(--wq-lemon);
  border: 1.5px solid var(--wq-lemon-mid);
  border-radius: var(--wq-radius-xl);
}
.wq-panel-coral {
  background: var(--wq-coral);
  border: 1.5px solid var(--wq-coral-mid);
  border-radius: var(--wq-radius-xl);
}

.wq-section-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  border-radius: var(--wq-radius-lg);
  background: linear-gradient(90deg, var(--wq-accent-soft), var(--wq-surface-soft));
  border: 1px solid var(--wq-hairline);
  margin-bottom: 2px;
}
.wq-section-bar .wq-section-label { margin: 0; width: 100%; }
.wq-section-bar--peach { background: linear-gradient(90deg, var(--wq-peach), #FFF9F7); border-color: var(--wq-peach-mid); }
.wq-section-bar--lilac { background: linear-gradient(90deg, var(--wq-lilac), #FAF8FF); border-color: var(--wq-lilac-mid); }
.wq-section-bar--lemon { background: linear-gradient(90deg, var(--wq-lemon), #FFFDF5); border-color: var(--wq-lemon-mid); }
.wq-section-bar--coral { background: linear-gradient(90deg, var(--wq-coral), #FFF7FA); border-color: var(--wq-coral-mid); }

.wq-menu__ico--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); }
.wq-menu__ico--lemon { background: var(--wq-lemon); color: #9A7A20; }
.wq-menu__ico--mint { background: var(--wq-accent-soft); color: var(--wq-accent-deep); }
.wq-menu__ico--peach { background: var(--wq-peach); color: #C45A48; }
.wq-menu__ico--coral { background: var(--wq-coral); color: var(--wq-coral-deep); }

.wq-stat--mint { background: var(--wq-accent-soft); border-color: var(--wq-accent-mid); border-width: 1.5px; }
.wq-stat--peach { background: var(--wq-peach); border-color: var(--wq-peach-mid); border-width: 1.5px; }
.wq-stat--lilac { background: var(--wq-lilac); border-color: var(--wq-lilac-mid); border-width: 1.5px; }
.wq-stat--lemon { background: var(--wq-lemon); border-color: var(--wq-lemon-mid); border-width: 1.5px; }
.wq-stat--coral { background: var(--wq-coral); border-color: var(--wq-coral-mid); border-width: 1.5px; }

.wq-card--mint { background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-accent-soft) 140%); }
.wq-card--peach { background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-peach) 140%); border-color: var(--wq-peach-mid); }
.wq-card--lilac { background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-lilac) 140%); border-color: var(--wq-lilac-mid); }
.wq-card--lemon { background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-lemon) 140%); border-color: var(--wq-lemon-mid); }
.wq-card--coral { background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-coral) 140%); border-color: var(--wq-coral-mid); }

.wq-seg__item.active {
  background: var(--wq-accent);
  color: #fff;
  box-shadow: var(--wq-shadow-accent);
}


/* Segmented control (wishlist tabs) */
.wq-seg {
  margin: 0 var(--wq-page-x) 14px;
  background: var(--wq-accent-soft);
  border-radius: 16px;
  padding: var(--wq-space-1);
  display: flex;
  flex-shrink: 0;
}

.wq-seg__item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  border-radius: 13px;
  font-weight: 600;
}



/* ---------- Tags / badges ---------- */
.wq-tag {
  font-size: var(--wq-fs-xs);
  padding: 5px 10px;
  border-radius: var(--wq-radius-pill);
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
  border: 1px solid var(--wq-accent-mid);
  font-weight: 600;
  white-space: nowrap;
}

.wq-tag--soft {
  background: var(--wq-surface-soft);
  border-color: transparent;
}

.wq-tag--lg {
  font-size: var(--wq-fs-sm);
  padding: 6px 11px;
}

.wq-badge {
  font-size: var(--wq-fs-xs);
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--wq-radius-pill);
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
  display: inline-flex;
  align-items: center;
}

.wq-badge--soft {
  background: var(--wq-surface-soft);
  color: var(--wq-text-secondary);
  font-weight: 600;
}
.wq-badge--mint { background: var(--wq-accent); color: #fff; }
.wq-badge--peach { background: var(--wq-peach); color: #C45A48; }
.wq-badge--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); }
.wq-badge--lemon { background: var(--wq-lemon); color: #9A7A20; }
.wq-badge--coral { background: var(--wq-coral); color: var(--wq-coral-deep); }

.wq-meta {
  display: flex;
  gap: var(--wq-space-2);
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Cards ---------- */
.wq-card {
  display: flex;
  gap: var(--wq-space-3);
  padding: 14px;
  border-radius: var(--wq-radius-xl);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--wq-surface-tint) 160%);
  border: 1.5px solid var(--wq-hairline);
  box-shadow: var(--wq-shadow-md);
}

.wq-card--plain {
  border: none;
}

.wq-card__thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--wq-radius-md);
  flex-shrink: 0;
}

.wq-card__thumb--sm {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

.wq-card__thumb--md {
  width: 84px;
  height: 84px;
}

.wq-card__thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.wq-thumb-a { background-image: url("assets/art/thumb-taikoo-cafe.jpg"); }
.wq-thumb-b { background-image: url("assets/art/thumb-baiyun.jpg"); }
.wq-thumb-c { background-image: url("assets/art/thumb-yongqing.jpg"); }
.wq-thumb-riverside { background-image: url("assets/art/hero-pearl-river.jpg"); }
.wq-thumb-step-a { background-image: url("assets/art/step-pearl-walk.jpg"); }
.wq-thumb-step-b { background-image: url("assets/art/step-river-cafe.jpg"); }

.wq-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.wq-card__title {
  font-size: var(--wq-fs-lg);
  font-weight: 800;
  color: var(--wq-text);
}

.wq-card__title--strong {
  font-weight: 800;
}

.wq-card__sub {
  font-size: var(--wq-fs-sm);
  color: var(--wq-text-secondary);
  line-height: 1.35;
}

.wq-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wq-space-2);
}

/* Hero card */
.wq-hero-card {
  border-radius: var(--wq-radius-3xl);
  overflow: hidden;
  background: var(--wq-surface);
  border: 1.5px solid var(--wq-hairline);
  box-shadow: var(--wq-shadow-lg);
}

.wq-hero-card__img {
  height: 168px;
  background: url("assets/art/hero-pearl-river.jpg") center / cover no-repeat;
  position: relative;
}

.wq-hero-card__img .wq-badge,
.wq-hero-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--wq-accent-deep);
  font-size: var(--wq-fs-sm);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--wq-radius-pill);
  border: 1px solid var(--wq-accent-mid);
  box-shadow: var(--wq-shadow-xs);
}

.wq-hero-card__body {
  padding: 14px var(--wq-space-4) var(--wq-space-4);
}

.wq-hero-card__title {
  font-size: var(--wq-fs-2xl);
  font-weight: 800;
  color: var(--wq-text);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.wq-hero-card__desc {
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  line-height: var(--wq-lh-snug);
  margin-bottom: var(--wq-space-3);
}

/* ---------- Buttons ---------- */
.wq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: default;
  font-family: inherit;
  white-space: nowrap;
  user-select: none;
}

.wq-btn--ghost {
  height: 52px;
  border-radius: var(--wq-radius-lg);
  background: var(--wq-surface);
  color: var(--wq-accent-deep);
  border: 1px solid var(--wq-hairline);
  font-size: var(--wq-fs-lg);
  font-weight: 700;
  padding: 0 var(--wq-space-4);
}

.wq-btn--primary {
  height: 52px;
  border-radius: var(--wq-radius-lg);
  background: var(--wq-accent);
  color: #fff;
  font-size: var(--wq-fs-lg);
  font-weight: 800;
  border: 1.5px solid var(--wq-accent);
  box-shadow: var(--wq-shadow-accent);
  padding: 0 var(--wq-space-4);
}

.wq-btn--soft {
  height: 44px;
  border-radius: var(--wq-radius-md);
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
  border: 1px solid var(--wq-accent);
  font-size: var(--wq-fs-md);
  font-weight: 700;
  padding: 0 14px;
  box-shadow: var(--wq-shadow-accent);
}

.wq-btn--pill {
  font-size: var(--wq-fs-md);
  font-weight: 700;
  color: var(--wq-text-secondary);
  background: var(--wq-surface-soft);
  padding: 8px var(--wq-space-3);
  border-radius: var(--wq-radius-pill);
  height: auto;
  border: none;
}

.wq-btn--want {
  font-size: var(--wq-fs-sm);
  font-weight: 700;
  color: var(--wq-accent-deep);
  background: var(--wq-accent-soft);
  padding: 6px 12px;
  border-radius: var(--wq-radius-pill);
  height: auto;
  border: 1.5px solid var(--wq-accent);
  white-space: nowrap;
  box-shadow: var(--wq-shadow-xs);
}

.wq-btn--action {
  font-size: var(--wq-fs-sm);
  font-weight: 700;
  color: var(--wq-accent-deep);
  background: var(--wq-accent-soft);
  border: 1px solid var(--wq-accent);
  padding: 6px 10px;
  border-radius: var(--wq-radius-pill);
  height: auto;
  margin-left: auto;
}

.wq-btn--block {
  width: 100%;
}

.wq-btn--flex {
  flex: 1;
}

.wq-btn--flex-lg {
  flex: 1.4;
}

.wq-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wq-fs-xl);
  color: var(--wq-text);
  box-shadow: var(--wq-shadow-sm);
  flex-shrink: 0;
}

.wq-icon-btn--tint {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
  box-shadow: none;
}
.wq-icon-btn--peach { background: var(--wq-peach); color: #C45A48; box-shadow: none; }
.wq-icon-btn--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); box-shadow: none; }
.wq-icon-btn--lemon { background: var(--wq-lemon); color: #9A7A20; box-shadow: none; }
.wq-icon-btn--coral { background: var(--wq-coral); color: var(--wq-coral-deep); box-shadow: none; }

/* Bottom action bar */
.wq-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px var(--wq-space-4) 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--wq-surface) 28%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

/* ---------- Tab bar ---------- */
.wq-tabbar {
  position: absolute;
  left: var(--wq-space-4);
  right: var(--wq-space-4);
  bottom: 18px;
  height: var(--wq-tabbar-h);
  background: var(--wq-surface);
  border: 1px solid var(--wq-hairline);
  border-radius: var(--wq-radius-2xl);
  box-shadow: var(--wq-shadow-xl);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--wq-space-2);
  z-index: 8;
}

.wq-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wq-space-1);
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  min-width: 56px;
  flex: 1;
}

.wq-tab.active {
  color: var(--wq-accent-deep);
  font-weight: 700;
}

.wq-tab__icon {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--wq-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  color: var(--wq-text-muted);
}

.wq-tab__icon .wq-ico {
  width: 16px;
  height: 16px;
}

/* Inactive tabs: multi-pastel 撞色 fills (not all mint) */
.wq-tab:nth-child(1) .wq-tab__icon { background: var(--wq-peach); color: #C45A48; }
.wq-tab:nth-child(2) .wq-tab__icon { background: var(--wq-lilac); color: var(--wq-lilac-deep); }
.wq-tab:nth-child(3) .wq-tab__icon { background: var(--wq-coral); color: var(--wq-coral-deep); }
.wq-tab:nth-child(4) .wq-tab__icon { background: var(--wq-lemon); color: #9A7A20; }

/* Active tab only: mint hero */
.wq-tab.active .wq-tab__icon {
  background: var(--wq-accent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(61, 184, 154, 0.36);
  transform: translateY(-1px);
}
/* Active tab: white mono glyph on mint plate (color set used for inactive) */
.wq-tab.active .wq-tab__icon .wq-ico {
  background: none !important;
  background-color: #fff !important;
  -webkit-mask: var(--wq-ico) center / contain no-repeat !important;
  mask: var(--wq-ico) center / contain no-repeat !important;
}

/* Legacy alias for .dot used in older markup */
.wq-tab .dot,
.wq-tabbar .dot {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--wq-surface-soft);
}

.wq-tab.active .dot,
.wq-tabbar .nav.active .dot {
  background: var(--wq-accent);
}

.wq-tabbar .nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wq-space-1);
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  min-width: 56px;
  flex: 1;
}

.wq-tabbar .nav.active {
  color: var(--wq-accent-deep);
  font-weight: 700;
}

/* ---------- Search field ---------- */
.wq-search {
  flex: 1;
  height: 44px;
  border-radius: var(--wq-radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--wq-shadow-sm);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--wq-text-secondary);
  font-size: var(--wq-fs-base);
  border: 1px solid transparent;
  gap: var(--wq-space-2);
}

.wq-search--bordered {
  box-shadow: none;
  border: 1px solid var(--wq-hairline);
  background: var(--wq-surface);
}

/* ---------- Empty state ---------- */
.wq-empty {
  flex: 1;
  padding: var(--wq-space-6) var(--wq-space-6) 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wq-empty__illus {
  width: 160px;
  height: 160px;
  border-radius: 80px;
  background: url("assets/art/empty-wishlist.jpg") center / cover no-repeat,
              var(--wq-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  margin: 28px 0 var(--wq-space-5);
  box-shadow: var(--wq-shadow-lg);
  position: relative;
  overflow: hidden;
}
.wq-empty__illus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wq-empty__illus-badge {
  position: absolute;
  right: 8px;
  bottom: 18px;
  font-size: var(--wq-fs-sm);
  font-weight: 800;
  color: var(--wq-accent-deep);
  background: var(--wq-surface);
  padding: 5px 9px;
  border-radius: var(--wq-radius-pill);
  box-shadow: var(--wq-shadow-sm);
}

.wq-empty__title {
  font-size: var(--wq-fs-3xl);
  font-weight: 800;
  color: var(--wq-text);
  margin-bottom: var(--wq-space-2);
}

.wq-empty__desc {
  font-size: var(--wq-fs-base);
  line-height: var(--wq-lh-normal);
  color: var(--wq-text-secondary);
  margin-bottom: 22px;
  max-width: 280px;
}

.wq-empty__steps {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF, var(--wq-accent-soft));
  border: 1.5px solid var(--wq-hairline);
  border-radius: var(--wq-radius-xl);
  padding: var(--wq-space-4);
  text-align: left;
  box-shadow: var(--wq-shadow-md);
  margin-bottom: 18px;
}

.wq-empty__step {
  display: flex;
  gap: var(--wq-space-3);
  align-items: flex-start;
  padding: var(--wq-space-2) 0;
}

.wq-empty__num {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
  font-size: var(--wq-fs-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wq-empty__step-text {
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  line-height: var(--wq-lh-snug);
  padding-top: 2px;
}

.wq-empty-hint {
  margin-top: var(--wq-space-2);
  text-align: center;
  font-size: var(--wq-fs-sm);
  color: var(--wq-text-muted);
  padding: var(--wq-space-4);
  border: 1.5px dashed var(--wq-hairline);
  border-radius: var(--wq-radius-md);
}

.wq-link {
  font-size: var(--wq-fs-md);
  font-weight: 600;
  color: var(--wq-accent-deep);
}

/* ---------- Timeline ---------- */
.wq-timeline {
  position: relative;
  padding-left: var(--wq-space-2);
}

.wq-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 40px;
  width: 6px;
  border-radius: var(--wq-radius-pill);
  background: linear-gradient(180deg, var(--wq-accent-soft), var(--wq-surface-soft) 50%, var(--wq-accent-pale));
}

.wq-timeline__item {
  position: relative;
  display: flex;
  gap: var(--wq-space-3);
  margin-bottom: var(--wq-space-2);
  align-items: flex-start;
}

.wq-timeline__pin {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--wq-shadow-sm);
  position: relative;
  background: var(--wq-lemon);
  color: #9A7A20;
}

.wq-timeline__pin--soft {
  background: var(--wq-peach);
  color: #C45A48;
}
.wq-timeline__pin--lilac {
  background: var(--wq-lilac);
  color: var(--wq-lilac-deep);
}
.wq-timeline__pin--coral {
  background: var(--wq-coral);
  color: var(--wq-coral-deep);
}
.wq-timeline__pin--mint {
  background: var(--wq-accent);
  color: #fff;
}

.wq-timeline__heart {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--wq-peach-deep);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.wq-timeline__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.wq-timeline__time {
  display: inline-block;
  font-size: var(--wq-fs-sm);
  font-weight: 800;
  color: var(--wq-accent-deep);
  background: var(--wq-accent-soft);
  padding: 4px 10px;
  border-radius: var(--wq-radius-pill);
  margin-bottom: var(--wq-space-2);
}

.wq-timeline__card {
  background: linear-gradient(180deg, #FFFFFF, var(--wq-surface-tint));
  border: 1.5px solid var(--wq-hairline);
  border-radius: var(--wq-radius-xl);
  padding: var(--wq-space-3);
  box-shadow: var(--wq-shadow-md);
}

.wq-timeline__transit {
  margin: 2px 0 10px 56px;
  font-size: var(--wq-fs-sm);
  color: var(--wq-text-secondary);
  background: var(--wq-surface-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--wq-radius-pill);
}

.wq-timeline__add {
  margin-left: 56px;
  border: 1.5px dashed var(--wq-accent-mid);
  border-radius: var(--wq-radius-xl);
  padding: 14px;
  text-align: center;
  color: var(--wq-accent-deep);
  font-size: var(--wq-fs-md);
  font-weight: 700;
  background: var(--wq-surface-soft);
}

.wq-dur {
  margin-left: auto;
  font-size: var(--wq-fs-xs);
  font-weight: 800;
  color: var(--wq-accent-deep);
  background: var(--wq-accent-soft);
  border: 1px solid var(--wq-accent);
  padding: 4px 9px;
  border-radius: var(--wq-radius-pill);
}

/* Date picker chips */
.wq-dates {
  display: flex;
  gap: var(--wq-space-2);
}

.wq-date {
  flex: 1;
  background: var(--wq-surface-soft);
  border: 1px solid var(--wq-hairline);
  border-radius: var(--wq-radius-lg);
  padding: var(--wq-space-3) var(--wq-space-2);
  text-align: center;
  box-shadow: var(--wq-shadow-sm);
}

.wq-date.active {
  border: 1.5px solid var(--wq-accent);
  background: var(--wq-accent);
  box-shadow: var(--wq-shadow-accent);
}
.wq-date.active .wq-date__w,
.wq-date.active .wq-date__d {
  color: #fff;
}

.wq-date__w {
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  margin-bottom: var(--wq-space-1);
}

.wq-date__d {
  font-size: var(--wq-fs-2xl);
  font-weight: 800;
  color: var(--wq-text);
}



/* Meta pills */
.wq-pills {
  display: flex;
  gap: var(--wq-space-2);
}

.wq-pill {
  flex: 1;
  background: var(--wq-surface);
  border: 1px solid var(--wq-hairline);
  border-radius: var(--wq-radius-md);
  padding: var(--wq-space-3);
  box-shadow: var(--wq-shadow-sm);
}

.wq-pill__k {
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  margin-bottom: var(--wq-space-1);
}

.wq-pill__v {
  font-size: var(--wq-fs-md);
  font-weight: 700;
  color: var(--wq-text);
}

.wq-summary {
  background: linear-gradient(160deg, var(--wq-accent-soft), var(--wq-surface-sky));
  border-radius: var(--wq-radius-lg);
  padding: 14px;
  font-size: var(--wq-fs-md);
  color: var(--wq-accent-deep);
  line-height: 1.5;
  font-weight: 600;
  border: 1px solid var(--wq-hairline);
}

/* ---------- Stats ---------- */
.wq-stats {
  display: flex;
  gap: 10px;
}

.wq-stat {
  flex: 1;
  background: var(--wq-surface);
  border: 1px solid var(--wq-hairline);
  border-radius: var(--wq-radius-md);
  padding: var(--wq-space-3) 10px;
  text-align: center;
  box-shadow: var(--wq-shadow-sm);
}

.wq-stat__n {
  font-size: var(--wq-fs-xl);
  font-weight: 800;
  color: var(--wq-accent-deep);
  margin-bottom: 2px;
}

.wq-stat__n--dark {
  font-size: var(--wq-fs-3xl);
  color: var(--wq-text);
}

.wq-stat__l {
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  font-weight: 600;
}

/* ---------- Profile / settings ---------- */
.wq-profile {
  margin: var(--wq-space-2) var(--wq-page-x) var(--wq-space-4);
  padding: var(--wq-space-5) 18px;
  border-radius: var(--wq-radius-3xl);
  background: linear-gradient(160deg, #FFFFFF, var(--wq-accent-soft));
  border: 1.5px solid var(--wq-hairline);
  box-shadow: var(--wq-shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.wq-profile__name {
  font-size: var(--wq-fs-3xl);
  font-weight: 800;
  color: var(--wq-text);
  margin-bottom: var(--wq-space-1);
}

.wq-profile__tag {
  display: inline-block;
  font-size: var(--wq-fs-sm);
  font-weight: 600;
  color: var(--wq-accent-deep);
  background: var(--wq-accent-soft);
  padding: 4px 10px;
  border-radius: var(--wq-radius-pill);
}

.wq-avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--wq-surface);
  border: 2px solid var(--wq-accent-soft);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wq-menu {
  background: var(--wq-surface);
  border: 1.5px solid var(--wq-hairline);
  border-radius: var(--wq-radius-xl);
  overflow: hidden;
  box-shadow: var(--wq-shadow-md);
}

.wq-menu__row {
  display: flex;
  align-items: center;
  gap: var(--wq-space-3);
  padding: 14px var(--wq-space-4);
  border-bottom: 1px solid var(--wq-surface-soft);
}

.wq-menu__row:last-child {
  border-bottom: none;
}

.wq-menu__ico {
  width: 36px;
  height: 36px;
  border-radius: var(--wq-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wq-fs-xl);
  flex-shrink: 0;
  background: var(--wq-accent-soft);
}

.wq-menu__ico--sky { background: var(--wq-surface-sky); color: var(--wq-accent-deep); }
.wq-menu__ico--soft { background: var(--wq-surface-soft); color: var(--wq-text-secondary); }

.wq-menu__txt {
  flex: 1;
  min-width: 0;
}

.wq-menu__t {
  font-size: var(--wq-fs-lg);
  font-weight: 700;
  color: var(--wq-text);
}

.wq-menu__s {
  font-size: var(--wq-fs-xs);
  color: var(--wq-text-muted);
  margin-top: 2px;
}

.wq-menu__chev {
  color: var(--wq-text-muted);
  font-size: 18px;
  font-weight: 300;
}

.wq-tip {
  margin: var(--wq-space-2) var(--wq-page-x) 0;
  padding: 14px var(--wq-space-4);
  border-radius: var(--wq-radius-lg);
  background: var(--wq-surface-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--wq-hairline);
}

.wq-tip__copy {
  font-size: var(--wq-fs-md);
  color: var(--wq-text-secondary);
  line-height: var(--wq-lh-snug);
  font-weight: 600;
}

.wq-tip__copy b {
  color: var(--wq-accent-deep);
}

.wq-section {
  margin: 0 var(--wq-page-x) var(--wq-space-3);
}

/* ---------- Map pin (cute fat) ---------- */
.wq-pin-wrap {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.wq-pin {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  box-shadow:
    0 10px 20px rgba(42, 80, 72, 0.05),
    inset 0 -4px 8px rgba(255, 255, 255, 0.55);
  border: 3px solid #fff;
  background: var(--wq-accent-pale);
}

.wq-pin--soft { background: var(--wq-peach); color: #C45A48; }
.wq-pin--sky { background: var(--wq-lilac); color: var(--wq-lilac-deep); }
.wq-pin--mid { background: var(--wq-lemon); color: #9A7A20; }
.wq-pin--coral { background: var(--wq-coral); color: var(--wq-coral-deep); }
.wq-pin--mint { background: var(--wq-accent-soft); color: var(--wq-accent-deep); }

.wq-pin__cheek {
  position: absolute;
  width: 14px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 181, 166, 0.55);
  top: 22px;
}

.wq-pin__cheek--l { left: 8px; }
.wq-pin__cheek--r { right: 8px; }

.wq-pin__tail {
  width: 14px;
  height: 14px;
  margin-top: -6px;
  border-radius: 3px;
  transform: rotate(45deg);
  border: 3px solid #fff;
  box-shadow: 3px 3px 8px rgba(42, 80, 72, 0.05);
  background: var(--wq-accent-pale);
}

.wq-pin-wrap--soft .wq-pin__tail { background: var(--wq-peach); }
.wq-pin-wrap--sky .wq-pin__tail { background: var(--wq-lilac); }
.wq-pin-wrap--mid .wq-pin__tail { background: var(--wq-lemon); }
.wq-pin-wrap--coral .wq-pin__tail { background: var(--wq-coral); }
.wq-pin-wrap--mint .wq-pin__tail { background: var(--wq-accent-soft); }

.wq-pin-wrap.sel .wq-pin,
.wq-pin-wrap--sel .wq-pin {
  width: 62px;
  height: 62px;
  border-radius: 31px;
  font-size: 26px;
  box-shadow:
    0 0 0 8px rgba(61, 184, 154, 0.24),
    0 12px 24px rgba(61, 184, 154, 0.20),
    inset 0 -4px 8px rgba(255, 255, 255, 0.6);
}

.wq-pin__heart {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 9px 9px 9px 2px;
  background: var(--wq-peach-deep);
  transform: rotate(-20deg);
  border: 2px solid #fff;
  font-size: 9px;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.wq-pin-wrap.sel .wq-pin__heart,
.wq-pin-wrap--sel .wq-pin__heart {
  display: flex;
}

.wq-pin__label {
  margin-top: var(--wq-space-2);
  font-size: var(--wq-fs-xs);
  font-weight: 800;
  color: var(--wq-accent-deep);
  background: var(--wq-surface);
  padding: 4px 10px;
  border-radius: var(--wq-radius-pill);
  box-shadow: var(--wq-shadow-sm);
  white-space: nowrap;
}

.wq-pin-wrap.sel .wq-pin__label,
.wq-pin-wrap--sel .wq-pin__label {
  background: var(--wq-accent-soft);
}

/* Mini map pin (detail) */
.wq-map-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--wq-peach);
  color: #C45A48;
  border: 3px solid #fff;
  box-shadow: var(--wq-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.wq-map-pin::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: var(--wq-accent-soft);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

/* ---------- Sheet ---------- */
.wq-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  background: var(--wq-surface);
  border-radius: var(--wq-radius-4xl) var(--wq-radius-4xl) 0 0;
  padding: 10px var(--wq-space-4) 96px;
  box-shadow: 0 -12px 40px rgba(42, 80, 72, 0.07);
}

.wq-sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--wq-accent-mid);
  margin: 0 auto 14px;
}

.wq-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--wq-space-3);
}

.wq-sheet__title {
  font-size: var(--wq-fs-xl);
  font-weight: 700;
  color: var(--wq-text);
}

.wq-sheet__sub {
  font-size: var(--wq-fs-sm);
  color: var(--wq-text-muted);
}

/* ---------- Detail helpers ---------- */
.wq-detail-hero {
  height: 280px;
  background: url("assets/art/detail-pearl-river.jpg") center / cover no-repeat;
  position: relative;
  flex-shrink: 0;
}

.wq-detail-nav {
  position: absolute;
  top: 52px;
  left: var(--wq-space-4);
  right: var(--wq-space-4);
  display: flex;
  justify-content: space-between;
}

.wq-detail-body {
  margin-top: -28px;
  background: var(--wq-surface);
  border-radius: var(--wq-radius-4xl) var(--wq-radius-4xl) 0 0;
  padding: 22px var(--wq-page-x) 110px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.wq-map-card {
  height: 140px;
  border-radius: var(--wq-radius-xl);
  overflow: hidden;
  position: relative;
  background: url("assets/art/map-preview.jpg") center / cover no-repeat;
  box-shadow: var(--wq-shadow-sm);
  border: 1px solid var(--wq-hairline);
}

.wq-map-cta {
  position: absolute;
  right: var(--wq-space-3);
  bottom: var(--wq-space-3);
  background: rgba(255, 255, 255, 0.96);
  color: var(--wq-accent-deep);
  font-size: var(--wq-fs-sm);
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--wq-radius-pill);
  box-shadow: var(--wq-shadow-sm);
  border: 1px solid var(--wq-hairline);
}

.wq-tip-box {
  background: var(--wq-surface-soft);
  border-radius: var(--wq-radius-md);
  padding: 14px;
  font-size: var(--wq-fs-md);
  line-height: 1.5;
  color: var(--wq-text-secondary);
  border: 1px solid var(--wq-hairline);
}

.wq-prose {
  font-size: var(--wq-fs-base);
  line-height: var(--wq-lh-normal);
  color: var(--wq-text-secondary);
}

.wq-place {
  font-size: var(--wq-fs-md);
  color: var(--wq-text-muted);
  margin-bottom: var(--wq-space-4);
}

.wq-block {
  margin-bottom: 18px;
}

/* ---------- Utility ---------- */
.wq-flex { display: flex; }
.wq-flex-col { display: flex; flex-direction: column; }
.wq-items-center { align-items: center; }
.wq-justify-between { justify-content: space-between; }
.wq-gap-2 { gap: var(--wq-space-2); }
.wq-gap-3 { gap: var(--wq-space-3); }
.wq-mt-2 { margin-top: var(--wq-space-2); }
.wq-mb-2 { margin-bottom: var(--wq-space-2); }
.wq-mb-3 { margin-bottom: var(--wq-space-3); }
.wq-mb-4 { margin-bottom: var(--wq-space-4); }
.wq-w-full { width: 100%; }
.wq-ml-auto { margin-left: auto; }
.wq-text-muted { color: var(--wq-text-muted); }
.wq-text-sec { color: var(--wq-text-secondary); }
.wq-text-accent { color: var(--wq-accent-deep); }

.wq-menu__ico .wq-ico {
  width: 18px;
  height: 18px;
}
.wq-menu__ico {
  font-size: 0;
  /* default mint; variants (--peach/--lilac/--lemon/--coral) set their own color */
  color: var(--wq-accent-deep);
}
.wq-menu__ico--peach { color: #C45A48; }
.wq-menu__ico--lilac { color: var(--wq-lilac-deep); }
.wq-menu__ico--lemon { color: #9A7A20; }
.wq-menu__ico--coral { color: var(--wq-coral-deep); }
.wq-menu__ico--mint { color: var(--wq-accent-deep); }
.wq-menu__ico--soft { color: var(--wq-text-secondary); }
.wq-avatar-badge .wq-ico {
  width: 12px;
  height: 12px;
}
.wq-tip__emoji {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--wq-lemon);
  color: #9A7A20;
  flex-shrink: 0;
}
.wq-tip__emoji .wq-ico {
  width: 20px;
  height: 20px;
}
.wq-icon-btn .wq-ico {
  width: 18px;
  height: 18px;
}
.wq-search .wq-ico {
  width: 18px;
  height: 18px;
  color: var(--wq-text-muted);
}
.wq-pin .wq-ico,
.wq-timeline__pin .wq-ico,
.wq-map-pin .wq-ico {
  width: 18px;
  height: 18px;
}
.wq-city .wq-ico {
  width: 14px;
  height: 14px;
  color: var(--wq-accent-deep);
}
.wq-menu__chev .wq-ico {
  width: 14px;
  height: 14px;
  color: var(--wq-text-muted);
}


/* ---------- Icon system ----------
   Mono (mask + currentColor): assets/icons/*.svg
   Color 撞色 set (filled/outlined pastel): assets/icons/color/*.svg
   Default UI uses COLOR set. Add .wq-ico--mono to force tintable mask.
   ------------------------------------------------------------- */
.wq-ico {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  background: var(--wq-ico-color, var(--wq-ico)) center / contain no-repeat;
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
}
.wq-ico--sm { width: 16px; height: 16px; }
.wq-ico--md { width: 20px; height: 20px; }
.wq-ico--lg { width: 28px; height: 28px; }
.wq-ico--xl { width: 36px; height: 36px; }

/* Mono / tintable override (CSS mask) */
.wq-ico--mono {
  background: none;
  background-color: currentColor;
  -webkit-mask: var(--wq-ico) center / contain no-repeat;
  mask: var(--wq-ico) center / contain no-repeat;
}

.wq-ico--home { --wq-ico: url("assets/icons/home.svg"); --wq-ico-color: url("assets/icons/color/home.svg"); }
.wq-ico--home-filled { --wq-ico: url("assets/icons/home-filled.svg"); --wq-ico-color: url("assets/icons/color/home-filled.svg"); }
.wq-ico--map { --wq-ico: url("assets/icons/map.svg"); --wq-ico-color: url("assets/icons/color/map.svg"); }
.wq-ico--map-filled { --wq-ico: url("assets/icons/map-filled.svg"); --wq-ico-color: url("assets/icons/color/map-filled.svg"); }
.wq-ico--heart { --wq-ico: url("assets/icons/heart.svg"); --wq-ico-color: url("assets/icons/color/heart.svg"); }
.wq-ico--heart-filled { --wq-ico: url("assets/icons/heart-filled.svg"); --wq-ico-color: url("assets/icons/color/heart-filled.svg"); }
.wq-ico--me { --wq-ico: url("assets/icons/me.svg"); --wq-ico-color: url("assets/icons/color/me.svg"); }
.wq-ico--me-filled { --wq-ico: url("assets/icons/me-filled.svg"); --wq-ico-color: url("assets/icons/color/me-filled.svg"); }
.wq-ico--search { --wq-ico: url("assets/icons/search.svg"); --wq-ico-color: url("assets/icons/color/search.svg"); }
.wq-ico--back { --wq-ico: url("assets/icons/back.svg"); --wq-ico-color: url("assets/icons/color/back.svg"); }
.wq-ico--add { --wq-ico: url("assets/icons/add.svg"); --wq-ico-color: url("assets/icons/color/add.svg"); }
.wq-ico--list { --wq-ico: url("assets/icons/list.svg"); --wq-ico-color: url("assets/icons/color/list.svg"); }
.wq-ico--filter { --wq-ico: url("assets/icons/filter.svg"); --wq-ico-color: url("assets/icons/color/filter.svg"); }
.wq-ico--pin { --wq-ico: url("assets/icons/pin.svg"); --wq-ico-color: url("assets/icons/color/pin.svg"); }
.wq-ico--pin-filled { --wq-ico: url("assets/icons/pin-filled.svg"); --wq-ico-color: url("assets/icons/color/pin-filled.svg"); }
.wq-ico--share { --wq-ico: url("assets/icons/share.svg"); --wq-ico-color: url("assets/icons/color/share.svg"); }
.wq-ico--more { --wq-ico: url("assets/icons/more.svg"); --wq-ico-color: url("assets/icons/color/more.svg"); }
.wq-ico--edit { --wq-ico: url("assets/icons/edit.svg"); --wq-ico-color: url("assets/icons/color/edit.svg"); }
.wq-ico--calendar { --wq-ico: url("assets/icons/calendar.svg"); --wq-ico-color: url("assets/icons/color/calendar.svg"); }
.wq-ico--bell { --wq-ico: url("assets/icons/bell.svg"); --wq-ico-color: url("assets/icons/color/bell.svg"); }
.wq-ico--settings { --wq-ico: url("assets/icons/settings.svg"); --wq-ico-color: url("assets/icons/color/settings.svg"); }
.wq-ico--sparkle { --wq-ico: url("assets/icons/sparkle.svg"); --wq-ico-color: url("assets/icons/color/sparkle.svg"); }
.wq-ico--footprints { --wq-ico: url("assets/icons/footprints.svg"); --wq-ico-color: url("assets/icons/color/footprints.svg"); }
.wq-ico--chevron { --wq-ico: url("assets/icons/chevron.svg"); --wq-ico-color: url("assets/icons/color/chevron.svg"); }
.wq-ico--sun { --wq-ico: url("assets/icons/sun.svg"); --wq-ico-color: url("assets/icons/color/sun.svg"); }
.wq-ico--cafe { --wq-ico: url("assets/icons/cafe.svg"); --wq-ico-color: url("assets/icons/color/cafe.svg"); }
.wq-ico--hike { --wq-ico: url("assets/icons/hike.svg"); --wq-ico-color: url("assets/icons/color/hike.svg"); }
.wq-ico--exhibit { --wq-ico: url("assets/icons/exhibit.svg"); --wq-ico-color: url("assets/icons/color/exhibit.svg"); }
.wq-ico--food { --wq-ico: url("assets/icons/food.svg"); --wq-ico-color: url("assets/icons/color/food.svg"); }
.wq-ico--bike { --wq-ico: url("assets/icons/bike.svg"); --wq-ico-color: url("assets/icons/color/bike.svg"); }
.wq-ico--riverside { --wq-ico: url("assets/icons/riverside.svg"); --wq-ico-color: url("assets/icons/color/riverside.svg"); }
.wq-ico--coffee-cup { --wq-ico: url("assets/icons/coffee-cup.svg"); --wq-ico-color: url("assets/icons/color/coffee-cup.svg"); }
.wq-ico--weekend-bag { --wq-ico: url("assets/icons/weekend-bag.svg"); --wq-ico-color: url("assets/icons/color/weekend-bag.svg"); }

/* Tint helpers only apply to .wq-ico--mono */
.wq-ico--white { color: #fff; }
.wq-ico--accent { color: var(--wq-accent-deep); }
.wq-ico--mint { color: var(--wq-accent-deep); }
.wq-ico--muted { color: var(--wq-text-muted); }
.wq-ico--peach { color: var(--wq-peach-deep); }
.wq-ico--lilac { color: var(--wq-lilac-deep); }
.wq-ico--lemon { color: var(--wq-lemon-deep); }
.wq-ico--coral { color: var(--wq-coral-deep); }

/* Icon tiles — pastel plate behind mono OR soft plate behind color */
.wq-ico-tile {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--wq-accent-soft);
  color: var(--wq-accent-deep);
}
.wq-ico-tile .wq-ico { width: 18px; height: 18px; }
.wq-ico-tile--sm { width: 30px; height: 30px; border-radius: 10px; }
.wq-ico-tile--sm .wq-ico { width: 15px; height: 15px; }
.wq-ico-tile--mint { background: var(--wq-accent-soft); color: var(--wq-accent-deep); }
.wq-ico-tile--peach { background: var(--wq-peach); color: #C45A48; }
.wq-ico-tile--lilac { background: var(--wq-lilac); color: var(--wq-lilac-deep); }
.wq-ico-tile--lemon { background: var(--wq-lemon); color: #9A7A20; }
.wq-ico-tile--coral { background: var(--wq-coral); color: var(--wq-coral-deep); }
.wq-ico-tile--solid {
  background: var(--wq-accent);
  color: #fff;
  box-shadow: var(--wq-shadow-accent);
}
.wq-ico-tile--solid .wq-ico { /* keep color art visible on mint plate */ }

.wq-pin__heart {
  font-size: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wq-pin__heart .wq-ico {
  width: 10px;
  height: 10px;
}
.wq-timeline__heart {
  font-size: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wq-timeline__heart .wq-ico {
  width: 10px;
  height: 10px;
}
.wq-pin {
  font-size: 0;
  color: var(--wq-accent-deep);
}
.wq-timeline__pin {
  font-size: 0;
  color: var(--wq-accent-deep);
}
.wq-map-pin {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wq-accent-deep);
}
.wq-timeline__transit .wq-ico {
  vertical-align: -3px;
}
.wq-summary .wq-ico {
  vertical-align: -3px;
  color: var(--wq-accent-deep);
}
.wq-btn .wq-ico {
  width: 14px;
  height: 14px;
}

/* Soft page wash (optional) */
.wq-phone--wash {
  background-image: var(--wq-art-soft);
  background-size: cover;
  background-position: center top;
}
.wq-phone--wash > *:not(.wq-status) {
  /* content sits on wash; cards remain white via their own bg */
}

/* Explicit img fill so art always visible even without background-image */
.wq-hero-card__img > img,
.wq-detail-hero > img.wq-detail-hero__img,
.wq-card__thumb > img,
.wq-avatar > img,
.wq-empty__art > img,
.wq-map-card > img.wq-map-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.wq-hero-card__img { padding: 0; overflow: hidden; }
.wq-hero-card__img > img { position: absolute; inset: 0; border-radius: 0; }
.wq-hero-card__badge { z-index: 2; }
.wq-thumb-d { background-image: url("assets/art/thumb-shamian.jpg"); }
.wq-thumb-e { background-image: url("assets/art/thumb-museum.jpg"); }
.wq-thumb-f { background-image: url("assets/art/thumb-beijing-road.jpg"); }
.wq-thumb-g { background-image: url("assets/art/thumb-chimelong.jpg"); }
.wq-detail-hero { position: relative; overflow: hidden; }
.wq-detail-hero > img.wq-detail-hero__img { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.wq-detail-hero > .wq-status,
.wq-detail-hero > .wq-detail-nav { position: relative; z-index: 2; }

/* ---- Detail: scroll-up cover ----
   单列滚动容器 + sticky 大图：向下滚动时详情面板自然上滑，
   依靠自身背景与更高层级盖住插画大图（纯 CSS，无需滚动监听）。 */
.wq-phone--detail {
  height: min(var(--wq-phone-h), calc(100dvh - 64px));
  min-height: 0;
}
.wq-detail-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
.wq-detail-top .wq-icon-btn,
.wq-detail-top button,
.wq-detail-top .wq-badge { pointer-events: auto; }
.wq-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wq-detail-scroll::-webkit-scrollbar { display: none; }
.wq-detail-scroll > .wq-detail-hero {
  position: sticky;
  top: 0;
  z-index: 1;
  flex-shrink: 0;
  overflow: hidden;
}
.wq-detail-scroll > .wq-detail-body {
  position: relative;
  z-index: 2;
  flex: none;
  min-height: 0;
  overflow-x: visible;
  overflow-y: visible;
  overscroll-behavior: visible;
  margin-top: -28px;
  background: var(--wq-surface);
  border-radius: var(--wq-radius-4xl) var(--wq-radius-4xl) 0 0;
  box-shadow: 0 -8px 24px rgba(42, 52, 50, 0.08);
}
