@charset "UTF-8";
/** 章节小标签（HTML 类或 data-label + ::before） */
.st-page-band {
  padding-block: clamp(2.75rem, 5.5vw, 5.25rem);
  background: var(--st-body-bg, #ffffff);
}
.st-page-band > .container {
  position: relative;
  z-index: 1;
}

.st-page-band--stats {
  padding-block: 0;
  margin-top: calc(1.5rem * -1);
  position: relative;
  z-index: 2;
  background: transparent;
}
.st-page-band--stats .st-stats-v2__item strong {
  color: var(--primary);
}

.st-page-band--cta {
  padding-block: clamp(2.25rem, 4.5vw, 4rem);
}

.st-page-band--surface {
  background: var(--st-surface, #ffffff);
  -webkit-backdrop-filter: blur(var(--st-glass-blur, 14px)) saturate(var(--st-glass-saturate, 1.4));
  backdrop-filter: blur(var(--st-glass-blur, 14px)) saturate(var(--st-glass-saturate, 1.4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.st-page-band--muted {
  background: var(--st-surface-muted, #f8fafc);
  -webkit-backdrop-filter: blur(var(--st-glass-blur, 14px)) saturate(var(--st-glass-saturate, 1.4));
  backdrop-filter: blur(var(--st-glass-blur, 14px)) saturate(var(--st-glass-saturate, 1.4));
}

.st-page-band--muted + .st-page-band--surface,
.st-page-band--surface + .st-page-band--muted,
.st-page-band--surface + .st-page-band--theme-tech,
.st-page-band--muted + .st-page-band--theme-tech {
  border-top: 1px solid var(--st-border-color, #e2e8f0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 -1px 0 var(--st-border-color, #e2e8f0);
}

[data-bs-theme=dark] .st-page-band--surface {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-bs-theme=dark] .st-page-band--muted + .st-page-band--surface,
[data-bs-theme=dark] .st-page-band--surface + .st-page-band--muted,
[data-bs-theme=dark] .st-page-band--surface + .st-page-band--theme-tech,
[data-bs-theme=dark] .st-page-band--muted + .st-page-band--theme-tech {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 -1px 0 var(--st-border-color, #e2e8f0);
}

.st-page-band--sky {
  background: var(--st-page-band-sky-bg);
  overflow: visible;
}

.st-page-band--theme-tech {
  position: relative;
  overflow: hidden;
  background: var(--st-page-band-theme-bg);
  border-top: 1px solid var(--st-border-color, rgba(37, 99, 235, 0.08));
  border-bottom: 1px solid var(--st-border-color, var(--gray-200));
}
.st-page-band--theme-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(37, 99, 235, 0.045) 59px, rgba(37, 99, 235, 0.045) 60px), repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(37, 99, 235, 0.045) 59px, rgba(37, 99, 235, 0.045) 60px);
  mask-image: radial-gradient(ellipse 78% 88% at 50% 42%, #000 22%, transparent 78%);
}
.st-page-band--theme-tech::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 44%, rgba(37, 99, 235, 0.06) 45%, rgba(37, 99, 235, 0.06) 45.4%, transparent 46%), linear-gradient(-28deg, transparent 56%, rgba(59, 130, 246, 0.04) 57%, rgba(59, 130, 246, 0.04) 57.4%, transparent 58%), radial-gradient(ellipse 50% 35% at 12% 18%, rgba(37, 99, 235, 0.07), transparent 68%);
}

.st-page-band--strength {
  position: relative;
  overflow: hidden;
  background: var(--st-page-band-strength-bg);
}
.st-page-band--strength::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 20% 80%, rgba(147, 197, 253, 0.15), transparent), radial-gradient(ellipse 60% 40% at 85% 20%, rgba(96, 165, 250, 0.12), transparent);
}

.st-page-band .st-section-head {
  margin-bottom: 2.5rem;
}

.st-mall-hero {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 58%, #eef2f7 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.st-mall-hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.st-mall-hero-tagline {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0;
}
.st-mall-hero-highlights,
.st-mall-hero .st-hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (max-width: 767.98px) {
  .st-mall-hero-highlights,
  .st-mall-hero .st-hero__highlights {
    grid-template-columns: 1fr;
  }
}
.st-mall-hero-highlight,
.st-mall-hero .st-hero__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--st-surface, rgba(255, 255, 255, 0.9));
  border: 1px solid var(--st-border-color, var(--gray-200));
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.st-mall-hero-highlight i,
.st-mall-hero .st-hero__highlight i {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.st-mall-hero-highlight strong,
.st-mall-hero .st-hero__highlight strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-800));
  margin-bottom: 0.25rem;
}
.st-mall-hero-highlight span,
.st-mall-hero .st-hero__highlight span {
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-500));
  line-height: 1.45;
}

