/* ==========================================================================
   华为 PC 营销软文智能体 - 原生发布平台预览样式 (platforms.css)
   视觉哲学：纸感暖白底衬、衬线大标题、陶土强调(#b5542d)、低饱和平台质感
   ========================================================================== */

/* 1. 全局预览容器与手机卡片外框
   ========================================================================== */
.pv-phone {
  width: min(100%, 390px);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: 26px;
  box-shadow: 0 16px 40px -12px rgba(31, 29, 26, 0.08), 0 2px 6px rgba(31, 29, 26, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left;
}

.pv-phone.wide {
  width: min(100%, 460px);
  border-radius: 22px;
}

/* 顶部手机装饰胶囊（拟真状态条，克制弱化） */
.pv-phone::before {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  background-color: var(--border-line);
  border-radius: 999px;
  margin: 8px auto 4px;
  flex-shrink: 0;
  opacity: 0.65;
}

/* 手机内部滚动区 */
.pv-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-line) transparent;
}

.pv-scroll::-webkit-scrollbar {
  width: 3px;
}

.pv-scroll::-webkit-scrollbar-thumb {
  background-color: var(--border-line);
  border-radius: 3px;
}

/* 2. 通用配图、非整机角标与缺图占位
   ========================================================================== */
figure.pv-fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

figure.pv-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

/* 话题标签统一样式 */
.pv-hash {
  color: var(--accent-terracotta);
  text-decoration: none;
  font-weight: 500;
  margin-right: 4px;
}

/* 非整机图角标（shows_device=false）：客观标注，视觉清晰但不抢眼 */
.pv-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background-color: rgba(31, 29, 26, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.pv-badge::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
}

/* 局部缺图占位 */
.pv-missing {
  width: 100%;
  min-height: 160px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-surface-subtle),
    var(--bg-surface-subtle) 10px,
    var(--bg-canvas) 10px,
    var(--bg-canvas) 20px
  );
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  box-sizing: border-box;
}

.pv-missing-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.pv-missing-desc {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.4;
  max-width: 260px;
}

/* 主视觉缺图占位（核心守则：浅陶土底 + 虚线框 + 明确文字，严禁使用非目标型号图顶替） */
.pv-missing-hero {
  width: 100%;
  min-height: 220px;
  padding: 32px 20px;
  box-sizing: border-box;
  background-color: var(--accent-tint);
  border: 1.5px dashed var(--accent-terracotta);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.pv-missing-hero::before {
  content: "OFFICIAL ASSET MISSING";
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-terracotta);
  margin-bottom: 8px;
  padding: 2px 6px;
  background-color: rgba(181, 84, 45, 0.09);
  border-radius: var(--radius-xs);
}

.pv-missing-hero strong {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
}

.pv-missing-hero p {
  margin: 0;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 280px;
}

.pv-missing-hero .pv-missing-rule {
  margin-top: 10px;
  font-size: 10.5px;
  font-family: var(--font-sans);
  color: var(--accent-terracotta);
  font-weight: 500;
}

/* 3. 小红书平台原生预览 (.pv-xhs)
   ========================================================================== */
.publisher-avatar {
  display: grid;
  place-items: center;
}

.publisher-avatar svg {
  width: 78%;
  height: 78%;
  fill: none;
  stroke: #716a5b;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-phone.pv-xhs {
  --xhs-red: #c9463d;
  --xhs-red-tint: rgba(201, 70, 61, 0.08);
}

/* 笔记作者顶部栏 */
.xhs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  background-color: #ffffff;
}

.xhs-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.xhs-ava {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-hairline);
  flex-shrink: 0;
}

.xhs-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xhs-follow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--xhs-red);
  background-color: var(--xhs-red-tint);
  border: 1px solid rgba(201, 70, 61, 0.22);
  border-radius: 999px;
  padding: 4px 12px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.xhs-follow:hover {
  background-color: var(--xhs-red);
  color: #ffffff;
}

/* 横向走马灯轮播容器（严格 3:4 比例） */
.xhs-car {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background-color: var(--bg-surface-subtle);
  aspect-ratio: 3 / 4;
  width: 100%;
}

.xhs-car::-webkit-scrollbar {
  display: none;
}

