/**
 * 产品详情页 —— 对齐 HeroSection + MikaLicenseProductDetail，跟随 mkua 深/浅色
 */
.mlm-license-detail {
  --c-text: var(--color-text-primary, #0f172a);
  --c-muted: var(--color-text-regular, #64748b);
  --c-muted-2: var(--color-text-secondary, #94a3b8);
  --c-border: var(--border-color-base, #e2e8f0);
  --c-accent: var(--color-primary, var(--theme-color, #4f46e5));
  --c-accent-end: var(--color-primary-end, #4338ca);
  --c-accent-soft: var(--bg-text-color, #eef2ff);
  --c-surface: var(--bg-main-color, #ffffff);
  --c-surface-2: var(--bg-muted-color, #f8fafc);
  --c-on-brand: var(--color-white, #ffffff);
  --c-shadow: rgba(15, 23, 42, 0.08);
  --c-warning: #f59e0b;
  --c-danger: #ef4444;

  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 24px 0 48px;
  box-sizing: border-box;
}

html.dark-theme .mlm-license-detail,
body.dark-theme .mlm-license-detail,
.dark-theme .mlm-license-detail {
  --c-text: var(--color-text-primary, #ffffff);
  --c-muted: var(--color-text-regular, #a0a0b0);
  --c-muted-2: var(--color-text-secondary, #808098);
  --c-border: var(--border-color-base, #3b3b54);
  --c-accent: var(--color-primary, var(--theme-color, #7c5cfc));
  --c-accent-end: var(--color-primary-end, #b49aff);
  --c-accent-soft: rgba(124, 92, 252, 0.16);
  --c-surface: var(--bg-main-color, #252538);
  --c-surface-2: var(--bg-muted-color, #1a1a28);
  --c-on-brand: #ffffff;
  --c-shadow: rgba(0, 0, 0, 0.35);
}

.mlm-license-detail .breadcrumb {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted-2);
}
.mlm-license-detail .breadcrumb > li {
  display: inline-flex;
  align-items: center;
}
.mlm-license-detail .breadcrumb > li + li:before {
  content: "/";
  margin: 0 5px;
  color: var(--c-muted-2);
  font-size: 14px;
  line-height: 1;
}
.mlm-license-detail .breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}
.mlm-license-detail .breadcrumb a:hover {
  color: var(--c-accent);
}

.mlm-detail-state {
  padding: 36px 20px;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  text-align: center;
  color: var(--c-muted);
  background: var(--c-surface);
}

/* Hero */
.mlm-hero {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: linear-gradient(135deg, var(--c-surface) 0%, color-mix(in srgb, var(--c-accent) 8%, var(--c-surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--c-accent) 22%, var(--c-border));
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
}
.mlm-hero--showcase {
  padding: 32px 48px;
}

.mlm-hero-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--c-warning), #d97706);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 40px;
  letter-spacing: 0.08em;
  z-index: 2;
}

.mlm-hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  width: 100%;
}
.mlm-hero--showcase .mlm-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
}
.mlm-hero--with-pricing .mlm-hero-grid {
  align-items: stretch;
}

.mlm-hero-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.mlm-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.mlm-hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: var(--c-surface);
  box-shadow: 0 8px 24px var(--c-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  color: var(--c-accent);
  font-weight: 700;
  font-size: 32px;
}
.mlm-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mlm-hero-icon-fallback {
  line-height: 1;
}

.mlm-hero-header-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.mlm-hero-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mlm-hero-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-on-brand);
  background: var(--c-accent);
  padding: 4px 10px;
  border-radius: 6px;
}

.mlm-hero-tagline {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.45;
}

.mlm-hero-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 640px;
}

.mlm-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mlm-hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-weight: 500;
}

.mlm-hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.mlm-hero-stats--bar {
  margin-top: 4px;
  padding: 16px 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-accent) 6%, var(--c-surface));
  border: 1px solid var(--c-border);
  gap: 32px;
}
.mlm-hero-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.mlm-hero-stat-label {
  font-size: 13px;
  color: var(--c-muted-2);
  margin-top: 4px;
}

.mlm-hero-actions {
  max-width: 440px;
  width: 100%;
  margin-top: auto;
}

/* Pricing */
.mlm-pricing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mlm-pc-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mlm-pc-plan-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 90px;
  color: inherit;
}
.mlm-pc-plan-tab.is-active {
  background: var(--c-accent-soft);
  border-color: var(--c-accent);
  box-shadow: inset 0 0 0 1px var(--c-accent);
}
.mlm-pc-plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.mlm-pc-plan-dur {
  font-size: 11px;
  color: var(--c-muted-2);
  margin-top: 2px;
}
.mlm-pc-plan-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background: linear-gradient(135deg, var(--c-warning), #ef4444);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.mlm-pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.mlm-pc-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
}
.mlm-pc-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.mlm-pc-original {
  font-size: 14px;
  color: var(--c-muted-2);
  text-decoration: line-through;
}
.mlm-pc-discount {
  background: linear-gradient(135deg, var(--c-danger), #b91c1c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.mlm-pc-meta {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--c-muted);
}
.mlm-pc-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mlm-pc-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
}
.mlm-pc-meta strong {
  color: var(--c-text);
  font-weight: 600;
}
.mlm-pc-desc {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--c-muted-2);
  line-height: 1.6;
}
.mlm-pc-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.mlm-pc-buy,
.mlm-pc-buy:hover,
.mlm-pc-buy:focus,
.mlm-pc-buy:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-end));
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--c-accent) 55%, transparent);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  opacity: 1;
  box-sizing: border-box;
}
.mlm-pc-buy:hover,
.mlm-pc-buy:focus {
  transform: translateY(-1px);
  color: #fff !important;
  filter: brightness(1.06);
  box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--c-accent) 65%, transparent);
}
.mlm-pc-buy--secondary,
.mlm-pc-buy--secondary:hover,
.mlm-pc-buy--secondary:focus,
.mlm-pc-buy--secondary:active {
  background: var(--c-surface-2, #f1f5f9);
  color: var(--c-text, #0f172a) !important;
  border: 1px solid var(--c-border, #e2e8f0);
  box-shadow: none;
  filter: none;
}
.mlm-pc-buy--secondary:hover,
.mlm-pc-buy--secondary:focus {
  background: var(--c-accent-soft, color-mix(in srgb, var(--c-accent) 12%, transparent));
  border-color: var(--c-accent);
  color: var(--c-accent) !important;
  box-shadow: none;
}
@media (max-width: 480px) {
  .mlm-pc-cta-row {
    grid-template-columns: 1fr;
  }
}

/* Cover */
.mlm-hero-cover {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mlm-hero-cover--focus {
  min-height: 320px;
}
.mlm-hero-carousel {
  width: 100%;
  cursor: pointer;
}
.mlm-hero-slides {
  position: relative;
  width: 100%;
  min-height: 240px;
}
.mlm-hero-cover--focus .mlm-hero-slides {
  min-height: 320px;
}
.mlm-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: drop-shadow(0 24px 48px var(--c-shadow));
  pointer-events: none;
}
.mlm-hero-slide.is-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.mlm-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.mlm-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-muted-2) 45%, transparent);
  cursor: pointer;
}
.mlm-hero-dot.is-active {
  background: var(--c-accent);
  transform: scale(1.25);
}
.mlm-hero-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  background: var(--c-surface-2);
  color: var(--c-muted-2);
  font-size: 14px;
  border-radius: 16px;
}

