:root {
  --bg-dark: #0b0a09;
  --bg-darker: #060505;
  --bg-light: #f7f4ee;
  --bg-section: #efe9dd;
  --bg-card: #fffdf9;
  --gold: #c0a060;
  --gold-light: #e3cf9a;
  --gold-dark: #9a7d46;
  --ink: #17140f;
  --text-light: #f4efe4;
  --text-dark: #1b1712;
  --text-muted: #7d766b;
  --text-muted-dark: #5f584c;
  --border: rgba(192, 160, 96, 0.16);
  --border-light: rgba(23, 20, 15, 0.08);
  --border-dark: rgba(255, 255, 255, 0.09);
  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 72px;
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* 验证环境全屏水印（由 js/stagingBanner.js + MOJE_DEPLOY_ENV=staging 启用） */
.moje-staging-watermark {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 38, 38, 0.22);
  transform: rotate(-24deg);
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 0 1px rgba(220, 38, 38, 0.15);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(192, 160, 96, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, #efe9dd 55%, #f7f4ee 100%);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(23, 20, 15, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 20, 15, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 60%, transparent);
}

body > * { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.header__inner {
  max-width: var(--max-width); margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-light);
}
.header.scrolled .brand__name { color: var(--gold); }

.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.875rem; font-weight: 400;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--text-light); }
.nav__link:hover::after { width: 100%; }

.header__cta { white-space: nowrap; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text-light);
  transition: var(--transition); border-radius: 2px;
}

/* ---------- Light storefront header (shop / listing / seller) ---------- */
/* 浅色商城页：任何滚动位置都保持浅色玻璃拟态头部 + 深色文字，
   避免 main.js 在页面顶部移除 .scrolled 后浅字透明底落在浅背景上 */
.storefront-page .header {
  background: rgba(255, 253, 249, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.storefront-page .header.scrolled {
  background: rgba(255, 253, 249, 0.94);
  border-bottom-color: rgba(23, 20, 15, 0.12);
}
.storefront-page .header .brand__name,
.storefront-page .header.scrolled .brand__name { color: var(--gold-dark); }
.storefront-page .header .nav__link { color: rgba(27, 23, 18, 0.72); }
.storefront-page .header .nav__link:hover { color: var(--text-dark); }
.storefront-page .header .nav__link--active { color: var(--gold-dark) !important; }
.storefront-page .header .lang__btn,
.storefront-page .header .auth-chip__btn {
  color: var(--text-dark);
  border-color: rgba(23, 20, 15, 0.2);
}
.storefront-page .header .lang__btn:hover,
.storefront-page .header .lang.open .lang__btn,
.storefront-page .header .auth-chip__btn:hover,
.storefront-page .header .auth-chip.open .auth-chip__btn {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.storefront-page .header .auth-chip__avatar { color: var(--gold-dark); border-color: var(--gold-dark); }
.storefront-page .header .menu-toggle span { background: var(--text-dark); }

@media (max-width: 767px) {
  .storefront-page .header .nav.open {
    background: rgba(255, 253, 249, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(23, 20, 15, 0.1);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: var(--transition);
  cursor: pointer;
}
.btn--ghost-dark {
  background: transparent; color: var(--text-dark);
  border: 1px solid rgba(23, 20, 15, 0.35);
}
.btn--ghost-dark:hover {
  border-color: var(--gold-dark); color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--gold); color: var(--bg-darker);
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}
.btn--ghost {
  background: transparent; color: var(--text-light);
  border: 1px solid rgba(245, 240, 232, 0.3);
}
.btn--ghost:hover {
  border-color: var(--gold); color: var(--gold);
}
.btn--sm { padding: 10px 24px; font-size: 0.8rem; }
.btn--lg { padding: 18px 48px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(6, 5, 5, 0.55), transparent 60%),
    linear-gradient(90deg, rgba(6, 5, 5, 0.88) 0%, rgba(6, 5, 5, 0.45) 55%, rgba(6, 5, 5, 0.2) 100%);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 24px; width: 100%;
  padding-top: var(--header-h);
}
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero__desc {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 36px; max-width: 480px;
  line-height: 1.8;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 1;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.hero__scroll span {
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: rgba(245, 240, 232, 0.5);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section__head {
  text-align: center; margin-bottom: 64px;
}
.section__eyebrow {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 16px;
}
.section__eyebrow--light { color: var(--gold-light); }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section__title--light { color: var(--text-light); }
.section__sub {
  font-size: 1rem; color: var(--text-muted);
  font-weight: 300;
}

/* ---------- Works Gallery ---------- */
.works { background: var(--bg-section); }
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.work-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: var(--transition);
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}
.work-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.work-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-card__img img { transform: scale(1.08); }
.work-card__info { padding: 20px; text-align: center; }
.work-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: 6px;
}
.work-card__desc {
  font-size: 0.8rem; color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Shop spotlight ---------- */
.shop-spot {
  display: block;
  min-height: 92vh;
  position: relative;
  color: var(--text-light);
}
.shop-spot__inner {
  display: flex; align-items: center; justify-content: center;
  position: absolute; inset: 0;
  color: inherit;
  overflow: hidden;
}
.shop-spot__bg { position: absolute; inset: 0; z-index: 0; }

/* 三排正-反-正无限滚动；每格可翻页展示另一件商品 */
.shop-wall {
  position: absolute;
  inset: -12% -6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  transform: rotate(-4deg);
}
.shop-wall__row {
  display: flex;
  gap: 22px;
  padding-inline-end: 22px;
  width: max-content;
  animation: shopWallScroll 55s linear infinite;
}
.shop-wall__row--b {
  animation-name: shopWallScrollReverse;
  animation-duration: 70s;
}
.shop-wall__row--c {
  animation-duration: 62s;
}
.shop-spot__inner:hover .shop-wall__row { animation-play-state: paused; }
@keyframes shopWallScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes shopWallScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.shop-wall-flip {
  flex: none;
  display: block;
  width: clamp(230px, calc(24vh - 10px), 340px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  perspective: 900px;
  text-decoration: none;
  color: inherit;
  background: #1a1612;
}
.shop-wall-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.6s cubic-bezier(0.33, 0.12, 0.25, 1);
}
.shop-wall-flip.is-flipped .shop-wall-flip__inner { transform: rotateY(180deg); }
.shop-wall-flip__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.shop-wall-flip__face--back { transform: rotateY(180deg); }
.shop-wall-flip__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-wall-flip__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a241c, #181410);
}

.shop-spot__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(6, 5, 5, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(6, 5, 5, 0.28), rgba(6, 5, 5, 0.48));
  pointer-events: none;
}
.shop-spot__content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 640px;
  padding: 96px 24px;
  pointer-events: none;
}
.shop-spot__content .btn,
.shop-spot__content a {
  pointer-events: auto;
}
.shop-spot__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 18px;
}
.shop-spot__desc {
  color: rgba(244, 239, 228, 0.78);
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.9;
}
.shop-spot__hint {
  margin: 18px 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(244, 239, 228, 0.55);
  pointer-events: none;
}

/* ---------- Partner ---------- */
.partner { background: linear-gradient(180deg, rgba(255, 253, 249, 0.65), rgba(239, 233, 221, 0.9)); }
.partner__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.partner__intro .section__title { text-align: left; }
.partner__intro .section__sub { margin-bottom: 28px; max-width: 520px; }
.partner__steps { display: flex; flex-direction: column; gap: 18px; }
.partner-step {
  position: relative;
  padding: 26px 28px 26px 84px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(23, 20, 15, 0.05);
  transition: var(--transition);
}
.partner-step:hover { transform: translateY(-4px); border-color: var(--border); }
.partner-step__num {
  position: absolute;
  left: 24px; top: 26px;
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 300;
  color: var(--gold);
}
.partner-step h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500;
  margin-bottom: 6px;
}
.partner-step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* ---------- Works page ---------- */
.works-page { padding: 140px 0 96px; }

/* ---------- Process ---------- */
.process { background: var(--bg-dark); }
.process .section__title { color: var(--text-light); }
.process .section__sub { color: rgba(245, 240, 232, 0.5); }
.process .section__eyebrow { color: var(--gold); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.step:hover { border-color: rgba(201, 169, 110, 0.3); }
.step--highlight {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}
.step__num {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  display: block; margin-bottom: 20px;
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500;
  color: var(--text-light); margin-bottom: 12px;
}
.step__desc {
  font-size: 0.875rem; font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.7;
}
.step__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--bg-darker);
  background: var(--gold);
  border-radius: 99px;
}

/* ---------- Craft ---------- */
.craft {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.craft__bg { position: absolute; inset: 0; z-index: 0; }
.craft__bg img { width: 100%; height: 100%; object-fit: cover; }
.craft__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,6,6,0.9) 0%, rgba(6,6,6,0.4) 60%, transparent 100%);
}
.craft__content {
  position: relative; z-index: 1;
  max-width: 560px;
  padding: 80px 48px;
  margin-left: auto;
}
.craft__text {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.9;
  margin-top: 20px;
}

/* ---------- Workspace Mockup ---------- */
.workspace { background: var(--bg-section); }
.workspace__mockup {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  height: 480px;
}

