/*
 * Paibei iOS spatial system — selected Product Design direction: 雾银空间.
 * Neutral silver-white materials, graphite actions and a restrained type scale.
 * This file loads after the legacy bundle so feature hooks and data behavior stay intact.
 */

:root {
  color-scheme: light;
  --pb-bg: #f5f5f7;
  --pb-bg-deep: #ececf0;
  --pb-surface: #ffffff;
  --pb-surface-muted: #f2f2f4;
  --pb-surface-strong: #e4e5e9;
  --pb-ink: #1d1d1f;
  --pb-ink-soft: #343438;
  --pb-muted: #6e6e73;
  --pb-muted-strong: #54545a;
  --pb-line: rgba(60, 60, 67, .13);
  --pb-line-strong: rgba(60, 60, 67, .24);
  --pb-brand: #26272b;
  --pb-brand-strong: #111216;
  --pb-brand-mid: #4b4c52;
  --pb-brand-soft: #ececf0;
  --pb-accent: #3a3b40;
  --pb-accent-soft: #f0f0f3;
  --pb-success: #2f6e4f;
  --pb-warning: #8a5a18;
  --pb-danger: #a23b3b;
  --pb-info: #4b6178;
  --pb-radius-sm: 10px;
  --pb-radius-md: 16px;
  --pb-radius-lg: 22px;
  --pb-radius-pill: 999px;
  --pb-space-1: 4px;
  --pb-space-2: 8px;
  --pb-space-3: 12px;
  --pb-space-4: 16px;
  --pb-space-5: 24px;
  --pb-space-6: 32px;
  --pb-shadow-float: 0 10px 30px rgba(28, 28, 30, .10);
  --pb-shadow-modal: 0 20px 60px rgba(28, 28, 30, .18);
  --pb-ease: cubic-bezier(.22, 1, .36, 1);
  --pb-content-max: 820px;
  --pb-font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --pb-text-display-size: 1.375rem;
  --pb-text-title-size: 1.125rem;
  --pb-text-body-size: .9375rem;
  --pb-text-meta-size: .8125rem;
  --pb-text-title-line: 1.28;
  --pb-text-body-line: 1.48;
  --pb-text-title-weight: 680;
  --pb-text-body-weight: 400;
  --pb-text-label-weight: 600;
  --pb-measure-prose: 68ch;
  --pb-gradient-page: linear-gradient(180deg, #ffffff 0%, #f7f7f9 48%, #f1f1f4 100%);
  --pb-gradient-surface: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,247,249,.96) 100%);
  --pb-gradient-control: linear-gradient(180deg, #ffffff 0%, #f2f3f6 48%, #d9dce3 100%);
  --pb-control-ink: #23242a;
  --pb-control-border: rgba(60, 60, 67, .14);
  --pb-control-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 26px rgba(92,96,110,.18);
  --pb-gradient-selected: linear-gradient(180deg, #f7f7f9 0%, #e9e9ed 100%);

  /* Remap the original app variables to one system. */
  --orange: var(--pb-brand);
  --orange2: var(--pb-brand-mid);
  --teal: var(--pb-brand-mid);
  --ink: var(--pb-ink);
  --muted: var(--pb-muted);
  --line: var(--pb-line);
  --paper: var(--pb-surface);
  --glass: rgba(255, 255, 255, .82);
  --glass-strong: rgba(255, 255, 255, .94);
  --hairline: rgba(60, 60, 67, .13);
  --shadow-soft: var(--pb-shadow-float);
  --shadow-card: none;
  --focus-bg: var(--pb-bg);
  --focus-surface: var(--pb-surface);
  --focus-ink: var(--pb-ink);
  --focus-muted: var(--pb-muted);
  --focus-line: var(--pb-line);
  --focus-serif: var(--pb-font-ui);
  --page-pad: clamp(14px, 3.8vw, 20px);
}

html {
  background: var(--pb-gradient-page);
  font-family: var(--pb-font-ui);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body,
body.merchant-theme,
body:not(.merchant-theme) {
  --orange: var(--pb-brand);
  --orange2: var(--pb-brand-mid);
  --teal: var(--pb-brand-mid);
  background: var(--pb-gradient-page) fixed;
  color: var(--pb-ink);
  font-family: var(--pb-font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.merchant-theme .hero,
body:not(.merchant-theme) .hero,
.hero {
  background: transparent;
}

.app,
body:not(.merchant-theme) .app,
body:not(.merchant-theme) .screen,
body:not(.merchant-theme) .page,
body:not(.merchant-theme) main,
.page,
.paibei-ai-page {
  background: var(--pb-gradient-page);
  color: var(--pb-ink);
}

.simple-page .page-body,
.weather-page-body,
.social-assistant-page .page-body {
  background: transparent;
  color: var(--pb-ink);
}

::selection {
  color: #fff;
  background: #34353a;
}

:focus-visible {
  outline: 3px solid rgba(0, 122, 255, .28);
  outline-offset: 2px;
}

button,
input,
select,
textarea {
  font-family: var(--pb-font-ui);
}

button {
  transition: background-color .18s var(--pb-ease), color .18s var(--pb-ease), border-color .18s var(--pb-ease), transform .18s var(--pb-ease), opacity .18s var(--pb-ease);
}

button:active:not(:disabled) {
  transform: translateY(1px) scale(.985);
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: .48;
}

/* Typography */
.page-title h1,
.page-head h1,
.page-head h2,
.section-title,
.focus-section-title,
.home-nearby-head h2,
.home-inspiration-title,
.quick-card h2,
.panel h2,
.order-card h2,
.detail-section h2,
.free-card h2,
.social-panel h3,
.weather-section-head h2,
.merchant-panel-head h2,
.settings-section-title {
  color: var(--pb-ink);
  font-family: var(--pb-font-ui);
  font-weight: 760;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.page-title h1,
.page-head h1 {
  font-size: 20px;
  line-height: 1.25;
}

.page-title p,
.page-head p,
.quick-card p,
.panel p,
.order-card p,
.detail-section p,
.free-card p,
.option-card span,
.settings-row span,
.merchant-panel p,
.weather-panel p,
.social-panel > p {
  color: var(--pb-muted);
  line-height: 1.6;
}

.page-title p {
  font-size: 13px;
  font-weight: 600;
}

.focus-section-title > small,
.focus-map-head small,
.home-nearby-head small {
  display: none;
}

.focus-section-title,
.home-nearby-head h2,
.home-inspiration-title {
  font-size: 18px;
}

.focus-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.focus-section-title .more {
  float: none;
  margin: 0 0 0 auto;
}

/* App shell and navigation */
.home-view-switch {
  border-color: var(--pb-line);
  background: rgba(255, 255, 255, .80);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

body.overlay-page-open .home-view-switch {
  display: none !important;
}

.home-view-switch button {
  min-height: 40px;
  color: var(--pb-muted-strong);
  background: transparent;
}

.home-view-switch button.active {
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
}

.bottom-nav,
body:not(.merchant-theme) .bottom-nav,
body.merchant-theme .bottom-nav {
  border-top: 1px solid var(--pb-line);
  background: rgba(247, 247, 249, .88);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, .07);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.nav-item {
  min-width: 44px;
  min-height: 44px;
  color: var(--pb-muted);
  font-weight: 650;
}

.nav-item span:first-child {
  font-size: 19px;
}

.nav-item.active,
.nav-item[aria-current="page"] {
  color: var(--pb-ink);
}

.nav-item.active::before {
  top: -6px;
  height: 2px;
  background: var(--pb-ink);
}

.ai-nav-item {
  color: var(--pb-ink);
}

.ai-nav-item > span:last-child {
  font-weight: 760;
}

/* Page headers */
.page-head,
body.merchant-theme .page-head {
  min-height: 62px;
  gap: 10px;
  padding: max(10px, env(safe-area-inset-top)) var(--page-pad) 10px;
  border-bottom: 1px solid var(--pb-line);
  background: rgba(247, 247, 249, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(1.10);
  -webkit-backdrop-filter: blur(18px) saturate(1.10);
}

.page-head .back-btn,
.back-btn,
#demandPage .back-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--pb-line);
  border-radius: 50%;
  color: var(--pb-ink);
  background: var(--pb-surface);
  box-shadow: none;
  font-size: 21px;
}

.page-body,
.page.tab-screen .page-body {
  padding: var(--pb-space-4) var(--page-pad) calc(var(--nav-height) + var(--nav-safe-bottom) + 48px);
}

/* Shared surfaces: border OR shadow, never both. */
.quick-card,
.panel,
.order-card,
.menu-list,
.option-card,
.settings-card,
.apply-card,
.chat-profile-card,
.rating-panel,
.after-card,
.pick-confirm-card,
.merchant-panel,
.merchant-product-card,
.merchant-number-card,
.ai-quota-card,
.ai-mode-card,
.ai-result-card,
.ai-tool-result,
.ai-plan-section,
.weather-panel,
.ai-reference-detail-card,
.social-panel,
.sku-card,
.credit-score-card,
.credit-overview-card,
.role-wallet-card,
.account-card,
.order-form,
.free-card,
.detail-section {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  color: var(--pb-ink);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.quick-card,
.panel,
.order-card,
.settings-card,
.merchant-panel,
.social-panel,
.weather-panel,
.ai-plan-section,
.detail-section,
.free-card {
  padding: var(--pb-space-4);
}

.panel,
.merchant-panel,
.order-card,
.quick-card {
  margin-top: var(--pb-space-3);
}

.menu-row,
.settings-row,
.timeline-row,
.order-line,
.order-detail-line,
.ai-plan-item {
  border-color: var(--pb-line);
}

.menu-row {
  min-height: 54px;
  color: var(--pb-ink);
  background: transparent;
}

.menu-ico {
  color: var(--pb-brand);
  background: var(--pb-brand-soft);
}

.flow-card,
.social-top-card,
.weather-current-hero,
.ai-plan-hero,
.pay-hero,
.credit-overview-card,
.user-profile-card,
.member-card,
.photographer-profile-card,
body.merchant-theme .member-card,
body.merchant-theme .photographer-profile-card,
body.merchant-theme .user-profile-card .member-card {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .07);
}

.flow-card h2,
.flow-card p,
.social-top-card h2,
.social-top-card p,
.weather-current-hero h2,
.ai-plan-hero h2,
.credit-overview-card h2,
.credit-overview-card p,
.member-card h2,
.member-card p,
.photographer-profile-card h2,
.photographer-profile-card p {
  color: inherit;
}

/* Buttons */
.primary,
.main-cta,
.settings-save-btn,
.inspiration-book,
.merchant-number-save,
.merchant-price-btn,
.chat-send,
.social-primary,
.ai-plan-actions .primary,
body:not(.merchant-theme) .primary,
body.merchant-theme .primary {
  min-height: 44px;
  border: 1px solid #6f727a;
  border-radius: var(--pb-radius-md);
  color: #fff;
  background: var(--pb-gradient-control);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
  font-weight: 760;
}

.primary:hover,
.main-cta:hover,
.settings-save-btn:hover {
  border-color: #555860;
  background: linear-gradient(180deg, #9fa2aa 0%, #666a73 100%);
}

.soft-btn,
.outline-btn,
.mini-action,
.contact,
.same-btn,
.merchant-mini-btn,
.shop-search-action,
.map-demand-action,
.ai-card-actions button,
.ai-quick-prompts button,
.ai-message-actions button,
.ai-assistant-toolbar button,
.ai-plan-actions button,
.sheet-close,
body:not(.merchant-theme) .soft-btn,
body:not(.merchant-theme) .mini-action,
body.merchant-theme .merchant-mini-btn,
body.merchant-theme .merchant-mini-btn.orange {
  min-height: 40px;
  border: 1px solid var(--pb-line-strong);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink-soft);
  background: var(--pb-surface);
  box-shadow: none;
  font-weight: 700;
}

.soft-btn,
.mini-action,
.merchant-mini-btn,
.shop-search-action,
.map-demand-action {
  border-color: transparent;
  background: var(--pb-gradient-selected);
}

.seg button,
.shop-tabs button,
.shop-filter button,
.sku-options button,
.photographer-status-btn,
.order-tabs button,
.global-search-chip,
.register-chip,
.settings-chip {
  min-height: 40px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-muted-strong);
  background: var(--pb-surface);
  box-shadow: none;
}

.seg button.active,
.shop-tabs button.active,
.shop-filter button.active,
.sku-options button.active,
.photographer-status-btn.active,
.order-tabs button.active,
.global-search-chip.active,
.register-chip.active,
.settings-chip.active,
body:not(.merchant-theme) .seg button.active {
  border-color: var(--pb-line-strong);
  color: #fff;
  background: var(--pb-gradient-selected);
}

/* Forms */
.field,
.form-row input,
.form-row select,
.form-row textarea,
.order-form input,
.order-form select,
.order-form textarea,
.settings-row input,
.settings-row select,
.settings-row textarea,
.merchant-number-card input,
.shop-search-box,
.global-search-box,
.ai-composer textarea,
.chat-bottom-panel input,
.chat-bottom-panel textarea,
.social-panel input,
.social-panel textarea,
.social-panel select {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.field {
  min-height: 58px;
  padding: 12px 14px;
  font-size: 14px;
}

.field label,
.form-row label,
.order-form label,
.settings-row label {
  color: var(--pb-ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.form-row input,
.form-row select,
.form-row textarea,
.order-form input,
.order-form select,
.order-form textarea,
.settings-row input,
.settings-row select,
.settings-row textarea,
.social-panel input,
.social-panel textarea,
.social-panel select {
  min-height: 44px;
  color: var(--pb-ink);
}

.field input,
.field select,
.field textarea {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

input::placeholder,
textarea::placeholder {
  color: var(--pb-muted);
  opacity: 1;
}

.submit-bar,
.clothes-bottom-bar,
.social-actions,
.chat-bottom-panel,
.ai-composer {
  border-top: 1px solid var(--pb-line);
  background: rgba(247, 247, 249, .90);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, .07);
  backdrop-filter: blur(18px) saturate(1.10);
  -webkit-backdrop-filter: blur(18px) saturate(1.10);
}

#orderPage .submit-bar {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
}

/* Home */
.hero.focus-home,
.content.focus-content {
  background: var(--pb-bg);
}

.hero.focus-home .top,
.hero.focus-home .service-row,
.focus-map-head,
.hero.focus-home .actions-card,
.hero.focus-home .map,
.content.focus-content,
.home-inspiration-view,
.home-map-view {
  max-width: var(--pb-content-max);
  margin-right: auto;
  margin-left: auto;
}

.home-search-trigger {
  min-height: 46px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-muted-strong);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

.home-search-trigger i,
.location-pill small,
.location-pill span {
  color: var(--pb-muted-strong);
}

.service-row {
  gap: 8px;
}

.service-btn,
.service-btn:not(.active),
body:not(.merchant-theme) .focus-service-card {
  min-height: 52px;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink-soft);
  background: var(--pb-gradient-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  backdrop-filter: none;
}

.service-btn.active,
body:not(.merchant-theme) .service-btn.active {
  border-color: var(--pb-line-strong);
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.service-btn span,
.service-btn .service-copy {
  font-weight: var(--pb-text-label-weight);
}

.service-btn .service-copy > span {
  color: var(--pb-muted);
}

.focus-map-head {
  align-items: end;
}

.focus-map-head h2 {
  margin: 0;
  color: var(--pb-ink);
  font-size: 18px;
}

.actions-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-cta {
  width: 100%;
}

.map,
body:not(.merchant-theme) .map-stage,
body:not(.merchant-theme) .map-wrap,
body:not(.merchant-theme) .map-card,
body:not(.merchant-theme) .focus-map,
body:not(.merchant-theme) .mini-map {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  background-color: var(--pb-surface-strong);
  box-shadow: none;
}

.map-mode-btn {
  min-height: 40px;
  border: 1px solid var(--pb-line);
  color: var(--pb-muted-strong);
  background: rgba(255, 255, 255, .90);
  box-shadow: none;
}

.map-mode-btn.active {
  border-color: var(--pb-line-strong);
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
  box-shadow: none;
}

.map-photographer-card,
.map-info-card,
.spot-detail-card {
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: var(--pb-radius-md);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--pb-shadow-float);
}

.map-card-price,
.price-mini,
.rating b,
.focus-talent-name span,
.quote,
.applicant-quote {
  color: var(--pb-ink-soft);
}

.home-weather-card {
  width: clamp(150px, 40%, 174px);
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink);
  background: rgba(231, 232, 236, .90);
  box-shadow: var(--pb-shadow-float);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.home-weather-head span,
.home-weather-score b {
  font-size: 10px;
}

.home-weather-head small,
.weather-source-row {
  color: var(--pb-muted);
}

.home-weather-temp span {
  font-size: 9px;
}

.home-weather-temp b {
  font-size: 19px;
}

.focus-talent-card,
.content.focus-content .person {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.focus-talent-name,
.pname {
  color: var(--pb-ink);
  font-family: var(--pb-font-ui);
  white-space: nowrap;
}

.focus-talent-meta,
.rating,
.profile-type-line {
  color: var(--pb-muted);
}

.focus-talent-price {
  color: var(--pb-muted);
}

.focus-talent-name span,
.focus-talent-identity,
.focus-talent-identity b,
.profile-type-line,
.profile-type-line b {
  color: var(--pb-muted-strong) !important;
}

.medal,
.profile-type-badge,
.status-pill,
.work-source-label,
.demand-type,
.job-accept {
  border-color: transparent;
  color: var(--pb-ink-soft);
  background: var(--pb-gradient-selected);
}

.content.focus-content .place {
  border-radius: var(--pb-radius-md);
  box-shadow: none;
}

.content.focus-content .place-text b {
  font-family: var(--pb-font-ui);
}

.home-nearby-gallery {
  border-top-color: var(--pb-line);
}

.home-nearby-head button,
.focus-section-title .more,
.focus-section-more {
  min-height: 40px;
  color: var(--pb-ink-soft);
}

/* Detail pages */
.detail-page,
.spot-page {
  background: var(--pb-bg);
}

.detail-rating strong,
.stat strong,
.package strong,
.credit-stat strong {
  color: var(--pb-ink);
}

.stat-row,
.package-list {
  gap: 10px;
}

.stat,
.package {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.work-grid img,
.spot-gallery img,
.portfolio-grid img {
  border-radius: var(--pb-radius-md);
  background: var(--pb-surface-muted);
}

/* Weather */
.weather-current-hero {
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
}

.weather-current-top button,
.weather-section-head button {
  min-height: 40px;
  border: 1px solid var(--pb-line-strong);
  color: var(--pb-ink);
  background: rgba(255, 255, 255, .68);
}

.weather-panel,
.hourly-weather-item,
.daily-weather-item,
.weather-metric {
  border-color: var(--pb-line);
}

.hourly-weather-item,
.daily-weather-item {
  color: var(--pb-ink);
  background: var(--pb-gradient-surface);
}

.hourly-weather-item.best,
.daily-weather-item.best {
  border-color: var(--pb-line-strong);
  background: var(--pb-gradient-selected);
}

.weather-section-head span,
.weather-advice-row p,
.hourly-weather-item span,
.daily-weather-item span {
  color: var(--pb-muted);
}

/* AI surfaces: the animated orb remains the single colorful brand exception. */
.paibei-ai-page,
.paibei-ai-page .page-body {
  background: var(--pb-bg);
}

.ai-siri-hero {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg);
  color: var(--pb-ink);
  background: var(--pb-gradient-surface);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .07);
}

.ai-siri-hero::before {
  opacity: .08;
}

.ai-provider-live {
  color: var(--pb-muted) !important;
}

.ai-demo-notice {
  border: 1px solid var(--pb-line) !important;
  color: var(--pb-muted-strong) !important;
  background: var(--pb-gradient-surface) !important;
}

.ai-role-tool,
.ai-message.assistant,
.ai-tool-result,
.ai-result-card,
.ai-plan-section {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink-soft);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.ai-role-tool {
  min-height: 70px;
}

.ai-message {
  line-height: var(--pb-text-body-line);
}

.ai-message.user {
  color: #fff;
  background: var(--pb-brand-strong);
}

.ai-message.assistant {
  color: var(--pb-ink);
}

.ai-result-card small {
  color: var(--pb-muted-strong);
  letter-spacing: 0;
}

.ai-result-card p,
.ai-plan-section p,
.ai-plan-section li {
  color: var(--pb-muted);
}

.ai-result-card strong {
  color: var(--pb-ink);
}

.ai-composer textarea {
  min-height: 44px;
}

.ai-composer button {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink);
  background: var(--pb-gradient-control);
}

.ai-composer .ai-voice-button {
  color: var(--pb-ink-soft);
  background: var(--pb-gradient-selected);
}

.ai-assistant-dock {
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--pb-radius-lg);
  color: var(--pb-ink);
  background: oklch(95.5% 0.025 350 / .96);
  box-shadow: var(--pb-shadow-modal);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.ai-assistant-dock .ai-dock-status,
.ai-assistant-dock .ai-dock-transcript,
.ai-assistant-dock .ai-dock-card-copy span {
  color: var(--pb-muted) !important;
}

.ai-assistant-dock .ai-dock-answer,
.ai-assistant-dock .ai-dock-card-copy b {
  color: var(--pb-ink) !important;
}

.ai-assistant-dock .ai-dock-close,
.ai-assistant-dock .ai-dock-send {
  border: 1px solid var(--pb-line-strong) !important;
  color: var(--pb-ink) !important;
  background: var(--pb-gradient-selected) !important;
}

.ai-assistant-dock .ai-dock-composer textarea {
  border-color: var(--pb-line) !important;
  color: var(--pb-ink) !important;
  background: rgba(255, 255, 255, .78) !important;
}

.ai-assistant-dock .ai-dock-composer textarea::placeholder {
  color: var(--pb-muted) !important;
}

.ai-assistant-dock .ai-dock-card-copy small,
.ai-assistant-dock .ai-dock-card-copy strong {
  color: var(--pb-muted-strong) !important;
}

.ai-dock-card {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  background: rgba(255, 255, 255, .78);
}

/* Social assistant */
.social-top-card {
  background: var(--pb-gradient-selected);
}

.social-profile-entry-card {
  border: 1px solid var(--pb-line) !important;
  color: var(--pb-ink);
  background: var(--pb-gradient-selected) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .07) !important;
}

.social-profile-entry-card::after {
  display: none;
}

.social-profile-entry-copy span,
.social-profile-entry-copy h2,
.social-profile-entry-copy p,
.social-profile-entry-card small {
  color: var(--pb-muted);
}

.social-profile-entry-copy h2 {
  color: var(--pb-ink);
}

.social-profile-entry-card .primary {
  border-color: var(--pb-line-strong) !important;
  color: var(--pb-ink) !important;
  background: rgba(255, 255, 255, .76) !important;
}

.social-panel {
  border-radius: var(--pb-radius-lg);
  background: var(--pb-gradient-surface);
}

.social-stepper {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.social-stepper span {
  flex: 0 0 auto;
  min-width: 76px;
  padding: 0 10px;
  border-radius: var(--pb-radius-pill);
  scroll-snap-align: start;
  white-space: nowrap;
}

.social-stepper span:not(.active) {
  color: var(--pb-muted) !important;
  background: var(--pb-surface-strong) !important;
}

.social-stepper span.active {
  border: 1px solid var(--pb-line-strong) !important;
  color: var(--pb-ink) !important;
  background: var(--pb-gradient-selected) !important;
}

.social-platform,
.social-platform span {
  color: var(--pb-ink-soft) !important;
  background: var(--pb-gradient-surface) !important;
}

.social-platform span {
  color: var(--pb-muted) !important;
}

.social-step-chip,
.social-style-chip,
.social-platform-chip {
  border: 1px solid var(--pb-line);
  color: var(--pb-muted-strong);
  background: var(--pb-surface);
}

.social-step-chip.active,
.social-style-chip.active,
.social-platform-chip.active {
  border-color: var(--pb-line-strong);
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
}

/* Profile, photographer and merchant workspaces */
.user-profile-card,
.photographer-profile-card,
.member-card {
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
}

.user-profile-card::after,
.photographer-profile-card::after,
.member-card::after {
  display: none;
}

.user-profile-card .profile-stat,
.merchant-stat,
.photographer-mini-stat,
.role-wallet-metric,
.chat-profile-stat {
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-md);
  color: var(--pb-ink);
  background: var(--pb-gradient-surface);
}

.merchant-stat b,
.merchant-panel-head h2,
.merchant-product-title,
.merchant-number-card h3,
.merchant-number-card input,
.merchant-analysis-card b,
.merchant-wallet-card strong {
  color: var(--pb-ink);
}

.merchant-stat span,
.merchant-product-meta,
.merchant-number-card p,
.merchant-analysis-card span,
.merchant-wallet-card span {
  color: var(--pb-muted);
}

.merchant-product-image {
  background: var(--pb-surface-muted);
}

.merchant-product-card,
.merchant-analysis-card,
.merchant-wallet-card,
.merchant-number-card {
  border: 1px solid var(--pb-line);
  background: var(--pb-gradient-surface);
  box-shadow: none;
}

.merchant-number-editor::before {
  background: var(--pb-surface);
  box-shadow: none;
}

body.merchant-theme .merchant-mini-btn.orange,
body.merchant-theme .merchant-product-actions .merchant-price-btn,
body.merchant-theme .merchant-row-actions strong,
body.merchant-theme .demand-type,
body.merchant-theme .job-accept {
  color: var(--pb-ink-soft);
  background: var(--pb-gradient-selected);
}

body.merchant-theme .merchant-panel-head button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--pb-line-strong);
  border-radius: var(--pb-radius-sm);
  color: var(--pb-ink);
  background: var(--pb-gradient-selected);
  box-shadow: none;
}

/* Semantic states */
.online,
.success,
.done,
.green,
.credit-delta.positive {
  color: var(--pb-success) !important;
}

.offline,
.error,
.danger,
.credit-delta.negative,
.order-delete-btn {
  color: var(--pb-danger) !important;
}

.pending,
.warning {
  color: var(--pb-warning) !important;
}

.toast {
  max-width: 520px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--pb-radius-md);
  color: #fff;
  background: rgba(59, 61, 67, .96);
  box-shadow: var(--pb-shadow-modal);
}

/* Keep image layouts stable while real assets load. */
img {
  background-color: var(--pb-surface-muted);
}

img:not([src]),
img[src=""] {
  visibility: hidden;
}

/* iOS role-based typography. The selected visual uses four purposeful roles,
   while icons keep an independent optical size. */
body {
  font-family: var(--pb-font-ui) !important;
  font-size: var(--pb-text-body-size);
  line-height: var(--pb-text-body-line);
  letter-spacing: 0;
  font-kerning: normal;
}

body :where(button, input, select, textarea, label) {
  font-family: var(--pb-font-ui) !important;
}

body :where(p, li, dd, .ai-message, .detail-desc, .social-preview-text) {
  max-width: var(--pb-measure-prose);
  text-wrap: pretty;
}

body :where(h1, .page-title h1, .page-head h1, .detail-hero h1) {
  font-family: var(--pb-font-ui) !important;
  font-size: var(--pb-text-display-size) !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  letter-spacing: -.018em !important;
  text-wrap: balance;
}

body :where(
  h2, h3, h4,
  .section-title,
  .focus-section-title,
  .home-nearby-head h2,
  .home-inspiration-title,
  .focus-map-head h2,
  .page-head h2,
  .quick-card h2,
  .panel h2,
  .order-card h2,
  .detail-section h2,
  .free-card h2,
  .social-panel h3,
  .social-top-card h2,
  .weather-section-head h2,
  .merchant-panel-head h2,
  .settings-section-title,
  .flow-card h2,
  .ai-siri-hero h2,
  .focus-talent-name,
  .pname,
  .place-text b,
  .spot-name,
  .merchant-product-title
) {
  font-family: var(--pb-font-ui) !important;
  font-size: var(--pb-text-title-size) !important;
  line-height: var(--pb-text-title-line) !important;
  font-weight: var(--pb-text-title-weight) !important;
  letter-spacing: -.012em !important;
}

body :where(button, label, b, strong, .tab, .chip, .service-copy, .status-pill) {
  font-weight: var(--pb-text-label-weight);
}

body :where(.price, .quote, .stat strong, .package strong, .credit-overview-score b, .weather-current-value strong, .home-weather-temp b, .pay-total strong) {
  font-variant-numeric: tabular-nums;
}

body :where(.page-title p, .focus-talent-meta, .focus-talent-identity, .focus-talent-price, .rating, .profile-type-line, .weather-source-row, .more) {
  font-size: var(--pb-text-meta-size) !important;
  line-height: 1.38 !important;
}

.service-btn .service-copy > span,
.focus-section-title > small,
.focus-map-head small,
.home-nearby-head small {
  display: none !important;
}

.home-weather-main {
  gap: var(--pb-space-2);
}

.home-weather-temp,
.home-weather-score {
  min-width: 0;
}

.social-stepper span {
  min-height: 36px;
}

/* Silver material unification for role-specific legacy surfaces. */
body :where(.primary, .main-cta, .settings-save-btn, .inspiration-book, .merchant-number-save, .merchant-price-btn, .chat-send, .social-primary) {
  border-color: #6f727a !important;
  color: #fff !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12) !important;
}

body :where(.flow-card, .social-top-card, .weather-current-hero, .ai-plan-hero, .pay-hero, .credit-overview-card, .user-profile-card, .member-card, .photographer-profile-card) {
  border: 1px solid var(--pb-line) !important;
  color: var(--pb-ink) !important;
  background: var(--pb-gradient-selected) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .07) !important;
}

body :where(.flow-card, .social-top-card, .weather-current-hero, .ai-plan-hero, .pay-hero, .credit-overview-card, .user-profile-card, .member-card, .photographer-profile-card) :where(h1, h2, h3, p, span, small, b, strong) {
  color: inherit !important;
}

body.merchant-theme .nav-item,
body.merchant-theme .nav-item.active,
body.merchant-theme .ai-nav-item {
  color: var(--pb-muted) !important;
}

body.merchant-theme .nav-item.active,
body.merchant-theme .ai-nav-item.active {
  color: var(--pb-ink) !important;
}

body.merchant-theme .nav-item.active::before {
  background: var(--pb-ink) !important;
}

body :where(
  .map-card-price,
  .price-mini,
  .rating b,
  .outline-btn,
  .quote,
  .applicant-quote,
  .home-nearby-score,
  .home-nearby-favorite,
  .home-nearby-recent,
  .home-nearby-confirm
) {
  color: var(--pb-ink-soft) !important;
}

body :where(.home-nearby-meta, .weather-panel p, .weather-panel span, .weather-panel small, .weather-advice-row p, .hourly-weather-item span, .daily-weather-item span) {
  color: var(--pb-muted) !important;
}

body :where(.weather-panel h1, .weather-panel h2, .weather-panel h3, .weather-panel b, .weather-panel strong) {
  color: var(--pb-ink) !important;
}

body .weather-current-hero .weather-hero-text :where(b, span),
body .weather-current-hero small {
  color: var(--pb-muted-strong) !important;
}

body .weather-current-hero .weather-current-value > strong,
body .weather-current-hero .weather-current-value > div > b {
  color: var(--pb-ink) !important;
}

body .weather-current-hero .weather-current-value > div > span,
body .weather-current-hero .weather-current-meta {
  color: var(--pb-muted) !important;
}

body .weather-disclaimer {
  border: 1px solid var(--pb-line) !important;
  color: var(--pb-muted-strong) !important;
  background: var(--pb-gradient-surface) !important;
}

/* Tablet: maintain readable measure instead of stretching forms edge to edge. */
@media (min-width: 720px) {
  .hero.focus-home .service-row,
  .content.focus-content {
    max-width: 840px !important;
  }

  :root {
    --page-pad: 24px;
    --nav-height: 70px;
  }

  .page-head > *,
  .page-body,
  .page.tab-screen .page-body {
    max-width: var(--pb-content-max);
  }

  .page-body,
  .page.tab-screen .page-body {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .page-head {
    padding-right: max(24px, calc((100vw - var(--pb-content-max)) / 2));
    padding-left: max(24px, calc((100vw - var(--pb-content-max)) / 2));
  }

  .hero.focus-home,
  .content.focus-content,
  .home-inspiration-view,
  .home-map-view {
    width: min(100%, 840px);
    margin-right: auto;
    margin-left: auto;
  }

  .bottom-nav,
  .ai-composer {
    left: 50%;
    width: min(100%, 840px);
    right: auto;
    transform: translateX(-50%);
  }

  .bottom-nav {
    border-right: 1px solid var(--pb-line);
    border-left: 1px solid var(--pb-line);
    border-radius: var(--pb-radius-lg) var(--pb-radius-lg) 0 0;
  }

  .merchant-product-list,
  .option-grid,
  .weather-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .page-body {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero.focus-home .top,
  .hero.focus-home .service-row,
  .focus-map-head,
  .hero.focus-home .actions-card,
  .hero.focus-home .map,
  .content.focus-content {
    margin-right: 12px;
    margin-left: 12px;
  }

  .service-row {
    gap: 6px;
  }

  .service-btn,
  .service-btn:not(.active) {
    min-height: 50px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .service-btn .service-copy > span {
    display: none;
  }

  .field {
    grid-template-columns: minmax(78px, .72fr) minmax(0, 1.28fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Selected Product Design implementation: 雾银空间
   -------------------------------------------------------------------------- */

html,
body,
body.merchant-theme,
body:not(.merchant-theme) {
  background: var(--pb-gradient-page) fixed !important;
  color: var(--pb-ink);
}

.app,
body:not(.merchant-theme) .app,
body:not(.merchant-theme) .screen {
  background: transparent !important;
}

.page,
.paibei-ai-page,
body:not(.merchant-theme) .page {
  background: var(--pb-gradient-page) fixed !important;
}

.hero.focus-home {
  padding: max(9px, env(safe-area-inset-top)) 0 0 !important;
  background: transparent !important;
}

.hero.focus-home > .top,
.focus-hero-banner,
.hero.focus-home .server-pill,
.hero.focus-home .map-info-card,
.hero.focus-home .globe-hint {
  display: none !important;
}

.home-view-switch {
  position: fixed !important;
  z-index: 86 !important;
  top: max(9px, env(safe-area-inset-top)) !important;
  right: max(14px, calc((100vw - var(--pb-content-max)) / 2 + 14px)) !important;
  display: inline-flex !important;
  gap: 2px;
  width: 128px;
  height: 38px;
  padding: 3px !important;
  border: 1px solid rgba(255, 255, 255, .92) !important;
  border-radius: 14px !important;
  background: rgba(237, 237, 241, .84) !important;
  box-shadow: 0 8px 24px rgba(30, 30, 34, .09) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
}

.home-view-switch button {
  min-width: 0 !important;
  min-height: 0 !important;
  width: 40px;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  color: #66666c !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 30px !important;
  font-weight: 600 !important;
}

.home-view-switch button.active {
  color: #fff !important;
  background: linear-gradient(180deg, #3a3b40 0%, #222328 100%) !important;
  box-shadow: 0 2px 6px rgba(20, 20, 24, .20) !important;
}

.home-search-trigger {
  width: min(calc(100% - 168px), 652px) !important;
  min-height: 38px !important;
  height: 38px;
  margin: 0 max(14px, calc((100vw - var(--pb-content-max)) / 2 + 14px)) 12px !important;
  padding: 0 13px !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, .90) !important;
  border-radius: 14px !important;
  color: #77777d !important;
  background: rgba(237, 237, 241, .82) !important;
  box-shadow: 0 8px 24px rgba(30, 30, 34, .08) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.home-search-trigger svg,
.hero.focus-home .scan-btn svg {
  width: 17px;
  height: 17px;
  color: #55565b;
  stroke-width: 1.8;
}

.hero.focus-home .service-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 auto 4px !important;
  padding: 0 max(18px, calc((100vw - var(--pb-content-max)) / 2 + 18px));
}

.hero.focus-home .service-btn,
.hero.focus-home .service-btn:not(.active),
.hero.focus-home .service-btn.active {
  min-width: 0;
  min-height: 66px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 7px 2px !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: #2e2e32 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero.focus-home .service-btn:active {
  background: rgba(60, 60, 67, .07) !important;
}

.hero.focus-home .service-icon,
.hero.focus-home .service-btn.active .service-icon {
  width: 25px !important;
  height: 25px !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #29292d !important;
  background: transparent !important;
  filter: none !important;
  stroke-width: 1.7;
}

.hero.focus-home .service-copy,
.hero.focus-home .service-btn:not(.active) .service-copy,
.hero.focus-home .service-btn.active .service-copy {
  color: #323236 !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
}

.focus-map-head {
  width: auto;
  min-height: 30px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 7px max(18px, calc((100vw - var(--pb-content-max)) / 2 + 18px)) 8px !important;
  text-align: left !important;
}

.focus-map-head > div:first-child {
  display: block !important;
}

.focus-map-head h2 {
  margin: 0 !important;
  color: #1d1d1f !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 680 !important;
  letter-spacing: -.012em !important;
}

.hero.focus-home .location-row {
  display: flex !important;
  align-items: center !important;
}

.hero.focus-home .live-pill {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px !important;
  border: 1px solid rgba(60, 60, 67, .10);
  border-radius: 999px;
  color: #67676d !important;
  background: rgba(255,255,255,.74) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 27px !important;
  font-weight: 500 !important;
}

.hero.focus-home .live-pill .dot {
  width: 6px !important;
  height: 6px !important;
  background: #32a866 !important;
  box-shadow: 0 0 0 3px rgba(50,168,102,.10);
}

.hero.focus-home .actions-card {
  margin: 0 max(18px, calc((100vw - var(--pb-content-max)) / 2 + 18px)) 10px !important;
}

.hero.focus-home .main-cta,
body .hero.focus-home .main-cta {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: linear-gradient(180deg, #35363b 0%, #1b1c20 100%) !important;
  box-shadow: 0 9px 22px rgba(25, 25, 29, .18) !important;
  font-size: 15px !important;
  line-height: 44px !important;
  font-weight: 650 !important;
  letter-spacing: .01em !important;
}

.hero.focus-home .main-cta::after {
  content: "  →" !important;
  font-size: 16px !important;
  font-weight: 400;
}

.hero.focus-home .map {
  height: clamp(244px, 30vh, 278px) !important;
  height: clamp(244px, 30dvh, 278px) !important;
  margin: 0 max(18px, calc((100vw - var(--pb-content-max)) / 2 + 18px)) !important;
  overflow: hidden;
  border: 1px solid rgba(60, 60, 67, .12) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #faf9f6 0%, #efede8 100%) !important;
  box-shadow: 0 16px 38px rgba(32, 32, 36, .11) !important;
  isolation: isolate;
}

.hero.focus-home .amap-static-map {
  opacity: .90;
  filter: grayscale(.84) sepia(.10) saturate(.46) brightness(1.09) contrast(.90);
}

.hero.focus-home .map-toggle {
  left: auto !important;
  right: 12px !important;
  top: 12px !important;
  padding: 3px !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 13px !important;
  background: rgba(244,244,247,.84) !important;
  box-shadow: 0 8px 22px rgba(24,24,28,.11) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
}

.hero.focus-home .map-toggle .map-mode-btn {
  min-height: 30px !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #616167 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 30px !important;
  font-weight: 600 !important;
}

.hero.focus-home .map-toggle .map-mode-btn.active {
  color: #fff !important;
  background: #2c2d31 !important;
  box-shadow: 0 2px 7px rgba(24,24,28,.18) !important;
}

.hero.focus-home .home-weather-card {
  left: 12px !important;
  top: auto !important;
  bottom: 12px !important;
  width: 142px !important;
  height: 72px !important;
  max-height: 72px !important;
  min-height: 72px !important;
  overflow: hidden !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(255,255,255,.86) !important;
  border-radius: 15px !important;
  color: #2f3034 !important;
  background: rgba(244,244,247,.84) !important;
  box-shadow: 0 9px 24px rgba(24,24,28,.11) !important;
  backdrop-filter: blur(18px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.18) !important;
}

.hero.focus-home .home-weather-head {
  margin-bottom: 5px;
}

.hero.focus-home .home-weather-head span {
  max-width: 96px;
  overflow: hidden;
  color: #56565c !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.focus-home .home-weather-head small,
.hero.focus-home .weather-source-row {
  display: none !important;
}

.hero.focus-home .home-weather-main {
  align-items: center;
  gap: 5px !important;
}

.hero.focus-home .home-weather-temp {
  gap: 5px;
}

.hero.focus-home .home-weather-temp i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  line-height: 1 !important;
}

.hero.focus-home .home-weather-temp i img,
.weather-hero-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent !important;
}

.hero.focus-home .home-weather-temp b {
  color: #202125 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 650 !important;
}

.hero.focus-home .home-weather-temp span strong {
  color: #44454a !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}

.hero.focus-home .home-weather-temp span small,
.hero.focus-home .home-weather-score {
  display: none !important;
}

.hero.focus-home .map-photographer-card {
  left: 12px !important;
  right: 150px !important;
  top: 12px !important;
  bottom: auto !important;
  width: auto !important;
  height: 64px !important;
  max-height: 64px !important;
  min-height: 64px !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  padding: 8px 10px !important;
  gap: 9px !important;
  border: 1px solid rgba(255,255,255,.90) !important;
  border-radius: 17px !important;
  background: rgba(249,249,251,.88) !important;
  box-shadow: 0 10px 28px rgba(24,24,28,.14) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.18) !important;
  transform: none !important;
}

.hero.focus-home .map-card-avatar {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255,255,255,.90);
  border-radius: 13px !important;
}

.hero.focus-home .map-card-text b {
  color: #202125 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
}

.hero.focus-home .map-card-text span {
  color: #6b6b70 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.hero.focus-home .map-card-price {
  color: #242529 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.hero.focus-home .map-zoom-control {
  right: 12px !important;
  top: 56px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86) !important;
  border-radius: 13px !important;
  background: rgba(249,249,251,.86) !important;
  box-shadow: 0 8px 22px rgba(24,24,28,.11) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  transform: none !important;
}

.hero.focus-home .map-zoom-control button,
.hero.focus-home .map-locate-btn {
  color: #3b3c41 !important;
  background: rgba(249,249,251,.88) !important;
}

.hero.focus-home .map-zoom-control svg,
.hero.focus-home .map-locate-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.hero.focus-home .map-locate-btn {
  right: 12px !important;
  bottom: 12px !important;
  width: 36px !important;
  height: 36px !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.88) !important;
  border-radius: 13px !important;
  box-shadow: 0 8px 22px rgba(24,24,28,.12) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.content.focus-content {
  padding: 17px max(18px, calc((100vw - var(--pb-content-max)) / 2 + 18px)) calc(var(--nav-height) + var(--nav-safe-bottom) + 38px) !important;
  background: transparent !important;
}

.content.focus-content .focus-section-title,
.content.focus-content > .photographer-section-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 11px !important;
  color: #1d1d1f !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 680 !important;
  letter-spacing: -.012em !important;
}

.content.focus-content .focus-section-title .more {
  margin: 0 !important;
  color: #74747a !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

.content.focus-content .list {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.content.focus-content .photographer-carousel {
  padding-bottom: 17px !important;
  overflow: hidden !important;
}

.content.focus-content .photographer-slide {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

.content.focus-content .person.focus-talent-card.focus-portfolio-card,
.focus-talent-card.focus-portfolio-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0 0 17px !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60,60,67,.13) !important;
  border-radius: 0 !important;
  color: var(--pb-ink);
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
  font: inherit;
}

.focus-portfolio-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
  gap: 5px;
  width: 100%;
  aspect-ratio: 1.95 / 1;
  overflow: hidden;
  border-radius: 9px;
  background: #e8e8eb;
}

.focus-portfolio-main,
.focus-portfolio-side {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.focus-portfolio-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.focus-portfolio-main img,
.focus-portfolio-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.92) contrast(.98);
  transition: transform .38s cubic-bezier(.22,.9,.18,1), filter .38s ease;
}

.focus-portfolio-main img {
  object-position: center 24%;
}

.focus-portfolio-card:active .focus-portfolio-main img,
.focus-portfolio-card:active .focus-portfolio-side img {
  transform: scale(1.018);
  filter: saturate(.96) contrast(1);
}

.focus-talent-grade {
  left: 8px !important;
  top: 8px !important;
  padding: 4px 7px !important;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(28,28,30,.70) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px !important;
  font-weight: 600 !important;
}

.focus-portfolio-card .favorite-toggle {
  top: 8px !important;
  right: 8px !important;
  border: 1px solid rgba(255,255,255,.48) !important;
  color: #fff !important;
  background: rgba(24,24,28,.28) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.focus-portfolio-summary {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding-top: 10px;
  color: #66666c;
  font-family: var(--pb-font-ui);
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}

.focus-portfolio-summary > i {
  flex: 0 0 1px;
  width: 1px;
  height: 12px;
  background: rgba(60,60,67,.20);
}

.focus-portfolio-name {
  flex: 0 0 auto;
  color: #232327;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 680;
}

.focus-portfolio-rating,
.focus-portfolio-distance,
.focus-portfolio-price {
  flex: 0 0 auto;
}

.focus-portfolio-rating {
  color: #37373b;
  font-weight: 620;
}

.focus-portfolio-identity,
.focus-portfolio-specialty {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.focus-portfolio-identity {
  flex: 0 0 auto;
}

.focus-portfolio-specialty {
  flex: 1 1 auto;
}

.focus-portfolio-price {
  margin-left: auto;
  color: #26262a;
  font-size: 11.5px;
  font-weight: 700;
}

.focus-talent-body {
  padding: 10px 11px 11px !important;
}

.focus-talent-name {
  color: #232327 !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  font-weight: 650 !important;
}

.focus-talent-name span {
  color: #5e5e64 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.focus-talent-identity {
  width: max-content;
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(60,60,67,.10);
  border-radius: 999px;
  color: #69696f !important;
  background: #f2f2f5 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.focus-talent-meta {
  margin-top: 6px !important;
  color: #717177 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.focus-talent-price {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(60,60,67,.10) !important;
  color: #77777c !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
}

.focus-talent-price b {
  color: #242428 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.content.focus-content .photographer-dots {
  bottom: 2px !important;
  padding: 0 !important;
  background: transparent !important;
}

.content.focus-content .photographer-dots span {
  width: 5px !important;
  height: 5px !important;
  background: rgba(60,60,67,.22) !important;
}

.content.focus-content .photographer-dots span.active {
  width: 15px !important;
  background: #34353a !important;
}

.bottom-nav,
html.miniapp-webview .bottom-nav,
body:not(.merchant-theme) .bottom-nav,
body.merchant-theme .bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  width: min(calc(100vw - 28px), 792px) !important;
  height: 68px !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 24px !important;
  background: rgba(246,246,249,.88) !important;
  box-shadow: 0 16px 44px rgba(25,25,29,.15) !important;
  backdrop-filter: blur(24px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.22) !important;
  transform: translateX(-50%) !important;
}

.nav-item,
html.miniapp-webview .bottom-nav .nav-item,
body.merchant-theme .nav-item {
  min-width: 0 !important;
  min-height: 52px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border-radius: 15px !important;
  color: #818187 !important;
  background: transparent !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
}

.nav-item::before {
  display: none !important;
}

.nav-item .nav-icon {
  width: 21px !important;
  height: 21px !important;
  color: currentColor;
  stroke-width: 1.8;
}

.nav-item.active,
body.merchant-theme .nav-item.active,
.nav-item[aria-current="page"] {
  color: #202125 !important;
}

.nav-item.active:not(.ai-nav-item) {
  background: rgba(60,60,67,.065) !important;
}

.ai-nav-item {
  overflow: visible !important;
  color: #34353a !important;
}

html.miniapp-webview .bottom-nav .nav-item.ai-nav-item {
  overflow: visible !important;
}

.ai-nav-orb {
  width: 58px !important;
  height: 58px !important;
  margin-top: -29px !important;
  border: 3px solid rgba(255,255,255,.96) !important;
  outline: 1px solid rgba(93,112,216,.20) !important;
  box-shadow: 0 10px 28px rgba(45,54,126,.28), 0 0 0 5px rgba(255,255,255,.45) !important;
}

.ai-nav-item > span:last-child {
  margin-top: -1px !important;
  color: #34353a !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}

/* All secondary pages inherit a calm iOS surface rather than the previous colored skin. */
.page-head,
body.merchant-theme .page-head {
  border-bottom: 1px solid rgba(60,60,67,.11) !important;
  background: rgba(248,248,250,.88) !important;
  box-shadow: none !important;
  backdrop-filter: blur(22px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.16) !important;
}

.page-head .back-btn,
.back-btn,
#demandPage .back-btn {
  border: 1px solid rgba(60,60,67,.12) !important;
  color: #34353a !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: none !important;
}

body :where(.quick-card, .panel, .order-card, .detail-section, .free-card, .settings-section, .merchant-panel, .weather-panel, .social-panel, .option-card, .profile-card) {
  border-color: rgba(60,60,67,.11) !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: none !important;
}

body :where(input, textarea, select, .field input, .field textarea, .field select, .chat-input, .ai-input) {
  border-color: rgba(60,60,67,.13) !important;
  color: #242428 !important;
  background: rgba(247,247,249,.94) !important;
  box-shadow: none !important;
}

body :where(.primary, .main-cta, .settings-save-btn, .inspiration-book, .merchant-number-save, .merchant-price-btn, .chat-send, .social-primary) {
  border-color: transparent !important;
  color: #fff !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: 0 9px 22px rgba(25,25,29,.16) !important;
}

@media (min-width: 720px) {
  .home-view-switch {
    right: max(24px, calc((100vw - 840px) / 2 + 24px)) !important;
  }

  .home-search-trigger {
    width: calc(100% - 200px) !important;
    margin-right: 0 !important;
    margin-left: 24px !important;
  }

  .hero.focus-home .service-row {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .focus-map-head,
  .hero.focus-home .actions-card,
  .hero.focus-home .map {
    margin-right: 24px !important;
    margin-left: 24px !important;
  }

  .hero.focus-home .map {
    height: 330px !important;
  }

  .content.focus-content {
    width: min(100%, 840px) !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .content.focus-content .photographer-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 360px) {
  .focus-portfolio-summary {
    gap: 3px;
    font-size: 9.5px;
  }

  .focus-portfolio-name {
    font-size: 12px;
  }

  .focus-portfolio-price {
    font-size: 11px;
  }

  .home-view-switch {
    right: 10px !important;
    width: 118px;
  }

  .home-view-switch button {
    width: 36px;
  }

  .home-search-trigger {
    width: calc(100% - 146px) !important;
    margin-left: 10px !important;
  }

  .hero.focus-home .service-row {
    padding-right: 12px;
    padding-left: 12px;
  }

  .focus-map-head,
  .hero.focus-home .actions-card,
  .hero.focus-home .map,
  .content.focus-content {
    margin-right: 12px !important;
    margin-left: 12px !important;
  }

  .content.focus-content {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

/* 2026-08 homepage interaction pass: compact services and tactile iOS controls. */
:root {
  --pb-gradient-control: linear-gradient(180deg, #ffffff 0%, #f2f3f6 48%, #d9dce3 100%);
  --pb-control-ink: #23242a;
  --pb-control-border: rgba(60, 60, 67, .14);
  --pb-control-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 26px rgba(92,96,110,.18);
}

.hero.focus-home .service-row {
  gap: 3px !important;
  margin-bottom: 1px !important;
}

.hero.focus-home .service-btn,
.hero.focus-home .service-btn:not(.active),
.hero.focus-home .service-btn.active {
  min-height: 50px !important;
  gap: 3px !important;
  padding: 2px 1px !important;
  border-radius: 12px !important;
}

.hero.focus-home .service-icon,
.hero.focus-home .service-btn.active .service-icon {
  width: 22px !important;
  height: 22px !important;
}

.hero.focus-home .service-copy,
.hero.focus-home .service-btn:not(.active) .service-copy,
.hero.focus-home .service-btn.active .service-copy {
  font-size: 12px !important;
}

.focus-map-head {
  margin-top: 4px !important;
}

body:not(.merchant-theme) .home-view-switch button.active,
body:not(.merchant-theme) .hero.focus-home .main-cta,
body:not(.merchant-theme) .hero.focus-home .map-mode-btn.active,
body:not(.merchant-theme) .content.focus-content .home-nearby-book,
body:not(.merchant-theme) .content.focus-content .home-nearby-head button,
body:not(.merchant-theme) .home-map-view .map-quick-actions button,
body:not(.merchant-theme) .nearby-spots-page .nearby-spot-book {
  border-color: transparent !important;
  color: #fff !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 8px rgba(20,20,24,.18) !important;
}

.content.focus-content .photographer-carousel {
  isolation: isolate;
  touch-action: pan-y;
}

.photographer-nav {
  position: absolute;
  z-index: 4;
  top: 38%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, rgba(104,105,112,.92), rgba(24,25,29,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 4px 8px rgba(20,20,24,.18);
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.photographer-nav:active {
  transform: translateY(calc(-50% + 1px)) scale(.96) !important;
}

/* 2026-08 compact home map: one action palette, floating availability, lean weather. */
.hero.focus-home .map-live-pill {
  position: absolute;
  z-index: 12;
  top: 12px;
  left: 12px;
  width: max-content;
  max-width: calc(100% - 150px);
  min-height: 32px;
  padding: 0 11px !important;
  overflow: hidden;
  border-color: rgba(255,255,255,.86) !important;
  color: #3f4045 !important;
  background: rgba(249,249,251,.90) !important;
  box-shadow: 0 4px 8px rgba(24,24,28,.12) !important;
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  font-size: 11px !important;
  line-height: 32px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.focus-home .map-photographer-card {
  top: 54px !important;
}

.hero.focus-home .home-weather-card {
  width: max-content !important;
  min-width: 0 !important;
  max-width: 118px !important;
  height: auto !important;
  min-height: 52px !important;
  max-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 7px 9px !important;
  border-radius: 13px !important;
}

.hero.focus-home .home-weather-card::after,
.hero.focus-home .home-weather-head,
.hero.focus-home .home-weather-main,
.hero.focus-home .weather-source-row,
.hero.focus-home .home-weather-score,
.hero.focus-home .home-weather-data {
  display: none !important;
}

.hero.focus-home .home-weather-temp {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hero.focus-home .home-weather-temp > span {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero.focus-home .home-weather-temp b {
  font-size: 17px !important;
  line-height: 1 !important;
}

.hero.focus-home .home-weather-temp span strong {
  max-width: 64px;
  overflow: hidden;
  font-size: 10px !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.focus-home .home-weather-chevron {
  flex: 0 0 auto;
  color: #77787e;
  font-size: 17px;
  line-height: 1;
  font-weight: 400;
}

/* 普通用户首页地图：默认保留天气概览，按需平滑展开完整地图。 */
.hero.focus-home .map {
  transition:
    height .52s cubic-bezier(.22, .8, .22, 1),
    border-radius .4s ease,
    box-shadow .4s ease !important;
}

.hero.focus-home .home-map-disclosure {
  position: absolute;
  z-index: 16;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .90);
  border-radius: 50%;
  color: #3f4045;
  background: rgba(249, 249, 251, .88);
  box-shadow: 0 5px 14px rgba(24, 24, 28, .13);
  transform: translateY(-50%);
  transition: transform .42s cubic-bezier(.22, .8, .22, 1), background .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.hero.focus-home .home-map-disclosure svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  transition: transform .46s cubic-bezier(.22, .8, .22, 1);
}

.hero.focus-home .map.is-expanded .home-map-disclosure svg {
  transform: rotate(180deg);
}

.hero.focus-home .home-map-disclosure:active {
  background: rgba(235, 236, 239, .96);
  box-shadow: 0 2px 7px rgba(24, 24, 28, .10);
  transform: translateY(-50%) scale(.94);
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed {
  height: clamp(62px, 7.5vh, 70px) !important;
  height: clamp(62px, 7.5dvh, 70px) !important;
  border-radius: 18px !important;
  background-image: linear-gradient(rgba(250, 249, 246, .10), rgba(239, 237, 232, .22)), url("amap-home.png") !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 7px 20px rgba(32, 32, 36, .09) !important;
}

.hero.focus-home .home-map-collapsed-fallback {
  display: none;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed.cached-map .home-map-collapsed-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: .90;
  filter: grayscale(.84) sepia(.10) saturate(.46) brightness(1.09) contrast(.90);
  pointer-events: none;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed.cached-map .amap-static-map {
  opacity: 0 !important;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed:not(.cached-map) .amap-static-map {
  opacity: .90 !important;
  object-position: center;
  filter: grayscale(.84) sepia(.10) saturate(.46) brightness(1.09) contrast(.90) !important;
  transform: translate(var(--map-pan-x, 0px), var(--map-pan-y, 0px)) scale(1.14);
}

body:not(.merchant-theme) .hero.focus-home .map.is-expanded {
  height: clamp(244px, 30vh, 278px) !important;
  height: clamp(244px, 30dvh, 278px) !important;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed .home-weather-card {
  top: 50% !important;
  bottom: auto !important;
  left: 8px !important;
  transform: translateY(-50%);
}

.hero.focus-home .home-map-self-location {
  display: none;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed .home-map-self-location {
  position: absolute;
  z-index: 15;
  top: 50%;
  left: 58%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .94);
  border-radius: 999px;
  color: #303136;
  background: rgba(249, 249, 251, .90);
  box-shadow: 0 4px 12px rgba(24, 24, 28, .13);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  pointer-events: none;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed .home-map-self-location b {
  font-size: 10px !important;
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}

.hero.focus-home .home-map-self-dot {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #3978f6;
  box-shadow: 0 1px 4px rgba(40, 91, 196, .42);
}

.hero.focus-home .home-map-self-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(57, 120, 246, .36);
  border-radius: 50%;
  animation: home-map-self-pulse 1.9s ease-out infinite;
}

@keyframes home-map-self-pulse {
  0% { transform: scale(.62); opacity: .9; }
  75%, 100% { transform: scale(1.18); opacity: 0; }
}

body:not(.merchant-theme) .hero.focus-home .map :where(
  .globe-canvas,
  .map-live-pill,
  .map-toggle,
  .map-photographer-card,
  .map-info-card,
  .spot-detail-card,
  .map-zoom-control,
  .map-locate-btn,
  .spot-marker-layer
) {
  transition: opacity .26s ease, visibility .26s ease;
}

body:not(.merchant-theme) .hero.focus-home .map.is-collapsed :where(
  .globe-canvas,
  .map-live-pill,
  .map-toggle,
  .map-photographer-card,
  .map-info-card,
  .spot-detail-card,
  .map-zoom-control,
  .map-locate-btn,
  .spot-marker-layer
) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.merchant-theme .hero.focus-home .home-map-disclosure,
.photographer-map-shell .home-map-disclosure {
  display: none !important;
}

@media (min-width: 720px) {
  body:not(.merchant-theme) .hero.focus-home .map.is-collapsed {
    height: 82px !important;
  }

  body:not(.merchant-theme) .hero.focus-home .map.is-expanded {
    height: 330px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.focus-home .map,
  .hero.focus-home .home-map-disclosure,
  .hero.focus-home .home-map-disclosure svg {
    transition-duration: .01ms !important;
  }

  .hero.focus-home .home-map-self-dot::before {
    animation: none !important;
  }
}

body:not(.merchant-theme) :where(
  .home-view-switch button.active,
  .hero.focus-home .main-cta,
  .hero.focus-home .map-mode-btn.active,
  .content.focus-content .home-nearby-book,
  .content.focus-content .home-nearby-head button,
  .content.focus-content .photographer-nav,
  .home-map-view .map-quick-actions button,
  .nearby-spots-page .nearby-spot-book
) {
  border-color: transparent !important;
  color: #fff !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 4px 8px rgba(20,20,24,.16) !important;
}

.photographer-nav svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.photographer-nav-prev {
  left: 5px;
}

.photographer-nav-next {
  right: 5px;
}

.photographer-nav[hidden] {
  display: none !important;
}

.home-inspiration-view,
.home-inspiration-view.night {
  color: var(--pb-ink) !important;
  background: var(--pb-gradient-page) !important;
}

.home-inspiration-view.night .home-inspiration-title {
  color: var(--pb-ink) !important;
  background: transparent !important;
}

.home-inspiration-view.night .inspiration-tile {
  box-shadow: none !important;
}

body.inspiration-active .home-view-switch {
  border-color: rgba(255,255,255,.92) !important;
  background: rgba(237,237,241,.84) !important;
  box-shadow: 0 4px 8px rgba(30,30,34,.09) !important;
}

body.inspiration-active .home-view-switch button {
  color: #66666c !important;
}

body.inspiration-active .home-view-switch button.active {
  color: #fff !important;
  background: var(--pb-gradient-control) !important;
}

@media (min-width: 720px) {
  .photographer-nav {
    top: 43%;
  }
}

@media (max-width: 420px) {
  .photographer-nav {
    width: 40px;
    height: 40px;
  }

  .photographer-nav-prev {
    left: 4px;
  }

  .photographer-nav-next {
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photographer-track {
    transition-duration: .01ms !important;
  }
}

/* Home scroll endpoint: the app shell already reserves the fixed navigation. */
.content.focus-content {
  padding-bottom: 0 !important;
}

.content.focus-content > .home-nearby-gallery {
  margin-bottom: 0 !important;
}

/* Photographer profile and portfolio: reuse the homepage typography hierarchy. */
#detailPage:not(.chat-detail),
#albumPage.portfolio-mode {
  font-family: var(--pb-font-ui) !important;
}

#albumPage.portfolio-mode #albumPageTitle {
  font-size: var(--pb-text-title-size) !important;
}

#detailPage:not(.chat-detail) .detail-title p,
#detailPage:not(.chat-detail) .stat span,
#detailPage:not(.chat-detail) .detail-section-head span,
#detailPage:not(.chat-detail) .portfolio-more,
#detailPage:not(.chat-detail) .photographer-detail-identity,
#detailPage:not(.chat-detail) .photographer-identity-badge {
  font-size: var(--pb-text-meta-size) !important;
  line-height: 1.38 !important;
  font-weight: var(--pb-text-label-weight) !important;
  letter-spacing: 0 !important;
}

#detailPage:not(.chat-detail) .detail-rating strong {
  color: #fff !important;
  font-size: var(--pb-text-title-size) !important;
  line-height: var(--pb-text-title-line) !important;
  font-weight: var(--pb-text-title-weight) !important;
  letter-spacing: -.012em !important;
}

#detailPage:not(.chat-detail) .detail-rating span {
  font-size: var(--pb-text-meta-size) !important;
  line-height: 1.38 !important;
  font-weight: var(--pb-text-label-weight) !important;
  letter-spacing: 0 !important;
}

#detailPage:not(.chat-detail) .stat strong,
#detailPage:not(.chat-detail) .package b {
  font-size: var(--pb-text-body-size) !important;
  line-height: var(--pb-text-body-line) !important;
  font-weight: var(--pb-text-label-weight) !important;
}

#detailPage:not(.chat-detail) .free-card p {
  font-size: var(--pb-text-body-size) !important;
  line-height: var(--pb-text-body-line) !important;
  font-weight: var(--pb-text-body-weight) !important;
}

#detailPage:not(.chat-detail) .work-source-label {
  font-size: .75rem !important;
  line-height: 1.2 !important;
  font-weight: var(--pb-text-label-weight) !important;
}

#detailPage:not(.chat-detail) .detail-actions .outline-btn,
#detailPage:not(.chat-detail) .detail-actions .primary,
#albumPage.portfolio-mode .album-tools button {
  font-size: var(--pb-text-meta-size) !important;
  line-height: 1.38 !important;
  font-weight: var(--pb-text-label-weight) !important;
}

#albumPage.portfolio-mode .album-hero {
  display: none !important;
}

#albumPage.portfolio-mode .photo-price {
  font-size: .75rem !important;
  line-height: 1.2 !important;
  font-weight: var(--pb-text-label-weight) !important;
}

/* 2026-08 B06 button theme: selected white porcelain glass controls across app. */
:root {
  --pb-gradient-control: linear-gradient(180deg, #ffffff 0%, #f2f3f6 48%, #d9dce3 100%);
  --pb-control-ink: #23242a;
  --pb-control-border: rgba(60, 60, 67, .14);
  --pb-control-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 26px rgba(92,96,110,.18);
}

body :where(
  .primary,
  button.primary,
  .main-cta,
  .settings-save-btn,
  .inspiration-book,
  .merchant-number-save,
  .merchant-price-btn,
  .chat-send,
  .social-primary,
  .ai-composer button:not(.ai-voice-button),
  .ai-dock-send,
  .ai-plan-actions .primary,
  .home-view-switch button.active,
  .seg button.active,
  .shop-tabs button.active,
  .shop-filter button.active,
  .sku-options button.active,
  .photographer-status-btn.active,
  .order-tabs button.active,
  .global-search-chip.active,
  .register-chip.active,
  .settings-chip.active,
  .hero.focus-home .service-btn.active,
  .hero.focus-home .main-cta,
  .hero.focus-home .map-mode-btn.active,
  .content.focus-content .home-nearby-book,
  .content.focus-content .home-nearby-head button,
  .content.focus-content .photographer-nav,
  .home-map-view .map-quick-actions button,
  .nearby-spots-page .nearby-spot-book,
  .nearby-spot-actions button.primary,
  .nearby-spot-confirm button,
  .spot-detail-actions .mini-action.primary,
  .weather-current-top button.primary,
  .weather-section-head button.primary
) {
  border-color: var(--pb-control-border) !important;
  color: var(--pb-control-ink) !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: var(--pb-control-shadow) !important;
  text-shadow: none !important;
}

body :where(
  .primary,
  button.primary,
  .main-cta,
  .settings-save-btn,
  .inspiration-book,
  .merchant-number-save,
  .merchant-price-btn,
  .chat-send,
  .social-primary,
  .ai-composer button:not(.ai-voice-button),
  .ai-dock-send,
  .ai-plan-actions .primary,
  .home-view-switch button.active,
  .seg button.active,
  .shop-tabs button.active,
  .shop-filter button.active,
  .sku-options button.active,
  .photographer-status-btn.active,
  .order-tabs button.active,
  .global-search-chip.active,
  .register-chip.active,
  .settings-chip.active,
  .hero.focus-home .service-btn.active,
  .hero.focus-home .main-cta,
  .hero.focus-home .map-mode-btn.active,
  .content.focus-content .home-nearby-book,
  .content.focus-content .home-nearby-head button,
  .content.focus-content .photographer-nav,
  .home-map-view .map-quick-actions button,
  .nearby-spots-page .nearby-spot-book
) :where(svg, i, span, b, strong) {
  color: var(--pb-control-ink) !important;
  stroke: currentColor;
}

body :where(
  .primary:hover,
  .main-cta:hover,
  .settings-save-btn:hover,
  .inspiration-book:hover,
  .social-primary:hover,
  .chat-send:hover
) {
  border-color: rgba(60, 60, 67, .18) !important;
  color: var(--pb-control-ink) !important;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f4 48%, #cfd3db 100%) !important;
}

body:not(.merchant-theme) .home-view-switch button.active,
body.inspiration-active .home-view-switch button.active,
body:not(.merchant-theme) .hero.focus-home #openDemandCta,
body:not(.merchant-theme) .hero.focus-home .main-cta,
body:not(.merchant-theme) .hero.focus-home .service-btn.active,
body:not(.merchant-theme) .hero.focus-home .map-mode-btn.active,
body:not(.merchant-theme) .content.focus-content .home-nearby-book,
body:not(.merchant-theme) .content.focus-content .home-nearby-head button,
body:not(.merchant-theme) .content.focus-content .photographer-nav,
body:not(.merchant-theme) .home-map-view .map-quick-actions button,
body:not(.merchant-theme) .nearby-spots-page .nearby-spot-book,
body:not(.merchant-theme) .seg button.active,
body:not(.merchant-theme) .shop-tabs button.active,
body:not(.merchant-theme) .shop-filter button.active,
body:not(.merchant-theme) .sku-options button.active,
body:not(.merchant-theme) .photographer-status-btn.active,
body:not(.merchant-theme) .order-tabs button.active,
body:not(.merchant-theme) .global-search-chip.active,
body:not(.merchant-theme) .register-chip.active,
body:not(.merchant-theme) .settings-chip.active,
body:not(.merchant-theme) .primary,
body:not(.merchant-theme) button.primary,
body:not(.merchant-theme) .settings-save-btn,
body:not(.merchant-theme) .inspiration-book,
body:not(.merchant-theme) .merchant-number-save,
body:not(.merchant-theme) .merchant-price-btn,
body:not(.merchant-theme) .chat-send,
body:not(.merchant-theme) .social-primary,
body:not(.merchant-theme) .ai-composer button:not(.ai-voice-button),
body:not(.merchant-theme) .ai-dock-send,
body:not(.merchant-theme) .ai-plan-actions .primary,
body.merchant-theme .primary,
body.merchant-theme button.primary,
body.merchant-theme .settings-save-btn,
body.merchant-theme .merchant-number-save,
body.merchant-theme .merchant-price-btn {
  border-color: var(--pb-control-border) !important;
  color: var(--pb-control-ink) !important;
  background: var(--pb-gradient-control) !important;
  box-shadow: var(--pb-control-shadow) !important;
  text-shadow: none !important;
}

body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-copy,
body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-copy span,
body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-icon,
body:not(.merchant-theme) .content.focus-content .photographer-nav svg,
body:not(.merchant-theme) .home-view-switch button.active span,
body.inspiration-active .home-view-switch button.active span {
  color: var(--pb-control-ink) !important;
  stroke: currentColor !important;
}

/* 2026-08 service inline switching: keep the home service nav in place while swapping content below it. */
.hero.focus-home .home-service-panel[hidden] {
  display: none !important;
}

.hero.focus-home .home-service-panel {
  width: calc(100% - 32px);
  max-width: var(--pb-content-max);
  margin: 10px auto 0;
  padding: 14px;
  border: 1px solid rgba(60, 60, 67, .10);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 248, 250, .86));
  box-shadow: 0 14px 34px rgba(32, 34, 39, .08);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

body.home-service-inline .hero.focus-home .actions-card,
body.home-service-inline .hero.focus-home .server-pill,
body.home-service-inline .hero.focus-home .map,
body.home-service-inline .content.focus-content {
  display: none !important;
}

.home-service-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-service-panel-head h2 {
  margin: 0;
  color: var(--pb-ink);
  font-size: var(--pb-text-title-size);
  line-height: 1.18;
  font-weight: var(--pb-text-title-weight);
}

.home-service-panel-head p {
  margin: 5px 0 0;
  color: var(--pb-muted-strong);
  font-size: var(--pb-text-meta-size);
  line-height: 1.35;
  font-weight: var(--pb-text-body-weight);
}

.home-service-panel-head > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(60, 60, 67, .08);
  border-radius: 999px;
  color: var(--pb-muted-strong);
  background: rgba(255, 255, 255, .78);
  font-size: var(--pb-text-meta-size);
  font-weight: var(--pb-text-label-weight);
}

.hero.focus-home .home-service-panel .shop-search {
  position: static;
  z-index: auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero.focus-home .home-service-panel .shop-search-box {
  min-height: 38px;
  border-color: rgba(60, 60, 67, .10);
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

.hero.focus-home .home-service-panel .shop-search-box b {
  color: var(--pb-muted-strong);
}

.hero.focus-home .home-service-panel .shop-search-action {
  min-height: 38px;
  border: 1px solid rgba(60, 60, 67, .12);
  color: var(--pb-ink-soft);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 6px 14px rgba(32, 34, 39, .06);
}

.hero.focus-home .home-service-panel .shop-tabs,
.hero.focus-home .home-service-panel .shop-filter {
  padding-top: 9px;
}

.hero.focus-home .home-service-panel .home-service-grid {
  margin-top: 10px;
}

body:not(.merchant-theme) .hero.focus-home .service-btn.active {
  border-color: var(--pb-line) !important;
  color: var(--pb-ink-soft) !important;
  background: var(--pb-gradient-surface) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05) !important;
  text-shadow: none !important;
}

body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-copy,
body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-icon {
  color: var(--pb-ink-soft) !important;
  stroke: currentColor !important;
}

body:not(.merchant-theme) .hero.focus-home .service-btn.active .service-copy > span {
  color: var(--pb-muted) !important;
}

body:not(.merchant-theme) .content.focus-content .home-nearby-book,
body:not(.merchant-theme) .nearby-spots-page .nearby-spot-book {
  border: 1px solid var(--pb-line-strong) !important;
  color: var(--pb-ink-soft) !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04) !important;
  text-shadow: none !important;
}

@media (max-width: 430px) {
  .hero.focus-home .home-service-panel {
    width: calc(100% - 24px);
    padding: 12px;
    border-radius: 20px;
  }
}

/* 2026-08 AI assistant button A02: soft mist-silver glass core, no blue-purple tech orb. */
body:not(.merchant-theme) .ai-nav-item,
body:not(.merchant-theme) .ai-nav-item.active {
  background: transparent !important;
  color: #34353a !important;
}

body:not(.merchant-theme) .ai-nav-orb {
  position: relative !important;
  width: 74px !important;
  height: 58px !important;
  margin-top: -29px !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .95) 0 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(233, 236, 242, .82) 54%, rgba(209, 214, 224, .72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -10px 18px rgba(150, 158, 174, .16),
    0 11px 24px rgba(56, 60, 70, .16),
    0 0 0 5px rgba(255, 255, 255, .50) !important;
  transform: translateZ(0);
  contain: layout style !important;
}

body:not(.merchant-theme) .ai-nav-orb-image {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body:not(.merchant-theme) .ai-nav-orb::before,
body:not(.merchant-theme) .ai-nav-orb::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

body:not(.merchant-theme) .ai-nav-orb::before {
  width: 52px;
  height: 52px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .86);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 15%, rgba(255, 255, 255, .30) 30%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 68% 70%, rgba(129, 137, 151, .26) 0 10%, rgba(129, 137, 151, 0) 26%),
    conic-gradient(from 220deg, rgba(255, 255, 255, .62), rgba(191, 197, 208, .44), rgba(247, 248, 250, .92), rgba(148, 158, 174, .38), rgba(255, 255, 255, .62)),
    linear-gradient(135deg, #f8f9fb 0%, #d8dde6 48%, #bfc5d0 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, .78),
    inset 0 -5px 9px rgba(116, 124, 139, .18),
    0 3px 8px rgba(82, 88, 102, .16);
  transform: translate(-50%, -50%);
}

body:not(.merchant-theme) .ai-nav-orb::after {
  width: 34px;
  height: 34px;
  left: 50%;
  top: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .86) 0 18%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(143, 152, 168, .18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .48),
    7px 8px 0 -5px rgba(126, 134, 149, .28);
  transform: translate(-50%, -50%);
  opacity: .88;
}

body:not(.merchant-theme) .ai-nav-item > span:last-child {
  margin-top: -1px !important;
  color: #34353a !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body:not(.merchant-theme) .ai-nav-item.holding .ai-nav-orb,
body:not(.merchant-theme) .ai-nav-item[data-ai-state="listening"] .ai-nav-orb {
  animation: ai-a02-soft-breath 1.04s ease-in-out infinite !important;
  border-color: rgba(255, 255, 255, .96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -10px 18px rgba(150, 158, 174, .16),
    0 12px 28px rgba(82, 88, 102, .18),
    0 0 0 7px rgba(225, 230, 238, .44) !important;
}

body:not(.merchant-theme) .ai-nav-item[data-ai-state="thinking"] .ai-nav-orb {
  animation: ai-a02-soft-thinking 1.5s ease-in-out infinite !important;
}

body:not(.merchant-theme) .ai-nav-item[data-ai-state="speaking"] .ai-nav-orb {
  animation: ai-a02-soft-speak 1.12s ease-in-out infinite !important;
}

body:not(.merchant-theme) .ai-nav-item.holding .ai-nav-orb::before,
body:not(.merchant-theme) .ai-nav-item[data-ai-state="listening"] .ai-nav-orb::before,
body:not(.merchant-theme) .ai-nav-item[data-ai-state="thinking"] .ai-nav-orb::before,
body:not(.merchant-theme) .ai-nav-item[data-ai-state="speaking"] .ai-nav-orb::before {
  filter: brightness(1.04) saturate(.86);
}

@keyframes ai-a02-soft-breath {
  0%, 100% { transform: translateZ(0) scale(1); filter: brightness(1); }
  50% { transform: translateZ(0) scale(1.045); filter: brightness(1.035); }
}

@keyframes ai-a02-soft-thinking {
  0%, 100% { transform: translateZ(0) scale(1); filter: brightness(.98); }
  50% { transform: translateZ(0) scale(1.025); filter: brightness(1.045); }
}

@keyframes ai-a02-soft-speak {
  0%, 100% { transform: translateZ(0) scale(1); }
  35% { transform: translateZ(0) scale(1.035); }
  70% { transform: translateZ(0) scale(.992); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.merchant-theme) .ai-nav-orb {
    animation: none !important;
  }
}

/* 2026-08 Photographer wired photo transfer tool. */
.wired-transfer-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(248, 204, 133, .28), rgba(248, 204, 133, 0) 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(242, 244, 248, .86));
  box-shadow: 0 16px 34px rgba(32, 34, 39, .09);
}

.wired-transfer-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4b515b;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
}

.wired-transfer-hero h2 {
  margin: 0;
  color: #20232a;
  font-size: 22px;
  line-height: 1.2;
}

.wired-transfer-hero p {
  margin: 8px 0 0;
  color: #717780;
  font-size: 12px;
  line-height: 1.65;
}

.wired-transfer-pulse {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #2d3037, #111217);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 28px rgba(20,22,28,.18);
}

.wired-transfer-pulse span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.86), rgba(255,255,255,0) 34%),
    conic-gradient(from 210deg, #f7d79c, #2b2e35, #fff4d9, #c4974d, #f7d79c);
  box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 0 22px rgba(233, 190, 112, .36);
}

.wired-transfer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.wired-transfer-stats > div {
  padding: 12px 10px;
  border: 1px solid rgba(60, 60, 67, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 18px rgba(32, 34, 39, .05);
  text-align: center;
}

.wired-transfer-stats b {
  display: block;
  color: #20232a;
  font-size: 14px;
  line-height: 1.2;
}

.wired-transfer-stats span {
  display: block;
  margin-top: 5px;
  color: #8a8f98;
  font-size: 10px;
  font-weight: 800;
}

.wired-transfer-panel {
  margin-top: 12px;
}

.wired-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wired-mode-card {
  min-height: 92px;
  padding: 12px 10px;
  border: 1px solid rgba(60, 60, 67, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: #22252b;
  text-align: left;
  box-shadow: 0 8px 18px rgba(32, 34, 39, .05);
}

.wired-mode-card b,
.wired-mode-card span {
  display: block;
}

.wired-mode-card b {
  font-size: 13px;
}

.wired-mode-card span {
  margin-top: 6px;
  color: #777d86;
  font-size: 11px;
  line-height: 1.45;
}

.wired-mode-card.active {
  border-color: rgba(42, 44, 50, .24);
  background: linear-gradient(145deg, #343740, #111217);
  color: #fff;
  box-shadow: 0 12px 24px rgba(20, 22, 28, .16);
}

.wired-mode-card.active span {
  color: rgba(255, 255, 255, .72);
}

.wired-transfer-form {
  display: grid;
  gap: 9px;
}

.wired-transfer-form label {
  display: grid;
  gap: 6px;
  color: #727780;
  font-size: 11px;
  font-weight: 850;
}

.wired-transfer-form input,
.wired-transfer-form select {
  min-height: 44px;
  border: 1px solid rgba(60, 60, 67, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  color: #20232a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
  outline: none;
}

.wired-transfer-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: #3d424b !important;
}

.wired-transfer-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

.wired-transfer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 88px;
  gap: 8px;
  margin-top: 12px;
}

.wired-transfer-actions button {
  min-height: 42px;
  border-radius: 14px;
  font-weight: 900;
}

.wired-transfer-log {
  display: grid;
  gap: 8px;
}

.wired-transfer-empty {
  padding: 14px;
  border-radius: 16px;
  color: #7a8089;
  background: rgba(247, 248, 250, .86);
  font-size: 12px;
  line-height: 1.55;
}

.wired-log-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(60, 60, 67, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

.wired-log-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #343740, #111217);
  font-size: 13px;
  font-weight: 900;
}

.wired-log-row b,
.wired-log-row span {
  display: block;
}

.wired-log-row b {
  color: #20232a;
  font-size: 12px;
  line-height: 1.25;
}

.wired-log-row span {
  margin-top: 4px;
  color: #777d86;
  font-size: 10px;
  line-height: 1.35;
}

.wired-log-row em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #3d424b;
  background: rgba(242, 244, 248, .94);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .wired-mode-grid,
  .wired-transfer-stats {
    grid-template-columns: 1fr;
  }

  .wired-transfer-actions {
    grid-template-columns: 1fr;
  }
}

/* 2026-08 AI assistant button restore: A02 is the canonical app-wide style.
   Keep this block at the end so photographer/merchant themes cannot expose
   the older blue-purple technology orb image again. */
.ai-nav-item,
.ai-nav-item.active,
body.merchant-theme .ai-nav-item,
body.merchant-theme .ai-nav-item.active {
  overflow: visible !important;
  color: #34353a !important;
  background: transparent !important;
  isolation: isolate !important;
}

.ai-nav-orb,
body.merchant-theme .ai-nav-orb,
html.miniapp-webview .bottom-nav .ai-nav-orb {
  position: relative !important;
  display: block !important;
  width: 74px !important;
  height: 58px !important;
  margin-top: -29px !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .95) 0 16%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(233, 236, 242, .82) 54%, rgba(209, 214, 224, .72)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -10px 18px rgba(150, 158, 174, .16),
    0 11px 24px rgba(56, 60, 70, .16),
    0 0 0 5px rgba(255, 255, 255, .50) !important;
  contain: layout style !important;
  transform: translateZ(0) !important;
  will-change: transform, filter !important;
}

.ai-nav-orb-image,
body.merchant-theme .ai-nav-orb-image,
html.performance-webview .ai-nav-orb-image,
html.miniapp-webview .ai-nav-orb-image {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
  filter: none !important;
}

.ai-nav-orb::before,
.ai-nav-orb::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  pointer-events: none !important;
  border-radius: 50% !important;
}

.ai-nav-orb::before {
  width: 52px !important;
  height: 52px !important;
  border: 1px solid rgba(255, 255, 255, .86) !important;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96) 0 15%, rgba(255, 255, 255, .30) 30%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 68% 70%, rgba(129, 137, 151, .26) 0 10%, rgba(129, 137, 151, 0) 26%),
    conic-gradient(from 220deg, rgba(255, 255, 255, .62), rgba(191, 197, 208, .44), rgba(247, 248, 250, .92), rgba(148, 158, 174, .38), rgba(255, 255, 255, .62)),
    linear-gradient(135deg, #f8f9fb 0%, #d8dde6 48%, #bfc5d0 100%) !important;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, .78),
    inset 0 -5px 9px rgba(116, 124, 139, .18),
    0 3px 8px rgba(82, 88, 102, .16) !important;
  transform: translate(-50%, -50%) !important;
}

.ai-nav-orb::after {
  width: 34px !important;
  height: 34px !important;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .86) 0 18%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(143, 152, 168, .18)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .48),
    7px 8px 0 -5px rgba(126, 134, 149, .28) !important;
  opacity: .88 !important;
  transform: translate(-50%, -50%) !important;
}