/* Tabs */
.mlm-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  padding: 5px;
  background: color-mix(in srgb, var(--c-muted-2) 12%, var(--c-surface-2));
  border-radius: 8px;
  overflow-x: auto;
}
.mlm-detail-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.mlm-detail-tab.is-active {
  background: var(--c-surface);
  border-color: color-mix(in srgb, var(--c-border) 80%, transparent);
  color: var(--c-text);
  box-shadow: 0 1px 3px var(--c-shadow);
}

/* Blocks */
.mlm-detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background: var(--c-surface);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--c-shadow);
  width: 100%;
  box-sizing: border-box;
}

/* display:flex 会盖掉 UA 的 [hidden]，必须显式隐藏 */
.mlm-detail-blocks[hidden],
.mlm-pc-price-block[hidden],
.mlm-license-detail [hidden] {
  display: none !important;
}

.mlm-block-richtext {
  line-height: 1.8;
  color: var(--c-text);
  font-size: 15px;
}
.mlm-block-richtext h1,
.mlm-block-richtext h2,
.mlm-block-richtext h3,
.mlm-block-richtext h4 {
  margin: 1.4em 0 0.6em;
  color: var(--c-text);
  font-weight: 700;
}
.mlm-block-richtext h2 { font-size: 22px; }
.mlm-block-richtext h3 { font-size: 18px; }
.mlm-block-richtext p { margin: 0 0 1em; }
.mlm-block-richtext ul,
.mlm-block-richtext ol { margin: 0 0 1em; padding-left: 22px; }
.mlm-block-richtext a { color: var(--c-accent); }
.mlm-block-richtext img { max-width: 100%; border-radius: 8px; }