.st-hero--catalog .st-hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (max-width: 767.98px) {
  .st-hero--catalog .st-hero__highlights {
    grid-template-columns: 1fr;
  }
}
.st-hero--catalog .st-hero__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--st-surface, rgba(255, 255, 255, 0.9));
  border: 1px solid var(--st-border-color, var(--gray-200));
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.st-hero--catalog .st-hero__highlight i {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.st-hero--catalog .st-hero__highlight strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-800));
  margin-bottom: 0.25rem;
}
.st-hero--catalog .st-hero__highlight span {
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-500));
  line-height: 1.45;
}

.st-mall-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-500));
  margin-bottom: 1.25rem;
}
.st-mall-trail a {
  color: var(--st-text-muted, var(--gray-600));
  text-decoration: none;
  transition: color 0.22s ease;
}
.st-mall-trail a:hover {
  color: var(--primary);
}
.st-mall-trail-sep {
  color: var(--st-text-muted, var(--gray-400));
  user-select: none;
}
.st-mall-trail-current {
  color: var(--st-text-primary, var(--gray-800));
  font-weight: 600;
}

.filter-bar.st-catalog-filter::before,
.st-mall-catalog-toolbar.st-catalog-filter::before,
.st-portal-channel-nav__bar.st-catalog-filter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(37, 99, 235, 0.045) 47px, rgba(37, 99, 235, 0.045) 48px), repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(37, 99, 235, 0.045) 47px, rgba(37, 99, 235, 0.045) 48px);
  mask-image: radial-gradient(ellipse 92% 120% at 50% 50%, #000 35%, transparent 88%);
}
.filter-bar.st-catalog-filter::after,
.st-mall-catalog-toolbar.st-catalog-filter::after,
.st-portal-channel-nav__bar.st-catalog-filter::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, transparent 42%, rgba(37, 99, 235, 0.06) 43%, rgba(37, 99, 235, 0.06) 43.35%, transparent 44%), linear-gradient(-28deg, transparent 62%, rgba(59, 130, 246, 0.05) 63%, rgba(59, 130, 246, 0.05) 63.35%, transparent 64%), radial-gradient(ellipse 40% 80% at 100% 0%, rgba(37, 99, 235, 0.07), transparent 72%);
}

.filter-bar.st-catalog-filter > .row,
.st-mall-catalog-toolbar.st-catalog-filter > *,
.st-portal-channel-nav__bar.st-catalog-filter > * {
  position: relative;
  z-index: 1;
}

/* ===== 插件市场列表页 (st-mall-catalog) ===== */
.st-mall-catalog-page {
  --st-plugin-accent: #2563eb;
}
.st-mall-catalog-page .st-hero--catalog {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.st-mall-catalog-page .st-hero__highlights {
  margin-top: 1.5rem;
  gap: 1rem;
}

.st-hero.st-hero--catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(37, 99, 235, 0.045) 59px, rgba(37, 99, 235, 0.045) 60px), repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(37, 99, 235, 0.045) 59px, rgba(37, 99, 235, 0.045) 60px);
  mask-image: radial-gradient(ellipse 78% 88% at 50% 42%, #000 22%, transparent 78%);
}
.st-hero.st-hero--catalog::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 46%, rgba(37, 99, 235, 0.06) 47%, rgba(37, 99, 235, 0.06) 47.4%, transparent 48%), linear-gradient(-32deg, transparent 58%, rgba(59, 130, 246, 0.04) 59%, rgba(59, 130, 246, 0.04) 59.4%, transparent 60%), radial-gradient(ellipse 55% 40% at 88% 12%, rgba(37, 99, 235, 0.07), transparent 70%);
}
.st-hero.st-hero--catalog > .container {
  position: relative;
  z-index: 1;
}

.st-mall-catalog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.25rem;
}
@media (max-width: 991.98px) {
  .st-mall-catalog-hero__grid {
    grid-template-columns: 1fr;
  }
}
.st-mall-catalog-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.st-mall-catalog-stat-card {
  padding: 1.25rem;
  border-radius: 16px;
}
.st-mall-catalog-stat-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--st-text-muted, var(--gray-500));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem;
}
.st-mall-catalog-stat-card__value {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
  font-weight: 800;
  color: var(--st-plugin-accent, var(--primary));
  line-height: 1;
  margin: 0;
}
.st-mall-catalog-stat-card__hint {
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-500));
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}
.st-mall-catalog-stat-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.st-mall-catalog-promo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--st-text-primary, var(--gray-800));
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.st-mall-catalog-promo:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.st-mall-catalog-promo .bi-chevron-right {
  margin-left: auto;
}