.ai-nav-item > span:last-child,
body.merchant-theme .ai-nav-item > span:last-child {
  margin-top: -1px !important;
  color: #34353a !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.ai-nav-item.holding .ai-nav-orb,
.ai-nav-item[data-ai-state="listening"] .ai-nav-orb {
  animation: ai-a02-soft-breath 1.04s ease-in-out infinite !important;
  border-color: rgba(255, 255, 255, .96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -10px 18px rgba(150, 158, 174, .16),
    0 12px 28px rgba(82, 88, 102, .18),
    0 0 0 7px rgba(225, 230, 238, .44) !important;
}

.ai-nav-item[data-ai-state="thinking"] .ai-nav-orb {
  animation: ai-a02-soft-thinking 1.5s ease-in-out infinite !important;
}

.ai-nav-item[data-ai-state="speaking"] .ai-nav-orb {
  animation: ai-a02-soft-speak 1.12s ease-in-out infinite !important;
}

.ai-nav-item.holding .ai-nav-orb::before,
.ai-nav-item[data-ai-state="listening"] .ai-nav-orb::before,
.ai-nav-item[data-ai-state="thinking"] .ai-nav-orb::before,
.ai-nav-item[data-ai-state="speaking"] .ai-nav-orb::before {
  filter: brightness(1.04) saturate(.86) !important;
}

/* 社群文化 · 关注动态流 */
body.social-active .focus-home,
body.social-active .focus-content {
  display: none !important;
}

body.social-active .home-view-switch {
  right: auto !important;
  left: 50% !important;
  width: 238px !important;
  height: 42px !important;
  padding: 4px !important;
  transform: translateX(-50%);
}

body.social-active .home-view-switch button {
  width: 76px !important;
  height: 34px !important;
  border-radius: 13px !important;
  outline: none !important;
  color: #64656b !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 34px !important;
}

body.social-active .home-view-switch button.active {
  color: #1d1e22 !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 2px 6px rgba(25,25,29,.07) !important;
}

.home-social-view {
  display: none;
  width: min(100%, 680px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(50px, calc(env(safe-area-inset-top) + 48px)) 0 calc(var(--nav-height) + var(--nav-safe-bottom) + 34px);
  color: #17181b;
  background: #fbfbfc;
}

.home-social-view.show {
  display: block;
}

.community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 0 14px;
}

.community-head small {
  display: none;
  margin-bottom: 3px;
  color: #9a9ba1;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .14em;
}

.community-head h2 {
  margin: 0;
  color: #17181b;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: -.04em;
}

.community-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-head-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e4e5e9;
  border-radius: 20px;
  color: #222329;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(25,25,29,.05);
}

.community-head-actions button svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.community-head-actions .community-publish {
  gap: 6px;
  font-size: 13px;
  font-weight: 720;
}

body.social-active #communitySearch {
  position: fixed;
  z-index: 88;
  top: max(11px, env(safe-area-inset-top));
  right: 10px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.community-tabs {
  position: sticky;
  z-index: 5;
  top: max(50px, calc(env(safe-area-inset-top) + 48px));
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 14px;
  border-bottom: 1px solid #ececef;
  background: rgba(251,251,252,.92);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.community-tabs button {
  position: relative;
  height: 40px;
  padding: 0 1px;
  border: 0;
  color: #87888e;
  background: transparent;
  font-size: 15px;
  font-weight: 620;
}

.community-tabs button.active {
  color: #17181b;
  font-weight: 760;
}

.community-tabs button.active::after {
  position: absolute;
  right: 2px;
  bottom: -1px;
  left: 2px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #24252a;
  content: "";
}

.community-feed {
  background: #fff;
}

.community-post {
  border-bottom: 8px solid #f3f3f5;
  background: #fff;
}

.community-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 10px;
}

.community-author-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ececef;
  border-radius: 50%;
  background: #f2f2f4;
}