.mlm-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.mlm-block-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}
.mlm-block-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--c-text);
}
.mlm-block-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mlm-faq-item {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--c-surface-2);
}
.mlm-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-text);
}
.mlm-faq-item div {
  margin-top: 8px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* 折叠框（教程） */
.mlm-block-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mlm-acc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mlm-acc-item {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface-2);
  overflow: hidden;
}
.mlm-acc-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--c-text);
  user-select: none;
}
.mlm-acc-summary::-webkit-details-marker { display: none; }
.mlm-acc-summary-text { flex: 1; min-width: 0; }
.mlm-acc-chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.mlm-acc-item[open] > .mlm-acc-summary .mlm-acc-chev {
  transform: rotate(225deg);
  margin-top: 2px;
}
.mlm-acc-item[open] > .mlm-acc-summary {
  border-bottom: 1px solid var(--c-border);
}
.mlm-acc-body {
  padding: 16px;
  color: var(--c-muted);
}
.mlm-acc-body .mlm-bvid-frame {
  margin: 12px 0;
}

.mlm-bcl {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mlm-bcl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.mlm-bcl-list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  background: var(--c-border);
}
.mlm-bcl-item {
  position: relative;
  padding-left: 32px;
}
.mlm-bcl-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--c-accent);
  border: 2px solid var(--c-surface);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-accent) 28%, transparent);
  border-radius: 50%;
  box-sizing: border-box;
}
.mlm-bcl-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.mlm-bcl-version {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}
.mlm-bcl-icon {
  font-size: 18px;
  color: var(--c-accent);
}
.mlm-bcl-date {
  font-size: 12px;
  color: var(--c-muted-2);
}
.mlm-bcl-notes {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.7;
  background: var(--c-surface);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  white-space: pre-wrap;
}
.mlm-bcl-notes ul,
.mlm-bcl-notes ol {
  padding-left: 20px;
  margin: 0;
}

/* legacy alias */
.mlm-cl-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}
.mlm-cl-item header {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.mlm-cl-item header strong { color: var(--c-text); }
.mlm-cl-item header span { color: var(--c-muted-2); font-size: 12px; }
.mlm-cl-item div { color: var(--c-muted); line-height: 1.7; font-size: 14px; }

.mlm-block-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-accent) 10%, var(--c-surface));
  border: 1px solid color-mix(in srgb, var(--c-accent) 25%, var(--c-border));
}
.mlm-block-cta h3 { margin: 0 0 6px; color: var(--c-text); }
.mlm-block-cta p { margin: 0; color: var(--c-muted); }
.mlm-block-cta .mlm-pc-buy { width: auto; min-width: 140px; }

/* ── 区块通用 ── */
.mlm-block-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--c-muted-2);
  font-size: 14px;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
}
.mlm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--c-accent);
}
.mlm-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mlm-icon i { font-size: inherit; line-height: 1; }
.mlm-icon-svg svg { width: 100%; height: 100%; }

/* ── 区块标题（居中点缀）── */
.mlm-bst {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.mlm-bst--left { align-items: flex-start; text-align: left; }
.mlm-bst--center { align-items: center; text-align: center; }
.mlm-bst-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.mlm-bst--center .mlm-bst-row { justify-content: center; }
.mlm-bst-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.mlm-bst-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 720px;
}
.mlm-bst--center .mlm-bst-sub { margin-inline: auto; }
.mlm-bst-deco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--c-accent);
}
.mlm-bst-line {
  width: clamp(36px, 8vw, 72px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--c-accent) 35%, transparent) 45%, var(--c-accent) 100%);
}
.mlm-bst-deco--right .mlm-bst-line {
  background: linear-gradient(270deg, transparent 0%, color-mix(in srgb, var(--c-accent) 35%, transparent) 45%, var(--c-accent) 100%);
}
.mlm-bst-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 18%, transparent);
}
.mlm-bst-chev {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  opacity: .9;
}