.st-mall-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--st-border-color, var(--gray-200));
  background: var(--st-surface, #ffffff);
  box-shadow: var(--shadow-sm);
}
.st-mall-catalog-toolbar__meta {
  align-self: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
  white-space: nowrap;
}
.st-mall-catalog-toolbar__meta strong {
  color: var(--st-text, var(--gray-800));
  font-weight: 700;
}
.st-mall-catalog-toolbar.st-catalog-filter {
  position: relative;
  overflow: hidden;
  background: var(--st-catalog-filter-bg);
  border-color: rgba(37, 99, 235, 0.12);
}
.st-mall-catalog-toolbar--facets {
  padding: 0.35rem 1.25rem 0.55rem;
  background: var(--st-surface, #fff);
  border-color: var(--st-border-color, #eee);
  box-shadow: none;
}
.st-mall-catalog-toolbar--facets.st-catalog-filter {
  background: var(--st-surface, #fff);
}
.st-mall-catalog-toolbar--facets.st-catalog-filter::before, .st-mall-catalog-toolbar--facets.st-catalog-filter::after {
  display: none;
}
@media (max-width: 575.98px) {
  .st-mall-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
}

.st-mall-catalog-filters {
  margin-bottom: 0;
  gap: 0.625rem;
}

.st-mall-param-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.st-mall-param-filter-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.35rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed #e8e8e8;
}
.st-mall-param-filter-row:last-child {
  border-bottom: none;
}
@media (max-width: 575.98px) {
  .st-mall-param-filter-row {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
  }
}

.st-mall-param-filter-row__label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-800));
  line-height: 1.6;
  white-space: nowrap;
}
.st-mall-param-filter-row__label .bi {
  font-size: 0.6875rem;
  color: var(--st-text-muted, var(--gray-400));
  line-height: 1;
}

.st-mall-param-filter-row__opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: 0;
}

.st-mall-param-filter-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--st-text-primary, var(--gray-700));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  cursor: pointer;
}
.st-mall-param-filter-link + .st-mall-param-filter-link::before {
  content: "|";
  margin: 0 0.7rem;
  color: #ddd;
  font-weight: 400;
  pointer-events: none;
}
.st-mall-param-filter-link:hover {
  color: var(--primary);
}
.st-mall-param-filter-link.is-active {
  color: var(--primary);
  font-weight: 700;
}
.st-mall-param-filter-link.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.st-mall-param-filter-count {
  margin: 0;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--st-text-muted, var(--gray-500));
}
.is-active .st-mall-param-filter-count {
  color: inherit;
  opacity: 0.85;
}

.st-apps-category-pill.is-disabled,
.st-mall-catalog-filter.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.st-apps-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--bs-border-radius-pill, 50rem);
  border: 1px solid var(--st-border-color, var(--gray-200));
  background: var(--st-surface, #ffffff);
  color: var(--st-text-secondary, var(--gray-700));
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.st-mall-catalog-page .st-apps-category-pill {
  padding: 0.5rem 1rem;
}
.st-apps-category-pill:hover, .st-apps-category-pill.is-active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.st-mall-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 991.98px) {
  .st-mall-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .st-mall-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.st-mall-catalog-card {
  --card-accent: var(--st-plugin-accent, var(--primary));
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.st-mall-catalog-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 35%, var(--gray-200));
  box-shadow: 0 12px 32px color-mix(in srgb, var(--card-accent) 12%, transparent);
  transform: translateY(-2px);
}
.st-mall-catalog-card:hover .st-mall-catalog-card__cta {
  text-decoration: underline;
}
.st-mall-catalog-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.st-mall-catalog-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.st-mall-catalog-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 12%, var(--st-surface, #ffffff));
  border: 1px solid color-mix(in srgb, var(--card-accent) 18%, var(--st-surface, #ffffff));
  flex-shrink: 0;
}
.st-mall-catalog-card__icon--img {
  padding: 6px;
  background: var(--st-surface, #ffffff);
}
.st-mall-catalog-card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.st-mall-catalog-card__badges {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.st-mall-catalog-card__title {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-900));
  margin: 0;
  line-height: 1.35;
}
.st-mall-catalog-card__kind {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--card-accent);
  margin: 0;
}
.st-mall-catalog-card__summary {
  font-size: 0.875rem;
  color: var(--st-text-muted, var(--gray-600));
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.st-mall-catalog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}
.st-mall-catalog-card__publisher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.st-mall-catalog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--st-border-color, var(--gray-100));
}
.st-mall-catalog-card__price {
  font-size: 1rem;
  font-weight: 800;
  color: #ea580c;
}
.st-mall-catalog-card__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--card-accent);
}