.xhs-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

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

/* 轮播右上角页码角标 */
.xhs-idx {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(31, 29, 26, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 3;
}

/* 轮播圆点指示器 */
.xhs-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 4px;
  background-color: #ffffff;
}

.xhs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(31, 29, 26, 0.18);
  transition: width 0.2s ease, background-color 0.2s ease, border-radius 0.2s ease;
}

.xhs-dot.on {
  width: 14px;
  border-radius: 3px;
  background-color: var(--xhs-red);
}

/* 笔记正文区 */
.xhs-body {
  padding: 12px 16px 18px;
  background-color: #ffffff;
}

.xhs-title {
  margin: 0 0 8px 0;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.xhs-p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.68;
  color: #2b2723;
  white-space: pre-wrap;
  word-break: break-word;
}

.xhs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 6px;
}

.xhs-time {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* 底部互动输入条 */
.xhs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-hairline);
  flex-shrink: 0;
}

.xhs-input {
  flex: 1;
  background-color: var(--bg-surface-subtle);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  user-select: none;
}

.xhs-act {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.xhs-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 11.5px;
}

.xhs-act-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.6;
}

/* 4. 微信公众号原生图文预览 (.pv-wx.wide)
   ========================================================================== */
.pv-phone.pv-wx {
  --wx-green: #2a7e58;
  --wx-green-tint: rgba(42, 126, 88, 0.08);
  --wx-blue: #576b95;
}

/* 微信顶部导航栏 */
.wx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-hairline);
  background-color: #ffffff;
  font-size: 12.5px;
  color: var(--text-main);
  user-select: none;
}

.wx-nav-back {
  font-size: 14px;
  color: var(--text-main);
}

.wx-nav-dots {
  letter-spacing: 2px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 公众号文章正文排版（约 420-460px 阅读栏） */
.wx-article {
  padding: 20px 22px 36px;
  background-color: #ffffff;
}

.wx-title {
  margin: 0 0 12px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.36;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.wx-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-hairline);
}

.wx-author {
  color: var(--wx-blue);
  font-weight: 500;
  cursor: pointer;
}

.wx-badge-orig {
  background-color: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
}

/* 导语引用（左侧细线 + 浅米色衬底） */
blockquote.wx-lead {
  margin: 0 0 22px 0;
  padding: 12px 14px;
  background-color: var(--bg-surface-subtle);
  border-left: 3px solid var(--accent-terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.68;
}

/* 配图通栏 + 图注 */
figure.pv-fig.wx-fig {
  display: block;
  margin: 22px 0 8px 0;
  border-radius: var(--radius-sm);
  width: 100%;
  background: transparent;
}

figure.pv-fig.wx-fig img {
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

figcaption.wx-caption {
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* 公众号正文段落 */
.wx-p {
  font-size: 14px;
  line-height: 1.82;
  color: #2b2724;
  margin: 0 0 16px 0;
  text-align: left;
  white-space: pre-wrap;
  letter-spacing: 0.02em;
}

/* 行动引导卡片 (CTA) */
.wx-cta {
  margin: 32px 0 24px;
  padding: 18px 20px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  text-align: center;
}

.wx-cta-title {
  font-family: var(--font-serif);
  font-size: 14.5px;

  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
}

.wx-cta-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px 0;
}

.wx-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background-color: var(--accent-terracotta);
  border: 1px solid rgba(181, 84, 45, 0.4);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(181, 84, 45, 0.2);
}

.wx-cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* 公众号底部统计与互动栏 */
.wx-footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
  user-select: none;
}

.wx-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.wx-stat-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wx-stat-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wx-action-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  transition: color 0.15s ease;
}

.wx-action-item:hover {
  color: var(--accent-terracotta);
}

.wx-action-item svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}

/* 5. 微信朋友圈原生预览 (.pv-mm)
   ========================================================================== */
.pv-phone.pv-mm {
  --mm-blue: #576b95;
  --mm-blue-tint: rgba(87, 107, 149, 0.08);
  --mm-bubble-bg: #f7f6f3;
  --mm-divider: #e8e6e1;
}

/* 顶部原生导航 */
.mm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  background-color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

.mm-nav-icon {
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
}

