.catalog-screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: calc(var(--safe-top) + var(--nav-h));
  padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 24PX);
  background: var(--color-bg);
  overflow-x: hidden;
}

.catalog-screen.no-tab {
  padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 16PX);
}

.catalog-screen.native-navigation {
  padding-top: 0;
}

.catalog-top {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: var(--screen-w);
  height: calc(var(--safe-top) + var(--nav-h));
  padding-top: var(--safe-top);
  transform: translateX(-50%);
  background: var(--color-header);
  box-sizing: border-box;
}

.catalog-nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--capsule-right-space) 0 16PX;
  background: var(--color-header);
}

.catalog-back {
  flex: 0 0 28PX;
  display: flex;
  align-items: center;
  width: 28PX;
  height: var(--nav-h);
  cursor: pointer;
}

.catalog-back-icon {
  display: block;
  width: 20PX;
  height: 20PX;
  transform: rotate(180deg);
}

.catalog-nav-title {
  display: block;
  max-width: 100%;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 900;
  line-height: var(--nav-h);
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-nav-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8PX;
  cursor: pointer;
}

.catalog-nav-brand-mark {
  display: block;
  width: 28PX;
  height: 28PX;
  flex: 0 0 28PX;
  border-radius: 6PX;
  background: #D7E021;
}

.catalog-nav-brand .catalog-nav-title {
  flex: 1;
  min-width: 0;
}

.catalog-nav-action {
  position: absolute;
  right: 16PX;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  min-width: 44PX;
  min-height: 44PX;
  font-size: var(--font-control);
  line-height: 44PX;
}

.catalog-nav-action.icon-only {
  top: 6PX;
  width: 32PX;
  height: 32PX;
  border: 1PX solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-surface);
  line-height: 1;
}

.catalog-nav-action-icon {
  width: 17PX;
  height: 17PX;
}


.catalog-web-nav {
  display: none;
}

.catalog-content {
  width: 100%;
  padding: 12PX 0 48PX;
  box-sizing: border-box;
}

.bottom-tab-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: var(--screen-w);
  height: calc(var(--tab-h) + var(--safe-bottom) + 16PX);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  gap: 8PX;
  padding: 6PX 16PX calc(var(--safe-bottom) + 10PX);
  box-sizing: border-box;
  border: 1PX solid var(--color-border);
  border-bottom: 0;
  border-radius: 22PX 22PX 0 0;
  background: #FFFFFF;
  box-shadow: 0 -10PX 24PX rgba(26, 26, 26, 0.08);
  transform: translate3d(-50%, 0, 0);
}

.bottom-tab-item {
  flex: 1;
  min-width: 0;
  height: 46PX;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2PX;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
}

.bottom-tab-item.active {
  color: var(--color-brand-ink);
  background: #E5F0EB;
}

.bottom-tab-icon {
  width: 20PX;
  height: 20PX;
  display: block;
  flex: 0 0 20PX;
}

.bottom-tab-label {
  font-size: var(--font-label);
  font-weight: 700;
  line-height: 1.1;
}

.catalog-button {
  height: 44PX;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8PX;
  padding: 0 16PX;
  box-sizing: border-box;
  font-size: var(--font-control);
  font-weight: 700;
  line-height: 1.2;
  border: 0;
  margin: 0;
}

taro-button-core.catalog-button {
  border: 0;
  margin: 0;
}

taro-button-core.catalog-button::after {
  border: 0;
}

.catalog-button-primary {
  color: #fff;
  background: var(--color-gold);
}

.catalog-button-outline {
  color: #fff;
  background: var(--color-brand-ink);
  border: 0;
}

.catalog-button-icon {
  font-size: 14PX;
  line-height: 1;
}

.catalog-button-icon-image {
  width: 17PX;
  height: 17PX;
  display: block;
  flex: 0 0 17PX;
}

.catalog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40PX;
  height: 36PX;
  padding: 0 12PX;
  border: 1PX solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--font-meta);
  font-weight: 700;
  box-sizing: border-box;
  white-space: nowrap;
}

.catalog-chip.active {
  color: #fff;
  border-color: var(--color-brand-ink);
  background: var(--color-brand-ink);
}

.catalog-chip.muted {
  color: var(--color-text-tertiary);
  border-style: dashed;
  background: var(--color-surface-muted);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 9PX;
  height: 44PX;
  padding: 0 12PX;
  border: 1PX solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-sizing: border-box;
}

.catalog-search-icon {
  width: 15PX;
  height: 15PX;
  display: block;
  flex: 0 0 15PX;
}

.catalog-search-input {
  flex: 1;
  min-width: 0;
  height: 30PX;
  padding: 0;
  border: 0;
  font-size: var(--font-body);
  line-height: 30PX;
  color: var(--color-text-primary);
  background: transparent;
  box-sizing: border-box;
  display: block;
}

.catalog-search-input taro-input-core {
  height: 30PX;
  padding: 0;
  font-size: var(--font-body);
  line-height: 30PX;
}

