:root {
  --bg: #101b1a;
  --panel: rgba(244, 238, 224, 0.9);
  --line: rgba(196, 159, 98, 0.24);
  --line-strong: rgba(196, 159, 98, 0.48);
  --text: #24302d;
  --muted: #63706a;
  --muted-2: #8a948e;
  --gold: #b98f4d;
  --gold-strong: #8b642d;
  --accent: #9e4e36;
  --porcelain: #f4eee0;
  --jade: #7faaa1;
  --ink-blue: #1b3432;
  --green: #6e9a83;
  --purple: #786f92;
  --danger: #a85d48;
  --shadow: 0 30px 80px rgba(2, 12, 11, 0.34);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 540px;
  --safe-bottom: calc(94px + env(safe-area-inset-bottom));
  --font-title: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.member-follow-grid .member-custom-icon {
  border-radius: 18px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #f7f1e5 !important;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 16% -4%, rgba(116, 165, 154, 0.34), transparent 30%),
    radial-gradient(circle at 90% 6%, rgba(185, 143, 77, 0.22), transparent 24%),
    radial-gradient(circle at 50% 52%, rgba(36, 72, 68, 0.42), transparent 34%),
    linear-gradient(150deg, #172927 0%, #0e1918 48%, #07100f 100%);
  color: var(--text);
  font-family: var(--font-body);
}

body { display: flex; justify-content: center; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.6), transparent 36%, rgba(141, 107, 56, 0.08) 64%, transparent 78%),
    radial-gradient(circle at 24% 12%, rgba(127, 170, 161, 0.08), transparent 28%);
  pointer-events: none;
}
button, input { font: inherit; }
button { border: 0; background: none; color: inherit; }

.app-shell {
  position: relative;
  width: min(100%, var(--max-width));
  min-height: 100vh;
  padding: 118px 16px var(--safe-bottom);
}

.app-shell::before {
  content: "WANRAN";
  position: fixed;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--max-width));
  color: rgba(64, 87, 98, 0.045);
  font-family: var(--font-title);
  font-size: clamp(54px, 16vw, 96px);
  letter-spacing: 0.18em;
  text-align: center;
  pointer-events: none;
  z-index: 0;
}

.ambient {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.48;
  pointer-events: none;
}

.ambient-left { top: 10%; left: -84px; background: rgba(147, 180, 184, 0.56); }
.ambient-right { right: -78px; bottom: 20%; background: rgba(216, 190, 142, 0.5); }

.glass-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.24) 38%, rgba(222, 236, 238, 0.72)),
    linear-gradient(180deg, rgba(255, 255, 252, 0.84), rgba(238, 246, 247, 0.72));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), calc(var(--max-width) - 32px));
  z-index: 30;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(64, 87, 98, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 135, 85, 0.48), transparent);
}

.topbar::after {
  content: "拍";
  position: absolute;
  right: 100px;
  top: -16px;
  color: rgba(64, 87, 98, 0.055);
  font-family: var(--font-title);
  font-size: 72px;
  line-height: 1;
  pointer-events: none;
}

.topbar-actions { display: flex; gap: 10px; }

.topbar h1,
.hero-card h2,
.section-head h3,
.detail-copy h2,
.profile-head h3,
.sheet-title,
.mode-card h4,
.strategy-card h4,
.insight-card h4,
.room-card h4,
.lot-card h4,
.detail-card h4,
.record-card h4,
.collection-card h4,
.service-card h4,
.asset-card h4,
.safety-card h4,
.order-card h4,
.auth-card h4,
.live-card h4,
.gateway-card h4,
.fulfill-card h4,
.timeline-card h4 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.topbar h1 {
  color: var(--ink-blue);
  font-size: 25px;
  text-shadow: 0 10px 26px rgba(64, 87, 98, 0.12);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-head {
  position: relative;
  padding-left: 14px;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--jade), var(--gold));
  box-shadow: 0 0 18px rgba(157, 183, 184, 0.42);
}

.section-head h3 {
  color: var(--ink-blue);
  font-size: 21px;
}

.icon-button {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: rgba(255, 255, 252, 0.62);
  border: 1px solid rgba(93, 117, 126, 0.12);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 12px 24px rgba(64, 87, 98, 0.08);
}

.icon-dot,
.icon-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-strong), var(--accent));
  color: #fffaf0;
  font-size: 12px;
  font-weight: 700;
}

.page-container { margin-top: 0; }
.page { display: none; animation: pageFade 0.45s ease; }
.page.active { display: block; }

.section-block,
.hero-card,
.profile-card,
.sticky-panel,
.catalog-meta,
.auth-layout,
.fulfill-layout,
.live-layout { margin-bottom: 28px; }

.compact-top { margin-top: 6px; }

.hero-card,
.room-card,
.lot-card,
.detail-gallery {
  position: relative;
  overflow: hidden;
}

.lot-card[data-open-lot] {
  cursor: pointer;
}

.lot-card[data-open-lot]:focus-visible {
  outline: 2px solid rgba(196, 159, 98, 0.72);
  outline-offset: 4px;
}

.page[data-page="catalog"] {
  margin: -18px -16px calc(-1 * var(--safe-bottom));
  padding: 20px 16px var(--safe-bottom);
  background: #fff;
  color: #0d0d0d;
  min-height: 100vh;
}

.auction-room-page {
  display: grid;
  gap: 16px;
  padding: 6px 0 0;
  color: #0d0d0d;
}

.auction-room-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.auction-room-head h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auction-room-head-actions {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.auction-state-corner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  color: #fff;
  background: #b32622;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.auction-room-head .auction-state-corner {
  color: #fff !important;
}

.auction-state-corner.auction-state-pending {
  background: #9a6a1f;
}

.auction-state-corner.auction-state-closed {
  background: #777;
}

.auction-remind {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #111;
  font-size: 13px;
}

.auction-room-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.3;
}

.auction-state-text {
  color: #b32622;
  font-weight: 700;
}

.auction-state-pending { color: #8b642d; }
.auction-state-live { color: #b32622; }
.auction-state-closed { color: #777; }

.auction-room-summary {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.auction-room-cover {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #111;
}

.auction-room-facts {
  display: grid;
  border-top: 1px solid #eee;
}

.auction-room-facts div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.auction-room-facts span {
  color: #222;
}

.auction-room-facts strong {
  color: #111;
  font-weight: 500;
}

.auction-room-detail {
  padding: 18px 0 6px;
  border-top: 1px solid #eee;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.auction-room-detail h4 {
  margin: 0 0 8px;
  color: #111;
  font-size: 18px;
}

.auction-record-content {
  display: grid;
  gap: 10px;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.auction-record-content p {
  margin: 0;
}

.auction-record-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 4px 0;
}

.auction-record-panel {
  padding: 4px 0 20px;
  background: #fff;
}

.auction-room-location {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.auction-room-location strong {
  color: #111;
  font-size: 16px;
}

.auction-room-location span {
  color: #333;
  font-size: 13px;
  line-height: 1.7;
}

.catalog-meta {
  position: relative;
  top: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0 0 8px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.auction-tab {
  position: relative;
  min-height: 40px;
  padding: 0;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.auction-tab.active {
  font-weight: 800;
}

.auction-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: #111;
}

.auction-tools {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.auction-tools span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  color: #111;
  font-size: 15px;
}

.lot-grid {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.auction-lot-row {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  cursor: pointer;
}

.auction-lot-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.auction-lot-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #111;
}

.auction-lot-no {
  font-size: 13px;
  color: #111;
}

.auction-lot-copy h4 {
  margin: 0;
  color: #000;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.auction-lot-copy p {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.auction-lot-copy strong {
  margin-top: 4px;
  color: #000;
  font-size: 15px;
}

.auction-lot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #222;
  font-size: 13px;
}

.auction-lot-meta span:first-child {
  color: #b32622;
}

.auction-room-list {
  display: grid;
  gap: 26px;
}

.auction-room-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 22px;
  padding: 0 0 8px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.auction-room-entry {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  cursor: pointer;
}

.auction-room-entry img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #111;
}

.auction-room-entry div {
  display: grid;
  gap: 8px;
}

.auction-room-entry h4 {
  margin: 0;
  color: #111;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.35;
}

.auction-room-entry p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}

.auction-entry-state {
  color: #b32622;
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  padding: 12px;
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(64, 87, 98, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero-card::before,
.detail-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.62), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(177, 198, 201, 0.34), transparent 28%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  border: 1px solid rgba(168, 135, 85, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  pointer-events: none;
  z-index: 2;
}

.hero-slide-only {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(460px, 72vh, 760px);
  cursor: pointer;
  box-shadow: 0 24px 56px rgba(64, 87, 98, 0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-slide-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 72px rgba(2, 12, 11, 0.42);
}

.hero-image {
  display: block;
  width: 100%;
  height: clamp(460px, 72vh, 760px);
  object-fit: cover;
  background: linear-gradient(180deg, rgba(226, 236, 237, 0.9), rgba(208, 222, 225, 0.96));
  filter: saturate(0.92) contrast(1.02);
}

.hero-image-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%, rgba(24, 42, 48, 0.18) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 252, 0.28), transparent 28%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.22), transparent 22%, rgba(168, 135, 85, 0.12) 72%, transparent);
  pointer-events: none;
}

.hero-carousel-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 18px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-carousel-footer.image-only {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(39, 58, 64, 0.28));
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(93, 117, 126, 0.18);
  border: 1px solid rgba(93, 117, 126, 0.14);
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b8c9ca, #a88755);
  border-color: transparent;
}

.hero-text,
.room-meta,
.lot-desc,
.detail-note,
.detail-copy p,
.profile-head p,
.ticker-text,
.card-copy,
.timeline-note,
.sheet-subtitle,
.auth-note,
.live-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.hero-metrics,
.gateway-grid,
.match-strip,
.mode-grid,
.strategy-grid,
.room-list,
.cockpit-grid,
.insight-grid,
.lot-grid,
.record-list,
.collection-list,
.service-list,
.asset-grid,
.order-list,
.safety-list,
.detail-meta,
.detail-tags,
.chip-row,
.auth-layout,
.fulfill-layout,
.live-layout,
.timeline-grid,
.live-seat-grid,
.live-stream-grid,
.gateway-grid,
.auth-tabs {
  display: grid;
  gap: 18px;
}

.hero-metrics,
.collection-summary,
.profile-stats,
.asset-grid,
.cockpit-grid,
.live-seat-grid,
.conversion-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gateway-grid,
.match-strip,
.mode-grid,
.strategy-grid,
.insight-grid,
.service-list,
.detail-meta,
.detail-tags,
.chip-row,
.auth-layout,
.fulfill-layout,
.live-layout,
.timeline-grid,
.live-stream-grid,
.auth-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hero-metrics div,
.collection-summary div,
.profile-stats div,
.gateway-card,
.match-card,
.mode-card,
.strategy-card,
.room-card,
.cockpit-card,
.insight-card,
.record-card,
.collection-card,
.detail-card,
.service-card,
.asset-card,
.safety-card,
.order-card,
.auth-card,
.live-card,
.fulfill-card,
.timeline-card,
.meta-chip {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(239, 248, 248, 0.5)),
    rgba(255, 255, 252, 0.56);
  border: 1px solid rgba(93, 117, 126, 0.12);
  box-shadow: 0 16px 34px rgba(64, 87, 98, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.gateway-card::after,
.match-card::after,
.mode-card::after,
.strategy-card::after,
.cockpit-card::after,
.insight-card::after,
.detail-card::after,
.service-card::after,
.asset-card::after,
.safety-card::after,
.order-card::after,
.auth-card::after,
.live-card::after,
.fulfill-card::after,
.timeline-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
}

.hero-metrics strong,
.collection-summary strong,
.profile-stats strong,
.gateway-card strong,
.match-card strong,
.strategy-card strong,
.record-value,
.collection-price,
.detail-price strong,
.asset-value,
.live-value {
  display: block;
  font-size: 22px;
  color: var(--gold-strong);
}

.hero-metrics span,
.collection-summary span,
.profile-stats span,
.meta-item span,
.subtle-label,
.record-meta,
.meta-chip,
.seat-tag { color: var(--muted); font-size: 12px; }

.hero-actions,
.section-head,
.search-row,
.lot-footer,
.detail-action-row,
.modal-actions,
.meta-row,
.detail-price-row,
.record-top,
.collection-top,
.profile-head,
.live-row,
.timeline-head,
.sheet-header,
.auth-row,
.fulfill-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.section-head.tight { margin-bottom: 10px; }

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.chip,
.service-item,
.nav-item,
.action-button,
.status-link,
.auth-tab {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.action-button {
  flex: 1;
  min-height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #c9b07b, #a88755 58%, #8d6b38);
  color: #fffaf0;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(141, 107, 56, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.secondary-button,
.ghost-button,
.chip,
.service-item,
.status-link,
.auth-tab {
  min-height: 46px;
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(255, 255, 252, 0.54);
  border: 1px solid rgba(93, 117, 126, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.text-button { color: var(--gold); padding: 0; }

.ticker-panel { padding: 14px 16px; border-radius: 20px; }
.ticker-panel {
  position: relative;
  overflow: hidden;
}
.ticker-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(157, 183, 184, 0.18), transparent 36%, rgba(168, 135, 85, 0.12));
  pointer-events: none;
}
.ticker-item { display: flex; gap: 12px; align-items: center; }

.ticker-badge,
.mode-badge,
.status-badge,
.lot-mode,
.record-tag,
.tag,
.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 252, 0.58);
  font-size: 12px;
  color: var(--gold);
}