/* 朋友圈单条动态外层 */
.mm-post {
  display: flex;
  gap: 11px;
  padding: 16px 14px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-hairline);
  box-sizing: border-box;
}

/* 用户/门店头像 */
.mm-ava {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-hairline);
  flex-shrink: 0;
}

/* 右侧主内容流 */
.mm-main {
  flex: 1;
  min-width: 0;
}

.mm-author {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mm-blue);
  line-height: 1.35;
  margin-bottom: 5px;
  cursor: pointer;
  display: inline-block;
}

.mm-text {
  font-size: 13px;
  line-height: 1.65;
  color: #2b2724;
  margin: 0 0 10px 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.mm-more {
  display: inline-block;
  font-size: 12.5px;
  color: var(--mm-blue);
  margin-top: 4px;
  cursor: pointer;
  user-select: none;
}

/* 朋友圈配图网格容器基类 */
.mm-grid {
  display: grid;
  gap: 5px;
  margin: 8px 0 10px;
  box-sizing: border-box;
  width: 100%;
}

.mm-grid figure.pv-fig {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
}

.mm-grid figure.pv-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 网格排布变体 1: 独图模式 (.n1) */
.mm-grid.n1 {
  display: block;
  max-width: 210px;
}

.mm-grid.n1 figure.pv-fig {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  aspect-ratio: auto;
  border-radius: var(--radius-sm);
}

.mm-grid.n1 figure.pv-fig img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 240px;
  object-fit: cover;
}

/* 网格排布变体 2: 双图模式 (.n2) */
.mm-grid.n2 {
  grid-template-columns: repeat(2, minmax(0, 110px));
  justify-content: start;
}

.mm-grid.n2 figure.pv-fig {
  aspect-ratio: 1 / 1;
}

/* 网格排布变体 3: 三图并列模式 (.n3) */
.mm-grid.n3 {
  grid-template-columns: repeat(3, minmax(0, 80px));
  justify-content: start;
}

.mm-grid.n3 figure.pv-fig {
  aspect-ratio: 1 / 1;
}

/* 网格排布变体 4: 四图田字格模式 (.n4，经典微信 2x2，严禁横排四张) */
.mm-grid.n4 {
  grid-template-columns: repeat(2, minmax(0, 92px));
  grid-template-rows: repeat(2, minmax(0, 92px));
  justify-content: start;
}

.mm-grid.n4 figure.pv-fig {
  aspect-ratio: 1 / 1;
}

/* 网格排布变体 5: 五至九图九宫格模式 (.n9) */
.mm-grid.n9 {
  grid-template-columns: repeat(3, minmax(0, 80px));
  justify-content: start;
}

.mm-grid.n9 figure.pv-fig {
  aspect-ratio: 1 / 1;
}

/* 元信息行（时间、操作展开触发按钮） */
.mm-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-faint);
  user-select: none;
}

.mm-time {
  letter-spacing: 0.02em;
}

.mm-op {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 16px;
  background-color: var(--bg-surface-subtle);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.mm-op::before,
.mm-op::after {
  content: "";
  display: inline-block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background-color: var(--mm-blue);
  margin: 0 1.5px;
}

/* 微信气泡互动区（点赞与评论） */
.mm-bubble {
  position: relative;
  margin-top: 8px;
  padding: 6px 10px;
  background-color: var(--mm-bubble-bg);
  border-radius: var(--radius-xs);
  font-size: 12px;
  line-height: 1.5;
}

.mm-bubble::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 12px;
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: transparent transparent var(--mm-bubble-bg) transparent;
}

.mm-likes {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--mm-blue);
  font-weight: 500;
  word-break: break-all;
}

.mm-heart {
  color: var(--accent-terracotta);
  font-size: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}

.mm-comments {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--mm-divider);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mm-comment-item {
  color: #2b2724;
  word-break: break-word;
}

.mm-comment-user {
  color: var(--mm-blue);
  font-weight: 500;
  cursor: pointer;
}

/* 6. 线下门店海报原生预览 */