.catalog-search-input::-moz-placeholder, .catalog-search-input taro-input-core::-moz-placeholder {
  color: var(--color-text-secondary);
  line-height: 30PX;
}

.catalog-search-input::placeholder,
.catalog-search-input taro-input-core::placeholder {
  color: var(--color-text-secondary);
  line-height: 30PX;
}

.catalog-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12PX;
  margin-bottom: 10PX;
}

.catalog-section-title {
  display: block;
  color: var(--color-text-primary);
  font-size: var(--font-subtitle);
  font-weight: 900;
  line-height: 1.2;
}

.catalog-section-note {
  display: inline-flex;
  align-items: center;
  gap: 2PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
  line-height: 1.2;
}

.catalog-section-note-icon {
  display: block;
  width: 12PX;
  height: 12PX;
}

.wiki-row {
  display: flex;
  align-items: center;
  gap: 10PX;
  width: 100%;
  min-height: 96PX;
  padding: 12PX;
  border: 1PX solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-sizing: border-box;
}

.wiki-row + .wiki-row {
  margin-top: 12PX;
}

.wiki-row-image {
  flex: 0 0 68PX;
  width: 68PX;
  height: 60PX;
  border-radius: 4PX;
  background: var(--color-surface-muted);
}

.wiki-row-mark {
  flex: 0 0 68PX;
  width: 68PX;
  height: 60PX;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-soft);
  color: var(--color-brand-ink);
  font-size: var(--font-meta);
  font-weight: 800;
}

.wiki-row-copy {
  flex: 1;
  min-width: 0;
}

.wiki-row-heading {
  display: flex;
  align-items: baseline;
  gap: 8PX;
}

.wiki-row-title {
  display: block;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 900;
  line-height: 1.25;
}

.wiki-row-tag {
  color: var(--color-text-secondary);
  font-size: var(--font-caption);
  font-weight: 700;
  line-height: 1;
}

.wiki-row-summary {
  display: block;
  margin-top: 6PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wiki-row-meta {
  display: block;
  margin-top: 5PX;
  color: var(--color-text-tertiary);
  font-size: var(--font-label);
  line-height: 1.2;
}

.catalog-empty {
  width: 100%;
  padding: 22PX 14PX;
  border: 1PX dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-sizing: border-box;
  text-align: center;
}

.catalog-empty-title {
  display: block;
  color: var(--color-text-primary);
  font-size: var(--font-subtitle);
  font-weight: 800;
}

.catalog-empty-description {
  display: block;
  margin-top: 8PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
  line-height: 1.6;
}

.catalog-empty-action {
  margin-top: 14PX;
}

.detail-action-bar {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 8PX);
  z-index: 15;
  width: 358PX;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10PX;
}

.detail-action-bar.single-action {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .catalog-screen {
    --safe-top: 0PX !important;
    --safe-bottom: 0PX !important;
    --capsule-right-space: 16PX !important;
    padding-bottom: calc(var(--tab-h) + 28PX);
  }

  .catalog-screen.no-tab {
    padding-bottom: 84PX;
  }

  .catalog-top,
  .bottom-tab-bar {
    max-width: var(--screen-w);
  }

  .catalog-top {
    border-right: 1PX solid var(--color-border);
    border-left: 1PX solid var(--color-border);
  }

  .catalog-nav {
    padding-right: 24PX;
    padding-left: 24PX;
  }

  .catalog-nav-title {
    font-size: var(--font-subtitle);
  }

  .bottom-tab-bar {
    width: min(var(--content-w), 520PX);
    height: 64PX;
    bottom: 14PX;
    padding: 8PX;
    border: 1PX solid var(--color-border);
    border-radius: 22PX;
    box-shadow: 0 14PX 34PX rgba(26, 26, 26, 0.12);
  }

  .bottom-tab-item {
    height: 46PX;
  }

  .catalog-section-title {
    font-size: var(--font-subtitle);
  }

  .catalog-section-note {
    font-size: var(--font-meta);
  }

  .catalog-search {
    height: 44PX;
    padding: 0 16PX;
  }

  .catalog-search-input,
  .catalog-search-input taro-input-core {
    height: 30PX;
    font-size: var(--font-body);
    line-height: 30PX;
  }

  .catalog-chip {
    height: 36PX;
    padding: 0 14PX;
    font-size: var(--font-meta);
  }

  .wiki-row {
    min-height: 94PX;
    padding: 14PX;
  }

  .wiki-row-title {
    font-size: var(--font-body);
  }

  .wiki-row-summary {
    font-size: var(--font-meta);
  }

  .detail-action-bar {
    width: min(var(--content-w), 520PX);
    bottom: 18PX;
  }
}

.web-shell.catalog-screen {
  --safe-top: 0PX !important;
  --safe-bottom: 0PX !important;
  --capsule-right-space: 16PX !important;
  padding-top: var(--nav-h);
  padding-bottom: 0;
}

.web-shell.catalog-screen.no-tab {
  padding-bottom: 0;
}

.web-shell .catalog-top {
  position: fixed;
  left: 0;
  top: 0;
  max-width: none;
  width: 100%;
  height: var(--nav-h);
  padding-top: 0;
  transform: none;
  border-bottom: 0;
  background: rgba(238, 243, 239, 0.94);
  backdrop-filter: blur(14PX);
}

