:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #1b1d1f;
  --muted: #6c7177;
  --line: #deded8;
  --accent: #176a5f;
  --accent-dark: #0f4f47;
  --money: #0b4f46;
  --warn: #9a5b14;
  --ok: #177245;
  --bad: #9b2f2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 64px;
  padding: 12px clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-wordmark-primary {
  color: var(--ink);
}

.brand-wordmark-accent {
  margin-left: 0.06em;
  color: var(--accent);
  font-weight: 680;
  letter-spacing: 0.075em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(22px, 2.6vw, 42px);
  color: var(--ink);
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav a:hover {
  color: var(--ink);
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 0;
  padding-left: 0;
}

.nav-user {
  color: var(--ink);
  font-weight: 760;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  background: #e4f2f0;
  object-fit: cover;
}

.account-badge-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: var(--ink);
}

.account-badge-link::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  display: none;
  width: max-content;
  max-width: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(27, 29, 31, 0.12);
  content: attr(data-hover-name);
  transform: translateX(-50%);
  white-space: nowrap;
}

.account-badge-link:hover::after {
  display: block;
}

.account-badge-link:hover .nav-user {
  color: var(--accent);
}

.message-unread-badge {
  position: absolute;
  top: -10px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 18px;
  height: 18px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--bad);
  color: #fff;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.mobile-account-badge {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

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

.section-heading.compact {
  margin-bottom: 18px;
}

.secondary-heading {
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.primary-action,
.secondary-action,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 760;
}

button {
  background: var(--surface);
  color: var(--accent);
}

.secondary-action {
  border-color: var(--line);
  background: var(--surface);
  color: var(--accent);
}

.primary-action:hover,
.secondary-action:hover,
button:hover {
  border-color: var(--accent-dark);
}

.danger-action {
  border-color: #d3a19c;
  background: #fff;
  color: var(--bad);
}

.danger-action:hover {
  border-color: var(--bad);
}

.text-action {
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--bad);
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.text-action:hover {
  color: #7f2424;
}

.lightbox-trigger {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: zoom-in;
}

.image-lightbox-trigger {
  display: grid;
  place-items: center;
}

.image-lightbox {
  width: min(94vw, 980px);
  max-height: 92vh;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
}

.image-lightbox::backdrop {
  background: rgba(27, 29, 31, 0.76);
}

.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.lightbox-frame img {
  display: block;
  width: 100%;
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
}

.image-lightbox.is-qr-lightbox {
  width: min(94vw, 560px);
}

.image-lightbox.is-qr-lightbox .lightbox-frame {
  min-height: 0;
  background: #fff;
}

.image-lightbox.is-qr-lightbox .lightbox-frame img {
  width: min(94vw, 560px);
  max-width: 100%;
  max-height: 90vh;
  aspect-ratio: 1;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-height: 36px;
  width: 36px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(27, 29, 31, 0.68);
  color: #fff;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.market-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 23px;
}

.market-intro-heading {
  display: grid;
  gap: 9px;
}

.market-intro-kicker,
.market-intro-lede {
  margin: 0;
}

.market-intro-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.market-intro h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.18;
}

.market-intro-lede {
  max-width: 360px;
  border-left: 2px solid #98c7bd;
  color: #5d6667;
  padding-left: 16px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
}

.market-ad-slot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  min-height: 312px;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #37291c;
  border-radius: 12px;
  background: #1d1711;
  color: #fff8ec;
  box-shadow: 0 14px 30px rgba(56, 39, 21, 0.12);
}

.market-ad-slot h1 {
  margin: 0;
  color: #fff8ec;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.restaurant-ad-visual {
  position: relative;
  display: block;
  min-height: 312px;
  overflow: hidden;
  background: #120d09;
}

.restaurant-ad-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 10, 6, 0.08), rgba(15, 10, 6, 0.72) 100%);
  content: "";
}

.restaurant-ad-visual > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 312px;
  object-fit: cover;
  object-position: 49% 58%;
  filter: saturate(1.12) contrast(1.05);
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 600ms ease;
}

.restaurant-ad-secondary-image {
  position: absolute;
  right: -10px;
  bottom: -26px;
  z-index: 1;
  width: 46%;
  height: 45%;
  border: 4px solid rgba(255, 248, 236, 0.9);
  border-radius: 2px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: 52% 22%;
  transform: rotate(-4deg);
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.restaurant-ad-photo-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  border: 1px solid rgba(255, 238, 195, 0.58);
  background: rgba(31, 20, 12, 0.75);
  color: #ffe9a6;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.restaurant-ad-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px clamp(28px, 4vw, 58px);
  animation: restaurant-ad-rise 600ms 110ms both cubic-bezier(0.2, 0.65, 0.2, 1);
}

.restaurant-ad-copy::before {
  position: absolute;
  top: 0;
  right: 42px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 132, 0.42), transparent);
  content: "";
}

.restaurant-ad-overline,
.restaurant-ad-subtitle,
.restaurant-ad-description,
.restaurant-ad-location p {
  margin: 0;
}

.restaurant-ad-overline {
  margin-bottom: 14px;
  color: #f6cc73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.restaurant-ad-subtitle {
  margin-top: 12px;
  color: #f2c36a;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 17px;
  letter-spacing: 0.18em;
}

.restaurant-ad-description {
  max-width: 430px;
  margin-top: 16px;
  color: rgba(255, 248, 236, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.restaurant-ad-signatures {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.restaurant-ad-signatures span {
  border: 1px solid rgba(255, 221, 148, 0.35);
  color: #ffe2a0;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 760;
}

.restaurant-ad-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 248, 236, 0.9);
}

.restaurant-ad-location p {
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.4;
}

.restaurant-ad-location strong {
  color: #fff8ec;
  font-size: 14px;
}

.restaurant-ad-location span:not(.restaurant-ad-pin) {
  color: rgba(255, 248, 236, 0.62);
}

.restaurant-ad-pin {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50% 50% 50% 0;
  background: #ec6148;
  transform: rotate(-45deg);
}

.restaurant-ad-pin::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1d1711;
  content: "";
}

.restaurant-ad-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  border-bottom: 1px solid #edc268;
  color: #ffe6a7;
  padding: 0 0 5px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: color 180ms ease, border-color 180ms ease;
}

.restaurant-ad-action span {
  font-size: 17px;
  line-height: 1;
  transition: transform 180ms ease;
}

.restaurant-ad-slot:hover .restaurant-ad-visual > img:first-child {
  filter: saturate(1.22) contrast(1.08);
  transform: scale(1.045);
}

.restaurant-ad-slot:hover .restaurant-ad-secondary-image {
  transform: rotate(-2deg) translate(-4px, -3px);
}

.restaurant-ad-action:hover {
  border-color: #fff1c7;
  color: #fff8ec;
}

.restaurant-ad-action:hover span {
  transform: translate(3px, -3px);
}

@keyframes restaurant-ad-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-ad-copy,
  .restaurant-ad-visual > img:first-child,
  .restaurant-ad-secondary-image,
  .restaurant-ad-action,
  .restaurant-ad-action span {
    animation: none;
    transition: none;
  }
}

.market-ad-slot p:last-child {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 248, 236, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.market-listing-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.market-listing-toolbar > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.market-purchasable-control {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.market-purchasable-track {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  border: 1px solid #b8c4c1;
  border-radius: 999px;
  background: #e3e8e5;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.market-purchasable-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(27, 29, 31, 0.22);
  content: "";
  transition: transform 180ms ease;
}

.market-purchasable-control.is-on .market-purchasable-track {
  border-color: var(--accent);
  background: var(--accent);
}

.market-purchasable-control.is-on .market-purchasable-track::after {
  transform: translateX(16px);
}

.market-purchasable-control:focus-visible {
  outline: 3px solid rgba(23, 106, 95, 0.25);
  outline-offset: 2px;
}

.market-purchasable-control.is-on .market-purchasable-label {
  color: var(--accent-dark);
}

.market-ad-slot {
  display: block;
  height: 140px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.restaurant-ad-compact {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 180px auto;
  align-items: center;
  height: 140px;
  min-height: 140px;
  overflow: hidden;
  border: 1px solid #38291c;
  border-radius: 10px;
  background: #1d1711;
  color: #fff8ec;
  box-shadow: 0 10px 22px rgba(56, 39, 21, 0.1);
}

.restaurant-ad-compact-image {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #120d09;
  padding: 0;
}

.restaurant-ad-compact-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 9, 0.08), rgba(18, 13, 9, 0.62));
  content: "";
}

.restaurant-ad-compact-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 63%;
  transition: transform 360ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 360ms ease;
}

.restaurant-ad-compact-image span {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 1;
  color: #ffe5a4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.restaurant-ad-compact-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 16px 24px;
}

.restaurant-ad-compact-copy:hover strong,
.restaurant-ad-compact-copy:focus-visible strong {
  color: #ffe2a0;
}

.restaurant-ad-compact-overline {
  color: #f0c671;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.restaurant-ad-compact-copy strong {
  overflow: hidden;
  color: #fff8ec;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-ad-compact-detail {
  overflow: hidden;
  color: rgba(255, 248, 236, 0.62);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-ad-compact-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  overflow: hidden;
  border-left: 1px solid rgba(255, 222, 148, 0.18);
}

.restaurant-ad-compact-thumbnail {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.restaurant-ad-compact-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 360ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 360ms ease;
}

.restaurant-ad-compact-thumbnail + .restaurant-ad-compact-thumbnail {
  border-left: 1px solid rgba(255, 222, 148, 0.18);
}

.restaurant-ad-compact-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: stretch;
  border-left: 1px solid rgba(255, 222, 148, 0.18);
  color: #ffe2a0;
  padding: 0 25px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.restaurant-ad-compact-action span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.restaurant-ad-compact:hover .restaurant-ad-compact-image img {
  filter: saturate(1.15) contrast(1.06);
  transform: scale(1.055);
}

.restaurant-ad-compact:hover .restaurant-ad-compact-gallery img {
  filter: saturate(1.18) contrast(1.07);
  transform: scale(1.06);
}

.restaurant-ad-compact:hover .restaurant-ad-compact-action span {
  transform: translateX(4px);
}

.market-ad-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.market-ad-slide {
  height: 100%;
  animation: market-ad-carousel-enter 420ms both cubic-bezier(0.2, 0.65, 0.2, 1);
}

.market-ad-slide[hidden] {
  display: none;
}