:root {
  --poster-bg: #faf9f6;
  --poster-surface: #ffffff;
  --poster-ink-primary: #1a1816;
  --poster-ink-secondary: #57524d;
  --poster-ink-tertiary: #878077;
  --poster-line: rgba(54, 46, 38, 0.08);
  --poster-line-strong: rgba(54, 46, 38, 0.16);
  --accent-terracotta: #b75c3d;
  --accent-terracotta-dark: #98472b;
  --accent-terracotta-soft: rgba(183, 92, 61, 0.08);
}

.pv-poster {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--poster-bg);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 243, 238, 0.6) 100%);
  color: var(--poster-ink-primary);
  border: 1px solid var(--poster-line);
  border-radius: 4px;
  box-shadow: 
    0 24px 48px -12px rgba(44, 38, 32, 0.08),
    0 2px 6px rgba(44, 38, 32, 0.03);
  overflow: hidden;
  user-select: none;
}

/* 顶部品牌与定位标识 */
.po-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--poster-line);
}

.po-brand {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--poster-ink-primary);
  line-height: 1;
}

/* 主视觉呈现区 */
.po-visual {
  position: relative;
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  margin: 12px 0 10px;
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--poster-surface);
  border: 1px solid var(--poster-line);
}

.po-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 标题与版面层级结构 */
.po-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
  min-height: 0;
}

.po-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--poster-ink-primary);
  margin: 0 0 4px 0;
  word-break: break-word;
}

.po-sub {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--poster-ink-secondary);
  margin: 0 0 10px 0;
}

/* 卖点列表（严格限定最多3条，单行并附带参数微标） */
.po-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.po-list > .po-item:nth-child(n+4) {
  display: none !important;
}

.po-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--poster-ink-primary);
  border-bottom: 1px dashed var(--poster-line);
  padding-bottom: 3px;
}

.po-item-name {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.po-item-name::before {
  content: "";
  display: inline-block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background-color: var(--accent-terracotta);
  flex-shrink: 0;
}

.po-item-spec {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--poster-ink-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 底部行动引导与渠道收尾 */
.po-footer {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--poster-line-strong);
  flex-shrink: 0;
}

.po-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.po-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  height: 28px;
  padding: 0 14px;
  box-sizing: border-box;
  background-color: var(--accent-terracotta);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  box-shadow: 0 2px 6px rgba(183, 92, 61, 0.28);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.po-cta:hover {
  background-color: var(--accent-terracotta-dark);
}

.po-cta::after {
  content: "→";
  margin-left: 5px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1;
}

.po-note {
  font-size: 9px;
  line-height: 1.35;
  color: var(--poster-ink-tertiary);
  letter-spacing: 0.01em;
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* CSS 纯抽象二维码阵列（非真码，规避扫码混淆） */
.po-qr {
  position: relative;
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  padding: 3px;
  background-color: #ffffff;
  border: 1px solid var(--poster-line-strong);
  border-radius: 2px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
}

.po-qr::before,
.po-qr::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid var(--poster-ink-primary);
  background-color: #ffffff;
}

.po-qr::before {
  top: 3px;
  left: 3px;
  box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 3px var(--poster-ink-primary);
}

.po-qr::after {
  top: 3px;
  right: 3px;
  box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 3px var(--poster-ink-primary);
}

.po-qr-finder-bl {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid var(--poster-ink-primary);
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, inset 0 0 0 3px var(--poster-ink-primary);
  pointer-events: none;
}

.po-qr-dot {
  background-color: var(--poster-ink-primary);
  border-radius: 0.5px;
  opacity: 0.85;
}

.po-qr-dot:nth-child(2),
.po-qr-dot:nth-child(3),
.po-qr-dot:nth-child(5),
.po-qr-dot:nth-child(8),
.po-qr-dot:nth-child(9),
.po-qr-dot:nth-child(12),
.po-qr-dot:nth-child(14),
.po-qr-dot:nth-child(15) {
  visibility: visible;
}

.po-qr-dot:nth-child(1),
.po-qr-dot:nth-child(4),
.po-qr-dot:nth-child(6),
.po-qr-dot:nth-child(7),
.po-qr-dot:nth-child(10),
.po-qr-dot:nth-child(11),
.po-qr-dot:nth-child(13),
.po-qr-dot:nth-child(16) {
  visibility: hidden;
}

/* 7. 通用缺省占位与修饰标贴系统 */

/* 通用缺省容器 */
.pv-missing {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(245, 243, 238, 0.7);
  border: 1px dashed var(--poster-line-strong);
  border-radius: 3px;
  color: var(--poster-ink-tertiary);
  text-align: center;
  overflow: hidden;
}

.pv-missing::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  border: 1.5px solid var(--poster-ink-tertiary);
  border-radius: 2px;
  opacity: 0.65;
  background: 
    radial-gradient(circle at 7px 7px, var(--poster-ink-tertiary) 1.5px, transparent 2px),
    linear-gradient(135deg, transparent 55%, var(--poster-ink-tertiary) 55%, var(--poster-ink-tertiary) 60%, transparent 60%),
    linear-gradient(45deg, transparent 40%, var(--poster-ink-tertiary) 40%, var(--poster-ink-tertiary) 45%, transparent 45%);
}