.web-shell .catalog-top::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 1PX;
  background: var(--color-border);
  pointer-events: none;
}

.web-shell .catalog-nav {
  position: relative;
  z-index: 1;
  width: min(var(--content-w), 1040PX);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0;
  justify-content: space-between;
  gap: 18PX;
}

.web-shell .catalog-nav-title {
  flex: 1;
  min-width: 0;
  font-size: var(--font-subtitle);
  line-height: var(--nav-h);
}

.web-shell .catalog-nav-brand {
  flex: 1;
}

.web-shell .catalog-back {
  flex: 0 0 28PX;
}

.web-shell .catalog-web-nav {
  display: flex;
  align-items: center;
  gap: 6PX;
}

.web-shell .catalog-nav-action {
  position: static;
  height: 34PX;
  padding: 0 12PX;
  border: 1PX solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  line-height: 32PX;
  white-space: nowrap;
}

.web-shell .catalog-nav-action.icon-only {
  width: 34PX;
  flex: 0 0 34PX;
  padding: 0;
  border-radius: 50%;
}

.web-shell .catalog-web-nav-link {
  display: inline-flex;
  min-width: 54PX;
  height: 34PX;
  align-items: center;
  justify-content: center;
  padding: 0 12PX;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
  font-weight: 800;
}

.web-shell .catalog-web-nav-link.active {
  color: #fff;
  background: var(--color-brand-ink);
}

.about-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24PX;
  background: rgba(10, 20, 16, 0.58);
  box-sizing: border-box;
  backdrop-filter: blur(5PX);
}

.about-dialog {
  position: relative;
  width: min(760PX, calc(100vw - 48PX));
  max-height: calc(100vh - 48PX);
  padding: 44PX 52PX 46PX;
  overflow-y: auto;
  border: 1PX solid rgba(255, 255, 255, 0.7);
  border-radius: 18PX;
  background: #FFFDFA;
  box-shadow: 0 28PX 80PX rgba(5, 30, 21, 0.3);
  box-sizing: border-box;
}

.about-dialog-close {
  position: absolute;
  top: 16PX;
  right: 16PX;
  width: 34PX;
  height: 34PX;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1PX solid var(--color-border-strong);
  border-radius: 50%;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  cursor: pointer;
}

.about-dialog-close taro-text-core {
  font-size: 24PX;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1PX);
}

.about-dialog-title {
  display: block;
  padding-right: 36PX;
  color: var(--color-brand-ink);
  font-size: 28PX;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.about-dialog-rule {
  width: 54PX;
  height: 4PX;
  margin: 18PX 0 26PX;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
}

.about-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 18PX;
}

.about-dialog-paragraph {
  display: block;
  color: #343734;
  font-size: var(--font-body);
  line-height: 1.9;
  text-align: justify;
}

.web-shell .bottom-tab-bar {
  display: none;
}

.web-detail-action-bar {
  position: fixed;
  left: auto;
  right: max(24PX, calc((100vw - var(--screen-w)) / 2 + 24PX));
  bottom: calc(env(safe-area-inset-bottom, 0PX) + 24PX);
  z-index: 35;
  display: grid;
  width: auto;
  grid-template-columns: auto auto;
  gap: 10PX;
  padding: 10PX;
  margin: 0;
  transform: none;
  border: 1PX solid rgba(214, 218, 211, 0.9);
  border-radius: 22PX;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(16PX);
  filter: drop-shadow(0 10PX 22PX rgba(26, 26, 26, 0.18));
}

.web-detail-action-bar.single-action {
  grid-template-columns: 1fr;
}

.web-detail-action-bar .catalog-button {
  width: auto;
  min-width: 112PX;
  height: 48PX;
  padding: 0 18PX;
  border-radius: 16PX;
  flex-direction: row;
  gap: 8PX;
  font-size: var(--font-control);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.web-detail-action-bar .catalog-button-icon-image {
  width: 18PX;
  height: 18PX;
  flex-basis: 18PX;
}

@media (max-width: 599px) {
  .web-shell.catalog-screen {
    padding-bottom: 0;
  }

  .web-shell .catalog-nav {
    width: var(--content-w);
    gap: 8PX;
  }

  .web-shell .catalog-nav-brand {
    flex: 0 0 auto;
  }

  .web-shell .catalog-nav-brand .catalog-nav-title {
    display: none;
  }

  .web-shell .catalog-nav-title {
    font-size: var(--font-body);
  }

  .web-shell .catalog-web-nav {
    gap: 2PX;
  }

  .web-shell .catalog-web-nav-link {
    min-width: 0;
    height: 30PX;
    padding: 0 8PX;
    font-size: var(--font-caption);
  }

  .about-dialog-backdrop {
    align-items: flex-end;
    padding: 12PX;
  }

  .about-dialog {
    width: 100%;
    max-height: calc(100vh - 24PX);
    padding: 34PX 22PX 28PX;
    border-radius: 18PX;
  }

  .about-dialog-close {
    top: 12PX;
    right: 12PX;
  }

  .about-dialog-title {
    padding-right: 42PX;
    font-size: 23PX;
  }

  .about-dialog-rule {
    margin: 14PX 0 20PX;
  }

  .about-dialog-body {
    gap: 15PX;
  }

  .about-dialog-paragraph {
    font-size: var(--font-body);
    line-height: 1.82;
  }

  .web-detail-action-bar {
    right: 12PX;
    bottom: calc(env(safe-area-inset-bottom, 0PX) + 12PX);
    left: 12PX;
    width: auto;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    padding: 8PX;
    border-radius: 20PX;
  }

  .web-detail-action-bar .catalog-button {
    width: 100%;
    min-width: 0;
    height: 48PX;
    padding: 0 12PX;
    border-radius: 15PX;
    font-size: var(--font-control);
  }
}

@media (max-width: 374px) {
  .web-shell .catalog-web-nav-link {
    padding: 0 6PX;
  }
}
.responsive-work-photo-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--color-image-placeholder, #EEF3EF);
}