.market-ad-card {
  display: grid;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.market-ad-card:focus-visible {
  outline: 3px solid rgba(214, 184, 113, 0.8);
  outline-offset: 3px;
}

.market-ad-carousel-controls {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.market-ad-carousel-pagination button {
  display: grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  font-size: 0;
}

.market-ad-carousel-pagination {
  display: inline-flex;
  gap: 5px;
  pointer-events: auto;
}

.market-ad-carousel-pagination button {
  position: relative;
  min-width: 10px;
  width: 10px;
  place-items: end center;
}

.market-ad-carousel-pagination button::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 249, 237, 0.55);
  content: "";
  transition: width 180ms ease, background-color 180ms ease;
}

.market-ad-carousel-pagination button.is-active::after {
  width: 12px;
  border-radius: 99px;
  background: #fff9ed;
}

.designer-ad-compact {
  position: relative;
  grid-template-columns: 188px minmax(0, 1fr) 230px auto;
  border-color: #536259;
  background: #26312e;
}

.designer-ad-compact .restaurant-ad-compact-image {
  background: #17201e;
}

.designer-ad-compact .restaurant-ad-compact-image::after {
  background: linear-gradient(90deg, rgba(19, 28, 26, 0.08), rgba(19, 28, 26, 0.68));
}

.designer-ad-compact .restaurant-ad-compact-image span,
.designer-ad-compact .restaurant-ad-compact-overline {
  color: #cbd7b3;
}

.designer-ad-compact .restaurant-ad-compact-gallery,
.designer-ad-compact .restaurant-ad-compact-thumbnail + .restaurant-ad-compact-thumbnail,
.designer-ad-compact .restaurant-ad-compact-action {
  border-color: rgba(214, 224, 195, 0.2);
}

.designer-ad-compact .restaurant-ad-compact-action {
  position: static;
  display: inline-flex;
  justify-content: center;
  width: auto;
  min-height: 0;
  border-left: 1px solid rgba(214, 224, 195, 0.2);
  background: transparent;
  color: #dfebc8;
  padding: 0 22px;
  text-shadow: none;
}

.designer-ad-case {
  position: relative;
  display: block;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid rgba(214, 224, 195, 0.2);
  background: #1c2824;
}

.designer-ad-case-card {
  position: absolute;
  display: block;
  width: 142px;
  height: 64px;
  overflow: hidden;
  border: 2px solid rgba(249, 247, 240, 0.86);
  background: #26312e;
  box-shadow: 0 8px 16px rgba(10, 17, 15, 0.3);
}

.designer-ad-case-card--kitchen {
  top: 7px;
  left: 18px;
  z-index: 1;
  transform: rotate(-3deg);
}

.designer-ad-case-card--bedroom {
  top: 37px;
  right: 12px;
  z-index: 2;
  transform: rotate(2.5deg);
}

.designer-ad-case-card--living {
  bottom: 7px;
  left: 36px;
  z-index: 3;
  transform: rotate(-1.25deg);
}

.designer-ad-case-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 360ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 360ms ease;
}

.designer-ad-compact:hover .designer-ad-case-card img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.055);
}

@keyframes market-ad-carousel-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ad-detail-page img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.restaurant-page {
  width: 100vw;
  margin-top: -34px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #fcfaf5;
}

.restaurant-story-hero {
  position: relative;
  min-height: min(660px, calc(100svh - 64px));
  overflow: hidden;
  background: #1d1711;
  color: #fff9ed;
}

.restaurant-story-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 61%;
  filter: saturate(1.1) contrast(1.04);
}

.restaurant-story-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 12, 8, 0.86) 0%, rgba(18, 12, 8, 0.51) 39%, rgba(18, 12, 8, 0.08) 74%), linear-gradient(0deg, rgba(18, 12, 8, 0.44), transparent 44%);
}

.restaurant-story-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.restaurant-story-back,
.designer-story-back {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  color: rgba(255, 249, 237, 0.76);
  padding-top: 26px;
  font-size: 13px;
  font-weight: 760;
}

.restaurant-story-back:hover,
.designer-story-back:hover {
  color: #fff9ed;
}

.restaurant-story-hero-copy {
  display: grid;
  justify-items: start;
  max-width: min(1120px, calc(100% - 64px));
  padding-top: clamp(161px, calc(21vh + 41px), 231px);
  animation: restaurant-ad-rise 620ms 120ms both cubic-bezier(0.2, 0.65, 0.2, 1);
}

.restaurant-story-hero-copy p,
.restaurant-story-hero-copy strong,
.restaurant-story-hero-copy > span {
  margin: 0;
}

.restaurant-story-hero-copy p {
  color: #f5ce7d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.restaurant-story-hero-copy h1 {
  margin: 13px 0 13px;
  color: #fff9ed;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(56px, 8.4vw, 112px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.95;
}

.restaurant-story-hero-copy strong {
  color: #f6d489;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.17em;
}

.restaurant-story-hero-copy > span {
  margin-top: 24px;
  color: rgba(255, 249, 237, 0.8);
  font-size: 15px;
  letter-spacing: 0.15em;
}

.restaurant-story-hero-copy > a,
.restaurant-story-return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  border-bottom: 1px solid #f0c874;
  color: #ffe4a2;
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}

.restaurant-story-hero-copy > a span,
.restaurant-story-return span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.restaurant-story-hero-copy > a:hover span {
  transform: translateY(4px);
}

.restaurant-story-intro,
.restaurant-story-dishes,
.restaurant-story-location {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.restaurant-story-intro {
  max-width: 760px;
  margin-top: 112px;
  margin-bottom: 112px;
  text-align: center;
}

.restaurant-story-kicker,
.restaurant-story-dishes-copy > p {
  margin: 0;
  color: #b34e32;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.restaurant-story-intro h2,
.restaurant-story-dishes h2,
.restaurant-story-location h2 {
  margin: 15px 0 18px;
  color: #24170f;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.restaurant-story-intro > p:last-child {
  margin: 0;
  color: #756d65;
  font-size: 16px;
  line-height: 1.9;
}

.restaurant-story-origin {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 116px);
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto 140px;
  background: #21170f;
  color: #fff9ed;
  padding: clamp(38px, 6vw, 78px);
}

.restaurant-story-origin-title p {
  margin: 0;
  color: #f1c870;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.restaurant-story-origin h2 {
  margin: 15px 0 0;
  color: #fff9ed;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.24;
}

.restaurant-story-origin-copy > p {
  margin: 0;
  color: rgba(255, 249, 237, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.restaurant-story-origin-copy > p + p {
  margin-top: 18px;
}

.restaurant-story-origin-marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 232, 172, 0.24);
  padding-top: 19px;
}

.restaurant-story-origin-marks span {
  display: grid;
  gap: 3px;
  color: rgba(255, 249, 237, 0.58);
  font-size: 12px;
}

.restaurant-story-origin-marks strong {
  color: #f7d381;
  font-size: 14px;
  font-weight: 850;
}

.restaurant-neighbor-picks {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto 140px;
  border-top: 1px solid #d9d1c8;
  border-bottom: 1px solid #d9d1c8;
  padding: clamp(34px, 5vw, 64px) 0;
}

.restaurant-neighbor-picks-heading {
  display: grid;
  gap: 0;
  max-width: 610px;
}

.restaurant-neighbor-picks-heading h2 {
  margin: 14px 0;
  color: #24170f;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.restaurant-neighbor-picks-heading > p:last-child {
  margin: 0;
  color: #756d65;
  font-size: 15px;
}

.restaurant-neighbor-picks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid #d9d1c8;
}

.restaurant-neighbor-picks-grid section {
  display: grid;
  gap: 8px;
  min-height: 104px;
  border-bottom: 1px solid #d9d1c8;
  padding: 19px 28px 18px 0;
}

.restaurant-neighbor-picks-grid section:nth-child(odd) {
  border-right: 1px solid #d9d1c8;
  padding-right: 28px;
}

.restaurant-neighbor-picks-grid section:nth-child(even) {
  padding-left: 28px;
}

.restaurant-neighbor-picks-grid p,
.restaurant-neighbor-picks-note {
  margin: 0;
}

.restaurant-neighbor-picks-grid p {
  color: #b34e32;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.restaurant-neighbor-picks-grid strong {
  color: #34251b;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.restaurant-neighbor-picks-note {
  margin-top: 18px;
  color: #756d65;
  font-size: 13px;
}

.restaurant-story-dishes {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  align-items: center;
  gap: clamp(44px, 8vw, 120px);
  margin-bottom: 140px;
}

.restaurant-story-dishes figure,
.restaurant-story-location figure {
  margin: 0;
}

.restaurant-story-dishes figure {
  position: relative;
  overflow: hidden;
  background: #1d1711;
}

.restaurant-story-dishes figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.14 / 1;
  object-fit: cover;
  object-position: 50% 45%;
}

.restaurant-story-dishes figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: #1d1711;
  color: #fff9ed;
  padding: 14px 20px;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 18px;
}

.restaurant-story-dishes figcaption span {
  color: #f0c874;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.restaurant-story-dishes h2 {
  font-size: clamp(29px, 3.5vw, 46px);
}

.restaurant-story-dishes ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  border-top: 1px solid #d9d1c8;
  padding: 20px 0 0;
  list-style: none;
}

.restaurant-story-dishes li {
  color: #6c6258;
  font-size: 15px;
}

.restaurant-story-dishes li::before {
  color: #b34e32;
  content: "· ";
  font-weight: 900;
}

.restaurant-menu-gallery {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto 140px;
}

.restaurant-menu-gallery-heading {
  max-width: 620px;
  margin-bottom: 38px;
}

.restaurant-menu-gallery-heading h2 {
  margin: 14px 0;
  color: #24170f;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.restaurant-menu-gallery-heading > p:last-child {
  margin: 0;
  color: #756d65;
  font-size: 15px;
}

.restaurant-menu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  gap: 12px;
}

.restaurant-menu-gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #20170f;
}

.restaurant-menu-gallery-grid .restaurant-menu-gallery-featured {
  grid-row: span 2;
  grid-column: span 2;
}

.restaurant-menu-gallery-grid figure:last-child {
  grid-column: span 2;
}

.restaurant-menu-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transition: transform 420ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 420ms ease;
}

.restaurant-menu-gallery-grid figure::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  background: linear-gradient(transparent, rgba(18, 12, 8, 0.77));
  content: "";
}

.restaurant-menu-gallery-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fff9ed;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.restaurant-menu-gallery-grid figure:hover img {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.055);
}

.restaurant-story-location {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  margin-bottom: 100px;
  background: #f1ede3;
  padding: clamp(30px, 5vw, 70px);
}

.restaurant-story-location h2 {
  font-size: clamp(27px, 3.2vw, 42px);
}

.restaurant-story-location address {
  color: #4a4037;
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
}

