:root {
  --jade: #a60603;
  --jade-dark: #5f0503;
  --jade-soft: #fff0ee;
  --ink: #251614;
  --muted: #756563;
  --gold: #c28a2c;
  --gold-soft: #f7e6c4;
  --paper: #fffaf6;
  --line: #ead9d2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(95, 5, 3, 0.13);
  --site-container-width: 1200px;
  --home-category-width: 250px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  overflow-x: hidden;
}

body.drawer-visible {
  overflow: hidden;
}

body.modal-visible {
  overflow: hidden;
}

body,
button,
input {
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: var(--jade-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.topbar-links a:hover {
  color: #fff;
}

.topbar-member-link {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-logout-form {
  display: inline-flex;
  margin: 0;
}

.topbar-logout-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.topbar-logout-button:hover {
  color: #fff;
}

.site-brand {
  background:
    linear-gradient(135deg, rgba(166, 6, 3, 0.08), rgba(194, 138, 44, 0.1)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 216px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #d7473e, var(--jade));
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.26), 0 12px 25px rgba(166, 6, 3, 0.24);
}

.brand-logo strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-logo em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.search-wrap {
  position: relative;
  min-width: 0;
}

.search-form {
  display: flex;
  min-width: 0;
  border: 2px solid var(--jade);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 13px 16px;
  outline: 0;
  color: var(--ink);
}

.search-form button {
  border: 0;
  padding: 0 30px;
  background: var(--jade);
  color: var(--white);
  font-weight: 700;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 35;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-results.active {
  display: grid;
  gap: 12px;
}

.search-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--jade-dark);
}

.search-result-head a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.search-result-group {
  display: grid;
  gap: 8px;
}

.search-result-group > span {
  color: var(--muted);
  font-size: 13px;
}

.search-result-group a {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 6px;
  background: var(--paper);
}

.search-result-group strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-group a span,
.search-empty {
  color: var(--muted);
  font-size: 13px;
}

.brand-service {
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.brand-service strong {
  color: var(--jade-dark);
  font-size: 17px;
}

.brand-service span {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--jade);
  border-bottom: 1px solid var(--jade-dark);
  backdrop-filter: blur(10px);
}

.nav-shell {
  display: grid;
  gap: 0;
}

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

.site-menu {
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: visible;
  background: transparent;
}

.site-category-wrap {
  position: relative;
  flex: 0 0 auto;
}

.site-category-entry {
  width: 250px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--jade-dark);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.site-category-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 45;
  display: none;
}

body:not([data-page="home"]) .site-category-wrap:hover .site-category-dropdown {
  display: block;
}

.site-category-dropdown .mall-category {
  height: 300px;
  box-shadow: 0 14px 30px rgba(37, 22, 20, 0.16);
}

.site-category-dropdown .mall-category-flyout {
  width: calc(var(--site-container-width) - var(--home-category-width));
}

.site-menu-link {
  min-width: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  white-space: nowrap;
}

.site-menu-link:hover,
.site-menu-link.active {
  background: var(--jade-dark);
  color: var(--white);
}

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(37, 22, 20, 0.48);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(84vw, 340px);
  display: none;
  overflow-y: auto;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

.drawer-visible .drawer-mask {
  display: block;
}

.drawer-visible .mobile-drawer {
  box-shadow: 22px 0 50px rgba(37, 22, 20, 0.22);
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 16px;
  background: var(--jade);
  color: var(--white);
}

.drawer-head strong {
  font-size: 18px;
}

.drawer-head button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
}

.drawer-section {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-section h2 {
  margin: 0 0 12px;
  color: var(--jade-dark);
  font-size: 17px;
}

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

.drawer-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.drawer-link.active {
  border-color: var(--jade);
  background: var(--jade-soft);
  color: var(--jade);
}

@media (min-width: 721px) and (max-width: 980px) {
  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    color: var(--white);
  }

  .drawer-open {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    background: var(--jade-dark);
    color: var(--white);
    font-weight: 700;
  }

  .mobile-nav-bar span {
    font-size: 14px;
    opacity: 0.88;
  }

  .site-menu {
    display: none;
  }

  .mobile-drawer {
    display: block;
  }
}

.drawer-categories {
  display: grid;
  gap: 16px;
}

.drawer-category h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.drawer-category div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 96px;
  overflow: hidden;
}

.drawer-category a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--jade-soft);
  color: var(--muted);
  font-size: 13px;
}

.mall-hero {
  position: relative;
  padding: 0;
  background: var(--paper);
}

.mall-hero-grid {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  display: block;
  height: 300px;
  pointer-events: none;
  transform: translateX(-50%);
}

.mall-category {
  position: relative;
  width: var(--home-category-width);
  pointer-events: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(95, 5, 3, 0.08);
  height: 300px;
}

.mall-category-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--jade);
  color: var(--white);
  font-weight: 700;
}

.mall-category-list {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  padding: 0;
  height: 100%;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mall-category-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mall-category-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding: 0 28px 0 14px;
  border-bottom: 1px solid rgba(234, 217, 210, 0.72);
  transition: background 0.2s ease;
}

.mall-category-row::before {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #aaa29d;
  border-right: 1.5px solid #aaa29d;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

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

.mall-category-row strong {
  color: var(--jade-dark);
  font-size: 15px;
}

.mall-category-row div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  max-height: 24px;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.mall-category-row a {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.mall-category-row a:hover {
  color: var(--jade);
}

.mall-category-row:hover,
.mall-category-row.active {
  background: var(--jade-dark);
}

.mall-category-row.active strong {
  color: var(--white);
}

.mall-category-row:hover strong,
.mall-category-row:hover a,
.mall-category-row.active a {
  color: var(--white);
}

.mall-category-row:hover::before,
.mall-category-row.active::before {
  border-color: var(--white);
}

.mall-category-flyout {
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  width: calc(var(--site-container-width) - var(--home-category-width));
  height: 300px;
  padding: 26px 30px;
  border-left: 1px solid rgba(234, 217, 210, 0.9);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 12px 12px 26px rgba(95, 5, 3, 0.08);
  z-index: 6;
}

.mall-category.is-flyout-open .mall-category-flyout {
  display: block;
}

.mall-category:hover .mall-category-flyout {
  display: block;
}

.mall-category-panel {
  display: none;
}

.mall-category-panel.active {
  display: block;
}

.mall-category:has([data-category-row="type"]:hover) [data-category-panel="type"],
.mall-category:has([data-category-row="theme"]:hover) [data-category-panel="theme"],
.mall-category:has([data-category-row="master"]:hover) [data-category-panel="master"],
.mall-category:has([data-category-row="weight"]:hover) [data-category-panel="weight"],
.mall-category:has([data-category-row="honor"]:hover) [data-category-panel="honor"] {
  display: block;
}

.mall-category-panel h3 {
  margin: 0 0 16px;
  color: var(--jade-dark);
  font-size: 18px;
  line-height: 1.3;
}

.mall-category-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-content: flex-start;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mall-category-panel div::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mall-category-panel a {
  min-width: 78px;
  padding: 7px 12px;
  border: 1px solid rgba(234, 217, 210, 0.86);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}

.mall-category-panel a:hover {
  border-color: rgba(166, 6, 3, 0.38);
  background: var(--jade-soft);
  color: var(--jade);
}

.banner-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
  border-radius: 0;
  background: var(--jade-dark);
  box-shadow: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.banner-carousel.dragging {
  cursor: grabbing;
}

.banner-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  will-change: transform;
}

.banner-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.banner-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.48);
}