.ws-orders {
  border-right: 1px solid var(--border-light);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ws-orders__head {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}
.ws-orders__title {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 500;
  margin-bottom: 14px;
}
.ws-orders__filter { display: flex; gap: 8px; }
.ws-filter {
  font-size: 0.75rem; font-weight: 500;
  padding: 5px 12px;
  border-radius: 99px;
  color: var(--text-muted);
  background: var(--bg-section);
  cursor: pointer;
  transition: var(--transition);
}
.ws-filter.active { color: var(--text-dark); background: var(--gold-light); }
.ws-filter:hover { color: var(--text-dark); }

.ws-order {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.ws-order:hover { background: var(--bg-section); }
.ws-order.active {
  background: rgba(201, 169, 110, 0.06);
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}
.ws-order__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px;
}
.ws-order__info { display: flex; flex-direction: column; gap: 2px; }
.ws-order__id {
  font-size: 0.7rem; font-weight: 500;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
}
.ws-order__name {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-dark);
}
.ws-order__time {
  font-size: 0.7rem; color: var(--text-muted);
  white-space: nowrap;
}
.ws-order__bottom {
  display: flex; align-items: center; gap: 12px;
}
.ws-status {
  font-size: 0.7rem; font-weight: 500;
  padding: 3px 10px; border-radius: 99px;
  white-space: nowrap;
}
.ws-status--progress { color: #6F6FFF; background: rgba(111, 111, 255, 0.1); }
.ws-status--done { color: #1DC981; background: rgba(29, 201, 129, 0.1); }
.ws-status--design { color: var(--gold-dark); background: rgba(201, 169, 110, 0.1); }
.ws-progress {
  flex: 1; height: 4px;
  background: var(--border-light);
  border-radius: 2px; overflow: hidden;
}
.ws-progress__bar {
  height: 100%; background: var(--gold);
  border-radius: 2px;
  transition: width 0.6s var(--ease);
}
.ws-progress__bar--done { background: #1DC981; }

.ws-chat {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ws-chat__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
}
.ws-chat__title-group { display: flex; align-items: baseline; gap: 10px; }
.ws-chat__title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 500;
  color: var(--text-dark);
}
.ws-chat__order {
  font-size: 0.7rem; color: var(--text-muted);
  font-family: 'Inter', monospace;
}
.ws-chat__status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-muted);
}
.ws-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}
.ws-dot--active { background: #1DC981; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ws-chat__body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.ws-chat__divider {
  text-align: center;
  font-size: 0.7rem; color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}
.ws-chat__divider::before, .ws-chat__divider::after {
  content: ''; position: absolute; top: 50%;
  width: 30%; height: 1px; background: var(--border-light);
}
.ws-chat__divider::before { left: 0; }
.ws-chat__divider::after { right: 0; }
.ws-chat__divider span {
  background: var(--bg-card); padding: 0 12px; position: relative; z-index: 1;
}

.ws-msg { display: flex; flex-direction: column; gap: 4px; max-width: 80%; }
.ws-msg--in { align-self: flex-start; }
.ws-msg--out { align-self: flex-end; align-items: flex-end; }
.ws-msg__role {
  font-size: 0.7rem; font-weight: 500;
  padding: 2px 8px; border-radius: 4px;
  display: inline-block; margin-bottom: 2px;
  width: fit-content;
}
.ws-msg__role--designer { color: var(--gold-dark); background: rgba(201, 169, 110, 0.12); }
.ws-msg__role--modeler { color: #4B3FE3; background: rgba(75, 63, 227, 0.1); }
.ws-msg__role--tracker { color: #1D6EAA; background: rgba(34, 165, 247, 0.1); }
.ws-msg__bubble {
  padding: 10px 14px;
  font-size: 0.825rem; line-height: 1.6;
  border-radius: 12px;
}
.ws-msg--in .ws-msg__bubble {
  background: var(--bg-section);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}
.ws-msg--out .ws-msg__bubble {
  background: var(--gold); color: var(--bg-darker);
  border-bottom-right-radius: 4px;
}
.ws-msg__time {
  font-size: 0.65rem; color: var(--text-muted);
}

.ws-chat__input {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 10px;
}
.ws-chat__input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 0.825rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.ws-chat__input input:focus { border-color: var(--gold); }
.ws-chat__send {
  padding: 10px 20px;
  background: var(--gold); color: var(--bg-darker);
  border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 500;
  transition: var(--transition);
}
.ws-chat__send:hover { background: var(--gold-light); }

.workspace__note {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center; margin-top: 28px;
}
.workspace__note-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
}
.workspace__note-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}
.workspace__note-dot--modeler { background: #6F6FFF; }
.workspace__note-dot--tracker { background: #22A5F7; }
.workspace__note-dot--oms { background: #27D2BF; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 6, 6, 0.7);
}
.cta__content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 16px;
}
.cta__desc {
  font-size: 1rem; font-weight: 300;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-darker); padding: 64px 0 0; }
.footer__inner {
  display: flex; justify-content: space-between; gap: 48px;
  padding-bottom: 48px;
}
.footer__brand { max-width: 280px; }
.footer__brand .brand__name { color: var(--gold); }
.footer__tagline {
  font-size: 0.85rem; color: var(--text-muted);
  margin-top: 12px; font-weight: 300;
}
.footer__links { display: flex; gap: 64px; }
.footer__col h4 {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 0.85rem; font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.75rem; color: var(--text-muted-dark);
}

/* ---------- Chat FAB ---------- */
.chat-fab {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-darker);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
  transition: var(--transition);
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: fabPulse 2.5s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Chat Panel ---------- */
.chat-panel {
  position: fixed; bottom: 28px; right: 28px;
  width: 380px; height: 520px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  z-index: 95;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: auto;
}
.chat-panel__head {
  position: relative;
  padding: 20px;
  background: var(--bg-dark);
  display: flex; justify-content: space-between; align-items: flex-start;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.chat-panel__grip {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 4px;
  border-radius: 99px;
  background: rgba(245, 240, 232, 0.18);
}
.chat-panel__title {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 500;
  color: var(--text-light);
  margin-bottom: 4px;
}
.chat-panel__status {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.6);
  display: flex; align-items: center; gap: 6px;
}
.chat-panel__close {
  font-size: 1.5rem; color: var(--text-muted);
  line-height: 1; padding: 0;
  cursor: pointer;
}
.chat-panel__close:hover { color: var(--text-light); }
.chat-panel__body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-panel__input {
  padding: 14px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 10px;
}
.chat-panel__input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 0.825rem; font-family: inherit;
  outline: none;
}
.chat-panel__input input:focus { border-color: var(--gold); }
.chat-panel__send {
  padding: 10px 18px;
  background: var(--gold); color: var(--bg-darker);
  border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 500;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .workspace__mockup { grid-template-columns: 280px 1fr; }
  .footer__inner { flex-direction: column; }
  .footer__links { gap: 40px; }
}

@media (max-width: 767px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border-dark);
  }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }

  .hero__content { padding-top: calc(var(--header-h) + 20px); }
  .hero__desc { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }

  .works__grid { grid-template-columns: 1fr; gap: 20px; }
  .process__steps { grid-template-columns: 1fr; gap: 16px; }

  .craft__content { padding: 48px 24px; max-width: 100%; }
  .craft { min-height: 400px; }

  .workspace__mockup {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 600px;
  }
  .ws-orders {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    max-height: 200px;
  }
  .ws-chat__head { flex-direction: column; align-items: flex-start; gap: 6px; }

  .cta { padding: 80px 0; }

  .footer__links { flex-wrap: wrap; gap: 32px; }

  .chat-panel {
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    bottom: 16px; right: 16px;
  }
  .chat-fab { bottom: 20px; right: 20px; }

  .workspace__note { gap: 16px; }
}

/* ---------- Language Switcher ---------- */
.header__actions { display: flex; align-items: center; gap: 16px; }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  background: transparent;
}
.lang__btn:hover { border-color: var(--gold); color: var(--gold); }
.lang__chevron { transition: transform 0.3s var(--ease); }
.lang.open .lang__chevron { transform: rotate(180deg); }
.lang.open .lang__btn { border-color: var(--gold); color: var(--gold); }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 168px;
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 120;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.8);
  border-radius: 6px;
  transition: var(--transition);
  text-align: left;
}
.lang__option:hover { background: rgba(201, 169, 110, 0.12); color: var(--text-light); }
.lang__option.active { color: var(--gold); font-weight: 600; }
.lang__option .lang__check { color: var(--gold); font-size: 0.8rem; }

/* ---------- Auth chip (signed-in header) ---------- */
.auth-chip { position: relative; }
.auth-chip__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: 999px;
  color: var(--text-light);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  background: transparent;
}
.auth-chip__btn:hover { border-color: var(--gold); color: var(--gold); }
.auth-chip.open .auth-chip__btn { border-color: var(--gold); color: var(--gold); }
.auth-chip__avatar {
  width: 28px; height: 28px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(192, 160, 96, 0.14);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.82rem; font-weight: 600;
}
.auth-chip__name {
  max-width: 140px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.auth-chip__chevron { transition: transform 0.3s var(--ease); }
.auth-chip.open .auth-chip__chevron { transform: rotate(180deg); }

.auth-chip__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 168px;
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 120;
}
.auth-chip.open .auth-chip__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.auth-chip__item {
  display: block; width: 100%;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.8);
  border-radius: 6px;
  transition: var(--transition);
  text-align: left;
}
.auth-chip__item:hover { background: rgba(192, 160, 96, 0.12); color: var(--text-light); }
.auth-chip__item--danger { color: #d98a7e; }
.auth-chip__item--danger:hover { background: rgba(217, 138, 126, 0.12); color: #e8a89d; }

@media (max-width: 767px) {
  .auth-chip__name { display: none; }
  .auth-chip__chevron { display: none; }
  .auth-chip__btn { padding: 5px; }
}

/* ---------- Order Workspace App ---------- */
.app-body {
  background: #0f0e0d;
  color: var(--text-light);
  height: 100vh;
  overflow: hidden;
}

.app-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: #0a0a0a;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
}
.app-header__inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.app-header .brand__name { color: var(--gold); }
.nav--app { margin-left: 24px; }
.nav--app .nav__link { color: rgba(245, 240, 232, 0.6); }
.nav--app .nav__link:hover { color: var(--text-light); }
.nav__link--active { color: var(--gold) !important; }
.nav__link--active::after { width: 100% !important; }

.app-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - var(--header-h));
}