.restaurant-story-location-copy > p:not(.restaurant-story-kicker) {
  margin: 20px 0 0;
  color: #756d65;
  font-size: 14px;
}

.restaurant-story-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 24px;
}

.restaurant-story-location-actions .restaurant-story-return,
.restaurant-story-location-actions .restaurant-story-map-action {
  margin-top: 0;
}

.restaurant-story-map-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #1d1711;
  color: #1d1711;
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 850;
}

.restaurant-story-map-action span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.restaurant-story-map-action:hover span {
  transform: translate(3px, -3px);
}

.restaurant-story-return {
  margin-top: 24px;
  border-color: #b34e32;
  color: #9d3d25;
}

.restaurant-story-return:hover span {
  transform: translateX(4px);
}

.restaurant-story-location figure {
  overflow: hidden;
  background: #202020;
}

.restaurant-story-location figure img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: 50% 49%;
}

.restaurant-story-location figcaption {
  color: rgba(255, 249, 237, 0.78);
  padding: 11px 14px;
  font-size: 12px;
}

.designer-page {
  width: 100vw;
  margin-top: -34px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #f4f1e9;
  color: #312f2a;
}

.designer-story-hero {
  position: relative;
  min-height: min(700px, calc(100svh - 64px));
  overflow: hidden;
  background: #24302c;
  color: #f9f7f0;
}

.designer-story-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.92) contrast(1.04);
}

.designer-story-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 30, 0.88) 0%, rgba(23, 33, 30, 0.55) 39%, rgba(23, 33, 30, 0.09) 72%), linear-gradient(0deg, rgba(23, 33, 30, 0.44), transparent 48%);
}

.designer-story-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: clamp(184px, calc(22vh + 45px), 250px);
  animation: designer-story-rise 620ms 100ms both cubic-bezier(0.2, 0.65, 0.2, 1);
}

.designer-story-hero-copy p,
.designer-story-hero-copy strong {
  margin: 0;
}

.designer-story-hero-copy p {
  color: #d6e2bd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.designer-story-hero-copy h1 {
  margin: 14px 0 16px;
  color: #fffdf7;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(60px, 8.7vw, 116px);
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 0.94;
}

.designer-story-hero-copy strong {
  max-width: 430px;
  color: rgba(255, 253, 247, 0.88);
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.designer-story-hero-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  border-bottom: 1px solid #cdddb0;
  color: #eff5df;
  padding-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}

.designer-story-hero-copy > a span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.designer-story-hero-copy > a:hover span {
  transform: translateY(4px);
}

.designer-profile,
.designer-projects {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.designer-profile {
  display: grid;
  grid-template-columns: minmax(208px, 244px) minmax(0, 1fr);
  grid-template-areas:
    "visual copy"
    "visual quote";
  column-gap: clamp(48px, 7vw, 104px);
  row-gap: 0;
  align-items: start;
  margin-top: 96px;
  margin-bottom: 96px;
  scroll-margin-top: 84px;
}

.designer-profile-copy {
  grid-area: copy;
}

.designer-profile-visual {
  grid-area: visual;
  position: sticky;
  top: 92px;
  align-self: start;
  width: min(100%, 244px);
}

.designer-profile-portrait {
  position: relative;
  aspect-ratio: 0.74 / 1;
  overflow: hidden;
  background: #515967;
}

.designer-profile-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(22, 30, 28, 0.18));
  content: "";
  pointer-events: none;
}

.designer-profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.designer-profile-identity {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  border-top: 1px solid #b9c0b0;
  padding-top: 14px;
}

.designer-profile-identity p,
.designer-profile-identity strong,
.designer-profile-identity span {
  margin: 0;
}

.designer-profile-identity p,
.designer-profile-identity span {
  color: #667263;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.designer-profile-identity strong {
  color: #2d3930;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.designer-story-kicker {
  margin: 0;
  color: #63735d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.designer-profile h2,
.designer-services h2,
.designer-projects h2,
.designer-story-closing h2 {
  margin: 12px 0 0;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.32;
}

.designer-profile h2 {
  max-width: 790px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.27;
}

.designer-profile-copy > p:not(.designer-story-kicker) {
  max-width: 680px;
  margin: 19px 0 0;
  color: #65665e;
  font-size: 15px;
  line-height: 1.9;
}

.designer-profile-timeline {
  margin-top: 40px;
}

.designer-profile-timeline-heading {
  margin: 0;
  color: #5c6c57;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.designer-profile-facts {
  display: grid;
  gap: 0;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.designer-profile-facts li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  border-top: 1px solid #d7d7cb;
  min-height: 48px;
  padding: 10px 0;
}

.designer-profile-facts li:last-child {
  border-bottom: 1px solid #d7d7cb;
}

.designer-profile-facts time {
  color: #71826b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.designer-profile-facts span {
  color: #40443c;
  font-size: 14px;
  font-weight: 720;
}

.designer-profile blockquote {
  grid-area: quote;
  margin: 28px 0 0;
  border-left: 2px solid #9bab8e;
  color: #485344;
  padding-left: 16px;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 17px;
  line-height: 1.7;
}

.designer-services {
  background: #2b3631;
  color: #f8f5ed;
  padding: 106px 0;
}

.designer-services-heading,
.designer-services ol {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.designer-services .designer-story-kicker {
  color: #c9d8b4;
}

.designer-services h2 {
  max-width: 760px;
  color: #fffdf7;
}

.designer-services ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  padding: 0;
  list-style: none;
}

.designer-services li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  min-height: 158px;
  border-left: 1px solid rgba(224, 235, 204, 0.28);
  padding: 6px clamp(20px, 3vw, 42px);
}

.designer-services li:first-child {
  border-left: 0;
  padding-left: 0;
}

.designer-services li > span {
  color: #c8d8ad;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.designer-services h3,
.designer-services p {
  margin: 0;
}

.designer-services h3 {
  color: #fffdf7;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.designer-services p {
  margin-top: 12px;
  color: rgba(248, 245, 237, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.designer-projects {
  margin-top: 118px;
  margin-bottom: 118px;
}

.designer-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: 38px;
}

.designer-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 12px;
}

.designer-project-grid figure {
  position: relative;
  min-height: 370px;
  margin: 0;
  overflow: hidden;
  background: #303a35;
}

.designer-project-grid .designer-project-featured {
  min-height: 500px;
}

.designer-project-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.designer-project-grid figure:hover img {
  transform: scale(1.035);
}

.designer-project-grid figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  color: #fffdf7;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(19, 27, 24, 0.65);
}

.designer-story-closing {
  display: grid;
  justify-items: center;
  background: #dce1d2;
  padding: 110px 32px;
  text-align: center;
}

.designer-story-closing h2 {
  max-width: 660px;
  color: #2e3932;
}

.designer-story-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  align-items: center;
  margin-top: 30px;
}

.designer-wechat-action.lightbox-trigger,
.designer-story-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.designer-wechat-action.lightbox-trigger {
  border: 1px solid #2f723d;
  background: #2f8c46;
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 114, 61, 0.17);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.designer-wechat-action.lightbox-trigger:hover {
  background: #24763a;
  transform: translateY(-1px);
}

.designer-story-return {
  border-bottom: 1px solid #485b4b;
  border-radius: 0;
  color: #344837;
  padding: 0 0 5px;
}

.designer-wechat-action span,
.designer-story-return span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.designer-wechat-action:hover span,
.designer-story-return:hover span {
  transform: translateX(4px);
}

@keyframes designer-story-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-ad-slide,
  .restaurant-ad-compact-image img,
  .restaurant-ad-compact-action span,
  .restaurant-story-hero-copy,
  .restaurant-story-hero-copy > a span,
  .restaurant-story-return span,
  .restaurant-story-map-action span,
  .restaurant-menu-gallery-grid img,
  .designer-story-hero-copy,
  .designer-story-hero-copy > a span,
  .designer-wechat-action,
  .designer-wechat-action span,
  .designer-story-return span,
  .designer-project-grid img {
    animation: none;
    transition: none;
  }
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-content: start;
  gap: 16px;
}

.listing-feed {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
}

.listing-feed-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-feed-load-more {
  min-width: 136px;
}