/* ── 渐进式步骤 progress-steps ── */
.mlm-bps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mlm-bps--vertical .mlm-bps-body {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 18px 20px;
}
.mlm-bps-v {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mlm-bps-v-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
}
.mlm-bps-v-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 85%, var(--c-surface)), var(--c-accent));
  color: var(--c-on-brand);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mlm-bps-v-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mlm-bps-v-title { font-size: 15px; font-weight: 600; color: var(--c-text); line-height: 1.4; }
.mlm-bps-v-desc { font-size: 13px; color: var(--c-muted); line-height: 1.5; }

.mlm-bps-h {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.mlm-bps-h-card {
  flex: 1 1 0;
  min-width: 120px;
  max-width: 180px;
  background: var(--c-surface);
  border: 1px solid color-mix(in srgb, var(--c-accent) 12%, var(--c-border));
  border-radius: 14px;
  padding: 18px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}
.mlm-bps-h-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 28px;
  line-height: 1;
}
.mlm-bps-h-icon .mlm-icon { font-size: 28px; width: 32px; height: 32px; }
.mlm-bps-h-icon .mlm-icon i { font-size: 28px; }
.mlm-bps-h-fallback {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mlm-bps-h-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
}
.mlm-bps-h-desc {
  margin: 0;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.55;
}
.mlm-bps-h-arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 600;
  padding: 0 2px;
  user-select: none;
}

/* ── 功能/场景网格 ── */
.mlm-bfg { display: flex; flex-direction: column; gap: 18px; }
.mlm-bfg-grid {
  display: grid !important;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
.mlm-bfg-grid.mlm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.mlm-bfg-grid.mlm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mlm-bfg-grid.mlm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.mlm-bfg-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  min-width: 0;
  box-sizing: border-box;
}
.mlm-bfg-icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: 10px;
  font-size: 22px;
}
.mlm-bfg-title { margin: 0; font-size: 16px; font-weight: 600; color: var(--c-text); }
.mlm-bfg-desc { margin: 0; color: var(--c-muted); font-size: 13px; line-height: 1.6; }

/* ── 步骤列表 ── */
.mlm-bsl { display: flex; flex-direction: column; gap: 18px; }
.mlm-bsl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.mlm-bsl-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.mlm-bsl-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-accent-end), var(--c-accent));
  color: var(--c-on-brand);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
}
.mlm-bsl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mlm-bsl-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mlm-bsl-desc { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.6; }
.mlm-bsl-img { max-width: 100%; border-radius: 8px; margin-top: 6px; }

/* ── 模板网格 ── */
.mlm-btg { display: flex; flex-direction: column; gap: 18px; }
.mlm-btg-grid {
  display: grid !important;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
.mlm-btg-grid.mlm-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.mlm-btg-grid.mlm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.mlm-btg-grid.mlm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.mlm-btg-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.mlm-btg-cover {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--c-border) center/cover no-repeat;
}
.mlm-btg-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-on-brand);
  font-size: 11px;
  font-weight: 600;
}
.mlm-btg-item strong {
  padding: 0 14px;
  font-size: 15px;
  color: var(--c-text);
}
.mlm-btg-item p {
  margin: 0;
  padding: 0 14px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* ── 图片集 / 视频 / 评价 ── */
.mlm-bgal { display: flex; flex-direction: column; gap: 16px; }
.mlm-bgal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.mlm-bgal-item { margin: 0; }
.mlm-bgal-item img {
  width: 100%;
  border-radius: 10px;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
.mlm-bgal-item figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
}
.mlm-bvid { display: flex; flex-direction: column; gap: 16px; }
.mlm-bvid-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.mlm-bvid-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mlm-bvid-mp4 {
  width: 100%;
  border-radius: 12px;
  background: #000;
}
.mlm-brev { display: flex; flex-direction: column; gap: 16px; }
.mlm-brev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.mlm-brev-item {
  padding: 18px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlm-brev-item strong { color: var(--c-text); }
.mlm-brev-role { font-size: 12px; color: var(--c-muted-2); }
.mlm-brev-stars { color: var(--c-warning); letter-spacing: 1px; }
.mlm-brev-item p { margin: 4px 0 0; color: var(--c-muted); font-size: 13px; line-height: 1.6; }

/* ── 对比表 / 附件 ── */
.mlm-bcmp { display: flex; flex-direction: column; gap: 16px; }
.mlm-bcmp-wrap { overflow-x: auto; }
.mlm-bcmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mlm-bcmp-table th,
.mlm-bcmp-table td {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  text-align: center;
}
.mlm-bcmp-table thead th { background: var(--c-surface-2); color: var(--c-text); }
.mlm-bcmp-table tbody th { text-align: left; background: var(--c-surface-2); color: var(--c-text); }
.mlm-batt { display: flex; flex-direction: column; gap: 12px; }
.mlm-batt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-surface-2);
}
.mlm-batt-item strong { color: var(--c-text); }
.mlm-batt-item p { margin: 4px 0 0; color: var(--c-muted); font-size: 13px; }
.mlm-batt-item .mlm-pc-buy { width: auto; min-width: 100px; }