.banner-dot.active {
  background: var(--gold);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.home-section {
  padding: 54px 0;
}

.home-section:nth-child(even) {
  background: var(--white);
}

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

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

.section-head h2 {
  margin: 4px 0 0;
  color: var(--jade-dark);
  font-size: 30px;
  line-height: 1.2;
}

.section-head a {
  color: var(--jade);
  font-weight: 700;
  white-space: nowrap;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(95, 5, 3, 0.07);
}

.work-card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.work-image {
  position: relative;
  display: block;
  background: var(--jade-soft);
}

.work-image img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.work-info {
  padding: 16px;
}

.work-info h3 {
  min-height: 48px;
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.work-info p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.work-meta strong {
  color: var(--jade);
  font-size: 18px;
}

.work-meta em {
  color: var(--gold);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.favorite-remove {
  min-height: 32px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.favorite-remove:hover:not(:disabled) {
  border-color: var(--jade);
  background: var(--jade-soft);
}

.favorite-remove:disabled {
  cursor: wait;
  opacity: 0.68;
}

.rank-section {
  background: var(--white);
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rank-tab {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  padding: 0 14px;
}

.rank-tab.active {
  background: var(--jade);
  color: var(--white);
  border-color: var(--jade);
}

.rank-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.rank-main,
.rank-side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.rank-table-head,
.rank-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.35fr) 110px 90px 110px;
  align-items: center;
  gap: 14px;
}

.rank-table-head {
  min-height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.rank-list {
  display: grid;
}

.rank-list[hidden] {
  display: none;
}

.rank-item {
  min-height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-item:hover {
  background: var(--jade-soft);
}

.rank-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--jade);
  font-size: 15px;
  font-weight: 800;
}

.rank-title {
  min-width: 0;
}

.rank-title strong,
.rank-title em {
  display: block;
}

.rank-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.rank-title em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.rank-author,
.rank-popularity {
  color: var(--muted);
  font-size: 14px;
}

.rank-item b {
  color: var(--jade);
  font-size: 15px;
  white-space: nowrap;
}

.rank-side {
  display: grid;
  gap: 14px;
}

.rank-side-card {
  padding: 14px;
}

.rank-side-card h3 {
  margin: 0 0 10px;
  color: var(--jade-dark);
  font-size: 17px;
}

.rank-side-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-top: 1px solid rgba(234, 217, 210, 0.72);
}

.rank-side-item span {
  color: var(--gold);
  font-weight: 800;
}

.rank-side-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.rank-side-item em {
  color: var(--jade);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.master-section {
  background: var(--white);
}

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

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

.master-card img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.master-card div {
  padding: 17px;
}

.master-card h3 {
  margin: 0;
  font-size: 22px;
}

.master-card strong {
  display: block;
  margin: 5px 0 10px;
  color: var(--gold);
  font-size: 14px;
}

.master-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

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

.work-card-wide {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: stretch;
}

.master-detail-section {
  padding: 28px 0 48px;
  background: var(--paper);
}

.master-detail-main .container {
  width: min(1080px, calc(100% - 40px));
}

.master-profile-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(95, 5, 3, 0.07);
}

.master-profile-photo {
  overflow: hidden;
  border-radius: 8px;
  background: var(--jade-soft);
}

.master-profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.master-profile-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.master-profile-info h1 {
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.master-profile-info > strong {
  color: var(--gold);
  font-size: 15px;
}

.master-profile-info p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.master-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.master-profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(194, 138, 44, 0.34);
  border-radius: 4px;
  background: #fff8eb;
  color: #8b5e17;
  font-size: 12px;
}

.master-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.master-profile-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--jade);
  border-radius: 4px;
  color: var(--jade);
  font-size: 14px;
  font-weight: 700;
}

.master-profile-actions a:first-child {
  background: var(--jade);
  color: var(--white);
}

.master-profile-side {
  padding: 16px;
  border-radius: 8px;
  background: var(--paper);
}

.master-profile-side h2,
.master-aside-card h2 {
  margin: 0 0 12px;
  color: var(--jade-dark);
  font-size: 16px;
}

.master-profile-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.master-profile-side dl div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(234, 217, 210, 0.76);
}

.master-profile-side dl div:last-child {
  border-bottom: 0;
}

.master-profile-side dt {
  color: var(--muted);
  font-size: 13px;
}

.master-profile-side dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.master-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 22px;
  margin-top: 22px;
}

.master-detail-content,
.master-detail-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.master-detail-block,
.master-aside-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.master-detail-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.master-detail-block p:last-child {
  margin-bottom: 0;
}

.master-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.master-timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.master-timeline strong {
  color: var(--gold);
  font-size: 15px;
  line-height: 1.4;
}

.master-timeline span {
  color: var(--muted);
  font-size: 14px;
}

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

.master-style-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.master-style-gallery img {
  width: 100%;
  aspect-ratio: 1.36;
  border-radius: 6px;
  object-fit: cover;
}

.master-aside-card .work-card {
  margin-bottom: 14px;
}

.master-aside-card .work-card:last-child {
  margin-bottom: 0;
}

.master-aside-card .work-card-wide {
  grid-template-columns: 1fr;
}

.master-aside-card .work-card-wide .work-image img {
  aspect-ratio: 1.28;
}

.master-aside-card .work-info {
  padding: 12px;
}

.master-aside-card .work-info h3 {
  min-height: 0;
  margin-bottom: 6px;
  font-size: 14px;
}