.community-author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-author-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.community-author-line {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.community-author-line b {
  overflow: hidden;
  color: #1b1c20;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: #cfa12b;
  font-size: 9px;
  font-weight: 850;
}

.community-role {
  color: #96979d;
  font-size: 11px;
  white-space: nowrap;
}

.community-author-copy > span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #8b8c92;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-book,
.community-follow,
.community-more {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid #e4e5e8;
  border-radius: 17px;
  color: #34353a;
  background: #fafafc;
  font-size: 11px;
  font-weight: 700;
}

.community-book { padding: 0 11px; }
.community-follow { min-width: 58px; padding: 0 12px; }
.community-follow.active { color: #76777d; background: #f1f1f3; }
.community-more { width: 32px; padding: 0; border-color: transparent; background: transparent; }
.community-more svg { width: 18px; height: 18px; }

.community-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ececef;
}

.community-photo-button img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 28%;
}

.community-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 7px 9px 4px;
}

.community-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 38px;
  padding: 0 5px;
  border: 0;
  color: #303137;
  background: transparent;
  font-size: 12px;
}

.community-actions button svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.community-actions button.active {
  color: #b24a52;
}

.community-actions button.active svg {
  fill: currentColor;
}

.community-post-copy {
  padding: 0 15px 14px;
}