.st-mall-catalog-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 16px;
  border: 1px dashed var(--gray-300);
  background: var(--gray-50);
}
.st-mall-catalog-empty__icon {
  font-size: 2.5rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.st-mall-catalog-empty h2 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  margin-bottom: 0.5rem;
}
.st-mall-catalog-empty p {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.st-mall-catalog-partner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  background: linear-gradient(90deg, var(--gray-50), #ffffff);
}
.st-mall-catalog-partner__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.st-mall-catalog-partner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.st-mall-catalog-partner p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.st-mall-catalog-partner .btn {
  flex-shrink: 0;
  margin-left: auto;
}
@media (max-width: 991.98px) {
  .st-mall-catalog-partner {
    flex-direction: column;
    align-items: flex-start;
  }
  .st-mall-catalog-partner .btn {
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .st-mall-hero-highlights {
    margin-top: 1rem;
  }
}
/* ===== 插件详情 · 商城商品页布局 ===== */
/* 左列纵向堆叠；布局 grid 由 .st-mall-product-layout 承担 */
.st-mall-product-layout-page {
  background: var(--st-inner-bg);
}
.st-mall-product-layout-page .st-page-band.st-mall-product-page {
  background: var(--st-inner-bg);
}
.st-mall-product-layout-page .st-mall-product-layout > .st-mall-product-main {
  display: block;
  min-width: 0;
}

.st-mall-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 991.98px) {
  .st-mall-product-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.st-mall-product-header-card,
.st-mall-product-detail-card,
.st-mall-product-rules,
.st-mall-shop-card,
.st-mall-aside-panel {
  border-radius: 4px;
}

.st-mall-product-header-card {
  padding: 0;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.st-mall-product-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(280px, 320px);
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  align-items: start;
}
@media (max-width: 1199.98px) {
  .st-mall-product-hero {
    grid-template-columns: 96px minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.25rem;
  }
}
@media (max-width: 991.98px) {
  .st-mall-product-hero {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}
.st-mall-product-hero__media {
  display: flex;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .st-mall-product-hero__media {
    justify-content: flex-start;
  }
}
.st-mall-product-hero__icon, .st-mall-product-hero__icon-img {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1) 0%, var(--st-surface) 60%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-mall-product-hero__icon {
  font-size: 2.75rem;
  color: var(--st-plugin-accent, var(--primary));
}
.st-mall-product-hero__icon-img img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
}
.st-mall-product-hero__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding-top: 0.15rem;
}
.st-mall-product-hero__kind {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--st-plugin-accent, var(--primary));
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.st-mall-product-hero__title {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  color: var(--st-text-primary);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.st-mall-product-hero__badges {
  margin: 0.5rem 0 0;
}
.st-mall-product-hero__id {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--st-text-muted);
}
.st-mall-product-hero__id code {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--st-surface-muted);
  color: var(--st-text-primary);
  font-size: 0.75rem;
}
.st-mall-product-hero__summary {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: var(--st-text-muted);
  line-height: 1.6;
  max-width: 42rem;
}
.st-mall-product-hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}
.st-mall-product-hero__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--st-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.st-mall-product-hero__quick-link:hover {
  color: var(--primary);
}
.st-mall-product-hero__buy {
  min-width: 0;
}
@media (max-width: 991.98px) {
  .st-mall-product-hero__buy {
    order: 3;
  }
}

.st-mall-product-purchase-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 16px;
  background: var(--st-surface, #fff);
  border: 1px solid var(--st-border-color);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.st-mall-product-purchase-card__price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  margin: -0.15rem -0.2rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.st-mall-product-purchase-card__price-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--st-text-muted);
  letter-spacing: 0.04em;
}
.st-mall-product-purchase-card__price-value {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.st-mall-product-purchase-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.15rem;
}
.st-mall-product-purchase-card__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--st-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.st-mall-product-purchase-card__sub:hover {
  color: var(--primary);
}
.st-mall-product-purchase-card__note {
  font-size: 0.75rem;
  color: var(--st-text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.55;
}
.st-mall-product-purchase-card__note i {
  color: var(--primary);
  margin-right: 0.15rem;
}
.st-mall-product-purchase-card__note a {
  color: var(--primary);
}
.st-mall-product-purchase-card__updated {
  font-size: 0.6875rem;
  color: var(--st-text-muted);
  margin: 0.5rem 0 0;
  opacity: 0.85;
}

.st-mall-product-sku-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.st-mall-product-sku-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--st-text-primary);
}

.st-mall-product-sku-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.st-mall-product-sku-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--st-border-color);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--st-text-primary);
  background: var(--st-surface-muted, #f8fafc);
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}
.st-mall-product-sku-opt:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--primary);
  background: var(--st-surface, #fff);
}
.st-mall-product-sku-opt.is-active {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #eff6ff;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.14);
}
.st-mall-product-sku-opt--trial:not(.is-active) {
  border-style: dashed;
}
.st-mall-product-sku-opt--wide {
  grid-column: 1/-1;
}

.st-mall-product-buy-btn {
  width: 100%;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
}

.st-mall-product-detail-card {
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 16px;
}

.st-mall-tabs-card {
  border-radius: 16px;
}

.st-mall-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 0.5rem;
  border-bottom: 1px solid var(--st-border-color);
  background: var(--st-surface);
}

