:root {
  --bg: #f4f1eb;
  --bg-2: #faf8f4;
  --surface: #ffffff;
  --surface-soft: #f7f4ef;
  --surface-muted: #f1ede5;
  --panel: rgba(255, 255, 255, 0.96);
  --text: #24313a;
  --muted: #667784;
  --line: rgba(36, 49, 58, 0.12);
  --line-strong: rgba(36, 49, 58, 0.18);
  --accent: #7a8f84;
  --accent-deep: #60766c;
  --accent-soft: rgba(122, 143, 132, 0.12);
  --danger: #ba5d5d;
  --success: #4f7a65;
  --shadow: 0 16px 36px rgba(36, 49, 58, 0.06);
  --shadow-soft: 0 10px 22px rgba(36, 49, 58, 0.045);
  --radius: 20px;
  --radius-sm: 14px;
  --input-bg: #fff;
  --page-max: 1160px;
  --vendor-rgb: 122, 143, 132;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--page-max), calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 32px)); }
.section-pad { padding: 42px 0 64px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.nav nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand { font-size: 1.02rem; font-weight: 700; letter-spacing: 0.02em; }
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}
.nav-link:hover { background: var(--surface-muted); color: var(--text); }
.hero {
  display: grid;
  gap: 30px;
  align-items: center;
  padding: 58px 0 40px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
}
.hero-copy p,
.hero-note,
.muted {
  color: var(--muted);
  line-height: 1.7;
}
.hero-copy p { max-width: 52ch; font-size: 1.04rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 143, 132, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--accent-deep); }
.button.small { min-height: 38px; padding: 0 14px; border-radius: 12px; box-shadow: none; }
.button.ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.button.ghost:hover { background: var(--surface-soft); }
.button.danger { background: var(--danger); }
.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.card h1, .card h2, .card h3 { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.form-grid { display: grid; gap: 16px; }
.helper-text { color: var(--muted); font-size: 0.93rem; margin-top: -4px; }
label { display: grid; gap: 8px; font-size: 0.94rem; font-weight: 600; color: var(--muted); }
input, textarea, select {
  width: 100%;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(122, 143, 132, 0.5);
  box-shadow: 0 0 0 4px rgba(122, 143, 132, 0.12);
}
input[type="color"] { min-height: 52px; padding: 8px; cursor: pointer; }
textarea { resize: vertical; }
.slug-row { display: flex; align-items: center; gap: 10px; }
.slug-row span { white-space: nowrap; color: var(--muted); }
.flash {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.flash.error { background: rgba(186, 93, 93, 0.08); border-color: rgba(186, 93, 93, 0.2); }
.flash.success { background: rgba(79, 122, 101, 0.08); border-color: rgba(79, 122, 101, 0.2); }
.dashboard-grid, .admin-grid, .feature-grid, .stats-grid, .detail-grid { display: grid; gap: 22px; }
.card-head, .action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.action-row { justify-content: flex-start; }
.preview-card { position: sticky; top: 92px; height: fit-content; }
.preview-mobile { max-width: 420px; margin: 0 auto; }
.mobile-shell { width: min(100%, 560px); margin: 0 auto; padding: 28px 16px 56px; }
.center { text-align: center; }
.profile-shell, .profile-page-mock { display: grid; gap: 16px; }
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.vendor-hero-shell,
.preview-hero-shell,
.mock-hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(var(--vendor-rgb), 0.16), rgba(var(--vendor-rgb), 0.08)),
    linear-gradient(180deg, #f7f4ef, #efe9df);
  border: 1px solid rgba(var(--vendor-rgb), 0.18);
  box-shadow: var(--shadow);
}
.hero-glow {
  position: absolute;
  inset: -70px -20px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--vendor-rgb), 0.22), rgba(var(--vendor-rgb), 0) 72%);
  pointer-events: none;
}
.hero-band {
  position: absolute;
  inset: 0 0 auto 0;
  height: 124px;
  background:
    linear-gradient(135deg, rgba(var(--vendor-rgb), 0.34), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
}
.hero-content,
.preview-hero-content,
.mock-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 34px;
}
.avatar {
  width: 104px;
  height: 104px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255,255,255,0.92);
  box-shadow: 0 12px 24px rgba(36, 49, 58, 0.1);
}
.avatar.small { width: 84px; height: 84px; }
.profile-title,
.preview-mobile h3,
.mock-hero-content h3,
.profile-shell h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}
.profile-subtitle,
.mock-hero-content p,
.preview-mobile p,
.bio {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.profile-content-card,
.preview-content-card,
.mock-content-card,
.feature-card,
.stat-card {
  background: var(--surface);
  border: 1px solid rgba(36, 49, 58, 0.08);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.link-stack,
.mock-links,
.preview-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.big-link,
.preview-pill,
.mock-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(36, 49, 58, 0.1);
  border-radius: 16px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.profile-view .big-link:hover,
.mock-link:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.preview-pill { min-height: 46px; font-size: 0.95rem; }
.feature-grid { margin-top: 4px; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat-card strong { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.detail-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.kicker {
  margin: 0 0 8px;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(36, 49, 58, 0.08);
  text-align: left;
  vertical-align: top;
}
.data-table th { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.status-pill.on { background: rgba(79, 122, 101, 0.12); color: var(--success); }
.status-pill.off { background: rgba(186, 93, 93, 0.12); color: var(--danger); }
.checkbox-row { grid-template-columns: auto 1fr; align-items: center; }
.checkbox-row input { width: auto; }
.admin-two-col { display: grid; gap: 24px; }
.compact-form { max-width: 360px; }
.reserved-list { display: grid; gap: 10px; }
.reserved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid rgba(36, 49, 58, 0.08);
}
.swatch-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.swatch-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(36, 49, 58, 0.1);
  box-shadow: var(--shadow-soft);
}
.not-found-card { margin-top: 42px; }
.footer-shell {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 0 30px;
}
.footer-copy { color: var(--muted); font-size: 0.94rem; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.site-footer .nav-link { background: var(--surface); border: 1px solid rgba(36, 49, 58, 0.08); }
.site-footer .nav-link:hover { background: var(--surface-soft); }
.section-title { margin-bottom: 6px; }
.home-preview-note { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); }
  .dashboard-grid { grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr); align-items: start; }
  .admin-two-col, .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .card { padding: 22px; }
  .vendor-hero-shell,
  .preview-hero-shell,
  .mock-hero-shell { padding: 20px; }
  .site-footer, .nav { align-items: flex-start; }
}


.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-soft);
}
.account-chip:hover { background: var(--surface); }
.account-chip-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--surface-muted);
  border: 1px solid rgba(36, 49, 58, 0.08);
}
.account-chip-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}
.account-chip-copy strong {
  font-size: 0.92rem;
  color: var(--text);
}
.account-chip-copy span {
  font-size: 0.8rem;
  color: var(--muted);
}
.vendor-home-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 430px);
}
.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 720px;
}
.hero-point {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(36, 49, 58, 0.08);
  border-radius: 16px;
}
.hero-point strong {
  font-size: 0.96rem;
}
.hero-point span {
  color: var(--muted);
  line-height: 1.6;
}
.homepage-mock .mock-links.stacked {
  display: grid;
  gap: 10px;
}
.homepage-mock .mock-link {
  width: 100%;
  justify-content: flex-start;
}
.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .vendor-home-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .account-chip-copy span { display: none; }
  .account-chip { padding-right: 10px; }
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.account-chip-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.95);
}
.account-chip-copy {
  display: grid;
  line-height: 1.1;
}
.account-chip-copy strong { font-size: .92rem; }
.account-chip-copy span { font-size: .78rem; color: var(--muted); }
.two-col-hero { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px); }
.homepage-preview-shell { display: grid; gap: 10px; }
.preview-frame-label {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
}
.homepage-real-preview { max-width: 460px; }
.preview-shell { gap: 14px; }
.preview-shell .vendor-hero-shell { border-radius: 24px; padding: 22px; }
.preview-shell .profile-content-card { padding: 18px; }
.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(36, 49, 58, 0.08);
  color: var(--text);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.muted-link { color: var(--muted); cursor: default; }