.community-caption {
  margin: 2px 0 8px;
  color: #303137;
  font-size: 14px;
  line-height: 1.62;
}

.community-caption b {
  margin-right: 7px;
  color: #1d1e22;
}

.community-mention {
  display: inline;
  margin: 0 2px;
  padding: 0;
  border: 0;
  color: #406875;
  background: transparent;
  font: inherit;
  font-weight: 720;
  line-height: inherit;
  vertical-align: baseline;
}

.community-mention:active {
  opacity: .62;
}

/* 出片圣地 · 双列目录与用户投稿 */
.spot-directory-page.nearby-spots-page {
  overflow-x: hidden;
  overflow-y: auto;
  color: #202126;
  background:
    radial-gradient(circle at 100% 0, rgba(230, 234, 241, .72), transparent 30%),
    linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
  box-shadow: none;
}

.spot-directory-header {
  position: sticky;
  z-index: 8;
  top: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 16px 10px;
  border-bottom: 1px solid rgba(28, 30, 36, .07);
  background: rgba(251, 251, 252, .88);
  backdrop-filter: blur(24px) saturate(1.2);
}

.spot-directory-back {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(30, 31, 35, .08);
  border-radius: 50%;
  color: #222329;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 5px 14px rgba(28, 30, 36, .06);
  font-size: 23px;
  line-height: 1;
}