.pv-missing-text {
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--poster-ink-secondary);
}

/* 海报主视觉专属缺省占位（高层级网格与工业感技术图底） */
.pv-missing-hero {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2efe9;
  background-image: 
    linear-gradient(rgba(54, 46, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 46, 38, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--poster-line-strong);
  border-radius: 2px;
  overflow: hidden;
}

.pv-missing-hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(54, 46, 38, 0.08);
  pointer-events: none;
}

.pv-missing-hero-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--poster-ink-secondary);
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--poster-line-strong);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(44, 38, 32, 0.04);
  z-index: 1;
}

.pv-missing-hero-sub {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--poster-ink-tertiary);
  z-index: 1;
}

/* 官方角标与分类徽标 */
.pv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  background-color: var(--accent-terracotta-soft);
  border: 1px solid rgba(183, 92, 61, 0.2);
  border-radius: 2px;
  line-height: 1;
  white-space: nowrap;
}

.pv-badge.solid {
  background-color: var(--accent-terracotta);
  color: #ffffff;
  border: none;
}

.pv-badge.ghost {
  background-color: transparent;
  color: var(--poster-ink-secondary);
  border-color: var(--poster-line-strong);
}

/* CLASS CONTRACT:
--------------------------------------------------------------------------------
ROOT CONTRACTS:
  .pv-poster                    门店海报原生预览根容器。固定 3:4 比例，最大宽度 420px，flex 纵向堆叠排版。

HEADER & TITLE HIERARCHY:
  .po-header                    顶部品牌行，flex 空间均分对齐。
  .po-brand                     HUAWEI 极简品牌无衬线字标，高字间距大写。
  .po-visual                    海报主图视窗（支持 <img> 或缺省骨架），带克制细边线。
  .po-body                      海报中段内容排版核心区。
  .po-title                     大标题，宋体/衬线书卷质感，紧凑行高。
  .po-sub                       副标题，次级灰度说明。

SELLING POINTS:
  .po-list                      核心卖点垂直列表，CSS 限制最多呈现前 3 项。
  .po-item                      单行卖点容器，左右两端对齐。
  .po-item-name                 卖点名称，前置陶土红点提示符。
  .po-item-spec                 右侧参数说明，等宽字体小字。

FOOTER & ACTION:
  .po-footer                    底部行动网格（左侧 CTA+Note，右侧抽象码）。
  .po-action                    左侧行动引导排版包裹层。
  .po-cta                       高触感实体感行动呼吁按钮（陶土红主色，禁紫色渐变）。
  .po-note                      官方渠道/发售时间等补充免责说明。
  .po-qr                        纯 CSS 绘制抽象二维码占位器（安全不可扫，保留 3 个定位角标与微点阵）。
  .po-qr-finder-bl              抽象二维码左下定位角标。
  .po-qr-dot                    抽象二维码伪随机点阵颗粒。

FALLBACK & BADGES:
  .pv-missing                   通用图片缺失占位容器。
  .pv-missing-text              缺失提示文案。
  .pv-missing-hero              海报视窗专用高精度网格工程风占位。
  .pv-missing-hero-label        主占位视觉中心标签。
  .pv-missing-hero-sub          主占位次要英文技术说明。
  .pv-badge                     状态徽标（默认浅陶土色描边，支持 .solid 及 .ghost 变体）。
--------------------------------------------------------------------------------
*/
