:root {
  color-scheme: light;
  --ink: #2f2926;
  --ink-soft: #5a2025;
  --paper: #f8f6f2;
  --surface: #ffffff;
  --line: #ded5ca;
  --muted: #7a736d;
  --pink: #7f2028;
  --pink-dark: #54151c;
  --gold: #b58b4a;
  --gold-light: #e7d3ae;
  --red: #8e3037;
  --blue: #6d7478;
  --jade: #69745c;
  --shadow: 0 12px 30px rgba(73, 49, 39, 0.11);
  --jba-night: #070d13;
  --jba-night-soft: #101923;
  --jba-cream: #fbf1df;
  --jba-cream-2: #fffaf0;
  --jba-gold: #c9a260;
  --jba-gold-soft: #efd9a6;
  --jba-sakura: #d8a19a;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #ebe8e3;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #ebe8e3;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: env(safe-area-inset-top) 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--wine, #7f2028);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  gap: 4px;
}

.brand-button,
.icon-button {
  border: 0;
  color: inherit;
  background: transparent;
}

.brand-button {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  text-align: left;
}

.brand-name {
  color: var(--pink-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-name-short {
  display: none;
}

.language-switcher {
  position: relative;
  display: grid;
  flex: 0 0 68px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  height: 34px;
  padding-left: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--pink-dark);
  background: #fff;
}

.language-switcher > span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.language-switcher select {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 2px;
  border: 0;
  outline: 0;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.language-switcher:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(127, 32, 40, 0.12);
}

.brand-name b {
  font-weight: 700;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

@media (max-width: 410px) {
  .brand-name-full {
    display: none;
  }

  .brand-name-short {
    display: inline;
    font-size: 17px;
  }
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  font-size: 23px;
}

.page-header-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--pink-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.page-topbar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 68px 42px;
  gap: 4px;
  padding-right: 8px;
  padding-left: 8px;
}

.page-topbar .page-header-title {
  font-size: 16px;
  line-height: 1.2;
}

.page {
  min-height: calc(100dvh - 124px);
  padding-bottom: 112px;
}

.home-page {
  background: var(--paper);
}

.search-trigger {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  width: calc(100% - 24px);
  min-height: 44px;
  margin: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  text-align: left;
  background: #fff;
}

.search-trigger strong {
  color: var(--pink);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 246px;
  overflow: hidden;
  color: var(--ink);
  background: #ece6dc;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 42%, rgba(255,255,255,.78) 58%, rgba(255,255,255,.18) 78%, rgba(255,255,255,.04) 100%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 72%;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}

.hero-kicker {
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 8px 0 4px;
  font-family: Georgia, "Songti SC", serif;
  color: var(--pink-dark);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 18px;
}

.hero p {
  max-width: 190px;
  margin: 8px 0 20px;
  color: #554f4b;
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(255,255,255,.95);
}

.primary-button,
.secondary-button,
.venue-action,
.bid-button {
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}

.primary-button {
  width: fit-content;
  min-width: 128px;
  padding: 0 20px;
  color: #fff;
  background: var(--pink);
}

.primary-button:active,
.venue-action:active,
.bid-button:active {
  background: var(--pink-dark);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 15px 8px 14px;
  border-bottom: 1px solid #eee8df;
  background: #fff;
}

.quick-actions button {
  position: relative;
  display: flex;
  min-height: 88px;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3px 4px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.quick-actions button + button::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(111, 21, 35, .5);
}

.quick-actions button::after {
  width: 20px;
  height: 2px;
  margin: 7px 0 8px;
  content: "";
  background: #b7893f;
}

.quick-actions button:active {
  background: #faf8f4;
}

.quick-icon {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: var(--pink-dark);
  -webkit-mask: var(--quick-icon) center / contain no-repeat;
  mask: var(--quick-icon) center / contain no-repeat;
}

.quick-icon-crown { --quick-icon: url("assets/icons/quick-crown.svg"); }
.quick-icon-flow { --quick-icon: url("assets/icons/quick-flow.svg"); }
.quick-icon-fee { --quick-icon: url("assets/icons/quick-fee.svg"); }
.quick-icon-guide { --quick-icon: url("assets/icons/quick-guide.svg"); }

.quick-actions b {
  display: block;
  width: 100%;
  color: #272321;
  font-size: 11px;
  hyphens: auto;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

html[lang="en"] .hero,
html[lang="th"] .hero,
html[lang="vi"] .hero {
  min-height: 280px;
}

html[lang="fr"] .hero,
html[lang="es"] .hero {
  min-height: 340px;
}

html[lang="de"] .hero {
  min-height: 330px;
}

html[lang="de"] .quick-actions b,
html[lang="fr"] .quick-actions b,
html[lang="es"] .quick-actions b,
html[lang="vi"] .quick-actions b {
  font-size: 9px;
}

html[lang="en"] .home-member-plan-head,
html[lang="ja"] .home-member-plan-head,
html[lang="ko"] .home-member-plan-head,
html[lang="fr"] .home-member-plan-head,
html[lang="de"] .home-member-plan-head,
html[lang="es"] .home-member-plan-head,
html[lang="th"] .home-member-plan-head,
html[lang="vi"] .home-member-plan-head {
  grid-template-columns: 38px minmax(0, 1fr);
}

html[lang="en"] .home-member-plan-head > strong,
html[lang="ja"] .home-member-plan-head > strong,
html[lang="ko"] .home-member-plan-head > strong,
html[lang="fr"] .home-member-plan-head > strong,
html[lang="de"] .home-member-plan-head > strong,
html[lang="es"] .home-member-plan-head > strong,
html[lang="th"] .home-member-plan-head > strong,
html[lang="vi"] .home-member-plan-head > strong {
  grid-column: 2;
  margin-top: 2px;
  text-align: left;
  white-space: normal;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip > div {
  display: grid;
  gap: 7px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  min-height: 94px;
  padding: 9px 5px 8px;
  border: 1px solid rgba(176, 136, 69, .24);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8, #fff8eb);
  text-align: center;
}

.trust-strip > div > span {
  display: block;
  width: 30px;
  height: 30px;
  color: #8d1f2b;
  background: linear-gradient(180deg, #ad7f37, #7d1a27);
}

.trust-strip > div > span::before {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  content: "";
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.trust-strip .service-icon-torii,
.trust-strip .service-icon-file-check,
.trust-strip .service-icon-truck {
  width: 52px;
  height: 52px;
  background-position: center;
  background-size: 82px 82px;
  background-repeat: no-repeat;
}

.trust-strip .service-icon-torii { background-image: url("assets/icons/generated/trust-auction-venue.png"); }
.trust-strip .service-icon-file-check { background-image: url("assets/icons/generated/trust-product-data.png"); }
.trust-strip .service-icon-truck { background-image: url("assets/icons/generated/trust-logistics.png"); }

.trust-strip .service-icon-torii::before,
.trust-strip .service-icon-file-check::before,
.trust-strip .service-icon-truck::before {
  display: none;
}

.trust-strip p,
.trust-strip b,
.trust-strip small {
  display: block;
  min-width: 0;
  margin: 0;
}

.trust-strip b {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-strip small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 22px 14px;
  border-top: 7px solid #efece6;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  color: var(--pink-dark);
  font-size: 20px;
  letter-spacing: 0;
}

.section-heading h2 small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .08em;
}

.text-button {
  padding: 7px 0;
  border: 0;
  color: var(--pink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

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

.venue-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 178px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
  background: #fff;
}

.venue-card.is-live {
  border-color: var(--pink);
  box-shadow: inset 3px 0 0 var(--pink);
}

.venue-card.is-unsynced {
  grid-template-rows: auto auto auto 1fr;
}

.venue-card.is-unsynced > small {
  align-self: end;
}

.venue-card.has-preview {
  grid-template-rows: auto auto auto auto 1fr;
  border-color: #c9a65a;
  box-shadow: inset 3px 0 0 #c9a65a;
}

.venue-preview-status {
  align-self: end;
  display: grid;
  gap: 2px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.venue-preview-status b {
  color: var(--ink);
  font-size: 11px;
}

.venue-code {
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 800;
}

.venue-card > strong {
  max-width: calc(100% - 42px);
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.35;
}

.venue-card > small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.venue-mode {
  width: fit-content;
  margin-top: 7px;
  padding: 3px 6px;
  color: #8b661f;
  background: #fff5dc;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.venue-countdown {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 7px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.venue-countdown small {
  color: var(--muted);
  font-size: 10px;
}

.venue-countdown b {
  color: var(--pink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.venue-countdown.is-upcoming b,
.venue-hero-countdown.is-upcoming em {
  font-family: Georgia, serif;
  font-variant-numeric: normal;
}

.venue-grid .venue-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 154px;
}

.venue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--ink);
  font-size: 11px;
}

.venue-meta > span {
  max-width: 72px;
  color: var(--muted);
  text-align: right;
}

.venue-meta b {
  color: var(--pink);
}

.venue-type {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 5px;
  color: #fff;
  background: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
  background: #fff;
  box-shadow: 0 5px 14px rgba(82, 54, 42, .05);
}

.product-card > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f3f3f1;
}

.product-image-shell {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f3f1;
}

.product-image-shell .product-image {
  height: 100%;
  aspect-ratio: auto;
}

.product-copy {
  min-height: 112px;
  padding: 10px;
}

.product-copy small,
.product-copy span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.product-copy b {
  display: -webkit-box;
  min-height: 38px;
  margin: 5px 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.localized-product-name > span {
  color: inherit;
  font: inherit;
  font-weight: inherit;
}

.product-copy .localized-product-name,
.listing-copy .localized-product-name,
.catalog-card .listing-copy .localized-product-name {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.product-copy .localized-product-name > span,
.listing-copy .localized-product-name > span {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-source-name {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-source-name em {
  margin-right: 4px;
  color: var(--pink);
  font: inherit;
  font-weight: 700;
}

.detail-product-name > span,
.detail-product-name .product-source-name {
  display: block;
}

.detail-product-name .product-source-name {
  margin-top: 6px;
  font-size: 11px;
  -webkit-line-clamp: unset;
}

.product-copy strong {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 16px;
}

.product-copy .product-deadline {
  width: fit-content;
  margin-top: 6px;
  padding: 3px 5px;
  color: #7b1b29;
  background: #fff2dc;
  font-weight: 800;
}

.home-live-section {
  background: linear-gradient(180deg, #fffaf2, #fff);
}

.home-live-venues {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-live-venues .venue-card {
  min-height: 154px;
  border-color: rgba(151, 31, 53, .48);
  box-shadow: inset 3px 0 0 var(--pink), 0 8px 20px rgba(91, 28, 39, .07);
}

.home-live-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.home-current-summary {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(151, 31, 53, .3);
  border-left: 3px solid var(--pink);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.home-current-summary span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home-current-summary b {
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 15px;
}

.home-current-summary small {
  color: var(--muted);
  font-size: 10px;
}

.home-current-summary em {
  flex: 0 0 auto;
  color: var(--pink-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.home-product-section {
  background: #fff;
}

.home-product-rail {
  display: grid;
  grid-auto-columns: minmax(154px, 44%);
  grid-auto-flow: column;
  gap: 10px;
  padding: 1px 14px 12px 0;
  overflow-x: auto;
  scroll-padding-left: 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.home-product-rail .product-card {
  scroll-snap-align: start;
}

.home-product-rail .product-copy {
  min-height: 132px;
}

.product-copy em {
  font-size: 9px;
  font-style: normal;
}

.product-card > .favorite-button {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  font-size: 18px;
}

.favorite-button.active,
.detail-favorite.active {
  color: var(--pink);
}

.promo-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: #fff;
  background: var(--jade);
}

.promo-band b,
.promo-band span {
  display: block;
}

.promo-band span {
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
}

.promo-band button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 4px;
  color: #fff;
  background: transparent;
  font-weight: 800;
}

.home-buyer-guide {
  background:
    radial-gradient(circle at 94% 12%, rgba(183,137,63,.13), transparent 28%),
    linear-gradient(180deg, #fff, #fbf7f0);
}

.home-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(183,137,63,.3);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 20px rgba(76,42,30,.06);
}

.home-guide-steps > span {
  display: grid;
  min-width: 0;
  min-height: 92px;
  place-content: center;
  justify-items: center;
  padding: 12px 5px;
  border-right: 1px solid rgba(183,137,63,.22);
  text-align: center;
}

.home-guide-steps > span:last-child {
  border-right: 0;
}

.home-guide-steps b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(183,137,63,.62);
  border-radius: 50%;
  color: #761b29;
  background: #fff9ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.home-guide-steps em,
.home-guide-steps small {
  display: block;
  min-width: 0;
  font-style: normal;
}

.home-guide-steps em {
  margin-top: 8px;
  color: #4b1a22;
  font-size: 13px;
  font-weight: 800;
}

.home-guide-steps small {
  margin-top: 3px;
  color: #756e68;
  font-size: 9px;
  line-height: 1.35;
  white-space: nowrap;
}

.home-record-band {
  margin-top: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #742030, #971f35);
  box-shadow: 0 10px 24px rgba(116,32,48,.14);
}

.home-membership {
  position: relative;
  padding-top: 28px;
  background: #fff;
}

.home-membership::before {
  position: absolute;
  top: 0;
  right: 14px;
  left: 14px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(181,139,74,.55), transparent);
}

.home-membership-heading {
  margin-bottom: 0;
}

.home-membership-intro {
  margin: 8px 0 0;
  color: #554f4b;
  font-size: 13px;
  line-height: 1.5;
}

.home-membership-draft {
  width: fit-content;
  margin: 8px 0 16px;
  padding: 4px 7px;
  border-left: 2px solid var(--gold);
  color: #766a5e;
  background: #f7f5f1;
  font-size: 10px;
  line-height: 1.4;
}

.home-membership-plans {
  display: grid;
  gap: 11px;
}

.home-member-plan {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #ddd6cd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(73,49,39,.06);
}

.home-member-plan.is-featured {
  border-color: #ad7f37;
  background: linear-gradient(180deg, #fffdf9, #fff 44%);
  box-shadow: 0 10px 24px rgba(127,32,40,.11);
}

.home-plan-recommend {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 12px;
  border-radius: 0 0 0 4px;
  color: #fff;
  background: var(--pink);
  font-size: 10px;
  font-weight: 800;
}

.home-member-plan-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid #e5ded5;
}

.home-member-plan.is-featured .home-member-plan-head {
  padding-right: 48px;
}

.home-plan-icon,
.home-fee-icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--pink-dark);
  background: currentColor;
  -webkit-mask: var(--home-plan-icon) center / contain no-repeat;
  mask: var(--home-plan-icon) center / contain no-repeat;
}

.home-plan-icon-free { --home-plan-icon: url("assets/icons/service-ticket.svg"); }
.home-plan-icon-selected { --home-plan-icon: url("assets/icons/quick-crown.svg"); color: #a87932; }
.home-plan-icon-business { --home-plan-icon: url("assets/icons/service-warehouse.svg"); }

.home-member-plan h3,
.home-member-plan small,
.home-member-plan strong,
.home-member-plan em {
  display: block;
  min-width: 0;
  margin: 0;
  font-style: normal;
}

.home-member-plan h3 {
  color: #321d20;
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.home-member-plan-head div > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-member-plan-head > strong {
  color: var(--pink-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.home-member-plan-head > strong small,
.home-member-plan-head > strong em {
  display: inline;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.home-plan-alt-price {
  margin: 8px 0 -1px;
  color: #734550;
  font-size: 11px;
  text-align: right;
}

.home-member-plan-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 13px;
}

.home-member-plan-details span {
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid #e3ddd6;
}

.home-member-plan-details span:first-child {
  padding-left: 0;
}

.home-member-plan-details span:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-member-plan-details b,
.home-member-plan-details small {
  display: block;
}

.home-member-plan-details b {
  color: #3c2928;
  font-size: 14px;
}

.home-member-plan-details small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.home-plan-fee-note {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px solid #eee5da;
  color: #75685f;
  font-size: 10px;
  line-height: 1.45;
}

.home-plan-benefit {
  margin: 12px 0;
  color: #5e5650;
  font-size: 11px;
  line-height: 1.45;
}

.home-plan-button {
  width: 100%;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid var(--pink);
  border-radius: 4px;
  color: #fff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.home-plan-button.is-secondary {
  color: var(--pink-dark);
  background: #fff;
}

.home-plan-button.is-dark {
  border-color: #3b3532;
  background: #3b3532;
}

.home-fee-clarity {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 15px 0;
  border-top: 1px solid #dcd4ca;
  border-bottom: 1px solid #dcd4ca;
}

.home-fee-icon {
  --home-plan-icon: url("assets/icons/service-clipboard-list.svg");
  width: 30px;
  height: 30px;
}

.home-fee-clarity p,
.home-fee-clarity b,
.home-fee-clarity small {
  display: block;
  min-width: 0;
  margin: 0;
}

.home-fee-clarity b {
  color: #3c2928;
  font-size: 12px;
}

.home-fee-clarity small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.home-fee-clarity button {
  padding: 7px 0 7px 8px;
  border: 0;
  color: var(--pink);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .home-member-plan-head {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .home-member-plan-head > strong {
    grid-column: 2;
    margin-top: 3px;
    font-size: 22px;
    text-align: left;
  }

  .home-member-plan.is-featured .home-member-plan-head {
    padding-right: 40px;
  }

  .home-plan-alt-price {
    text-align: left;
  }

  .home-fee-clarity {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .home-fee-clarity button {
    grid-column: 2;
    justify-self: start;
    padding-left: 0;
  }
}

.page-body {
  padding: 14px;
}
.page-body.account-security-page { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.account-security-page a, .account-security-page button { scroll-margin-bottom: 88px; }

.search-box {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  border: 1px solid #c9c5be;
  border-radius: 4px;
  background: #fff;
}

.search-box span {
  text-align: center;
}

.search-box input {
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
}

.search-box button {
  min-width: 52px;
  height: 46px;
  padding: 0 8px;
  border: 0;
  color: #fff;
  background: var(--pink);
  font-weight: 800;
}

.filter-scroll {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--pink);
  color: var(--pink-dark);
  background: #f3eae8;
  font-size: 12px;
}

.filter-notice button {
  border: 0;
  color: var(--pink);
  background: transparent;
  font-weight: 700;
}

.filter-scroll button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #cbc6be;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}

.filter-scroll button.active {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
}

.venue-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: -14px -14px 14px;
  padding: 18px 16px;
  color: #fff;
  background: var(--ink-soft);
}

.venue-hero.red {
  border-bottom: 4px solid var(--red);
}

.venue-hero.blue {
  border-bottom: 4px solid var(--blue);
}

.venue-hero.pink {
  border-bottom: 4px solid var(--pink);
}

.venue-hero > b {
  font-family: Georgia, serif;
  font-size: 38px;
}

.venue-hero strong,
.venue-hero span {
  display: block;
}

.venue-hero span {
  margin-top: 3px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.venue-hero em {
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.35);
  font-size: 10px;
  font-style: normal;
}

.venue-hero-countdown {
  min-width: 88px;
  text-align: right;
}

.venue-hero-countdown small,
.venue-hero-countdown em {
  display: block;
}

.venue-hero-countdown small {
  margin-bottom: 4px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.venue-hero-countdown em {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.listing-list {
  display: grid;
  gap: 10px;
}

.listing-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 11px;
  min-height: 126px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.listing-card img {
  width: 104px;
  height: 110px;
  object-fit: contain;
  background: #f3f3f1;
}

.image-unavailable {
  position: relative;
  min-height: 72px;
  background: linear-gradient(135deg, #f8f7f4, #ece7df);
}

.image-unavailable img {
  display: none !important;
}

.image-unavailable::before {
  position: absolute;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 1px dashed #c9b8ad;
  color: #8a6d62;
  content: "图片待同步";
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
}

.listing-card > button:first-child {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

.catalog-card.auction-source img {
  object-fit: contain;
  transform: none;
}

.catalog-card.auction-source .source-photo-frame::after,
.detail-gallery.auction-source .source-photo-frame::after,
.detail-gallery.auction-source .gallery-thumbnails button::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 4px solid #f4f3f0;
  content: "";
  pointer-events: none;
}

.catalog-card.auction-source .source-photo-frame::after {
  border-top-width: 6px;
  border-bottom-width: 6px;
}

.detail-gallery.auction-source .gallery-main::after {
  border-width: 12px 5px 9px;
}

.detail-gallery.auction-source .gallery-thumbnails button::after {
  border-width: 4px;
}

.listing-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 3px 2px;
}

.listing-copy small,
.listing-copy span {
  color: var(--muted);
  font-size: 10px;
}

.listing-copy b {
  margin: 4px 0 6px;
  font-size: 13px;
}

.listing-copy strong {
  margin-top: 3px;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 17px;
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.listing-footer button {
  min-width: 58px;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--pink);
  font-weight: 800;
}

.venue-search {
  margin-bottom: 8px;
}

.venue-search-panel {
  margin-bottom: 10px;
}

.auction-filter-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 22px;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #c9c5be;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.auction-filter-toggle b {
  white-space: nowrap;
  font-size: 12px;
}

.auction-filter-toggle em {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--pink);
  font-size: 10px;
  font-style: normal;
}

.auction-filter-toggle > span {
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
}

.auction-filter-toggle > span span {
  min-width: 0;
  padding: 3px 6px;
  overflow: hidden;
  color: var(--muted);
  background: #f4f1ec;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-filter-toggle i {
  color: var(--pink-dark);
  font-size: 18px;
  font-style: normal;
  text-align: center;
  transition: transform .18s ease;
}

.auction-filter-toggle.open i {
  transform: rotate(180deg);
}

.auction-filter-panel {
  display: none;
  padding: 14px 11px 12px;
  border: 1px solid #c9c5be;
  border-top: 0;
  background: #fff;
}

.auction-filter-panel.open {
  display: block;
}

.auction-filter-group > b {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-size: 12px;
}

.auction-filter-group > b small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
}

.auction-filter-group {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.auction-filter-group > b {
  padding-top: 8px;
}

.auction-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.auction-filter-options button {
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #cbc6be;
  border-radius: 3px;
  color: #4d4a46;
  background: #fff;
  font-size: 11px;
}

.auction-filter-options button.active {
  border-color: var(--pink);
  color: #fff;
  background: var(--pink);
  font-weight: 800;
}

.brand-options {
  max-height: 142px;
  padding-right: 4px;
  overflow-y: auto;
  scrollbar-color: #b9b1a8 transparent;
  scrollbar-width: thin;
}

.rank-options button:not(:first-child) {
  min-width: 38px;
}

.auction-filter-actions {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 8px;
  padding-top: 13px;
}

.auction-filter-actions button {
  min-height: 42px;
  border: 1px solid var(--pink);
  border-radius: 4px;
  color: var(--pink);
  background: #fff;
  font-weight: 800;
}

.auction-filter-actions button:last-child {
  color: #fff;
  background: var(--pink);
}

.catalog-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-state {
  min-height: 180px;
  padding: 60px 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

.catalog-state.error {
  color: var(--pink-dark);
}

.catalog-unavailable {
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-unavailable b {
  color: var(--ink);
  font-size: 16px;
}

.catalog-unavailable span {
  max-width: 330px;
}

.catalog-preview-state {
  border-color: #c9a65a;
  box-shadow: inset 3px 0 0 #c9a65a;
}

.catalog-preview-state small {
  color: var(--muted);
  font-size: 11px;
}

.search-result-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-card {
  min-height: 164px;
}

.catalog-card img {
  height: 148px;
}

.catalog-card .listing-copy b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-card .listing-footer {
  gap: 8px;
}

.catalog-card .listing-footer span {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-card .listing-footer button {
  flex: 0 0 auto;
}

.load-more {
  margin: 14px 0 40px;
}

.empty-state {
  padding: 48px 24px;
  color: var(--muted);
  text-align: center;
}

.detail-gallery {
  position: relative;
  padding-bottom: 10px;
  background: #f3f1ed;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  background: #ececea;
}

.gallery-main > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.detail-gallery.auction-source .gallery-main {
  aspect-ratio: 4 / 3;
}

.detail-gallery.auction-source .gallery-main > img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 38px;
  height: 52px;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, .9);
  color: #65141e;
  font-family: Georgia, serif;
  font-size: 34px;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-arrow.previous { left: 0; }
.gallery-arrow.next { right: 0; }

.gallery-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(31, 29, 27, .72);
  color: #fff;
  font-size: 11px;
  z-index: 2;
}

.gallery-thumbnails {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 12px 0;
  scrollbar-width: none;
}

.gallery-thumbnails::-webkit-scrollbar { display: none; }

.gallery-thumbnails button {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid #d8d3ca;
  background: #fff;
}

.gallery-thumbnails button.active {
  border: 2px solid #8a1d2c;
}

.gallery-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery.auction-source .gallery-thumbnails img {
  transform: none;
}

.detail-favorite {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  font-size: 21px;
}

.detail-section {
  padding: 18px 16px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.detail-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 8px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.detail-trust span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  border-right: 1px solid var(--line);
  color: #a17329;
  font-weight: 800;
}

.detail-trust span:last-child { border-right: 0; }

.detail-trust b {
  color: #8d6929;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.detail-trust .service-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.detail-trust .service-icon::before {
  width: 21px;
  height: 21px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.condition-section h2,
.inspection-note h2,
.detail-section > h2 {
  margin: 0 0 15px;
  font-size: 17px;
}

.condition-summary {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
}

.condition-summary > strong {
  display: grid;
  min-height: 84px;
  place-items: center;
  border: 1px solid var(--pink);
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 48px;
}

.condition-summary p,
.condition-warning,
.inspection-note p {
  margin: 0;
  color: #55514d;
  font-size: 12px;
  line-height: 1.7;
}

.condition-warning {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}

.product-facts div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt,
.product-facts dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.product-facts dt { color: var(--muted); }
.product-facts dd { color: var(--ink); }

.detail-actionbar-wide {
  grid-template-columns: 42% 58%;
}

.detail-actionbar-wide button:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  border-right: 1px solid var(--line);
}

.detail-actionbar-wide button:first-child .service-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.detail-actionbar-wide button:first-child .service-icon::before {
  width: 22px;
  height: 22px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.detail-actionbar-wide small { font-size: 12px; }

.detail-actionbar-wide button:first-child small {
  min-width: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.lot-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.lot-line b {
  color: var(--pink);
}

.detail-section h1 {
  margin: 9px 0;
  font-size: 21px;
  line-height: 1.35;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  padding: 5px 7px;
  border: 1px solid #d8d3ca;
  color: #4f4e4b;
  font-size: 11px;
}

.price-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-top: 18px;
}

.price-panel span,
.price-panel small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.price-panel strong {
  display: block;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 30px;
}

.countdown {
  margin-top: 14px;
  padding: 10px;
  color: #fff;
  text-align: center;
  background: var(--ink);
  font-size: 12px;
}

.countdown b {
  margin-left: 6px;
  color: var(--gold-light);
  font-size: 18px;
}

.cost-list {
  display: grid;
  gap: 10px;
}

.cost-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.cost-list p:last-child {
  border-bottom: 0;
}

.cost-list strong {
  color: var(--pink-dark);
}

.detail-actionbar {
  position: sticky;
  z-index: 20;
  bottom: 64px;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 58px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.detail-actionbar button {
  border: 0;
  background: transparent;
  font-weight: 800;
}

.detail-actionbar .bid-button {
  margin: 6px;
  color: #fff;
  background: var(--pink);
}

.form-section {
  padding: 18px 16px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.form-section h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #c9c5be;
  border-radius: 4px;
  outline: none;
  background: #fff;
}

.field textarea {
  min-height: 86px;
  padding-block: 12px;
  resize: vertical;
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(210,10,97,.1);
}

.estimate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 2px solid var(--ink);
}

.estimate-total strong {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 25px;
}

.full-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--pink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.full-button:disabled {
  color: #eee9e2;
  background: #aaa49c;
  cursor: not-allowed;
}

.bid-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bid-heading span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--gold);
  color: var(--pink-dark);
  background: #fffaf1;
  font-size: 10px;
  font-weight: 800;
}

.sync-banner {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 11px 12px;
  border-left: 3px solid var(--gold);
  background: #f7f4ef;
}

.sync-banner b {
  color: var(--ink);
  font-size: 12px;
}

.sync-banner span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.sync-banner.test {
  border-left-color: #b07a21;
  background: #fff7e8;
}

.sync-banner.live {
  border-left-color: #247149;
  background: #edf8f1;
}

.sync-banner.error {
  border-left-color: #a32d35;
  background: #fff0f0;
}

.bid-rule {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.bid-product-summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.bid-product-summary img {
  width: 118px;
  height: 100px;
  object-fit: contain;
  background: #f3f1ed;
}

.bid-product-summary div,
.bid-product-summary small,
.bid-product-summary b,
.bid-product-summary span,
.bid-product-summary em {
  display: block;
  min-width: 0;
}

.bid-product-summary small { color: var(--pink); font-size: 11px; }
.bid-product-summary b { margin-top: 5px; font-size: 15px; line-height: 1.4; }
.bid-product-summary span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.bid-product-summary em { margin-top: 8px; color: var(--pink); font-size: 11px; font-style: normal; font-weight: 800; }

.bid-amount-control {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 46px;
  min-height: 80px;
  margin: 14px 0 11px;
  border: 1px solid #c9c5be;
  background: #fff;
}

.bid-amount-control > span {
  display: grid;
  place-items: center;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-family: Georgia, serif;
}

.bid-amount-control input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--pink-dark);
  background: #fff;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 800;
  text-align: center;
}

.bid-amount-control > div {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid var(--line);
}

.bid-amount-control button {
  border: 0;
  color: var(--pink-dark);
  background: #fff;
  font-size: 22px;
}

.bid-amount-control button + button { border-top: 1px solid var(--line); }

.sealed-bid-note {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  margin: 16px 0 22px;
  padding: 12px;
  border: 1px solid #ead9b9;
  background: #fff9ef;
}

.sealed-bid-note b { color: #9a6f20; font-size: 12px; }
.sealed-bid-note span { color: #5d5852; font-size: 11px; line-height: 1.55; }
.cost-heading { margin: 0 0 13px; font-size: 17px; }
.bid-total { margin: 7px 0 14px; padding: 13px 12px; border: 0; color: #fff; background: var(--pink-dark); }
.bid-total span small { display: block; margin-top: 4px; color: #ead8d9; font-size: 9px; }
.bid-total strong { color: #fff; font-size: 22px; }

.record-intro {
  padding: 18px;
  margin-bottom: 14px;
  border-left: 4px solid var(--pink);
  background: #fff;
}

.record-intro small { color: #a4762c; font-family: Georgia, serif; }
.record-intro h1 { margin: 7px 0; font-size: 21px; }
.record-intro p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.bid-record-list { display: grid; gap: 10px; }
.customer-order { margin: 12px 0; border-bottom: 1px solid var(--line); }
.customer-order .bid-record > div { min-width: 0; overflow-wrap: anywhere; }
.customer-order details { padding: 10px 6px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.customer-order summary { color: var(--pink-dark); cursor: pointer; }
.customer-order ol { margin: 12px 0; padding-left: 20px; }
.customer-order li { margin: 8px 0; }
.customer-order time { display: block; color: var(--muted); font-size: 11px; }
.orders-toolbar { display: flex; gap: 12px; align-items: end; margin-bottom: 16px; }
.orders-toolbar label { flex: 1; display: grid; gap: 8px; font-size: 12px; }
.orders-toolbar select { width: 100%; height: 40px; border: 1px solid var(--line); background: white; }
.orders-toolbar button { width: 40px; height: 40px; border: 1px solid var(--line); background: white; }
.orders-toolbar img { width: 18px; height: 18px; }
.account-security { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.account-security button { border: 0; background: transparent; color: var(--pink-dark); font: inherit; cursor: pointer; }

.bid-record {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.bid-record img { width: 108px; height: 118px; object-fit: contain; background: #f3f1ed; }
.bid-record small, .bid-record b, .bid-record span, .bid-record strong { display: block; }
.bid-record small { color: var(--pink); font-size: 10px; }
.bid-record b { margin-top: 5px; font-size: 13px; line-height: 1.4; }
.bid-record span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.bid-record strong { margin-top: 9px; color: var(--pink-dark); font-family: Georgia, serif; font-size: 14px; }
.bid-record p { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.bid-record em { color: #2f6b48; font-size: 9px; font-style: normal; font-weight: 800; }
.bid-record time { color: var(--muted); font-size: 8px; text-align: right; }

.own-record-empty,
.warehouse-empty {
  padding: 54px 28px;
  text-align: center;
  background: #fff;
}

.own-record-empty > span,
.warehouse-empty > span {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  place-items: center;
  border: 1px solid #b7893f;
  color: #9b7029;
  font-family: Georgia, serif;
  font-size: 24px;
}

.own-record-empty h2,
.warehouse-empty h1 { margin: 0 0 8px; font-size: 19px; }
.own-record-empty p,
.warehouse-empty p { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.7; }

.warehouse-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 8px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.warehouse-stats span { border-right: 1px solid var(--line); color: var(--muted); font-size: 10px; text-align: center; }
.warehouse-stats span:last-child { border-right: 0; }
.warehouse-stats b { display: block; margin-top: 6px; color: var(--ink); font-family: Georgia, serif; font-size: 19px; }

.warehouse-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  padding: 20px 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.warehouse-flow span { display: grid; gap: 5px; justify-items: center; color: #9b9893; font-size: 8px; white-space: nowrap; }
.warehouse-flow span b { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #c8c4bd; border-radius: 50%; font-size: 10px; }
.warehouse-flow span.done { color: #9b7029; }
.warehouse-flow span.done b { border-color: #b7893f; }
.warehouse-flow i { height: 1px; margin-top: 15px; background: #d4d0c9; }

.warehouse-disabled { margin-top: 8px; padding: 18px 16px 30px; background: #fff; }
.warehouse-disabled h2 { margin: 0 0 8px; font-size: 17px; }
.warehouse-disabled p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.warehouse-disabled button { width: 100%; min-height: 44px; border: 1px solid var(--line); color: #aaa49c; background: #f2f0ec; }

.notice {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.social-login {
  position: relative;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.social-login > span {
  position: absolute;
  top: -9px;
  left: 50%;
  padding: 0 10px;
  transform: translateX(-50%);
  color: var(--muted);
  background: #fff;
  font-size: 11px;
}

.google-login,
.wechat-login {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid #218c45;
  border-radius: 4px;
  color: #176c35;
  background: #fff;
}

.google-login {
  border-color: #c9c5c0;
  color: #312e2b;
}

.wechat-login {
  margin-top: 10px;
}

.google-login::after,
.wechat-login::after {
  content: "›";
  font-size: 20px;
}

.google-login i,
.wechat-login i,
.wallet-methods i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #218c45;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.google-login i {
  border: 1px solid #dedad5;
  color: #4285f4;
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.google-login:disabled,
.wechat-login:disabled {
  border-color: var(--line);
  color: #918b85;
  background: #f5f3f0;
  cursor: not-allowed;
}

.google-login:disabled::after,
.wechat-login:disabled::after {
  content: "";
}

.google-login:disabled i {
  color: #918b85;
  background: #fff;
}

.wechat-login:disabled i {
  background: #918b85;
}

.social-login p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.history-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.history-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
}

.history-tabs button.active {
  border-bottom-color: var(--pink);
  color: var(--pink);
  font-weight: 800;
}

.profile {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 22px 16px;
  color: #fff;
  background: var(--pink-dark);
}

.avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 24px;
}

.profile b,
.profile span {
  display: block;
}

.profile .avatar {
  display: grid;
  place-items: center;
}

.profile span {
  margin-top: 5px;
  color: var(--gold-light);
  font-size: 11px;
}

.profile button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  color: var(--gold-light);
  background: transparent;
  font-size: 11px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 8px;
  border-bottom: 8px solid #ece9e3;
  background: #fff;
}

.account-stats span {
  padding: 0 6px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.account-stats span:last-child {
  border-right: 0;
}

.account-stats b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 19px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-grid button {
  min-height: 78px;
  padding: 8px 4px;
  border: 0;
  background: #fff;
}

.service-grid span,
.service-grid b {
  display: block;
}

.service-grid span {
  margin-bottom: 6px;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 18px;
}

.service-grid b {
  overflow-wrap: anywhere;
  font-size: 10px;
}

.account-page {
  color: #252223;
  background: #fff;
}

.account-profile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 150px;
  padding: 24px 18px;
  border-bottom: 1px solid #eee7e4;
  background: #fbf6f5;
}

.account-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid #b58a49;
  border-radius: 50%;
  color: #a77b3d;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.account-profile h2,
.account-profile p {
  margin: 0;
}

.account-profile h2 {
  overflow: hidden;
  color: #272223;
  font-family: Georgia, "Songti SC", serif;
  font-size: 21px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile p {
  margin-top: 7px;
  color: #716b68;
  font-size: 11px;
  line-height: 1.55;
}

.account-profile > button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #811b2a;
  border-radius: 4px;
  color: #fff;
  background: #811b2a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.account-stats {
  margin: 12px 16px 0;
  padding: 15px 0;
  border: 1px solid #eee5e1;
  border-radius: 4px;
  background: #fff;
}

.account-stats span {
  padding: 0 8px;
  border-right-color: #e2d2cb;
  color: #6d6764;
  font-size: 10px;
}

.account-stats b {
  margin-bottom: 5px;
  color: #7a1724;
  font-size: 25px;
  font-weight: 500;
}

.account-services,
.account-following {
  padding: 24px 16px 20px;
  background: #fff;
}

.account-services {
  border-bottom: 1px solid #eee8e4;
}

.account-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.account-section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 11px;
  color: #2a2525;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0;
}

.account-section-heading h2::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  content: "";
  background: #811b2a;
}

.account-section-heading > button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  color: #811b2a;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.service-heading-icon {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  background: currentColor;
  -webkit-mask: url("assets/icons/service-headphones.svg") center / contain no-repeat;
  mask: url("assets/icons/service-headphones.svg") center / contain no-repeat;
}

.account-page .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 0;
  background: #fff;
}

.account-page .service-grid button {
  display: grid;
  min-width: 0;
  min-height: 100px;
  place-content: center;
  justify-items: center;
  padding: 12px 3px;
  border: 0;
  border-right: 1px solid #ece3df;
  border-bottom: 1px solid #ece3df;
  color: #7a1724;
  background: #fff;
}

.account-page .service-grid button:nth-child(4n) { border-right: 0; }
.account-page .service-grid button:nth-last-child(-n + 4) { border-bottom: 0; }
.account-page .service-grid .service-tone-1 { color: #ad7c32; }
.account-page .service-grid .service-tone-2 { color: #312e2d; }

.account-page .service-grid .service-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  margin: 0 0 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.account-page .service-grid .service-icon::before {
  width: 22px;
  height: 22px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.service-icon-gavel { --service-icon: url("assets/icons/service-gavel.svg"); }
.service-icon-shield { --service-icon: url("assets/icons/service-shield-check.svg"); }
.service-icon-file-check { --service-icon: url("assets/icons/service-file-check-2.svg"); }
.service-icon-card { --service-icon: url("assets/icons/service-credit-card.svg"); }
.service-icon-warehouse { --service-icon: url("assets/icons/service-warehouse.svg"); }
.service-icon-package { --service-icon: url("assets/icons/service-package.svg"); }
.service-icon-package-check { --service-icon: url("assets/icons/service-package-check.svg"); }
.service-icon-heart { --service-icon: url("assets/icons/service-heart.svg"); }
.service-icon-orders { --service-icon: url("assets/icons/service-clipboard-list.svg"); }
.service-icon-calculator { --service-icon: url("assets/icons/service-calculator.svg"); }
.service-icon-ticket { --service-icon: url("assets/icons/service-ticket.svg"); }
.service-icon-pin { --service-icon: url("assets/icons/service-map-pin.svg"); }
.service-icon-support { --service-icon: url("assets/icons/service-headphones.svg"); }
.service-icon-abacus { --service-icon: url("assets/icons/ornate-abacus.svg"); }
.service-icon-bag { --service-icon: url("assets/icons/ornate-bag.svg"); }
.service-icon-bell { --service-icon: url("assets/icons/ornate-bell.svg"); }
.service-icon-fan { --service-icon: url("assets/icons/ornate-fan.svg"); }
.service-icon-flower { --service-icon: url("assets/icons/ornate-flower.svg"); }
.service-icon-knot { --service-icon: url("assets/icons/ornate-knot.svg"); }
.service-icon-scroll { --service-icon: url("assets/icons/ornate-scroll.svg"); }
.service-icon-torii { --service-icon: url("assets/icons/ornate-torii.svg"); }
.service-icon-truck { --service-icon: url("assets/icons/service-truck.svg"); }
.service-icon-yen-pouch { --service-icon: url("assets/icons/ornate-yen-pouch.svg"); }

.account-page .service-grid b {
  width: 100%;
  color: #312d2c;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 10px;
  border-bottom: 7px solid #f3f0ed;
  color: #6b5432;
  background: #fbf7f4;
}

.account-assurance span {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-right: 1px solid #dccbb9;
  font-size: 9px;
  white-space: nowrap;
}

.account-assurance span:last-child { border-right: 0; }

.account-assurance b {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #a67836;
  font-family: Georgia, serif;
  font-size: 11px;
}

.account-following {
  padding-bottom: 96px;
}

.account-section-heading > button > span {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.account-favorite-list {
  display: grid;
  border: 1px solid #e9e3df;
  border-radius: 4px;
  overflow: hidden;
}

.account-favorite-row {
  position: relative;
  min-height: 124px;
  border-bottom: 1px solid #e9e3df;
  background: #fff;
}

.account-favorite-row:last-child { border-bottom: 0; }

.account-favorite-main {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 124px;
  padding: 0 46px 0 0;
  border: 0;
  color: #252223;
  text-align: left;
  background: #fff;
}

.account-favorite-main img {
  width: 126px;
  height: 122px;
  object-fit: contain;
  background: #faf5f4;
}

.account-favorite-main span,
.account-favorite-main b,
.account-favorite-main small,
.account-favorite-main strong {
  display: block;
  min-width: 0;
}

.account-favorite-main b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.account-favorite-main small {
  margin-top: 6px;
  overflow: hidden;
  color: #77716e;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-favorite-main strong {
  margin-top: 9px;
  color: #7a1724;
  font-family: Georgia, serif;
  font-size: 12px;
}

.account-favorite-heart {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 32px;
  height: 40px;
  border: 0;
  color: #811b2a;
  background: transparent;
  font-size: 23px;
  transform: translateY(-50%);
}

.account-favorite-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid #e9e3df;
  border-radius: 4px;
  background: #fff;
}

.account-favorite-empty > span {
  color: #a77b3d;
  font-size: 29px;
  text-align: center;
}

.account-favorite-empty p,
.account-favorite-empty b,
.account-favorite-empty small {
  display: block;
  margin: 0;
}

.account-favorite-empty b { color: #312d2c; font-size: 12px; }
.account-favorite-empty small { margin-top: 4px; color: #817a76; font-size: 9px; line-height: 1.45; }

.account-favorite-empty button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #811b2a;
  border-radius: 4px;
  color: #811b2a;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.payment-page {
  background: #f3f0eb;
}

.payment-intro {
  padding: 28px 18px 24px;
  color: #fff;
  background: var(--pink-dark);
}

.payment-intro small {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
}

.payment-intro h1 {
  margin: 8px 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  letter-spacing: 0;
}

.payment-intro p {
  margin: 0;
  color: #eadfd7;
  font-size: 12px;
  line-height: 1.7;
}

.payment-mode,
.payment-result,
.payment-error {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  margin: 14px 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.payment-mode > span {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #8c857e;
}

.payment-mode.test > span {
  background: #b07a21;
}

.payment-mode.live > span,
.payment-result.success::before {
  background: #247149;
}

.payment-mode b,
.payment-result b,
.payment-error b {
  font-size: 13px;
}

.payment-mode p,
.payment-result p,
.payment-error p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.payment-result,
.payment-error {
  position: relative;
  display: block;
  padding-left: 18px;
}

.payment-result::before,
.payment-error::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: #b07a21;
}

.payment-error::before {
  background: #a32d35;
}

.payment-result small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  overflow-wrap: anywhere;
}

.payment-order,
.payment-upcoming {
  margin-top: 14px;
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.payment-order-heading {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.payment-order-heading small {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 700;
}

.payment-order-heading h2,
.payment-upcoming h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
}

.payment-order-heading strong {
  flex: 0 0 auto;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 22px;
}

.payment-lines {
  border-top: 1px solid var(--line);
}

.payment-lines p {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.payment-lines span {
  color: var(--muted);
}

.payment-lines b {
  text-align: right;
  overflow-wrap: anywhere;
}

.wallet-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.wallet-methods > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 62px;
  padding: 9px;
  border: 1px solid var(--line);
  background: #faf9f7;
}

.wallet-methods p {
  min-width: 0;
  margin: 0;
}

.wallet-methods b,
.wallet-methods span {
  display: block;
}

.wallet-methods b {
  font-size: 11px;
}

.wallet-methods span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.wallet-methods .alipay-wallet {
  border-radius: 6px;
  background: #1677ff;
}

.wallet-methods .wise-wallet {
  border-radius: 7px;
  background: #163300;
}

@media (max-width: 390px) {
  .wallet-methods {
    grid-template-columns: 1fr;
  }
}

.payment-ack {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 16px 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.55;
}

.payment-ack input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pink);
}

.payment-upcoming h2 {
  margin-bottom: 10px;
}

.payment-upcoming > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.payment-upcoming b,
.payment-upcoming span {
  display: block;
}

.payment-upcoming b {
  font-size: 12px;
}

.payment-upcoming span,
.payment-upcoming em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.payment-upcoming em {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.flow-list {
  position: relative;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  min-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.flow-step::before {
  position: absolute;
  top: 50px;
  bottom: -22px;
  left: 18px;
  width: 1px;
  content: "";
  background: #c8c2b9;
}

.flow-step:last-child::before {
  display: none;
}

.flow-step > b {
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pink-dark);
  font-family: Georgia, serif;
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 11px;
}

.tier-table th,
.tier-table td {
  padding: 11px 7px;
  border: 1px solid var(--line);
  text-align: center;
}

.tier-table thead th {
  color: #fff;
  background: var(--pink-dark);
}

.tier-table tbody th {
  text-align: left;
  background: #f2f0eb;
}

.guide-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.guide-list button {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 0 14px;
  border: 0;
  text-align: left;
  background: #fff;
}

.guide-list b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--pink);
  background: #f5eee7;
}

.guide-list .support-topic-icon {
  border-radius: 50%;
}

.guide-list .support-topic-icon::before {
  width: 17px;
  height: 17px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.guide-list span {
  font-size: 13px;
  font-weight: 800;
}

.auth-page {
  background: var(--paper);
}

.auth-visual {
  display: flex;
  min-height: 190px;
  align-items: flex-end;
  padding: 22px 18px;
  color: var(--pink-dark);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.18) 76%),
    #eee6dc url("assets/login-auction-hero-v2.png") center 52% / cover no-repeat;
}

.auth-visual div {
  padding: 9px 11px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(111,20,30,.12);
  box-shadow: 0 12px 28px rgba(61,42,36,.14);
}

.auth-visual b,
.auth-visual span {
  display: block;
}

.auth-visual b {
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
}

.auth-visual span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.auth-panel {
  margin: -1px 14px 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.auth-tabs button {
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.auth-tabs button.active {
  border-bottom-color: var(--pink);
  color: var(--pink);
}

.auth-form {
  padding: 18px;
}

.auth-interest {
  display: grid;
  gap: 12px;
}

.auth-interest > .service-icon {
  width: 42px;
  height: 42px;
  color: var(--gold-dark);
}

.auth-interest h2,
.auth-interest p,
.auth-interest small {
  margin: 0;
}

.auth-interest h2 {
  color: var(--pink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.auth-interest p,
.auth-interest small {
  color: #6c625a;
  font-size: 11px;
  line-height: 1.65;
}

.interest-email-fallback {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.interest-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.interest-contact-links > a,
.interest-contact-links > p {
  min-width: 0;
  margin: 0;
  padding: 10px 8px;
  border: 1px solid #e2d4ce;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
}

.interest-contact-links span,
.interest-contact-links b,
.interest-contact-links small {
  display: block;
}

.interest-contact-links span {
  color: #786a65;
  font-size: 10px;
  font-weight: 500;
}

.interest-contact-links b {
  margin: 2px 0;
  color: #671923;
  font-size: 12px;
}

.interest-contact-links small {
  color: #433936;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.auth-safe-note {
  margin: -4px 0 14px;
  color: #7b6f66;
  font-size: 12px;
  line-height: 1.55;
}

.auth-unavailable {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.auth-unavailable .service-icon {
  width: 46px;
  height: 46px;
}

.auth-unavailable h2,
.auth-unavailable p,
.auth-unavailable small {
  margin: 0;
}

.auth-unavailable h2 {
  color: var(--pink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.auth-unavailable p {
  color: #5f554d;
  font-size: 13px;
  line-height: 1.7;
}

.auth-unavailable small {
  color: #7b6f66;
  font-size: 11px;
  line-height: 1.55;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
  align-items: end;
}

.outline-button {
  min-height: 48px;
  margin-bottom: 14px;
  border: 1px solid var(--pink);
  color: var(--pink);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.passkey-login-button {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
}

.passkey-panel p {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.forgot {
  display: block;
  margin: -5px 0 14px auto;
  border: 0;
  color: var(--pink);
  background: transparent;
  font-size: 12px;
}

.agreement {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.agreement input {
  margin-top: 2px;
  accent-color: var(--pink);
}

.concierge {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
}

.concierge p {
  margin: 0;
}

.concierge b,
.concierge small {
  display: block;
}

.concierge small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.concierge button {
  min-height: 36px;
  border: 1px solid var(--gold);
  color: var(--pink);
  background: #fff;
}

.member-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.member-card {
  min-width: 0;
  min-height: 126px;
  padding: 13px 7px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.member-card b,
.member-card strong,
.member-card span {
  display: block;
}

.member-card strong {
  margin: 10px 0;
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 19px;
}

.member-card span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.member-card.selected {
  border-color: var(--gold);
  color: #fff;
  background: var(--pink-dark);
  box-shadow: inset 0 0 0 2px #d7b778;
}

.member-card.selected strong,
.member-card.selected span {
  color: #fff;
}

.selection-panel {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid var(--line);
  background: #fff;
}

.selection-panel b {
  color: var(--pink);
}

.contact-band {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 18px;
  color: #fff;
  background: var(--pink-dark);
}

.contact-band span {
  color: #eadfd7;
  font-size: 11px;
  line-height: 1.55;
}

.contact-band button {
  min-height: 42px;
  margin-top: 5px;
  border: 1px solid var(--gold-light);
  color: var(--pink-dark);
  background: var(--gold-light);
  font-weight: 700;
}

.dialog-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(35, 23, 22, .52);
}

.dialog {
  position: relative;
  width: min(100%, 380px);
  padding: 24px;
  border: 1px solid var(--gold-light);
  background: #fff;
  box-shadow: 0 22px 60px rgba(43, 25, 23, .24);
}

.dialog small {
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
}

.dialog h2 {
  margin: 8px 32px 10px 0;
  color: var(--pink-dark);
  font-family: Georgia, "Songti SC", serif;
  font-size: 21px;
}

.dialog p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 24px;
}

.bid-confirm-dialog {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

.bid-review {
  display: grid;
  margin: 16px 0;
  border-top: 1px solid var(--line);
}

.dialog .bid-review p {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.bid-review span {
  color: var(--muted);
}

.bid-review b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  text-align: right;
}

.dialog .bid-review .amount {
  align-items: baseline;
}

.bid-review strong {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 20px;
  text-align: right;
}

.dialog .bid-warning {
  margin-bottom: 14px;
  padding: 10px 12px;
  color: var(--pink-dark);
  background: #fff4f2;
  font-weight: 700;
  line-height: 1.55;
}

.final-confirmation {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.final-confirmation input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--pink);
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid #dad6cf;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}

.bottom-nav button {
  border: 0;
  color: #777570;
  background: transparent;
}

.bottom-nav span,
.bottom-nav b {
  display: block;
}

.bottom-nav span {
  display: block;
  height: 24px;
}

.bottom-nav-icon {
  width: 24px;
  margin: 8px auto 2px;
  color: currentColor;
}

.bottom-nav-icon::before {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  content: "";
  -webkit-mask: var(--bottom-nav-icon) center / contain no-repeat;
  mask: var(--bottom-nav-icon) center / contain no-repeat;
}

.bottom-nav-icon-home { --bottom-nav-icon: url("assets/icons/service-warehouse.svg"); }
.bottom-nav-icon-torii { --bottom-nav-icon: url("assets/icons/ornate-torii.svg"); }
.bottom-nav-icon-orders { --bottom-nav-icon: url("assets/icons/service-clipboard-list.svg"); }
.bottom-nav-icon-bag { --bottom-nav-icon: url("assets/icons/ornate-bag.svg"); }

.bottom-nav b {
  min-height: 22px;
  padding: 0 3px 3px;
  font-size: 9px;
  hyphens: auto;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.bottom-nav button.active {
  color: var(--pink);
}

.toast {
  position: fixed;
  z-index: 100;
  right: 50%;
  bottom: 84px;
  width: min(calc(100% - 36px), 390px);
  padding: 12px 14px;
  transform: translateX(50%) translateY(22px);
  border-radius: 4px;
  color: #fff;
  background: rgba(9,11,13,.94);
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

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

.membership-mobile-tiers {
  display: none;
}

@media (max-width: 600px) {
  body {
    background: var(--paper);
  }

  .app-shell {
    width: 100%;
    box-shadow: none;
  }

  .membership-ornate-page .tier-scroll {
    display: none;
  }

  .membership-mobile-tiers {
    display: grid;
    gap: 10px;
    padding: 0 12px;
  }

  .membership-mobile-tiers article {
    overflow: hidden;
    border: 1px solid rgba(98,65,33,.2);
    border-radius: 12px;
    background: linear-gradient(180deg, #fffaf0, #f7e6cc);
  }

  .membership-mobile-tiers article.vip {
    color: #f7dea5;
    background: linear-gradient(180deg, #18222d, #060b12);
  }

  .membership-mobile-tiers h3 {
    margin: 0;
    padding: 12px 14px;
    color: inherit;
    font-family: Georgia, "Songti SC", serif;
    font-size: 17px;
  }

  .membership-mobile-tiers p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 9px 14px;
    border-top: 1px solid rgba(98,65,33,.13);
    font-size: 13px;
  }

  .membership-mobile-tiers span {
    color: #74583a;
  }

  .membership-mobile-tiers .vip span {
    color: #e6c98f;
  }

  .membership-mobile-tiers b {
    text-align: right;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 15px;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button {
    width: 36px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .quick-actions b,
  .service-grid b {
    font-size: 9px;
  }

  .account-profile {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .account-avatar {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }

  .account-profile h2 { font-size: 18px; }
  .account-profile > button { padding: 0 9px; }
  .account-page .service-grid button { min-height: 94px; }
  .account-page .service-grid .service-icon { width: 35px; height: 35px; }
  .account-assurance span { font-size: 8px; }

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

  .outline-button {
    margin-top: -7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.snapshot-notice { color: #66252c; background: #faf8f8; border-left: 2px solid #8b303a; padding: 10px 12px; margin: 12px 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }

.ornate-page {
  min-height: calc(100vh - 64px);
  padding-bottom: 92px;
  color: #17120d;
  background:
    radial-gradient(circle at 18% 5%, rgba(212,161,154,.2), transparent 22%),
    linear-gradient(180deg, #060b12 0, #101823 245px, #f6eee4 246px, #f8f2e9 100%);
}

.ornate-hero {
  position: relative;
  min-height: 250px;
  padding: 38px 18px 26px;
  overflow: hidden;
  color: var(--jba-cream);
  background:
    linear-gradient(90deg, rgba(3,8,14,.96) 0%, rgba(5,10,17,.84) 42%, rgba(5,10,17,.3) 100%),
    url("assets/login-auction-hero-v2.png") center / cover no-repeat;
}

.ornate-hero::before,
.ornate-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.ornate-hero::before {
  inset: 12px;
  border: 1px solid rgba(239,217,166,.48);
  border-radius: 14px;
}

.ornate-hero::after {
  right: 18px;
  bottom: 18px;
  width: 118px;
  height: 56px;
  opacity: .84;
  background:
    radial-gradient(circle at 12px 24px, var(--jba-sakura) 0 4px, transparent 5px),
    radial-gradient(circle at 28px 17px, #efd1c4 0 5px, transparent 6px),
    radial-gradient(circle at 44px 27px, #bd7773 0 4px, transparent 5px),
    radial-gradient(circle at 64px 18px, #e8b6ab 0 5px, transparent 6px);
}

.ornate-hero.small,
.ornate-hero.compact {
  min-height: 205px;
}

.ornate-hero small,
.ornate-hero h1,
.ornate-hero p,
.ornate-hero div {
  position: relative;
  z-index: 1;
}

.ornate-hero small {
  display: block;
  color: var(--jba-gold-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.ornate-hero h1 {
  margin: 22px 0 12px;
  color: #ffe7ba;
  font-family: Georgia, "Songti SC", serif;
  font-size: 36px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.ornate-hero p {
  max-width: 250px;
  margin: 0;
  color: #f6e9d5;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.ornate-badges,
.flow-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ornate-badges span,
.flow-switch span {
  padding: 8px 12px;
  border: 1px solid rgba(239,217,166,.54);
  border-radius: 999px;
  color: #ffe9bf;
  background: rgba(5,10,17,.5);
  font-size: 11px;
}

.flow-switch span:first-child {
  color: #fff;
  background: #8a1f2c;
}

.ornate-panel {
  position: relative;
  margin: -20px 14px 18px;
  padding: 18px 16px;
  border: 1px solid rgba(201,162,96,.55);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(251,241,223,.96)),
    radial-gradient(circle at 0 0, rgba(201,162,96,.16), transparent 32%);
  box-shadow: 0 18px 36px rgba(17, 12, 8, .13);
}

.ornate-panel::before {
  position: absolute;
  top: 9px;
  right: 13px;
  color: #a67635;
  content: "JBA";
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0;
  opacity: .55;
}

.membership-ornate-page .member-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-ornate-page {
  color: #1f1710;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201,162,96,.13) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 86% 7%, rgba(216,161,154,.16), transparent 16%),
    repeating-radial-gradient(ellipse at 20% 100%, rgba(201,162,96,.18) 0 1px, transparent 1px 12px),
    #060b12;
}

.membership-topbar {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 1.2fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 15px 14px;
  color: #f7dfaa;
  background: #050910;
}

.membership-topbar b {
  overflow: hidden;
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.membership-topbar label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(239,217,166,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.membership-topbar label span {
  color: #f4d79d;
  font-size: 19px;
}

.membership-topbar input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #f7dfaa;
  background: transparent;
  font-size: 12px;
}

.membership-topbar input::placeholder {
  color: rgba(247,223,170,.72);
}

.membership-topbar button {
  width: 42px;
  height: 42px;
  border: 0;
  color: #f4d79d;
  background: transparent;
  font-size: 25px;
}

.membership-hero {
  min-height: 315px;
  padding-top: 52px;
  background:
    linear-gradient(90deg, rgba(3,8,14,.98) 0%, rgba(5,10,17,.88) 43%, rgba(5,10,17,.2) 100%),
    url("assets/login-auction-hero-v2.png") center 38% / cover no-repeat;
}

.membership-hero h1 {
  margin-top: 26px;
  font-size: 42px;
}

.membership-hero p {
  max-width: 270px;
  font-size: 16px;
}

.membership-hero .ornate-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 315px;
  margin-top: 26px;
  border: 1px solid rgba(239,217,166,.26);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5,10,17,.6);
}

.membership-hero .ornate-badges span {
  padding: 12px 8px;
  border: 0;
  border-right: 1px solid rgba(239,217,166,.22);
  border-radius: 0;
  background: transparent;
  text-align: center;
  line-height: 1.45;
}

.membership-hero .ornate-badges span:last-child {
  border-right: 0;
}

.membership-board {
  margin: -18px 10px 18px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff0dc;
}

.membership-board::before {
  display: none;
}

.membership-board-title {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  padding: 18px 16px 12px;
  color: #4d1b12;
}

.membership-board-title span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #7b1b29;
}

.membership-board-title h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
}

.tier-scroll {
  overflow-x: auto;
  padding: 0 10px;
}

.membership-tier-table {
  min-width: 660px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(98,65,33,.22);
  border-radius: 10px;
  color: #281d14;
  background: #fff6e6;
  box-shadow: none;
}

.membership-tier-table th,
.membership-tier-table td {
  height: 45px;
  border: 0;
  border-right: 1px solid rgba(98,65,33,.18);
  border-bottom: 1px solid rgba(98,65,33,.16);
  font-size: 13px;
}

.membership-tier-table tr:last-child th,
.membership-tier-table tr:last-child td {
  border-bottom: 0;
}

.membership-tier-table th:last-child,
.membership-tier-table td:last-child {
  border-right: 0;
}

.membership-tier-table thead th {
  color: #4a2814;
  background: linear-gradient(180deg, #fff4df, #eed9b9);
  font-family: Georgia, "Songti SC", serif;
  font-size: 14px;
}

.membership-tier-table thead th span {
  display: block;
  margin-bottom: 4px;
  color: #a36f2c;
  font-size: 20px;
}

.membership-tier-table tbody th {
  color: #60431c;
  background: #f5e3c9;
  text-align: left;
}

.membership-tier-table .vip-col {
  color: #f5dda7;
  background: linear-gradient(180deg, #111820, #060a10);
}

.membership-tier-table tbody th::before {
  display: inline-block;
  width: 18px;
  margin-right: 5px;
  color: #8b672e;
  content: "✦";
  text-align: center;
}

.membership-tier-table thead .vip-col {
  color: #f7dea5;
  background: linear-gradient(180deg, #19222c, #060a10);
}

.membership-note {
  margin: 12px 16px 0;
  color: #6d5a45;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.membership-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
}

.gold-button {
  border: 1px solid #a67733;
  color: #4a1d12;
  background: linear-gradient(180deg, #f7d998, #b87a31);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52), 0 8px 18px rgba(75,47,19,.22);
}

.gold-button:disabled {
  color: #5a321b;
  background: linear-gradient(180deg, #f7d998, #b87a31);
  opacity: .9;
}

.dark-button {
  border: 1px solid #d1a760;
  color: #f8e0ad;
  background: #081018;
}

.venue-feature-section {
  margin: 0 12px 18px;
  color: #f4ddad;
}

.venue-feature-section h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
  text-align: center;
}

.venue-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.venue-feature-cards button {
  min-height: 116px;
  padding: 18px 14px;
  border: 1px solid rgba(239,217,166,.58);
  border-radius: 12px;
  color: #3a2114;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(255,244,221,.96), rgba(255,244,221,.72)),
    url("assets/login-auction-hero-v2.png") center / cover no-repeat;
}

.venue-feature-cards button + button {
  color: #f3d89e;
  background:
    linear-gradient(90deg, rgba(7,15,22,.96), rgba(7,15,22,.62)),
    url("assets/login-auction-hero-v2.png") center / cover no-repeat;
}

.venue-feature-cards b,
.venue-feature-cards span {
  display: block;
}

.venue-feature-cards b {
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
}

.venue-feature-cards span {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.55;
}

.membership-assurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 10px 18px;
  padding: 13px 8px;
  border: 1px solid rgba(239,217,166,.45);
  border-radius: 12px;
  color: #4c3417;
  background: #fff1da;
}

.membership-assurance span {
  display: block;
  min-width: 0;
  padding: 0 6px;
  border-right: 1px solid rgba(98,65,33,.18);
  text-align: center;
}

.membership-assurance span:last-child {
  border-right: 0;
}

.membership-assurance b,
.membership-assurance small {
  display: block;
}

.membership-assurance b {
  font-size: 12px;
}

.membership-assurance small {
  margin-top: 5px;
  color: #735d3d;
  font-size: 9px;
  line-height: 1.35;
}

.membership-footer {
  padding: 8px 0 96px;
  color: #d9bd83;
  font-family: Georgia, "Songti SC", serif;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.membership-ornate-page .member-card {
  position: relative;
  min-height: 118px;
  border-color: rgba(201,162,96,.45);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8, #f7ead5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.membership-ornate-page .member-card i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  color: #7e1b28;
  background: linear-gradient(180deg, #f6dfaa, #fff6df);
  font-family: Georgia, serif;
  font-style: normal;
}

.membership-ornate-page .member-card.selected {
  border-color: var(--jba-gold);
  background: linear-gradient(180deg, #101923, #070d13);
}

.membership-ornate-page .tier-table {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(201,162,96,.28);
}

.membership-ornate-page .tier-table thead th {
  color: #ffe7ba;
  background: #091019;
}

.membership-ornate-page .tier-table tbody th {
  color: #6b1824;
  background: #f8ead5;
}

.flow-ornate-page .flow-list {
  padding: 6px 0;
}

.flow-ornate-page,
.fee-ornate-page {
  background:
    radial-gradient(ellipse at 50% 101%, rgba(201,162,96,.13) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 88% 3%, rgba(216,161,154,.16), transparent 18%),
    repeating-radial-gradient(ellipse at 50% 100%, rgba(201,162,96,.16) 0 1px, transparent 1px 13px),
    #060b12;
}

.flow-hero,
.fee-hero {
  min-height: 285px;
  padding-top: 58px;
  background:
    linear-gradient(90deg, rgba(3,8,14,.98) 0%, rgba(5,10,17,.9) 44%, rgba(5,10,17,.2) 100%),
    url("assets/login-auction-hero-v2.png") center 38% / cover no-repeat;
}

.fee-hero h1,
.flow-hero h1 {
  font-size: 44px;
}

.flow-board,
.fee-board,
.payment-stage-board,
.logistics-fee-board,
.customs-fee-board,
.flow-key-points {
  margin: -18px 10px 18px;
  border-color: rgba(231,199,139,.66);
  border-radius: 16px;
  background:
    radial-gradient(circle at 98% 0, rgba(201,162,96,.12), transparent 26%),
    linear-gradient(180deg, #fff6e8, #f6e5cd);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.62), 0 18px 32px rgba(0,0,0,.22);
}

.flow-board::after,
.fee-board::after,
.payment-stage-board::after,
.logistics-fee-board::after,
.customs-fee-board::after,
.membership-board::after,
.royal-service-card::after {
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(138,97,37,.34);
  content: "✿";
  font-size: 18px;
  pointer-events: none;
}

.payment-stage-board,
.logistics-fee-board,
.customs-fee-board,
.flow-key-points {
  margin-top: 0;
}

.flow-board::before,
.fee-board::before,
.payment-stage-board::before,
.logistics-fee-board::before,
.customs-fee-board::before,
.flow-key-points::before {
  display: none;
}

.royal-flow-list {
  display: grid;
  gap: 0;
  padding: 4px 0 0;
}

.flow-ornate-page .flow-step {
  grid-template-columns: 44px 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 58px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(147,111,57,.22);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.35);
}

.flow-ornate-page .flow-step::before {
  top: 50px;
  bottom: -12px;
  left: 31px;
  background: linear-gradient(#8b672e, #cda55f);
}

.flow-ornate-page .flow-step > b {
  width: 36px;
  height: 36px;
  color: #2a1f16;
  background: radial-gradient(circle at 30% 25%, #fff3cf, #c99f59);
  box-shadow: 0 5px 12px rgba(44,31,18,.18);
}

.flow-ornate-page .flow-step > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(218,180,106,.45);
  color: #f3d89d;
  background:
    radial-gradient(circle at 30% 24%, #2b3440, #071018 68%),
    #071018;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.16), 0 4px 8px rgba(53,37,20,.22);
}

.flow-ornate-page .flow-step > i::before {
  width: 18px;
  height: 18px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.flow-ornate-page .flow-step strong {
  color: #201510;
  font-family: Georgia, "Songti SC", serif;
  font-size: 17px;
}

.flow-ornate-page .flow-step span {
  margin-top: 4px;
  color: #6b5944;
  font-size: 11px;
}

.flow-key-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 12px 18px;
  text-align: center;
}

.flow-key-points h2 {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: #5e2b17;
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
}

.flow-key-points span,
.flow-key-points b,
.flow-key-points strong,
.flow-key-points em {
  display: block;
}

.flow-key-points span {
  min-width: 0;
  padding: 11px 7px 12px;
  border: 1px solid rgba(147,111,57,.2);
  border-radius: 12px;
  color: #3f2d1d;
  background: rgba(255,255,255,.38);
  line-height: 1.35;
}

.flow-key-points b {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 50%;
  color: #8a6125;
  background: radial-gradient(circle at 30% 24%, #fff3cf, #e2bd73 72%);
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 4px 9px rgba(70,46,18,.12);
}

.flow-key-points b.service-icon::before {
  width: 20px;
  height: 20px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.flow-key-points strong {
  color: #3d2414;
  font-family: Georgia, "Songti SC", serif;
  font-size: 13px;
  white-space: nowrap;
}

.flow-key-points em {
  margin-top: 4px;
  color: #594735;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  word-break: keep-all;
}

.fee-ornate-page .fee-calculator {
  border-bottom: 0;
}

.fee-manual-board {
  display: grid;
  gap: 14px;
}

.fee-manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fee-manual-grid .field {
  min-width: 0;
}

.fee-manual-grid input {
  width: 100%;
}

@media (max-width: 420px) {
  .fee-manual-grid {
    grid-template-columns: 1fr;
  }
}

.fee-input-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: end;
}

.fee-board h2,
.payment-stage-board h2,
.logistics-fee-board h2,
.customs-fee-board h2 {
  margin: 0 0 14px;
  color: #5e2b17;
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  text-align: center;
}

.fee-calc-button {
  width: 100%;
  min-height: 46px;
  margin: 0 0 12px;
  border: 1px solid #a67733;
  border-radius: 6px;
  color: #4a1d12;
  background: linear-gradient(180deg, #f7d998, #b87a31);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52), 0 8px 18px rgba(75,47,19,.18);
}

.fee-price-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 8px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(201,162,96,.32);
  color: #6a4f24;
  background: linear-gradient(180deg, #fff8e8, #f4dfba);
}

.fee-price-strip strong {
  color: #8a1d2b;
  font-family: Georgia, serif;
  font-size: 25px;
}

.fee-insurance-toggle {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(166,119,51,.34);
  border-radius: 8px;
  color: #4a2818;
  background: linear-gradient(180deg, rgba(255,251,241,.92), rgba(246,226,190,.72));
}

.fee-insurance-toggle input {
  width: 20px;
  height: 20px;
  accent-color: #8a1d2b;
}

.fee-insurance-toggle span {
  display: grid;
  gap: 3px;
}

.fee-insurance-toggle b {
  color: #6b1824;
  font-size: 14px;
}

.fee-insurance-toggle small {
  color: #6b5a48;
  font-size: 11px;
  line-height: 1.45;
}

.fee-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: rgba(255,255,255,.38);
  font-size: 11px;
}

.fee-breakdown-table th,
.fee-breakdown-table td {
  padding: 8px 7px;
  border: 1px solid rgba(147,111,57,.2);
  text-align: left;
  line-height: 1.45;
}

.fee-breakdown-table thead th {
  color: #5b3918;
  background: rgba(239,217,166,.45);
}

.fee-breakdown-table tbody th {
  width: 30%;
  color: #6e4a1c;
  font-weight: 800;
}

.fee-breakdown-table tbody th::before {
  color: #8d672e;
}

.fee-breakdown-table td:nth-child(2) {
  color: #7a1724;
  font-family: Georgia, serif;
  font-weight: 800;
  white-space: nowrap;
}

.fee-ornate-page .cost-list {
  margin-top: 6px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(201,162,96,.35);
}

.fee-ornate-page .estimate-total {
  margin-top: 10px;
  padding: 16px 14px;
  border: 1px solid rgba(201,162,96,.5);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #801b2a, #a02032);
}

.fee-ornate-page .estimate-total span,
.fee-ornate-page .estimate-total strong {
  color: #fff;
}

.payment-notes {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.payment-notes h2 {
  margin: 0 0 4px;
  color: #6b1824;
  font-family: Georgia, "Songti SC", serif;
}

.payment-notes div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(201,162,96,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.62);
}

.payment-stage-board {
  grid-template-columns: 1fr;
}

.payment-stage-board h2 {
  grid-column: 1 / -1;
}

.payment-stage-board div {
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  min-height: 0;
  text-align: left;
  padding: 14px;
}

.fee-ornate-page .payment-stage-board {
  grid-template-columns: 1fr !important;
}

.fee-ornate-page .payment-stage-board div {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  min-height: 0;
}

.logistics-fee-board,
.customs-fee-board {
  display: grid;
  gap: 0;
}

.logistics-fee-board p,
.customs-fee-board p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(147,111,57,.2);
  line-height: 1.65;
}

.logistics-fee-board p:last-child,
.customs-fee-board p:last-child {
  border-bottom: 0;
}

.logistics-fee-board b,
.customs-fee-board b {
  color: #4f2b16;
  font-family: Georgia, "Songti SC", serif;
}

.logistics-fee-board span,
.customs-fee-board p {
  color: #5d5147;
  font-size: 12px;
}

.big-gold-link {
  display: block;
  width: calc(100% - 56px);
  min-height: 56px;
  margin: 8px auto 18px;
  border: 1px solid #d4af68;
  border-radius: 8px;
  color: #f9e3b0;
  background: linear-gradient(180deg, #bd8a3f, #7e4c1e);
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 24px rgba(0,0,0,.26);
}

.payment-notes div > b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #6b1824;
  background: #f1dcae;
  font-family: Georgia, serif;
}

.payment-notes p,
.payment-notes strong,
.payment-notes span {
  display: block;
  margin: 0;
  min-width: 0;
}

.payment-notes strong {
  color: #2d2118;
  font-size: 15px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}

.payment-notes span {
  margin-top: 4px;
  color: #6b635b;
  font-size: 12px;
  line-height: 1.65;
  word-break: normal;
  overflow-wrap: break-word;
}

.account-ornate-page {
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 86% 2%, rgba(216,161,154,.18), transparent 18%),
    repeating-radial-gradient(ellipse at 50% 103%, rgba(201,162,96,.16) 0 1px, transparent 1px 14px),
    #060c13;
}

.account-brandbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 52px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px 10px;
  color: #f9dfab;
  background: #071018;
}

.account-brandbar b {
  overflow: hidden;
  font-family: Georgia, "Songti SC", serif;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-brandbar button {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 44px;
  border: 0;
  color: #f3d99e;
  background: transparent;
}

.account-brandbar button::before {
  display: block;
  width: 24px;
  height: 24px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--brandbar-icon) center / contain no-repeat;
  mask: var(--brandbar-icon) center / contain no-repeat;
  line-height: 1;
}

.account-brandbar button:first-of-type { --brandbar-icon: url("assets/icons/service-headphones.svg"); }
.account-brandbar button:last-of-type { --brandbar-icon: url("assets/icons/ornate-bell.svg"); }

.account-brandbar span {
  font-size: 11px;
}

.account-ornate-page .account-profile {
  position: relative;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  margin: 0 12px;
  padding: 24px 16px 28px;
  border: 1px solid rgba(239,217,166,.52);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  color: #fff5dc;
  background:
    radial-gradient(circle at 88% 12%, rgba(216,161,154,.36), transparent 18%),
    radial-gradient(circle at 12% 90%, rgba(216,161,154,.16), transparent 13%),
    linear-gradient(135deg, #111b26, #071018 62%, #151018);
}

.account-ornate-page .account-profile::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(239,217,166,.12);
  content: "JBA";
  font-family: Georgia, serif;
  font-size: 58px;
  pointer-events: none;
}

.account-ornate-page .account-profile::before {
  position: absolute;
  right: 18px;
  top: 13px;
  width: 122px;
  height: 42px;
  opacity: .72;
  content: "";
  background:
    radial-gradient(circle at 8px 20px, #d99b96 0 4px, transparent 5px),
    radial-gradient(circle at 24px 12px, #efd1c4 0 5px, transparent 6px),
    radial-gradient(circle at 43px 22px, #bd7773 0 4px, transparent 5px),
    radial-gradient(circle at 62px 14px, #e8b6ab 0 5px, transparent 6px);
  pointer-events: none;
}

.account-ornate-page .account-avatar {
  width: 82px;
  height: 82px;
  border: 2px solid #e9c883;
  color: #1b1510;
  background: radial-gradient(circle at 35% 25%, #fff7df, #c79b55);
  box-shadow: 0 0 0 6px rgba(239,217,166,.12);
  font-size: 19px;
}

.account-ornate-page .account-profile h2 {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #fff5dc;
  font-size: 25px;
}

.account-ornate-page .account-profile h2 button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: -8px 0;
  border: 0;
  border-radius: 999px;
  color: #dfc489;
  background: transparent;
  font-size: 16px;
}

.account-ornate-page .account-profile p {
  color: #e9d4a8;
}

.account-ornate-page .account-profile em {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(239,217,166,.55);
  border-radius: 999px;
  color: #f5ddb1;
  font-size: 10px;
  font-style: normal;
}

.account-profile-actions {
  display: grid;
  gap: 9px;
  min-width: 108px;
}

.account-profile-actions button,
.account-ornate-page .account-profile > button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(239,217,166,.75);
  border-radius: 999px;
  color: #2b1a0d;
  background: linear-gradient(180deg, #fff1c5, #d6ad67);
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0,0,0,.22);
}

.account-profile-actions button + button {
  color: #fbe9c2;
  background: rgba(7,16,24,.5);
}

.account-ornate-page .account-stats {
  margin: 0 12px 14px;
  border-color: rgba(201,162,96,.45);
  border-radius: 0 0 16px 16px;
  background:
    radial-gradient(circle at 96% 0, rgba(201,162,96,.12), transparent 28%),
    linear-gradient(180deg, #fffaf0, #f5e7d0);
}

.account-ornate-page .account-stats-locked {
  display: block;
  padding: 16px;
  text-align: center;
}

.account-ornate-page .account-stats-locked span {
  display: block;
  border: 0;
}

.account-ornate-page .account-stats-locked b {
  color: #5b3020;
  font-size: 14px;
}

.royal-stats span {
  color: #4d3c2a;
  font-size: 12px;
  line-height: 1.4;
}

.royal-stats small {
  display: block;
  margin-top: 4px;
  color: #8b765b;
  font-size: 10px;
}

.account-ornate-page .account-concierge {
  margin: 0 12px 14px;
  border-color: rgba(239,217,166,.45);
  border-radius: 14px;
  color: #f5e7c1;
  background: linear-gradient(135deg, #0e1721, #111b26);
}

.account-ornate-page .account-concierge span {
  border-color: #caa261;
  color: #2c1e13;
  background: #f4dca4;
}

.account-ornate-page .account-concierge small {
  color: #d7c5a5;
}

.account-ornate-page .account-services,
.account-ornate-page .account-following {
  margin: 0 12px 14px;
  padding: 17px 14px 18px;
  border: 1px solid rgba(201,162,96,.45);
  border-radius: 14px;
  background:
    radial-gradient(circle at 98% 2%, rgba(201,162,96,.12), transparent 28%),
    linear-gradient(180deg, #fffaf0, #f5e8d4);
}

.account-ornate-page .account-primary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-more-services {
  margin: 0 12px 14px;
  border: 1px solid rgba(201,162,96,.45);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf0, #f5e8d4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58), 0 12px 24px rgba(0,0,0,.12);
}

.account-more-services summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 17px;
  color: #5e1621;
  cursor: pointer;
  list-style: none;
}

.account-more-services summary::-webkit-details-marker {
  display: none;
}

.account-more-services summary span,
.account-more-services summary b,
.account-more-services summary small {
  display: block;
}

.account-more-services summary b {
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
}

.account-more-services summary small {
  margin-top: 4px;
  color: #866f55;
  font-size: 10px;
}

.account-more-services summary i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(122,86,37,.28);
  border-radius: 50%;
  color: #7a1724;
  background: #fff8e9;
  font-size: 18px;
  font-style: normal;
  transition: transform .2s ease;
}

.account-more-services[open] summary i {
  transform: rotate(180deg);
}

.account-ornate-page .account-secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 16px 14px 18px;
  border-top: 1px solid rgba(201,162,96,.3);
  background: rgba(255,255,255,.28);
}

.royal-service-card {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58), 0 12px 24px rgba(0,0,0,.12);
}

.account-ornate-page .account-section-heading h2 {
  color: #5e1621;
}

.account-ornate-page .account-section-heading h2::before {
  width: 16px;
  height: 16px;
  top: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #a11f31 0 3px, transparent 4px), #f0d6a5;
}

.account-ornate-page .account-section-heading {
  margin-bottom: 13px;
}

.account-ornate-page .service-grid {
  gap: 12px 10px;
  background: transparent;
}

.account-ornate-page .service-grid button {
  min-height: 116px;
  border: 0;
  border-radius: 0;
  color: #3f2a14;
  background: rgba(255,255,255,.66);
}

.account-ornate-page .service-grid button:nth-child(4n),
.account-ornate-page .service-grid button:nth-last-child(-n + 4) {
  border: 0;
}

.account-ornate-page .service-grid .service-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(122,86,37,.26);
  color: #3d2a15;
  background:
    radial-gradient(circle at 34% 22%, #fff7da, #d5aa60 56%, #80531f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 6px 14px rgba(92,65,31,.12);
}

.account-ornate-page .service-grid .service-icon::before,
.flow-ornate-page .flow-step > i::before {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.3));
}

.account-ornate-page .account-security {
  margin: 0 12px 14px;
  padding: 0;
  border: 1px solid rgba(201,162,96,.45);
  border-radius: 14px;
  background: #fffaf0;
}

.account-ornate-page .account-security button {
  width: 100%;
  min-height: 46px;
  color: #7a1724;
  font-weight: 800;
}

.account-ornate-page .account-assurance {
  margin: 0 12px 14px;
  border: 1px solid rgba(201,162,96,.45);
  border-radius: 14px;
  background: #fff8ea;
}

.account-promo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 12px 14px;
}

.account-promo-row button {
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(201,162,96,.55);
  border-radius: 14px;
  color: #ffe8b8;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(120,24,35,.94), rgba(45,16,16,.82)),
    url("assets/login-auction-hero-v2.png") center / cover no-repeat;
}

.account-promo-row button + button {
  background:
    linear-gradient(135deg, rgba(7,16,24,.94), rgba(17,27,38,.82)),
    url("assets/login-auction-hero-v2.png") center / cover no-repeat;
}

.account-promo-row b,
.account-promo-row span {
  display: block;
}

.account-promo-row b {
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
}

.account-promo-row span {
  margin-top: 7px;
  color: #f6dfb2;
  font-size: 11px;
}

.payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.more-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-service-card {
  display: grid;
  min-height: 98px;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(201,162,96,.55);
  border-radius: 10px;
  color: #f7dfaa;
  background:
    linear-gradient(135deg, rgba(8,16,24,.98), rgba(15,28,39,.86)),
    repeating-radial-gradient(ellipse at 50% 100%, rgba(201,162,96,.18) 0 1px, transparent 1px 12px);
}

.mini-service-card::before {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  color: #f4d79d;
  content: "";
  background: currentColor;
  -webkit-mask: url("assets/icons/ornate-flower.svg") center / contain no-repeat;
  mask: url("assets/icons/ornate-flower.svg") center / contain no-repeat;
}

.mini-service-card small {
  width: max-content;
  margin-bottom: 5px;
  padding: 2px 5px;
  color: #fff2cf;
  background: #8b1d2b;
  font-size: 8px;
}

.mini-service-card b,
.mini-service-card span {
  display: block;
}

.mini-service-card b {
  font-family: Georgia, "Songti SC", serif;
  font-size: 16px;
}

.mini-service-card span {
  margin-top: 5px;
  color: #e4cc98;
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 380px) {
  .ornate-hero h1 { font-size: 30px; }
  .account-ornate-page .account-profile { grid-template-columns: 72px minmax(0, 1fr); }
  .account-profile-actions { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .membership-ornate-page .member-cards { grid-template-columns: 1fr; }
  .account-promo-row { grid-template-columns: 1fr; }
}
/* Transaction, support, transparency and discovery additions. */
.saved-searches {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 1px solid #decfca;
  background: #fff;
}
.saved-searches > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-searches > div:first-child button,
.saved-searches.is-empty button { border: 0; background: transparent; color: #8b1f2d; font-weight: 700; }
.saved-searches > div:last-child { display: flex; gap: 8px; overflow-x: auto; padding-top: 9px; scrollbar-width: thin; }
.saved-searches > div:last-child button { flex: 0 0 auto; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid #d6c2bb; border-radius: 4px; background: #f8f4f1; padding: 7px 10px; color: #3c302d; }
.saved-searches.is-empty { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #756966; font-size: 13px; }

.data-completeness-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.data-completeness-heading span { color: #766760; font-size: 12px; }
.data-completeness dl { margin: 8px 0 0; border-top: 1px solid #e5d8d2; }
.data-completeness dl div { display: grid; grid-template-columns: minmax(105px, 34%) 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee4df; }
.data-completeness dt { color: #756660; }
.data-completeness dd { margin: 0; overflow-wrap: anywhere; }
.data-completeness .is-missing dd { color: #9b393f; }
.data-completeness > a { display: inline-block; margin-top: 12px; color: #8b1f2d; font-weight: 700; }
.data-completeness > p { color: #766b67; font-size: 12px; line-height: 1.65; }
.detail-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 16px 86px; }
.detail-secondary-actions button { min-height: 42px; border: 1px solid #8b1f2d; border-radius: 4px; background: #fff; color: #8b1f2d; font-weight: 700; }

.transaction-overview { padding: 2px 14px 14px; }
.transaction-timeline { display: grid; grid-template-columns: repeat(7, minmax(74px, 1fr)); margin: 0; padding: 14px 0 10px; overflow-x: auto; list-style: none; }
.transaction-timeline li { position: relative; min-width: 74px; padding: 0 7px; text-align: center; color: #8b817d; }
.transaction-timeline li::before { content: ""; position: absolute; top: 7px; left: 0; width: 100%; height: 1px; background: #d9cbc6; }
.transaction-timeline li:first-child::before { left: 50%; width: 50%; }
.transaction-timeline li:last-child::before { width: 50%; }
.transaction-timeline li > span { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin: 0 auto 8px; border: 2px solid #c7b8b2; border-radius: 50%; background: #fff; }
.transaction-timeline li.is-complete > span,
.transaction-timeline li.is-current > span { border-color: #8b1f2d; background: #8b1f2d; }
.transaction-timeline li.is-current { color: #781b27; }
.transaction-timeline p { margin: 0; }
.transaction-timeline b, .transaction-timeline small { display: block; font-size: 11px; line-height: 1.35; }
.transaction-timeline small { margin-top: 3px; font-weight: 400; }
.transaction-ledger { border-top: 1px solid #e6d9d4; }
.transaction-ledger p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 9px 0; border-bottom: 1px solid #eee5e1; }
.transaction-ledger span { color: #756864; }
.transaction-ledger b { max-width: 68%; text-align: right; overflow-wrap: anywhere; }

.warehouse-flow-board,
.customer-logistics {
  margin: 12px 0;
  padding: 18px 14px;
  border-top: 3px solid #8b1f2d;
  background: #fff;
}

.warehouse-flow-board h1,
.customer-logistics-heading h3 {
  margin: 0;
  color: #312b27;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 19px;
}

.warehouse-flow-board > p,
.customer-logistics-heading p {
  margin: 6px 0 0;
  color: #756964;
  font-size: 11px;
  line-height: 1.6;
}

.customer-logistics-heading small {
  color: #a27731;
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.fulfillment-journey,
.customer-order .fulfillment-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0;
  padding: 0;
  border: 1px solid #ded4ca;
  list-style: none;
}

.fulfillment-journey li,
.customer-order .fulfillment-journey li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 8px 7px;
  border-right: 1px solid #e7ded5;
  border-bottom: 1px solid #e7ded5;
  color: #8b827d;
  background: #faf8f4;
}

.fulfillment-journey li:nth-child(4n) { border-right: 0; }
.fulfillment-journey li:nth-last-child(-n + 4) { border-bottom: 0; }
.fulfillment-journey li > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #c9bcb2;
  border-radius: 50%;
  font: 700 10px Georgia, serif;
}

.fulfillment-journey li p { min-width: 0; margin: 0; }
.fulfillment-journey li b,
.fulfillment-journey li small { display: block; line-height: 1.35; }
.fulfillment-journey li b { color: #514943; font-size: 10px; }
.fulfillment-journey li small { margin-top: 2px; font-size: 8px; }
.fulfillment-journey li.is-complete { color: #256247; background: #f0f7f3; }
.fulfillment-journey li.is-complete > span { border-color: #4c866d; background: #e0efe7; }
.fulfillment-journey li.is-current { color: #8b1f2d; background: #fff6e8; }
.fulfillment-journey li.is-current > span { border-color: #b7893f; color: #fff; background: #8b1f2d; }

.customer-logistics dl {
  margin: 0;
  border-top: 1px solid #e5dbd2;
}

.customer-logistics dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eee6df;
}

.customer-logistics dt { color: #786c66; font-size: 10px; }
.customer-logistics dd { margin: 0; color: #39322e; font-size: 11px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.logistics-test-note { margin: 12px 0 0; padding: 9px 10px; border-left: 3px solid #b7893f; color: #765c37; background: #fff8e9; font-size: 10px; line-height: 1.55; }

.logistics-readiness, .fee-rule-status, .support-ticket-list, .trust-facts, .trust-copy { margin: 14px 0; padding: 16px; border-top: 2px solid #8b1f2d; background: #fff; }
.logistics-readiness h2, .support-ticket-list h2, .trust-facts h2, .trust-copy h2 { margin: 0 0 10px; font-size: 18px; }
.logistics-readiness > div, .fee-rule-status { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.logistics-readiness p, .fee-rule-status p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid #ebe1dc; }
.logistics-readiness span, .fee-rule-status span { color: #71625e; }
.logistics-readiness b, .fee-rule-status b { text-align: right; }
.logistics-readiness small { display: block; margin-top: 12px; color: #776b66; line-height: 1.55; }
.fee-rule-status { margin: 12px 0 18px; padding: 0; border-top: 1px solid #d9c9c2; background: transparent; }
.fee-rule-status .is-recorded b { color: #8b1f2d; }

.support-ticket-panel .auth-form { margin-top: 12px; }
.support-ticket-list article { padding: 12px 0; border-bottom: 1px solid #e6dad5; }
.support-ticket-list article > div { display: flex; justify-content: space-between; gap: 12px; }
.support-ticket-list article span { color: #8b1f2d; font-weight: 700; }
.support-ticket-list article p { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-ticket-list article small { color: #756a66; }
.form-section .outline-button { width: 100%; margin-top: 9px; }

.support-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.support-contact-list > a,
.support-contact-list > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e1d5cf;
  border-radius: 5px;
  color: #322927;
  background: #fff;
  text-decoration: none;
}

.support-contact-list > div { grid-template-columns: 52px minmax(0, 1fr); }
.support-contact-list > a > span,
.support-contact-list > div > span { color: #8b1f2d; font-size: 11px; font-weight: 700; }
.support-contact-list p { min-width: 0; margin: 0; }
.support-contact-list b,
.support-contact-list small { display: block; }
.support-contact-list small { margin-top: 2px; color: #6f625e; overflow-wrap: anywhere; }
.support-contact-list em { color: #8b1f2d; font-style: normal; }
.trust-facts dd a,
.trust-facts dd p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 5px; color: inherit; text-decoration: none; }
.trust-facts dd a:last-child,
.trust-facts dd p:last-child { margin-bottom: 0; }
.trust-facts dd a span,
.trust-facts dd p span { overflow-wrap: anywhere; }

.trust-page { padding-bottom: 28px; }
.trust-status { padding: 22px 18px; background: #5e171f; color: #fff; }
.trust-status small { color: #d8b980; font-weight: 700; }
.trust-status h1 { margin: 6px 0 8px; font-size: 26px; }
.trust-status p { margin: 0; line-height: 1.65; }
.trust-facts dl { margin: 0; }
.trust-facts dl div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee3de; }
.trust-facts dt { color: #70625d; }
.trust-facts dd { margin: 0; overflow-wrap: anywhere; }
.trust-facts .is-pending dd { color: #92303a; }
.trust-copy p { line-height: 1.75; color: #4c413e; }

@media (max-width: 520px) {
  .logistics-readiness > div, .fee-rule-status { grid-template-columns: 1fr; }
  .support-contact-list { grid-template-columns: 1fr; }
  .detail-secondary-actions { margin-left: 12px; margin-right: 12px; }
  .transaction-timeline { grid-template-columns: repeat(7, 86px); }
  .data-completeness dl div, .trust-facts dl div { grid-template-columns: 112px 1fr; }
}

/* Quiet account workspace. */
.account-clean-page {
  min-height: calc(100vh - 58px);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
  color: #2f2927;
  background: #f4f2ef;
}

.account-clean-page .account-profile {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 0;
  padding: 22px 18px;
  border: 0;
  border-bottom: 1px solid #e4ded9;
  background: #fff;
}

.account-clean-page .account-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid #8b1f2d;
  color: #8b1f2d;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.account-clean-page .account-profile h2 {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #2f2927;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
}

.account-clean-page .account-profile h2 button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 0;
  color: #8b1f2d;
  background: transparent;
  font-size: 15px;
}

.account-clean-page .account-profile p {
  margin-top: 4px;
  color: #716864;
  font-size: 11px;
}

.account-clean-page .account-profile em {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 7px;
  border: 1px solid #d9ccc7;
  border-radius: 4px;
  color: #6c5f5b;
  background: #faf8f6;
  font-size: 9px;
  font-style: normal;
}

.account-clean-page .account-profile-actions {
  min-width: 98px;
}

.account-clean-page .account-profile-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #8b1f2d;
  border-radius: 4px;
  color: #fff;
  background: #8b1f2d;
  box-shadow: none;
  font-size: 11px;
}

.account-clean-page .account-stats {
  margin: 0;
  padding: 15px 10px;
  border: 0;
  border-bottom: 1px solid #e4ded9;
  border-radius: 0;
  background: #fff;
}

.account-clean-page .account-stats span {
  color: #746b67;
  font-size: 10px;
}

.account-clean-page .account-stats b {
  color: #5e171f;
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
}

.account-clean-page .account-stats small {
  display: block;
  margin-top: 3px;
  color: #9a908b;
  font-size: 9px;
}

.account-clean-page .account-stats-locked {
  display: block;
  padding: 14px 18px;
  text-align: center;
}

.account-clean-page .account-stats-locked span {
  display: block;
  border: 0;
}

.account-clean-page .account-stats-locked b {
  margin: 0 0 3px;
  color: #534a47;
  font-size: 13px;
}

.account-clean-page .account-concierge {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  margin: 10px 0 0;
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid #e4ded9;
  border-bottom: 1px solid #e4ded9;
  color: #2f2927;
  background: #fff;
}

.account-clean-page .account-concierge-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 0;
  border: 0;
  color: #8b1f2d;
  background: transparent;
}

.account-clean-page .account-concierge-icon::before {
  width: 25px;
  height: 25px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--service-icon) center / contain no-repeat;
  mask: var(--service-icon) center / contain no-repeat;
}

.account-clean-page .account-concierge b {
  color: #352f2d;
  font-size: 13px;
}

.account-clean-page .account-concierge small {
  color: #7d736f;
  font-size: 10px;
}

.account-clean-page .account-concierge button {
  min-height: 36px;
  padding: 0 10px;
  border-color: #cabbb5;
  border-radius: 4px;
  color: #8b1f2d;
  background: #fff;
  font-size: 10px;
}

.account-clean-page .account-panel,
.account-clean-page .account-services,
.account-clean-page .account-following {
  margin: 10px 0 0;
  padding: 19px 16px;
  border: 0;
  border-top: 1px solid #e4ded9;
  border-bottom: 1px solid #e4ded9;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.account-clean-page .account-section-heading {
  margin-bottom: 13px;
}

.account-clean-page .account-section-heading h2 {
  padding-left: 9px;
  color: #352f2d;
  font-size: 17px;
}

.account-clean-page .account-section-heading h2::before {
  top: 2px;
  bottom: 2px;
  width: 3px;
  height: auto;
  border-radius: 0;
  background: #8b1f2d;
}

.account-clean-page .account-primary-grid,
.account-clean-page .account-secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.account-clean-page .service-grid button {
  min-height: 88px;
  padding: 12px 5px 10px;
  border: 1px solid #e9e3df;
  border-radius: 6px;
  color: #8b1f2d;
  background: #faf9f7;
}

.account-clean-page .service-grid button:nth-child(4n),
.account-clean-page .service-grid button:nth-last-child(-n + 4) {
  border: 1px solid #e9e3df;
}

.account-clean-page .service-grid .service-tone-1,
.account-clean-page .service-grid .service-tone-2 {
  color: #8b1f2d;
}

.account-clean-page .service-grid .service-icon {
  width: 30px;
  height: 30px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
}

.account-clean-page .service-grid .service-icon::before {
  width: 25px;
  height: 25px;
}

.account-clean-page .service-grid b {
  color: #443b38;
  font-size: 10px;
  font-weight: 700;
}

.account-clean-page .account-more-services {
  padding: 0;
  overflow: hidden;
}

.account-clean-page .account-more-services summary {
  min-height: 62px;
  padding: 11px 16px;
  color: #352f2d;
}

.account-clean-page .account-more-services summary b {
  font-family: inherit;
  font-size: 15px;
}

.account-clean-page .account-more-services summary small {
  color: #817672;
  font-size: 10px;
}

.account-clean-page .account-more-services summary i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border: 1px solid #d8ccc7;
  border-radius: 50%;
  color: #8b1f2d;
  background: #fff;
}

.account-clean-page .account-secondary-grid {
  padding: 12px 16px 16px;
  border-top: 1px solid #e8e1dd;
}

.account-clean-page .account-security {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #e4ded9;
  border-bottom: 1px solid #e4ded9;
  background: #fff;
}

.account-clean-page .account-security button {
  width: 100%;
  min-height: 48px;
  color: #8b1f2d;
  font-weight: 700;
}

.account-clean-page .account-following {
  padding-bottom: 22px;
}

@media (max-width: 380px) {
  .account-clean-page .account-profile {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .account-clean-page .account-profile-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .account-clean-page .account-concierge {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .account-clean-page .account-concierge button {
    grid-column: 2;
    width: max-content;
  }
}

/* Japanese private-client styling for the account workspace. */
.account-clean-page {
  --account-ink: #17262b;
  --account-paper: #f5f0e5;
  --account-vermilion: #9f2831;
  --account-gold: #b78a3d;
  position: relative;
  padding-top: 14px;
  background-color: var(--account-paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(31, 47, 50, .025) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(159, 40, 49, .018) 0 1px, transparent 1px 22px);
}

.account-clean-page .account-profile {
  position: relative;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 142px;
  margin: 0 14px;
  padding: 25px 20px 22px;
  overflow: hidden;
  border: 1px solid #283b3f;
  border-radius: 3px 3px 0 0;
  color: #fffaf0;
  background-color: var(--account-ink);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 19px, rgba(232, 213, 172, .045) 19px 20px),
    repeating-linear-gradient(45deg, transparent 0 27px, rgba(255, 255, 255, .025) 27px 28px);
  box-shadow: 0 12px 28px rgba(39, 31, 25, .12);
}

.account-clean-page .account-profile::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--account-vermilion);
}

.account-clean-page .account-profile::after {
  position: absolute;
  right: -36px;
  bottom: -64px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(221, 193, 137, .22);
  content: "";
  box-shadow:
    0 0 0 15px rgba(221, 193, 137, .05),
    0 0 0 30px rgba(221, 193, 137, .03);
  transform: rotate(45deg);
  pointer-events: none;
}

.account-clean-page .account-avatar {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border: 3px double #f4dfb1;
  border-radius: 2px;
  color: #fff4da;
  background: var(--account-vermilion);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 14px;
  letter-spacing: 0;
  box-shadow: 4px 4px 0 rgba(183, 138, 61, .18);
}

.account-clean-page .account-profile > div {
  position: relative;
  z-index: 1;
}

.account-clean-page .account-profile > div:first-of-type::before {
  display: block;
  margin-bottom: 5px;
  color: #d7b873;
  content: "JBA MEMBER DESK";
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.account-clean-page .account-profile h2 {
  color: #fffaf0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 22px;
}

.account-clean-page .account-profile h2 button {
  color: #e3c789;
}

.account-clean-page .account-profile p {
  max-width: 230px;
  color: #d8d4ca;
  font-size: 11px;
  line-height: 1.55;
}

.account-clean-page .account-profile em {
  border-color: rgba(226, 198, 137, .55);
  color: #f0d79f;
  background: rgba(255, 255, 255, .04);
}

.account-clean-page .account-profile-actions button {
  border-color: #d4b56f;
  color: #2b251e;
  background: #f1dca9;
  font-weight: 800;
}

.account-clean-page .account-stats {
  margin: -1px 14px 0;
  border: 1px solid #d6c9b5;
  border-top-color: #b89a60;
  background: #fffdf7;
}

.account-clean-page .account-stats-locked {
  padding: 15px 18px;
}

.account-clean-page .account-stats-locked b {
  color: #45382d;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 14px;
}

.account-clean-page .account-concierge {
  margin: 13px 14px 0;
  padding: 15px 16px;
  border: 1px solid #d9cdbb;
  border-left: 4px solid var(--account-vermilion);
  border-radius: 2px;
  background: #fffdf8;
  box-shadow: 0 5px 14px rgba(62, 51, 38, .06);
}

.account-clean-page .account-concierge-icon {
  color: var(--account-vermilion);
}

.account-clean-page .account-concierge b {
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 14px;
}

.account-clean-page .account-concierge button {
  border-color: #b99758;
  color: #6f1e26;
  background: #fffaf0;
}

.account-clean-page .account-panel,
.account-clean-page .account-services,
.account-clean-page .account-following {
  margin: 13px 14px 0;
  padding: 20px 16px;
  border: 1px solid #ddd2c2;
  border-radius: 2px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 5px 14px rgba(62, 51, 38, .055);
}

.account-clean-page .account-section-heading h2 {
  padding-left: 12px;
  color: #312b25;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 18px;
}

.account-clean-page .account-section-heading h2::before {
  top: 1px;
  bottom: 1px;
  width: 4px;
  background: var(--account-vermilion);
  box-shadow: 4px 0 0 #d8ba78;
}

.account-clean-page .service-grid button {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border-color: #ded4c5;
  border-radius: 2px;
  color: var(--account-vermilion);
  background: #faf6ed;
}

.account-clean-page .service-grid button::after {
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 13px;
  height: 2px;
  content: "";
  background: var(--account-gold);
}

.account-clean-page .service-grid button:hover,
.account-clean-page .service-grid button:focus-visible {
  border-color: #b99758;
  color: #fff8e9;
  background: var(--account-ink);
}

.account-clean-page .service-grid button:hover b,
.account-clean-page .service-grid button:focus-visible b {
  color: #fff8e9;
}

.account-clean-page .service-grid button:hover .service-icon,
.account-clean-page .service-grid button:focus-visible .service-icon {
  color: #e3c789;
}

.account-clean-page .service-grid b {
  color: #44392f;
  font-size: 11px;
}

.account-clean-page .account-more-services {
  padding: 0;
}

.account-clean-page .account-more-services summary {
  min-height: 66px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #fffdf8, #f4ecdc);
}

.account-clean-page .account-more-services summary b {
  color: #352d26;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", "Songti SC", serif;
  font-size: 16px;
}

.account-clean-page .account-more-services summary i {
  border-color: #c6a86a;
  color: var(--account-vermilion);
  background: #fffdf7;
}

.account-clean-page .account-following {
  margin-bottom: 14px;
}

.account-clean-page .account-favorite-empty {
  border-color: #ded4c5;
  border-radius: 2px;
  background: #faf6ed;
}

.account-clean-page .account-favorite-empty > span {
  color: var(--account-gold);
}

.account-clean-page .account-favorite-empty button,
.account-clean-page .account-section-heading > button {
  color: var(--account-vermilion);
}

@media (max-width: 380px) {
  .account-clean-page .account-profile {
    grid-template-columns: 58px minmax(0, 1fr);
    margin-right: 10px;
    margin-left: 10px;
    padding: 22px 15px 18px;
  }

  .account-clean-page .account-stats,
  .account-clean-page .account-concierge,
  .account-clean-page .account-panel,
  .account-clean-page .account-services,
  .account-clean-page .account-following {
    margin-right: 10px;
    margin-left: 10px;
  }
}