.spot-directory-header h1 {
  margin: 0;
  color: #1c1d21;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -.02em;
}

.spot-directory-header span {
  display: block;
  margin-top: 3px;
  color: #8d8e94;
  font-size: 11px;
}

.spot-directory-add {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid rgba(31, 32, 37, .08);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #5b5e65, #1f2025);
  box-shadow: 0 8px 18px rgba(27, 29, 34, .18), inset 0 1px 0 rgba(255,255,255,.25);
  font-size: 12px;
  font-weight: 740;
}

.spot-directory-add svg { width: 15px; height: 15px; }

.spot-directory-tabs {
  position: sticky;
  z-index: 7;
  top: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 14px;
  border-bottom: 1px solid rgba(28, 30, 36, .07);
  background: rgba(250, 250, 251, .94);
  backdrop-filter: blur(20px);
}

.spot-directory-tabs button {
  position: relative;
  height: 43px;
  padding: 0;
  border: 0;
  color: #92939a;
  background: transparent;
  font-size: 13px;
  font-weight: 680;
}

.spot-directory-tabs button.active { color: #202126; font-weight: 800; }
.spot-directory-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: #24252a;
  transform: translateX(-50%);
}

.spot-directory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px 10px;
}

.spot-directory-summary b { color: #2b2c31; font-size: 13px; }
.spot-directory-summary span { color: #9b9ca1; font-size: 10px; }

.spot-directory-page .spot-directory-grid.nearby-spots-track {
  width: min(100%, 840px);
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 0 14px calc(var(--nav-height) + var(--nav-safe-bottom) + 28px);
  overflow: visible;
  scroll-snap-type: none;
}

.spot-directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 30, 36, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 9px 24px rgba(24, 27, 32, .065);
}

.spot-directory-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.22;
  overflow: hidden;
  background: #e9eaed;
}