.st-mall-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--st-text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.st-mall-tab-btn i {
  font-size: 0.875rem;
  opacity: 0.9;
}
.st-mall-tab-btn:hover {
  color: var(--st-text-primary);
}
.st-mall-tab-btn.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.st-mall-tab-nav--market .st-mall-tab-btn.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.st-mall-product-attrs-block {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--st-border-color);
  background: var(--st-surface-muted);
}
.st-mall-product-attrs-block--in-tab {
  margin: -1.25rem -1.25rem 1.25rem;
  border-bottom: 1px solid var(--st-border-color);
}

.st-mall-purchase-bundle {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 991.98px) {
  .st-mall-purchase-bundle {
    grid-template-columns: 1fr;
  }
}
.st-mall-purchase-bundle__notes {
  padding: 1rem 1.15rem;
  border: 1px solid var(--st-border-color);
  border-radius: 4px;
  background: var(--st-surface-muted);
}

.st-mall-purchase-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--st-text-primary);
  line-height: 1.65;
}
.st-mall-purchase-notes li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--st-border-color);
}
.st-mall-purchase-notes li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.st-mall-purchase-notes strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--st-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.st-mall-product-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--st-text-primary);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.st-mall-product-block-title i {
  color: var(--st-plugin-accent, var(--primary));
}

.st-mall-attrs-table__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--st-border-color);
  background: var(--st-surface);
}
.st-mall-attrs-table__row + .st-mall-attrs-table__row {
  border-top: 0;
}
@media (max-width: 991.98px) {
  .st-mall-attrs-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .st-mall-attrs-table__row {
    grid-template-columns: 1fr;
  }
}
.st-mall-attrs-table__cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-right: 1px solid var(--st-border-color);
  font-size: 0.75rem;
}
.st-mall-attrs-table__cell:last-child {
  border-right: 0;
}
.st-mall-attrs-table__cell span {
  color: var(--st-text-muted);
}
.st-mall-attrs-table__cell strong {
  color: var(--st-text-primary);
  font-weight: 600;
  word-break: break-word;
}
@media (max-width: 991.98px) {
  .st-mall-attrs-table__cell:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 575.98px) {
  .st-mall-attrs-table__cell {
    border-right: 0;
    border-bottom: 1px solid var(--st-border-color);
  }
  .st-mall-attrs-table__cell:last-child {
    border-bottom: 0;
  }
}

.st-mall-product-tab-body {
  padding: 1.25rem;
}
.st-mall-product-tab-body .st-mall-tab-panel {
  display: none;
}
.st-mall-product-tab-body .st-mall-tab-panel.is-active {
  display: block;
}

.st-mall-product-rules {
  padding: 1.15rem 1.25rem;
}

.st-mall-product-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.st-mall-shop-card {
  padding: 1rem;
}
.st-mall-shop-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.st-mall-shop-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--st-border-color);
  background: var(--st-surface-muted);
}
.st-mall-shop-card__avatar--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
}
.st-mall-shop-card__name {
  font-size: 1rem;
  color: var(--st-text-primary);
}
.st-mall-shop-card__meta {
  font-size: 0.75rem;
  color: var(--st-text-muted);
  margin: 0.15rem 0 0;
}
.st-mall-shop-card__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--st-text-muted);
  margin-bottom: 0.75rem;
}
.st-mall-shop-card__contact code {
  font-size: 0.6875rem;
}
.st-mall-shop-card__badge {
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.st-mall-aside-panel {
  padding: 0.85rem 1rem;
}
.st-mall-aside-panel__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--st-text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.st-mall-aside-recommend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-mall-aside-recommend li + li {
  margin-top: 0.5rem;
}
.st-mall-aside-recommend__link {
  display: flex;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0;
}
.st-mall-aside-recommend__link:hover strong {
  color: var(--primary);
}
.st-mall-aside-recommend__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--st-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid var(--st-border-color);
}
.st-mall-aside-recommend__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.st-mall-aside-recommend__body strong {
  font-size: 0.75rem;
  color: var(--st-text-primary);
  line-height: 1.35;
}
.st-mall-aside-recommend__price {
  font-size: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.st-mall-aside-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-mall-aside-links li + li {
  margin-top: 0.35rem;
}
.st-mall-aside-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--st-text-primary);
  text-decoration: none;
}
.st-mall-aside-links a:hover {
  color: var(--primary);
}
.st-mall-aside-links__jump {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.75rem;
  color: var(--st-text-primary);
  text-align: left;
  cursor: pointer;
}
.st-mall-aside-links__jump:hover {
  color: var(--primary);
}

/* 插件文档 · 升级日志（WeappPluginChangelogService → pv-weapp-changelog-*） */
.st-mall-weapp-doc .pv-weapp-changelog-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.st-mall-weapp-doc .pv-weapp-changelog-release {
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--gray-200);
}