.listing-login-reminder {
  width: min(440px, calc(100vw - 32px));
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.listing-login-reminder::backdrop {
  background: rgba(27, 29, 31, 0.28);
}

.listing-login-reminder-panel {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(140deg, #f1f8f4 0%, var(--surface) 58%);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(27, 29, 31, 0.22);
}

.listing-login-reminder-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.listing-login-reminder h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.listing-login-reminder-panel > p:not(.listing-login-reminder-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.listing-login-reminder-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.listing-login-reminder-close:hover,
.listing-login-reminder-close:focus-visible {
  background: rgba(23, 106, 95, 0.1);
  color: var(--accent-dark);
}

.listing-login-reminder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.listing-login-reminder-actions > * {
  flex: 1 1 140px;
  justify-content: center;
}

.listing-login-reminder-actions .secondary-action {
  border-color: #d7d9d5;
  background: #fff;
  color: #4b504d;
}

.listing-login-reminder-actions .secondary-action:hover,
.listing-login-reminder-actions .secondary-action:focus-visible {
  border-color: #aaafaa;
  background: #f7f8f6;
  color: #1b1d1f;
}

.listing-login-reminder-actions .primary-action {
  border-color: #1b1d1f;
  background: #1b1d1f;
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 29, 31, 0.16);
}

.listing-login-reminder-actions .primary-action:hover,
.listing-login-reminder-actions .primary-action:focus-visible {
  border-color: #363b38;
  background: #363b38;
  color: #fff;
}

.listing-login-reminder-actions a {
  text-decoration: none;
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.listing-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.listing-card > a {
  display: block;
}

.listing-image,
.detail-image,
.review-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #e7ebe5;
  color: var(--accent);
  font-size: 28px;
  font-weight: 850;
}

.listing-image {
  position: relative;
  height: clamp(140px, 15vw, 180px);
  aspect-ratio: auto;
  overflow: hidden;
}

.listing-image img,
.detail-image img,
.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.listing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.listing-heading h2 {
  display: -webkit-box;
  min-height: calc(1.25em * 2);
  margin-bottom: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 17px;
  line-height: 1.25;
}

.listing-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.listing-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.listing-card .price {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.interest-pill {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8f5;
  color: var(--muted);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.sold-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(126, 112, 94, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #6f6252;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.listing-card.is-sold .listing-image img {
  filter: saturate(0.72) brightness(0.92);
}

.seller-line {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.row h2 {
  margin-bottom: 0;
}

.price {
  color: var(--money);
  font-weight: 900;
  white-space: nowrap;
}

.price.large {
  font-size: 34px;
}

.meta-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #ecece7;
  color: var(--ink);
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 760;
}

.status-available {
  background: #e5f3eb;
  color: var(--ok);
}

.status-bought {
  background: #e5f3eb;
  color: var(--ok);
}

.status-sold {
  background: #e8edf4;
  color: #24517a;
}

.status-pending,
.status-requested,
.status-buying {
  background: #fbefd8;
  color: var(--warn);
}

.status-selling {
  background: #e4f2f0;
  color: var(--accent-dark);
}

.status-trading {
  background: #e8edf4;
  color: #24517a;
}

.status-completed {
  background: #ece8df;
  color: #6f6252;
}

.status-pending_review,
.status-reserved {
  background: #fbefd8;
  color: var(--warn);
}

.status-rejected,
.status-cancelled {
  background: #f6e1df;
  color: var(--bad);
}

.status-delisted {
  background: #ecece7;
  color: var(--muted);
}

.empty-state,
.auth-shell,
.form-stack,
.table-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.empty-state {
  padding: 36px;
  color: var(--muted);
}

.auth-shell {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.form-error {
  border: 1px solid #e4b8b3;
  border-radius: 8px;
  background: #f8e7e4;
  color: var(--bad);
  padding: 10px 12px;
  font-weight: 760;
}

.flash-success {
  width: min(760px, 100%);
  margin: 0 auto 14px;
  border: 1px solid #b7dfc8;
  border-radius: 8px;
  background: #f0faf4;
  color: #17643a;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 760;
}

.form-stack {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
}

.form-stack.wide {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
}

.publish-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.publish-note {
  width: min(760px, 100%);
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.publish-form {
  box-shadow: 0 16px 42px rgba(27, 29, 31, 0.06);
}

.publish-form .split {
  grid-template-columns: minmax(0, 1fr);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

select {
  min-height: 46px;
}

textarea {
  resize: vertical;
}

.money-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 260px;
  height: 46px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.money-input span {
  padding-left: 13px;
  color: var(--money);
  font-weight: 900;
}

.money-input input {
  min-height: 44px;
  border: 0;
  padding-left: 8px;
}

.money-input input:focus {
  outline: none;
}

.money-input:focus-within {
  border-color: var(--line);
  box-shadow: none;
}

.money-input.small {
  max-width: 160px;
  height: 40px;
  min-height: 40px;
}

.money-input.small input {
  min-height: 38px;
}

.price-field {
  align-content: start;
}

.delivery-fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.delivery-fieldset legend {
  margin-left: 8px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.delivery-fieldset .radio-row {
  min-height: 44px;
  border-bottom: 0;
}

.radio-row.compact {
  min-height: 34px;
  padding: 6px 8px;
  gap: 8px;
}

.delivery-option {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.fulfillment-options {
  display: grid;
  gap: 6px;
  width: 100%;
  margin-left: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
  padding: 8px 10px;
}

.fulfillment-options[hidden],
.fee-field[hidden] {
  display: none;
}

.fee-field {
  align-items: start;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.upload-panel {
  display: grid;
  gap: 10px;
}

.listing-ai-draft-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 30px;
  margin-top: -6px;
}

.listing-ai-draft-action {
  min-height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 3px 0;
  font-size: 14px;
  font-weight: 850;
}

.listing-ai-draft-action:hover,
.listing-ai-draft-action:focus-visible {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.listing-ai-draft-action:disabled {
  cursor: not-allowed;
  color: #a6aaa5;
  opacity: 1;
  text-decoration: none;
}

.listing-ai-draft-action[data-loading="true"] {
  cursor: wait;
  color: var(--accent-dark);
}

.listing-ai-draft-action::before {
  content: "AI";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 18px;
  margin-right: 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  vertical-align: 1px;
}

.listing-ai-draft-action::after {
  content: ">";
  margin-left: 4px;
  font-size: 16px;
  line-height: 1;
}

.listing-ai-draft-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-ai-draft-status[data-state="success"] {
  color: var(--accent-dark);
}

.listing-ai-draft-status[data-state="error"] {
  color: var(--bad);
}

.listing-relist-image-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-relist-image-status[data-state="error"] {
  color: var(--bad);
}

.publish-media-panel {
  gap: 8px;
}

.publish-media-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.listing-image-add {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 148px;
  aspect-ratio: 4 / 3;
  border: 1px dashed #b7c3bd;
  border-radius: 8px;
  background: #f7faf7;
  color: var(--muted);
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 760;
}

.listing-image-add:hover,
.listing-image-add:focus-within {
  border-color: var(--accent);
  background: #eef7f2;
  color: var(--accent-dark);
}

.listing-image-add-plus {
  color: var(--accent);
  font-size: 26px;
  font-weight: 450;
  line-height: 0.8;
}

.visually-hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cover-picker {
  display: block;
  flex: 1 1 320px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.cover-picker[hidden] {
  display: none;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 148px);
  justify-content: start;
  gap: 10px;
}

.image-choice {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  color: var(--ink);
}

.image-choice:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.image-choice:has(input:checked) .image-cover-badge {
  display: inline-flex;
}

.image-choice input {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  margin: 0;
}

.image-choice-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #e7ebe5;
  color: var(--accent);
  font-weight: 850;
}

.image-choice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-choice-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.image-cover-badge {
  position: absolute;
  z-index: 2;
  bottom: 6px;
  left: 6px;
  display: none;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.image-remove-button {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  border-color: #d3a19c;
  background: rgba(255, 255, 255, 0.9);
  color: var(--bad);
  padding: 0;
  font-size: 0;
}

.image-remove-button::after {
  content: "×";
  font-size: 11px;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.detail-image {
  max-height: 270px;
  overflow: hidden;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 96px));
  gap: 8px;
}

.thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 0;
}

.thumbnail.is-cover {
  border-color: var(--accent);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  background: rgba(27, 29, 31, 0.72);
  color: #fff;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 760;
}

.detail-info {
  display: grid;
  gap: 16px;
}

.request-form {
  display: grid;
  gap: 12px;
}

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

.listing-message-trigger {
  min-height: 44px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--accent-dark);
  padding: 10px 14px;
}

.listing-message-trigger:hover,
.listing-message-trigger:focus-visible {
  border-color: var(--accent);
  background: #eef7f2;
  color: var(--accent-dark);
}

.listing-action-bar button:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #f1f2ef;
  color: #9a9d98;
  opacity: 1;
}

.listing-action-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-action-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  box-shadow: 0 18px 50px rgba(27, 29, 31, 0.18);
}

.listing-action-dialog::backdrop {
  background: rgba(27, 29, 31, 0.34);
}

.listing-action-dialog .request-form {
  gap: 16px;
  padding: 24px;
}

.listing-action-dialog-head {
  display: grid;
  gap: 4px;
}

.listing-action-dialog-head h2,
.listing-action-dialog-head p {
  margin: 0;
}

.listing-action-dialog-head h2 {
  font-size: 20px;
}

.listing-action-dialog-head p {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-action-dialog .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.listing-action-dialog .dialog-actions button {
  min-width: 100px;
}

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

.order-note {
  display: grid;
  gap: 6px;
}

.seller-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.listing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
  padding: 12px;
}

.listing-facts div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.listing-facts strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.fulfillment-list {
  display: grid;
  gap: 2px;
  white-space: normal;
}

.seller-info div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.seller-info strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.pickup,
.muted {
  color: var(--muted);
}

.history-filter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.history-filter-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 12px;
}

.history-filter-section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
}

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

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

.history-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.history-filter span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-filter strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  border-radius: 999px;
  background: #f0f0eb;
  color: var(--ink);
  padding: 2px 8px;
  font-size: 13px;
}

.history-filter:hover,
.history-filter.is-active {
  border-color: var(--accent);
  background: #eef7f2;
  color: var(--ink);
}

.history-filter:focus-visible {
  outline: 3px solid rgba(30, 124, 113, 0.22);
  outline-offset: 2px;
}

.history-filter.is-active strong {
  background: var(--accent);
  color: #fff;
}

.history-list {
  display: grid;
  gap: 12px;
}

.history-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(148px, auto);
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.history-card:hover {
  border-color: rgba(23, 106, 95, 0.42);
  box-shadow: 0 12px 28px rgba(27, 29, 31, 0.06);
}

.history-main {
  display: grid;
  align-content: start;
  min-width: 0;
}

.history-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.history-card h2 {
  margin: 0 0 10px;
  max-width: 760px;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.28;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 13px;
}

.history-side {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 152px;
  align-content: stretch;
  align-items: center;
  justify-items: stretch;
  gap: 0;
  min-width: 372px;
  border-left: 1px solid var(--line);
  padding-left: 0;
}

.history-buyer-slot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: stretch;
  align-self: stretch;
  box-sizing: border-box;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.history-action-slot {
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 8px;
  justify-self: stretch;
  align-self: stretch;
  box-sizing: border-box;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.history-action-slot form {
  margin: 0;
}

.history-complete-action,
.history-fail-action,
.history-delist-action,
.history-relist-action {
  width: 100%;
  min-height: 34px;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
}

.history-complete-action {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #fff;
}

.history-complete-action:hover,
.history-complete-action:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.history-delist-action {
  border-color: #9cc7be;
  background: #edf7f4;
  color: var(--accent-dark);
}

.history-delist-action:hover,
.history-delist-action:focus-visible {
  border-color: var(--accent);
  background: #dff0eb;
  color: var(--accent-dark);
}

.history-relist-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.history-relist-action:hover,
.history-relist-action:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.history-fail-action {
  justify-content: flex-end;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: var(--bad);
  padding: 2px 0;
  text-decoration: underline;
  text-decoration-color: rgba(163, 49, 49, 0.38);
  text-underline-offset: 3px;
}

.history-fail-action:hover,
.history-fail-action:focus-visible {
  background: transparent;
  color: #812d2d;
  text-decoration-color: currentColor;
}

.history-completion-wait {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.history-choose-buyer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  width: 100%;
  border-color: var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.history-choose-buyer:hover,
.history-choose-buyer:focus-visible {
  border-color: #393d3e;
  background: #393d3e;
  color: #fff;
}

.history-choose-buyer span {
  font-weight: 850;
}

.history-choose-buyer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 5px;
  font-size: 12px;
}

.history-buyer-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: -4px;
  padding-top: 14px;
}

.history-buyer-panel[hidden] {
  display: none;
}

.history-buyer-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.history-buyer-panel-head strong {
  font-size: 14px;
}

.history-buyer-panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.history-buyer-candidates {
  display: grid;
}

.history-buyer-candidate {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.history-buyer-candidate:first-child {
  border-top: 0;
  padding-top: 0;
}

.history-buyer-candidate img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef1ec;
  object-fit: cover;
}

.history-buyer-candidate > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.history-buyer-candidate strong,
.history-buyer-candidate span,
.history-buyer-candidate p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
}

.history-buyer-candidate strong {
  font-size: 14px;
  white-space: nowrap;
}

.history-buyer-candidate span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.history-buyer-candidate p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.history-buyer-candidate form {
  margin: 0;
}

.history-select-buyer-action {
  min-height: 34px;
  border-color: var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 850;
}

.history-select-buyer-action:hover,
.history-select-buyer-action:focus-visible {
  border-color: #393d3e;
  background: #393d3e;
  color: #fff;
}

.order-confirm-dialog,
.order-failure-dialog {
  width: min(460px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  box-shadow: 0 18px 50px rgba(27, 29, 31, 0.18);
}

.order-confirm-dialog::backdrop,
.order-failure-dialog::backdrop {
  background: rgba(27, 29, 31, 0.36);
}

.order-confirm-dialog form,
.order-failure-dialog form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.order-confirm-dialog h2,
.order-confirm-dialog p,
.order-failure-dialog h2,
.order-failure-dialog p {
  margin: 0;
}

.order-confirm-dialog h2,
.order-failure-dialog h2 {
  font-size: 20px;
}

.order-confirm-dialog p,
.order-failure-dialog p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-failure-dialog .danger-action {
  border-color: var(--bad);
  background: var(--bad);
  color: #fff;
}

.order-failure-dialog .danger-action:hover,
.order-failure-dialog .danger-action:focus-visible {
  border-color: #812d2d;
  background: #812d2d;
  color: #fff;
}

.order-confirm-action {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #fff;
}

.order-confirm-action:hover,
.order-confirm-action:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.order-confirm-dialog-danger .danger-action {
  border-color: var(--bad);
  background: var(--bad);
  color: #fff;
}

.order-confirm-dialog-danger .danger-action:hover,
.order-confirm-dialog-danger .danger-action:focus-visible {
  border-color: #812d2d;
  background: #812d2d;
  color: #fff;
}

.history-price {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0;
  text-align: center;
}

.history-price strong {
  color: var(--money);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.table-list {
  display: grid;
  gap: 12px;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.notice-card h2 {
  margin-bottom: 8px;
}

.message-text {
  border-left: 3px solid var(--accent);
  background: #f4f7f4;
  color: var(--ink);
  padding: 8px 10px;
}

.message-preview-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 14px;
  height: calc(100vh - 150px);
  min-height: 640px;
  overflow: hidden;
}

.conversation-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow-y: auto;
}

.conversation-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--bad);
  color: #fff;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.conversation-search {
  margin: 0;
  padding: 16px 18px 12px;
}