.badge-admin-form { display: grid; gap: 10px; min-width: 230px; }
.badge-admin-list { display: grid; gap: 8px; }
.badge-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}
.swatch-row {
  display: grid;
  grid-template-columns: 80px 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0 38px;
  flex-wrap: wrap;
}
.footer-copy, .footer-links { color: var(--muted); }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-points { display: grid; gap: 14px; margin-top: 24px; }
.hero-point {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.hero-point strong { display: block; margin-bottom: 6px; }
@media (max-width: 900px) {
  .two-col-hero, .dashboard-grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(36, 49, 58, 0.08);
  color: var(--text);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: var(--shadow-soft);
}
.trust-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: .9rem;
}
.trust-badge-mini {
  min-height: 30px;
  min-width: 30px;
  padding: 0 8px;
  justify-content: center;
  gap: 0;
}
.trust-badge-mini .trust-badge-icon { width: 16px; height: 16px; }
.trust-badge-verified_vendor { background: #eef6ff; border-color: #d5e6fb; color: #24598a; }
.trust-badge-fast_shipper { background: #eef8f2; border-color: #d4e8db; color: #2d6d4d; }
.trust-badge-trusted_seller { background: #fff7ea; border-color: #f2dfb4; color: #946b00; }
.trust-badge-live_sale_pro { background: #f5efff; border-color: #dfd2ff; color: #6944b7; }
.badge-manager {
  width: min(280px, 100%);
}
.badge-manager summary {
  list-style: none;
  cursor: pointer;
}
.badge-manager summary::-webkit-details-marker { display: none; }
.badge-manager-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.badge-mini-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.badge-manage-link {
  background: var(--surface);
  border: 1px solid var(--line);
}
.badge-admin-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(36, 49, 58, 0.08);
}
.badge-admin-list {
  display: grid;
  gap: 8px;
}
.badge-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(36, 49, 58, 0.06);
}
.badge-option-card input { width: auto; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .badge-manager { width: 100%; }
  .badge-manager-summary { align-items: flex-start; flex-direction: column; }
}


/* Mobile polish patch */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.nav-actions .nav-link,
.nav-actions .button.small {
  min-height: 44px;
}
.preview-card { align-self: start; }

@media (max-width: 900px) {
  .preview-mobile, .homepage-real-preview {
    max-width: 100%;
  }
  .preview-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--page-max), calc(100% - 20px)); }
  .section-pad { padding: 24px 0 42px; }
  .nav {
    padding: 14px 0;
    gap: 12px;
    align-items: center;
  }
  .brand {
    font-size: 0.98rem;
    line-height: 1.2;
  }
  .nav-actions {
    width: 100%;
  }
  .nav-actions-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .nav-actions-guest {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .nav-actions .nav-link,
  .nav-actions .button.small,
  .nav-actions .account-chip {
    width: 100%;
  }
  .nav-actions-auth .nav-link {
    width: auto;
    min-width: 92px;
  }
  .account-chip {
    min-width: 0;
    padding: 7px 10px 7px 7px;
    gap: 10px;
  }
  .account-chip-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  .account-chip-copy {
    min-width: 0;
  }
  .account-chip-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-chip-copy span {
    display: block;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .actions .button,
  .actions .nav-link,
  .action-row .button,
  .action-row .nav-link {
    width: 100%;
  }
  .action-row form {
    flex: 1 1 100%;
  }
  .card,
  .profile-content-card {
    padding: 18px;
    border-radius: 18px;
  }
  .mobile-shell {
    padding: 18px 12px 40px;
  }
  .vendor-hero-shell,
  .preview-hero-shell,
  .mock-hero-shell,
  .preview-shell .vendor-hero-shell {
    padding: 18px;
    border-radius: 22px;
  }
  .profile-title,
  .profile-shell h1,
  .preview-mobile h3 {
    font-size: clamp(1.9rem, 7vw, 2.3rem);
  }
  .profile-subtitle,
  .preview-mobile p {
    font-size: 0.98rem;
  }
  .big-link,
  .preview-pill,
  .mock-link {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 0.98rem;
  }
  .slug-row,
  .swatch-row {
    grid-template-columns: 1fr;
  }
  .slug-row {
    align-items: stretch;
  }
  .slug-row span {
    white-space: normal;
  }
  .swatch-row {
    display: grid;
    gap: 10px;
  }
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }
  .data-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(36, 49, 58, 0.08);
  }
  .data-table td {
    border: 0;
    padding: 8px 0;
  }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .site-footer {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0 28px;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 34px 0 26px; }
  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }
  .hero-copy p {
    font-size: 0.98rem;
  }
  .nav-actions-auth {
    grid-template-columns: 1fr;
  }
  .nav-actions-auth .nav-link {
    width: 100%;
    min-width: 0;
  }
  .nav-actions-guest {
    grid-template-columns: 1fr;
  }
  .badge-row {
    gap: 8px;
  }
  .trust-badge {
    width: 100%;
    justify-content: center;
  }
}