.spot-directory-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.94) contrast(1.025) brightness(.995);
}

.spot-directory-environment {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 11px;
  background: #ececef;
  box-shadow: 0 5px 14px rgba(20,22,26,.2);
}

.spot-directory-environment img { width: 100%; height: 100%; object-fit: cover; }
.spot-directory-environment img { filter: saturate(.9) contrast(1.03); }

.spot-directory-type {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 8px;
  color: #fff;
  background: rgba(25, 26, 30, .64);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 760;
}

.spot-directory-favorite {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #292a2f;
  background: rgba(255,255,255,.88);
  font-size: 17px;
}

.spot-directory-copy { padding: 10px 10px 11px; }
.spot-directory-copy h2 {
  margin: 0;
  overflow: hidden;
  color: #232429;
  font-size: 14px;
  font-weight: 790;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spot-directory-copy p {
  min-height: 35px;
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: #73747a;
  font-size: 10px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spot-directory-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #8a8b91;
  font-size: 9px;
  white-space: nowrap;
}

.spot-directory-meta b { color: #4d4f55; font-size: 10px; }
.spot-directory-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b5b6bb; }
.spot-directory-empty { grid-column: 1 / -1; padding: 54px 20px; color: #8c8d93; text-align: center; }

.add-spot-page { background: #f5f6f8; }
.add-spot-page-head { padding-top: max(12px, env(safe-area-inset-top)); }
.add-spot-page .page-title h1 { font-size: 21px; }
.add-spot-body { width: min(100%, 760px); margin: 0 auto; padding: 14px 14px 70px; }

.add-spot-section {
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid rgba(31, 33, 38, .07);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 9px 24px rgba(24,27,32,.045);
}

.add-spot-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.add-spot-section-title small { display: block; color: #a2a3a8; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.add-spot-section-title h2 { margin: 3px 0 0; color: #25262b; font-size: 16px; }
.add-spot-section-title > span { color: #8f9095; font-size: 10px; }

.add-spot-map {
  position: relative;
  width: 100%;
  height: 170px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: #e6e9ed;
}

.add-spot-map > img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.76) brightness(1.04); }
.add-spot-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(16,18,22,.34)); }
.add-spot-map-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.92);
  border-radius: 50%;
  color: #fff;
  background: #303238;
  box-shadow: 0 8px 20px rgba(28,30,34,.24);
  transform: translate(-50%, -50%);
}
.add-spot-map-pin svg { width: 20px; height: 20px; }
.add-spot-map strong { position: absolute; z-index: 2; right: 12px; bottom: 11px; color: #fff; font-size: 12px; }
.add-spot-location { margin: 9px 2px 0; color: #73747a; font-size: 11px; }

.add-spot-field { display: block; margin-top: 11px; }
.add-spot-field:first-of-type { margin-top: 0; }
.add-spot-field > span,
.add-spot-option-grid label > span { display: block; margin-bottom: 6px; color: #56575d; font-size: 11px; font-weight: 720; }
.add-spot-field input,
.add-spot-field textarea,
.add-spot-option-grid select {
  width: 100%;
  border: 1px solid #e5e6e9;
  border-radius: 12px;
  outline: none;
  color: #28292e;
  background: #f8f8fa;
  font: inherit;
  font-size: 13px;
}
.add-spot-field input { height: 44px; padding: 0 12px; }
.add-spot-field textarea { padding: 11px 12px; line-height: 1.55; resize: none; }
.add-spot-field input:focus,
.add-spot-field textarea:focus,
.add-spot-option-grid select:focus { border-color: #92949b; background: #fff; box-shadow: 0 0 0 3px rgba(86,88,95,.08); }

.add-spot-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.add-spot-option-grid select { height: 42px; padding: 0 10px; }

.add-spot-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.add-spot-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: .92;
  padding: 0;
  overflow: hidden;
  border: 1px dashed #cfd1d6;
  border-radius: 14px;
  color: #5f6066;
  background: #f7f8f9;
}
.add-spot-photo > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.add-spot-photo > span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; }
.add-spot-photo svg { width: 25px; height: 25px; color: #777980; }
.add-spot-photo b { color: #44454a; font-size: 12px; }
.add-spot-photo small { color: #96979d; font-size: 9px; line-height: 1.45; }
.add-spot-photo-note { margin: 9px 2px 0; color: #96979d; font-size: 9px; line-height: 1.55; }
.add-spot-submit { width: 100%; min-height: 48px; border-radius: 15px; }

.spot-access-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 2px;
}

.spot-access-summary span {
  padding: 6px 8px;
  border: 1px solid rgba(42, 44, 49, .07);
  border-radius: 9px;
  color: #66686e;
  background: #f6f7f8;
  font-size: 9px;
  font-weight: 680;
}

.spot-access-summary span.warning {
  color: #9a4b40;
  background: #fff3f0;
}

.spot-access-notice {
  margin: 8px 0 2px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #78605b;
  background: #fff7f2;
  font-size: 10px;
  line-height: 1.55;
}

@media (min-width: 700px) {
  .spot-directory-header,
  .spot-directory-tabs,
  .spot-directory-summary { padding-right: max(24px, calc((100vw - 840px) / 2)); padding-left: max(24px, calc((100vw - 840px) / 2)); }
  .spot-directory-media { aspect-ratio: 1.5; }
  .spot-directory-copy h2 { font-size: 17px; }
  .spot-directory-copy p { font-size: 12px; }
}

.community-comment-count {
  display: inline-block;
  margin-bottom: 7px;
  color: #a0a1a6;
  font-size: 12px;
}

.community-comment {
  display: flex;
  gap: 7px;
  margin-top: 6px;
  color: #4d4e54;
  font-size: 12px;
  line-height: 1.5;
}

.community-comment b {
  flex: 0 0 auto;
  color: #222329;
}

.community-time {
  display: block;
  margin-top: 9px;
  color: #b0b1b6;
  font-size: 11px;
}

.community-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 10px;
}

.community-comment-form input {
  min-width: 0;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #e5e6e9;
  border-radius: 19px;
  color: #24252a;
  background: #f8f8fa;
  font-size: 13px;
}

.community-comment-form button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 19px;
  color: #fff;
  background: #2b2c31;
  font-size: 12px;
  font-weight: 720;
}

.community-empty {
  min-height: 420px;
  padding: 100px 28px;
  text-align: center;
  background: #fbfbfc;
}

.community-empty svg {
  width: 40px;
  height: 40px;
  color: #a1a2a7;
  stroke-width: 1.3;
}

.community-empty h3 { margin: 15px 0 6px; font-size: 18px; }
.community-empty p { margin: 0 0 18px; color: #888990; font-size: 13px; }
.community-empty button { height: 40px; padding: 0 18px; border: 0; border-radius: 20px; color: #fff; background: #292a2f; font-weight: 720; }

.community-publish-page {
  background: #f7f7f9;
}

.community-publish-page .page-body {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 16px 16px 34px;
}

.community-publish-preview {
  display: block;
  width: 100%;
  min-height: 310px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e3e6;
  border-radius: 22px;
  color: #55565c;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28,29,33,.06);
}

.community-publish-preview > img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #eeeeF1;
}

.community-publish-preview > span {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 80px 24px;
}

.community-publish-preview svg { width: 34px; height: 34px; stroke-width: 1.4; }
.community-publish-preview b { font-size: 16px; }
.community-publish-preview small { color: #96979d; font-size: 12px; font-weight: 500; }

.community-publish-field {
  display: block;
  margin-top: 16px;
}

.community-publish-field > span {
  display: block;
  margin: 0 0 7px 2px;
  color: #55565d;
  font-size: 12px;
  font-weight: 700;
}

.community-publish-field textarea,
.community-publish-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #e2e3e7;
  border-radius: 15px;
  color: #222329;
  background: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
}

.community-publish-field textarea { resize: vertical; }

.community-publish-permission {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 2px;
  color: #66676d;
  font-size: 12px;
  line-height: 1.5;
}

.community-publish-permission input { margin-top: 2px; accent-color: #2c2d32; }

.community-publish-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: #292a2f;
  box-shadow: 0 8px 18px rgba(30,31,35,.16);
  font-size: 15px;
  font-weight: 760;
}

.community-publish-note {
  margin: 11px 6px 0;
  color: #a0a1a6;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 720px) {
  .home-social-view {
    padding-top: 58px;
    box-shadow: 0 0 0 1px rgba(30,31,35,.035);
  }

  .community-head { padding-right: 24px; padding-left: 24px; }
  .community-tabs { padding-right: 24px; padding-left: 24px; }
  .community-post-head { padding-right: 22px; padding-left: 22px; }
  .community-post-copy { padding-right: 22px; padding-left: 22px; }
}

@media (max-width: 390px) {
  .community-head { padding-right: 12px; padding-left: 12px; }
  .community-tabs { padding-right: 12px; padding-left: 12px; gap: 24px; }
  .community-post-head { padding-right: 10px; padding-left: 10px; gap: 8px; }
  .community-book { padding: 0 8px; }
  .community-follow { min-width: 52px; padding: 0 9px; }
}

/* Photographer application communication and delivery commitment */
.application-delivery-summary {
  margin-top: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(42, 43, 48, .08);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,245,247,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 7px 18px rgba(32,33,37,.045);
}

.application-delivery-summary.has-record {
  border-color: rgba(45, 47, 53, .13);
  background: linear-gradient(145deg, #ffffff, #f0f1f4);
}

.application-delivery-head,
.application-delivery-head > span {
  display: flex;
  align-items: center;
}

.application-delivery-head {
  justify-content: space-between;
  gap: 10px;
}

.application-delivery-head > span { gap: 8px; }

.application-delivery-head i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #565861, #24252a);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 4px 9px rgba(31,32,36,.16);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.application-delivery-head b {
  color: #26272c;
  font-size: 13px;
  font-weight: 780;
}

.application-delivery-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #73747a;
  background: #ececef;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
}

.application-delivery-status.sent { color: #765923; background: #f4ead5; }
.application-delivery-status.confirmed { color: #355f54; background: #e2eeea; }
.application-delivery-status.change { color: #8a4b3d; background: #f5e5e0; }

.application-delivery-summary > p {
  margin: 8px 0 0;
  color: #818288;
  font-size: 11px;
  line-height: 1.5;
}

.application-delivery-chips {
  display: flex;
  gap: 6px;
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.application-delivery-chips::-webkit-scrollbar { display: none; }

.application-delivery-chips span {
  flex: 0 0 auto;
  max-width: 135px;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid rgba(44,45,50,.07);
  border-radius: 9px;
  color: #5e6067;
  background: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-card .applicant-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
}

.photographer-application-actions {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr) !important;
}

.applicant-actions button {
  width: 100%;
  min-width: 0;
  padding-inline: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.applicant-actions button:disabled {
  color: #a4a5aa;
  background: #f1f1f3;
  border-color: #e5e5e8;
  box-shadow: none;
  opacity: 1;
}

#deliveryStandardModal .delivery-fallback-sheet {
  box-sizing: border-box;
  color: #292a2f;
  background: #f8f8f9;
}

#deliveryStandardModal .delivery-fallback-head h2 {
  color: #292a2f;
  font-family: inherit;
  font-weight: 780;
}

#deliveryStandardModal .delivery-fallback-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

#deliveryStandardModal .delivery-fallback-form label {
  min-width: 0;
}

#deliveryStandardModal .delivery-fallback-form input,
#deliveryStandardModal .delivery-fallback-form select,
#deliveryStandardModal .delivery-fallback-form textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#deliveryStandardModal .delivery-count-control {
  position: relative;
  width: 100%;
}

#deliveryStandardModal .delivery-count-control input {
  padding-right: 42px;
}

#deliveryStandardModal .delivery-count-control > span {
  position: absolute;
  top: 50%;
  right: 11px;
  color: #777980;
  font-size: 11px;
  font-weight: 720;
  transform: translateY(-50%);
  pointer-events: none;
}

#deliveryStandardModal .delivery-count-control.is-auto input {
  color: #4f5158;
  background: #edeef1;
  font-weight: 760;
}