.master-aside-card .work-info p {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.master-aside-card .work-meta {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.master-aside-card .work-meta strong {
  font-size: 14px;
}

.master-aside-card .work-meta em {
  font-size: 12px;
  white-space: normal;
}

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

.master-related-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.master-related-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.master-related-item img {
  width: 58px;
  height: 68px;
  border-radius: 4px;
  object-fit: cover;
}

.master-related-item strong,
.master-related-item span {
  display: block;
}

.master-related-item strong {
  color: var(--ink);
  font-size: 14px;
}

.master-related-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-card-wide .work-image img {
  height: 100%;
  aspect-ratio: auto;
}

.work-card-wide .work-info h3 {
  min-height: auto;
}

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

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

.news-card img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
}

.news-card div {
  padding: 12px;
}

.news-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.news-card h3 {
  margin: 6px 0 8px;
  font-size: 16px;
  line-height: 1.32;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.news-guide-section {
  background: var(--white);
}

.news-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.news-guide-main {
  display: grid;
  gap: 30px;
}

.news-guide-breadcrumb {
  margin-top: -8px;
}

.news-guide-block {
  min-width: 0;
}

.news-guide-head,
.news-guide-side-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.news-guide-head::after,
.news-guide-side-head::after {
  content: "";
  order: 2;
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.news-guide-head h2,
.news-guide-side-head h2 {
  position: relative;
  order: 1;
  flex: 0 0 auto;
  margin: 0;
  padding-bottom: 11px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.news-guide-head h2::after,
.news-guide-side-head h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 3px;
  background: var(--jade);
  content: "";
}

.news-guide-head a,
.news-guide-side-head a {
  order: 3;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.news-guide-body {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.news-guide-cover {
  position: relative;
  display: block;
  overflow: hidden;
}

.news-guide-cover img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
  transition: transform 0.26s ease;
}

.news-guide-cover:hover img {
  transform: scale(1.03);
}

.news-guide-cover span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 12px 16px;
  background: rgba(30, 35, 36, 0.68);
  color: var(--white);
  font-size: 15px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-guide-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-guide-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.news-guide-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.news-guide-list a:hover {
  color: var(--jade);
}

.news-guide-list a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-category-main {
  min-width: 0;
}

.news-category-list {
  display: grid;
}

.news-category-item {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-category-image {
  display: block;
  overflow: hidden;
}

.news-category-image img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  transition: transform 0.26s ease;
}

.news-category-item:hover .news-category-image img {
  transform: scale(1.03);
}

.news-category-info {
  min-width: 0;
}

.news-category-info h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.news-category-info h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-category-info h3 a:hover {
  color: var(--jade);
}

.news-category-info p {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-category-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.news-guide-rank {
  position: sticky;
  top: 18px;
}

.news-rank-list {
  display: grid;
}

.news-rank-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 62px;
  column-gap: 12px;
  align-items: center;
}

.news-rank-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.news-rank-item span {
  color: var(--jade);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.news-rank-item:hover strong,
.news-rank-item:hover em {
  color: var(--jade);
}

.news-rank-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-rank-item em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  text-align: right;
  white-space: nowrap;
}

.site-footer {
  background: #3b0403;
  color: rgba(255, 255, 255, 0.78);
}

.footer-service {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.service-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #f0d6b8;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.service-text {
  display: grid;
  gap: 4px;
}

.service-grid strong {
  color: var(--white);
  font-size: 18px;
}

.service-grid span {
  font-size: 13px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 48px;
  padding: 36px 0;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 28px;
}

.footer-brand p {
  margin: 12px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.footer-group h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 16px;
}

.footer-group a {
  display: block;
  margin: 6px 0;
  font-size: 14px;
}

.footer-copy {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
}

.page-banner {
  min-height: 260px;
  display: flex;
  align-items: center;
  background-color: var(--jade-dark);
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.page-banner-inner {
  padding: 48px 0;
}

.page-banner h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.18;
}

.page-banner p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.collection-section {
  padding: 44px 0 58px;
  background: var(--white);
}

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

.topic-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(95, 5, 3, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(95, 5, 3, 0.11);
}

.topic-card-link {
  display: block;
  color: inherit;
}

.topic-card-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.topic-card-image {
  overflow: hidden;
  background: var(--jade-soft);
}

.topic-card-image img {
  width: 100%;
  aspect-ratio: 2;
  display: block;
  object-fit: cover;
}

.topic-card-info {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.topic-card-info h3 {
  margin: 4px 0 0;
  color: var(--jade-dark);
  font-size: 20px;
  line-height: 1.35;
}

.topic-card-label {
  flex: 0 0 auto;
  color: var(--jade);
  font-size: 14px;
  font-weight: 700;
}

.topic-detail-main {
  background: var(--white);
}

.topic-detail-hero {
  position: relative;
  height: clamp(320px, 38vw, 430px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.topic-detail-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(37, 22, 20, 0.42);
  content: "";
}

.topic-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 36px 0;
}

.topic-detail-hero .detail-breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
}

.topic-detail-hero .detail-breadcrumb a,
.topic-detail-hero .detail-breadcrumb strong {
  color: var(--white);
}

.topic-detail-hero .section-kicker {
  color: #f2c56f;
}

.topic-detail-hero h1 {
  margin: 7px 0 8px;
  font-size: 40px;
  line-height: 1.2;
}

.topic-detail-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.topic-detail-section,
.topic-detail-error {
  padding: 44px 0 60px;
  background: var(--white);
}

.topic-gear + .topic-gear {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.topic-gear-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.topic-detail-error .sale-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--jade-dark);
  font-size: 20px;
}

.topic-detail-error .sale-empty p {
  margin: 0 0 16px;
}

.topic-detail-error .sale-empty a {
  color: var(--jade);
  font-weight: 700;
}

@media (max-width: 720px) {
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .topic-card-info {
    min-height: 82px;
    padding: 14px;
  }

  .topic-card-info h3 {
    font-size: 18px;
  }

  .topic-card-label {
    font-size: 13px;
  }

  .topic-detail-hero {
    height: 250px;
  }

  .topic-detail-hero-content {
    padding: 24px 0;
  }

  .topic-detail-hero .detail-breadcrumb {
    margin-bottom: 18px;
  }

  .topic-detail-hero h1 {
    font-size: 28px;
  }

  .topic-detail-hero p {
    font-size: 14px;
  }

  .topic-detail-section,
  .topic-detail-error {
    padding: 32px 0 42px;
  }

  .topic-gear + .topic-gear {
    margin-top: 36px;
    padding-top: 32px;
  }
}

.page-hero {
  padding: 46px 0;
  background:
    linear-gradient(135deg, rgba(166, 6, 3, 0.1), rgba(194, 138, 44, 0.1)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 8px 0 10px;
  color: var(--jade-dark);
  font-size: 38px;
  line-height: 1.2;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

body[data-page="sale"] .page-hero h1,
body[data-page="product-list"] .page-hero h1,
body[data-page="treasure"] .page-hero h1,
body[data-page="topic"] .page-hero h1,
body[data-page="masters"] .page-hero h1,
body[data-page="honor"] .page-hero h1 {
  animation: pageTitleEnter 0.58s ease both;
}

body[data-page="sale"] .page-hero p,
body[data-page="product-list"] .page-hero p,
body[data-page="treasure"] .page-hero p,
body[data-page="topic"] .page-hero p,
body[data-page="masters"] .page-hero p,
body[data-page="honor"] .page-hero p {
  animation: pageDescEnter 0.68s ease 0.1s both;
}

@keyframes pageTitleEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes pageDescEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (prefers-reduced-motion: reduce) {
  body[data-page="sale"] .page-hero h1,
  body[data-page="product-list"] .page-hero h1,
  body[data-page="treasure"] .page-hero h1,
  body[data-page="topic"] .page-hero h1,
  body[data-page="masters"] .page-hero h1,
  body[data-page="honor"] .page-hero h1,
  body[data-page="sale"] .page-hero p,
  body[data-page="product-list"] .page-hero p,
  body[data-page="treasure"] .page-hero p,
  body[data-page="topic"] .page-hero p,
  body[data-page="masters"] .page-hero p,
  body[data-page="honor"] .page-hero p {
    animation: none;
  }
}

.faq-section {
  padding: 44px 0 58px;
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: 64px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.faq-nav a:last-child {
  border-bottom: 0;
}

.faq-nav a:hover,
.faq-nav a.active {
  background: var(--jade-soft);
  color: var(--jade);
}

.faq-content {
  display: grid;
  gap: 28px;
}

.faq-group {
  scroll-margin-top: 88px;
}

.faq-group h2 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 24px;
}

.faq-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--ink);
  text-align: left;
}

.faq-question span {
  font-weight: 700;
}

.faq-question em {
  flex: 0 0 auto;
  color: var(--jade);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 15px;
}

.faq-item.active {
  background: var(--paper);
}

.faq-item.active .faq-answer {
  display: block;
}

.sale-section {
  padding: 34px 0 58px;
  background: var(--white);
}

.product-list-section {
  padding: 34px 0 58px;
  background: var(--white);
}

.product-list-head {
  margin-bottom: 16px;
}

.product-list-note {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgba(166, 6, 3, 0.18);
  border-radius: 4px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.product-filter-panel {
  margin-top: 0;
}

.product-list-grid {
  align-items: stretch;
}

.sale-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sale-filter-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

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

.sale-filter-row strong {
  color: var(--jade-dark);
}

.sale-filter-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sale-filter-btn,
.sale-sort button,
.sale-sort a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
}

.sale-filter-btn.active,
.sale-sort button.active,
.sale-sort a.active {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.sale-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 18px;
}

.sale-toolbar p {
  margin: 0;
  color: var(--muted);
}

.sale-toolbar strong {
  color: var(--jade);
}

.sale-sort {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.sale-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(95, 5, 3, 0.07);
}

.sale-card-image {
  position: relative;
  display: block;
  background: var(--jade-soft);
}

.sale-card-image img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.sale-card-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--jade);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
}

.sale-card-info {
  padding: 15px;
}

.sale-card-info h3 {
  min-height: 48px;
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.sale-card-info p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.sale-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sale-card-price strong {
  color: var(--jade);
  font-size: 20px;
}

.sale-card-price del {
  color: var(--muted);
  font-size: 13px;
}

.sale-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.sale-card-meta span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.sale-card-meta em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.sale-empty {
  grid-column: 1 / -1;
  padding: 42px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  text-align: center;
}

.sale-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.sale-page-info {
  color: var(--muted);
  font-size: 14px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.sale-page-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.sale-page-buttons button,
.sale-page-buttons a,
.sale-page-buttons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  padding: 0 12px;
}

.sale-page-buttons button.active,
.sale-page-buttons a.active {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.sale-page-buttons button:disabled,
.sale-page-buttons span.disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.sale-page-buttons .page-ellipsis {
  min-width: auto;
  border-color: transparent;
  background: transparent;
  padding: 0 4px;
  color: var(--muted);
}

.news-category-pagination .sale-page-buttons {
  gap: 6px;
}

.news-category-pagination .sale-page-buttons a,
.news-category-pagination .sale-page-buttons span {
  min-width: 36px;
  padding: 0 10px;
}

.news-category-pagination .sale-page-buttons .page-ellipsis {
  min-width: 18px;
  padding: 0 2px;
}

.detail-section {
  padding: 34px 0 42px;
  background: var(--white);
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
}

.detail-breadcrumb a {
  color: var(--jade);
  font-weight: 700;
}

.detail-breadcrumb strong {
  color: var(--ink);
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(360px, 500px) minmax(640px, 1fr);
  gap: 34px;
  align-items: start;
}

.detail-gallery,
.detail-summary,
.detail-main-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  background: var(--jade-soft);
  cursor: crosshair;
}

.detail-main-image img {
  width: 100%;
  aspect-ratio: 1.04;
  object-fit: cover;
}

.detail-zoom-lens {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: none;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(166, 6, 3, 0.42);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.detail-zoom-preview {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  z-index: 35;
  display: none;
  width: min(520px, calc(100vw - 760px));
  min-width: 360px;
  aspect-ratio: 1.04;
  border: 1px solid rgba(234, 217, 210, 0.92);
  background-color: var(--white);
  background-repeat: no-repeat;
  background-size: 240% 240%;
  box-shadow: 0 18px 44px rgba(37, 22, 20, 0.18);
  pointer-events: none;
}

.detail-main-image.is-zooming {
  overflow: visible;
}

.detail-main-image.is-zooming .detail-zoom-lens,
.detail-main-image.is-zooming .detail-zoom-preview {
  display: block;
}

.detail-thumb-carousel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.detail-thumb-carousel.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.detail-thumbs {
  overflow: hidden;
}

.detail-thumb-track {
  display: flex;
  gap: 10px;
  transform: translateX(calc(var(--detail-thumb-page, 0) * -100%));
  transition: transform 0.28s ease;
}

.detail-thumb-arrow {
  width: 34px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--jade-dark);
}

.detail-thumb-arrow:hover {
  border-color: rgba(166, 6, 3, 0.38);
  background: var(--jade-soft);
  color: var(--jade);
}

.detail-thumb-arrow:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.detail-thumb-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.detail-thumb {
  flex: 0 0 calc((100% - 30px) / 4);
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--paper);
}

.detail-thumb.active {
  border-color: var(--jade);
}

.detail-thumb img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.detail-summary {
  padding: 24px;
}

.detail-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.detail-title-grid.no-author {
  grid-template-columns: 1fr;
}

.detail-name-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 18px;
  padding: 6px 0 22px;
  border-bottom: 1px solid var(--line);
}