.st-mall-weapp-doc .pv-weapp-changelog-release:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.st-mall-weapp-doc .pv-weapp-changelog-release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.st-mall-weapp-doc .pv-weapp-changelog-release__date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.st-mall-weapp-doc .pv-weapp-changelog-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--gray-700);
}

.st-mall-weapp-doc .pv-weapp-changelog-badge.is-latest {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  color: var(--primary);
}

.st-mall-weapp-doc .pv-weapp-changelog-release__notes {
  margin: 0;
  padding-left: 1.15em;
  line-height: 1.65;
  color: var(--gray-700);
}

.st-mall-weapp-doc .pv-weapp-changelog-release__notes li + li {
  margin-top: 0.25rem;
}

.st-shop-page {
  background: var(--st-inner-bg, #f8fafc);
}

.st-shop-cart-page,
.st-shop-checkout-page,
.st-shop-product-page {
  background: var(--st-inner-bg, #f8fafc);
}

/* ===== 整站应用频道首页 (st-portal-channel) ===== */
.st-hero--portal .st-hero__title::after {
  margin-left: 0;
  margin-right: auto;
}
.st-hero--portal .st-hero__lead {
  margin: 1rem 0 1.35rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
}

.st-portal-channel__link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.st-portal-channel__link:hover {
  color: #1d4ed8;
}
.st-portal-channel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.st-portal-channel__tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-600));
  background: var(--st-surface-muted, #f8fafc);
  border: 1px solid var(--st-border-color, rgba(37, 99, 235, 0.12));
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.st-portal-channel__tags i {
  color: var(--primary);
}

.st-portal-channel-stack {
  display: grid;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
@media (max-width: 991.98px) {
  .st-portal-channel-stack {
    max-width: 24rem;
    margin: 0 auto;
  }
}
.st-portal-channel-stack__card {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.25rem;
  border-radius: 14px;
  border: 1px solid var(--st-border-color, rgba(37, 99, 235, 0.14));
  background: var(--st-surface, #ffffff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.st-portal-channel-stack__card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.st-portal-channel-stack__card strong {
  display: block;
  font-size: 1rem;
  color: var(--st-text-primary, var(--gray-900));
  margin-bottom: 0.2rem;
}
.st-portal-channel-stack__card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--st-text-muted, var(--gray-600));
}
.st-portal-channel-stack__card--core .st-portal-channel-stack__badge {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}
.st-portal-channel-stack__card--theme .st-portal-channel-stack__badge {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}
.st-portal-channel-stack__card--weapp .st-portal-channel-stack__badge {
  background: linear-gradient(135deg, #059669, #34d399);
}
.st-portal-channel-stack__badge {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.st-portal-channel-nav {
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}
.st-portal-channel-nav__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 0;
}
@media (max-width: 575.98px) {
  .st-portal-channel-nav__bar {
    flex-direction: column;
    align-items: stretch;
  }
}
.st-portal-channel-nav__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--st-text-primary, var(--gray-700));
  white-space: nowrap;
}
.st-portal-channel-nav__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.st-portal-channel-nav__pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--st-text-muted, var(--gray-600));
  background: var(--st-surface, #ffffff);
  border: 1px solid var(--st-border-color, var(--gray-200));
  text-decoration: none;
  transition: var(--transition);
}
.st-portal-channel-nav__pill:hover, .st-portal-channel-nav__pill.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.st-portal-channel-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 991.98px) {
  .st-portal-channel-featured {
    grid-template-columns: 1fr;
  }
}
.st-portal-channel-featured__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--st-border-color, var(--gray-200));
  background: var(--st-surface-muted, #f8fafc);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.st-portal-channel-featured__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}
.st-portal-channel-featured__card--primary {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(160deg, var(--st-surface-muted, #f8fafc) 0%, rgba(37, 99, 235, 0.08) 100%);
}
.st-portal-channel-featured__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
}
.st-portal-channel-featured__kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.st-portal-channel-featured__body h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.st-portal-channel-featured__body h3 a {
  color: var(--st-text-primary, var(--gray-900));
  text-decoration: none;
}
.st-portal-channel-featured__body h3 a:hover {
  color: var(--primary);
}
.st-portal-channel-featured__body p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--st-text-muted, var(--gray-600));
}
.st-portal-channel-featured__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--st-border-color, var(--gray-100));
}
.st-portal-channel-featured__price {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.st-portal-channel-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
@media (max-width: 991.98px) {
  .st-portal-channel-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .st-portal-channel-tiles {
    grid-template-columns: 1fr;
  }
}

.st-portal-channel-tile {
  border-radius: 16px;
  border: 1px solid var(--st-border-color, var(--gray-200));
  background: var(--st-surface-muted, #f8fafc);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.st-portal-channel-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.35);
}
.st-portal-channel-tile:hover .st-portal-channel-tile__cta {
  color: var(--primary-dark);
}
.st-portal-channel-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.25rem 1.15rem;
  text-decoration: none;
  color: inherit;
}
.st-portal-channel-tile__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
  margin-bottom: 0.85rem;
}
.st-portal-channel-tile h3 {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-900));
  margin: 0 0 0.5rem;
}
.st-portal-channel-tile p {
  flex: 1;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--st-text-muted, var(--gray-600));
}
.st-portal-channel-tile__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--st-text-muted, var(--gray-500));
  margin-bottom: 0.5rem;
}
.st-portal-channel-tile__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.st-portal-channel-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (max-width: 991.98px) {
  .st-portal-channel-steps {
    grid-template-columns: 1fr;
  }
}