.conversation-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
  color: var(--ink);
  padding: 8px 11px;
  font-weight: 700;
}

.conversation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 18px 14px;
}

.conversation-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.conversation-tabs a span {
  color: inherit;
  font-size: 11px;
  font-weight: 900;
}

.conversation-tabs a:hover,
.conversation-tabs a.is-active {
  border-color: var(--accent);
  background: #eef7f2;
  color: var(--accent-dark);
}

.conversation-items {
  display: grid;
  gap: 2px;
  padding: 4px 18px 12px;
}

.conversation-entry {
  position: relative;
}

.conversation-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-height: 68px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 6px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.conversation-row::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 48px;
  top: calc(100% - 4px);
  z-index: 5;
  width: max-content;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #1f2933;
  color: #fff;
  padding: 8px 10px;
  box-shadow: 0 10px 24px rgba(27, 29, 31, 0.18);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: normal;
}

.conversation-row:hover::after,
.conversation-row:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.conversation-row:hover,
.conversation-row.is-active {
  border-color: var(--accent);
  background: #eef7f2;
}

.conversation-close-form {
  display: none;
  position: absolute;
  top: 9px;
  right: 8px;
  z-index: 6;
  margin: 0;
}

.conversation-entry.has-close .conversation-close-form {
  display: block;
}

.mobile-conversation-close-form {
  display: none;
}

.conversation-close-button {
  display: grid;
  width: 26px;
  height: 26px;
  min-height: 26px;
  place-items: center;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.conversation-close-button:hover,
.conversation-close-button:focus-visible {
  border-color: #e5bbbb;
  background: #f9eeee;
  color: var(--bad);
}

.conversation-avatar {
  width: 38px;
  height: 38px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef1ec;
  object-fit: cover;
}

.conversation-empty {
  display: grid;
  gap: 6px;
  margin: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.conversation-empty strong {
  color: var(--ink);
  font-size: 15px;
}

.product-art-1 {
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.72) 0 13%, transparent 14%),
    linear-gradient(135deg, #d9ece5 0 48%, #6fa08f 49% 100%);
}

.product-art-2 {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.68) 0 18%, transparent 19%),
    linear-gradient(135deg, #e8ddd0 0 52%, #5d6f63 53% 100%);
}