.match-card .tag,
.mode-card .mode-badge,
.room-card .status-badge,
.record-card .record-tag,
.collection-card .status-badge,
.detail-card .tag,
.timeline-card .tag,
.fast-checkout-card .tag,
.catalog-lead-card .tag {
  margin-bottom: 12px;
}

.match-card h4,
.mode-card h4,
.strategy-card h4,
.insight-card h4,
.room-card h4,
.lot-card h4,
.record-card h4,
.collection-card h4,
.detail-card h4,
.timeline-card h4,
.order-card h4,
.asset-card h4,
.safety-card h4,
.auth-card h4,
.live-card h4,
.fulfill-card h4 {
  margin-top: 2px;
  margin-bottom: 12px;
}

.match-card .card-copy,
.mode-card .card-copy,
.strategy-card .card-copy,
.insight-card .card-copy,
.room-card .room-meta,
.record-card .card-copy,
.collection-card .card-copy,
.detail-card .card-copy,
.timeline-card .timeline-note,
.order-card .card-copy,
.asset-card .card-copy,
.safety-card .card-copy,
.auth-card .auth-note,
.live-card .live-note,
.fulfill-card .card-copy {
  margin-top: 4px;
}

.mode-badge.english,
.lot-mode.english,
.status-badge.english { color: #9b7440; }
.mode-badge.dutch,
.lot-mode.dutch,
.status-badge.dutch { color: #b56f57; }
.mode-badge.instant,
.lot-mode.instant,
.status-badge.instant { color: #5f9178; }
.mode-badge.sealed,
.lot-mode.sealed,
.status-badge.sealed { color: #77729a; }

.room-card,
.lot-card,
.detail-gallery {
  padding: 20px;
  background:
    radial-gradient(circle at 86% 0%, rgba(168, 135, 85, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 243, 0.68));
  border: 1px solid var(--line);
  box-shadow: 0 28px 62px rgba(64, 87, 98, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.room-card::before,
.lot-card::before,
.detail-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(185, 143, 77, 0.12), transparent 30%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.86), transparent);
  pointer-events: none;
}

.room-card::after,
.lot-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(168, 135, 85, 0.16);
  pointer-events: none;
}

.room-card > *,
.lot-card > *,
.detail-gallery > * { position: relative; z-index: 1; }

.room-feature-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.room-copy-col {
  min-width: 0;
}

.room-mode-inline {
  margin-bottom: 12px;
}


.room-art-slot {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.room-art-image {
  display: block;
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(93, 117, 126, 0.12);
  background: rgba(255, 255, 252, 0.48);
  box-shadow: 0 18px 32px rgba(64, 87, 98, 0.15);
}

.room-art-caption {
  display: block;
  max-width: 148px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}

.room-card h4,
.lot-card h4 {
  color: var(--ink-blue);
  font-size: 22px;
  line-height: 1.46;
  margin-bottom: 10px;
}

.match-card h4,
.mode-card h4,
.strategy-card h4,
.insight-card h4,
.detail-card h4,
.timeline-card h4,
.order-card h4,
.asset-card h4,
.safety-card h4,
.auth-card h4,
.live-card h4,
.fulfill-card h4 {
  font-size: 18px;
}

.room-card {
  padding: 24px;
}

.room-state-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  min-width: 72px;
  padding: 7px 12px;
  border-radius: 0 16px 0 16px;
  color: #fff7e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 0 10px 22px rgba(2, 12, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.room-state-pending {
  background: linear-gradient(135deg, #7faaa1, #31504a);
}

.room-state-live {
  background: linear-gradient(135deg, #c49f62, #9e4e36);
}

.room-state-closed {
  background: linear-gradient(135deg, #78827e, #3a4643);
}

.room-time-meta {
  flex: 1.4;
}

.room-time-meta strong {
  font-size: 18px;
  line-height: 1.35;
}

.room-card-soft {
  background: linear-gradient(180deg, rgba(250, 252, 249, 0.78), rgba(228, 239, 241, 0.68));
}

.room-card-past {
  opacity: 0.92;
}

.room-meta {
  margin-bottom: 20px;
}

.lot-footer {
  margin-top: 16px;
}

.section-head {
  margin-bottom: 10px;
}

.compact-row .meta-item {
  padding: 12px 14px;
}

.match-card {
  cursor: pointer;
  overflow: hidden;
}

.match-card::before,
.mode-card::before,
.gateway-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 183, 184, 0.32), transparent 66%);
  pointer-events: none;
}

.conversion-strip {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
}

.conversion-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 252, 0.56);
  border: 1px solid rgba(93, 117, 126, 0.12);
}

.conversion-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-strong);
}

.conversion-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.pay-focus-card {
  border-color: rgba(244, 220, 167, 0.18);
}

.quick-pay-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 252, 0.54);
  border: 1px solid rgba(93, 117, 126, 0.12);
}

.quick-pay-strip span {
  color: var(--muted);
  font-size: 12px;
}

.quick-pay-strip strong {
  color: var(--gold-strong);
  font-size: 13px;
}

.fast-checkout-card {
  border-color: rgba(244, 220, 167, 0.18);
}

.catalog-lead-card {
  border-color: rgba(244, 220, 167, 0.14);
}

.room-scene-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 28px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(168, 135, 85, 0.22);
  box-shadow: 0 34px 72px rgba(64, 87, 98, 0.2);
}

.room-scene-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(64, 87, 98, 0.06), rgba(64, 87, 98, 0.26));
  pointer-events: none;
}

.room-scene-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: grid;
  gap: 14px;
}

.room-scene-copy h4 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.room-scene-subtitle {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
}

.room-scene-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-scene-meta span,
.room-scene-note {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.58);
  border: 1px solid rgba(93, 117, 126, 0.12);
  color: var(--text);
}

.room-scene-note {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.8;
  justify-content: flex-start;
}

.theme-heritage {
  border-color: rgba(244, 220, 167, 0.18);
}

.theme-ink {
  border-color: rgba(184, 191, 197, 0.24);
}

.theme-vermilion {
  border-color: rgba(202, 114, 69, 0.28);
}

.theme-forest {
  border-color: rgba(118, 156, 132, 0.28);
}

.sticky-panel {
  position: sticky;
  top: 100px;
  z-index: 8;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.room-live-panel {
  position: relative;
  top: 0;
  padding: 24px 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(177, 198, 201, 0.3), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(226, 214, 188, 0.34), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.82), rgba(231, 241, 242, 0.76));
  box-shadow: 0 28px 68px rgba(64, 87, 98, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.room-live-panel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 220, 167, 0.26), transparent);
  pointer-events: none;
}

.search-box,
.field-box,
.sheet-input-wrap {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 252, 0.56);
  border: 1px solid rgba(93, 117, 126, 0.12);
}

.search-box span,
.field-box span,
.field-label,
.sheet-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.search-box input,
.field-input,
.sheet-input,
.field-box input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.filter-group { display: grid; gap: 10px; }

.mode-only-filter-group {
  gap: 0;
}

.mode-only-filter-group > .chip-row:not(#modeFilterRow) {
  display: none;
}

#modeFilterRow {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

#modeFilterRow::-webkit-scrollbar {
  display: none;
}

.mode-switch-chip {
  min-width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.56);
  border: 1px solid rgba(93, 117, 126, 0.12);
  color: var(--muted-2);
  white-space: nowrap;
}

.mode-switch-chip.active {
  box-shadow: 0 10px 22px rgba(191, 118, 74, 0.2);
}

.chip,
.auth-tab { min-height: 38px; font-size: 13px; color: var(--muted); }
.chip.active,
.auth-tab.active {
  color: #fffaf0;
  border-color: transparent;
  background: linear-gradient(135deg, #c9b07b, #a88755);
}

.lot-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 252, 0.64), transparent 34%),
    linear-gradient(135deg, rgba(221, 233, 235, 0.9), rgba(196, 213, 217, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 18px 36px rgba(64, 87, 98, 0.14);
}

.lot-visual::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(64, 87, 98, 0.2), transparent 68%);
  filter: blur(8px);
}

.lot-visual::after,
.detail-gallery::before {
  content: attr(data-era);
  position: absolute;
  right: 18px;
  top: 18px;
  font-family: var(--font-title);
  font-size: 36px;
  color: rgba(93, 117, 126, 0.16);
  letter-spacing: 0.1em;
}

.lot-visual-content,
.gallery-content { position: relative; z-index: 1; }

.catalog-meta { display: flex; gap: 10px; flex-wrap: wrap; }

.room-live-meta-bar {
  margin-top: 8px;
  margin-bottom: 34px;
  gap: 14px;
}

.room-live-meta-bar .meta-chip {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.72), rgba(230, 240, 242, 0.48));
  border-color: rgba(244, 220, 167, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 252, 0.62), 0 10px 18px rgba(74, 95, 103, 0.1);
}

.room-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.room-live-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(93, 117, 126, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(177, 198, 201, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 252, 0.56), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.82), rgba(230, 240, 242, 0.74));
  box-shadow: 0 18px 36px rgba(74, 95, 103, 0.14);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  cursor: pointer;
}

.room-live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(168, 135, 85, 0.1), transparent 22%, transparent 78%, rgba(157, 183, 184, 0.12)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 22%, transparent 82%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
  opacity: 0.8;
}

.room-live-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(244, 220, 167, 0.96), rgba(202, 114, 69, 0.24));
  box-shadow: 0 0 18px rgba(244, 220, 167, 0.18);
}

.room-live-card-english::before { background: linear-gradient(180deg, #f4dca7, rgba(202, 114, 69, 0.28)); }
.room-live-card-dutch::before { background: linear-gradient(180deg, #e59d79, rgba(202, 114, 69, 0.2)); }
.room-live-card-instant::before { background: linear-gradient(180deg, #9dd7b0, rgba(135, 178, 147, 0.22)); }
.room-live-card-sealed::before { background: linear-gradient(180deg, #d4c5ff, rgba(185, 166, 223, 0.22)); }

.room-live-media {
  min-width: 0;
  position: relative;
}

.room-live-media-stack {
  display: grid;
  gap: 16px;
}

.room-live-media::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(93, 117, 126, 0.12);
  pointer-events: none;
}

.room-live-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(93, 117, 126, 0.12);
  background: rgba(255, 255, 252, 0.5);
  box-shadow: 0 14px 28px rgba(74, 95, 103, 0.14);
  transform: scale(1.01);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.room-live-image-sub {
  width: 100%;
  border-radius: 16px;
  opacity: 0.92;
}

.room-live-content {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-top: 4px;
}

.room-live-top {
  display: block;
}

.room-live-broadcast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 109, 79, 0.16), rgba(255, 109, 79, 0.06));
  border: 1px solid rgba(255, 109, 79, 0.18);
  color: #ffb49f;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.room-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7d63;
  box-shadow: 0 0 0 0 rgba(255, 125, 99, 0.65);
  animation: livePulse 1.8s infinite;
}

.room-live-main .lot-mode {
  min-height: 30px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.58);
  border-color: rgba(93, 117, 126, 0.12);
  backdrop-filter: blur(10px);
}

.room-live-price-box strong {
  display: block;
  color: var(--gold-strong);
  font-size: 18px;
  line-height: 1.2;
}

.room-live-price-box span,
.room-live-meta span {
  color: var(--muted);
  font-size: 12px;
}

.room-live-main h4 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.52;
  max-width: 92%;
}

.room-live-subline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  padding-left: 10px;
  border-left: 1px solid rgba(244, 220, 167, 0.16);
}

.room-live-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}

.room-live-price-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.58), rgba(230, 240, 242, 0.4));
  border: 1px solid rgba(93, 117, 126, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 252, 0.58);
  backdrop-filter: blur(10px);
  position: relative;
}

.room-live-box-kicker {
  position: absolute;
  right: 12px;
  top: 10px;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(93, 117, 126, 0.32);
}

.room-live-price-primary {
  position: relative;
  background:
    radial-gradient(circle at 90% 16%, rgba(201, 176, 123, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.82), rgba(235, 229, 211, 0.78));
  border-color: rgba(244, 220, 167, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 252, 0.62), 0 10px 18px rgba(74, 95, 103, 0.1);
  overflow: hidden;
}