/* --- Order gate (未登录门槛) --- */
.order-gate {
  position: relative;
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.order-gate__bg {
  position: absolute;
  inset: 0;
}
.order-gate__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-gate__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.72) 100%);
}
.order-gate__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  padding: 0 24px;
}
.order-gate__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 14px;
}
.order-gate__desc {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.8);
  margin: 0 0 28px;
  line-height: 1.6;
}
.order-gate__cta {
  font-size: 1.05rem;
  padding: 16px 34px;
}

/* --- Sidebar --- */
.sidebar {
  background: #141312;
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar__head {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border-dark);
}
.sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.sidebar__sub {
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 4px; font-weight: 300;
}
.sidebar__search {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #0d0c0b;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.sidebar__search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-light); font-size: 0.85rem; font-family: inherit;
}
.sidebar__search input::placeholder { color: var(--text-muted); }
.sidebar__filters { display: flex; gap: 8px; margin-top: 14px; }
.ws-filter {
  font-size: 0.75rem; font-weight: 500;
  padding: 5px 12px; border-radius: 99px;
  color: var(--text-muted);
  background: #1c1a18;
  cursor: pointer; transition: var(--transition);
  border: 1px solid transparent;
}
.ws-filter.active { color: var(--bg-darker); background: var(--gold); }
.ws-filter:hover { color: var(--text-light); }

.conversation-list {
  flex: 1; overflow-y: auto; min-height: 0;
  padding: 8px;
}
.conversation {
  display: flex; gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  align-items: flex-start;
}
.conversation:hover { background: rgba(255, 255, 255, 0.04); }
.conversation.active { background: rgba(201, 169, 110, 0.1); }