#deliveryStandardModal .delivery-count-control.is-auto > span {
  padding: 3px 6px;
  border-radius: 999px;
  color: #666870;
  background: rgba(255,255,255,.76);
  font-size: 9px;
}

#deliveryStandardModal .delivery-field-rule {
  color: #98999f;
  font-size: 9px;
  font-weight: 560;
  line-height: 1.35;
}

#deliveryStandardModal [data-delivery-customer-field]:not(:disabled) {
  border-color: rgba(50, 104, 190, .34);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(63, 123, 218, .07);
}

@media (max-width: 360px) {
  .apply-card .applicant-actions { gap: 6px; }
  .apply-card .applicant-actions button { font-size: 11px; }
}

/* 2026-08 app-wide button color audit.
   B06 pearl-silver is the shared action language; chromatic color is reserved
   for destructive/emergency actions and the rating stars. */
:root {
  --pb-button-primary-bg: linear-gradient(180deg, #ffffff 0%, #f2f3f6 48%, #d9dce3 100%);
  --pb-button-primary-bg-hover: linear-gradient(180deg, #ffffff 0%, #eceef2 48%, #cfd3db 100%);
  --pb-button-secondary-bg: rgba(255, 255, 255, .92);
  --pb-button-selected-bg: linear-gradient(180deg, #f7f7f9 0%, #e4e6eb 100%);
  --pb-button-ink: #23242a;
  --pb-button-muted: #5b5c63;
  --pb-button-border: rgba(60, 60, 67, .14);
  --pb-button-border-strong: rgba(60, 60, 67, .24);
  --pb-button-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 8px 18px rgba(68,72,84,.13);
}

/* Main actions — one consistent porcelain control on every customer,
   photographer and merchant page. */
body :where(
  .primary,
  button.primary,
  .main-cta,
  .settings-save-btn,
  .inspiration-book,
  .merchant-number-save,
  .merchant-price-btn,
  .chat-send,
  .social-primary,
  .login-submit,
  .weather-subscription-save,
  .community-publish-submit,
  .community-comment-form button,
  .community-empty button,
  .customer-photo-button,
  .photographer-home-actions button,
  #closeWeatherAlerts,
  .delivery-submit,
  .delivery-fallback-submit,
  .delivery-actions .confirm,
  .ai-dock-actions button:first-child,
  .paibei-ai-fab
) {
  border: 1px solid var(--pb-button-border) !important;
  color: var(--pb-button-ink) !important;
  background: var(--pb-button-primary-bg) !important;
  box-shadow: var(--pb-button-shadow) !important;
  text-shadow: none !important;
}

body :where(
  .primary,
  button.primary,
  .main-cta,
  .settings-save-btn,
  .inspiration-book,
  .merchant-number-save,
  .merchant-price-btn,
  .chat-send,
  .social-primary,
  .login-submit,
  .weather-subscription-save,
  .community-publish-submit,
  .customer-photo-button,
  .photographer-home-actions button,
  #closeWeatherAlerts,
  .delivery-submit,
  .delivery-fallback-submit,
  .delivery-actions .confirm,
  .ai-dock-actions button:first-child,
  .paibei-ai-fab
) :where(svg, i, span, b, strong) {
  color: var(--pb-button-ink) !important;
  stroke: currentColor !important;
}

body :where(
  .primary,
  .main-cta,
  .settings-save-btn,
  .login-submit,
  .weather-subscription-save,
  .community-publish-submit,
  .customer-photo-button,
  .photographer-home-actions button,
  .delivery-submit,
  .delivery-fallback-submit
):hover:not(:disabled) {
  border-color: var(--pb-button-border-strong) !important;
  background: var(--pb-button-primary-bg-hover) !important;
}

/* Secondary, upload, search and compact actions. */
body :where(
  .soft-btn,
  .outline-btn,
  .mini-action,
  .global-search-submit,
  .home-nearby-recent,
  .weather-current-top button,
  .weather-section-head button,
  .review-tag,
  .tip-quick-grid button,
  .photographer-settings-btn,
  .merchant-type-grid button,
  .merchant-editor-head button,
  .album-tools button,
  .ai-quick-prompts button,
  #openSocialAssistantFromAi,
  .job-accept,
  .ai-dock-actions button,
  .ai-dock-hold,
  .ai-dock-keyboard,
  .delivery-close,
  .delivery-fallback-close,
  .delivery-fallback-request,
  .delivery-request,
  .delivery-trigger,
  .delivery-quick-row .delivery-trigger,
  .delivery-multi-option,
  .chat-profile-close,
  #togglePhotoUploadSelect,
  #merchantMainImagePick,
  #merchantDetailImagesPick
) {
  border-color: var(--pb-button-border) !important;
  color: var(--pb-button-ink) !important;
  background-color: var(--pb-button-secondary-bg) !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Selection is expressed with depth and contrast, not a new hue. */
body :where(
  .seg button.active,
  .shop-tabs button.active,
  .shop-filter button.active,
  .sku-options button.active,
  .photographer-status-btn.active,
  .order-tabs button.active,
  .global-search-chip.active,
  .register-chip.active,
  .settings-chip.active,
  .service-btn.active,
  .map-mode-btn.active,
  .home-view-switch button.active,
  .global-search-tabs button.active,
  .album-tools button.active,
  .merchant-type-grid button.active,
  .rating-select button.active,
  .ai-mode-card.active,
  .spot-time-tab.active,
  .review-tag.active,
  .review-tag.selected,
  .wired-mode-card.active,
  .delivery-multi-option:has(input:checked)
) {
  border-color: var(--pb-button-border-strong) !important;
  color: var(--pb-button-ink) !important;
  background: var(--pb-button-selected-bg) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 4px 10px rgba(68,72,84,.08) !important;
  text-shadow: none !important;
}

body :where(
  .service-btn.active,
  .rating-select button.active,
  .ai-mode-card.active,
  .wired-mode-card.active,
  .delivery-multi-option:has(input:checked)
) :where(svg, i, span, b, strong) {
  color: var(--pb-button-ink) !important;
  stroke: currentColor !important;
}

/* Favorite controls may use an icon image, so only their material color is
   reset and the image itself is left intact. */
body :where(.favorite-toggle, .spot-story-save) {
  border-color: var(--pb-button-border) !important;
  color: var(--pb-button-ink) !important;
  background-color: rgba(255,255,255,.88) !important;
}

body #openSocialAssistantFromAi {
  border-color: var(--pb-button-border) !important;
  color: var(--pb-button-ink) !important;
  background: var(--pb-button-secondary-bg) !important;
  box-shadow: none !important;
}

/* The assistant's full-page voice orb uses the same A02 mist-silver material
   as the bottom navigation assistant control. */
.ai-siri-orb {
  border: 1px solid rgba(255,255,255,.90) !important;
  color: #34353a !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.98) 0 17%, rgba(255,255,255,0) 38%),
    linear-gradient(145deg, #fafbfc 0%, #d9dde5 52%, #b9c0cb 100%) !important;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.88),
    inset 0 -7px 12px rgba(118,126,141,.18),
    0 10px 26px rgba(61,65,75,.18) !important;
}

.ai-siri-orb::after {
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.90), rgba(255,255,255,.12) 35%, rgba(101,108,122,.16) 74%) !important;
}

.ai-siri-orb span { color: #34353a !important; }

/* Destructive and emergency actions keep their semantic red; every other
   historical blue, green or orange action is neutralized above. */
body :where(.danger, .order-delete-btn, .viewer-delete, .safety-alert-bottom) {
  color: var(--pb-danger) !important;
  border-color: rgba(162,59,59,.28) !important;
  background-color: rgba(162,59,59,.07) !important;
}

body :where(.viewer-delete) {
  color: #fff !important;
  background-color: rgba(162,59,59,.88) !important;
}

body :where(button, [role="button"]):focus-visible {
  outline-color: rgba(60,60,67,.28) !important;
}

/* 2026-08 rental price color alignment.
   Clothes and camera rentals share these components; prices use the same
   graphite hierarchy as the rest of the pearl-silver product theme. */
body :where(
  #clothesPage,
  #clothesDetailPage,
  .home-service-panel-clothes,
  .home-service-panel-camera
) :where(
  .clothes-price,
  .detail-price-row b,
  .detail-price-row strong,
  .clothes-summary b,
  .clothes-summary strong
) {
  color: var(--pb-ink-soft) !important;
}

body :where(
  #clothesPage,
  #clothesDetailPage,
  .home-service-panel-clothes,
  .home-service-panel-camera
) :where(
  .clothes-price-row small,
  .detail-price-row small
) {
  color: var(--pb-muted) !important;
}

body #clothesDetailPage .clothes-summary > div:last-child strong {
  color: var(--pb-ink) !important;
}

/* Shooting spot viewpoints — one selected camera position with practical
   guidance and role-labelled field photos. */
#spotPage .spot-viewpoint-section {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--pb-line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(244,244,247,.96));
  box-shadow: 0 12px 30px rgba(30,31,36,.07), inset 0 1px 0 rgba(255,255,255,.95);
}

#spotPage .spot-viewpoint-head,
#spotPage .spot-viewpoint-photo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

#spotPage .spot-viewpoint-head > div > span {
  display: block;
  margin-bottom: 3px;
  color: var(--pb-muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .1em;
}

#spotPage .spot-viewpoint-head h2,
#spotPage .spot-viewpoint-photo-head h3 {
  margin: 0;
  color: var(--pb-ink);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.02em;
}