.detail-name-line h1 {
  margin: 0;
  color: var(--jade-dark);
  font-size: 30px;
  line-height: 1.25;
}

.detail-name-line span {
  color: var(--jade);
  font-size: 15px;
  font-weight: 700;
}

.detail-brief-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 20px 44px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.detail-brief-specs strong {
  margin-left: 6px;
  color: var(--ink);
}

.detail-compact-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 28px 0 20px;
  color: var(--muted);
  font-size: 18px;
}

.detail-compact-price strong {
  color: var(--jade);
  font-size: 32px;
}

.detail-compact-price.is-sale {
  flex-wrap: wrap;
  row-gap: 6px;
}

.detail-compact-price del {
  color: var(--muted);
  font-size: 15px;
}

.detail-compact-price em {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--jade-soft);
  color: var(--jade-dark);
  font-size: 13px;
  font-style: normal;
}

.detail-sale-notice,
.detail-sale-context {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.detail-sale-notice {
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  background: var(--paper);
}

.detail-sale-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: -10px;
}

.detail-sale-context span {
  color: var(--gold);
  font-weight: 700;
}

.detail-sale-context small {
  font-size: 13px;
}

.detail-top-author {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-top-author h2 {
  margin: 0;
  color: var(--jade-dark);
  font-size: 18px;
}

.detail-top-author img {
  width: 100%;
  aspect-ratio: 1.48;
  border-radius: 6px;
  object-fit: cover;
}

.detail-top-author-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-top-author-head strong {
  min-width: 0;
  color: var(--ink);
  font-size: 20px;
}

.detail-top-author-head a,
.detail-top-author-link {
  flex: 0 0 auto;
  color: var(--jade);
  font-size: 14px;
  font-weight: 700;
}

.detail-top-author > span {
  color: var(--muted);
  font-size: 15px;
}

.detail-top-author p {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 0;
}

.detail-buy,
.detail-fav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 28px;
  font-weight: 800;
}

.detail-buy {
  background: var(--jade);
  color: var(--white);
}

.detail-fav {
  border: 1px solid var(--jade);
  color: var(--jade);
}

.detail-favorite,
.detail-cart-add {
  background: var(--white);
}

.detail-favorite:hover:not(:disabled),
.detail-cart-add:hover:not(:disabled) {
  background: var(--jade-soft);
}

.detail-favorite:disabled,
.detail-cart-add:disabled {
  cursor: default;
  opacity: 0.72;
}

.favorite-action-message {
  width: 100%;
  margin: 14px 0 0;
  padding: 9px 12px;
  border-left: 3px solid var(--jade);
  background: var(--jade-soft);
  color: var(--jade-dark);
  font-size: 13px;
}

.favorite-action-message.success {
  border-left-color: #2f7650;
  background: #edf7f1;
  color: #245b3e;
}

.detail-actions .favorite-action-message {
  flex-basis: 100%;
  margin-top: -4px;
}

.detail-feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  color: var(--muted);
}

.detail-feature-row span {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
}

.detail-feature-row b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(117, 101, 99, 0.28);
  border-radius: 50%;
  color: rgba(117, 101, 99, 0.52);
  font-size: 16px;
  font-weight: 800;
}

.detail-feature-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.detail-content-section {
  padding: 0 0 52px;
  background: var(--white);
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.detail-tabs button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.detail-tabs button.active {
  background: var(--jade);
  color: var(--white);
}

.detail-tab-panel {
  display: none;
  padding: 24px;
}

.detail-tab-panel.active {
  display: block;
}

.detail-tab-panel h2 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 22px;
}

.detail-tab-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.detail-long-images {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.detail-long-images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.detail-service-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.cart-section {
  padding: 32px 0 48px;
  background: var(--white);
}

.cart-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cart-head,
.cart-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.35fr) 110px 128px 120px 74px;
  align-items: center;
  gap: 12px;
}