.conversation__avatar {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  flex-shrink: 0;
}
.conversation__avatar--ring { background: linear-gradient(135deg, #3b4a8f, #6f6fff); color: #fff; }
.conversation__avatar--img-wrap {
  overflow: hidden;
  background: #1c1a18;
  padding: 0;
}
.conversation__avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.conversation__avatar--pearl { background: linear-gradient(135deg, #8a6d3b, #e8d5a8); color: #1a1a1a; }
.conversation__avatar--emerald { background: linear-gradient(135deg, #1d6e4a, #3ecf8e); color: #fff; }

.conversation__main { flex: 1; min-width: 0; }
.conversation__top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.conversation__name {
  font-size: 0.92rem; font-weight: 600; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.conversation__time { font-size: 0.7rem; color: var(--text-muted); flex-shrink: 0; }
.conversation__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: 3px;
}
.conversation__preview {
  font-size: 0.8rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1;
}
.conversation__badge {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 99px; background: var(--gold); color: var(--bg-darker);
  font-size: 0.7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.conversation__badge--muted {
  background: transparent; color: var(--text-muted);
  font-size: 0.75rem;
}
.conversation__status {
  flex-shrink: 0;
  font-size: 0.66rem;
  color: #fff;
  padding: 1px 8px;
  border-radius: 99px;
  line-height: 1.6;
  white-space: nowrap;
}
.conversation__type {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.conversation__type::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.conversation__type--custom_image { color: #c9a96e; }
.conversation__type--designer_design { color: #b0a08a; }
.conversation__type--b2b_model { color: #8b8ba8; }
.conversation__empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Chat --- */
.chat {
  display: flex; flex-direction: column;
  min-height: 0;
  background: #0f0e0d;
}
.chat__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-dark);
  background: #0a0a0a;
}

/* 聊天消息卡片 / 弹窗共用按钮 */
.prog-file { font-size: 0.8rem; color: var(--gold); text-decoration: underline; }
.prog-btn { padding: 7px 14px; border-radius: 8px; font-size: 0.8rem; cursor: pointer; border: none; }
.prog-btn--ok { background: var(--gold); color: #1a1814; }
.prog-btn--no { background: transparent; color: #e05d5d; border: 1px solid #e05d5d; }
.chat__header-left { display: flex; align-items: center; gap: 14px; }
.chat__back { display: none; color: var(--text-muted); padding: 4px; }
.chat__back:hover { color: var(--text-light); }

.chat__avatar {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  flex-shrink: 0;
}
.chat__avatar--ring { background: linear-gradient(135deg, #3b4a8f, #6f6fff); color: #fff; }

.chat__title-group { display: flex; flex-direction: column; line-height: 1.25; }
.chat__title { font-size: 1.05rem; font-weight: 600; color: var(--text-light); }
.chat__order-id { font-size: 0.72rem; color: var(--text-muted); font-family: 'Inter', monospace; }

.chat__stage {
  margin-left: 8px;
  font-size: 0.72rem; font-weight: 500;
  padding: 4px 12px; border-radius: 99px;
  color: #b8b8ff; background: rgba(111, 111, 255, 0.14);
  white-space: nowrap;
}
.chat__queue {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(22, 18, 14, 0.92);
  border-bottom: 1px solid rgba(201, 168, 92, 0.22);
}
.chat__queue-spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid rgba(217, 169, 78, 0.35);
  border-top-color: #e4b85a;
  border-radius: 50%;
  animation: chatQueueSpin 0.85s linear infinite;
}
.chat__queue-spinner[hidden] { display: none !important; }
@keyframes chatQueueSpin {
  to { transform: rotate(360deg); }
}
.chat__queue[hidden] { display: none !important; }
.chat__queue-text {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #f3d5a5;
}
.chat__queue-rush {
  flex-shrink: 0;
  border: 0;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: #1a1208;
  background: linear-gradient(135deg, #f0c27b, #d97706);
}
.chat__queue-rush:hover { filter: brightness(1.05); }
.chat__queue-rush:disabled { opacity: 0.55; cursor: wait; }
.chat__header-right { display: flex; align-items: center; gap: 16px; }
.chat__members { display: flex; align-items: center; }
.member-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600;
  border: 2px solid #0a0a0a;
  margin-left: -8px;
}
.member-avatar:first-child { margin-left: 0; }
.member-avatar--designer { background: #c9a96e; color: #1a1a1a; }
.member-avatar--modeler { background: #6f6fff; color: #fff; }
.member-avatar--tracker { background: #22a5f7; color: #fff; }
.member-avatar--client { background: #2a2825; color: var(--text-light); }
.member-avatar--super-service { background: #c026d3; color: #fff; }
.chat__action { color: var(--text-muted); padding: 4px; }
.chat__action:hover { color: var(--text-light); }
.chat__more { position: relative; }
.chat__more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  z-index: 40;
}
.chat__more-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text-light, #f5f5f5);
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
}
.chat__more-item:hover { background: rgba(255,255,255,0.08); }
.chat__more-item:disabled { opacity: 0.45; cursor: not-allowed; }
.service-req__hint {
  margin: 0 0 12px;
  color: var(--text-muted, #888);
  font-size: 0.88rem;
  line-height: 1.5;
}
.service-req__label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.82rem;
  color: var(--text-muted, #888);
}
.service-req__select,
.service-req__amount {
  width: 100%;
  margin-bottom: 4px;
}

/* --- Messages --- */
.chat__body {
  flex: 1; overflow-y: auto; min-height: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201,169,110,0.04), transparent 60%),
    #0f0e0d;
}
.chat__day {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 6px;
}
.chat__day span {
  font-size: 0.72rem; color: var(--text-muted);
  background: #191817; padding: 4px 14px; border-radius: 99px;
  margin: 0 auto;
}

.msg { display: flex; gap: 10px; max-width: 78%; align-items: flex-start; }
.msg--in { align-self: flex-start; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }
.msg--system {
  align-self: center;
  font-size: 0.72rem; color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 14px; border-radius: 99px;
  margin: 4px 0;
}

.msg__avatar {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; flex-shrink: 0;
  align-self: flex-start;
  background: #26231f;
  color: var(--gold-light);
  border: 1px solid rgba(201,169,98,0.22);
}
.msg__avatar--designer { background: #c9a96e; color: #1a1a1a; }
.msg__avatar--modeler { background: #6f6fff; color: #fff; }
.msg__avatar--tracker { background: #22a5f7; color: #fff; }
.msg__avatar--super-service { background: #c026d3; color: #fff; }
.msg__avatar--ai { background: #0d9488; color: #fff; }
.member-avatar--ai { background: #0d9488; color: #fff; }

.msg__content { display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
.msg--out .msg__content { align-items: flex-end; }
.msg__meta { display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.msg__meta--out { justify-content: flex-end; }
.msg__role { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); }
.msg__role--designer { color: var(--gold-light); }
.msg__role--modeler { color: #9f9fff; }
.msg__role--tracker { color: #6fc4ff; }
.msg__time { font-size: 0.68rem; color: var(--text-muted); }

.msg__bubble {
  position: relative;
  padding: 12px 16px;
  font-size: 0.92rem; line-height: 1.6;
  border-radius: 18px;
  word-wrap: break-word;
  white-space: pre-wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.msg--in .msg__bubble::before,
.msg--out .msg__bubble::before {
  content: '';
  position: absolute;
  bottom: 8px;
  width: 0;
  height: 0;
  border: 7px solid transparent;
}
.msg--in .msg__bubble::before {
  left: -13px;
  border-right-color: #22201d;
  top: 10px;
}
.msg--out .msg__bubble::before {
  right: -13px;
  border-left-color: var(--gold);
  top: 10px;
}
.msg__brief-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #1c1a18 !important;
  font-weight: 600;
  text-decoration: none;
}
.msg__line { margin: 0 0 6px; }
.msg__line:last-child { margin-bottom: 0; }
.msg__list { margin: 6px 0 0; padding-left: 20px; }
.msg__list li { margin: 2px 0; }
.msg__bubble strong { font-weight: 600; }
.msg__bubble code {
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.86em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.msg__link { color: inherit; text-decoration: underline; }
.msg--in .msg__link { color: var(--gold-light); }
.msg--in .msg__bubble {
  background: #22201d;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-bottom-left-radius: 6px;
}
.msg--out .msg__bubble {
  background: var(--gold);
  color: var(--bg-darker);
  border: 1px solid rgba(140, 106, 50, 0.4);
  border-bottom-right-radius: 6px;
}
.msg--out .msg__bubble a { color: inherit; text-decoration: underline; }
.msg__read { font-size: 0.68rem; color: var(--gold-light); }

.msg__translation {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.85;
  padding-left: 2px;
  border-left: 2px solid rgba(201, 169, 98, 0.5);
  margin-top: 1px;
  word-wrap: break-word;
}

.msg__translate-btn {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
  opacity: 0.75;
}
.msg__translate-btn:hover { opacity: 1; text-decoration: underline; }

/* --- Event card (聊天气泡形式，气泡被卡片替换) --- */
.msg--in .msg-card,
.msg--out .msg-card {
  width: 340px;
  max-width: 100%;
}
.msg-card {
  position: relative;
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 169, 98, 0.12) 0, transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(201, 169, 98, 0.08) 0, transparent 50%),
    linear-gradient(160deg, rgba(28, 26, 24, 0.92) 0%, rgba(20, 19, 18, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 16px;
  padding: 12px 14px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.msg-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.3);
}
.msg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 12px);
}
.msg-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.msg-card__imgs { position: relative; display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 8px; }
.msg-card__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}
.msg-card__more {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
}
.msg-card__content {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-light);
  word-wrap: break-word;
  white-space: pre-wrap;
  margin-bottom: 8px;
}
.msg-card__reason {
  font-size: 0.8rem;
  color: #e0a3a3;
  margin-bottom: 10px;
  padding-left: 6px;
  border-left: 2px solid rgba(224, 93, 93, 0.5);
}
.msg-card--review {
  padding: 0;
  cursor: default;
  border-top: none !important;
  background: linear-gradient(165deg, rgba(36, 22, 22, 0.97) 0%, rgba(16, 14, 14, 0.96) 100%);
  border-color: rgba(224, 120, 110, 0.38);
}
.msg-card--review-pass {
  background: linear-gradient(165deg, rgba(18, 34, 26, 0.97) 0%, rgba(14, 16, 15, 0.96) 100%);
  border-color: rgba(72, 160, 96, 0.4);
}
.msg-card--review::after { display: none; }
.review-card__ribbon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 8px;
}
.review-card__seal {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  background: rgba(224, 93, 93, 0.16);
  color: #ffc1c1;
  border: 1px solid rgba(224, 93, 93, 0.35);
}
.msg-card--review-pass .review-card__seal {
  background: rgba(46, 160, 67, 0.16);
  color: #b7ebc4;
  border-color: rgba(46, 160, 67, 0.4);
}
.review-card__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.review-card__title {
  margin-top: 2px;
  font-size: 0.98rem;
  font-weight: 650;
  color: #f6e8e4;
}
.msg-card--review-pass .review-card__title { color: #e7f6ea; }
.review-card__body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card__lead {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(247, 241, 234, 0.72);
}
.review-card__reason,
.review-card__notes {
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.review-card__reason { border-left: 3px solid #e07a72; }
.msg-card--review-pass .review-card__reason { border-left-color: #3caf62; }
.review-card__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255, 196, 188, 0.9);
}
.msg-card--review-pass .review-card__label { color: rgba(183, 235, 196, 0.9); }
.review-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #f7f1ea;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-card__actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.msg-card__btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}

/* 设计稿 / 建模稿：聊天区横向卡片 */
.msg--in .msg-card--draft-sheet,
.msg--out .msg-card--draft-sheet {
  width: min(100%, 580px);
}
.msg-card--draft-sheet {
  padding: 0;
}
.msg-card--draft-sheet .msg-card__actions,
.msg-card--draft-sheet .msg-card__lock {
  position: relative;
  z-index: 1;
  margin: 0 12px 12px;
}
.draft-sheet {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 132px;
  align-items: stretch;
}
.draft-sheet__media {
  position: relative;
  background: #0c0b0a;
  border-radius: 16px 0 0 0;
  overflow: hidden;
  min-height: 132px;
}
.draft-sheet__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}
.draft-sheet__img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  display: block;
}
.draft-sheet__more {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 99px;
}
.draft-sheet__body {
  padding: 10px 12px 10px 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.draft-sheet__title {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}
.draft-sheet__preview {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-light);
  white-space: pre-wrap;
  word-break: break-word;
}
.draft-sheet__reason {
  font-size: 0.75rem;
  color: #e0a3a3;
  border-left: 2px solid rgba(224, 93, 93, 0.45);
  padding-left: 6px;
}

.submit-spec {
  margin: 0;
  padding: 0;
  min-width: 0;
}
.submit-spec__head {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.submit-spec__list {
  margin: 0;
  padding: 0;
}
.submit-spec__row {
  display: grid;
  grid-template-columns: 4.8em minmax(0, 1fr);
  gap: 4px 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.submit-spec__row:last-child {
  border-bottom: 0;
}
.submit-spec__row dt {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.submit-spec__row dd {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.submit-spec--compact .submit-spec__list {
  max-height: 148px;
  overflow-y: auto;
  padding-right: 2px;
}
.submit-spec--compact .submit-spec__row {
  grid-template-columns: 4.2em minmax(0, 1fr);
}
.submit-spec__sub {
  margin-top: 8px;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.submit-spec__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.submit-spec__thumb {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.submit-spec__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Event detail modal --- */
.event-detail {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.event-detail__dialog {
  position: relative;
  background: #161412;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.event-detail__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.event-detail__close:hover { color: var(--text-light); }
.event-detail__badge {
  display: inline-block;
  font-size: 0.72rem;
  color: #fff;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}
.event-detail__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.event-detail__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.event-gallery {
  position: relative;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #0c0b0a;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.event-gallery__stage {
  height: min(52vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.event-gallery__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.event-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.event-gallery__nav--prev { left: 8px; }
.event-gallery__nav--next { right: 8px; }
.event-gallery__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
}
.event-detail__imgs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.event-detail__img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.event-detail__content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.event-detail__reason {
  font-size: 0.85rem;
  color: #e0a3a3;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(224, 93, 93, 0.1);
  border-left: 3px solid #e05d5d;
}

/* 设计稿详情：横向宽面板（非纵向弹窗） */
.event-detail--landscape {
  padding: 20px 16px;
}
.event-detail__dialog--landscape {
  max-width: min(920px, 96vw);
  width: 100%;
  max-height: min(520px, 86vh);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.event-detail__headland {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 28px;
}
.event-detail__headland-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.event-detail__title--inline {
  margin: 0;
  font-size: 1rem;
}
.event-detail__meta--inline {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.74rem;
  white-space: nowrap;
}
.event-detail__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.event-detail__pane {
  min-width: 0;
  min-height: 0;
}
.event-detail__pane--media {
  display: flex;
  flex-direction: column;
}
.event-detail__pane--media .event-gallery {
  flex: 1;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.event-detail__pane--media .event-gallery__stage {
  flex: 1;
  height: auto;
  min-height: 220px;
  max-height: min(360px, 52vh);
}
.event-detail__pane--info {
  overflow-y: auto;
  padding-right: 4px;
}
.event-detail__pane--info .submit-spec {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 98, 0.2);
}
.event-detail__content--pane {
  margin-top: 10px;
  font-size: 0.84rem;
}

@media (max-width: 720px) {
  .draft-sheet {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 108px;
  }
  .draft-sheet__img,
  .draft-sheet__media {
    min-height: 108px;
  }
  .event-detail__dialog--landscape {
    max-height: 92vh;
  }
  .event-detail__split {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .event-detail__pane--media .event-gallery {
    min-height: 180px;
  }
  .event-detail__headland {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-detail__meta--inline {
    white-space: normal;
  }
}
/* 尾款支付卡片（参考主流支付单：头栏 + 金额 + 主按钮） */
.msg-card--pay-sheet {
  padding: 0;
  border: 1px solid rgba(217, 119, 6, 0.35);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(217, 119, 6, 0.18) 0, transparent 55%),
    linear-gradient(165deg, rgba(32, 28, 24, 0.98) 0%, rgba(18, 17, 16, 0.96) 100%);
  overflow: hidden;
}
.msg-card--pay-sheet::after {
  display: none;
}
.msg-card--pay-sheet .msg-card__lock {
  margin: 0 16px 12px;
}
.pay-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pay-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.pay-card__head-text {
  flex: 1;
  min-width: 0;
}
.pay-card__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}
.pay-card__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}
.pay-card__status {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99px;
  color: #fbbf24;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.pay-card__status--voided {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}
.pay-card__status--paid {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.35);
}
.pay-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 18px 16px 8px;
}
.pay-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  font-family: var(--font-serif);
}
.pay-card__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pay-card__note {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
.pay-card__cta {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1208;
  cursor: pointer;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.pay-card__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.pay-card__cta:active {
  transform: translateY(0);
}
.msg-card--BALANCE_PAID.msg-card--pay-sheet {
  border-color: rgba(74, 222, 128, 0.35);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(74, 222, 128, 0.12) 0, transparent 55%),
    linear-gradient(165deg, rgba(28, 32, 28, 0.98) 0%, rgba(16, 18, 17, 0.96) 100%);
}
.msg-card--BALANCE_PAID.msg-card--pay-sheet .pay-card__icon {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
}
.msg-card__lock {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 8px;
}
.msg-card__lock--confirm { color: #1c7c3c; background: rgba(46, 160, 67, 0.15); }
.msg-card__lock--reject { color: #c0392b; background: rgba(224, 93, 93, 0.15); }
.msg-card__lock--paid { color: #1c7c3c; background: rgba(46, 160, 67, 0.15); }
.prog-btn--pay {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
  cursor: pointer;
}
.balance-pay__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 8px 0 6px;
}
.balance-pay__amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 6px 0;
}
.balance-pay__breakdown {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.balance-pay__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.balance-pay__row strong {
  color: var(--text-light);
  font-weight: 600;
}
.balance-pay__row--discount {
  color: #3dd68c;
}
.balance-pay__row--discount strong {
  color: #3dd68c;
}
.balance-pay__badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  background: rgba(61, 214, 140, 0.15);
  color: #3dd68c;
  border: 1px solid rgba(61, 214, 140, 0.35);
}
.balance-pay__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 247, 235, 0.82);
  cursor: pointer;
}
.balance-pay__check input { margin-top: 3px; flex: none; }
.pay-card__discount {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
  background: rgba(61, 214, 140, 0.15);
  color: #3dd68c;
  border: 1px solid rgba(61, 214, 140, 0.35);
}
.pay-card__note--discount {
  color: #3dd68c !important;
}
.balance-pay__hint { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.balance-pay__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.reject-modal__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
}
.reject-modal__label {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.reject-modal__textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  margin-bottom: 6px;
}
.reject-modal__error {
  font-size: 0.8rem;
  color: #e05d5d;
  margin-bottom: 10px;
  min-height: 1.2em;
}
.balance-pay__success {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2ea043;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.profile-prompt { max-width: 400px; }
.profile-prompt__title { font-size: 1.15rem; font-weight: 600; color: var(--text-light); margin: 8px 0 4px; }
.profile-prompt__sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.profile-prompt__label { display: block; font-size: 0.78rem; color: var(--text-muted); margin: 12px 0 6px; }
.profile-prompt__actions { display: flex; gap: 10px; margin-top: 18px; }
.event-detail__shipment {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 169, 98, 0.18);
}
.event-detail__shipment-row {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.event-detail__shipment-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 4px 0 8px;
}
.event-detail__timeline { margin-top: 8px; }
.event-detail__tl-item {
  padding: 8px 0 8px 14px;
  border-left: 2px solid rgba(201, 169, 98, 0.4);
  position: relative;
}
.event-detail__tl-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.event-detail__tl-item.is-current { border-left-color: var(--gold); }
.event-detail__tl-item.is-current .event-detail__tl-desc { font-weight: 600; color: var(--text); }
.event-detail__tl-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* --- Typing --- */
.chat__typing {
  display: none; align-items: center; gap: 8px;
  padding: 0 24px 8px;
}
.chat__typing.visible { display: flex; }
.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.typing-label { font-size: 0.72rem; color: var(--text-muted); }

/* --- Composer --- */
.chat__composer {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-dark);
  background: #0a0a0a;
  position: relative;
}
.composer__action {
  color: var(--text-muted); padding: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.composer__action:hover { color: var(--gold); }

/* Emoji picker */
.emoji-picker {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 52px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 320px;
  max-width: calc(100vw - 48px);
  padding: 10px;
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}
.emoji-picker[hidden] { display: none; }
.emoji-picker__item {
  font-size: 20px;
  line-height: 1;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.15s;
}
.emoji-picker__item:hover { background: rgba(192, 160, 96, 0.18); }
.composer__input {
  flex: 1;
  padding: 12px 16px;
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: 99px;
  color: var(--text-light);
  font-size: 0.9rem; font-family: inherit;
  outline: none; transition: var(--transition);
}
.composer__input:focus { border-color: var(--gold); }
.composer__input::placeholder { color: var(--text-muted); }
.composer__send {
  padding: 11px 22px;
  background: var(--gold); color: var(--bg-darker);
  border-radius: 99px;
  font-size: 0.85rem; font-weight: 600;
  transition: var(--transition);
}
.composer__send:hover { background: var(--gold-light); }

/* --- Workspace responsive --- */
@media (max-width: 1023px) {
  .app-shell { grid-template-columns: 300px 1fr; }
  .msg { max-width: 85%; }
}

@media (max-width: 767px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    border-right: none;
  }
  .app-body.sidebar-open .sidebar { display: flex; }
  .app-body:not(.sidebar-open) .sidebar { display: none; }
  .app-body:not(.sidebar-open) .chat { display: flex; }
  .app-body.sidebar-open .chat { display: none; }

  .chat__back { display: flex; }
  .chat__header { padding: 12px 16px; }
  .chat__header-right { gap: 8px; }
  .chat__members { display: none; }
  .chat__stage { display: none; }
  .chat__body { padding: 16px; }
  .msg { max-width: 92%; }
  .chat__composer { padding: 10px 12px; gap: 6px; }
  .composer__input { padding: 11px 14px; }
  .composer__send { padding: 11px 16px; }

  .header__cta { display: none; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--border-dark);
    z-index: 110;
  }
}

/* ============================================================
   Dual service paths (homepage)
============================================================ */
.paths { background: var(--bg-dark); }
.paths .section__title { color: var(--text-light); }
.paths .section__sub { color: rgba(245, 240, 232, 0.55); }
.paths .section__eyebrow { color: var(--gold); }

.paths__switch {
  display: none;
  gap: 8px;
  margin: 0 auto 28px;
  max-width: 520px;
  padding: 6px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  background: rgba(20, 19, 18, 0.9);
}
.paths__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(245, 240, 232, 0.55);
  cursor: pointer;
  transition: var(--transition);
}
.paths__tab.is-active {
  background: rgba(201, 169, 110, 0.16);
  color: var(--text-light);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.35);
}
.paths__tab-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}
.paths__tab-label {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.path-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 28px 28px;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.02), transparent 40%),
    #141312;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.path-panel:hover {
  border-color: rgba(201, 169, 110, 0.35);
  transform: translateY(-4px);
}
.path-panel--featured {
  border-color: rgba(201, 169, 110, 0.45);
  background:
    linear-gradient(165deg, rgba(201,169,110,0.1), transparent 42%),
    #141312;
}
.path-panel__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--bg-darker);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 99px;
}
.path-panel__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
}
.path-panel__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.12);
}
.path-panel__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.path-panel__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.2;
  margin: 0;
}
.path-panel__price {
  text-align: right;
  line-height: 1;
}
.path-panel__amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
}
.path-panel__unit {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.path-panel__desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
  margin: 0;
}
.path-flow__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px 0 0;
  border-top: 1px solid rgba(201, 169, 110, 0.16);
  display: grid;
  gap: 0;
}
.path-flow__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px 4px 14px;
  border-left: 1px solid transparent;
  position: relative;
}
.path-flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(201,169,110,0.45), rgba(201,169,110,0.05));
}
.path-flow__num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1.2;
  text-align: center;
  position: relative;
  z-index: 1;
}
.path-flow__step h4 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
}
.path-flow__step p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(245, 240, 232, 0.55);
}
.path-flow__step--key h4 { color: var(--gold); }
.path-flow__step--key .path-flow__num { opacity: 1; }

.path-panel__note {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}
.service-card__btn { width: 100%; margin-top: auto; }

.services__guarantee {
  text-align: center;
  margin-top: 28px;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 300;
}

@media (max-width: 900px) {
  .paths__switch { display: flex; }
  .paths__grid { grid-template-columns: 1fr; }
  .path-panel { display: none; }
  .path-panel.is-active { display: flex; }
  .path-panel:hover { transform: none; }
  .path-panel__head {
    grid-template-columns: auto 1fr;
  }
  .path-panel__price {
    grid-column: 2;
    text-align: left;
    margin-top: 4px;
  }
  .path-panel__amount { font-size: 1.7rem; }
}

/* ============================================================
   Modals (login + checkout)
============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  z-index: 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%; max-width: 420px;
  background: #141312;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
}
.modal.open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  font-size: 1.6rem; line-height: 1;
  color: var(--text-muted);
}
.modal__close:hover { color: var(--text-light); }
.modal__brand {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
}
.modal__title {
  font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 500;
  color: var(--text-light);
  margin-bottom: 8px;
}
.modal__sub {
  font-size: 0.85rem; color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 28px;
}
.modal__divider {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0;
  color: var(--text-muted);
}
.modal__divider::before, .modal__divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border-dark);
}
.modal__divider span { font-size: 0.78rem; }

.login-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 16px;
  background: #fff; color: #1a1a1a;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  transition: var(--transition);
}
.login-google:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

.login-email { display: flex; flex-direction: column; gap: 12px; }
.login-email > .btn {
  width: 100%;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.95rem;
}
.login-email input {
  width: 100%;
  padding: 13px 16px;
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem; font-family: inherit;
  outline: none; transition: var(--transition);
}
.login-email input:focus { border-color: var(--gold); }
.login-email input::placeholder { color: var(--text-muted); }
.login-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.login-code:focus-within { border-color: var(--gold); }
.login-code input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  background: transparent;
}
.login-code input:focus { border-color: transparent; }
.login-code__send {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e3cf9a;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.login-code__send:hover { color: #fff; }
.login-code__send:disabled { color: rgba(255, 247, 235, 0.38); cursor: default; }
.login-email__hint {
  margin: -4px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e7d7b1;
}

/* Checkout */
.checkout__summary {
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.checkout__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 0.9rem; color: var(--text-light);
}
.checkout__row--total {
  border-top: 1px solid var(--border-dark);
  margin-top: 6px; padding-top: 14px;
  font-weight: 600;
  gap: 12px;
  align-items: flex-start;
}
.checkout__row--total span:first-child { flex: 0 0 auto; padding-top: 0.35rem; }
.checkout__row--total span:last-child {
  font-family: var(--font-serif);
  font-size: 1.6rem; color: var(--gold);
  text-align: right;
  line-height: 1.3;
}
.checkout__row--total span.checkout__price--multi {
  font-size: 1.02rem;
  font-weight: 600;
  max-width: 68%;
  white-space: normal;
}
.modal .btn--gold:hover,
.modal .btn--gold:active { transform: none; }
.checkout__error {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e7a3a3;
  text-align: left;
}
.checkout__pay:disabled { opacity: 0.65; cursor: wait; }

.modal__dialog--checkout {
  max-width: 860px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 32px 24px;
}
.modal__dialog--checkout .modal__title { margin-bottom: 4px; }
.modal__dialog--checkout .modal__sub { margin-bottom: 16px; }
.modal__dialog--checkout .checkout__summary { margin-bottom: 16px; }

.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 22px 28px;
  align-items: start;
}
.checkout__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.checkout__note {
  margin: -2px 0 2px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 300;
}

/* Checkout requirements form */
.checkout__requirements {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 20px;
}
.checkout__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.checkout__textarea,
.checkout__input {
  width: 100%;
  padding: 13px 16px;
  background: #1c1a18;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}
.checkout__textarea {
  resize: vertical;
  min-height: 148px;
  flex: 1;
  line-height: 1.6;
}
.checkout__textarea:focus,
.checkout__input:focus { border-color: var(--gold); }
.checkout__textarea::placeholder,
.checkout__input::placeholder { color: var(--text-muted); }

/* Upload zone */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1.5px dashed rgba(201, 169, 98, 0.35);
  border-radius: var(--radius);
  background: rgba(201, 169, 98, 0.04);
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.upload-zone:hover,
.upload-zone--dragover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.09);
}
.upload-zone__text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Image preview grid */
.image-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.image-preview:empty { display: none; }
.image-preview__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.image-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-preview__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.image-preview__remove:hover { background: #e05d5d; }

.checkout__secure {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem; color: var(--text-muted);
  font-weight: 300;
}
.checkout__success {
  display: none;
  text-align: center;
  padding-top: 8px;
}
.checkout__success svg { margin: 0 auto 16px; }
.checkout__success p {
  font-size: 0.95rem; color: var(--text-light);
  margin-bottom: 22px;
}

/* Services responsive */
@media (max-width: 767px) {
  .path-panel { padding: 30px 20px 22px; }
  .modal__dialog { padding: 32px 24px; }
  .modal:has(.modal__dialog--checkout) { align-items: flex-end; padding: 0; }
  .modal__dialog--checkout {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    padding: 24px 18px 20px;
  }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__textarea { min-height: 96px; }
}

/* Independent-site shop / seller — JD/Taobao-inspired retail layout */
.mall-page {
  --mall-max: 1280px;
  --price: #c8161d;
  --price-bg: #fff5f5;
  --mall-accent: #b8860b;
  background: #f5f5f5;
}
.mall-page::before { display: none; }
.mall-page .container { max-width: var(--mall-max); }
.mall-page .header__inner { max-width: var(--mall-max); }

.mall {
  padding-top: var(--header-h);
  padding-bottom: 64px;
}
.mall-search {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 4px 0 18px;
  padding: 0;
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: auto;
}
.mall-search__brand,
.mall-search__custom,
.mall-search__inner { display: none; }
.mall-search__box {
  display: flex;
  align-items: stretch;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  border: 1.5px solid rgba(184, 134, 11, 0.45);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(40, 28, 12, 0.06);
}
.mall-search__box input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: none;
  padding: 0 18px;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: transparent;
}
.mall-search__btn {
  flex: none;
  min-width: 108px;
  padding: 0 28px;
  background: linear-gradient(180deg, #d4a84b 0%, #b8860b 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: filter 0.15s;
}
.mall-search__btn:hover { filter: brightness(1.06); }
.mall-search--hero-in .mall-search__box {
  animation: mall-search-hero-pulse 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mall-search-hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.35); transform: scale(0.985); filter: blur(2px); }
  55% { box-shadow: 0 0 0 8px rgba(184, 134, 11, 0.1); transform: scale(1.01); filter: blur(0); }
  100% { box-shadow: none; transform: scale(1); filter: none; }
}
.feed-search__ghost {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: #fffdf9;
  border: 1.5px solid rgba(154, 125, 70, 0.35);
  overflow: hidden;
  will-change: left, top, width, height, filter, opacity;
}
.feed-search__ghost .feed-search__hint { display: none; }
.feed-search__ghost.is-morphing {
  animation: feed-search-ghost-blur 0.92s cubic-bezier(0.33, 0.1, 0.2, 1);
}
@keyframes feed-search-ghost-blur {
  0% { filter: blur(0); }
  42% { filter: blur(7px); }
  100% { filter: blur(0); }
}
html.feed-search-morphing body > *:not(.feed-search__ghost) {
  filter: blur(10px);
  opacity: 0.42;
  transition: filter 0.92s cubic-bezier(0.33, 0.1, 0.2, 1), opacity 0.92s cubic-bezier(0.33, 0.1, 0.2, 1);
  pointer-events: none;
}

.mall__body { padding-top: 20px; }
.mall-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mall-crumb a { color: var(--text-muted-dark); }
.mall-crumb a:hover { color: var(--price); }
.mall-crumb__sep { opacity: 0.45; }

.mall-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 16px;
  background: linear-gradient(105deg, #1a1610 0%, #2a2214 48%, #3a2e18 100%);
  border-radius: 6px;
  color: #f5ecd8;
}
.mall-banner__tag {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4af37;
}
.mall-banner__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff8e8;
}
.mall-banner__desc {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(245, 236, 216, 0.72);
  line-height: 1.5;
  max-width: 640px;
}
.mall-banner__btn {
  flex: none;
  padding: 10px 22px;
  background: linear-gradient(180deg, #ecc96c, #c9a227);
  color: #1a1408;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  white-space: nowrap;
}
.mall-banner__btn:hover { filter: brightness(1.05); }

.mall-cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.shop-filter-chip {
  flex: none;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  color: var(--text-dark);
  border-radius: 0;
  padding: 12px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.shop-filter-chip:last-child { border-right: 0; }
.shop-filter-chip:hover { color: var(--price); background: #fafafa; }
.shop-filter-chip.is-active {
  color: var(--price);
  font-weight: 600;
  background: #fff;
}
.shop-filter-chip.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--price);
}

.mall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  padding: 0 4px 0 0;
  margin-bottom: 14px;
  min-height: 44px;
}
.mall-sort { display: flex; flex-wrap: wrap; }
.mall-sort__btn {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
}
.mall-sort__btn:hover { color: var(--price); }
.mall-sort__btn.is-active {
  color: var(--price);
  font-weight: 600;
  background: #fafafa;
}
.mall-count {
  padding: 0 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.mall-count strong { color: var(--price); font-weight: 600; }

.shop-fees {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 32px;
}
.shop-fees__title { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.shop-fees__row { font-size: 0.95rem; color: var(--text-dark); }
.shop-fees__note { margin-top: 10px; color: var(--text-muted-dark); font-size: 0.85rem; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.shop-card:hover {
  border-color: rgba(200, 22, 29, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: none;
}
.shop-card__img, .shop-card__ph { aspect-ratio: 1; background: #f0ece4; }
.shop-card__img { position: relative; overflow: hidden; }
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.shop-card:hover .shop-card__img img { transform: scale(1.04); }
.shop-card__body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.shop-card__price {
  margin: 0;
  color: var(--price);
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.shop-card__price small {
  font-size: 0.72em;
  font-weight: 600;
}
.shop-card__price-currency {
  font-size: 0.75em;
  font-weight: 600;
  margin-right: 1px;
}
.listing-price small { font-size: 0.55em; font-weight: 600; }
.shop-card__title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.shop-card__title .shop-card__type-inline {
  display: inline;
  color: var(--gold-dark);
  font-size: 0.78em;
  margin-right: 4px;
  padding: 1px 5px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 2px;
  vertical-align: 1px;
}
.shop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.shop-card__meta { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.shop-card__maker {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.shop-card__type { display: none; }

.shop-empty {
  grid-column: 1 / -1;
  color: var(--text-muted-dark);
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border-radius: 4px;
}
.mall-footer .footer__inner { justify-content: center; }
.mall-footer { background: #fff; border-top: 1px solid rgba(0,0,0,0.06); margin-top: 0; }

/* Listing detail — retail PDP */
.listing-page {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 80px;
  background: #f5f5f5;
  min-height: 70vh;
}
.listing-wrap { max-width: var(--mall-max, 1280px); }
.listing-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.listing-crumb a { color: var(--text-muted-dark); }
.listing-crumb a:hover { color: var(--price, #c8161d); }
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  overflow: hidden;
}
.listing-media {
  padding: 24px;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listing-media__stage {
  aspect-ratio: 1;
  background: #f7f4ee;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-media img, .listing-ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: #efe8dc;
}
.listing-media__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.listing-media__tab {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  color: var(--text-muted-dark);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 0.82rem;
  cursor: pointer;
}
.listing-media__tab em {
  font-style: normal;
  color: var(--text-muted);
  margin-left: 2px;
}
.listing-media__tab.is-on,
.listing-media__tab:hover {
  border-color: rgba(200, 22, 29, 0.35);
  color: var(--price, #c8161d);
  background: #fff5f5;
}
.listing-media__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.listing-media__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  border: 2px solid transparent;
  background: #f0ece4 center/cover no-repeat;
  cursor: pointer;
  padding: 0;
}
.listing-media__thumb.is-on {
  border-color: var(--price, #c8161d);
}
.listing-options {
  margin: 8px 0 4px;
  padding: 14px 14px 6px;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.listing-options__hint {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.listing-howto {
  margin-top: 24px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
}
.listing-howto__title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}
.listing-howto__sub {
  margin: 0 0 18px;
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  line-height: 1.6;
}
.listing-howto__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.listing-howto__steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-dark);
}
.listing-howto__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #e4cf9d, #c4a15d);
  color: #1c1812;
  font-size: 0.82rem;
  font-weight: 700;
}
.listing-howto__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.listing-info {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.listing-seller-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--text-muted-dark);
}
.listing-seller-line__shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: #fff8e8;
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 3px;
  color: var(--gold-dark);
  font-weight: 500;
}
.listing-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--text-dark);
}
.listing-pricebox {
  background: var(--price-bg, #fff5f5);
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.listing-pricebox__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.listing-price {
  font-size: 2rem;
  color: var(--price, #c8161d);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.listing-price__cur { font-size: 0.55em; font-weight: 600; margin-right: 2px; }
.listing-pricebox__meta {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-muted-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.listing-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}
.listing-promises span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.listing-promises span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mall-accent, #b8860b);
  flex: none;
}
.listing-desc {
  color: var(--text-muted-dark);
  margin-bottom: 16px;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.7;
}
.listing-specs {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 12px;
  font-size: 0.88rem;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 4px;
}
.listing-specs__k { color: var(--text-muted); }
.listing-specs__v { color: var(--text-dark); }
.listing-specs--wide { max-width: 720px; }
.listing-product-detail {
  margin: 28px 0 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.listing-detail-block { margin-bottom: 28px; }
.listing-detail-block__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
}
.listing-detail-block__lead {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
  max-width: 640px;
}
.listing-detail-block__muted {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.listing-detail-footnote {
  margin: 0 0 20px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
}
.listing-stone-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: #fff;
}
.listing-stone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 520px;
}
.listing-stone-table th,
.listing-stone-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
}
.listing-stone-table th {
  background: #faf8f4;
  color: var(--text-muted-dark);
  font-weight: 500;
}
.listing-stone-table tr:last-child td { border-bottom: 0; }
.listing-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 640px;
}
.listing-process-list__item {
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
}
.listing-process-list__name {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.listing-process-list__note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted-dark);
}
.listing-order {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.listing-order__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 10px 0 4px;
}
.listing-label { display: block; margin: 14px 0 6px; font-size: 0.85rem; color: var(--text-muted-dark); }
.listing-label--section { margin-top: 18px; font-weight: 500; color: var(--text-dark); }
.listing-address-block { margin-bottom: 4px; }
.listing-type { display: none; }
.listing-back { display: none; }

@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .mall-search__box { max-width: 100%; }
  .mall-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mall-search { margin-bottom: 14px; }
  .mall-search__box { max-width: none; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-media { border-right: 0; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 16px; }
  .listing-info { padding: 20px 16px 28px; }
  .listing-howto { padding: 22px 16px; margin-top: 16px; }
  .listing-buy { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 8px 24px rgba(200,22,29,0.25); }
}
.address-form { display: flex; flex-direction: column; gap: 0; }
.address-form__label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}
.address-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2px;
}
.address-form__col { min-width: 0; }
.address-form__col .address-form__label { margin-top: 0; }
.address-form__detail { min-height: 72px; resize: vertical; }
.address-form__select { cursor: pointer; }
.address-form__city-custom,
.address-form__state-custom { margin-top: 8px; }
@media (max-width: 640px) {
  .address-form__row { grid-template-columns: 1fr; }
}
.listing-buy {
  margin-top: 22px;
  width: 100%;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #e23b3b 0%, #c8161d 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(200, 22, 29, 0.28);
  letter-spacing: 0.06em;
}
.listing-buy:hover { filter: brightness(1.05); }
.storefront-page .checkout__input {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-radius: 4px;
}
#sellerGate.order-gate {
  margin-top: var(--header-h);
  background: var(--bg-light);
}
#sellerGate .order-gate__title { color: var(--text-dark); }
.seller-page { padding-top: 110px; padding-bottom: 80px; }
.seller-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.seller-kpi { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 18px; }
.seller-kpi span { display: block; color: var(--text-muted-dark); font-size: 0.8rem; }
.seller-kpi strong { display: block; margin-top: 6px; font-size: 1.4rem; font-family: var(--font-serif); }
.seller-withdraw { display: flex; gap: 12px; align-items: center; max-width: 420px; }
.seller-h { margin: 36px 0 14px; font-family: var(--font-serif); font-size: 1.5rem; }
.seller-table { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.seller-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border-light); }
.seller-row:last-child { border-bottom: none; }
.seller-muted { color: var(--text-muted-dark); font-size: 0.82rem; margin-top: 4px; }
@media (max-width: 767px) {
  .listing-layout, .seller-kpis, .seller-row { grid-template-columns: 1fr; }
  .seller-withdraw { flex-direction: column; align-items: stretch; }
}
.cta__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) {
  .partner__grid { grid-template-columns: 1fr; gap: 28px; }
  .shop-spot { min-height: 80vh; }
  .partner-step { padding-left: 72px; }
}

.shipaddr { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.shipaddr__hint { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin: 0 0 4px; }
.shipaddr__label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.shipaddr .checkout__input { font-size: 16px; min-height: 44px; }
.shipaddr .address-form { margin-top: 4px; }
.shipaddr .address-form__label {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 8px 0 4px;
}
.shipaddr .address-form__detail { min-height: 72px; resize: vertical; }
.shipaddr__detail { min-height: 88px; resize: vertical; }
.shipaddr__error { color: #e05d5d; font-size: 0.85rem; min-height: 1.2em; }
.shipaddr__actions { display: flex; gap: 8px; margin-top: 8px; }
.shipaddr__actions .prog-btn { min-height: 44px; flex: 1; font-size: 16px; }
.msg-card__btn--addr { min-height: 40px; width: 100%; font-size: 15px; }
.event-detail__dialog.shipaddr-dialog {
  max-width: 720px;
  width: min(720px, calc(100vw - 32px));
}

.designopt-promo {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f0c14b 0%, #e8a317 100%);
  border-radius: 3px;
  vertical-align: middle;
}
.designopt-promo-tip {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #c9a227;
}
@media (max-width: 640px) {
  .event-detail:has(.shipaddr-dialog) { align-items: flex-end; padding: 0; }
  .shipaddr-dialog { max-width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; }
}

.brief-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(176, 137, 72, 0.16), transparent 55%),
    #f3efe6;
  color: #1c1915;
}
.brief { max-width: none; margin: 0; padding: 0; min-height: 100vh; }
.brief__card { max-width: 440px; margin: 64px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 14px; }
.brief__brand { margin: 0; color: #8c6a32; letter-spacing: 0.22em; }
.brief__title { margin: 0; font-family: var(--font-serif); font-size: 2rem; font-weight: 500; }
.brief__lead, .brief__hint { margin: 0; line-height: 1.6; }
.brief__submit { width: 100%; text-align: center; }

.wiz {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wiz--done { max-width: 560px; margin: 0 auto; padding: 18vh 24px; gap: 16px; }
.wiz__top, .wiz__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.wiz__brand { letter-spacing: 0.22em; color: #8c6a32; }
.wiz__order, .wiz__count { font-size: 0.82rem; color: #6d655b; }
.wiz__progress { height: 3px; margin: 0 28px; background: rgba(28, 25, 21, 0.08); border-radius: 99px; overflow: hidden; }
.wiz__progress-fill { display: block; height: 100%; background: #b08948; transition: width 0.35s ease; }
.wiz__stage {
  flex: 1;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: 36px;
  align-items: center;
  padding: 12px 0 24px;
}
.wiz__stage.is-in { animation: wizIn 0.38s ease; }
@keyframes wizIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.wiz__guide { color: #1c1915; }
.wiz__art { width: min(300px, 72vw); color: #1c1915; margin-bottom: 18px; }
.wiz__art svg { width: 100%; height: auto; }
.brief-photo { display: block; object-fit: cover; border-radius: 20px; border: 1px solid #e2d8c4; background: #efe8da; }
.brief-photo--plate { width: 100%; aspect-ratio: 4 / 3; }
.brief-photo--mark { width: 52px; height: 52px; }
.wiz__guide-title { margin: 0 0 8px; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; }
.wiz__guide-body { margin: 0 0 8px; color: #5c564e; line-height: 1.65; }
.wiz__kicker { margin: 0 0 8px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: #8c6a32; }
.wiz__title { margin: 0 0 8px; font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.2; }
.wiz__lead { margin: 0 0 18px; color: #5c564e; line-height: 1.6; }
.wiz__ask { max-height: calc(100vh - 168px); overflow: auto; padding-right: 6px; }
.wiz__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wiz__choice {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 12px 12px 12px 14px;
  border-radius: 16px;
  border: 2px solid rgba(28, 25, 21, 0.1);
  background: rgba(255, 252, 247, 0.72);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.wiz__choice:not(.is-on):hover { border-color: rgba(176, 137, 72, 0.55); background: rgba(255, 253, 249, 0.95); }
.wiz__choice.is-on {
  border-color: #9a6b28;
  background: linear-gradient(145deg, #fffdf6 0%, #fff6e6 100%);
  box-shadow: 0 0 0 3px rgba(176, 137, 72, 0.35), 0 12px 28px rgba(140, 106, 50, 0.18);
}
.wiz__choice.is-on::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #c9a04a, #8c6a32);
}
.wiz__choice.is-on::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #9a6b28;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
.wiz__choice.is-on .wiz__choice-text strong { color: #6b4a1a; }
.wiz__choice.is-on .wiz__glyph { filter: drop-shadow(0 2px 6px rgba(140, 106, 50, 0.25)); }
.wiz__input--other { margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(154, 107, 40, 0.45); background: rgba(255, 251, 243, 0.9); }
.wiz__glyph, .wiz__swatch { width: 52px; height: 52px; flex: 0 0 52px; }
.wiz__glyph svg { width: 52px; height: 52px; }
.wiz__choice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wiz__choice-text strong { font-size: 0.95rem; }
.wiz__choice-text small { color: #6d655b; line-height: 1.4; }
.wiz__swatch { border-radius: 50%; border: 1px solid rgba(28, 25, 21, 0.15); }
.wiz__swatch--colorless { background: linear-gradient(135deg, #fff, #d9e4ee); }
.wiz__swatch--yellow { background: linear-gradient(135deg, #ffe28a, #e2b23a); }
.wiz__swatch--pink { background: linear-gradient(135deg, #ffd6e2, #e7a0b8); }
.wiz__swatch--blue { background: linear-gradient(135deg, #c9e4ff, #6aa2d6); }
.wiz__swatch--green { background: linear-gradient(135deg, #d7f0d4, #6eae78); }
.wiz__swatch--red { background: linear-gradient(135deg, #ffd0d0, #c45454); }
.wiz__swatch--black { background: linear-gradient(135deg, #4a4744, #161412); }
.wiz__swatch--multi { background: conic-gradient(#e2b23a, #6aa2d6, #c45454, #6eae78, #e2b23a); }
.wiz__swatch--other { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #ddd 4px, #ddd 8px); }
.wiz__input { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.wiz__input input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(28, 25, 21, 0.16);
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
}
.wiz__input small { display: block; color: #6d655b; line-height: 1.45; }
.wiz__input--money input { font-size: 1.7rem; font-family: var(--font-serif); }
.wiz__review { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.wiz__review li { line-height: 1.5; }
.wiz__error { min-height: 1.2em; margin: 10px 0 0; color: #a33b3b; }
.wiz__back, .wiz__next {
  min-width: 132px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.wiz__back { background: transparent; border: 1px solid rgba(28, 25, 21, 0.2); color: #1c1915; }
.wiz__back:disabled { opacity: 0.35; cursor: default; }
.wiz__next { border: 0; background: #b08948; color: #1c1915; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wiz__next:disabled { opacity: 0.6; }
@media (max-width: 800px) {
  .wiz__stage { grid-template-columns: 1fr; width: calc(100% - 28px); gap: 12px; align-items: start; }
  .wiz__art { width: 92px; margin-bottom: 0; }
  .wiz__guide { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
  .wiz__guide-title { font-size: 1.15rem; }
  .wiz__ask { max-height: none; }
  .wiz__choices { grid-template-columns: 1fr; }
  .wiz__top, .wiz__bar { padding-left: 16px; padding-right: 16px; }
}

/* Cross-document morph: homepage feed search ↔ shop search（与 FLIP 幽灵层互斥） */
@view-transition {
  navigation: auto;
}
html.skip-view-transition {
  view-transition-name: none !important;
}
html.skip-view-transition #homeFeedSearchBox,
html.skip-view-transition #shopSearchBox {
  view-transition-name: none !important;
}
::view-transition-group(root),
::view-transition-group(moje-shop-search) {
  animation-duration: 0.92s;
  animation-timing-function: cubic-bezier(0.33, 0.1, 0.2, 1);
}
::view-transition-old(root) {
  animation: vt-page-out 0.92s cubic-bezier(0.33, 0.1, 0.2, 1) both;
}
::view-transition-new(root) {
  animation: vt-page-in 0.92s cubic-bezier(0.33, 0.1, 0.2, 1) both;
}
@keyframes vt-page-out {
  from { opacity: 1; filter: blur(0); transform: scale(1); }
  to { opacity: 0; filter: blur(14px); transform: scale(1.015); }
}
@keyframes vt-page-in {
  from { opacity: 0; filter: blur(14px); transform: scale(0.985); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}
::view-transition-old(moje-shop-search),
::view-transition-new(moje-shop-search) {
  animation-duration: 0.92s;
  animation-timing-function: cubic-bezier(0.33, 0.1, 0.2, 1);
  height: 100%;
  overflow: clip;
  mix-blend-mode: normal;
}
::view-transition-old(moje-shop-search) {
  animation-name: vt-search-old;
}
::view-transition-new(moje-shop-search) {
  animation-name: vt-search-new;
}
@keyframes vt-search-old {
  from { opacity: 1; filter: blur(0); }
  50% { opacity: 0.85; filter: blur(5px); }
  to { opacity: 0; filter: blur(2px); }
}
@keyframes vt-search-new {
  from { opacity: 0; filter: blur(6px); }
  45% { opacity: 0.9; filter: blur(3px); }
  to { opacity: 1; filter: blur(0); }
}
#homeFeedSearchBox,
#shopSearchBox {
  view-transition-name: moje-shop-search;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(moje-shop-search),
  ::view-transition-new(moje-shop-search) {
    animation-duration: 0.01ms !important;
  }
  html.feed-search-morphing body > *:not(.feed-search__ghost) {
    filter: none;
    opacity: 1;
    transition: none;
  }
}

/* ---------- Homepage Xiaohongshu-style feed ---------- */
.feed {
  background: linear-gradient(180deg, #f7f4ee 0%, #efe9dd 40%, #f7f4ee 100%);
  padding-bottom: 72px;
}
.feed-search {
  display: flex;
  justify-content: center;
  margin: 22px auto 4px;
  max-width: 560px;
  width: 100%;
}
.feed-search__box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: #fffdf9;
  border: 1.5px solid rgba(154, 125, 70, 0.35);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(40, 28, 12, 0.06);
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feed-search__box:hover {
  border-color: rgba(184, 134, 11, 0.55);
  box-shadow: 0 12px 28px rgba(40, 28, 12, 0.1);
}
.feed-search__box:focus-within {
  border-color: var(--mall-accent, #b8860b);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}
.feed-search__icon {
  flex: none;
  color: rgba(154, 125, 70, 0.75);
}
.feed-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.98rem;
  color: var(--text-dark);
  cursor: pointer;
}
.feed-search__input::placeholder { color: rgba(90, 78, 62, 0.45); }
.feed-search__hint {
  flex: none;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(154, 125, 70, 0.7);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .feed-search { margin-top: 18px; padding: 0 4px; }
  .feed-search__hint { display: none; }
  .feed-search__box { min-height: 46px; border-radius: 12px; }
}
.xhs-feed {
  column-count: 4;
  column-gap: 14px;
  margin-top: 8px;
}
.xhs-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 14px;
  background: #fffdf9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 15, 0.06);
  box-shadow: 0 8px 22px rgba(40, 28, 12, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  color: inherit;
  text-decoration: none;
}
.xhs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(40, 28, 12, 0.1);
}
.xhs-card__media {
  position: relative;
  background: #efe8dc;
  overflow: hidden;
}
.xhs-card__media--tall { aspect-ratio: 3 / 4; }
.xhs-card__media--square { aspect-ratio: 1; }
.xhs-card__media--wide { aspect-ratio: 4 / 3; }
.xhs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.xhs-card:hover .xhs-card__media img { transform: scale(1.04); }
.xhs-card__ph {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  color: rgba(154, 125, 70, 0.55);
  font-family: var(--font-serif);
  letter-spacing: 0.18em;
}
.xhs-card__type {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(255, 253, 249, 0.92);
  color: var(--text-dark);
  border: 1px solid rgba(23, 20, 15, 0.08);
}
.xhs-card__body { padding: 12px 12px 14px; }
.xhs-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dark);
}
.xhs-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.xhs-card__price {
  color: #c8161d;
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.xhs-card__maker {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}
.feed__empty {
  column-span: all;
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted-dark);
}
@media (max-width: 1100px) {
  .xhs-feed { column-count: 3; }
}
@media (max-width: 760px) {
  .xhs-feed { column-count: 2; column-gap: 10px; }
  .xhs-card { margin-bottom: 10px; border-radius: 12px; }
}
@media (max-width: 420px) {
  .xhs-feed { column-count: 2; }
}

/* ---------- FAB + paths modal ---------- */
.fab-custom {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #1a1408;
  background: linear-gradient(135deg, #ecc96c 0%, #c9a227 55%, #a67c00 100%);
  box-shadow: 0 12px 32px rgba(168, 124, 20, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fab-custom:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(168, 124, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.fab-custom__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(26, 20, 8, 0.12);
}
.fab-custom__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .fab-custom {
    right: 14px;
    bottom: 16px;
    padding: 0 14px 0 10px;
    min-height: 48px;
  }
  .fab-custom__label { font-size: 0.84rem; }
}

.modal--paths.open { display: flex; align-items: center; justify-content: center; }
.modal--paths .modal__backdrop {
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(8px);
}
.paths-modal {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 36px 32px 28px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(201, 169, 110, 0.16), transparent 55%),
    linear-gradient(180deg, #14110d 0%, #0b0a09 100%);
  border: 1px solid rgba(201, 169, 110, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: #f4efe4;
}
.paths-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #f4efe4;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.paths-modal__head { text-align: center; margin-bottom: 26px; padding: 0 24px; }
.paths-modal__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4af37;
}
.paths-modal__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: #fff8e8;
}
.paths-modal__sub {
  margin: 0 auto;
  max-width: 560px;
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.92rem;
  line-height: 1.6;
}
.paths-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.paths-modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1c1914 0%, #12100c 100%);
  border: 1px solid rgba(201, 169, 110, 0.22);
}
.paths-modal__card--featured {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 16px 40px rgba(0, 0, 0, 0.25);
}
.paths-modal__badge {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecc96c, #c9a227);
  color: #1a1408;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.paths-modal__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.paths-modal__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
}
.paths-modal__price {
  text-align: right;
}
.paths-modal__price strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: #ecc96c;
  line-height: 1.1;
}
.paths-modal__price span {
  font-size: 0.75rem;
  color: rgba(244, 239, 228, 0.55);
  letter-spacing: 0.06em;
}
.paths-modal__card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff8e8;
}
.paths-modal__card > p {
  margin: 0;
  color: rgba(244, 239, 228, 0.65);
  font-size: 0.88rem;
  line-height: 1.55;
}
.paths-modal__steps {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.paths-modal__steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 0.88rem;
  color: rgba(244, 239, 228, 0.82);
}
.paths-modal__steps em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #d4af37;
}
.paths-modal__card .service-card__btn {
  width: 100%;
  margin-top: 4px;
}
.paths-modal__guarantee {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(244, 239, 228, 0.5);
}
@media (max-width: 780px) {
  .paths-modal { padding: 28px 16px 20px; }
  .paths-modal__grid { grid-template-columns: 1fr; }
}