#spotPage .spot-viewpoint-head > b {
  padding: 5px 9px;
  border: 1px solid var(--pb-line);
  border-radius: 999px;
  color: var(--pb-muted-strong);
  background: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

#spotPage .spot-viewpoint-selector {
  display: flex;
  gap: 8px;
  margin: 12px -16px 0;
  padding: 0 16px 3px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

#spotPage .spot-viewpoint-selector::-webkit-scrollbar { display: none; }

#spotPage .spot-viewpoint-chip {
  width: 154px;
  min-width: 154px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 4px;
  overflow: hidden;
  border: 1px solid rgba(60,60,67,.10);
  border-radius: 16px;
  color: var(--pb-muted-strong);
  background: rgba(255,255,255,.72);
  box-shadow: none;
  text-align: left;
  scroll-snap-align: start;
}

#spotPage .spot-viewpoint-chip img {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}

#spotPage .spot-viewpoint-chip span,
#spotPage .spot-viewpoint-chip b,
#spotPage .spot-viewpoint-chip small { display: block; min-width: 0; }

#spotPage .spot-viewpoint-chip b {
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#spotPage .spot-viewpoint-chip small {
  margin-top: 4px;
  color: var(--pb-muted);
  font-size: 8px;
  font-weight: 520;
}

#spotPage .spot-viewpoint-chip.active {
  border-color: rgba(34,35,40,.28) !important;
  color: #fff !important;
  background: linear-gradient(145deg, #55575e, #1e1f24) !important;
  box-shadow: 0 9px 20px rgba(27,28,33,.18) !important;
}

#spotPage .spot-viewpoint-chip.active small { color: rgba(255,255,255,.68); }

#spotPage .spot-viewpoint-guide {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--pb-line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
}

#spotPage .spot-viewpoint-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(150deg, #666971, #232429);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 7px 16px rgba(30,31,36,.16);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: .04em;
}

#spotPage .spot-viewpoint-guide-copy { min-width: 0; }
#spotPage .spot-viewpoint-guide-copy > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

#spotPage .spot-viewpoint-guide-copy h3 {
  margin: 0;
  color: var(--pb-ink);
  font-size: 14px;
  font-weight: 760;
}

#spotPage .spot-viewpoint-guide-copy > div:first-child > span {
  color: var(--pb-muted);
  font-size: 9px;
  white-space: nowrap;
}

#spotPage .spot-viewpoint-guide-copy > p {
  margin: 7px 0 0;
  color: var(--pb-muted-strong);
  font-size: 10px;
  line-height: 1.6;
}

#spotPage .spot-viewpoint-guide-copy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
}

#spotPage .spot-viewpoint-guide-copy dl div {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(240,240,243,.88);
}

#spotPage .spot-viewpoint-guide-copy dt,
#spotPage .spot-viewpoint-guide-copy dd { margin: 0; }
#spotPage .spot-viewpoint-guide-copy dt { color: var(--pb-muted); font-size: 7px; }
#spotPage .spot-viewpoint-guide-copy dd {
  margin-top: 3px;
  overflow: hidden;
  color: var(--pb-ink-soft);
  font-size: 9px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#spotPage .spot-viewpoint-photo-head {
  align-items: center;
  margin-top: 15px;
}

#spotPage .spot-viewpoint-photo-head h3 { font-size: 14px; }
#spotPage .spot-viewpoint-photo-head p {
  margin: 3px 0 0;
  color: var(--pb-muted);
  font-size: 8px;
}

#spotPage .spot-viewpoint-upload {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--pb-control-border);
  border-radius: 999px;
  color: var(--pb-control-ink);
  background: var(--pb-gradient-control);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 12px rgba(72,76,88,.12);
  font-size: 9px;
  font-weight: 720;
}

#spotPage .spot-viewpoint-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

#spotPage .spot-viewpoint-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: .82;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: var(--pb-surface-muted);
  box-shadow: none;
}

#spotPage .spot-viewpoint-photo::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(16,17,20,.72));
  pointer-events: none;
}

#spotPage .spot-viewpoint-photo > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}

#spotPage .spot-viewpoint-role {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 999px;
  color: #292a2f;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  font-size: 7px;
  font-weight: 720;
}

#spotPage .spot-viewpoint-role.is-photographer {
  color: #fff;
  background: rgba(35,36,41,.78);
}

#spotPage .spot-viewpoint-photo-copy {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  left: 7px;
  color: #fff;
  text-align: left;
}

#spotPage .spot-viewpoint-photo-copy b,
#spotPage .spot-viewpoint-photo-copy small { display: block; }
#spotPage .spot-viewpoint-photo-copy b {
  overflow: hidden;
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#spotPage .spot-viewpoint-photo-copy small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 7px; }

#spotPage .spot-viewpoint-empty {
  grid-column: 1 / -1;
  padding: 28px 16px;
  border: 1px dashed var(--pb-line-strong);
  border-radius: 14px;
  color: var(--pb-muted);
  background: rgba(255,255,255,.45);
  font-size: 10px;
  text-align: center;
}

#spotPage .spot-viewpoint-note {
  margin: 8px 0 0;
  color: var(--pb-muted);
  font-size: 8px;
  line-height: 1.5;
}

@media (min-width: 720px) {
  #spotPage .spot-viewpoint-section { padding: 20px; }
  #spotPage .spot-viewpoint-selector { margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
  #spotPage .spot-viewpoint-chip { width: 190px; min-width: 190px; }
  #spotPage .spot-viewpoint-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #spotPage .spot-viewpoint-photo { aspect-ratio: .92; }
}

/* Compact screens share one gutter, not a margin plus another inner gutter. */
.content.focus-content .photographer-row .photographer-row-controls .photographer-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  color: var(--pb-ink) !important;
  background: rgba(255, 255, 255, .3) !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.content.focus-content .photographer-row .photographer-nav svg { color: inherit !important; }
.content.focus-content .photographer-row .photographer-nav-prev { left: 2px; }
.content.focus-content .photographer-row .photographer-nav-next { right: 2px; }
.photographer-row { position: relative; min-width: 0; margin-bottom: 18px; }
.photographer-row-viewport { overflow: hidden; }
.content.focus-content .photographer-row .photographer-slide { display: block; }
.photographer-row-controls { position: absolute; inset: 0 0 auto; aspect-ratio: 1.95 / 1; pointer-events: none; }
.photographer-row-controls .photographer-nav { pointer-events: auto; }

@media (max-width: 719px) {
  :root {
    --page-pad: max(clamp(10px, 2.8vw, 14px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .content.focus-content {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--page-pad) !important;
    padding-right: var(--page-pad) !important;
  }
  .page-head, .page-body, .page.tab-screen .page-body {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }
  .hero.focus-home .service-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }
  .focus-map-head, .hero.focus-home .map, .hero.focus-home .actions-card {
    margin-left: var(--page-pad) !important;
    margin-right: var(--page-pad) !important;
  }
  .home-search-trigger {
    width: calc(100% - 138px - 2 * var(--page-pad)) !important;
    margin-left: var(--page-pad) !important;
    margin-right: var(--page-pad) !important;
  }
  .home-view-switch { right: var(--page-pad) !important; }
  #photographerHomePage .photographer-map-shell {
    margin-left: calc(-1 * var(--page-pad));
    margin-right: calc(-1 * var(--page-pad));
  }
}