.cart-head {
  min-height: 44px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.cart-row {
  min-height: 112px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.cart-check,
.cart-check-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}

.cart-check input,
.cart-check-all input {
  width: 16px;
  height: 16px;
  accent-color: var(--jade);
}

.cart-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cart-product img,
.cart-product-cover-empty {
  width: 86px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-product-cover-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}

.cart-product strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-product p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-price,
.cart-subtotal {
  color: var(--jade);
  font-weight: 800;
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 30px 42px 30px;
  overflow: hidden;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.cart-qty button,
.cart-qty input {
  width: 100%;
  height: 32px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.cart-qty button {
  color: var(--jade);
  font-weight: 800;
}

.cart-qty input {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: 0;
}

.cart-qty button:disabled,
.cart-qty input:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.cart-row.is-invalid .cart-product,
.cart-row.is-invalid .cart-price,
.cart-row.is-invalid .cart-qty,
.cart-row.is-invalid .cart-subtotal {
  opacity: 0.58;
}

.cart-delete {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.cart-delete:hover {
  color: var(--jade);
}

.cart-delete:disabled,
.cart-modal-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.cart-empty {
  padding: 38px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.cart-summary {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(95, 5, 3, 0.08);
}

.cart-summary-text,
.cart-summary-price {
  color: var(--muted);
}

.cart-summary strong {
  color: var(--jade);
}

.cart-submit {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 28px;
  background: var(--jade);
  color: var(--white);
  font-weight: 800;
}

.cart-submit.disabled {
  pointer-events: none;
  opacity: 0.42;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cart-modal.active {
  display: flex;
}

.cart-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(37, 22, 20, 0.48);
}

.cart-modal-box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(37, 22, 20, 0.18);
  padding: 22px;
}

.cart-modal-box h2 {
  margin: 0 0 10px;
  color: var(--jade-dark);
  font-size: 22px;
}

.cart-modal-box p {
  margin: 0;
  color: var(--muted);
}

.cart-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.cart-modal-actions button {
  min-height: 38px;
  border-radius: 4px;
  padding: 0 18px;
  font-weight: 800;
}

.cart-modal-actions button:first-child {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.cart-modal-actions button:last-child {
  border: 1px solid var(--jade);
  background: var(--jade);
  color: var(--white);
}

.trade-section,
.search-section {
  padding: 34px 0 54px;
  background: var(--paper);
}

.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.trade-main {
  display: grid;
  gap: 18px;
}

.trade-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.trade-card-head,
.order-card-head,
.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trade-card-head {
  margin-bottom: 14px;
}

.trade-card-head h2,
.pay-card h2,
.search-result-section h2 {
  margin: 0;
  color: var(--jade-dark);
  font-size: 18px;
}

.trade-card-head a {
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.address-card,
.checkout-options label {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.address-card.active {
  border-color: rgba(166, 6, 3, 0.38);
  background: var(--jade-soft);
}

.address-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.address-card span {
  color: var(--jade);
  font-size: 12px;
  font-weight: 700;
}

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

.checkout-address-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.checkout-address-option:hover {
  border-color: rgba(166, 6, 3, 0.3);
}

.checkout-address-option:focus-within {
  outline: 2px solid rgba(166, 6, 3, 0.2);
  outline-offset: 2px;
}

.checkout-address-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--jade);
}

.checkout-address-option > div {
  min-width: 0;
}

.checkout-address-option strong,
.checkout-address-option p {
  overflow-wrap: anywhere;
}

.checkout-state {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.checkout-state strong {
  color: var(--jade-dark);
}

.checkout-state p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-state.is-warning {
  margin-bottom: 16px;
  border-color: rgba(166, 6, 3, 0.28);
  background: var(--jade-soft);
}

.checkout-state.is-error {
  border-color: rgba(166, 6, 3, 0.28);
}

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

.checkout-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
}

.checkout-options em {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.checkout-coupon-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.checkout-coupon-select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
}

.checkout-coupon-select:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.order-product-list,
.orders-list,
.order-detail-layout {
  display: grid;
  gap: 16px;
}

.order-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.order-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.order-product-cover {
  position: relative;
  width: 76px;
  height: 64px;
  display: block;
}

.order-product-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  background: var(--paper);
  object-fit: cover;
}

.order-product-cover img[hidden] {
  display: none;
}

.order-product-cover-empty {
  width: 76px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}

.order-product-cover .order-product-cover-empty {
  position: absolute;
  inset: 0;
}

.order-product strong,
.order-product > div > span,
.order-product em {
  display: block;
}

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

.order-product span {
  color: var(--muted);
  font-size: 13px;
}

.order-product em {
  color: var(--jade);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.order-product-side {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.order-refund-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--jade);
  border-radius: 4px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.order-refund-link:hover {
  background: var(--jade-soft);
}

.order-refund-state {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.refund-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.refund-product strong,
.refund-product span,
.refund-product em {
  display: block;
}

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

.refund-product span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.refund-product em {
  color: var(--jade);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.refund-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

.refund-reason-field,
.refund-description-field {
  grid-column: 1 / -1;
}

.refund-evidence-field {
  min-width: 0;
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
}

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

.refund-evidence-heading label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.refund-evidence-heading span,
.refund-evidence-field > small {
  color: var(--muted);
  font-size: 12px;
}

.refund-evidence-input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdfb;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
}

.refund-evidence-input::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.refund-evidence-input:focus {
  border-color: var(--jade);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.refund-evidence-input:disabled,
.refund-evidence-input:disabled::file-selector-button {
  cursor: not-allowed;
  opacity: 0.66;
}

.refund-evidence-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.refund-evidence-preview[hidden] {
  display: none;
}

.refund-evidence-preview-item {
  position: relative;
  min-width: 0;
  margin: 0;
}

.refund-evidence-preview-item img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  object-fit: cover;
}

.refund-evidence-preview-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(59, 4, 3, 0.86);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
}

.refund-evidence-preview-item button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.refund-evidence-preview-item figcaption {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refund-form .auth-field select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdfb;
  color: var(--ink);
  outline: 0;
}

.refund-form .auth-field select:focus,
.refund-form .checkout-remark:focus {
  border-color: var(--jade);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.refund-form .checkout-remark {
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
}

.refund-form-actions {
  display: flex;
  justify-content: flex-end;
}

.refund-form-actions .auth-submit {
  min-width: 132px;
  padding: 0 20px;
}

.refund-order-summary {
  position: sticky;
  top: 16px;
}

.refund-order-summary h2 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 18px;
}

.refund-order-summary > p,
.refund-empty-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.refund-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.refund-detail-list > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.refund-detail-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.refund-detail-list dt {
  color: var(--muted);
  font-size: 13px;
}

.refund-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: right;
}

.refund-description,
.refund-evidence {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.refund-description > strong,
.refund-evidence > strong {
  color: var(--ink);
  font-size: 14px;
}

.refund-description p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.refund-evidence > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.refund-evidence img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  object-fit: cover;
}

.refund-timeline li {
  grid-template-columns: 116px minmax(0, 1fr);
}

.refund-timeline strong {
  font-size: 13px;
}

.checkout-remark {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
}

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

.contact-form .checkout-remark {
  background: #fffdfb;
  color: var(--ink);
  font: inherit;
}

.contact-form .checkout-remark:focus {
  border-color: var(--jade);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.contact-form .auth-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.trade-summary {
  position: sticky;
  top: 16px;
}

.trade-summary dl,
.pay-total dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.trade-summary dl div,
.pay-total dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.trade-summary .total,
.pay-total .total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.trade-summary strong,
.pay-total strong,
.order-total strong {
  color: var(--jade);
}

.trade-summary .discount dd {
  color: var(--jade);
  font-weight: 700;
}

.trade-submit,
.pay-submit,
.order-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--jade);
  border-radius: 4px;
  background: var(--jade);
  color: var(--white);
  font-weight: 800;
}

.trade-submit,
.pay-submit {
  width: 100%;
  margin-top: 18px;
}

.trade-submit:disabled {
  border-color: var(--line);
  background: var(--paper);
  color: var(--muted);
  cursor: not-allowed;
}

.pay-submit:disabled,
.order-action:disabled {
  cursor: wait;
  opacity: 0.58;
}

.pay-layout {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
}

.pay-card {
  text-align: center;
}

.pay-order-no {
  color: var(--muted);
  font-size: 13px;
}

.pay-amount {
  margin: 18px 0;
  color: var(--jade);
  font-size: 28px;
  font-weight: 900;
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.pay-methods label,
.pay-methods span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.payment-countdown {
  min-width: 72px;
  display: inline-block;
  color: var(--jade);
  font-variant-numeric: tabular-nums;
}

.payment-action-message {
  margin-top: 16px;
  text-align: left;
}

.payment-modal-box {
  width: min(440px, 100%);
  text-align: center;
}

.payment-order-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}

.payment-order-summary strong,
.payment-expire strong {
  color: var(--jade);
}

.payment-qr-frame {
  width: min(280px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 18px auto 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.payment-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-qr-hint {
  color: var(--ink) !important;
  font-weight: 700;
}

.payment-expire {
  margin-top: 4px !important;
  font-size: 13px;
}

.payment-modal-message {
  margin-top: 14px;
  text-align: left;
}

.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.order-tabs a,
.order-tabs button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.order-tabs a.active,
.order-tabs button.active {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.order-pagination {
  margin-top: 22px;
}

.order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.order-card-head,
.order-card-foot {
  padding: 14px 18px;
}

.order-card-head {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.order-status {
  color: var(--jade);
  font-weight: 800;
}

.order-card-body {
  padding: 16px 18px;
}

.order-card-foot {
  border-top: 1px solid var(--line);
}

.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.refund-list-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 0;
}

.refund-list-summary > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.refund-list-summary .refund-list-reason {
  grid-column: 1 / -1;
}

.refund-list-summary dt {
  color: var(--muted);
  font-size: 13px;
}

.refund-list-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  text-align: right;
}

.refund-list-summary dd a {
  color: var(--jade);
  font-weight: 700;
}

.refund-list-summary .refund-list-amount {
  color: var(--jade);
  font-weight: 800;
}

.refund-list-update {
  color: var(--muted);
  font-size: 13px;
}

.refund-list-update:empty {
  display: none;
}

.order-action.secondary {
  background: var(--white);
  color: var(--jade);
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.order-progress span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.order-progress span.active {
  border-color: rgba(166, 6, 3, 0.38);
  background: var(--jade-soft);
  color: var(--jade);
  font-weight: 800;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
  margin-bottom: 20px;
}

.search-page-form input {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
}

.search-page-form button {
  border: 0;
  border-radius: 4px;
  background: var(--jade);
  color: var(--white);
  font-weight: 800;
}

.search-page-results {
  display: grid;
  gap: 24px;
}

.search-result-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.search-result-section h2 {
  margin-bottom: 14px;
}

.search-master-list,
.search-news-list {
  display: grid;
  gap: 12px;
}

.search-news-list a {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.search-news-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.support-section {
  padding: 34px 0 54px;
  background: var(--paper);
}

.guarantee-banner-section {
  background: #080202;
}

.guarantee-banner-section .banner-carousel {
  height: auto;
  aspect-ratio: 96 / 25;
}

.guarantee-panel {
  overflow: hidden;
}

.guarantee-tabs button {
  display: inline-flex;
  flex: 1 1 140px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
}

.guarantee-tab-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.guarantee-tab-panel {
  min-height: 240px;
}

.guarantee-video {
  display: block;
  width: min(100%, 900px);
  margin: 0 auto 24px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.guarantee-rich-text {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.guarantee-rich-text > :first-child {
  margin-top: 0;
}

.guarantee-rich-text > :last-child {
  margin-bottom: 0;
}

.guarantee-rich-text img {
  width: auto;
  height: auto;
  margin: 16px auto;
}

.support-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.support-nav,
.support-card,
.coupon-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.support-nav {
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.support-nav a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.support-nav a:last-child {
  border-bottom: 0;
}

.support-nav a.active,
.support-nav a:hover {
  background: var(--jade-soft);
  color: var(--jade);
}

.support-card,
.article-card {
  padding: 22px;
}

.support-card h2,
.article-card h2 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 18px;
}

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

.profile-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.profile-grid span,
.profile-grid strong {
  display: block;
}

.profile-grid span {
  color: var(--muted);
  font-size: 13px;
}

.profile-grid strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

.member-profile-state {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}

.member-profile-state strong {
  color: var(--jade-dark);
}

.member-profile-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.profile-page-card .trade-card-head {
  margin-bottom: 18px;
}

.profile-page-card .trade-card-head h2 {
  margin: 0;
}

.profile-avatar-section {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar-preview {
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--jade-soft);
}

.profile-avatar-preview img,
.profile-avatar-preview span {
  width: 100%;
  height: 100%;
}

.profile-avatar-preview img {
  display: block;
  object-fit: cover;
}

.profile-avatar-preview img[hidden],
.profile-avatar-preview span[hidden] {
  display: none;
}

.profile-avatar-preview span {
  display: grid;
  place-items: center;
  color: var(--jade-dark);
  font-size: 28px;
  font-weight: 800;
}

.profile-avatar-content > strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.profile-avatar-form {
  margin-top: 10px;
}

.profile-avatar-form .profile-form-message {
  margin: 0 0 12px;
}

.profile-avatar-controls,
.profile-avatar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-avatar-controls > input[type="file"] {
  min-width: 0;
  max-width: 360px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
}

.profile-avatar-controls > input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 9px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.profile-avatar-actions button {
  min-width: 84px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.profile-avatar-actions button[type="submit"] {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.profile-avatar-actions button:disabled,
.profile-avatar-controls > input[type="file"]:disabled {
  cursor: wait;
  opacity: 0.66;
}

.profile-edit-panel {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-edit-panel[hidden] {
  display: none;
}

.profile-edit-head h3 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 16px;
}

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

.profile-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.profile-field input,
.profile-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-field input:focus,
.profile-field select:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.profile-form-message {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--jade);
  background: var(--jade-soft);
  color: var(--jade-dark);
  font-size: 13px;
}

.profile-form-message.success {
  border-left-color: #2f7650;
  background: #edf7f1;
  color: #245b3e;
}

.profile-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.profile-form-actions button {
  min-width: 92px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.profile-form-actions button[type="submit"] {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.profile-form-actions button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.certificate-query-state {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}

.certificate-query-state strong {
  color: var(--jade-dark);
}

.certificate-query-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.certificate-images {
  margin-top: 24px;
}

.certificate-images > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.certificate-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  object-fit: contain;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.support-actions a,
.trade-card-head button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--jade);
  border-radius: 4px;
  background: var(--jade);
  color: var(--white);
  font-weight: 800;
}

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

.address-page-card .trade-card-head {
  margin-bottom: 18px;
}

.address-page-card .trade-card-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.address-page-card .trade-card-head h2 {
  margin: 0;
}

.address-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.address-page-card .trade-card-head button:disabled,
.address-page-card .trade-card-head button:disabled:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.address-create-panel {
  margin-bottom: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.address-create-panel[hidden] {
  display: none;
}

.address-create-head h3 {
  margin: 0 0 14px;
  color: var(--jade-dark);
  font-size: 16px;
}

.address-create-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.address-form-mode {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.address-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.address-field-wide,
.address-default-field,
.address-form-actions,
.address-form-message {
  grid-column: 1 / -1;
}

.address-field input,
.address-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.address-field input {
  min-height: 42px;
  padding: 0 12px;
}

.address-field textarea {
  min-height: 90px;
  padding: 10px 12px;
  resize: vertical;
}

.address-field input:focus,
.address-field textarea:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.address-default-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.address-default-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--jade);
}

.address-form-message {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--jade);
  background: var(--jade-soft);
  color: var(--jade-dark);
  font-size: 13px;
}

.address-form-message.success {
  border-left-color: #2f7650;
  background: #edf7f1;
  color: #245b3e;
}

.address-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.address-form-actions button {
  min-width: 92px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.address-form-actions button[type="submit"] {
  border-color: var(--jade);
  background: var(--jade);
  color: var(--white);
}

.address-form-actions button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.member-address-list .address-card {
  overflow-wrap: anywhere;
}

.member-address-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.member-address-card-head strong {
  color: var(--ink);
}

.member-address-mobile {
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.member-address-state {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}

.member-address-state strong {
  color: var(--jade-dark);
}

.member-address-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.member-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.member-address-actions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.member-address-actions button:hover,
.member-address-actions button:focus-visible {
  border-color: var(--jade);
  color: var(--jade);
}

.member-address-actions button[data-address-action="default"] {
  border-color: rgba(166, 6, 3, 0.38);
  color: var(--jade);
}

.address-action-message {
  margin-bottom: 16px;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.coupon-card {
  padding: 22px;
  background: linear-gradient(135deg, #fff, #fff5e4);
}

.coupon-card strong {
  display: block;
  color: var(--jade);
  font-size: 28px;
}

.coupon-card span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
}

.coupon-card p,
.article-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.coupon-card.used {
  opacity: 0.72;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.news-detail-article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-detail-article img {
  width: 100%;
  aspect-ratio: 1.8;
  margin: 18px 0;
  border-radius: 6px;
  object-fit: cover;
}

.news-detail-article h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 28px;
}

.news-detail-article p {
  color: var(--muted);
}

.auth-member-hero {
  padding: 30px 0 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.auth-member-hero h1 {
  margin: 0;
  color: var(--jade-dark);
  font-size: 30px;
  line-height: 1.25;
}

.auth-member-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-section {
  padding: 42px 0 58px;
  background: #f5eee9;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  gap: 0;
  align-items: stretch;
}

.auth-panel {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  max-width: 960px;
  min-height: 500px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(95, 5, 3, 0.08);
}

.auth-card,
.auth-benefits {
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.auth-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 36px 38px 30px;
  border-left: 1px solid var(--line);
}

.auth-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-card-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--jade);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.28), 0 10px 20px rgba(166, 6, 3, 0.22);
}

.auth-card-brand strong {
  display: block;
  color: var(--jade-dark);
  font-size: 22px;
  line-height: 1.1;
}

.auth-card-brand em {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.auth-side {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 40px 44px;
  background:
    linear-gradient(135deg, rgba(166, 6, 3, 0.08), rgba(194, 138, 44, 0.12)),
    var(--paper);
}

.auth-side-image {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.auth-side-image img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.auth-head {
  padding: 0 0 2px;
  border-bottom: 0;
}

.auth-head h2,
.auth-benefits h2 {
  margin: 0;
  color: var(--jade-dark);
  font-size: 22px;
  line-height: 1.25;
}

.auth-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-message {
  padding: 8px 11px;
  border: 1px solid rgba(166, 6, 3, 0.22);
  border-radius: 4px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 13px;
}

.auth-message.success {
  border-color: rgba(194, 138, 44, 0.36);
  background: #fff7e8;
  color: #8a5a12;
}

.auth-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: #fffdfb;
  color: var(--ink);
  outline: 0;
}

.auth-field input:focus {
  border-color: var(--jade);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.auth-code-field div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
}

.auth-code-field button,
.auth-submit {
  min-height: 38px;
  border-radius: 4px;
  font-weight: 800;
}

.auth-code-field button {
  border: 1px solid var(--jade);
  background: var(--white);
  color: var(--jade);
}

.auth-code-field button:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.auth-captcha-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 8px;
}

.auth-captcha-control > input:not([type="hidden"]) {
  height: 42px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-captcha-refresh {
  overflow: hidden;
  width: 128px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  cursor: pointer;
}

.auth-captcha-refresh:focus-visible {
  border-color: var(--jade);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(166, 6, 3, 0.08);
}

.auth-captcha-refresh:disabled {
  cursor: wait;
  opacity: 0.62;
}

.auth-captcha-refresh img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-captcha-refresh img:not([src]) {
  visibility: hidden;
}

.auth-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-agreement input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--jade);
}

.auth-agreement a,
.auth-switch a {
  color: var(--jade);
  font-weight: 700;
}

.auth-submit {
  margin-top: 2px;
  border: 0;
  background: var(--jade);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(166, 6, 3, 0.18);
}

.auth-submit:hover {
  background: var(--jade-dark);
}

.auth-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.auth-switch {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-login-card {
  align-content: center;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.auth-row a {
  color: var(--jade);
  font-weight: 700;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.auth-remember input {
  width: 15px;
  height: 15px;
  accent-color: var(--jade);
}

.auth-benefits {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(166, 6, 3, 0.08), rgba(194, 138, 44, 0.12)),
    var(--paper);
}

.auth-benefits ul {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(234, 217, 210, 0.9);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-benefits strong {
  color: var(--jade-dark);
  font-size: 16px;
}

.auth-benefits span {
  color: var(--muted);
  font-size: 13px;
}

.agreement-section {
  padding: 34px 0 52px;
  background: var(--white);
}

.agreement-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(95, 5, 3, 0.07);
}

.agreement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.agreement-block {
  padding: 4px 0 18px;
}

.agreement-block + .agreement-block {
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}

.agreement-block h2 {
  margin: 0 0 10px;
  color: var(--jade-dark);
  font-size: 20px;
  line-height: 1.35;
}

.agreement-block p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.agreement-note {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 13px;
}

@media (max-width: 980px) {
  .brand-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }

  .brand-service {
    padding-left: 0;
    border-left: 0;
  }

  .gallery-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .master-profile-card,
  .master-detail-layout {
    grid-template-columns: 1fr;
  }

  .master-profile-card {
    gap: 20px;
  }

  .master-profile-photo img {
    max-height: 420px;
  }

  .master-work-grid,
  .master-style-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mall-hero-grid {
    grid-template-columns: 230px minmax(0, 1fr);
  }

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

  .work-grid,
  .master-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid,
  .sale-grid,
  .service-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-nav a {
    border-right: 1px solid var(--line);
  }

  .sale-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-top {
    grid-template-columns: 1fr;
  }

  .detail-title-grid {
    grid-template-columns: 1fr;
  }

  .detail-top-author {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
  }

  .detail-top-author h2,
  .detail-top-author p {
    grid-column: 1 / -1;
  }

  .detail-top-author img {
    aspect-ratio: 1;
  }

  .detail-top-author.no-avatar {
    grid-template-columns: 1fr;
  }

  .detail-top-author.no-avatar h2,
  .detail-top-author.no-avatar p {
    grid-column: auto;
  }

  .cart-head {
    display: none;
  }

  .cart-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .cart-price,
  .cart-qty,
  .cart-subtotal,
  .cart-delete {
    grid-column: 2;
  }

  .cart-price::before {
    color: var(--muted);
    content: "单价：";
    font-weight: 400;
  }

  .cart-subtotal::before {
    color: var(--muted);
    content: "小计：";
    font-weight: 400;
  }

  .cart-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .cart-submit {
    width: 100%;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .auth-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 9px 0;
  }

  .topbar-links {
    gap: 14px;
  }

  .topbar-member-link {
    max-width: 96px;
  }

  .brand-logo strong {
    font-size: 26px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form input {
    min-height: 46px;
  }

  .search-form button {
    min-height: 44px;
  }

  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0;
    background: transparent;
    color: var(--white);
  }

  .drawer-open {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 4px;
    background: var(--jade-dark);
    color: var(--white);
    font-weight: 700;
  }

  .mobile-nav-bar span {
    font-size: 14px;
    opacity: 0.88;
  }

  .site-menu {
    display: none;
  }

  .mobile-drawer {
    display: block;
  }

  .mall-hero {
    padding: 0 0 24px;
  }

  .mall-hero-grid {
    position: static;
    height: auto;
    transform: none;
    gap: 14px;
    pointer-events: auto;
  }

  .mall-category {
    width: auto;
    height: auto;
    margin-top: 12px;
    border-radius: 0;
    overflow: hidden;
  }

  .mall-category-flyout {
    display: none;
  }

  .mall-category:hover .mall-category-flyout,
  .mall-category.is-flyout-open .mall-category-flyout {
    display: none;
  }

  .mall-category-list {
    grid-template-rows: none;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .mall-category-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .banner-carousel {
    height: 220px;
  }

  .home-section {
    padding: 38px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .work-grid,
  .master-grid,
  .master-work-grid,
  .master-style-gallery,
  .news-grid,
  .sale-grid,
  .service-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .master-profile-card,
  .master-detail-block,
  .master-aside-card {
    padding: 18px;
  }

  .master-profile-info h1 {
    font-size: 30px;
  }

  .master-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sale-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sale-sort {
    justify-content: flex-start;
  }

  .rank-head {
    align-items: flex-start;
  }

  .rank-tabs {
    justify-content: flex-start;
  }

  .rank-board {
    gap: 16px;
  }

  .rank-table-head {
    display: none;
  }

  .rank-item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 68px;
    padding: 10px 12px;
  }

  .rank-author,
  .rank-popularity {
    display: none;
  }

  .rank-item b {
    grid-column: 3;
  }

  .work-card-wide {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .work-info {
    padding: 14px;
  }

  .work-info h3 {
    font-size: 17px;
  }

  .page-banner {
    min-height: 210px;
  }

  .page-banner-inner {
    padding: 34px 0;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .page-banner p {
    font-size: 15px;
  }

  .faq-section {
    padding: 32px 0 42px;
  }

  .faq-question {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 14px;
  }

  .faq-answer {
    padding: 0 14px 16px;
  }

  .detail-section {
    padding: 24px 0 34px;
  }

  .detail-summary {
    padding: 18px;
  }

  .detail-summary h1 {
    font-size: 24px;
  }

  .detail-name-line {
    padding-bottom: 16px;
  }

  .detail-brief-specs {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .detail-compact-price {
    padding: 20px 0 16px;
  }

  .detail-compact-price strong {
    font-size: 28px;
  }

  .detail-top-author {
    grid-template-columns: 1fr;
  }

  .detail-top-author h2,
  .detail-top-author p {
    grid-column: auto;
  }

  .detail-tabs button {
    flex: 1;
    padding: 0 10px;
  }

  .auth-member-hero {
    padding: 24px 0 18px;
  }

  .auth-member-hero h1 {
    font-size: 26px;
  }

  .auth-section {
    padding: 24px 0 38px;
    background: #f5eee9;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-side {
    display: none;
  }

  .auth-card {
    gap: 12px;
  }

  .auth-card-brand > span {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .auth-card-brand strong {
    font-size: 20px;
  }

  .auth-head h2,
  .auth-benefits h2 {
    font-size: 21px;
  }

  .auth-code-field div {
    grid-template-columns: 1fr;
  }

  .agreement-section {
    padding: 28px 0 40px;
  }

  .agreement-card {
    padding: 22px 18px;
  }

  .agreement-block h2 {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .topbar-member-link {
    max-width: 58px;
  }

  .banner-carousel {
    height: 190px;
  }

  .banner-dots {
    bottom: 16px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .work-card-wide {
    grid-template-columns: 1fr;
  }

  .work-card-wide .work-image img {
    aspect-ratio: 1.22;
  }

  .rank-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .rank-item b {
    grid-column: 2;
  }

  .faq-nav {
    grid-template-columns: 1fr;
  }

  .faq-nav a {
    border-right: 0;
  }
}

/* 全站紧凑化：统一降低页面厚重感，贴近传统商城的信息密度。 */
:root {
  --site-container-width: 1160px;
  --home-category-width: 236px;
}

.container {
  width: min(1160px, calc(100% - 28px));
}

.topbar {
  font-size: 13px;
}

.topbar-inner {
  min-height: 34px;
}

.site-brand .brand-inner {
  min-height: 92px;
  gap: 26px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  font-size: 26px;
}

.brand-logo strong {
  font-size: 26px;
}

.brand-logo em,
.brand-service span,
.search-result-group a span,
.search-empty {
  font-size: 12px;
}

.brand-service strong {
  font-size: 15px;
}

.search-form input {
  padding: 10px 14px;
}

.search-form button {
  padding: 0 26px;
}

.site-menu {
  min-height: 44px;
}

.site-category-entry {
  width: 236px;
  min-height: 44px;
  font-size: 15px;
}

.site-category-dropdown .mall-category {
  width: var(--home-category-width);
}

.site-menu-link {
  min-width: 100px;
  padding: 0 18px;
  font-size: 15px;
}

.mall-hero {
  padding: 0;
}

.mall-hero-grid {
  height: 300px;
}

.mall-category {
  width: var(--home-category-width);
  height: 300px;
}

.banner-carousel {
  height: 300px;
}

.mall-category-head {
  min-height: 42px;
}

.mall-category-list {
  max-height: 300px;
}

.mall-category-row {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 0 26px 0 12px;
}

.mall-category-row strong {
  font-size: 14px;
}

.mall-category-row a {
  font-size: 12px;
}

.mall-category-row div {
  max-height: 22px;
}

.home-section,
.collection-section {
  padding: 42px 0;
}

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

.section-head h2 {
  font-size: 26px;
}

.work-grid,
.master-grid,
.news-grid,
.sale-grid {
  gap: 16px;
}

.work-info,
.sale-card-info {
  padding: 13px;
}

.work-info h3,
.sale-card-info h3 {
  min-height: 42px;
  font-size: 16px;
}

.work-info p,
.sale-card-info p,
.master-card p,
.news-card p {
  font-size: 13px;
}

.work-meta strong,
.sale-card-price strong {
  font-size: 17px;
}

.rank-board {
  gap: 18px;
}

.rank-table-head,
.rank-item {
  grid-template-columns: 56px minmax(0, 1.35fr) 96px 78px 98px;
  gap: 12px;
}

.rank-item {
  min-height: 56px;
  padding: 0 14px;
}

.rank-title strong {
  font-size: 15px;
}

.master-card div,
.news-card div {
  padding: 14px;
}

.master-card h3 {
  font-size: 20px;
}

.gallery-grid {
  gap: 22px;
}

.footer-main {
  gap: 36px;
  padding: 30px 0;
}

.service-grid {
  padding: 22px 0;
}

.footer-brand strong {
  font-size: 24px;
}

.page-hero {
  padding: 36px 0;
}

.page-hero h1 {
  font-size: 32px;
}

.faq-section,
.sale-section {
  padding: 32px 0 46px;
}

.faq-layout {
  gap: 22px;
}

.faq-question {
  min-height: 50px;
}

.sale-filter-row {
  padding: 13px 16px;
}

.sale-toolbar {
  margin: 18px 0 16px;
}

.sale-page-buttons button,
.sale-filter-btn,
.sale-sort button,
.sale-sort a {
  min-height: 32px;
}

.detail-section {
  padding: 26px 0 34px;
}

.detail-breadcrumb {
  margin-bottom: 30px;
  font-size: 13px;
}

.detail-top {
  grid-template-columns: minmax(340px, 470px) minmax(620px, 1fr);
  gap: 28px;
}

.detail-thumb-carousel {
  gap: 8px;
  padding: 10px;
}

.detail-thumb-track {
  gap: 8px;
}

.detail-thumb {
  flex-basis: calc((100% - 24px) / 4);
}

.detail-summary {
  padding: 20px;
}

.detail-title-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
}

.detail-name-line {
  padding: 4px 0 18px;
}

.detail-name-line h1 {
  font-size: 26px;
}

.detail-name-line span,
.detail-brief-specs {
  font-size: 14px;
}

.detail-brief-specs {
  gap: 10px 24px;
  padding: 16px 34px;
}

.detail-compact-price {
  padding: 22px 0 16px;
  font-size: 16px;
}

.detail-compact-price strong {
  font-size: 28px;
}

.detail-buy,
.detail-fav {
  min-height: 40px;
  padding: 0 24px;
}

.detail-feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.detail-feature-row span {
  min-width: 0;
}

.detail-feature-row b {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.detail-feature-row em {
  font-size: 12px;
}

.detail-top-author {
  padding: 12px;
}

.detail-top-author h2 {
  font-size: 17px;
}

.detail-top-author-head strong {
  font-size: 18px;
}

.detail-top-author p {
  font-size: 13px;
}

.detail-tab-panel {
  padding: 20px;
}

.detail-tab-panel h2 {
  font-size: 20px;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .site-brand .brand-inner {
    gap: 14px;
    padding: 18px 0;
  }

  .detail-top {
    grid-template-columns: 1fr;
  }

  .detail-title-grid {
    grid-template-columns: 1fr;
  }

  .trade-layout,
  .checkout-options,
  .pay-methods,
  .support-layout,
  .news-guide-layout,
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .trade-summary {
    position: static;
  }

  .news-guide-rank {
    position: static;
  }

  .support-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .brand-logo strong {
    font-size: 24px;
  }

  .banner-carousel {
    height: 220px;
  }

  .home-section,
  .collection-section {
    padding: 32px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .page-hero {
    padding: 28px 0;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .detail-summary {
    padding: 16px;
  }

  .detail-name-line h1 {
    font-size: 23px;
  }

  .detail-brief-specs {
    padding: 14px 0;
  }

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

  .detail-actions .detail-buy,
  .detail-actions .detail-fav,
  .detail-actions .detail-favorite {
    width: 100%;
    padding: 0 12px;
  }

  .detail-actions .detail-favorite,
  .detail-actions .favorite-action-message {
    grid-column: 1 / -1;
  }

  .detail-actions .favorite-action-message {
    margin-top: 0;
  }

  .detail-feature-row {
    justify-content: flex-start;
  }

  .cart-section {
    padding: 26px 0 38px;
  }

  .cart-row {
    padding: 12px;
  }

  .cart-product {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .cart-product img,
  .cart-product-cover-empty {
    width: 74px;
    height: 64px;
  }

  .trade-card,
  .search-result-section {
    padding: 16px;
  }

  .order-product {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .order-product-side {
    grid-column: 2;
    justify-items: start;
  }

  .order-product-cover,
  .order-product-cover-empty {
    width: 66px;
    height: 64px;
  }

  .refund-product {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .refund-product em {
    grid-column: 2;
  }

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

  .refund-reason-field,
  .refund-description-field {
    grid-column: auto;
  }

  .refund-evidence-field {
    grid-column: auto;
  }

  .refund-evidence-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .refund-evidence-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refund-form-actions,
  .refund-form-actions .auth-submit {
    width: 100%;
  }

  .refund-order-summary {
    position: static;
  }

  .refund-evidence > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refund-timeline li {
    grid-template-columns: 1fr;
  }

  .order-card-head,
  .order-card-foot,
  .trade-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .refund-list-summary {
    grid-template-columns: 1fr;
  }

  .refund-list-summary .refund-list-reason {
    grid-column: auto;
  }

  .refund-list-card .order-card-actions {
    justify-content: flex-start;
  }

  .order-progress {
    grid-template-columns: 1fr;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .certificate-images > div {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .coupon-grid,
  .profile-form-grid,
  .address-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-page-card .trade-card-head {
    align-items: stretch;
  }

  .profile-page-card .trade-card-head button {
    width: 100%;
  }

  .profile-avatar-section {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .profile-avatar-preview {
    width: 72px;
  }

  .profile-avatar-controls {
    display: grid;
  }

  .profile-avatar-controls > input[type="file"] {
    width: 100%;
    max-width: none;
  }

  .profile-avatar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-avatar-actions button {
    width: 100%;
  }

  .address-page-card .trade-card-head {
    align-items: stretch;
  }

  .address-page-card .trade-card-head button {
    width: 100%;
  }

  .profile-form-actions,
  .address-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-form-actions button,
  .address-form-actions button {
    width: 100%;
  }

  .news-detail-article {
    padding: 18px;
  }

  .news-detail-article h1 {
    font-size: 22px;
  }

  .news-category-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .news-category-info h3 {
    font-size: 18px;
  }
}

/* 全站紧凑字号标准：统一降低页面标题、卡片标题和正文文字层级。 */
.brand-mark,
.brand-logo strong {
  font-size: 24px;
}

.brand-logo em,
.brand-service span,
.site-menu-link,
.service-grid span,
.footer-group a,
.footer-copy {
  font-size: 13px;
}

.brand-service strong,
.service-grid strong,
.footer-group h3,
.detail-top-author-head strong {
  font-size: 15px;
}

.section-head h2,
.footer-brand strong,
.faq-group h2,
.auth-card-brand > span,
.auth-card-brand strong {
  font-size: 24px;
}

.page-hero h1 {
  font-size: 28px;
}

.page-hero p,
.footer-brand p,
.faq-answer,
.detail-tab-panel p,
.detail-service-list,
.sale-toolbar p,
.sale-card-info p,
.work-info p,
.master-card p,
.news-card p {
  font-size: 14px;
}

.work-info h3,
.sale-card-info h3,
.rank-title strong,
.faq-question span,
.detail-tabs button {
  font-size: 15px;
}

.master-card h3,
.detail-tab-panel h2,
.detail-top-author h2 {
  font-size: 18px;
}

.work-meta strong,
.sale-card-price strong {
  font-size: 16px;
}

.sale-card-meta,
.sale-card-price del,
.work-meta em,
.rank-title em,
.rank-author,
.rank-popularity,
.detail-breadcrumb,
.detail-top-author p,
.detail-brief-specs,
.detail-name-line span {
  font-size: 13px;
}

.detail-name-line h1 {
  font-size: 24px;
}

.detail-compact-price {
  font-size: 14px;
}

.detail-compact-price strong {
  font-size: 24px;
}

.detail-buy,
.detail-fav,
.sale-filter-btn,
.sale-sort button,
.sale-sort a,
.sale-page-buttons button,
.drawer-link,
.faq-nav a {
  font-size: 14px;
}

@media (max-width: 720px) {
  .section-head h2 {
    font-size: 22px;
  }

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

  .detail-name-line h1 {
    font-size: 22px;
  }

  .guarantee-tabs button {
    flex: 1 1 50%;
    min-width: 0;
  }
}