.room-live-price-primary::after {
  content: "LIVE";
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(93, 117, 126, 0.32);
}

.room-live-price-primary strong {
  font-size: 24px;
  letter-spacing: 0.01em;
  text-shadow: 0 0 22px rgba(244, 220, 167, 0.14);
}

.room-live-price-primary span {
  color: var(--gold);
}


.room-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.room-live-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.54);
  border: 1px solid rgba(93, 117, 126, 0.1);
  backdrop-filter: blur(8px);
}

.room-live-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 135, 85, 0.28);
  box-shadow: 0 30px 58px rgba(64, 87, 98, 0.2);
}

.room-live-card:hover .room-live-image {
  transform: scale(1.03);
  box-shadow: 0 20px 38px rgba(64, 87, 98, 0.2);
}

.room-live-card-english .room-live-price-primary {
  background:
    radial-gradient(circle at 92% 18%, rgba(201, 176, 123, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.84), rgba(235, 229, 211, 0.78));
}

.room-live-card-dutch .room-live-price-primary {
  background:
    radial-gradient(circle at 92% 18%, rgba(181, 111, 87, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.84), rgba(238, 226, 220, 0.78));
}

.room-live-card-instant .room-live-price-primary {
  background:
    radial-gradient(circle at 92% 18%, rgba(111, 154, 133, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.84), rgba(225, 238, 232, 0.78));
}

.room-live-card-sealed .room-live-price-primary {
  background:
    radial-gradient(circle at 92% 18%, rgba(139, 131, 168, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.84), rgba(229, 229, 240, 0.78));
}

.detail-layout { display: grid; gap: 18px; }

.detail-hero-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.detail-gallery { min-height: 320px; border-radius: 28px; padding: 18px; display: grid; gap: 14px; }
.detail-gallery-stage {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
}


.detail-gallery-main {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  cursor: zoom-in;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 252, 0.68);
  border: 1px solid rgba(93, 117, 126, 0.16);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.detail-gallery-nav.prev { left: 12px; }

.detail-gallery-nav.next { right: 12px; }

.detail-bid-under-image {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.detail-bid-under-image div {
  display: grid;
  gap: 3px;
}

.detail-bid-under-image span {
  color: #666;
  font-size: 13px;
}

.detail-bid-under-image strong {
  color: #111;
  font-size: 15px;
}

.detail-bid-under-image .detail-live-price {
  color: #b32622;
  font-size: 22px;
  line-height: 1.2;
}

.detail-gallery .status-badge.english {
  color: #ff8f86;
}

.detail-gallery .status-badge.dutch {
  color: #8fd6a2;
}

.detail-copy,
.detail-card,
.detail-action-bar,
.profile-card,
.collection-summary,
.sheet-panel { padding: 20px; }

.detail-copy {
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.58);
  border: 1px solid var(--line);
}

.detail-intro-strip {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.detail-intro-actions {
  margin-top: 18px;
}

.detail-action-bar {
  position: sticky;
  bottom: calc(78px + env(safe-area-inset-bottom));
  display: grid;
  gap: 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.9), rgba(231, 241, 242, 0.86));
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px rgba(74, 95, 103, 0.18);
  z-index: 7;
}

.meta-item,
.detail-highlight,
.live-stream-item,
.seat-card,
.auth-card,
.fulfill-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 252, 0.56);
  border: 1px solid rgba(93, 117, 126, 0.12);
}

.state-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(93, 117, 126, 0.12);
  background: rgba(255, 255, 252, 0.54);
}

.state-banner.loading {
  border-color: rgba(220, 192, 138, 0.24);
}

.state-banner.success {
  border-color: rgba(135, 178, 147, 0.3);
}

.state-banner.error {
  border-color: rgba(223, 139, 116, 0.3);
}

.state-banner.disabled {
  border-color: rgba(143, 127, 105, 0.34);
}

.state-shell {
  min-height: 180px;
  display: grid;
  place-content: center;
}

.inline-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.inline-feedback.error {
  color: #ffd7cc;
  background: rgba(223, 139, 116, 0.12);
  border: 1px solid rgba(223, 139, 116, 0.28);
}

.inline-feedback.success {
  color: #d9f0df;
  background: rgba(135, 178, 147, 0.12);
  border: 1px solid rgba(135, 178, 147, 0.28);
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.meta-item strong,
.detail-highlight strong,
.order-value,
.seat-card strong,
.auth-card strong,
.fulfill-card strong { display: block; color: var(--gold-strong); }

.live-hero,
.auth-hero,
.fulfill-hero {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.78), rgba(232, 242, 243, 0.68));
  border: 1px solid var(--line);
}

.live-stream-item { display: grid; gap: 4px; }

.seat-active {
  border-color: rgba(244, 220, 167, 0.34);
  box-shadow: 0 0 0 1px rgba(244, 220, 167, 0.12) inset;
}