.product-art-3 {
  background:
    radial-gradient(circle at 68% 32%, #f4d7c5 0 16%, transparent 17%),
    linear-gradient(135deg, #d8e7f2 0 50%, #8da9bb 51% 100%);
}

.conversation-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.conversation-title-row {
  display: block;
  min-width: 0;
}

.conversation-identity {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.conversation-listing-title,
.conversation-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-title-row strong {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.conversation-listing-title,
.conversation-summary,
.conversation-time,
.conversation-side {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.conversation-time {
  display: block;
  line-height: 1.2;
}

.conversation-listing-title::before {
  content: "·";
  margin-right: 2px;
  color: var(--line);
}

.conversation-listing-title {
  min-width: 0;
  font-size: 11px;
}

.conversation-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.status-available {
  background: #dff1ed;
  color: var(--accent-dark);
}

.status-trading {
  background: #e7eef9;
  color: #245b8f;
}

.status-buying {
  background: #fff0d8;
  color: var(--warn);
}

.status-sold,
.status-bought {
  background: #e7eef9;
  color: #245b8f;
}

.status-cancelled,
.status-delisted,
.status-rejected {
  background: #f4e6e6;
  color: var(--bad);
}

.conversation-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 2px;
  align-self: stretch;
  justify-items: end;
  min-height: 48px;
  padding-top: 0;
}

.conversation-side .conversation-time {
  grid-row: 2;
  align-self: end;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.conversation-side .conversation-unread {
  grid-row: 1;
  align-self: start;
}

.conversation-entry.has-close .conversation-side {
  padding-right: 0;
}

.conversation-entry.has-close .conversation-unread {
  margin-right: 34px;
}

.chat-workspace {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.conversation-feedback-slot {
  min-height: 0;
  background: var(--surface);
  padding: 0 12px;
}

.conversation-success {
  margin: 8px 0 0;
  border: 1px solid #b7dfc8;
  border-radius: 6px;
  background: #f0faf4;
  color: #17643a;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.chat-product-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 12px;
}

.mobile-conversation-back {
  display: none;
}

.chat-product-main {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.chat-product-summary {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.chat-product-summary-link {
  display: grid;
  color: inherit;
}

.chat-product-summary-link:hover h1 {
  color: var(--accent-dark);
}

.chat-product-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.chat-product-listed-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.chat-product-main h1 {
  overflow: hidden;
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-product-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.chat-product-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-product-gallery {
  display: grid;
  grid-template-rows: 68px 28px;
  gap: 4px;
  width: 112px;
  height: 100px;
  max-width: 100%;
}

.chat-product-main-image {
  display: block;
  width: 112px;
  height: 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #dfe7e0;
  padding: 0;
  cursor: pointer;
}

.chat-product-main-image:focus-visible,
.chat-product-thumb:focus-visible {
  outline: 2px solid rgba(23, 106, 95, 0.45);
  outline-offset: 2px;
}

.chat-product-main-image-source {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chat-product-thumbnail-row {
  display: flex;
  gap: 4px;
  width: 112px;
  height: 28px;
  min-height: 28px;
  align-items: stretch;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scrollbar-width: none;
}

.chat-product-thumbnail-row::-webkit-scrollbar {
  display: none;
}

.chat-product-thumb {
  display: block;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  min-height: 0;
  aspect-ratio: 1;
  flex: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #dfe7e0;
  padding: 0;
  cursor: pointer;
}

.chat-product-thumb:hover,
.chat-product-thumb.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(18, 122, 104, 0.2);
}

.chat-product-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chat-product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--money);
}

.chat-product-price span {
  font-size: 17px;
  font-weight: 850;
}

.chat-product-price strong {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.chat-product-side {
  display: grid;
  gap: 8px;
  align-self: center;
  align-content: center;
  justify-items: end;
  min-width: 112px;
  min-height: 52px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.chat-thread {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  background: #f6f7f3;
  padding: 18px;
}

.chat-history-loader {
  justify-self: center;
}

.chat-history-loader button {
  min-height: 30px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 850;
}

.chat-history-loader button:disabled {
  cursor: default;
  opacity: 0.58;
}

.chat-event {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e9ece6;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.chat-event p,
.chat-message p {
  margin: 0;
}

.chat-message-group,
.chat-event-group {
  display: grid;
  gap: 6px;
}

.chat-message-time {
  justify-self: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.chat-message {
  display: grid;
  gap: 5px;
  max-width: min(78%, 620px);
}

.chat-message.is-other {
  grid-template-columns: minmax(0, 1fr);
  justify-self: start;
}

.chat-message.is-me {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  column-gap: 8px;
  justify-self: end;
}

.chat-message-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.chat-message-read-state {
  align-self: center;
  justify-self: end;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.chat-message-read-state.is-read {
  color: var(--accent);
}

.chat-message-read-state.is-unread {
  color: var(--warn);
}

.chat-message.is-me .chat-message-body {
  justify-items: end;
}

.chat-message p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
}

.chat-message.is-me p {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #fff;
}

.chat-thread-empty {
  justify-self: center;
  align-self: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
}

.chat-composer {
  position: relative;
  display: block;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 12px;
}

.chat-composer textarea {
  width: 100%;
  min-height: 64px;
  max-height: 120px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 92px 12px 14px;
  font-weight: 700;
  line-height: 1.45;
}

.chat-composer button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 850;
  line-height: 1;
}

.chat-composer button:disabled {
  cursor: default;
  opacity: 0.7;
}

.chat-empty-state {
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 32px;
  text-align: center;
}

.chat-empty-state h1 {
  margin: 0;
  font-size: 28px;
}

.chat-empty-state p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.listing-review-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.listing-search-field,
.listing-sort-control {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.listing-search-field input,
.listing-sort-control select {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 650;
}

.listing-sort-control select {
  padding-right: 36px;
}

.listing-search-field input:focus-visible,
.listing-sort-control select:focus-visible,
.moderation-reason-dialog textarea:focus-visible {
  outline: 2px solid rgba(23, 106, 95, 0.28);
  outline-offset: 2px;
}

.listing-toolbar-button {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(168px, 220px);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.review-media,
.review-content,
.review-actions,
.reject-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.review-image {
  overflow: hidden;
  border-radius: 8px;
}

.review-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.review-thumbs .lightbox-trigger {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e7ebe5;
}

.review-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-content h2,
.review-content p {
  margin-bottom: 8px;
}

.review-actions {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.review-actions form {
  margin: 0;
}

.review-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.review-title-row h2 {
  margin-bottom: 0;
}

.review-title-row .price {
  margin: 0;
  color: var(--money);
  font-size: 22px;
  font-weight: 860;
  line-height: 1.1;
  white-space: nowrap;
}

.review-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  align-content: start;
}

.review-inline-action {
  min-height: 36px;
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.review-reject-action {
  min-width: 0;
  padding-inline: 8px;
}

.moderation-reason-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.moderation-reason-dialog::backdrop {
  background: rgba(27, 29, 31, 0.36);
}

.moderation-reason-dialog form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.moderation-reason-dialog h2 {
  margin: 0;
  font-size: 22px;
}

.moderation-reason-dialog label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.moderation-reason-dialog textarea {
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 650;
}

.table-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
}

.table-row p {
  color: var(--muted);
  margin-bottom: 8px;
}

.request-line {
  color: var(--accent) !important;
  font-weight: 760;
}

.actions {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-width: 128px;
}

.order-actions {
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-start;
}

.order-complete-action {
  min-height: 40px;
  border-color: var(--accent-dark);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
}

.order-complete-action:hover,
.order-complete-action:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.order-fail-action {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--bad);
  padding: 8px 4px;
  text-decoration: underline;
  text-decoration-color: rgba(163, 49, 49, 0.38);
  text-underline-offset: 3px;
}

.order-fail-action:hover,
.order-fail-action:focus-visible {
  background: transparent;
  color: #812d2d;
  text-decoration-color: currentColor;
}

.inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.invite-management-form {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
  padding: 16px;
}

.invite-management-form label {
  min-width: 0;
}

.invite-dynamic-field {
  display: grid;
  min-width: 0;
}

.invite-field-option {
  min-width: 0;
}

.invite-field-option[hidden] {
  display: none;
}

.invite-management-form select,
.invite-page-size select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236c7378' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  padding-right: 34px;
}

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

.invite-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.invite-list-head h2 {
  margin: 0;
  font-size: 16px;
}

.invite-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 360px);
  margin: 0;
}

.invite-search input {
  min-width: 0;
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.invite-search button {
  min-height: 30px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--accent);
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.invite-copy-button {
  min-height: 30px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--accent);
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.invite-disable-button {
  min-height: 30px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--bad);
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.invite-search button:hover,
.invite-copy-button:hover {
  border-color: var(--accent);
  background: #eef7f2;
}

.invite-disable-button:hover {
  border-color: var(--bad);
  background: #fff8f7;
}

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

.invite-page-size {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.invite-page-size span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.invite-page-size select {
  width: auto;
  min-width: 86px;
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.invite-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.invite-page-link,
.invite-page-current {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 7px 12px;
  font-weight: 800;
}

.invite-page-link {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.invite-page-link:not(.is-disabled):hover {
  border-color: var(--accent);
  background: #eef7f2;
}

.invite-page-link.is-disabled {
  background: #f4f5f1;
  color: #a3aaa6;
  cursor: not-allowed;
  pointer-events: none;
}

.invite-page-current {
  background: #f7f8f5;
}

.invite-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.invite-row h2 {
  margin-bottom: 8px;
}

.invite-row p {
  margin-bottom: 8px;
  color: var(--muted);
}

.invite-row p:last-child {
  margin-bottom: 0;
}

.invite-row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 104px;
}

.invite-row-actions .status {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f5f1;
  color: #6f7773;
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.2;
}

.invite-row-actions form {
  margin: 0;
}

.invite-empty-state {
  margin: 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  color: var(--ink);
}

.checkbox-row input {
  width: auto;
}

code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #f1f1ed;
  padding: 4px 6px;
}

.account-panel {
  display: grid;
  gap: 18px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.account-summary {
  display: grid;
  gap: 4px;
}

.account-summary .muted {
  margin-bottom: 0;
}

.account-name {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.settings-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.settings-side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: calc(100vh - 190px);
  max-height: calc(100vh - 190px);
}

.settings-menu {
  position: static;
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 6px;
}

.settings-menu-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.settings-menu-link span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.settings-menu-link:hover,
.settings-menu-link.is-active {
  border-color: var(--accent);
  background: #eef7f2;
  color: var(--ink);
}

.settings-menu-link.is-active span,
.settings-menu-link:hover span {
  color: var(--ink);
}

.settings-menu-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 999px;
  background: #a73535;
  color: #fff;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.settings-menu-link:hover .settings-menu-count,
.settings-menu-link.is-active .settings-menu-count {
  background: #8f2929;
  color: #fff;
}

.settings-side-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  border-bottom: 1px solid var(--line);
  padding-right: 6px;
  padding-bottom: 12px;
  padding-left: 6px;
}

.settings-logout-panel {
  display: grid;
  gap: 8px;
  background: transparent;
}

.settings-content {
  width: 100%;
  max-width: 980px;
  min-width: 0;
}

.settings-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.settings-invite-panel {
  align-content: start;
}

.settings-listings-panel {
  align-content: start;
}

.settings-listings-panel .review-card {
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(148px, 188px);
}

.settings-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.settings-panel-head h1 {
  margin: 3px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.settings-form {
  display: grid;
  gap: 12px;
}

.settings-profile-form {
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.profile-settings-grid {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.profile-details {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.settings-form button,
.visibility-form button,
.settings-logout-panel .account-logout button,
.settings-link-action {
  width: fit-content;
}

.settings-link-action {
  text-decoration: none;
}

.settings-invite-panel .invite-management-list {
  margin-top: 2px;
}

.settings-logout-trigger {
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  border-color: var(--line);
  background: var(--surface);
  color: var(--bad);
  padding: 8px 12px;
}

.logout-confirm-dialog {
  width: min(380px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 18px 50px rgba(27, 29, 31, 0.18);
}

.logout-confirm-dialog::backdrop {
  background: rgba(27, 29, 31, 0.34);
}

.logout-confirm-dialog h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.logout-confirm-dialog p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.logout-confirm-dialog .account-logout {
  width: 100%;
}

.resident-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.settings-profile-info {
  border-top: 0;
  padding-top: 0;
}

.avatar-settings {
  display: grid;
  grid-template-columns: auto;
  align-items: start;
  justify-items: start;
  width: fit-content;
}

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

.avatar-preview-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.avatar-preview-button:hover .settings-avatar-preview {
  border-color: var(--accent);
}

.avatar-preview-button::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(27, 29, 31, 0.58);
  color: #fff;
  content: "更改头像";
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  transition: opacity 160ms ease;
}

.avatar-preview-button:hover::after,
.avatar-preview-button:focus-visible::after {
  opacity: 1;
}

.settings-avatar-preview {
  width: 104px;
  height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e4f2f0;
  object-fit: cover;
}

.settings-avatar-canvas {
  display: none;
}

.avatar-crop-stage {
  position: relative;
  width: min(360px, calc(100vw - 64px));
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121615;
  touch-action: none;
}

.avatar-crop-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.avatar-crop-box {
  position: absolute;
  z-index: 2;
  border: 2px solid #fff;
  border-radius: 8px;
  background-image:
    linear-gradient(to right, transparent 33%, rgba(255, 255, 255, 0.42) 33%, rgba(255, 255, 255, 0.42) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, 0.42) 66%, rgba(255, 255, 255, 0.42) calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(to bottom, transparent 33%, rgba(255, 255, 255, 0.42) 33%, rgba(255, 255, 255, 0.42) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255, 255, 255, 0.42) 66%, rgba(255, 255, 255, 0.42) calc(66% + 1px), transparent calc(66% + 1px));
  box-shadow: 0 0 0 9999px rgba(27, 29, 31, 0.46);
  cursor: grab;
  touch-action: none;
}

.avatar-crop-box.is-dragging {
  cursor: grabbing;
}

.avatar-crop-box:focus-visible {
  outline: 3px solid rgba(30, 124, 113, 0.28);
  outline-offset: 3px;
}

.avatar-crop-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent);
}

.avatar-crop-corner-tl {
  top: -2px;
  left: -2px;
  border-top: 4px solid;
  border-left: 4px solid;
  border-top-left-radius: 8px;
}

.avatar-crop-corner-tr {
  top: -2px;
  right: -2px;
  border-top: 4px solid;
  border-right: 4px solid;
  border-top-right-radius: 8px;
}

.avatar-crop-corner-bl {
  bottom: -2px;
  left: -2px;
  border-bottom: 4px solid;
  border-left: 4px solid;
  border-bottom-left-radius: 8px;
}

.avatar-crop-corner-br {
  right: -2px;
  bottom: -2px;
  border-right: 4px solid;
  border-bottom: 4px solid;
  border-bottom-right-radius: 8px;
}

.avatar-crop-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
}

.avatar-crop-dialog[hidden] {
  display: none;
}

.avatar-crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 29, 31, 0.34);
}

.avatar-crop-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(440px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(27, 29, 31, 0.18);
}

.avatar-zoom-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.avatar-tool-button {
  width: 40px;
  min-height: 40px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--accent);
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.avatar-tool-button:hover {
  border-color: var(--accent);
  background: #eef7f2;
}

.resident-info div {
  display: grid;
  gap: 4px;
}

.field-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.resident-info strong {
  font-size: 18px;
}

.visibility-form {
  margin: 0;
}

.visibility-form fieldset {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

.visibility-form legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
}

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

.radio-row input {
  width: auto;
}

.radio-row span {
  display: grid;
  gap: 2px;
}

.radio-row small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-links {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-weight: 760;
}

.account-links a:last-child {
  border-bottom: 0;
}

.account-links a:hover {
  color: var(--accent);
}

.account-logout {
  margin: 0;
}

.account-logout button {
  width: 100%;
}

@media (min-width: 721px) and (max-width: 1200px) {
  .topbar {
    gap: 12px;
    padding: 10px 18px;
  }

  .brand {
    font-size: 20px;
  }

  .nav {
    gap: 18px;
    font-size: 15px;
  }

  .nav-account {
    gap: 0;
    padding-left: 0;
  }

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

@media (max-width: 720px) {
  .topbar {
    min-height: 52px;
    padding: 8px 14px;
  }

  .brand {
    font-size: 19px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-account-badge {
    display: inline-flex;
    margin-left: auto;
    padding-right: 2px;
  }

  .mobile-account-badge .nav-user,
  .mobile-account-badge::after {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: grid;
    gap: 2px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    padding: 4px 8px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(27, 29, 31, 0.1);
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  .mobile-bottom-nav.is-authenticated {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-bottom-nav.is-guest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 760;
    touch-action: manipulation;
  }

  .mobile-bottom-nav a:hover {
    background: #eef3ef;
    color: var(--accent);
  }

  .primary-action,
  .secondary-action,
  button {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .page {
    width: min(1120px, calc(100% - 24px));
    padding-top: 22px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .publish-form textarea[name="description"] {
    height: 104px;
  }

  .publish-form input[name="title"] {
    height: 44px;
    min-height: 44px;
    padding: 8px 12px;
  }

  .publish-form .money-input {
    height: 44px;
    min-height: 44px;
  }

  .publish-form .money-input input {
    min-height: 42px;
  }

  .delivery-fieldset {
    gap: 6px;
    padding: 10px;
  }

  .delivery-option {
    padding: 5px 10px;
  }

  .delivery-option strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .delivery-option small {
    font-size: 12px;
    line-height: 1.25;
  }

  .fulfillment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 6px 8px;
  }

  .fulfillment-options .fee-field {
    grid-column: 1 / -1;
  }

  .delivery-fieldset .radio-row.compact {
    padding: 4px 6px;
    gap: 6px;
    font-size: 13px;
  }

  .section-heading,
  .table-row,
  .notice-card,
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading {
    gap: 14px;
  }

  .market-intro {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 16px;
    padding: 4px 0 15px;
  }

  .market-intro-heading {
    gap: 7px;
  }

  .market-intro-kicker {
    font-size: 11px;
  }

  .market-intro h1 {
    font-size: clamp(22px, 6.6vw, 28px);
    letter-spacing: 0.015em;
    white-space: nowrap;
  }

  .market-intro-lede {
    display: none;
  }

  .market-listing-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .market-ad-slot {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 14px;
  }

  .market-ad-slot h1 {
    font-size: clamp(34px, 12vw, 47px);
  }

  .restaurant-ad-visual,
  .restaurant-ad-visual > img:first-child {
    min-height: 238px;
  }

  .restaurant-ad-visual > img:first-child {
    object-position: 50% 60%;
  }

  .restaurant-ad-secondary-image {
    right: 12px;
    bottom: -18px;
    width: 39%;
    height: 44%;
  }

  .restaurant-ad-copy {
    padding: 26px 24px 28px;
  }

  .restaurant-ad-copy::before {
    right: 23px;
  }

  .restaurant-ad-overline {
    margin-bottom: 11px;
  }

  .restaurant-ad-subtitle {
    font-size: 15px;
  }

  .restaurant-ad-description {
    margin-top: 13px;
    font-size: 13px;
  }

  .restaurant-ad-location {
    margin-top: 17px;
  }

  .restaurant-ad-action {
    margin-top: 18px;
  }

  .market-ad-slot {
    height: auto;
    min-height: clamp(124px, 34vw, 140px);
    margin-bottom: 14px;
  }

  .restaurant-ad-compact {
    grid-template-columns: clamp(104px, 29vw, 124px) minmax(0, 1fr) auto;
    height: auto;
    min-height: clamp(124px, 34vw, 140px);
  }

  .restaurant-ad-compact-image span,
  .restaurant-ad-compact-detail,
  .restaurant-ad-compact-gallery {
    display: none;
  }

  .restaurant-ad-compact-copy {
    gap: 7px;
    padding: 13px 14px;
  }

  .restaurant-ad-compact-overline {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .restaurant-ad-compact-copy strong {
    overflow: visible;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .restaurant-ad-compact-action {
    padding: 0 13px;
    font-size: 0;
  }

  .restaurant-ad-compact-action span {
    font-size: 22px;
  }

  .restaurant-page {
    margin-top: -26px;
  }

  .restaurant-story-hero {
    min-height: clamp(340px, 92vw, 380px);
  }

  .restaurant-story-hero > img {
    object-position: 50% 64%;
  }

  .restaurant-story-scrim {
    background: linear-gradient(0deg, rgba(18, 12, 8, 0.83) 5%, rgba(18, 12, 8, 0.21) 72%), linear-gradient(90deg, rgba(18, 12, 8, 0.45), transparent 75%);
  }

  .restaurant-story-hero-copy,
  .restaurant-story-intro,
  .restaurant-neighbor-picks,
  .restaurant-story-dishes,
  .restaurant-story-origin,
  .restaurant-story-location {
    width: min(calc(100% - 40px), 620px);
  }

  .restaurant-story-back,
  .designer-story-back {
    width: min(calc(100% - 40px), 620px);
    padding-top: 20px;
  }

  .restaurant-story-hero-copy {
    padding-top: clamp(80px, 26vw, 104px);
  }

  .restaurant-story-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(44px, 12vw, 56px);
  }

  .restaurant-story-hero-copy > span {
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: 0.09em;
  }

  .restaurant-story-hero-copy > a {
    margin-top: 16px;
  }

  .restaurant-story-intro {
    margin-top: 70px;
    margin-bottom: 74px;
    text-align: left;
  }

  .restaurant-story-intro h2,
  .restaurant-story-dishes h2,
  .restaurant-story-location h2 {
    margin-top: 12px;
    font-size: 30px;
  }

  .restaurant-story-intro > p:last-child {
    font-size: 15px;
  }

  .restaurant-story-origin {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 82px;
    padding: 32px 24px;
  }

  .restaurant-story-origin h2 {
    font-size: 30px;
  }

  .restaurant-story-origin-copy > p {
    font-size: 14px;
  }

  .restaurant-story-origin-marks {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .restaurant-story-origin-marks span {
    grid-template-columns: 74px 1fr;
    gap: 8px;
    align-items: baseline;
  }

  .restaurant-neighbor-picks {
    margin-bottom: 82px;
    padding: 32px 0;
  }

  .restaurant-neighbor-picks-heading h2 {
    font-size: 30px;
  }

  .restaurant-neighbor-picks-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .restaurant-neighbor-picks-grid section,
  .restaurant-neighbor-picks-grid section:nth-child(odd),
  .restaurant-neighbor-picks-grid section:nth-child(even) {
    min-height: 0;
    border-right: 0;
    padding: 16px 0;
  }

  .restaurant-neighbor-picks-grid strong {
    font-size: 16px;
  }

  .restaurant-story-dishes,
  .restaurant-story-location {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .restaurant-story-dishes {
    margin-bottom: 82px;
  }

  .restaurant-story-dishes figure img {
    aspect-ratio: 1.12 / 1;
  }

  .restaurant-menu-gallery {
    width: min(calc(100% - 40px), 620px);
    margin-bottom: 82px;
  }

  .restaurant-menu-gallery-heading {
    margin-bottom: 26px;
  }

  .restaurant-menu-gallery-heading h2 {
    font-size: 30px;
  }

  .restaurant-menu-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 142px;
    gap: 8px;
  }

  .restaurant-menu-gallery-grid .restaurant-menu-gallery-featured {
    grid-row: auto;
    grid-column: span 2;
    min-height: 260px;
  }

  .restaurant-menu-gallery-grid figure:last-child {
    grid-column: span 2;
  }

  .restaurant-menu-gallery-grid figcaption {
    right: 11px;
    bottom: 9px;
    left: 11px;
    font-size: 14px;
  }

  .restaurant-story-location {
    margin-bottom: 48px;
    padding: 30px 24px 24px;
  }

  .restaurant-story-location figure img {
    height: 280px;
  }

  .primary-action {
    justify-content: center;
    text-align: center;
  }

  .invite-management-form {
    grid-template-columns: 1fr;
  }

  .invite-management-form .primary-action {
    width: 100%;
  }

  .invite-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .invite-row-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .invite-search {
    width: 100%;
    min-width: 0;
  }

  .invite-search input {
    flex: 1;
  }

  .invite-list-head,
  .invite-pagination {
    justify-content: center;
  }

  .invite-pagination {
    flex-wrap: wrap;
  }

  .listing-review-toolbar {
    grid-template-columns: 1fr;
  }

  .listing-toolbar-button {
    width: 100%;
  }

  .message-preview-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .conversation-list {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    max-height: none;
    overflow: hidden;
  }

  .conversation-items {
    min-height: 0;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .message-preview-shell:not(.has-selected-conversation) .chat-workspace {
    display: none;
  }

  .message-preview-shell:not(.has-selected-conversation):not(.has-list-selected-conversation) .conversation-row.is-active {
    border-color: transparent;
    background: transparent;
  }

  .message-preview-shell:not(.has-selected-conversation):not(.has-list-selected-conversation) .conversation-close-form {
    display: none;
  }

  .message-preview-shell:not(.has-selected-conversation) {
    position: fixed;
    top: 52px;
    right: 12px;
    bottom: calc(53px + env(safe-area-inset-bottom));
    left: 12px;
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
  }

  .message-preview-shell.has-selected-conversation .conversation-list {
    display: none;
  }

  .message-preview-shell.has-selected-conversation {
    position: fixed;
    top: 52px;
    right: 12px;
    bottom: env(safe-area-inset-bottom);
    left: 12px;
    min-height: 0;
    overflow: hidden;
  }

  .message-preview-shell.has-selected-conversation .chat-workspace {
    height: 100%;
    min-height: 0;
  }

  .conversation-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .conversation-avatar {
    width: 36px;
    height: 36px;
  }

  .chat-workspace {
    min-height: 70vh;
  }

  .chat-product-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 8px 12px;
  }

  .mobile-conversation-back {
    display: inline-flex;
    grid-column: 1 / -1;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-conversation-close-form {
    position: absolute;
    top: 5px;
    right: 8px;
    display: block;
    margin: 0;
  }

  .mobile-conversation-close-form button {
    min-height: 32px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    padding: 6px 8px;
    font-weight: 850;
  }

  .mobile-conversation-close-form button:hover,
  .mobile-conversation-close-form button:focus-visible {
    border-color: #e5bbbb;
    background: #f9eeee;
    color: var(--bad);
  }

  .chat-product-main {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .chat-product-gallery {
    grid-template-rows: 62px 24px;
    width: 100px;
    height: 90px;
  }

  .chat-product-main-image {
    width: 100px;
    height: 62px;
  }

  .chat-product-thumbnail-row {
    width: 100px;
    height: 24px;
    min-height: 24px;
  }

  .chat-product-thumb {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .chat-product-main h1 {
    font-size: 17px;
  }

  .chat-product-summary {
    gap: 4px;
  }

  .chat-product-summary-meta {
    gap: 6px;
  }

  .chat-product-listed-time {
    font-size: 0;
  }

  .chat-product-listed-time::after {
    content: attr(data-mobile-time);
    font-size: 11px;
    font-weight: 750;
  }

  .chat-product-side {
    grid-column: auto;
    width: auto;
    min-width: 50px;
    display: grid;
    align-self: center;
    justify-items: end;
    min-height: 0;
    border-left: 0;
    padding-left: 0;
  }

  .chat-product-price span {
    font-size: 13px;
  }

  .chat-product-price strong {
    font-size: 22px;
  }

  .chat-message {
    max-width: 86%;
  }

  .chat-composer {
    padding: 10px;
  }

  .chat-composer textarea {
    min-height: 60px;
    padding-right: 84px;
  }

  .chat-composer button {
    right: 18px;
  }

  .history-filter-groups {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .history-filter-section {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .history-filters,
  .history-filters-sell {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0;
  }

  .history-filter-section-head {
    min-height: 0;
    margin: 0;
    font-size: 14px;
  }

  .history-filter {
    flex: 0 0 auto;
    gap: 4px;
    min-height: 34px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .history-filter strong {
    min-width: 18px;
    min-height: 18px;
    padding: 1px 5px;
    font-size: 11px;
  }

  .history-card {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 34%);
    gap: 8px;
    padding: 12px;
  }

  .history-meta {
    display: grid;
    gap: 4px;
  }

  .history-side {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    min-width: 0;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-top: 0;
    padding-left: 8px;
  }

  .history-price {
    justify-items: end;
  }

  .history-price strong {
    font-size: 24px;
  }

  .history-buyer-slot {
    justify-content: center;
    align-self: auto;
    width: 100%;
    min-height: 34px;
    border-left: 0;
    padding-left: 0;
    padding-top: 10px;
  }

  .history-action-slot {
    width: 100%;
    border-left: 0;
    justify-items: end;
    gap: 6px;
    padding: 8px 0 0;
  }

  .history-action-slot .history-complete-action,
  .history-action-slot .history-delist-action,
  .history-action-slot .history-relist-action,
  .history-action-slot .history-choose-buyer {
    width: auto;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .history-action-slot .history-fail-action {
    width: auto;
    min-height: 22px;
    padding: 2px 0;
    font-size: 12px;
  }

  .history-buyer-panel {
    margin-top: 0;
  }

  .history-buyer-candidate {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .history-buyer-candidate img {
    width: 36px;
    height: 36px;
  }

  .order-confirm-dialog,
  .order-failure-dialog {
    width: calc(100vw - 24px);
  }

  .listing-action-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .listing-action-dialog .request-form {
    padding: 18px;
  }

  .listing-action-dialog .dialog-actions button {
    min-width: 0;
  }

  .detail-layout,
  .split,
  .review-card {
    grid-template-columns: 1fr;
  }

  .settings-listings-panel .review-card {
    grid-template-columns: 1fr;
  }

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

  .listing-feed {
    min-height: 1px;
    margin-top: 18px;
  }

  .listing-feed-load-more[hidden] {
    display: none;
  }

  .listing-login-reminder {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .listing-login-reminder-panel {
    padding: 24px 20px 20px;
  }

  .listing-login-reminder h2 {
    max-width: 270px;
    font-size: 21px;
  }

  .listing-login-reminder-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .listing-login-reminder-actions > * {
    width: 100%;
  }

  .listing-image {
    height: clamp(120px, 34vw, 150px);
    aspect-ratio: auto;
    overflow: hidden;
  }

  .listing-body {
    gap: 6px;
    padding: 10px;
  }

  .listing-heading {
    gap: 6px;
  }

  .listing-heading h2 {
    font-size: 14px;
    line-height: 1.25;
  }

  .listing-card .status {
    min-height: 22px;
    padding: 2px 6px;
    font-size: 11px;
  }

  .listing-meta {
    display: grid;
    gap: 4px;
    align-items: start;
    font-size: 11px;
  }

  .listing-card-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .listing-card .price {
    font-size: 18px;
  }

  .interest-pill {
    padding: 2px 6px;
    font-size: 10px;
  }

  .detail-gallery {
    width: 100vw;
    max-width: none;
    margin-left: calc((100vw - 100%) / -2);
  }

  .detail-image {
    width: 100%;
    height: clamp(160px, 46vw, 200px);
    max-height: none;
  }

  .listing-detail-page .detail-main-image {
    width: 100%;
    max-width: 100%;
  }

  .image-lightbox {
    width: 100vw;
    max-width: 100vw;
  }

  .lightbox-frame img {
    max-width: 100vw;
  }

  .listing-action-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .listing-action-bar button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .thumbnail-row {
    grid-template-columns: repeat(auto-fill, 56px);
  }

  .seller-info {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  .order-actions {
    flex-direction: column;
  }

  .order-actions .order-fail-action {
    align-self: flex-start;
  }

  .review-actions {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    padding-left: 0;
  }

  .review-action-grid {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }

  .review-title-row {
    align-items: flex-start;
  }

  .account-panel {
    padding: 18px;
  }

  .settings-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .settings-side {
    position: static;
    height: auto;
    max-height: none;
    gap: 8px;
  }

  .settings-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-menu-link {
    min-height: 42px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .settings-menu-link span {
    font-size: 14px;
  }

  .settings-panel {
    padding: 18px;
  }

  .profile-settings-grid {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar-settings {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .settings-avatar-preview {
    width: 82px;
    height: 82px;
  }

  .settings-panel-head h1 {
    font-size: 22px;
  }

  .settings-form button,
  .visibility-form button,
  .settings-logout-panel .account-logout button,
  .settings-link-action {
    width: 100%;
    max-width: 100%;
  }

  .settings-logout-trigger {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 9px 12px;
  }

  .settings-side-actions {
    margin-top: 0;
    border-bottom: 0;
    padding: 0;
  }

  .settings-logout-panel {
    width: 100%;
  }

  .avatar-preview-button {
    width: fit-content;
  }

  .resident-info {
    grid-template-columns: 1fr;
  }

  .form-stack.wide {
    padding: 18px;
  }

  .image-preview-grid {
    grid-template-columns: repeat(auto-fill, 96px);
    gap: 8px;
  }

  .listing-image-add {
    width: 96px;
  }

  .image-choice {
    aspect-ratio: 4 / 3;
  }

  .image-choice input {
    top: 5px;
    left: 5px;
    width: 14px;
    height: 14px;
  }

  .image-cover-badge {
    bottom: 5px;
    left: 5px;
    min-height: 20px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .image-remove-button {
    top: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
  }

  .image-remove-button::after {
    font-size: 10px;
  }

  h1 {
    font-size: 34px;
  }
}

@media (max-width: 360px) {
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .designer-ad-compact {
    grid-template-columns: clamp(104px, 29vw, 124px) minmax(0, 1fr) auto;
  }

  .designer-ad-compact .restaurant-ad-compact-action {
    position: static;
    width: auto;
    min-height: 0;
    border-left: 1px solid rgba(214, 224, 195, 0.2);
    background: transparent;
    padding: 0 13px;
    text-shadow: none;
  }

  .designer-ad-case {
    display: none;
  }

  .designer-page {
    margin-top: -26px;
  }

  .designer-story-hero {
    min-height: clamp(340px, 92vw, 380px);
  }

  .designer-story-hero > img {
    object-position: 58% 50%;
  }

  .designer-story-scrim {
    background: linear-gradient(0deg, rgba(23, 33, 30, 0.86) 5%, rgba(23, 33, 30, 0.18) 72%), linear-gradient(90deg, rgba(23, 33, 30, 0.52), transparent 78%);
  }

  .designer-story-hero-copy,
  .designer-profile,
  .designer-projects,
  .designer-services-heading,
  .designer-services ol {
    width: min(calc(100% - 40px), 620px);
  }

  .designer-story-hero-copy {
    padding-top: clamp(80px, 26vw, 104px);
  }

  .designer-story-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(44px, 13vw, 58px);
  }

  .designer-story-hero-copy strong {
    max-width: 350px;
    font-size: 16px;
    letter-spacing: 0.09em;
  }

  .designer-story-hero-copy > a {
    margin-top: 16px;
  }

  .designer-profile {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "quote";
    gap: 34px;
    margin-top: 76px;
    margin-bottom: 78px;
    scroll-margin-top: 72px;
  }

  .designer-profile-visual {
    position: static;
    width: min(256px, 76vw);
  }

  .designer-profile-identity {
    margin-top: 14px;
    padding-top: 12px;
  }

  .designer-profile-identity strong {
    font-size: 26px;
  }

  .designer-profile h2,
  .designer-services h2,
  .designer-projects h2,
  .designer-story-closing h2 {
    font-size: 30px;
  }

  .designer-profile-copy > p:not(.designer-story-kicker) {
    margin-top: 17px;
    font-size: 14px;
  }

  .designer-profile-facts {
    margin-top: 12px;
  }

  .designer-profile-timeline-heading {
    margin-top: 0;
  }

  .designer-profile-timeline {
    margin-top: 30px;
  }

  .designer-profile-facts li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 0;
  }

  .designer-profile-facts span {
    font-size: 13px;
  }

  .designer-profile blockquote {
    margin: 0;
    font-size: 16px;
  }

  .designer-services {
    padding: 74px 0;
  }

  .designer-services ol {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
  }

  .designer-services li,
  .designer-services li:first-child {
    min-height: 0;
    border-top: 1px solid rgba(224, 235, 204, 0.28);
    border-left: 0;
    padding: 22px 0;
  }

  .designer-services li:last-child {
    border-bottom: 1px solid rgba(224, 235, 204, 0.28);
  }

  .designer-services h3 {
    font-size: 21px;
  }

  .designer-services p {
    margin-top: 8px;
    font-size: 13px;
  }

  .designer-projects {
    margin-top: 76px;
    margin-bottom: 78px;
  }

  .designer-projects-heading {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 26px;
  }

  .designer-project-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .designer-project-grid figure,
  .designer-project-grid .designer-project-featured {
    min-height: 280px;
  }

  .designer-project-grid .designer-project-featured {
    min-height: 336px;
  }

  .designer-story-closing {
    padding: 78px 20px;
  }

  .designer-story-closing-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .designer-wechat-action.lightbox-trigger {
    width: min(100%, 280px);
  }
}