.responsive-work-photo-placeholder-image {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20%;
  height: 26%;
  transform: translate(-50%, -50%);
  -o-object-fit: contain;
     object-fit: contain;
}
.work-card {
  width: 100%;
  overflow: hidden;
  border: 1PX solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-sizing: border-box;
  box-shadow: none;
}

.work-card-image-wrap {
  position: relative;
  width: calc(100% - 16PX);
  height: 88PX;
  margin: 8PX 8PX 0;
  overflow: hidden;
  border-radius: 4PX;
  background: var(--color-image-placeholder, #EEF3EF);
}

.work-card-image {
  width: 100%;
  height: 100%;
  display: block;
}

.work-card-body {
  padding: 8PX 8PX 10PX;
}

.work-card-title {
  display: block;
  min-height: 19PX;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-card-tags {
  display: block;
  margin-top: 5PX;
  color: var(--color-text-secondary);
  font-size: var(--font-label);
  line-height: 1.25;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-card.compact .work-card-image-wrap {
  height: 78PX;
}

.work-card.compact .work-card-body {
  padding-bottom: 8PX;
}

.work-card.masonry .work-card-image-wrap,
.work-card.compact.masonry .work-card-image-wrap {
  height: auto;
  aspect-ratio: auto;
}

.work-card.masonry .work-card-image {
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

@media (min-width: 600px) {
  .work-card-image-wrap,
  .work-card.compact .work-card-image-wrap {
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 10PX 10PX 0;
    width: calc(100% - 20PX);
  }

  .work-card.masonry .work-card-image-wrap,
  .work-card.compact.masonry .work-card-image-wrap {
    height: auto;
    aspect-ratio: auto;
  }

  .work-card-body,
  .work-card.compact .work-card-body {
    padding: 10PX 10PX 12PX;
  }

  .work-card-title {
    min-height: 21PX;
    font-size: var(--font-body);
  }

  .work-card-tags {
    font-size: var(--font-caption);
  }
}
.auth-page .catalog-content {
  padding: 16PX 16PX 48PX;
}

.auth-card {
  width: 100%;
  max-width: 440PX;
  margin: 24PX auto 0;
  box-sizing: border-box;
}

.auth-title {
  display: block;
  color: var(--color-text-primary);
  font-size: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
}

.auth-lead {
  display: block;
  margin-top: 8PX;
  color: var(--color-text-secondary);
  font-size: var(--font-body);
  line-height: 1.6;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14PX;
  margin-top: 28PX;
}

.auth-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8PX;
  margin-top: 22PX;
  padding: 4PX;
  border-radius: var(--radius-md);
  background: var(--color-surface-muted);
}

.auth-method-tab {
  display: flex;
  height: 44PX;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius-md) - 3PX);
  color: var(--color-text-secondary);
  font-size: var(--font-control);
  font-weight: 800;
}

.auth-method-tab.active {
  background: var(--color-surface);
  color: var(--color-brand-ink);
  box-shadow: 0 2PX 8PX #0000000b;
}

.auth-method-tabs + .auth-form { margin-top: 18PX; }
.auth-method-hint { margin: 0; }

.auth-wechat-submit {
  margin-top: 28PX;
}

.auth-wechat-submit.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.auth-method-divider {
  display: flex;
  align-items: center;
  gap: 10PX;
  margin-top: 24PX;
  color: var(--color-text-muted);
  font-size: var(--font-meta);
}

.auth-method-divider > taro-view-core,
.auth-method-divider > div {
  height: 1PX;
  flex: 1;
  background: var(--color-border);
}

.auth-method-divider + .auth-form {
  margin-top: 20PX;
}

.auth-label {
  display: block;
  margin-bottom: 7PX;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 800;
}

.auth-field-hint {
  display: block;
  margin-top: 6PX;
  color: var(--color-text-muted);
  font-size: var(--font-meta);
  line-height: 1.4;
}

.auth-input-row {
  display: flex;
  width: 100%;
  height: 52PX;
  align-items: center;
  gap: 8PX;
  padding: 0 14PX;
  border: 1PX solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-input-row:focus-within {
  border-color: var(--color-brand-ink);
  box-shadow: 0 0 0 3PX rgba(6, 63, 44, 0.08);
}

.auth-code-row { gap: 10PX; }
.auth-code-button {
  display: inline-flex;
  min-width: 96PX;
  min-height: 44PX;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 7PX;
  border-left: 1PX solid var(--color-border);
  color: var(--color-brand-ink);
  font-size: var(--font-meta);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}
.auth-code-button.disabled { color: var(--color-text-muted); pointer-events: none; }

.auth-input {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  line-height: 20PX;
  box-sizing: border-box;
}

.auth-input .weui-input {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 20PX;
  box-sizing: border-box;
}

.auth-password-toggle,
.auth-link {
  color: var(--color-brand-ink);
  font-size: var(--font-meta);
  font-weight: 800;
}

.auth-password-toggle {
  display: inline-flex;
  height: 100%;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 8PX;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.auth-error {
  display: block;
  padding: 10PX 12PX;
  border-radius: var(--radius-sm);
  background: #F9EDEC;
  color: #8A2D27;
  font-size: var(--font-meta);
  line-height: 1.5;
}

.auth-submit {
  margin-top: 8PX;
}

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

.auth-legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 8PX;
  margin-top: 16PX;
  margin-bottom: 16PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
  line-height: 1.65;
}

.auth-legal-checkbox {
  display: flex;
  width: 20PX;
  height: 20PX;
  align-items: center;
  justify-content: center;
  flex: 0 0 20PX;
  margin-top: 1PX;
  border: 1PX solid var(--color-border-strong);
  border-radius: 4PX;
  background: var(--color-surface);
  box-sizing: border-box;
  color: #fff;
  font-size: var(--font-label);
  font-weight: 900;
  line-height: 1;
}

.auth-legal-checkbox.checked {
  border-color: var(--color-brand-ink);
  background: var(--color-brand-ink);
}

.auth-legal-copy { display: flex; flex-wrap: wrap; }
.auth-legal-link { color: var(--color-brand-ink); font-weight: 800; }

.auth-footer {
  display: flex;
  justify-content: center;
  gap: 6PX;
  margin-top: 22PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
}

.auth-secondary-link {
  display: block;
  margin-top: 16PX;
  color: var(--color-brand-ink);
  min-height: 44PX;
  font-size: var(--font-meta);
  font-weight: 800;
  text-align: center;
}

.account-card {
  padding: 18PX;
  border: 1PX solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.account-email {
  display: block;
  margin-top: 6PX;
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12PX;
  margin-top: 20PX;
}

.account-stats { display: flex; gap: 36PX; margin-top: 18PX; padding-top: 16PX; border-top: 1PX solid var(--color-border); }
.account-stat-value, .account-stat-label { display: block; }
.account-stat-value { font-size: 20PX; font-weight: 900; color: var(--color-text-primary); }
.account-stat-label { margin-top: 3PX; font-size: var(--font-meta); color: var(--color-text-secondary); }
.account-section { margin-top: 24PX; }
.account-section-title { display: block; margin-bottom: 10PX; font-size: var(--font-subtitle); font-weight: 900; color: var(--color-text-primary); }
.account-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8PX; }
.account-work { min-width: 0; padding: 6PX; border: 1PX solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.account-work-image { width: 100%; height: 82PX; border-radius: 5PX; background: #111; }
.account-work-title { display: -webkit-box; margin-top: 6PX; overflow: hidden; color: var(--color-text-primary); font-size: var(--font-caption); font-weight: 800; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.account-empty { display: block; padding: 18PX; border: 1PX dashed var(--color-border-strong); border-radius: var(--radius-md); color: var(--color-text-secondary); font-size: var(--font-meta); text-align: center; }

@media (min-width: 600px) {
  .auth-page .catalog-content { padding-top: 36PX; }
  .auth-card { padding: 28PX; border: 1PX solid var(--color-border); border-radius: 12PX; background: var(--color-surface); }
  .auth-input-row { height: 48PX; }
}

/* Pencil: 11. Profile Setup + 12. Profile Home */
.account-page .catalog-content { padding: 22PX 20PX 40PX; }
.account-profile { display: flex; align-items: center; gap: 14PX; }
.account-profile-copy { min-width: 0; flex: 1; }
.account-name, .account-note { display: block; }
.account-name { color: var(--color-text-primary); font-size: var(--font-title); font-weight: 700; }
.account-note { margin-top: 4PX; overflow: hidden; color: var(--color-text-secondary); font-size: var(--font-meta); text-overflow: ellipsis; white-space: nowrap; }
.account-edit-profile { display: flex; min-height: 44PX; align-items: center; gap: 2PX; color: var(--color-text-secondary); font-size: var(--font-meta); font-weight: 600; }
.account-chevron-icon { width: 16PX; height: 16PX; opacity: .62; }
.account-stats-card { display: flex; height: 78PX; align-items: center; justify-content: center; margin-top: 16PX; border: 1PX solid var(--color-border); border-radius: 8PX; background: var(--color-surface); box-shadow: 0 6PX 18PX #0000000a; }
.account-stat { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: center; gap: 4PX; }
.account-stat-value, .account-stat-label { display: block; }
.account-stat-value { color: var(--color-text-primary); font-size: 20PX; font-weight: 700; }
.account-stat-label { color: var(--color-text-secondary); font-size: var(--font-meta); }
.account-quick-actions { display: flex; gap: 14PX; margin-top: 16PX; }
.account-quick-actions-single .account-quick-card { max-width: none; }
.account-quick-card { display: flex; min-width: 0; height: 110PX; flex: 1; flex-direction: column; gap: 8PX; padding: 16PX; border: 1PX solid var(--color-border); border-radius: 8PX; background: var(--color-surface); box-shadow: 0 4PX 14PX #00000008; box-sizing: border-box; }
.account-quick-icon { display: flex; width: 30PX; height: 30PX; align-items: center; justify-content: center; border-radius: 4PX; background: var(--color-brand-ink); }
.account-quick-icon taro-image-core { width: 17PX; height: 17PX; }
.account-quick-title, .account-quick-desc { display: block; }
.account-quick-title { color: var(--color-text-primary); font-size: var(--font-subtitle); font-weight: 700; }
.account-quick-desc { overflow: hidden; color: var(--color-text-secondary); font-size: var(--font-meta); text-overflow: ellipsis; white-space: nowrap; }
.account-settings-card { margin-top: 16PX; overflow: hidden; border: 1PX solid var(--color-border); border-radius: 8PX; background: var(--color-surface); box-shadow: 0 4PX 14PX #00000008; }
.account-setting-row { display: flex; min-height: 52PX; align-items: center; justify-content: space-between; gap: 16PX; padding: 0 16PX; box-sizing: border-box; }
.account-email-setting,
.account-phone-setting { border-bottom: 1PX solid var(--color-border); }
.account-legal-setting { border-top: 1PX solid var(--color-border); }
.account-setting-label { color: var(--color-text-primary); font-size: var(--font-body); font-weight: 700; }
.account-setting-value { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 4PX; color: var(--color-text-secondary); font-size: var(--font-meta); }
.account-setting-value taro-text-core { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-recent-section { margin-top: 16PX; }
.account-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10PX; }
.account-section-title { margin: 0; color: var(--color-text-primary); font-size: var(--font-subtitle); font-weight: 700; }
.account-section-all { display: flex; min-height: 44PX; align-items: center; gap: 2PX; padding-left: 12PX; color: var(--color-text-secondary); font-size: var(--font-meta); }
.account-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8PX; }
.account-work { height: 134PX; overflow: hidden; padding: 0; border: 1PX solid var(--color-border); border-radius: 8PX; background: var(--color-surface); box-sizing: border-box; }
.account-work-image { width: 100%; height: 76PX; border-radius: 0; background: #1a1a1a; }
.account-work-placeholder { display: block; }
.account-work-title { margin: 6PX 8PX 8PX; color: var(--color-text-primary); font-size: var(--font-caption); font-weight: 700; }
.account-footer-actions { display: flex; justify-content: center; gap: 24PX; margin-top: 24PX; color: var(--color-text-secondary); font-size: var(--font-meta); }
.account-email-current { display: flex; justify-content: space-between; gap: 16PX; padding: 12PX 0; border-bottom: 1PX solid var(--color-border); color: var(--color-text-secondary); font-size: var(--font-meta); }
.account-email-current-value { min-width: 0; overflow: hidden; color: var(--color-text-primary); text-overflow: ellipsis; white-space: nowrap; }
.auth-security-status { display: flex; flex-direction: column; gap: 14PX; margin-top: 24PX; padding: 20PX; border-radius: 16PX; background: #f4f1e9; }
.auth-text-action { color: var(--green); font-weight: 700; }

.profile-setup-page .catalog-content { padding: 28PX 32PX 32PX; }
.profile-setup-content { display: flex; flex-direction: column; align-items: center; }
.profile-setup-title, .profile-setup-subtitle { display: block; }
.profile-setup-title { color: var(--color-text-primary); font-size: 28PX; font-weight: 700; }
.profile-setup-subtitle { margin-top: 8PX; color: var(--color-text-secondary); font-size: var(--font-body); }
.profile-form { width: 100%; margin-top: 20PX; }
.profile-label { display: block; margin: 12PX 0; color: var(--color-text-primary); font-size: var(--font-body); font-weight: 600; }
.profile-input-row { display: flex; height: 48PX; align-items: center; padding: 0 14PX; border: 1PX solid var(--color-border); border-radius: 8PX; background: var(--color-surface); box-sizing: border-box; }
.profile-input {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 0;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  line-height: normal;
  box-sizing: border-box;
}
.profile-input .weui-input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  line-height: normal;
  box-sizing: border-box;
}
.profile-chips { display: flex; flex-wrap: wrap; gap: 12PX; }
.profile-chip { display: flex; min-height: 44PX; align-items: center; justify-content: center; padding: 0 16PX; border: 1PX solid var(--color-border-strong); border-radius: 4PX; background: var(--color-surface); color: var(--color-text-primary); font-size: var(--font-control); font-weight: 600; box-sizing: border-box; }
.profile-chip.selected { border-color: var(--color-brand-ink); background: var(--color-brand-ink); color: #fff; }
.profile-submit { width: 100%; margin-top: 32PX; }
.profile-submit.disabled { opacity: .55; pointer-events: none; }

@media (min-width: 600px) {
  .account-page .catalog-content {
    width: min(760PX, var(--content-w));
    margin: 0 auto;
    padding: 32PX 0 48PX;
    box-sizing: border-box;
  }
  .account-profile {
    padding: 20PX;
    border: 1PX solid var(--color-border);
    border-radius: 12PX;
    background: var(--color-surface);
    box-shadow: 0 6PX 18PX #0000000a;
  }
  .account-work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-setup-page .catalog-content {
    width: min(560PX, var(--content-w));
    margin: 0 auto;
    padding: 32PX 0 48PX;
    box-sizing: border-box;
  }
  .profile-setup-content {
    padding: 28PX 36PX 36PX;
    border: 1PX solid var(--color-border);
    border-radius: 12PX;
    background: var(--color-surface);
    box-shadow: 0 6PX 18PX #0000000a;
  }
}

@media (min-width: 900px) {
  .account-page .catalog-content {
    width: min(920PX, var(--content-w));
    display: grid;
    grid-template-columns: minmax(300PX, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto auto 1fr auto;
    gap: 16PX 20PX;
  }
  .account-profile { grid-column: 1; grid-row: 1; }
  .account-stats-card { grid-column: 1; grid-row: 2; margin-top: 0; }
  .account-quick-actions { grid-column: 1; grid-row: 3; margin-top: 0; }
  .account-settings-card { grid-column: 1; grid-row: 4; margin-top: 0; align-self: start; }
  .account-recent-section { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .account-footer-actions { grid-column: 1 / -1; grid-row: 5; margin-top: 8PX; }
  .account-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-work { height: 176PX; }
  .account-work-image { height: 112PX; }
}
.favorites-page .catalog-content {
  padding: 20PX 16PX 36PX;
}

.favorites-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16PX;
}

.favorites-title,
.favorites-count,
.favorites-state,
.favorites-empty-title,
.favorite-title {
  display: block;
}

.wishlist-status {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0.6rem 0.4rem;
  padding: 0.15rem 0.35rem;
  border-radius: 24.975rem;
  background: #e5f1eb;
  color: #064f3b;
  font-size: 0.55rem;
  font-weight: 700;
}

.quantity-stepper-locked {
  opacity: 0.62;
}

.favorites-title {
  color: var(--color-text-primary);
  font-size: 28PX;
  font-weight: 800;
}

.favorites-count,
.favorites-state {
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
}

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

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

.favorite-card {
  min-width: 0;
  overflow: hidden;
  border: 1PX solid var(--color-border);
  border-radius: 10PX;
  background: var(--color-surface);
}

.favorite-card-main {
  min-width: 0;
}

.favorite-image {
  display: block;
  width: 100%;
  height: 132PX;
  background: var(--color-surface-muted);
}

.favorite-placeholder {
  display: block;
}

.favorite-title {
  min-height: 58PX;
  padding: 10PX 12PX 6PX;
  overflow: hidden;
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.favorite-remove {
  display: flex;
  min-height: 44PX;
  align-items: center;
  justify-content: center;
  border-top: 1PX solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
}

.favorite-remove-disabled {
  color: var(--color-text-tertiary);
  background: #f5f7f5;
  cursor: default;
  opacity: 0.78;
}

.favorite-card-footer {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 8PX;
  padding: 4PX 12PX 12PX;
}

.owned-photo-section {
  padding: 8PX 12PX 4PX;
  border-top: 1PX solid var(--color-border);
}

.owned-photo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8PX;
}

.owned-photo-heading-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7PX;
}

.owned-photo-title,
.owned-photo-count,
.owned-photo-empty,
.owned-photo-note,
.owned-photo-author,
.owned-photo-failure-copy {
  display: block;
}

.owned-photo-title {
  color: var(--color-text-primary);
  font-size: var(--font-body);
  font-weight: 800;
}

.owned-photo-count,
.owned-photo-empty {
  color: var(--color-text-secondary);
  font-size: var(--font-meta);
}

.owned-photo-empty {
  margin-top: 8PX;
}

.owned-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8PX;
  margin-top: 9PX;
}

.owned-photo-item {
  min-width: 0;
}

.owned-photo-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 7PX;
  background: #171917;
}

.owned-photo-image {
  display: block;
  width: 100%;
  height: 100%;
}

.owned-photo-status {
  position: absolute;
  right: 4PX;
  bottom: 4PX;
  padding: 3PX 5PX;
  border-radius: 999PX;
  background: rgba(13, 17, 15, .78);
  color: #fff;
  font-size: var(--font-label);
  font-weight: 800;
  line-height: 1;
}

.owned-photo-status.status-selected { background: rgba(6, 79, 59, .9); }

.owned-photo-remove {
  position: absolute;
  z-index: 2;
  top: 4PX;
  right: 4PX;
  display: flex;
  align-items: center;
  min-height: 36PX;
  padding: 0 7PX;
  border: 1PX solid rgba(255, 255, 255, .3);
  border-radius: 999PX;
  background: rgba(92, 28, 24, .88);
  color: #fff;
  font-size: var(--font-label);
  font-weight: 700;
  line-height: 1;
}

.owned-photo-remove.protected { background: rgba(13, 17, 15, .72); }
.owned-photo-remove.removing { opacity: .55; pointer-events: none; }

.owned-photo-author {
  margin-top: 5PX;
  overflow: hidden;
  color: var(--color-text-secondary);
  font-size: var(--font-caption);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owned-photo-note {
  margin-top: 10PX;
  color: var(--color-text-tertiary);
  font-size: var(--font-meta);
  line-height: 1.45;
}

.owned-photo-upload,
.owned-photo-retry {
  display: flex;
  box-sizing: border-box;
  min-height: 44PX;
  align-items: center;
  justify-content: center;
  border: 1PX solid var(--color-border-strong);
  border-radius: 8PX;
  color: var(--color-brand-ink);
  font-size: var(--font-meta);
  font-weight: 800;
}

.owned-photo-upload {
  margin-top: 9PX;
}

.owned-photo-upload.compact {
  min-height: 34PX;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0 12PX;
  white-space: nowrap;
}

.owned-photo-upload.disabled {
  background: #f5f7f5;
  color: var(--color-text-secondary);
  pointer-events: none;
}

.owned-photo-failure {
  margin-top: 8PX;
  padding: 8PX;
  border-radius: 8PX;
  background: #fbf2f1;
}

.owned-photo-failure-copy {
  color: #8a2d27;
  font-size: var(--font-caption);
  line-height: 1.4;
}

.owned-photo-retry {
  min-height: 36PX;
  margin-top: 7PX;
  border-color: rgba(138, 45, 39, .28);
  color: #8a2d27;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8PX;
}

.quantity-button {
  flex: 0 0 44PX;
  width: 44PX;
  height: 44PX;
  border: 1PX solid #d4d9d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #084f37;
  background: #fff;
}

.quantity-value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  color: #424b46;
  font-size: var(--font-body);
}

.favorite-card-footer .favorite-remove {
  min-height: 44PX;
  border: 1PX solid var(--color-border);
  border-radius: 8PX;
}

.favorites-state-card {
  display: flex;
  min-height: 180PX;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14PX;
  padding: 24PX;
  border: 1PX dashed var(--color-border-strong);
  border-radius: 12PX;
  text-align: center;
}

.favorites-empty-title {
  color: var(--color-text-primary);
  font-size: 20PX;
  font-weight: 800;
}

.favorites-state-card .catalog-button {
  min-width: 140PX;
}

@media (min-width: 600px) {
  .favorites-page .catalog-content {
    width: min(920PX, var(--content-w));
    margin: 0 auto;
    padding-top: 28PX;
  }

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

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

  .favorite-image {
    height: 178PX;
  }

  .owned-work-card {
    display: grid;
    grid-template-columns: minmax(220PX, .82fr) minmax(0, 1.18fr);
    grid-template-areas:
      "main photos"
      "footer photos";
    grid-template-rows: 1fr auto;
  }

  .owned-work-card > .favorite-card-main { grid-area: main; }
  .owned-work-card > .owned-photo-section {
    grid-area: photos;
    padding: 18PX;
    border-top: 0;
    border-left: 1PX solid var(--color-border);
  }
  .owned-work-card > .favorite-card-footer {
    grid-area: footer;
    padding: 12PX 16PX 16PX;
  }
  .owned-work-card .favorite-image { height: 230PX; }
  .owned-work-card .favorite-title {
    min-height: 0;
    padding: 14PX 16PX;
    font-size: var(--font-body);
    white-space: normal;
    text-wrap: pretty;
  }
  .owned-work-card .owned-photo-title { font-size: var(--font-body); }
  .owned-work-card .owned-photo-note { font-size: var(--font-meta); }
  .owned-work-card .owned-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10PX;
  }
}

@media (min-width: 980px) {
  .owned-work-card { grid-template-columns: minmax(290PX, .78fr) minmax(0, 1.22fr); }
  .owned-work-card .favorite-image { height: 270PX; }
}

@media (max-width: 599px) {
  .owned-work-card {
    display: flex;
    flex-direction: column;
  }

  .owned-work-card > .favorite-card-main { order: 1; }
  .owned-work-card > .favorite-card-footer {
    order: 2;
    padding-top: 12PX;
    border-top: 1PX solid var(--color-border);
  }
  .owned-work-card > .owned-photo-section { order: 3; }

  .owned-work-grid .favorite-image {
    height: 210PX;
  }

  .owned-photo-upload.compact {
    min-height: 44PX;
    padding: 0 10PX;
    font-size: var(--font-meta);
  }
}