/* ── 功能介绍（上）── */
.mlm-fit { display: flex; flex-direction: column; gap: 22px; }
.mlm-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  align-items: stretch;
}
.mlm-fit-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px 24px;
  background: var(--c-surface-2);
  border: 1px solid color-mix(in srgb, var(--c-accent) 10%, var(--c-border));
  border-radius: 16px;
  box-sizing: border-box;
}
.mlm-fit-body {
  display: flex;
  flex: 1;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}
.mlm-fit-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mlm-fit-aside {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.mlm-fit-aside--previews { gap: 10px; align-self: flex-end; }
.mlm-fit-aside--cover { width: 150px; align-self: stretch; }
.mlm-fit-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.mlm-fit-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-muted);
}
.mlm-fit-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--c-accent);
  border-radius: 999px;
}
.mlm-fit-preview {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid color-mix(in srgb, var(--c-surface) 85%, #fff);
}
.mlm-fit-hls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 6px;
}
.mlm-fit-hl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 52px;
}
.mlm-fit-hl-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--c-accent);
  background: var(--c-surface);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c-accent) 12%, transparent);
}
.mlm-fit-hl-label {
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  line-height: 1.3;
}
.mlm-fit-cover {
  width: 100%;
  max-width: 150px;
  max-height: 130px;
  object-fit: contain;
  object-position: bottom right;
}

/* ── 功能介绍（下）── */
.mlm-fib { display: flex; flex-direction: column; gap: 16px; }
.mlm-fib-grid {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.mlm-fib-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-sizing: border-box;
}
.mlm-fib-head h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}
.mlm-fib-head p {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.55;
}
.mlm-fib-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mlm-fib-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--c-border);
}
.mlm-fib-thumb--ph { background: color-mix(in srgb, var(--c-border) 70%, var(--c-surface)); }
.mlm-fib-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mlm-fib-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 11px;
}
.mlm-fib-media,
.mlm-fib-device {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100px;
}
.mlm-fib-media img,
.mlm-fib-shot {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
}
.mlm-fib-ph {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c-border) 70%, var(--c-surface));
}
.mlm-fib-device { gap: 10px; align-items: center; }
.mlm-fib-platform {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--c-accent);
}

@media (max-width: 960px) {
  .mlm-hero { padding: 24px; }
  .mlm-hero--showcase { padding: 24px; }
  .mlm-hero-grid { grid-template-columns: 1fr; }
  .mlm-hero-cover { order: -1; }
  .mlm-hero-title { font-size: 26px; }
  .mlm-hero-actions { max-width: none; }
  .mlm-detail-blocks { padding: 20px; }
  .mlm-fit-grid { grid-template-columns: 1fr; }
  .mlm-fib-grid { flex-direction: column; }
  .mlm-bps-h-card { min-width: 140px; flex: 0 0 140px; }
  .mlm-bst-title { font-size: 22px; }
  .mlm-bst-line { width: 28px; }
}

/* 仅窄屏才压成单列，桌面必须尊重配置的 2/3/4 列 */
@media (max-width: 720px) {
  .mlm-bfg-grid.mlm-cols-2,
  .mlm-bfg-grid.mlm-cols-3,
  .mlm-bfg-grid.mlm-cols-4,
  .mlm-btg-grid.mlm-cols-2,
  .mlm-btg-grid.mlm-cols-3,
  .mlm-btg-grid.mlm-cols-4 {
    grid-template-columns: 1fr !important;
  }
}