/* Header/mobile CTA cleanup */
.brand {
  display: inline-block;
  max-width: min(56vw, 320px);
  line-height: 1.15;
  text-wrap: balance;
}
.icon-button {
  gap: 10px;
}
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.button-icon svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 720px) {
  .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .brand {
    max-width: min(52vw, 220px);
    font-size: 0.92rem;
  }
  .nav-actions {
    width: auto;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    gap: 8px;
  }
  .nav-actions-guest,
  .nav-actions-auth {
    display: flex;
    align-items: center;
    grid-template-columns: none;
  }
  .nav-actions .nav-link,
  .nav-actions .button.small,
  .nav-actions .account-chip,
  .nav-actions-auth .nav-link {
    width: auto;
    min-width: 0;
  }
  .nav-actions-guest .icon-button {
    justify-content: center;
    min-width: 44px;
    width: 44px;
    padding: 0;
    border-radius: 14px;
  }
  .nav-actions-guest .button-text {
    display: none;
  }
}
@media (max-width: 480px) {
  .brand {
    max-width: min(50vw, 180px);
    font-size: 0.88rem;
  }
  .nav-actions-guest,
  .nav-actions-auth {
    display: flex;
  }
  .nav-actions-guest .icon-button {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
  }
}

/* Dashboard help modal */
.field-label-with-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.help-trigger:hover,
.help-trigger:focus-visible {
  border-color: rgba(15, 23, 42, 0.32);
  transform: translateY(-1px);
}
.modal-open {
  overflow: hidden;
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
}
.help-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: min(80vh, 720px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  padding: 24px 20px 20px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}
.help-modal h2 {
  margin: 0 32px 16px 0;
  font-size: 1.1rem;
}
.help-modal-copy p {
  margin: 0 0 10px;
  line-height: 1.55;
  word-break: break-word;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 640px) {
  .help-trigger {
    width: 28px;
    height: 28px;
  }
  .modal-overlay {
    align-items: flex-end;
    padding: 12px;
  }
  .help-modal {
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 14px 14px;
    padding: 20px 16px 16px;
  }
}