.st-portal-channel-step {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--st-border-color, var(--gray-200));
  background: var(--st-surface, #ffffff);
  box-shadow: var(--st-glass-shadow-sm, var(--shadow-sm));
}
.st-portal-channel-step__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(37, 99, 235, 0.35);
}
.st-portal-channel-step__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  margin-bottom: 0.85rem;
}
.st-portal-channel-step h3 {
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--st-text-primary, var(--gray-900));
}
.st-portal-channel-step p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--st-text-muted, var(--gray-600));
}
.st-portal-channel-step a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.st-portal-channel-step a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .st-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .st-hero__actions .btn-pv-gradient,
  .st-hero__actions .btn-outline-secondary {
    width: 100%;
    justify-content: center;
  }
}
/* ── 法律单页（服务条款 / 隐私政策 / 安全合规） ── */
.st-legal-page .st-legal-content {
  padding: 2rem 2.25rem;
}
@media (max-width: 991.98px) {
  .st-legal-page .st-legal-content {
    padding: 1.5rem 1.25rem;
  }
}

.st-legal-content .st-legal-meta {
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200, #e9ecef);
}
.st-legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--gray-900, #111827);
}
.st-legal-content h2:first-of-type {
  margin-top: 0;
}
.st-legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--gray-800, #1f2937);
}
.st-legal-content p,
.st-legal-content li {
  color: var(--gray-600, #4b5563);
  line-height: 1.75;
}
.st-legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.st-legal-content li + li {
  margin-top: 0.35rem;
}
.st-legal-content a {
  color: var(--primary);
  text-decoration: none;
}
.st-legal-content a:hover {
  text-decoration: underline;
}

.st-legal-nav .st-inner-aside-links a.is-active {
  color: var(--primary);
  font-weight: 600;
}

.st-template-market .st-page-band.st-template-market-catalog,
.st-template-market .templates-container {
  background: var(--st-inner-bg, #f8fafc);
}
.st-template-market .templates-container:not(.st-page-band) {
  padding-block: clamp(2.75rem, 5.5vw, 5.25rem);
}
.st-template-market .st-section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.st-template-market .st-section-head .st-section-title {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 800;
  color: var(--st-text-primary, var(--gray-800));
  margin-bottom: 0.75rem;
}
.st-template-market .st-section-head .st-section-desc {
  color: var(--st-text-muted, #64748b);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}
.st-template-market .filter-bar {
  position: relative;
  overflow: hidden;
  background: var(--st-catalog-filter-bg);
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-sm);
}
.st-template-market .search-box {
  display: flex;
  gap: 0.5rem;
}
.st-template-market .search-box .form-control {
  flex: 1;
  border-radius: 8px;
}
.st-template-market .filter-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (max-width: 991.98px) {
  .st-template-market .filter-tags {
    margin-top: 0.25rem;
  }
}
.st-template-market .filter-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  white-space: nowrap;
}
.st-template-market .filter-tag {
  padding: 0.35rem 0.85rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 999px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}
.st-template-market .filter-tag:hover, .st-template-market .filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.st-template-market .template-card {
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.st-template-market .template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.st-template-market .template-card:hover .template-image img {
  transform: scale(1.05);
}
.st-template-market .template-image {
  aspect-ratio: 16/13;
  height: auto;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.st-template-market .template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.st-template-market .template-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.2rem 0.65rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  z-index: 1;
}
.st-template-market .template-price {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.2rem 0.55rem;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 8px;
  z-index: 1;
}
.st-template-market .template-info {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.st-template-market .template-info h3 {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.st-template-market .template-info h3 a {
  color: var(--st-text-primary, var(--gray-900));
  text-decoration: none;
}
.st-template-market .template-info h3 a:hover {
  color: var(--primary);
}
.st-template-market .template-info > p {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 0.65rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.st-template-market .template-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.st-template-market .template-tags .tag {
  padding: 0.2rem 0.55rem;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 10px;
}
.st-template-market .template-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.st-template-market .template-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.4rem 0.5rem;
}
@media (min-width: 1200px) {
  .st-template-market .templates-container .row {
    --bs-gutter-x: 1.25rem;
  }
}

.st-template-market-meta {
  margin-bottom: 1.5rem;
}

/* —— 模板库 · 详情页 —— */
.st-template-market-detail .preview-header__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--st-text-primary, var(--gray-900));
  margin-bottom: 0.75rem;
}
.st-template-market-detail .st-page-band.template-detail,
.st-template-market-detail .template-detail {
  background: var(--st-inner-bg, #f8fafc);
}
.st-template-market-detail .template-detail:not(.st-page-band) {
  padding-block: clamp(2.75rem, 5.5vw, 5.25rem);
}
.st-template-market-detail .detail-preview,
.st-template-market-detail .detail-section {
  background: var(--st-surface-muted, #f8fafc);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--st-border-color, var(--gray-200));
}
.st-template-market-detail .preview-header h1 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  color: var(--st-text-primary, var(--gray-900));
  margin-bottom: 0.75rem;
}
.st-template-market-detail .preview-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--st-text-muted, var(--gray-600));
}
.st-template-market-detail .preview-meta i {
  margin-right: 0.25rem;
  color: var(--primary);
}
.st-template-market-detail .template-detail-badge {
  padding: 0.2rem 0.65rem;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
}
.st-template-market-detail .preview-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.25rem;
}
.st-template-market-detail .preview-image img {
  width: 100%;
  display: block;
}
.st-template-market-detail .preview-image:hover .preview-overlay {
  opacity: 1;
}
.st-template-market-detail .preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.st-template-market-detail .preview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 767.98px) {
  .st-template-market-detail .preview-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
.st-template-market-detail .preview-thumbs .thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.st-template-market-detail .preview-thumbs .thumb:hover, .st-template-market-detail .preview-thumbs .thumb.active {
  border-color: var(--primary);
}
.st-template-market-detail .preview-thumbs .thumb img {
  width: 100%;
  display: block;
}
.st-template-market-detail .detail-section h2 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 600;
  color: var(--st-text-primary, var(--gray-900));
  margin-bottom: 1.25rem;
}
.st-template-market-detail .page-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.st-template-market-detail .page-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--st-surface, #ffffff);
  border-radius: 10px;
  border: 1px solid var(--st-border-color, var(--gray-200));
}
.st-template-market-detail .page-item i {
  font-size: 1.15rem;
  color: var(--primary);
  width: 1.5rem;
}
.st-template-market-detail .page-item span:first-of-type {
  font-size: 1rem;
  font-weight: 600;
  color: var(--st-text-primary, var(--gray-900));
}
.st-template-market-detail .page-item .page-desc {
  font-size: 0.75rem;
  color: var(--st-text-muted, var(--gray-600));
  margin-left: auto;
}
@media (max-width: 767.98px) {
  .st-template-market-detail .page-item .page-desc {
    display: none;
  }
}
.st-template-market-detail .detail-sidebar {
  position: sticky;
  top: 6.5rem;
}
@media (max-width: 991.98px) {
  .st-template-market-detail .detail-sidebar {
    position: static;
    margin-top: 0.5rem;
  }
}
.st-template-market-detail .action-card,
.st-template-market-detail .info-card,
.st-template-market-detail .tags-card,
.st-template-market-detail .related-card {
  background: var(--st-surface-muted, #f8fafc);
  border-radius: 16px;
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--st-border-color, var(--gray-200));
}
.st-template-market-detail .action-card .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--st-border-color, var(--gray-200));
}
.st-template-market-detail .action-card .price-label {
  font-size: 0.875rem;
  color: var(--st-text-muted, var(--gray-600));
}
.st-template-market-detail .action-card .price-value {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  color: var(--primary);
}
.st-template-market-detail .action-card .btn-block {
  width: 100%;
}
.st-template-market-detail .info-card h3,
.st-template-market-detail .tags-card h3,
.st-template-market-detail .related-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--st-text-primary, var(--gray-900));
}
.st-template-market-detail .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-template-market-detail .info-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--st-border-color, var(--gray-100));
  font-size: 0.75rem;
}
.st-template-market-detail .info-list li:last-child {
  border-bottom: none;
}
.st-template-market-detail .info-list .label {
  color: var(--st-text-muted, var(--gray-600));
  flex-shrink: 0;
}
.st-template-market-detail .info-list .value {
  color: var(--st-text-primary, var(--gray-900));
  font-weight: 500;
  text-align: right;
}
.st-template-market-detail .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.st-template-market-detail .tag-list .tag {
  padding: 0.35rem 0.65rem;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 6px;
}
.st-template-market-detail .related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.st-template-market-detail .related-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.st-template-market-detail .related-item img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.st-template-market-detail .related-item span {
  font-size: 0.75rem;
  color: var(--st-text-primary, var(--gray-900));
}
.st-template-market-detail .related-item:hover span {
  color: var(--primary);
}

/*# sourceMappingURL=catalog.css.map */