.price-flash,
.room-live-dot,
.live-value {
  animation: none !important;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: min(calc(100% - 26px), calc(var(--max-width) - 14px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  z-index: 12;
  pointer-events: auto;
  background:
    linear-gradient(145deg, rgba(244, 238, 224, 0.95), rgba(222, 211, 185, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 56%);
  border: 1px solid rgba(196, 159, 98, 0.34);
  box-shadow: 0 20px 48px rgba(2, 12, 11, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.nav-item {
  min-height: 58px;
  border-radius: 999px;
  color: #596761;
  position: relative;
  z-index: 13;
  pointer-events: auto;
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
}

.nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 48, 46, 0.08);
  color: #17302e;
  font-family: var(--font-title);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.nav-item.active {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(196, 159, 98, 0.98), rgba(112, 73, 31, 0.98));
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(112, 73, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav-item.active .nav-icon {
  background: rgba(255, 247, 232, 0.22);
  color: #fff7e8;
  transform: translateY(-1px);
}

.modal-mask {
  position: fixed;
  inset: 0;
  padding: 18px;
  display: none;
  align-items: flex-end;
  background: rgba(38, 50, 56, 0.36);
  z-index: 20;
}

.modal-mask.show { display: flex; }

.image-viewer {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(5, 5, 5, 0.92);
  z-index: 40;
}

.image-viewer.show { display: block; }

.image-viewer-close,
.image-viewer-action { cursor: pointer; }

.image-viewer-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 252, 0.14);
  color: #f7efe3;
  font-size: 28px;
  z-index: 3;
}

.image-viewer-toolbar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.image-viewer-action {
  min-width: 58px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.14);
  border: 1px solid rgba(255, 255, 252, 0.22);
  color: #f7efe3;
}

.image-viewer-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 70px 18px 84px;
}

.image-viewer-image {
  display: block;
  max-width: min(100%, 1200px);
  width: auto;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.modal-panel {
  position: relative;
  width: 100%;
  border-radius: 28px 28px 18px 18px;
}

.sheet-panel {
  max-height: 86vh;
  overflow: auto;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 252, 0.62);
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.sheet-title { font-size: 24px; }
.sheet-header { margin-bottom: 16px; padding-right: 36px; }

.sheet-grid,
.field-grid,
.live-inline-grid,
.fulfill-stack,
.auth-stack {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.full,
.auth-stack,
.fulfill-stack { grid-template-columns: 1fr; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.96);
  color: var(--text);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 30;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.seller-guide-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.seller-guide-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(178, 129, 46, 0.18);
  border-radius: 18px;
  background: rgba(255, 252, 244, 0.82);
}

.seller-guide-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2937, #8a5a18);
  color: #fff8df;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.seller-guide-step h4 {
  margin: 2px 0 8px;
  color: var(--text);
  font-size: 17px;
}

.seller-guide-step p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.seller-guide-end {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(83, 64, 37, 0.56);
  font-size: 13px;
}

.reveal { animation: riseIn 0.7s ease both; }

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.text-button:hover,
.chip:hover,
.nav-item:hover,
.service-item:hover,
.action-button:hover,
.status-link:hover,
.auth-tab:hover,
.gateway-card:hover,
.mode-card:hover,
.strategy-card:hover,
.room-card:hover,
.cockpit-card:hover,
.insight-card:hover,
.record-card:hover,
.collection-card:hover,
.service-card:hover,
.asset-card:hover,
.safety-card:hover,
.order-card:hover,
.auth-card:hover,
.live-card:hover,
.fulfill-card:hover,
.timeline-card:hover,
.seat-card:hover,
.live-stream-item:hover { transform: translateY(-2px); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes priceFlash {
  0% { transform: scale(1); color: var(--gold-strong); }
  35% { transform: scale(1.08); color: #fff0c4; }
  100% { transform: scale(1); color: var(--gold-strong); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 125, 99, 0.58); opacity: 1; }
  70% { box-shadow: 0 0 0 10px rgba(255, 125, 99, 0); opacity: 0.9; }
  100% { box-shadow: 0 0 0 0 rgba(255, 125, 99, 0); opacity: 1; }
}

/* Wanran brand direction: dark museum field, porcelain cards, bronze edges. */
body::before {
  background:
    radial-gradient(circle at 22% 8%, rgba(126, 168, 158, 0.18), transparent 22%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 32%, rgba(185, 143, 77, 0.12) 64%, transparent 78%);
}

.app-shell::before {
  top: 58px;
  color: rgba(244, 238, 224, 0.055);
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.ambient-left { background: rgba(116, 165, 154, 0.32); }
.ambient-right { background: rgba(185, 143, 77, 0.28); }

.glass-panel {
  background:
    linear-gradient(145deg, rgba(253, 248, 235, 0.96), rgba(238, 229, 207, 0.86) 48%, rgba(214, 229, 224, 0.72)),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.82), transparent 38%);
  border-color: rgba(196, 159, 98, 0.3);
  box-shadow: 0 26px 70px rgba(2, 12, 11, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.topbar {
  background:
    linear-gradient(140deg, rgba(244, 238, 224, 0.94), rgba(226, 214, 187, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(185, 143, 77, 0.26), transparent 34%);
  border-color: rgba(196, 159, 98, 0.42);
}

.topbar h1,
.section-head h3,
.room-card h4,
.lot-card h4,
.room-live-main h4 {
  color: #17302e;
}

.eyebrow {
  color: #9e4e36;
  font-weight: 700;
}

.section-head::before {
  background: linear-gradient(180deg, #9e4e36, #b98f4d 52%, #7faaa1);
  box-shadow: 0 0 18px rgba(185, 143, 77, 0.38);
}

.hero-card {
  background:
    linear-gradient(145deg, rgba(244, 238, 224, 0.96), rgba(219, 207, 180, 0.76)),
    radial-gradient(circle at 82% 8%, rgba(185, 143, 77, 0.22), transparent 30%);
  border-color: rgba(196, 159, 98, 0.44);
  box-shadow: 0 42px 92px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-card::after,
.room-card::after,
.lot-card::after {
  border-color: rgba(139, 100, 45, 0.32);
}

.hero-slide-only {
  background: #10221f;
  box-shadow: 0 28px 58px rgba(2, 12, 11, 0.42);
}

.hero-image-mask {
  background:
    linear-gradient(180deg, rgba(244, 238, 224, 0.03), transparent 28%, rgba(9, 24, 22, 0.42) 100%),
    radial-gradient(circle at 50% 18%, rgba(244, 238, 224, 0.18), transparent 30%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 24%, rgba(185, 143, 77, 0.18) 72%, transparent);
}

.home-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.page[data-page="home"] .section-block:not(:first-child) {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(202, 173, 113, 0.62);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(92, 68, 34, 0.34), rgba(34, 57, 51, 0.2)) padding-box,
    linear-gradient(145deg, rgba(244, 238, 224, 0.08), rgba(127, 170, 161, 0.045)),
    rgba(5, 16, 15, 0.18);
  box-shadow:
    0 22px 54px rgba(2, 12, 11, 0.22),
    inset 0 0 0 6px rgba(118, 87, 43, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page[data-page="home"] .section-block:not(:first-child)::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 218, 151, 0.36);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(245, 218, 151, 0.08), rgba(23, 48, 46, 0.08));
  pointer-events: none;
}

.page[data-page="home"] .section-block:not(:first-child)::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 159, 98, 0.16), transparent 68%);
  pointer-events: none;
}

.page[data-page="home"] .section-block:not(:first-child) > * {
  position: relative;
  z-index: 1;
}

.home-section-title h3,
.home-guide-card h3 {
  margin: 0;
  color: #d9bd7a;
  font-family: var(--font-title);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.home-section-title span,
.home-guide-card span {
  color: rgba(217, 189, 122, 0.58);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.home-more {
  color: rgba(217, 189, 122, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.home-auction-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(217, 189, 122, 0.28);
  border-radius: 22px;
  background: rgba(244, 238, 224, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.home-auction-poster {
  position: relative;
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(217, 189, 122, 0.34);
  background: rgba(118, 87, 43, 0.2);
  border-radius: 18px;
}

.home-auction-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #111;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(2, 12, 11, 0.28);
}

.home-auction-poster span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  color: #fff;
  background: #b32622;
  font-size: 11px;
  font-weight: 700;
}

.home-auction-info {
  display: grid;
  gap: 14px;
  color: #d9bd7a;
}

.home-auction-info h4 {
  margin: 0;
  color: #d9bd7a;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 700;
}

.home-auction-info p {
  margin: 0;
  color: rgba(217, 189, 122, 0.78);
  font-size: 14px;
  line-height: 1.35;
}

.home-news-list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.home-news-list::-webkit-scrollbar {
  display: none;
}

.home-news-card {
  flex: 0 0 86%;
  padding: 12px;
  border: 1px solid rgba(217, 189, 122, 0.24);
  border-radius: 20px;
  background: rgba(244, 238, 224, 0.055);
  box-shadow: inset 0 0 0 5px rgba(118, 87, 43, 0.14);
  cursor: pointer;
}

.home-news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  background: #111;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(2, 12, 11, 0.24);
}

.home-news-card h4 {
  margin: 14px 0 0;
  color: #d9bd7a;
  font-family: var(--font-title);
  font-size: 18px;
  line-height: 1.35;
}

.home-guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(217, 189, 122, 0.24);
  border-radius: 18px;
  background: rgba(244, 238, 224, 0.045);
}

.home-guide-card + .home-guide-card {
  margin-top: 12px;
}

.home-guide-card p,
.home-company-info,
.home-more-grid span {
  margin: 8px 0 0;
  color: rgba(217, 189, 122, 0.62);
  font-size: 13px;
}

.home-guide-card button {
  min-width: 96px;
  min-height: 40px;
  border: 1px solid rgba(217, 189, 122, 0.5);
  color: #d9bd7a;
}

.home-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-more-grid div {
  padding: 18px;
  border: 1px solid rgba(217, 189, 122, 0.24);
  background: rgba(244, 238, 224, 0.06);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-more-grid strong {
  display: block;
  color: #d9bd7a;
  font-size: 15px;
}

.hero-metrics div,
.collection-summary div,
.profile-stats div,
.gateway-card,
.match-card,
.mode-card,
.strategy-card,
.cockpit-card,
.insight-card,
.record-card,
.collection-card,
.detail-card,
.service-card,
.asset-card,
.safety-card,
.order-card,
.auth-card,
.live-card,
.fulfill-card,
.timeline-card,
.meta-chip {
  background:
    linear-gradient(145deg, rgba(253, 248, 235, 0.94), rgba(232, 222, 198, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(127, 170, 161, 0.16), transparent 34%);
  border-color: rgba(196, 159, 98, 0.24);
  box-shadow: 0 20px 42px rgba(2, 12, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.room-card,
.lot-card,
.detail-gallery,
.live-hero,
.auth-hero,
.fulfill-hero,
.detail-action-bar,
.room-live-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(185, 143, 77, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(246, 240, 226, 0.94), rgba(218, 230, 224, 0.78));
  border-color: rgba(196, 159, 98, 0.32);
  box-shadow: 0 32px 70px rgba(2, 12, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.room-card::before,
.lot-card::before,
.detail-gallery::before {
  background: radial-gradient(circle at 82% 0%, rgba(185, 143, 77, 0.12), transparent 30%);
}

.room-art-image,
.room-live-image,
.detail-gallery-main {
  background: #112522;
  border-color: rgba(196, 159, 98, 0.34);
  box-shadow: 0 20px 38px rgba(2, 12, 11, 0.28);
}

.lot-visual {
  background:
    radial-gradient(circle at 36% 18%, rgba(244, 238, 224, 0.34), transparent 34%),
    linear-gradient(135deg, #1d3935, #0e1e1c 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 22px 40px rgba(2, 12, 11, 0.28);
}

.lot-visual::after,
.detail-gallery::before {
  color: rgba(244, 238, 224, 0.18);
}

.primary-button,
.action-button,
.chip.active,
.auth-tab.active,
.nav-item.active {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #c49f62, #9c7338 56%, #70491f);
  color: #fff7e8;
  box-shadow: 0 16px 28px rgba(112, 73, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.secondary-button,
.ghost-button,
.chip,
.service-item,
.status-link,
.auth-tab,
.icon-button,
.search-box,
.field-box,
.sheet-input-wrap,
.mode-switch-chip,
.room-live-meta span,
.state-banner {
  background: rgba(253, 248, 235, 0.76);
  border-color: rgba(196, 159, 98, 0.22);
}

.ticker-badge,
.mode-badge,
.status-badge,
.lot-mode,
.record-tag,
.tag,
.meta-chip {
  background: rgba(244, 238, 224, 0.78);
  border-color: rgba(185, 143, 77, 0.38);
  color: #8b642d;
}

.bottom-nav {
  background:
    linear-gradient(145deg, rgba(244, 238, 224, 0.94), rgba(222, 211, 185, 0.86));
  border: 1px solid rgba(196, 159, 98, 0.34);
  box-shadow: 0 24px 54px rgba(2, 12, 11, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-item {
  color: #52615c;
}

.room-live-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 143, 77, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(246, 240, 226, 0.95), rgba(220, 231, 225, 0.8));
  border-color: rgba(196, 159, 98, 0.28);
  box-shadow: 0 24px 52px rgba(2, 12, 11, 0.24);
}

.room-live-card:hover {
  box-shadow: 0 34px 68px rgba(2, 12, 11, 0.32);
}

.room-live-price-primary {
  background:
    radial-gradient(circle at 90% 16%, rgba(196, 159, 98, 0.3), transparent 30%),
    linear-gradient(180deg, rgba(244, 238, 224, 0.92), rgba(218, 202, 165, 0.82));
}

@media (max-width: 420px) {
  .room-live-panel {
    padding: 20px 16px;
  }

  .room-live-meta-bar {
    margin-bottom: 26px;
  }

  .hero-card h2,
  .detail-copy h2 { font-size: 26px; }

  .hero-slide-only,
  .hero-image {
    min-height: 64vh;
    height: 64vh;
  }

  .room-feature-row {
    grid-template-columns: 1fr;
  }

  .room-art-slot {
    justify-items: start;
  }

  .room-art-caption {
    max-width: none;
    text-align: left;
  }

  .hero-metrics,
  .collection-summary,
  .profile-stats,
  .asset-grid,
  .cockpit-grid,
  .gateway-grid,
  .mode-grid,
  .strategy-grid,
  .insight-grid,
  .service-list,
  .detail-meta,
  .detail-tags,
  .chip-row,
  .auth-layout,
  .fulfill-layout,
  .live-layout,
  .timeline-grid,
  .live-seat-grid,
  .live-stream-grid,
  .field-grid,
  .sheet-grid,
  .live-inline-grid,
  .auth-tabs,
  .room-live-pricing { grid-template-columns: 1fr; }

  .hero-actions,
  .section-head,
  .meta-row,
  .lot-footer,
  .record-top,
  .collection-top,
  .profile-head,
  .detail-action-row,
  .detail-price-row,
  .live-row,
  .timeline-head,
  .sheet-header,
  .auth-row,
  .fulfill-row { flex-direction: column; align-items: stretch; }

  .room-live-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .room-live-media-stack { gap: 12px; }
  .room-live-image-sub { width: 100%; }
  .detail-hero-row { grid-template-columns: 1fr; }
  .detail-gallery-nav { width: 34px; height: 34px; font-size: 22px; }
  .room-live-main h4 { font-size: 18px; }
  .room-live-broadcast { margin-bottom: 10px; padding: 6px 10px; }
  .room-live-subline { padding-left: 8px; }
  .room-live-price-primary strong { font-size: 20px; }
  .detail-gallery { padding: 14px; }
  .detail-gallery-main { height: 260px; }
  .image-viewer-toolbar { bottom: 16px; }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .action-button,
  .status-link { width: 100%; }

  .topbar { align-items: flex-start; }
  .topbar-actions { width: 100%; justify-content: flex-end; }
}

.topbar {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), calc(var(--max-width) - 32px));
  z-index: 30;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
}

@media (max-width: 420px) {
  .app-shell {
    padding-top: 142px;
  }

  .topbar {
    width: min(calc(100% - 24px), calc(var(--max-width) - 24px));
  }
}

/* Keep navigation in the page flow, not pinned to the viewport. */
.app-shell {
  padding: 16px 16px 24px;
}

.topbar {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  border-radius: 18px;
  z-index: 10;
}

.bottom-nav {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin: 28px 0 0;
  border-radius: 18px;
  z-index: 10;
}

.nav-item {
  border-radius: 12px;
}

.page[data-page="home"] .section-block:not(:first-child),
.hero-card {
  width: 100%;
}

@media (max-width: 420px) {
  .app-shell {
    padding-top: 16px;
  }

  .topbar {
    width: 100%;
  }

  .bottom-nav {
    width: 100%;
  }
}

/* Clean auction-house direction: white pages, black type, light dividers. */
:root {
  --bg: #fff;
  --panel: #fff;
  --line: #ececec;
  --line-strong: #d8d8d8;
  --text: #111;
  --muted: #666;
  --muted-2: #999;
  --gold: #b32622;
  --gold-strong: #111;
  --accent: #b32622;
  --porcelain: #111;
  --ink-blue: #111;
  --shadow: none;
}

html,
body {
  background: #fff !important;
  color: #111 !important;
}

body::before,
.app-shell::before,
.ambient,
.page[data-page="home"] .section-block:not(:first-child)::before,
.page[data-page="home"] .section-block:not(:first-child)::after,
.hero-card::before,
.hero-card::after,
.room-card::before,
.room-card::after,
.lot-card::before,
.lot-card::after,
.topbar::before,
.topbar::after {
  display: none !important;
}

.app-shell {
  background: #fff !important;
  padding: 16px 16px 24px;
}

.page,
.page[data-page="home"],
.page[data-page="catalog"] {
  background: #fff !important;
  color: #111 !important;
}

.glass-panel,
.topbar,
.hero-card,
.room-card,
.lot-card,
.detail-card,
.profile-card,
.collection-summary,
.auth-card,
.live-card,
.fulfill-card,
.timeline-card,
.record-card,
.service-card,
.asset-card,
.safety-card,
.order-card,
.bottom-nav,
.page[data-page="home"] .section-block:not(:first-child),
.home-auction-card,
.home-news-card,
.home-guide-card,
.home-more-grid div {
  background: #fff !important;
  border-color: #eee !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.topbar {
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  border-radius: 0 !important;
  padding: 14px 0 18px !important;
}

.topbar h1,
.home-section-title h3,
.home-guide-card h3,
.home-auction-info h4,
.home-news-card h4,
.home-more-grid strong,
.room-card h4,
.lot-card h4,
.auction-room-head h2,
.auction-lot-copy h4,
.detail-copy h2,
.profile-head h3,
.section-head h3 {
  color: #111 !important;
  text-shadow: none !important;
}

.home-section-title span,
.home-guide-card span,
.home-more,
.home-auction-info p,
.home-news-card p,
.home-guide-card p,
.home-company-info,
.home-more-grid span,
.card-copy,
.room-meta,
.lot-desc,
.detail-note,
.detail-copy p,
.profile-head p,
.ticker-text,
.timeline-note,
.auth-note,
.live-note,
.subtle-label,
.record-meta {
  color: #666 !important;
}

.eyebrow,
.ticker-badge,
.mode-badge,
.status-badge,
.lot-mode,
.record-tag,
.tag,
.meta-chip {
  color: #b32622 !important;
  background: #fff !important;
  border-color: #eee !important;
}

.page[data-page="home"] .section-block:not(:first-child) {
  padding: 24px 0 !important;
  border: 0 !important;
  border-top: 1px solid #eee !important;
  border-radius: 0 !important;
}

.home-auction-card,
.home-news-card,
.home-guide-card,
.home-more-grid div {
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.home-auction-poster {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.home-auction-poster img,
.home-news-card img,
.auction-room-cover,
.auction-lot-image,
.hero-image,
.room-art-image,
.room-live-image,
.detail-gallery-main {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-auction-poster span,
.auction-state-text,
.auction-lot-meta span:first-child {
  color: #b32622 !important;
}

.home-auction-poster span {
  background: #b32622 !important;
  color: #fff !important;
}

.hero-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.hero-slide-only {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero-image-mask {
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.16)) !important;
}

.primary-button,
.action-button,
.chip.active,
.auth-tab.active,
.nav-item.active {
  background: #b32622 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.secondary-button,
.ghost-button,
.chip,
.service-item,
.status-link,
.auth-tab,
.icon-button,
.search-box,
.field-box,
.sheet-input-wrap,
.mode-switch-chip,
.state-banner {
  background: #fff !important;
  border-color: #eee !important;
  color: #111 !important;
  box-shadow: none !important;
}

.bottom-nav {
  border: 0 !important;
  border-top: 1px solid #eee !important;
  border-radius: 0 !important;
  margin-top: 28px !important;
  padding: 10px 0 0 !important;
}

.nav-item {
  color: #777 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.nav-item.active {
  color: #b32622 !important;
  background: transparent !important;
}

.nav-icon {
  background: transparent !important;
  color: currentColor !important;
}

.catalog-meta {
  background: #fff !important;
  border-color: #eee !important;
}

.auction-tab,
.auction-tools span,
.auction-room-facts span,
.auction-room-facts strong,
.auction-lot-copy,
.auction-lot-copy strong,
.auction-lot-no {
  color: #111 !important;
}

.auction-lot-copy p,
.auction-room-detail {
  color: #666 !important;
}

.auction-room-facts div,
.auction-room-detail,
.catalog-meta {
  border-color: #eee !important;
}

.global-search-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.global-search-result {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  color: #111;
  text-align: left;
}

.global-search-result span {
  color: #b32622;
  font-size: 12px;
}

.global-search-result strong {
  color: #111;
  font-size: 16px;
}

.global-search-result em {
  color: #666;
  font-size: 13px;
  font-style: normal;
}

.profile-center {
  display: grid;
  gap: 10px;
  margin: -20px -16px calc(-1 * var(--safe-bottom));
  padding: 0 12px var(--safe-bottom);
  background: #f5f5f5;
}

.member-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 2px;
}

.member-page-head h3 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.member-page-head button {
  color: #666;
  font-size: 13px;
}

.member-hero {
  display: block;
  padding: 14px 2px 18px;
  background: transparent !important;
  color: #111;
}

.member-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8d8d8;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.member-user-copy {
  flex: 1;
  min-width: 0;
}

.member-user-copy h3 {
  margin: 0;
  color: #111;
  font-size: 19px;
  font-weight: 700;
}

.member-user-copy p {
  margin: 6px 0 0;
  color: #999;
  font-size: 13px;
}

.member-login-button {
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #999;
  font-size: 13px;
}

.member-stats-row,
.member-order-status,
.member-service-grid {
  display: grid;
}

.member-stats-row button,
.member-order-status button,
.member-service-grid button {
  display: grid;
  gap: 4px;
  place-items: center;
  color: inherit;
}

.member-panel {
  padding: 15px 12px;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.member-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.member-panel-head h4 {
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.member-panel-head button {
  color: #777;
  font-size: 13px;
}

.member-order-status {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 2px;
}

.member-order-status button {
  position: relative;
  min-height: 64px;
}

.member-order-status i,
.member-service-grid i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f2f2;
  color: #555;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.member-order-status em {
  position: absolute;
  top: 2px;
  right: 22%;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d33;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
}

.member-order-status span,
.member-service-grid span {
  color: #333;
  font-size: 12px;
}

.member-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 10px;
}

.auction-lot-row {
  grid-template-columns: 38% minmax(0, 1fr) !important;
  align-items: stretch !important;
}

.auction-lot-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 150px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.detail-gallery {
  padding: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.detail-gallery::before,
.detail-gallery::after {
  display: none !important;
}

.detail-gallery-stage {
  border-radius: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.detail-gallery-main {
  display: block !important;
  width: 100% !important;
  height: clamp(360px, 58vh, 560px) !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.profile-page-active .topbar {
  display: none !important;
}

body.profile-page-active .app-shell {
  padding-top: 0 !important;
  background: #f5f5f5 !important;
}

body.profile-page-active .page-container {
  margin-top: 0 !important;
}

.profile-center {
  gap: 10px !important;
  min-height: 100vh !important;
  margin: 0 -16px calc(-1 * var(--safe-bottom)) !important;
  padding: 0 12px var(--safe-bottom) !important;
  background: #f5f5f5 !important;
}

.member-page-head {
  display: grid !important;
  grid-template-columns: 36px 1fr 36px !important;
  align-items: center !important;
  height: 48px !important;
  padding: 0 !important;
}

.member-page-head h3 {
  margin: 0 !important;
  color: #111 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.member-head-setting {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
}

.member-head-setting::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid #333;
  border-radius: 50%;
}

.member-head-setting::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 4px;
  width: 4px;
  height: 28px;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px transparent;
  transform: rotate(38deg);
}

.member-hero {
  display: block !important;
  padding: 18px 0 18px !important;
  background: transparent !important;
}

.member-user-row {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 18px !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 66px !important;
}

.member-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #d9d9d9 !important;
  color: transparent !important;
  overflow: hidden !important;
}

.member-avatar::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 12px auto 0;
  border-radius: 50%;
  background: #f5f5f5;
}

.member-avatar::after {
  content: "";
  display: block;
  width: 38px;
  height: 22px;
  margin: 2px auto 0;
  border-radius: 999px 999px 0 0;
  background: #f5f5f5;
}

.member-user-copy h3 {
  margin: 0 !important;
  color: #111 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.member-user-copy p {
  margin: 8px 0 0 !important;
  color: #9b9b9b !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.member-login-button {
  position: relative !important;
  width: 18px !important;
  height: 38px !important;
  padding: 0 !important;
  color: transparent !important;
}

.member-login-button::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #999;
  border-right: 1.5px solid #999;
  transform: translateY(-50%) rotate(45deg);
}

.member-panel {
  padding: 15px 12px 16px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.member-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.member-panel-head h4 {
  margin: 0 !important;
  color: #222 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.member-panel-head button {
  color: #999 !important;
  font-size: 13px !important;
}

.member-order-status,
.member-service-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.member-order-status {
  padding: 2px 0 0 !important;
}

.member-order-status button,
.member-service-grid button {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  gap: 7px !important;
  min-height: 64px !important;
}

.member-order-status i,
.member-service-grid i {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f2f2f2 !important;
  color: transparent !important;
}

.member-order-status i::before,
.member-service-grid i::before {
  content: attr(data-order-icon);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

.member-service-grid i::before {
  content: attr(data-service-icon);
}

.member-order-status span,
.member-service-grid span {
  color: #333 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.member-order-status em {
  position: absolute !important;
  top: 2px !important;
  right: 22% !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: #d33 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-style: normal !important;
  line-height: 16px !important;
  text-align: center !important;
}

.member-service-grid {
  gap: 18px 10px !important;
}

body.profile-page-active {
  background: #f5f5f5 !important;
}

body.profile-page-active .page[data-page="profile"] {
  padding: 0 !important;
}

body.profile-page-active .page-container {
  padding-top: 0 !important;
}

body.profile-page-active .bottom-nav {
  margin-top: 0 !important;
  background: #fff !important;
}

body.profile-page-active .ambient {
  display: none !important;
}

.profile-center {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  min-height: calc(100vh - 58px) !important;
  padding: 0 12px 14px !important;
}

.member-page-head {
  margin: 0 -12px !important;
  padding: 0 12px !important;
  background: #f5f5f5 !important;
}

.member-head-setting::before {
  inset: 11px !important;
  border: 1.5px solid #222 !important;
}

.member-head-setting::after {
  left: 17px !important;
  top: 8px !important;
  width: 2px !important;
  height: 20px !important;
  background: #222 !important;
  box-shadow: 0 0 0 3px #f5f5f5 !important;
}

.member-hero {
  padding: 16px 0 16px !important;
}

.member-user-row {
  grid-template-columns: 56px minmax(0, 1fr) 20px !important;
  gap: 12px !important;
  min-height: 62px !important;
}

.member-avatar {
  width: 56px !important;
  height: 56px !important;
  background: #dedede !important;
}

.member-avatar::before {
  width: 21px !important;
  height: 21px !important;
  margin-top: 11px !important;
}

.member-avatar::after {
  width: 37px !important;
  height: 22px !important;
}

.member-user-copy h3 {
  font-size: 19px !important;
}

.member-user-copy p {
  margin-top: 7px !important;
  color: #a0a0a0 !important;
  font-size: 12px !important;
}

.member-panel {
  padding: 14px 12px 15px !important;
  border-radius: 7px !important;
}

.member-panel-head {
  margin-bottom: 13px !important;
}

.member-panel-head h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
}

.member-panel-head button {
  color: #9b9b9b !important;
  font-size: 12px !important;
}

.member-order-status button,
.member-service-grid button {
  min-height: 62px !important;
  gap: 6px !important;
}

.member-service-grid {
  gap: 16px 8px !important;
  padding-top: 1px !important;
}

.member-order-status span,
.member-service-grid span {
  color: #333 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.member-order-status .member-icon,
.member-service-grid .member-icon {
  position: relative !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #555 !important;
}

.member-icon::before,
.member-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.member-icon-pay::before,
.member-icon-ship::before,
.member-icon-receive::before,
.member-icon-refund::before,
.member-icon-order::before,
.member-icon-address::before,
.member-icon-invoice::before {
  left: 7px;
  top: 6px;
  width: 18px;
  height: 21px;
  border: 1.5px solid #555;
  border-radius: 2px;
}

.member-icon-pay::after,
.member-icon-order::after,
.member-icon-invoice::after {
  left: 11px;
  top: 12px;
  width: 10px;
  height: 1.5px;
  background: #555;
  box-shadow: 0 5px 0 #555;
}

.member-icon-ship::before {
  left: 4px;
  top: 12px;
  width: 20px;
  height: 11px;
  border-radius: 2px;
}

.member-icon-ship::after {
  left: 20px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #555;
  border-right: 1.5px solid #555;
  transform: rotate(45deg);
}

.member-icon-receive::after {
  left: 12px;
  top: 11px;
  width: 8px;
  height: 11px;
  border-right: 1.5px solid #555;
  border-bottom: 1.5px solid #555;
  transform: rotate(45deg);
}

.member-icon-refund::before {
  left: 7px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #555;
  border-radius: 50%;
}

.member-icon-refund::after {
  left: 9px;
  top: 14px;
  width: 11px;
  height: 8px;
  border-left: 1.5px solid #555;
  border-top: 1.5px solid #555;
  transform: rotate(-35deg);
}

.member-icon-watch::before {
  left: 6px;
  top: 8px;
  width: 20px;
  height: 16px;
  border: 1.5px solid #555;
  border-radius: 50% 50% 45% 45%;
  transform: rotate(-45deg);
}

.member-icon-watch::after {
  left: 13px;
  top: 13px;
  width: 6px;
  height: 6px;
  border: 1.5px solid #555;
  border-radius: 50%;
}

.member-icon-deposit::before {
  left: 6px;
  top: 9px;
  width: 20px;
  height: 15px;
  border: 1.5px solid #555;
  border-radius: 3px;
}

.member-icon-deposit::after {
  left: 14px;
  top: 6px;
  width: 4px;
  height: 20px;
  border-left: 1.5px solid #555;
  border-right: 1.5px solid #555;
}

.member-icon-realname::before {
  left: 8px;
  top: 5px;
  width: 16px;
  height: 22px;
  border: 1.5px solid #555;
  border-radius: 2px;
}

.member-icon-realname::after {
  left: 13px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
  box-shadow: 0 8px 0 -1px #555;
}

.member-icon-address::after {
  left: 12px;
  top: 10px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #555;
  border-radius: 50%;
}

.member-icon-customer::before {
  left: 7px;
  top: 8px;
  width: 18px;
  height: 16px;
  border: 1.5px solid #555;
  border-radius: 50%;
}

.member-icon-customer::after {
  left: 19px;
  top: 21px;
  width: 7px;
  height: 6px;
  border-left: 1.5px solid #555;
  border-bottom: 1.5px solid #555;
}

.member-icon-settings::before {
  left: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #555;
  border-radius: 50%;
  box-shadow: 0 -5px 0 -3px #555, 0 5px 0 -3px #555, 5px 0 0 -3px #555, -5px 0 0 -3px #555;
}

.member-icon-settings::after {
  left: 13px;
  top: 13px;
  width: 6px;
  height: 6px;
  border: 1.5px solid #555;
  border-radius: 50%;
}

.member-order-status em {
  top: 1px !important;
  right: 20% !important;
}

/* Final profile replica based on the supplied mini-program screenshots. */
body.profile-page-active,
body.profile-page-active .app-shell,
body.profile-page-active .page-container,
body.profile-page-active .page[data-page="profile"] {
  background: #f4f4f4 !important;
}

body.profile-page-active .app-shell {
  max-width: 768px !important;
  padding: 0 !important;
}

body.profile-page-active .page-container {
  padding: 0 !important;
  margin: 0 !important;
}

body.profile-page-active .bottom-nav {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 30 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  min-height: 73px !important;
  margin: 0 !important;
  padding: 7px 0 max(4px, var(--safe-bottom)) !important;
  border: 0 !important;
  border-top: 1px solid #ededed !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.profile-page-active .nav-item {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 4px !important;
  min-height: 58px !important;
  padding: 0 !important;
  color: #777 !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

body.profile-page-active .nav-item.active {
  color: #ad1323 !important;
}

body.profile-page-active .nav-icon {
  position: relative !important;
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  overflow: hidden !important;
  color: transparent !important;
}

body.profile-page-active .nav-icon::before,
body.profile-page-active .nav-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-color: currentColor;
}

body.profile-page-active .nav-item:nth-child(1) .nav-icon::before {
  left: 5px;
  top: 11px;
  width: 20px;
  height: 15px;
  border: 3px solid #111;
  border-top: 0;
}

body.profile-page-active .nav-item:nth-child(1) .nav-icon::after {
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-left: 3px solid #111;
  border-top: 3px solid #111;
  transform: rotate(45deg);
}

body.profile-page-active .nav-item:nth-child(2) .nav-icon::before {
  left: 7px;
  top: 5px;
  width: 17px;
  height: 17px;
  border: 3px solid #111;
  transform: rotate(45deg);
}

body.profile-page-active .nav-item:nth-child(2) .nav-icon::after {
  left: 5px;
  bottom: 3px;
  width: 22px;
  height: 3px;
  background: #111;
}

body.profile-page-active .nav-item:nth-child(3) .nav-icon::before {
  left: 5px;
  top: 7px;
  width: 20px;
  height: 18px;
  border: 3px solid #111;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
}

body.profile-page-active .nav-item:nth-child(3) .nav-icon::after {
  left: 3px;
  top: 18px;
  width: 24px;
  height: 9px;
  border-left: 4px solid #111;
  border-right: 4px solid #111;
}

body.profile-page-active .nav-item:nth-child(4) .nav-icon::before {
  left: 12px;
  top: 4px;
  width: 13px;
  height: 19px;
  border-radius: 999px;
  background: #ad1323;
}

body.profile-page-active .nav-item:nth-child(4) .nav-icon::after {
  left: 3px;
  bottom: 1px;
  width: 25px;
  height: 14px;
  border-top: 4px solid #ad1323;
  border-radius: 50% 50% 0 0;
}

.profile-center {
  display: block !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f4f4f4 !important;
  color: #000 !important;
}

.member-cover {
  position: relative !important;
  min-height: 454px !important;
  padding: 1px 0 28px !important;
  overflow: hidden !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 63% 43%, rgba(0, 0, 0, 0.15) 0 48px, transparent 49px),
    linear-gradient(35deg, transparent 43%, rgba(255, 255, 255, 0.11) 44%, transparent 50%),
    radial-gradient(ellipse at 60% 22%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.78)),
    #202020 !important;
}

.member-cover::before {
  content: "";
  position: absolute;
  left: 350px;
  top: -42px;
  width: 76px;
  height: 360px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.18), rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.28));
  transform: rotate(-42deg);
}

.member-cover::after {
  content: "";
  position: absolute;
  right: 90px;
  top: 92px;
  width: 176px;
  height: 118px;
  border-radius: 60px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.38));
  box-shadow: 0 38px 0 34px rgba(0, 0, 0, 0.23);
  transform: rotate(26deg);
}

.member-phone-bar {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  height: 48px !important;
  padding: 26px 40px 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.member-phone-bar i {
  width: 38px !important;
  height: 8px !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 3px, transparent 4px) 0 0 / 13px 8px !important;
}

.member-phone-bar b {
  margin-left: auto !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: rgba(0, 0, 0, 0.62) !important;
  font-size: 19px !important;
}

.member-wx-capsule {
  position: absolute !important;
  z-index: 3 !important;
  right: 19px !important;
  top: 84px !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  width: 156px !important;
  height: 51px !important;
  padding: 0 19px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.24) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 28px !important;
}

.member-wx-capsule i {
  width: 30px !important;
  height: 30px !important;
  border: 6px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 50% !important;
  box-shadow: -16px 0 0 -15px rgba(255, 255, 255, 0.32) !important;
}

.member-avatar-wrap {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 98px !important;
  height: 98px !important;
  margin: 128px auto 0 !important;
  padding: 0 !important;
}

.member-avatar-photo {
  display: block !important;
  width: 98px !important;
  height: 98px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 65% 74%, #e33 0 6px, transparent 7px),
    radial-gradient(circle at 48% 73%, #1653a7 0 5px, transparent 6px),
    radial-gradient(circle at 36% 62%, #1c79bd 0 5px, transparent 6px),
    radial-gradient(circle at 28% 49%, #f1972c 0 5px, transparent 6px),
    radial-gradient(circle at 57% 45%, #62c9ad 0 24px, transparent 25px),
    #f4e7b5 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset !important;
}

.member-avatar-edit {
  position: absolute !important;
  right: -4px !important;
  top: 7px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #fff !important;
}

.member-avatar-edit::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 7px;
  width: 9px;
  height: 18px;
  border-radius: 2px;
  background: #000;
  transform: rotate(45deg);
}

.member-cover h3 {
  position: relative !important;
  z-index: 2 !important;
  margin: 24px 0 42px !important;
  color: #fff !important;
  font-size: 29px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.member-stat-row {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  padding: 0 28px !important;
}

.member-stat-row button {
  display: grid !important;
  gap: 12px !important;
  color: #cfcfcf !important;
  text-align: center !important;
}

.member-stat-row strong {
  color: #fff !important;
  font-size: 42px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

.member-stat-row span {
  color: #cfcfcf !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

.member-section {
  margin: 54px 24px 0 !important;
}

.member-section h3 {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 27px !important;
  color: #000 !important;
  font-size: 31px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.member-title-icon {
  position: relative !important;
  width: 43px !important;
  height: 43px !important;
  flex: 0 0 43px !important;
}

.member-title-icon::before,
.member-title-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.member-title-bag::before {
  left: 5px;
  top: 12px;
  width: 33px;
  height: 25px;
  border: 4px solid #000;
}

.member-title-bag::after {
  left: 13px;
  top: 6px;
  width: 18px;
  height: 12px;
  border: 4px solid #000;
  border-bottom: 0;
}

.member-title-shield::before {
  left: 6px;
  top: 3px;
  width: 31px;
  height: 36px;
  border: 4px solid #000;
  border-radius: 7px 7px 16px 16px;
}

.member-title-shield::after {
  left: 19px;
  top: 15px;
  width: 6px;
  height: 15px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 -4px 0 2px #000;
}

.member-title-help::before {
  inset: 5px;
  border: 4px solid #000;
  border-radius: 10px;
}

.member-title-help::after {
  left: 19px;
  top: 12px;
  width: 5px;
  height: 19px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 19px 0 -1px #000;
}

.member-title-share::before {
  left: 6px;
  top: 18px;
  width: 31px;
  height: 4px;
  background: #000;
  transform: rotate(-25deg);
  box-shadow: 0 15px 0 #000;
}

.member-title-share::after {
  left: 4px;
  top: 15px;
  width: 11px;
  height: 11px;
  border: 4px solid #000;
  border-radius: 50%;
  background: #f4f4f4;
  box-shadow: 28px -13px 0 -1px #f4f4f4, 28px -13px 0 3px #000, 28px 17px 0 -1px #f4f4f4, 28px 17px 0 3px #000;
}

.member-tool-card {
  display: grid !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.member-buyer-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  row-gap: 48px !important;
  padding: 39px 0 40px !important;
}

.member-seller-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  padding: 39px 0 36px !important;
}

.member-tool-card button {
  position: relative !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 28px !important;
  min-height: 105px !important;
  color: #000 !important;
  text-align: center !important;
}

.member-tool-card span {
  color: #000 !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.member-tool-card .member-icon {
  width: 42px !important;
  height: 42px !important;
  color: #000 !important;
}

.member-tool-card em {
  position: absolute !important;
  top: -8px !important;
  right: 32% !important;
  min-width: 17px !important;
  height: 17px !important;
  border-radius: 999px !important;
  background: #ad1323 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-style: normal !important;
  line-height: 17px !important;
}

.member-icon-pay::before {
  left: 6px;
  top: 8px;
  width: 30px;
  height: 23px;
  border: 4px solid #000;
}

.member-icon-pay::after {
  left: 9px;
  top: 16px;
  width: 24px;
  height: 4px;
  background: #000;
  box-shadow: 0 8px 0 -1px #000;
}

.member-icon-ship::before {
  left: 7px;
  top: 8px;
  width: 28px;
  height: 25px;
  border: 4px solid #000;
  border-radius: 2px;
}

.member-icon-ship::after {
  left: 12px;
  top: 6px;
  width: 18px;
  height: 8px;
  border: 4px solid #000;
  border-bottom: 0;
  background: transparent;
  transform: none;
}

.member-icon-receive::before {
  left: 8px;
  top: 8px;
  width: 26px;
  height: 26px;
  border: 4px solid #000;
  border-radius: 3px;
}

.member-icon-receive::after {
  left: 6px;
  top: 17px;
  width: 30px;
  height: 14px;
  border-left: 4px solid #000;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: none;
}

.member-icon-all::before {
  left: 7px;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 4px solid #000;
  box-shadow: 18px 0 0 -4px #fff, 18px 0 0 0 #000, 0 18px 0 -4px #fff, 0 18px 0 0 #000, 18px 18px 0 -4px #fff, 18px 18px 0 0 #000;
}

.member-icon-realname::before {
  left: 4px;
  top: 8px;
  width: 34px;
  height: 24px;
  border: 4px solid #000;
}

.member-icon-realname::after {
  left: 10px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  box-shadow: 14px 4px 0 -1px #000, 20px -5px 0 -2px #000;
}

.member-icon-location::before {
  left: 10px;
  top: 4px;
  width: 22px;
  height: 30px;
  border: 4px solid #000;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.member-icon-location::after {
  left: 11px;
  bottom: 0;
  width: 20px;
  height: 4px;
  background: #000;
}

.member-icon-share::before {
  left: 7px;
  top: 18px;
  width: 29px;
  height: 4px;
  background: #000;
  transform: rotate(-25deg);
  box-shadow: 0 16px 0 #000;
}

.member-icon-share::after {
  left: 4px;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 4px solid #000;
  border-radius: 50%;
  background: #fff;
  box-shadow: 27px -13px 0 -1px #fff, 27px -13px 0 3px #000, 27px 17px 0 -1px #fff, 27px 17px 0 3px #000;
}

.member-icon-headset::before {
  left: 8px;
  top: 5px;
  width: 26px;
  height: 27px;
  border: 4px solid #000;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.member-icon-headset::after {
  left: 4px;
  top: 24px;
  width: 34px;
  height: 12px;
  border-left: 5px solid #000;
  border-right: 5px solid #000;
}

.member-icon-collect::before {
  left: 7px;
  top: 12px;
  width: 28px;
  height: 22px;
  border: 4px solid #000;
}

.member-icon-collect::after {
  left: 14px;
  top: 5px;
  width: 15px;
  height: 14px;
  border: 4px solid #000;
  background: #fff;
}

.member-icon-review::before {
  left: 6px;
  top: 10px;
  width: 28px;
  height: 24px;
  border: 4px solid #000;
}

.member-icon-review::after {
  left: 10px;
  top: 7px;
  width: 22px;
  height: 14px;
  border: 4px solid #000;
  background: #fff;
  transform: rotate(18deg);
}

.member-icon-contract::before {
  left: 7px;
  top: 5px;
  width: 28px;
  height: 32px;
  border: 4px solid #000;
}

.member-icon-contract::after {
  right: 3px;
  bottom: 3px;
  width: 16px;
  height: 16px;
  border: 3px solid #000;
  border-radius: 50%;
  background: #fff;
}

.member-icon-settle::before {
  left: 8px;
  top: 5px;
  width: 26px;
  height: 32px;
  border: 4px solid #000;
}

.member-icon-settle::after {
  content: "¥";
  left: 14px;
  top: 8px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.member-help-scroll {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 316px !important;
  gap: 30px !important;
  overflow-x: auto !important;
  padding-bottom: 4px !important;
  scrollbar-width: none !important;
}

.member-help-scroll::-webkit-scrollbar {
  display: none !important;
}

.member-help-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 124px !important;
  align-items: center !important;
  width: 316px !important;
  height: 164px !important;
  padding: 0 24px 0 41px !important;
  overflow: hidden !important;
  background: linear-gradient(150deg, #181a20, #121318) !important;
  color: #fff !important;
  text-align: left !important;
}

.member-help-card strong {
  display: block !important;
  margin-bottom: 17px !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.member-help-card em {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.member-big-icon {
  position: relative !important;
  width: 116px !important;
  height: 116px !important;
  opacity: 0.9 !important;
}

.member-big-icon::before,
.member-big-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.member-big-bulb::before {
  left: 20px;
  top: 8px;
  width: 76px;
  height: 76px;
  border: 9px solid #d8dce3;
  border-radius: 50%;
}

.member-big-bulb::after {
  left: 47px;
  bottom: 12px;
  width: 24px;
  height: 40px;
  border: 9px solid #d8dce3;
  border-top: 0;
}

.member-big-map::before {
  inset: 22px 6px 12px;
  border-left: 8px solid #d8dce3;
  border-right: 8px solid #d8dce3;
  transform: skewY(-18deg);
}

.member-big-map::after {
  left: 38px;
  top: 17px;
  width: 40px;
  height: 84px;
  border-left: 8px solid #d8dce3;
  border-right: 8px solid #d8dce3;
  transform: skewY(18deg);
}

.member-big-help::before {
  inset: 14px;
  border: 9px solid #d8dce3;
  border-radius: 50%;
}

.member-big-help::after {
  content: "?";
  inset: 0;
  display: grid;
  place-items: center;
  color: #d8dce3;
  font-size: 70px;
  font-weight: 700;
}

.member-big-leaf::before {
  left: 18px;
  top: 22px;
  width: 74px;
  height: 46px;
  border: 9px solid #d8dce3;
  border-left: 0;
  border-radius: 0 80px 0 80px;
  transform: rotate(-34deg);
}

.member-big-leaf::after {
  left: 31px;
  top: 34px;
  width: 58px;
  height: 9px;
  border-radius: 999px;
  background: #d8dce3;
  transform: rotate(-34deg);
}

.member-big-privacy::before {
  left: 20px;
  top: 6px;
  width: 76px;
  height: 88px;
  border: 9px solid #d8dce3;
  border-radius: 12px 12px 38px 38px;
}

.member-big-privacy::after {
  left: 51px;
  top: 39px;
  width: 14px;
  height: 34px;
  border-radius: 999px;
  background: #d8dce3;
  box-shadow: 0 -11px 0 7px #d8dce3;
}

.member-follow-section {
  padding-bottom: 58px !important;
}

.member-follow-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 4px !important;
}

.member-follow-grid button {
  display: grid !important;
  grid-template-columns: 98px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  min-height: 129px !important;
  padding: 20px 24px !important;
  background: #fff !important;
  color: #000 !important;
  text-align: left !important;
}

.member-follow-icon {
  position: relative !important;
  grid-row: 1 / span 2 !important;
  width: 58px !important;
  height: 58px !important;
}

.member-follow-icon::before,
.member-follow-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.member-follow-grid span {
  color: #111 !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
}

.member-follow-grid em {
  margin-top: 8px !important;
  color: #111 !important;
  font-size: 21px !important;
  font-style: normal !important;
  line-height: 1 !important;
}

.member-follow-wechat::before {
  inset: 6px;
  border: 13px solid #000;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.member-follow-wechat::after {
  inset: 14px;
  border: 9px solid #000;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(35deg);
}

.member-follow-video::before {
  left: 6px;
  top: 8px;
  width: 46px;
  height: 42px;
  border: 6px solid #000;
  border-radius: 50%;
  transform: rotate(56deg) skewX(-16deg);
}

.member-follow-video::after {
  right: 4px;
  top: 7px;
  width: 22px;
  height: 44px;
  border: 6px solid #000;
  border-radius: 50%;
  transform: rotate(-38deg);
}

.member-follow-xiaohongshu::before {
  content: "小红书";
  left: 0;
  top: 17px;
  color: #000;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.member-follow-kuaishou::before {
  left: 5px;
  top: 7px;
  width: 22px;
  height: 22px;
  border: 6px solid #000;
  border-radius: 50%;
  box-shadow: 24px 0 0 -6px #fff, 24px 0 0 0 #000, 0 24px 0 -6px #fff, 0 24px 0 0 #000, 24px 24px 0 -6px #fff, 24px 24px 0 0 #000;
}

.member-follow-douyin::before {
  left: 22px;
  top: 4px;
  width: 17px;
  height: 40px;
  background: #000;
  border-radius: 0 0 8px 8px;
}

.member-follow-douyin::after {
  left: 5px;
  bottom: 5px;
  width: 31px;
  height: 31px;
  border: 10px solid #000;
  border-radius: 50%;
}

.member-icon[data-profile-icon-upload],
.member-big-icon[data-profile-icon-upload],
.member-follow-icon[data-profile-icon-upload] {
  cursor: pointer !important;
}

.member-custom-icon {
  background: var(--profile-icon-image) center / contain no-repeat !important;
}

.member-custom-icon::before,
.member-custom-icon::after {
  display: none !important;
  content: none !important;
}

.member-tool-card .member-custom-icon {
  width: 42px !important;
  height: 42px !important;
  transform: none !important;
}

.member-help-card .member-custom-icon {
  width: 116px !important;
  height: 116px !important;
  opacity: 1 !important;
  transform: none !important;
}

.member-follow-grid .member-custom-icon {
  width: 58px !important;
  height: 58px !important;
  transform: none !important;
}

@media (max-width: 520px) {
  .member-cover { min-height: 454px !important; }
  .member-section { margin-left: 24px !important; margin-right: 24px !important; }
  .member-section h3 { font-size: 31px !important; }
  .member-tool-card span { font-size: 28px !important; }
}

body.profile-page-active .bottom-nav {
  min-height: 62px !important;
  padding-top: 5px !important;
}

body.profile-page-active .nav-item {
  min-height: 50px !important;
  gap: 3px !important;
  font-size: 14px !important;
}

body.profile-page-active .nav-icon {
  width: 25px !important;
  height: 25px !important;
  transform: scale(0.86) !important;
}

.member-cover {
  min-height: 372px !important;
}

.member-phone-bar,
.member-wx-capsule {
  display: none !important;
}

.member-cover {
  min-height: 318px !important;
  padding-top: 1px !important;
}

.member-avatar-wrap {
  margin-top: 78px !important;
}

.member-cover h3 {
  margin-top: 18px !important;
  margin-bottom: 30px !important;
}

.member-stat-row {
  padding-bottom: 6px !important;
}

.member-phone-bar {
  height: 39px !important;
  padding: 20px 32px 0 !important;
  gap: 11px !important;
  font-size: 22px !important;
}

.member-phone-bar i {
  transform: scale(0.82) !important;
  transform-origin: left center !important;
}

.member-phone-bar b {
  padding: 2px 7px !important;
  font-size: 15px !important;
}

.member-wx-capsule {
  right: 15px !important;
  top: 69px !important;
  width: 128px !important;
  height: 42px !important;
  gap: 15px !important;
  padding: 0 16px !important;
  font-size: 22px !important;
}

.member-wx-capsule i {
  width: 24px !important;
  height: 24px !important;
  border-width: 5px !important;
}

.member-avatar-wrap {
  width: 78px !important;
  height: 78px !important;
  margin-top: 104px !important;
}

.member-avatar-photo {
  width: 78px !important;
  height: 78px !important;
}

.member-avatar-edit {
  width: 25px !important;
  height: 25px !important;
  right: -3px !important;
  top: 5px !important;
}

.member-avatar-edit::before {
  left: 9px !important;
  top: 6px !important;
  width: 7px !important;
  height: 14px !important;
}

.member-cover h3 {
  margin: 20px 0 34px !important;
  font-size: 24px !important;
}

.member-stat-row {
  padding: 0 20px !important;
}

.member-stat-row button {
  gap: 9px !important;
}

.member-stat-row strong {
  font-size: 34px !important;
}

.member-stat-row span {
  font-size: 17px !important;
}

.member-section {
  margin: 44px 20px 0 !important;
}

.member-section h3 {
  gap: 11px !important;
  margin-bottom: 22px !important;
  font-size: 25px !important;
}

.member-title-icon {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  transform: scale(0.82) !important;
  transform-origin: left center !important;
}

.member-buyer-grid {
  row-gap: 34px !important;
  padding: 30px 0 32px !important;
}

.member-seller-grid {
  padding: 30px 0 28px !important;
}

.member-tool-card button {
  gap: 22px !important;
  min-height: 88px !important;
}

.member-tool-card .member-icon {
  width: 34px !important;
  height: 34px !important;
  transform: scale(0.82) !important;
  transform-origin: center top !important;
}

.member-tool-card span {
  font-size: 22px !important;
}

.member-help-scroll {
  grid-auto-columns: 258px !important;
  gap: 22px !important;
}

.member-help-card {
  grid-template-columns: minmax(0, 1fr) 96px !important;
  width: 258px !important;
  height: 132px !important;
  padding: 0 18px 0 31px !important;
}

.member-help-card strong {
  margin-bottom: 13px !important;
  font-size: 23px !important;
}

.member-help-card em {
  font-size: 14px !important;
}

.member-big-icon {
  width: 92px !important;
  height: 92px !important;
  transform: scale(0.78) !important;
  transform-origin: center !important;
}

.member-follow-section {
  padding-bottom: 42px !important;
}

.member-follow-grid button {
  grid-template-columns: 78px minmax(0, 1fr) !important;
  min-height: 105px !important;
  padding: 16px 18px !important;
}

.member-follow-icon {
  width: 46px !important;
  height: 46px !important;
  transform: scale(0.8) !important;
  transform-origin: center !important;
}

.member-follow-grid span {
  font-size: 19px !important;
}

.member-follow-grid em {
  margin-top: 6px !important;
  font-size: 17px !important;
}

@media (max-width: 520px) {
  .member-cover { min-height: 318px !important; }
  .member-section { margin-left: 20px !important; margin-right: 20px !important; }
  .member-section h3 { font-size: 25px !important; }
  .member-tool-card span { font-size: 22px !important; }
}

.member-custom-icon {
  background: var(--profile-icon-image) center / contain no-repeat !important;
  transform: none !important;
}

.member-custom-icon::before,
.member-custom-icon::after {
  display: none !important;
  content: none !important;
}

.member-tool-card .member-custom-icon {
  width: 34px !important;
  height: 34px !important;
}

.member-help-card .member-custom-icon {
  width: 92px !important;
  height: 92px !important;
  opacity: 1 !important;
}

.member-follow-grid .member-custom-icon {
  width: 46px !important;
  height: 46px !important;
}

body.member-subpage-active .bottom-nav {
  display: none !important;
}

body.member-subpage-active,
body.member-subpage-active .app-shell,
body.member-subpage-active .page-container,
body.member-subpage-active .page[data-page="profile"],
body.member-subpage-active .profile-center {
  background: #fff !important;
}

.member-subpage {
  min-height: 100vh !important;
  background: #fff !important;
  color: #000 !important;
}

.member-subpage-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  display: grid !important;
  grid-template-columns: 56px 1fr 56px !important;
  align-items: center !important;
  height: 76px !important;
  border-bottom: 1px solid #eee !important;
  background: #fff !important;
}

.member-subpage-head h3 {
  margin: 0 !important;
  color: #000 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.member-subpage-back {
  position: relative !important;
  width: 56px !important;
  height: 56px !important;
}

.member-subpage-back::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-left: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(45deg);
}

.seller-consign-form {
  padding: 34px 30px 132px !important;
}

.seller-description-field {
  display: grid !important;
  gap: 22px !important;
}

.seller-description-field span {
  color: #8d8d8d !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.seller-description-field textarea {
  width: 100% !important;
  min-height: 260px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 20px !important;
  resize: none !important;
  outline: none !important;
}

.seller-upload-row {
  display: grid !important;
  gap: 22px !important;
  margin-bottom: 34px !important;
}

.seller-upload-box {
  display: grid !important;
  place-items: center !important;
  width: 130px !important;
  height: 130px !important;
  border-radius: 9px !important;
  background: #f7f7f7 !important;
}

.seller-upload-box i {
  position: relative !important;
  width: 42px !important;
  height: 34px !important;
  border: 4px solid #000 !important;
  border-radius: 6px !important;
}

.seller-upload-box i::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -11px;
  width: 19px;
  height: 13px;
  border: 4px solid #000;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.seller-upload-box i::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 12px;
  height: 12px;
  border: 4px solid #000;
  border-radius: 50%;
}

.seller-upload-row p {
  margin: 0 !important;
  color: #8d8d8d !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}

.seller-field-row {
  display: grid !important;
  gap: 20px !important;
  padding: 30px 0 !important;
  border-top: 1px solid #eee !important;
}

.seller-field-row strong {
  color: #000 !important;
  font-size: 23px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.seller-field-row input {
  width: 100% !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 24px !important;
}

.seller-field-row input::placeholder {
  color: #8b8b8b !important;
}

.seller-submit-bar {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  z-index: 20 !important;
  width: min(100%, 768px) !important;
  padding: 16px 32px max(16px, var(--safe-bottom)) !important;
  background: #fff !important;
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.04) !important;
  transform: translateX(-50%) !important;
}

.seller-submit-bar button {
  width: 100% !important;
  height: 58px !important;
  border-radius: 6px !important;
  background: #b70618 !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 600 !important;
}

.seller-tab-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  height: 84px !important;
  border-bottom: 1px solid #eee !important;
  background: #fff !important;
}

.seller-tab-row.seller-tab-five {
  grid-template-columns: repeat(5, 1fr) !important;
}

.seller-tab-row.seller-tab-two {
  grid-template-columns: repeat(2, 1fr) !important;
}

.seller-tab-row button {
  position: relative !important;
  color: #777 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
}

.seller-tab-row button.active {
  color: #000 !important;
  font-weight: 600 !important;
}

.seller-tab-row button.active::after {
  content: "";
  position: absolute;
  left: 22% !important;
  right: 22% !important;
  bottom: 0 !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #000 !important;
}

.seller-list-body {
  display: grid !important;
  place-items: center !important;
  min-height: calc(100vh - 160px) !important;
  background: #fafafa !important;
}

.seller-empty {
  display: grid !important;
  justify-items: center !important;
  gap: 24px !important;
  margin-top: -120px !important;
  color: #d0d0d0 !important;
  font-size: 22px !important;
}

.seller-empty i {
  position: relative !important;
  width: 92px !important;
  height: 66px !important;
  border: 2px solid #e3e3e3 !important;
  border-radius: 4px !important;
}

.seller-empty i::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -29px;
  width: 56px;
  height: 39px;
  border: 2px solid #e3e3e3;
  border-bottom: 0;
  transform: perspective(50px) rotateX(34deg);
}

.seller-empty i::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  width: 24px;
  height: 17px;
  border: 2px solid #e3e3e3;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: #fafafa;
}

.seller-floating-fix {
  position: fixed !important;
  right: 32px !important;
  bottom: 42px !important;
  z-index: 15 !important;
  display: grid !important;
  place-items: center !important;
  width: 86px !important;
  height: 86px !important;
  border: 2px solid #df4a4a !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #df4a4a !important;
  font-size: 18px !important;
}

.seller-floating-fix em {
  display: grid !important;
  place-items: center !important;
  width: 25px !important;
  height: 25px !important;
  border: 3px solid #df4a4a !important;
  border-radius: 50% !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.seller-floating-fix span {
  color: #df4a4a !important;
  font-size: 16px !important;
}

.seller-floating-fix b {
  position: absolute !important;
  right: -4px !important;
  top: -5px !important;
  display: grid !important;
  place-items: center !important;
  width: 27px !important;
  height: 27px !important;
  border-radius: 50% !important;
  background: #df2f3b !important;
  color: #fff !important;
  font-size: 17px !important;
}

.buyer-wechat-address {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  height: 84px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background: #fff !important;
  color: #25b84b !important;
  font-size: 22px !important;
  font-weight: 500 !important;
}

.buyer-wechat-address i {
  position: relative !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #25b84b !important;
}

.buyer-wechat-address i::before,
.buyer-wechat-address i::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.buyer-wechat-address i::before {
  left: 7px;
  top: 9px;
  width: 5px;
  height: 5px;
  box-shadow: 8px 0 0 #fff;
}

.buyer-wechat-address i::after {
  left: 5px;
  top: 5px;
  width: 11px;
  height: 9px;
  border: 2px solid #fff;
  background: transparent;
  box-shadow: 7px 5px 0 -2px #25b84b, 7px 5px 0 0 #fff;
}

.buyer-address-body {
  min-height: calc(100vh - 160px) !important;
}

/* Compact pass for the member home page. */
body.profile-page-active:not(.member-subpage-active) .member-cover {
  min-height: 282px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-avatar-wrap,
body.profile-page-active:not(.member-subpage-active) .member-avatar-photo {
  width: 66px !important;
  height: 66px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-avatar-wrap {
  margin-top: 64px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-avatar-edit {
  width: 21px !important;
  height: 21px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-cover h3 {
  margin: 15px 0 24px !important;
  font-size: 20px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-stat-row {
  padding: 0 16px 4px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-stat-row button {
  gap: 7px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-stat-row strong {
  font-size: 28px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-stat-row span {
  font-size: 14px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-section {
  margin: 34px 16px 0 !important;
}

body.profile-page-active:not(.member-subpage-active) .member-section h3 {
  gap: 9px !important;
  margin-bottom: 17px !important;
  font-size: 21px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-title-icon {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
  transform: scale(0.68) !important;
}

body.profile-page-active:not(.member-subpage-active) .member-buyer-grid {
  row-gap: 26px !important;
  padding: 24px 0 26px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-seller-grid {
  padding: 24px 0 22px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-tool-card button {
  gap: 16px !important;
  min-height: 70px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-tool-card .member-icon {
  width: 28px !important;
  height: 28px !important;
  transform: scale(0.68) !important;
}

body.profile-page-active:not(.member-subpage-active) .member-tool-card .member-custom-icon {
  width: 28px !important;
  height: 28px !important;
  transform: none !important;
}

body.profile-page-active:not(.member-subpage-active) .member-tool-card span {
  font-size: 18px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-help-scroll {
  grid-auto-columns: 214px !important;
  gap: 16px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-help-card {
  grid-template-columns: minmax(0, 1fr) 76px !important;
  width: 214px !important;
  height: 110px !important;
  padding: 0 14px 0 24px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-help-card strong {
  margin-bottom: 10px !important;
  font-size: 19px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-help-card em {
  font-size: 12px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-big-icon {
  width: 74px !important;
  height: 74px !important;
  transform: scale(0.62) !important;
}

body.profile-page-active:not(.member-subpage-active) .member-help-card .member-custom-icon {
  width: 74px !important;
  height: 74px !important;
  transform: none !important;
}

body.profile-page-active:not(.member-subpage-active) .member-follow-grid button {
  grid-template-columns: 62px minmax(0, 1fr) !important;
  min-height: 86px !important;
  padding: 13px 14px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-follow-icon {
  width: 38px !important;
  height: 38px !important;
  transform: scale(0.66) !important;
}

body.profile-page-active:not(.member-subpage-active) .member-follow-grid .member-custom-icon {
  width: 38px !important;
  height: 38px !important;
  transform: none !important;
}

body.profile-page-active:not(.member-subpage-active) .member-follow-grid span {
  font-size: 16px !important;
}

body.profile-page-active:not(.member-subpage-active) .member-follow-grid em {
  font-size: 14px !important;
}

.advisor-center-page .seller-tab-row {
  margin-bottom: 0 !important;
}

.advisor-simple-list {
  display: grid !important;
  gap: 1px !important;
  background: #f1f1f1 !important;
  border-top: 1px solid #f1f1f1 !important;
}

.advisor-simple-row {
  display: grid !important;
  grid-template-columns: 1.1fr 0.8fr 0.9fr auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 78px !important;
  padding: 0 18px !important;
  background: #fff !important;
  color: #111 !important;
}

.advisor-simple-row strong,
.advisor-simple-row span,
.advisor-simple-row em {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.advisor-simple-row strong {
  font-size: 17px !important;
  font-weight: 700 !important;
}

.advisor-simple-row span,
.advisor-simple-row em {
  color: #666 !important;
  font-size: 14px !important;
  font-style: normal !important;
}

.advisor-simple-row button {
  min-width: 64px !important;
  height: 34px !important;
  border-radius: 17px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 14px !important;
}

.advisor-hired-row {
  grid-template-columns: 0.9fr 0.7fr 1.6fr auto !important;
}

.member-message-page .seller-tab-row {
  margin-bottom: 0 !important;
}

.message-list-body {
  display: grid !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #fafafa !important;
}

.message-action-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.message-action-row button {
  height: 42px !important;
  border-radius: 21px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 14px !important;
}

.member-message-card {
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.message-card-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.message-card-actions label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #666 !important;
  font-size: 14px !important;
}

.message-card-actions button {
  min-width: 70px !important;
  height: 34px !important;
  border-radius: 17px !important;
  background: #f2f2f2 !important;
  color: #c62828 !important;
  font-size: 14px !important;
}

.customer-message-box {
  display: grid !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.customer-message-box textarea {
  width: 100% !important;
  min-height: 116px !important;
  padding: 14px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  color: #111 !important;
  font-size: 16px !important;
  resize: vertical !important;
}

.customer-message-box button {
  width: 100% !important;
  height: 46px !important;
  border-radius: 23px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.wallet-page {
  min-height: 100vh !important;
  background: #f6f6f6 !important;
  color: #111 !important;
}

.wallet-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px 16px !important;
  background: #fff !important;
}

.wallet-tabs button {
  height: 44px !important;
  border-radius: 22px !important;
  background: #eeeeee !important;
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.wallet-tabs button.active {
  background: #111 !important;
  color: #fff !important;
}

.wallet-deposit-panel,
.wallet-refund-panel {
  display: grid !important;
  gap: 14px !important;
  padding: 16px !important;
}

.wallet-notice {
  padding: 16px !important;
  border-left: 5px solid #c62828 !important;
  border-radius: 14px !important;
  background: #fff7f7 !important;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.wallet-activity,
.wallet-deposit-card,
.wallet-refund-record {
  display: grid !important;
  gap: 10px !important;
  padding: 18px !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05) !important;
}

.wallet-deposit-card {
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
}

.wallet-deposit-card strong,
.wallet-refund-record strong {
  font-size: 18px !important;
  color: #111 !important;
}

.wallet-activity p,
.wallet-refund-record p,
.wallet-refund-record span {
  margin: 0 !important;
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.wallet-deposit-card button,
.wallet-refund-record button {
  height: 44px !important;
  border-radius: 22px !important;
  background: #c62828 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.wallet-refund-panel:empty {
  min-height: 200px !important;
}

.advisor-ask-button {
  width: 100% !important;
  height: 48px !important;
  margin: 14px 0 10px !important;
  border-radius: 24px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.ask-advisor-card {
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
}

.ask-advisor-card button {
  min-width: 92px !important;
  height: 40px !important;
  border-radius: 20px !important;
  background: #c62828 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.member-tool-card button em {
  position: absolute !important;
  right: 18px !important;
  top: 10px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 9px !important;
  background: #c62828 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

.member-tool-card button {
  position: relative !important;
}

.advisor-chat-layout {
  display: grid !important;
  grid-template-columns: 96px 1fr !important;
  min-height: calc(100vh - 76px) !important;
  background: #fff !important;
}

.advisor-chat-sidebar {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  padding: 12px 8px !important;
  border-right: 1px solid #eee !important;
  background: #f7f7f7 !important;
}

.advisor-chat-sidebar button {
  min-height: 42px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #333 !important;
  font-weight: 700 !important;
}

.advisor-chat-sidebar button.active {
  background: #111 !important;
  color: #fff !important;
}

.advisor-chat-main {
  display: grid !important;
  grid-template-rows: 1fr 92px auto !important;
  min-width: 0 !important;
}

.advisor-chat-box {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  padding: 14px !important;
  overflow: auto !important;
  background: #fff !important;
}

.advisor-chat-bubble {
  max-width: 82% !important;
  display: grid !important;
  gap: 4px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: #f1f1f1 !important;
  color: #111 !important;
}

.advisor-chat-bubble.me {
  justify-self: end !important;
  background: #111 !important;
  color: #fff !important;
}

.advisor-chat-bubble em {
  color: #999 !important;
  font-size: 11px !important;
}

.advisor-chat-image {
  display: block !important;
  max-width: 180px !important;
  max-height: 180px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}

.advisor-chat-input {
  width: calc(100% - 24px) !important;
  margin: 0 12px !important;
  padding: 10px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  resize: none !important;
}

.advisor-chat-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 8px !important;
  padding: 10px 12px 14px !important;
}

.advisor-chat-actions button,
.send-lot-button {
  min-height: 42px !important;
  border-radius: 21px !important;
  background: #f2f2f2 !important;
  color: #111 !important;
  font-weight: 700 !important;
}

.advisor-chat-actions .send {
  background: #c62828 !important;
  color: #fff !important;
}

.send-lot-button {
  width: 100% !important;
  margin-top: 8px !important;
}

.refund-form-grid {
  grid-template-columns: 1fr !important;
}

.bid-card-shortcut .nav-icon {
  background: #c62828 !important;
  color: #fff !important;
}

.bid-card-apply-card,
.bid-card-main {
  border: 1px solid rgba(198, 40, 40, 0.18) !important;
  background: #fff7f7 !important;
}

.bid-card-main h4,
.bid-card-history h4 {
  letter-spacing: 0.08em !important;
}

.bid-card-history.active {
  border: 1px solid rgba(198, 40, 40, 0.28) !important;
}

.bid-card-history .secondary-button {
  height: 40px !important;
  margin-top: 8px !important;
  border-radius: 20px !important;
  background: #f3f3f3 !important;
  color: #111 !important;
}

.advisor-login-form {
  display: grid !important;
  gap: 12px !important;
}

.advisor-login-form .sheet-input-wrap {
  background: #fff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 10px !important;
}

.advisor-login-form .primary-button {
  background: #c62828 !important;
  color: #fff !important;
}

/* Keep the bottom navigation in normal page flow so it never covers content. */
.bottom-nav,
body.profile-page-active .bottom-nav {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  min-height: 62px !important;
  margin: 18px 0 0 !important;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom)) !important;
  z-index: 10 !important;
}

body.profile-page-active .profile-center {
  padding-bottom: 18px !important;
}