/* Dashboard upgrades */

.dashboard-shell {
  display: grid;
  gap: 22px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
}
.lang-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lang-toggle-btn.is-active {
  background: var(--text);
  color: #fff;
}
.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}
.analytics-band { margin-bottom: 0; width: 100%; }
.analytics-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,244,239,0.96));
}
.compact-head { align-items: flex-start; }
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.metric-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.metric-card strong {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
}
.analytics-cheer {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}
.analytics-cheer.is-hot { background: rgba(79, 122, 101, 0.14); color: #2e5d47; }
.analytics-cheer.is-warm { background: rgba(122, 143, 132, 0.14); color: #496053; }
.analytics-cheer.is-fresh { background: rgba(36,49,58,0.06); color: var(--text); }
.inline-feedback {
  font-size: 0.88rem;
  color: var(--muted);
}
.inline-feedback.is-valid { color: var(--success); }
.inline-feedback.is-invalid { color: var(--danger); }
@media (max-width: 980px) {
  .dashboard-main-grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .analytics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-tools {
    gap: 8px;
  }
  .lang-toggle-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.86rem;
  }
}


.section-heading-stack { display: grid; gap: 6px; }
.section-label { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: rgba(var(--vendor-rgb), 0.12); color: var(--accent-deep); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.payment-priority-card { display: grid; gap: 18px; }
.payment-headline { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; }
.payment-copy { margin: 0; color: var(--muted); }
.alipay-qr-card { display: grid; gap: 16px; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, rgba(var(--vendor-rgb), 0.08), rgba(255,255,255,0.9)); border: 1px solid rgba(var(--vendor-rgb), 0.16); }
.alipay-qr-image, .alipay-qr-thumb { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); margin: 0 auto; }
.alipay-qr-copy { display: grid; gap: 10px; text-align: center; }
.alipay-cta { width: 100%; }
.alipay-empty-state, .fallback-card { display: grid; gap: 10px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.fallback-kicker { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.fallback-actions { display: grid; gap: 12px; }
.paypal-email-readout { padding: 12px 14px; border-radius: 14px; background: var(--surface-soft); border: 1px dashed var(--line); font-weight: 600; word-break: break-all; }
.social-stack { margin-top: 2px; }
.paypal-manual.big-link { background: #f8f8fb; color: var(--text); border: 1px solid var(--line); }
.uploaded-qr-preview { display: grid; gap: 12px; padding: 12px 0 4px; }
.inline-compact { justify-content: start; }
.download-grid { display: grid; gap: 12px; margin: 18px 0 14px; }
.download-card { display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: var(--surface-soft); border: 1px solid var(--line); }
.help-modal-wide { max-width: 680px; }
.steps-copy { display: grid; gap: 8px; }
.field-caption { display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); font-weight: 500; }
@media (min-width: 760px) {
  .alipay-qr-card { grid-template-columns: minmax(220px, 280px) 1fr; align-items: center; }
  .alipay-qr-copy { text-align: left; }
  .download-grid { grid-template-columns: 1fr 1fr; }
}


.homepage-mock { gap: 14px; }
.homepage-mock-hero { min-height: 180px; }
.homepage-mock-content { justify-items: start; align-content: end; text-align: left; padding-top: 48px; }
.homepage-mock-content p { max-width: 30ch; }
.mock-device-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(36,49,58,.08);
  color: var(--accent-deep);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.homepage-mock-card { display: grid; gap: 14px; }
.mock-qr-card {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid rgba(36,49,58,.08);
}
.mock-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(36,49,58,.08);
}
.mock-qr-grid span {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(36,49,58,.10);
}
.mock-qr-grid span.filled { background: var(--text); }
.mock-qr-copy { display: grid; gap: 4px; }
.mock-qr-copy strong { font-size: .96rem; }
.mock-qr-copy span { color: var(--muted); line-height: 1.5; }
.mock-link.subtle {
  background: var(--surface-soft);
  color: var(--muted);
}
@media (max-width: 640px) {
  .mock-qr-card { grid-template-columns: 88px minmax(0,1fr); }
}


/* Homepage preview scale + vibe styles */
.homepage-preview-shell {
  align-self: start;
}
.homepage-real-preview {
  width: min(100%, 320px);
  height: 455px;
  margin: 0 auto;
  padding: 6px 0 0;
  overflow: hidden;
  border-radius: 28px;
}
.homepage-preview-scale {
  transform: scale(.64);
  transform-origin: top center;
  width: 156%;
  margin-left: -28%;
}
.homepage-preview-scale .preview-shell .vendor-hero-shell { padding: 18px; }
.homepage-preview-scale .preview-shell .profile-content-card { padding: 16px; }
.homepage-preview-scale .profile-title { font-size: 1.4rem; }
.homepage-preview-scale .profile-subtitle { font-size: 0.92rem; }
.preview-style-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(var(--vendor-rgb), .12);
  color: rgba(var(--vendor-rgb), 1);
  font-size: .78rem;
  font-weight: 700;
}
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(var(--vendor-rgb), .9), rgba(var(--vendor-rgb), .55));
}
.avatar-initial.small { font-size: 1.6rem; }
.profile-shell {
  position: relative;
  isolation: isolate;
  padding: 14px;
  border-radius: 34px;
  overflow: hidden;
}
.profile-shell > * {
  position: relative;
  z-index: 2;
}
.profile-shell::before,
.profile-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.profile-shell::before {
  inset: -16px;
  border-radius: 38px;
}
.profile-shell::after {
  inset: auto;
}
.preview-shell {
  padding: 10px;
  border-radius: 30px;
}
.preview-shell::before,
.preview-shell::after {
  opacity: .8;
}
.style-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ornament {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, .08));
  opacity: .55;
}
.ornament-preview { opacity: .38; }
.ornament-1 { top: 22px; left: 14px; font-size: 1.15rem; }
.ornament-2 { top: 110px; right: 10px; font-size: 1.4rem; }
.ornament-3 { top: 310px; left: 12px; font-size: 1.2rem; }
.ornament-4 { top: 420px; right: 18px; font-size: 1.3rem; }
.ornament-5 { bottom: 120px; left: 20px; font-size: 1.05rem; }
.ornament-6 { bottom: 28px; right: 14px; font-size: 1.5rem; }
.style-cutesy .ornament,
.style-plant .ornament,
.style-crystal .ornament {
  color: rgba(var(--vendor-rgb), .82);
}
.style-cutesy {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 210, 235, .95), rgba(255,255,255,0) 26%),
    radial-gradient(circle at 88% 14%, rgba(var(--vendor-rgb), .24), rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #fff7fb 0%, #ffeef7 46%, #fff9fd 100%);
}
.style-cutesy::before {
  background:
    radial-gradient(circle at 14% 17%, rgba(255,255,255,.95) 0 7%, rgba(255,255,255,0) 8%),
    radial-gradient(circle at 21% 14%, rgba(255,255,255,.92) 0 6%, rgba(255,255,255,0) 7%),
    radial-gradient(circle at 27% 17%, rgba(255,255,255,.95) 0 7%, rgba(255,255,255,0) 8%),
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 7%),
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.92) 0 5%, rgba(255,255,255,0) 6%),
    radial-gradient(circle at 91% 13%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 7%),
    radial-gradient(circle at 10% 72%, rgba(var(--vendor-rgb), .12) 0 16%, rgba(255,255,255,0) 17%),
    radial-gradient(circle at 88% 78%, rgba(var(--vendor-rgb), .10) 0 15%, rgba(255,255,255,0) 16%);
  opacity: .95;
}
.style-cutesy::after {
  top: 32px;
  right: 14px;
  width: 138px;
  height: 138px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 28% 32%, rgba(255,255,255,.95) 0 13%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 72% 32%, rgba(255,255,255,.95) 0 13%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.96) 0 10%, rgba(255,255,255,0) 11%),
    radial-gradient(circle at 50% 74%, rgba(var(--vendor-rgb), .18) 0 28%, rgba(255,255,255,0) 29%),
    radial-gradient(circle at 34% 82%, rgba(var(--vendor-rgb), .28) 0 11%, rgba(255,255,255,0) 12%),
    radial-gradient(circle at 66% 82%, rgba(var(--vendor-rgb), .28) 0 11%, rgba(255,255,255,0) 12%);
  box-shadow: 0 18px 40px rgba(var(--vendor-rgb), .12);
  opacity: .82;
}
.style-cutesy .vendor-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(var(--vendor-rgb), .15), rgba(255,255,255,0) 36%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  backdrop-filter: blur(4px);
}
.style-cutesy .profile-content-card {
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,250,253,.94));
}
.style-cutesy .big-link,
.style-cutesy .trust-badge,
.style-cutesy .fallback-card,
.style-cutesy .alipay-qr-card {
  border-color: rgba(var(--vendor-rgb), .18);
  box-shadow: 0 14px 28px rgba(var(--vendor-rgb), .08);
}
.style-plant {
  background:
    radial-gradient(circle at 12% 12%, rgba(234, 246, 231, .95), rgba(255,255,255,0) 24%),
    radial-gradient(circle at 86% 18%, rgba(var(--vendor-rgb), .2), rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #f4fbf1 0%, #edf7eb 46%, #f9fdf8 100%);
}
.style-plant::before {
  inset: 0;
  background:
    radial-gradient(circle at 6% 20%, rgba(var(--vendor-rgb), .22) 0 3.2%, rgba(255,255,255,0) 3.4%),
    radial-gradient(circle at 10% 30%, rgba(var(--vendor-rgb), .2) 0 3.1%, rgba(255,255,255,0) 3.3%),
    radial-gradient(circle at 6% 40%, rgba(var(--vendor-rgb), .18) 0 3.1%, rgba(255,255,255,0) 3.3%),
    radial-gradient(circle at 94% 16%, rgba(var(--vendor-rgb), .2) 0 3%, rgba(255,255,255,0) 3.2%),
    radial-gradient(circle at 90% 28%, rgba(var(--vendor-rgb), .22) 0 3.2%, rgba(255,255,255,0) 3.4%),
    radial-gradient(circle at 94% 40%, rgba(var(--vendor-rgb), .18) 0 3.1%, rgba(255,255,255,0) 3.3%),
    linear-gradient(72deg, rgba(var(--vendor-rgb), .18) 0 1.1%, transparent 1.2%) left top / 210px 100% no-repeat,
    linear-gradient(108deg, rgba(var(--vendor-rgb), .18) 0 1.1%, transparent 1.2%) right top / 210px 100% no-repeat;
  opacity: .8;
}
.style-plant::after {
  left: 22px;
  bottom: 18px;
  width: 172px;
  height: 172px;
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(130, 98, 67, 0) 0 62%, rgba(130, 98, 67, .78) 63% 100%),
    radial-gradient(circle at 26% 42%, rgba(var(--vendor-rgb), .38) 0 10%, rgba(255,255,255,0) 11%),
    radial-gradient(circle at 38% 28%, rgba(110, 148, 96, .78) 0 13%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 54% 44%, rgba(110, 148, 96, .86) 0 14%, rgba(255,255,255,0) 15%),
    radial-gradient(circle at 70% 30%, rgba(110, 148, 96, .8) 0 12%, rgba(255,255,255,0) 13%),
    radial-gradient(circle at 58% 18%, rgba(var(--vendor-rgb), .32) 0 8%, rgba(255,255,255,0) 9%),
    linear-gradient(120deg, transparent 38%, rgba(88, 136, 86, .6) 39% 41%, transparent 42%),
    linear-gradient(62deg, transparent 45%, rgba(88, 136, 86, .55) 46% 48%, transparent 49%);
  box-shadow: 0 18px 40px rgba(63, 97, 62, .15);
  opacity: .92;
}
.style-plant .vendor-hero-shell {
  background:
    radial-gradient(circle at bottom right, rgba(var(--vendor-rgb), .16), rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.76));
  backdrop-filter: blur(4px);
}
.style-plant .profile-content-card {
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,252,245,.95));
}
.style-plant .ornament { opacity: .68; }
.style-clean {
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--vendor-rgb), .12), rgba(255,255,255,0) 16%),
    linear-gradient(180deg, #f7f4ef 0%, #f3eee6 100%);
}
.style-clean::before {
  background:
    linear-gradient(120deg, rgba(var(--vendor-rgb), .045), rgba(255,255,255,0) 28%),
    linear-gradient(300deg, rgba(var(--vendor-rgb), .04), rgba(255,255,255,0) 24%);
}
.style-crystal {
  background:
    radial-gradient(circle at 16% 8%, rgba(222, 235, 255, .92), rgba(255,255,255,0) 24%),
    radial-gradient(circle at 84% 14%, rgba(var(--vendor-rgb), .20), rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #f2f6ff 0%, #eef3ff 46%, #fafcff 100%);
}
.style-crystal::before {
  background:
    conic-gradient(from 220deg at 12% 26%, rgba(var(--vendor-rgb), .14), rgba(255,255,255,0) 22%, rgba(var(--vendor-rgb), .08) 38%, rgba(255,255,255,0) 58%, rgba(var(--vendor-rgb), .12) 78%, rgba(255,255,255,0) 100%),
    conic-gradient(from 130deg at 88% 18%, rgba(var(--vendor-rgb), .18), rgba(255,255,255,0) 26%, rgba(160, 196, 255, .18) 44%, rgba(255,255,255,0) 70%, rgba(var(--vendor-rgb), .12) 100%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  opacity: .95;
}
.style-crystal::after {
  right: 18px;
  bottom: 22px;
  width: 168px;
  height: 168px;
  clip-path: polygon(50% 0%, 78% 16%, 100% 44%, 84% 100%, 16% 100%, 0% 44%, 22% 16%);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(181, 212, 255, .82) 36%, rgba(var(--vendor-rgb), .44) 72%, rgba(255,255,255,.94));
  box-shadow: 0 24px 44px rgba(98, 124, 177, .18);
  opacity: .9;
}
.style-crystal .vendor-hero-shell {
  background:
    linear-gradient(145deg, rgba(var(--vendor-rgb), .14), rgba(255,255,255,.66) 35%, rgba(var(--vendor-rgb), .06) 60%, rgba(255,255,255,.96)),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,255,.82));
  backdrop-filter: blur(4px);
}
.style-crystal .profile-content-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,255,.95));
}
.style-crystal .ornament { opacity: .74; }
.style-bw {
  --vendor-rgb: 55,55,55 !important;
  background:
    linear-gradient(180deg, rgba(248,248,248,1), rgba(238,238,238,1));
}
.style-bw::before {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.58) 0 18px, rgba(0,0,0,.035) 18px 36px),
    radial-gradient(circle at 10% 16%, rgba(0,0,0,.08) 0 11%, rgba(255,255,255,0) 12%),
    radial-gradient(circle at 90% 12%, rgba(0,0,0,.08) 0 10%, rgba(255,255,255,0) 11%);
}
.style-bw::after {
  right: 16px;
  top: 30px;
  width: 132px;
  height: 132px;
  clip-path: polygon(0 18%, 82% 18%, 82% 0, 100% 0, 100% 100%, 18% 100%, 18% 82%, 0 82%);
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.82) 0 10px, rgba(255,255,255,.92) 10px 20px);
  box-shadow: 0 18px 30px rgba(0,0,0,.08);
  opacity: .9;
}
.style-bw .vendor-hero-shell {
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(245,245,245,.82)),
    repeating-linear-gradient(135deg, #fafafa 0 16px, #f1f1f1 16px 32px);
  border-color: rgba(0,0,0,.14);
}
.style-bw .profile-content-card,
.style-bw .fallback-card,
.style-bw .alipay-qr-card,
.style-bw .big-link,
.style-bw .trust-badge {
  border-color: rgba(0,0,0,.12);
}
.style-bw .ornament { color: rgba(0,0,0,.58); opacity: .42; }
.fallback-card,
.alipay-qr-card {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .homepage-real-preview {
    height: 430px;
  }
  .homepage-preview-scale {
    transform: scale(.60);
    width: 165%;
    margin-left: -32%;
  }
}
@media (max-width: 640px) {
  .homepage-real-preview {
    width: min(100%, 292px);
    height: 390px;
  }
  .homepage-preview-scale {
    transform: scale(.56);
    width: 178%;
    margin-left: -39%;
  }
}

.preview-shell.style-cutesy::after,
.preview-shell.style-plant::after,
.preview-shell.style-crystal::after,
.preview-shell.style-bw::after {
  transform: scale(.72);
  transform-origin: center;
}
.preview-shell.style-plant::after {
  left: 8px;
  bottom: 4px;
}
.preview-shell.style-crystal::after,
.preview-shell.style-bw::after {
  right: 4px;
  bottom: 8px;
  top: auto;
}
