/* r88 营销页 + r88A 二期 A（主题门户/品牌介绍/注册体验/入口配置）
   视觉规范：T-029 令牌（var(--brand-*) / --ai-accent / --member-gold / --bg / --radius），禁止硬编码品牌色 */

:root {
  --mkt-text: #1A3A5C;
  --mkt-text-sub: #5B7186;
  --mkt-line: #E4EAF1;
  --mkt-gold: #C8A96A;
  --mkt-gold-deep: #B8860B;
  --zqr-vv-width: 100vw;
  --zqr-vv-height: 100vh;
  --zqr-vv-left: 0px;
  --zqr-vv-top: 0px;
  --zqr-vv-bottom-gap: 0px;
  --zqr-tabbar-height: 60px;
}

html, body { max-width: 100%; }
body { margin: 0; background: var(--bg-page); color: var(--mkt-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
#mkt-app { min-height: 100vh; display: flex; flex-direction: column; max-width: 100%; overflow-x: clip; }

/* ① Hero */
.mkt-hero { background: linear-gradient(135deg, var(--brand-900), var(--brand-600), var(--brand-900)); color: #fff; padding: 10px 4vw 20px; }
.mkt-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.mkt-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.mkt-nav-links { display: flex; align-items: center; gap: 11px; margin-left: auto; }
.mkt-nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; white-space: nowrap; }
.mkt-nav-links a:hover { color: var(--member-gold-3); }
.mkt-nav-links .mkt-nav-ai { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid rgba(200,169,106,.72); border-radius: 999px; background: rgba(200,169,106,.14); color: #fff; font-weight: 700; }
.mkt-nav-links .mkt-nav-ai span { padding: 2px 6px; border-radius: 999px; background: var(--member-gold-3); color: var(--brand-900); font-size: 11px; line-height: 1.25; }
.mkt-nav-links .mkt-nav-ai:hover { color: #fff; background: rgba(200,169,106,.24); border-color: var(--member-gold-3); }
.mkt-nav-actions { display: flex; gap: 10px; align-items: center; }
.mkt-user { font-size: 13px; color: rgba(255,255,255,.75); }
.mkt-hero-body { max-width: 1180px; margin: 12px auto 0; text-align: center; }

/* 品牌介绍块（管理端可配，缺省模板含平台 Logo + AI 建颌主张） */
.mkt-brand-intro .mkt-logo { width: 64px; height: 64px; display: block; margin: 0 auto 12px; }
.mkt-brand-intro h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.25; margin: 0 0 12px; }
.mkt-brand-intro h1 em { color: var(--member-gold-3); font-style: normal; }
.mkt-brand-intro .mkt-tagline { color: var(--member-gold-3); font-weight: 600; margin: 0 0 10px; }
.mkt-brand-intro .mkt-hero-sub { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.85); margin: 0 auto 0; max-width: 760px; }
.mkt-brand-intro .mkt-hero-body-text { font-size: 14px; color: rgba(255,255,255,.72); margin: 10px auto 0; max-width: 760px; line-height: 1.7; }
.mkt-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* 按钮 */
.mkt-btn { display: inline-block; padding: 10px 20px; border-radius: var(--radius); text-decoration: none; font-size: 15px; border: none; cursor: pointer; transition: opacity .2s, transform .2s; font-family: inherit; }
.mkt-btn:hover { opacity: .9; }
.mkt-btn:disabled { opacity: .6; cursor: not-allowed; }
.mkt-btn-gold { background: linear-gradient(135deg, var(--member-gold-3), var(--member-gold)); color: #fff; font-weight: 600; }
.mkt-btn-outline { border: 1px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.mkt-btn-lg { padding: 13px 30px; font-size: 16px; }

/* 注册 CTA 动态模式（纯 CSS，低功耗，无 JS 轮询） */
.mkt-cta-dynamic { animation: mktBreath 2.4s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(212,175,55,.55); }
.mkt-cta-dynamic::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); background-size: 220% 100%; animation: mktFlow 3.2s linear infinite; }
@keyframes mktBreath { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212,175,55,.5); } 50% { transform: scale(1.035); box-shadow: 0 0 0 10px rgba(212,175,55,0); } }
@keyframes mktFlow { 0% { background-position: 220% 0; } 100% { background-position: -120% 0; } }
.mkt-btn-lg.mkt-cta-dynamic { position: relative; overflow: hidden; }

/* ② 信任区 */
.mkt-trust { max-width: 1180px; margin: -24px auto 0; background: var(--bg-card); border-radius: var(--radius-lg); padding: 14px 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; box-shadow: 0 4px 16px rgba(16,42,67,.08); font-size: 13px; color: var(--mkt-text-sub); position: relative; z-index: 2; }
.mkt-trust-item { background: var(--primary-bg, #F1F5FA); color: var(--brand-800); padding: 4px 10px; border-radius: 999px; }

/* ③ 内容 */
.mkt-main { max-width: 1180px; margin: 0 auto; width: 100%; flex: 1; }
.mkt-section { padding: 34px 4vw 10px; }
.mkt-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.mkt-section-title { min-width: 0; }
.mkt-section h2 { margin: 0; font-size: 22px; }
.mkt-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.mkt-tab { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--mkt-line); background: #fff; color: var(--mkt-text-sub); cursor: pointer; font-size: 14px; font-family: inherit; }
.mkt-tab.active { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.mkt-content-count { display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: #EEF3F8; color: #5B7186; font-size: 12px; white-space: nowrap; vertical-align: middle; }

/* 主题导航（横向滚动，390px 不溢出） */
.mkt-theme-nav { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mkt-theme-nav::-webkit-scrollbar { display: none; }
.mkt-theme-tab { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--mkt-line); background: #fff; color: var(--mkt-text-sub); cursor: pointer; font-size: 13px; white-space: nowrap; font-family: inherit; }
.mkt-theme-tab:hover { border-color: var(--brand-500); color: var(--brand-600); }
.mkt-theme-tab.active { background: var(--member-gold-bg); color: var(--member-gold); border-color: var(--member-gold-3); font-weight: 600; }

.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.mkt-card { display: flex; flex-direction: column; min-width: 0; min-height: 100%; box-sizing: border-box; background: var(--bg-card); border: 1px solid transparent; border-radius: var(--radius-lg); padding: 16px; box-shadow: 0 2px 10px rgba(16,42,67,.06); cursor: pointer; color: inherit; text-decoration: none; text-align: left; font-family: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.mkt-card:hover { transform: translateY(-2px); }
.mkt-card:focus-visible, .mkt-hot-featured:focus-visible, .mkt-hot-rank:focus-visible, .mkt-hot-all:focus-visible, .mkt-load-more:focus-visible { outline: 3px solid rgba(42,120,190,.5); outline-offset: 3px; }
.mkt-card-title { font-size: 17px; font-weight: 700; line-height: 1.38; margin: 0 0 8px; }
.mkt-card-meta { font-size: 12px; color: var(--mkt-text-sub); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mkt-card-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.mkt-card .mkt-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-card-desc { margin: 0 0 10px; color: #64748B; font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mkt-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #E5EBF2; color: #718096; font-size: 11px; }
.mkt-tag { background: #EEF3F8; color: var(--brand-800); padding: 2px 8px; border-radius: 6px; }
.mkt-card .mkt-tag { font-size: 11px; line-height: 1.35; font-weight: 600; }
.mkt-tag-free { background: #E8F5EE; color: #1E7A46; }
.mkt-tag-paid { background: #FDF1E3; color: #B45309; }
.mkt-tag-ai { background: #EDE9FE; color: #6D28D9; }
.mkt-tag-theme { background: var(--member-gold-bg); color: var(--member-gold); border: 1px solid var(--member-gold-3); }
.mkt-empty { text-align: center; color: var(--mkt-text-sub); padding: 40px 0; }

/* ④ AI 问答 */
.mkt-ai { position: relative; overflow: hidden; background: linear-gradient(135deg, #F6FAFF, #FFFFFF 55%, #FBF6EA); border: 1px solid rgba(200,169,106,.52); border-radius: var(--radius-lg); margin: 22px 4vw 8px; padding: 26px; box-shadow: 0 10px 30px rgba(16,42,67,.11); }
.mkt-ai::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--member-gold-3), #5AA8FC, var(--member-gold-3)); }
.mkt-ai-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mkt-ai-quota { font-size: 13px; color: var(--member-gold); background: rgba(200,169,106,.12); border: 1px solid rgba(200,169,106,.4); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.mkt-ai-quota .mkt-ai-cta { color: #fff; background: var(--member-gold); border: none; border-radius: 999px; padding: 5px 12px; margin-left: 8px; cursor: pointer; font-size: 13px; }
.mkt-ai-quota .mkt-ai-cta:hover { filter: brightness(1.08); }
.mkt-ai-contextbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 8px 10px 8px 12px; border: 1px solid #D5E2EE; border-radius: 12px; background: rgba(238,244,250,.9); color: #29465F; }
.mkt-ai-contextbar[hidden] { display: none !important; }
.mkt-ai-context-text { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.mkt-ai-context-label { flex: 0 0 auto; color: #718096; }
.mkt-ai-context-text strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mkt-ai-new-topic { flex: 0 0 auto; min-height: 30px; border: 1px solid #C9D8E6; border-radius: 999px; background: #fff; color: #27577E; padding: 4px 11px; font-size: 12px; cursor: pointer; }
.mkt-ai-new-topic:hover { border-color: #27577E; }
.mkt-ai-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.mkt-ai-chip { font-size: 13px; color: var(--brand-800); background: #EEF3F9; border: 1px solid #D7E0EB; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .15s, color .15s; }
.mkt-ai-chip:hover { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.mkt-ai-hot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mkt-ai-hot-item { flex: 1; min-width: 220px; font-size: 13px; color: var(--mkt-text-sub); background: #FAFBFC; border: 1px dashed var(--mkt-line); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.mkt-ai-hot-item b { color: var(--brand-800); }
.mkt-ai-hot-item:hover { border-color: var(--brand-600); background: #F4F8FC; }
.mkt-ai-followups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 10px; }
.mkt-ai-followups[hidden] { display: none !important; }
.mkt-ai-followup-label { font-size: 12px; color: #718096; }
.mkt-ai-followup-chip { min-height: 32px; border: 1px solid #D5E2EE; border-radius: 999px; background: #F7FAFD; color: #27577E; padding: 5px 12px; font-size: 12.5px; cursor: pointer; }
.mkt-ai-followup-chip:hover { border-color: #5E88A8; background: #EEF4FA; }
.mkt-badge-free { font-size: 12px; background: #FDF1E3; color: #B45309; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.mkt-ai-sub { color: var(--mkt-text-sub); font-size: 14px; }
.mkt-ai-box { margin-top: 14px; }
.mkt-ai-log { min-height: 60px; max-height: 300px; overflow-y: auto; margin-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.mkt-ai-msg { padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.mkt-ai-msg.user { background: var(--brand-800); color: #fff; align-self: flex-end; max-width: 80%; }
.mkt-ai-msg.bot { background: #F1F5FA; color: var(--mkt-text); align-self: flex-start; max-width: 88%; }
.mkt-ai-input-row { display: flex; gap: 10px; }
.mkt-ai-input-row input { flex: 1; padding: 12px 14px; border: 1px solid var(--mkt-line); border-radius: var(--radius); font-size: 15px; }
@media (max-width: 640px) {
  .mkt-ai { margin: 14px 3vw 6px; padding: 18px 14px; }
  .mkt-ai-head { flex-direction: column; }
  .mkt-ai-hot-item { min-width: 100%; }
}

/* ⑤ 留资 */
.mkt-lead-card { max-width: 560px; margin: 0 auto; background: linear-gradient(135deg, #fff, var(--member-gold-bg)); border: 1px solid var(--mkt-line); border-radius: var(--radius-lg); padding: 28px; }
.mkt-lead-card h2 { margin: 0 0 12px; text-align: center; }
.mkt-benefits { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0 0 18px; }
.mkt-benefits li { background: #fff; border: 1px solid var(--mkt-line); padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.mkt-form { display: grid; gap: 12px; }
.mkt-form input, .mkt-form select, .mkt-form textarea { padding: 12px 14px; border: 1px solid var(--mkt-line); border-radius: var(--radius); font-size: 15px; font-family: inherit; width: 100%; box-sizing: border-box; }
.mkt-lead-note { text-align: center; font-size: 12px; color: #8A94A6; margin: 12px 0 0; }

/* ⑥ 底部（入口配置驱动） */
.mkt-footer { background: var(--brand-900); color: rgba(255,255,255,.7); text-align: center; padding: 22px; font-size: 13px; line-height: 1.8; margin-top: 30px; }
.mkt-footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.mkt-footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.mkt-footer-links a:hover { color: var(--member-gold-3); }

/* 详情弹窗 / 注册弹窗（.mkt-modal 统一组件族） */
.mkt-modal {
  position: fixed;
  top: var(--zqr-vv-top);
  left: var(--zqr-vv-left);
  width: var(--zqr-vv-width);
  height: var(--zqr-vv-height);
  right: auto;
  bottom: auto;
  box-sizing: border-box;
  background: rgba(7,20,35,.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 4vw;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 100;
}
.mkt-modal-card { background: #fff; opacity: 1; border-radius: var(--radius-lg); max-width: 760px; width: 100%; padding: 28px; position: relative; box-sizing: border-box; }
.mkt-modal-close {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 27px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--mkt-text-sub);
  z-index: 3;
}
.mkt-modal-close:focus-visible { outline: 3px solid rgba(43,108,176,.35); outline-offset: 2px; }
.mkt-detail-title, .mkt-detail-meta, .mkt-detail-body, .mkt-m-name, .mkt-m-sub {
  max-width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.mkt-detail-title { font-size: 24px; line-height: 1.35; margin: 0 0 10px; }
.mkt-detail-meta { font-size: 13px; color: var(--mkt-text-sub); margin-bottom: 16px; display: block; white-space: normal; }
.mkt-detail-body { font-size: 16px; line-height: 1.8; }
.mkt-detail-body img { max-width: 100%; }
.mkt-detail-price, .mkt-detail-unlocked, .mkt-unlock, .mkt-comment, .mkt-comment-meta {
  max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
}
.mkt-unlock { background: linear-gradient(135deg, var(--member-gold-3), var(--member-gold)); color: #fff; border: none; padding: 12px 26px; border-radius: var(--radius); font-size: 15px; cursor: pointer; margin: 16px 0; }
.mkt-comments { margin-top: 24px; border-top: 1px solid var(--mkt-line); padding-top: 16px; }
.mkt-comments h3 { font-size: 16px; margin: 0 0 10px; }
.mkt-comment { padding: 8px 0; border-bottom: 1px dashed var(--mkt-line); font-size: 14px; }
.mkt-comment-meta { font-size: 12px; color: var(--mkt-text-sub); margin-top: 4px; }
.mkt-comment-form { display: flex; gap: 8px; margin-top: 12px; }
.mkt-comment-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--mkt-line); border-radius: var(--radius); }

/* 注册弹窗 */
.mkt-register-card { max-width: 460px; }
.mkt-auth-brand { text-align: center; margin-bottom: 16px; }
.mkt-auth-brand h3 { margin: 8px 0 4px; font-size: 18px; }
.mkt-auth-brand p { margin: 0; font-size: 13px; color: var(--mkt-text-sub); }
.mkt-auth-brand b { color: var(--member-gold); }
.mkt-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--mkt-text-sub); line-height: 1.6; }
.mkt-check input { width: auto; margin-top: 2px; }
.mkt-form-error { font-size: 13px; color: #C0392B; margin: 0; text-align: center; }
.mkt-reg-success { text-align: center; padding: 18px 0 8px; }
.mkt-reg-success-icon { width: 56px; height: 56px; line-height: 56px; border-radius: 50%; background: #E8F5EE; color: #1E7A46; font-size: 28px; margin: 0 auto 12px; }
.mkt-reg-success h3 { margin: 0 0 8px; font-size: 20px; }
.mkt-reg-success p { margin: 0 0 18px; font-size: 14px; color: var(--mkt-text-sub); }

/* 统一 Toast */
.mkt-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); box-sizing: border-box; width: max-content; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 14px; background: var(--brand-900); color: #fff; font-size: 14px; line-height: 1.55; text-align: center; white-space: normal; overflow-wrap: anywhere; word-break: break-word; box-shadow: 0 6px 18px rgba(16,42,67,.25); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100000; }
.mkt-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mkt-toast.error { background: #C0392B; }
.mkt-toast.success { background: #1E7A46; }

/* 水印（登录用户） */
.mkt-watermark { position: fixed; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 9999; opacity: .06; font-size: 16px; color: var(--brand-900); overflow: hidden; }
.mkt-watermark span { position: absolute; transform: rotate(-18deg); white-space: nowrap; }

/* 防复制 */
.mkt-protected { -webkit-user-select: none; user-select: none; }

/* ================= r88A.2：首屏轮播 + AI 现代感 ================= */
.mkt-hero { position: relative; overflow: hidden; }
.mkt-hero::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(212,175,55,.16), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(80,168,252,.20), transparent 42%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}
/* r88A.8：nav 提升层叠（z-index 2 > hero-body 1）——修复账号下拉菜单被轮播区盖住、
   真实鼠标点击"切换账号/退出登录"无反应的层叠根因（菜单 z-index 在 nav 上下文内不对外生效） */
.mkt-nav { position: relative; z-index: 2; }
.mkt-hero-body { position: relative; z-index: 1; }

/* 轮播容器 */
.mkt-carousel { position: relative; max-width: 1180px; margin: 18px auto 0; min-height: 230px; }
.mkt-slide-track { position: relative; }
.mkt-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s; padding: 8px 4vw;
}
.mkt-slide.active { position: relative; opacity: 1; visibility: visible; transform: none; }
.mkt-slide h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.2; margin: 0 0 14px; letter-spacing: .5px; }
.mkt-slide h1 em { color: var(--member-gold-3); font-style: normal; text-shadow: 0 0 22px rgba(212,175,55,.35); }
.mkt-slide-sub { font-size: clamp(15px, 2.1vw, 19px); color: rgba(255,255,255,.88); margin: 0 0 12px; max-width: 820px; line-height: 1.6; }
.mkt-slide-quote { font-size: clamp(14px, 1.8vw, 17px); color: var(--member-gold-3); font-weight: 600; margin: 0; opacity: .95; }
.mkt-slide-video { padding: 0; }
.mkt-slide-video video {
  width: min(860px, 92vw); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.12);
  background: #000; max-height: 26vh; object-fit: contain; outline: none;
}
.mkt-slide-video-caption { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.8); }
.mkt-slide-image img { width: min(860px, 92vw); max-height: 26vh; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.mkt-slide-img-overlay { margin-top: 12px; }
.mkt-slide-img-overlay h1 { font-size: clamp(22px, 3.6vw, 34px); margin: 0 0 6px; }
.mkt-slide-img-overlay p { margin: 0; color: rgba(255,255,255,.85); }

/* 轮播箭头 / 圆点 */
.mkt-car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s, box-shadow .2s;
}
.mkt-car-arrow:hover { background: var(--member-gold); border-color: var(--member-gold); box-shadow: 0 0 18px rgba(212,175,55,.5); }
.mkt-car-prev { left: 2px; }
.mkt-car-next { right: 2px; }
.mkt-car-dots { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.mkt-car-dot { width: 9px; height: 9px; border-radius: 999px; border: none; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: all .25s; }
.mkt-car-dot.active { width: 24px; background: linear-gradient(90deg, var(--member-gold-3), var(--member-gold)); box-shadow: 0 0 10px rgba(212,175,55,.45); }

/* 按钮：现代 + AI 感（金→青蓝渐变、光晕、悬浮） */
.mkt-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; }
.mkt-btn-icon svg { flex: 0 0 auto; }
.mkt-btn-gold {
  background: linear-gradient(135deg, var(--member-gold-3) 0%, var(--member-gold) 55%, #6FB4FF 160%);
  box-shadow: 0 6px 22px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.mkt-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,175,55,.5), 0 0 22px rgba(111,180,255,.28); }
.mkt-btn-lg { padding: 14px 30px; font-size: 16px; }
.mkt-btn-outline { background: rgba(255,255,255,.07); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.5); }
.mkt-btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: 0 0 18px rgba(255,255,255,.18); }
.mkt-cta-dynamic { animation: mktBreath 2.4s ease-in-out infinite; }
.mkt-cta-dynamic::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.4) 50%, transparent 80%); background-size: 220% 100%; animation: mktFlow 3.2s linear infinite; }
.mkt-btn-lg.mkt-cta-dynamic { overflow: hidden; }

/* 内容区头部：类型 Tab + 排序 */
.mkt-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mkt-sort { display: flex; gap: 6px; }

/* 热点推荐（1 条焦点 + 4 条榜单） */
.mkt-hot { margin-top: 18px; }
.mkt-hot-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.mkt-hot-note { font-size: 12px; font-weight: 400; color: var(--mkt-text-sub); }
.mkt-hot-all { margin-left: auto; border: none; background: transparent; color: var(--brand-600); cursor: pointer; font-family: inherit; font-size: 12.5px; padding: 4px 2px; }
.mkt-hot-all:hover { color: var(--brand-800); }
.mkt-hot-board { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.mkt-hot-featured, .mkt-hot-rank { color: inherit; text-decoration: none; }
.mkt-hot-featured { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; box-sizing: border-box; padding: 20px 22px; overflow: hidden; border: 1px solid rgba(200,169,106,.4); border-radius: 16px; background: linear-gradient(140deg, #163A5A, #245E88 62%, #947543); color: #fff; box-shadow: 0 9px 24px rgba(16,42,67,.14); }
.mkt-hot-featured::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 84% 18%, rgba(255,255,255,.17), transparent 35%), linear-gradient(120deg, rgba(255,255,255,.08), transparent 50%); }
.mkt-hot-featured-label { position: relative; z-index: 1; margin-bottom: 7px; color: var(--member-gold-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.mkt-hot-featured-title { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.48; }
.mkt-hot-featured-meta { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 12px; }
.mkt-hot-featured .mkt-hot-rank-no { position: absolute; top: 14px; right: 16px; z-index: 2; width: 30px; height: 30px; font-size: 14px; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.36); }
.mkt-hot-rank-list { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mkt-hot-rank { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 12px; border: 1px solid var(--mkt-line); border-radius: 12px; background: linear-gradient(145deg, #fff, #FBF8F1); transition: border-color .15s, background .15s, transform .15s; }
.mkt-hot-rank:hover { transform: translateX(2px); border-color: var(--member-gold-3); background: #fff; }
.mkt-hot-rank-no { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #E4D4AC; border-radius: 50%; background: #FBF4E3; color: #8E6C2D; font-size: 12px; font-weight: 700; }
.mkt-hot-rank-main { flex: 1; min-width: 0; }
.mkt-hot-rank-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #20374D; font-size: 13px; font-weight: 600; }
.mkt-hot-rank-meta { display: flex; align-items: center; gap: 7px; min-height: 17px; margin-top: 3px; color: #8794A6; font-size: 10.5px; }
.mkt-hot-rank-theme { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9A7936; }
.mkt-hot-rank-arrow { color: #A6B1BE; font-size: 18px; }

/* 线下课等既有横条继续使用 */
.mkt-hot-track { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mkt-hot-track::-webkit-scrollbar { display: none; }
.mkt-hot-card {
  flex: 0 0 230px; background: linear-gradient(150deg, #fff, #FBF7EE); border: 1px solid var(--mkt-line);
  border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: transform .16s, box-shadow .16s;
}
.mkt-hot-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,42,67,.14); border-color: var(--member-gold-3); }
.mkt-hot-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-hot-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; color: var(--mkt-text-sub); }
.mkt-list-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 22px 0 4px; }
.mkt-list-progress { color: var(--mkt-text-sub); font-size: 12px; }
.mkt-load-more { min-width: 148px; }

/* 卡片悬浮微交互 */
.mkt-card { transition: transform .16s, box-shadow .16s; }
.mkt-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16,42,67,.13); }

/* r88A.3：账号下拉 / 标语植入 */
.mkt-user-box { position: relative; display: none; align-items: center; }
.mkt-user-btn { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; backdrop-filter: blur(6px); font-family: inherit; }
.mkt-user-btn:hover { background: rgba(255,255,255,.16); }
.mkt-user-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(16,42,67,.2); padding: 6px; min-width: 132px; z-index: 100; list-style: none; margin: 0; }
.mkt-user-menu li a { display: block; padding: 9px 14px; font-size: 13px; color: var(--mkt-text); text-decoration: none; border-radius: 8px; }
.mkt-user-menu li a:hover { background: var(--primary-bg, #F1F5FA); color: var(--brand-800); }
.mkt-section-sub { margin: 6px 0 0; font-size: 13px; color: var(--mkt-text-sub); }
.mkt-ai-claim { margin: 5px 0 0; font-size: 14px; color: var(--member-gold-deep); font-weight: 700; }
.mkt-ai-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mkt-ai-benefits span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1px solid #D6E4F2; border-radius: 999px; background: rgba(255,255,255,.86); color: var(--brand-800); font-size: 12.5px; font-weight: 600; }
.mkt-footer-slogan { font-weight: 600; }

@media (max-width: 640px) {
  .mkt-nav-links { display: none; }
  /* r88P211：移动端隐藏页头注册按钮（Hero 已有主 CTA，避免重复/拥挤） */
  .mkt-nav-actions #mkt-register-link { display: none; }
  .mkt-hero { padding: 12px 4vw 34px; }
  .mkt-carousel { min-height: 220px; margin-top: 14px; }
  .mkt-slide-video video { max-height: 21vh; }
  .mkt-slide-image img { max-height: 21vh; }
  .mkt-car-arrow { width: 34px; height: 34px; }
  /* r88P211：轮播圆点放大到可点尺寸 */
  .mkt-car-dot { width: 12px; height: 12px; }
  .mkt-car-dot.active { width: 30px; }
  /* r88P211：AI 快捷问题 chips 放大 */
  .mkt-ai-chip { padding: 8px 14px; font-size: 14px; }
  .mkt-ai-quick { gap: 10px; }
  /* r88P211：「专业问答」可点区放大 */
  .mkt-ai-quota .mkt-ai-cta { padding: 8px 14px; min-height: 36px; display: inline-flex; align-items: center; }
  /* r88P211：统一区块节奏 */
  .mkt-section { padding: 30px 4vw 26px; }
  .mkt-head-right { width: 100%; }
  .mkt-hot-card { flex-basis: 190px; }
  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .mkt-modal { padding: 6px; align-items: stretch; }
  /* P1-267（2026-09-20 张主任反馈"注册页没有完全展示、影响填写"）：
     ① 高度用 dvh（手机浏览器工具栏/键盘弹出时不再是"超高的 100vh"），老浏览器回退 100vh
     ② 底部留出安全区 + 一点余量，保证最后一行（同意勾选）与「提交」不被 Home 条/底栏压住
     ③ 卡片自身不滚动，交给外层 .mkt-modal 滚（避免"两层滚动"在微信里滚不动） */
  .mkt-modal-card {
    border-radius: 12px;
    min-height: 100%;
    height: 100%;
    max-height: 100%;
    padding: 28px 18px calc(30px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .mkt-modal-close { top: 2px; right: 4px; }
  /* P1-270（2026-09-20 张主任复诊"点开还是被遮挡"）：真正的原因是**表单比屏幕高**
     （360×640 上内容 693px、320×568 上 714px），底部只能靠"在 fixed 覆盖层里滚动"才能看到，
     而微信/iOS 里这层滚动经常不生效 → 医生体感"没展示全/填不完"。
     改法：把注册弹窗做成"**卡片=一屏高 + 表单内部滚动 + 提交按钮常驻底部**"，
     从此**不依赖覆盖层滚动**，提交按钮永远看得见点得到（键盘弹起时也一样）。 */
  #mkt-register-modal { overflow: hidden; padding: 6px; }
  #mkt-register-modal .mkt-register-card {
    height: 100%; min-height: 0; max-height: 100%;
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: 12px;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 18px 0;
  }
  #mkt-register-modal .mkt-auth-brand { flex: 0 0 auto; }
  #mkt-register-form {
    flex: 1 1 auto; min-height: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  #mkt-reg-submit { position: sticky; bottom: 0; z-index: 2; }
  #mkt-reg-success { flex: 1 1 auto; overflow-y: auto; }
  #art-buy-modal .mkt-modal-card {
    height: 100%; min-height: 0; max-height: 100%;
    display: flex; flex-direction: column; overflow: hidden;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 0;
  }
  #art-buy-body {
    flex: 1 1 auto; min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 2px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  #art-buy-body .mkt-unlock {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -10px 18px rgba(255,255,255,.92);
  }
}

/* ==================== r88C-1：课程专辑 + 视频内容 ==================== */
.mkt-albums { margin: 14px 0 4px; }
.mkt-albums-head { font-size: 16px; font-weight: 700; color: #1A3A5C; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.mkt-albums-note { font-size: 12px; color: #8A94A6; font-weight: 400; }
.mkt-albums-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.mkt-album-card { flex: 0 0 190px; background: #fff; border: 1px solid #E4EAF1; border-radius: 12px; padding: 10px; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.mkt-album-card:hover { box-shadow: 0 6px 18px rgba(16,42,67,.12); transform: translateY(-2px); }
.mkt-album-cover { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: #EEF3F8; }
.mkt-album-cover-ph { display: flex; align-items: center; justify-content: center; font-size: 34px; background: linear-gradient(135deg, #1A3A5C, #2B6CB0); color: #fff; }
.mkt-album-name, .mkt-album-desc, .mkt-album-meta { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.mkt-album-name { font-size: 14px; font-weight: 600; color: #1A3A5C; margin-bottom: 4px; }
.mkt-album-desc { font-size: 12px; color: #5B7186; line-height: 1.5; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mkt-album-meta { font-size: 11px; color: #8A94A6; }
.mkt-album-detail-list { margin-top: 12px; }
.mkt-series-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 12px 0 14px;
  padding: 13px 14px;
  border: 1px solid #DCE5EF;
  border-radius: 12px;
  background: #F8FAFD;
}
.mkt-series-gate.is-required { border-color: #E4D1AA; background: #FFFBF4; }
.mkt-series-gate.is-done { border-color: #CFE4D7; background: #F5FBF7; }
.mkt-series-gate.is-error { border-color: #F0C8C3; background: #FFF7F6; }
.mkt-series-gate-main { min-width: 0; }
.mkt-series-gate-main span { display: block; color: #8A6D1A; font-size: 10.5px; font-weight: 700; }
.mkt-series-gate-main b { display: block; margin-top: 3px; color: #17344E; font-size: 14px; line-height: 1.45; }
.mkt-series-gate-main p { margin: 3px 0 0; color: #6B7C8E; font-size: 12px; line-height: 1.55; }
.mkt-series-gate-primary,
.mkt-series-gate-secondary,
.mkt-series-gate-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.mkt-series-gate-primary { border: 0; background: linear-gradient(135deg, #B08A43, #8F6A2D); color: #fff; cursor: pointer; }
.mkt-series-gate-secondary { border: 1px solid #CAD8E7; background: #fff; color: #245A8D; cursor: pointer; }
.mkt-series-gate-done { min-height: 32px; padding: 0 10px; background: #E8F6EE; color: #17663A; font-size: 11.5px; }
.mkt-album-item { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 10px; min-width: 0; padding: 11px 12px; border: 1px solid #EEF1F5; border-radius: 8px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.mkt-album-item:hover { border-color: #2B6CB0; }
.mkt-album-idx { width: 22px; height: 22px; border-radius: 50%; background: #1A3A5C; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 22px; }
.mkt-album-item-title { flex: 1 1 180px; min-width: 0; max-width: 100%; font-size: 14px; color: #23384D; overflow-wrap: anywhere; word-break: break-word; }
.mkt-album-item-tags { flex: 0 1 auto; max-width: 100%; margin-left: auto; font-size: 12px; color: #8A94A6; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.mkt-card-thumb { position: relative; height: 132px; border-radius: 10px; overflow: hidden; margin-bottom: 8px; background: #102A43; }
.mkt-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mkt-card-thumb-article { background: #EEF3F8; }
.mkt-card-media-top { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 14px; }
.mkt-card-media-top .mkt-card-thumb { width: 136px; height: 96px; margin: 0; }
.mkt-card-media-top .mkt-card-title { min-width: 0; margin: 0; }
.mkt-card-media-card .mkt-card-main { margin-top: 10px; }
@media (min-width: 721px) {
  .mkt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mkt-card-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: rgba(255,255,255,.92); text-shadow: 0 2px 8px rgba(0,0,0,.35); background: rgba(16,42,67,.12); }
.mkt-tag-dur { background: #EAF0F7; color: #2B6CB0; }
.mkt-tag-preview { background: #FDF3D7; color: #8A6D1A; }
.mkt-video-wrap { position: relative; margin-bottom: 12px; }
.mkt-video-wrap video { width: 100%; max-height: 62vh; border-radius: 10px; background: #000; }
.mkt-video-preview-bar { margin-top: 8px; padding: 8px 12px; background: #FDF3D7; color: #8A6D1A; border-radius: 8px; font-size: 13px; text-align: center; }
.mkt-video-preview-bar b { color: #B45309; }
/* r88P196：联系方式（咨询弹窗 + footer 联系电话） */
.mkt-footer-contact { margin: 0 0 6px; font-size: 14px; color: var(--member-gold-3, #C8A96A); }
.mkt-contact-card { max-width: 360px; text-align: center; padding: 26px 24px 22px; }
.mkt-contact-title { font-size: 18px; color: #1A3A5C; margin: 0 0 8px; }
.mkt-contact-guide { font-size: 13px; color: #5B7186; margin: 0 0 14px; line-height: 1.6; }
.mkt-contact-qr { width: 210px; height: 210px; object-fit: contain; border: 1px solid #EEF1F5; border-radius: 10px; background: #fff; margin: 0 auto 14px; display: block; }
.mkt-contact-phones { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mkt-contact-phone { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #1A3A5C; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.mkt-contact-phone:hover { background: #2B6CB0; }
.mkt-contact-none { font-size: 13px; color: #8A94A6; }
.mkt-contact-note { font-size: 12px; color: #8A94A6; margin: 0; }
/* r88P196：文章页文末扫码咨询卡 */
.mkt-contact-inline { margin: 18px 0 4px; padding: 18px 16px; background: #F7F9FC; border: 1px solid #E2E8F0; border-radius: 12px; }
.mkt-contact-inline-title { font-size: 15px; font-weight: 700; color: #1A3A5C; margin-bottom: 12px; }
.mkt-contact-inline-body { display: flex; align-items: center; gap: 14px; }
.mkt-contact-inline-qr { width: 110px; height: 110px; object-fit: contain; border: 1px solid #EEF1F5; border-radius: 8px; background: #fff; flex: 0 0 110px; }
.mkt-contact-inline-info { flex: 1; min-width: 0; }
.mkt-contact-inline-guide { font-size: 13px; color: #5B7186; margin: 0 0 8px; line-height: 1.6; }
.mkt-contact-inline-phones { font-size: 14px; color: #1A3A5C; margin: 0; }
.mkt-contact-inline-phones a { color: #2B6CB0; text-decoration: none; font-weight: 600; }
.mkt-contact-inline-phones a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .mkt-contact-inline-body { flex-direction: column; text-align: center; }
  .mkt-contact-inline-qr { width: 150px; height: 150px; flex-basis: 150px; }
}
/* r88P197：ZQR™ 品牌视频播放器 */
.zqr-player { position: relative; width: 100%; background: #0B1B2E; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(16,42,67,.18); }
/* r88P217：播放器全屏适配（桌面/Android requestFullscreen；iOS 走 video.webkitEnterFullscreen 原生全屏）
   r88P217b：选择器完全拆分——选择器列表混入 :-moz-full-screen（Chrome 不识别）会导致整条规则被丢弃，
   全屏样式完全不生效（"半屏+播放条在中间"根因）；故 Firefox 前缀规则单独一条 */
.zqr-player:fullscreen,
.zqr-player:-webkit-full-screen,
.zqr-player.zqr-fullscreen {
  width: 100vw; height: 100vh; border-radius: 0; box-shadow: none;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.zqr-player:-moz-full-screen {
  width: 100vw; height: 100vh; border-radius: 0; box-shadow: none;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.zqr-player:fullscreen .zqr-player-video,
.zqr-player:-webkit-full-screen .zqr-player-video,
.zqr-player.zqr-fullscreen .zqr-player-video {
  max-height: 100vh; max-width: 100vw; height: 100%; object-fit: contain;
}
.zqr-player:-moz-full-screen .zqr-player-video {
  max-height: 100vh; max-width: 100vw; height: 100%; object-fit: contain;
}
.zqr-player video.zqr-player-video { display: block; width: 100%; max-height: 62vh; background: #000; }
.zqr-player-head { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(180deg, rgba(11,27,46,.92), rgba(11,27,46,0)); color: #fff; font-size: 13px; pointer-events: none; }
.zqr-player-logo { font-weight: 800; color: #C8A96A; letter-spacing: .5px; }
.zqr-player-title { color: rgba(255,255,255,.92); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zqr-player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: linear-gradient(0deg, rgba(11,27,46,.94), rgba(11,27,46,0)); }
.zqr-p-btn { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; padding: 2px 4px; line-height: 1; }
.zqr-p-btn:hover { color: #C8A96A; }
.zqr-p-time { color: rgba(255,255,255,.85); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zqr-p-range { flex: 1; min-width: 60px; height: 4px; accent-color: #C8A96A; cursor: pointer; }
.zqr-p-vol-wrap { display: flex; align-items: center; gap: 4px; }
.zqr-p-volrange { width: 52px; height: 4px; accent-color: #C8A96A; }
.zqr-p-rate { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 5px; font-size: 12px; padding: 3px 4px; cursor: pointer; }
.zqr-p-rate option { color: #1A3A5C; }
.zqr-p-cover { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: #0B1B2E; }
.zqr-p-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.zqr-p-playbig { width: 68px; height: 68px; border-radius: 50%; border: 0; background: rgba(200,169,106,.92); color: #0B1B2E; font-size: 26px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; padding-left: 5px; }
.zqr-p-playbig:hover { background: #C8A96A; transform: scale(1.05); }
.zqr-p-brand { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 45%, rgba(43,108,176,.55), rgba(11,27,46,.96)); color: #fff; }
.zqr-p-brand.on { animation: zqrBrandFade 2.5s ease forwards; }
.zqr-p-brand-logo { font-size: 42px; font-weight: 900; color: #C8A96A; letter-spacing: 1px; }
.zqr-p-brand-slogan { font-size: 16px; color: rgba(255,255,255,.9); letter-spacing: 2px; }
@keyframes zqrBrandFade { 0%, 78% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.zqr-p-end { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: rgba(11,27,46,.94); }
.zqr-p-end-card { max-width: 300px; text-align: center; color: #fff; padding: 18px 16px; }
.zqr-p-end-title { font-size: 16px; font-weight: 700; color: #C8A96A; margin-bottom: 12px; }
.zqr-p-end-qr { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; background: #fff; margin-bottom: 10px; }
.zqr-p-end-guide { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.zqr-p-end-phones { font-size: 14px; margin-bottom: 12px; }
.zqr-p-end-phones a { color: #fff; text-decoration: none; font-weight: 600; }
.zqr-p-end-phones a:hover { color: #C8A96A; }
.zqr-p-end-replay { border: 0; border-radius: 999px; background: #C8A96A; color: #0B1B2E; font-size: 13px; font-weight: 600; padding: 8px 22px; cursor: pointer; }
/* r88P198：动态水印（防盗录追溯） */
.zqr-p-watermark { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
.zqr-p-wm-item { position: absolute; font-size: 13px; color: rgba(255,255,255,.30); text-shadow: 0 1px 3px rgba(0,0,0,.55); white-space: nowrap; user-select: none; }
/* r88P198：手机端播放适配 */
@media (max-width: 640px) {
  .zqr-player-head { padding: 8px 10px; font-size: 12px; }
  .zqr-player-bar { gap: 5px; padding: 6px 8px; }
  .zqr-p-btn { font-size: 14px; }
  .zqr-p-time { font-size: 11px; }
  .zqr-p-vol-wrap { display: none; }
  .zqr-p-range { min-width: 30px; height: 5px; }
  .zqr-p-volrange { width: 40px; }
  .zqr-p-playbig { width: 56px; height: 56px; font-size: 22px; }
  .zqr-p-end-card { max-width: 260px; padding: 14px 12px; }
  .zqr-p-end-qr { width: 120px; height: 120px; }
  .zqr-p-wm-item { font-size: 11px; }
}
@media (max-width: 640px) {
  .mkt-album-card { flex-basis: 150px; }
  .mkt-video-wrap video { max-height: 40vh; }
  .mkt-series-gate { grid-template-columns: minmax(0, 1fr); }
  .mkt-series-gate-primary,
  .mkt-series-gate-secondary { width: 100%; box-sizing: border-box; }
}

/* ============ P1-133：平台公告区（知识页 Hero 下方） ============ */
.mkt-ann {
  max-width: 1180px;
  margin: 18px auto 6px;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.mkt-ann-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.mkt-ann-head h2 {
  margin: 0;
  font-size: 18px;
  color: #102a43;
}
.mkt-ann-sub {
  font-size: 12px;
  color: #8b95a3;
}
.mkt-ann-top {
  position: relative;
  background: linear-gradient(120deg, #f6f1e3, #fdf9ef);
  border: 1px solid #eadfc6;
  border-left: 4px solid #d4af37;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease;
  margin-bottom: 10px;
}
.mkt-ann-top:hover {
  box-shadow: 0 6px 18px rgba(16, 42, 67, .10);
  transform: translateY(-1px);
}
.mkt-ann-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  margin-right: 8px;
  vertical-align: 1px;
}
.mkt-ann-badge.t-announcement { background: #dbeafe; color: #1d4ed8; }
.mkt-ann-badge.t-activity     { background: #ffedd5; color: #c2410c; }
.mkt-ann-badge.t-policy       { background: #ede9fe; color: #6d28d9; }
.mkt-ann-badge.t-maintenance  { background: #fef9c3; color: #a16207; }
.mkt-ann-top-title {
  font-size: 16px;
  font-weight: 700;
  color: #102a43;
  line-height: 1.4;
  margin: 6px 0 4px;
}
.mkt-ann-top-summary {
  font-size: 13px;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.mkt-ann-top-time {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}
.mkt-ann-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background .15s ease;
}
.mkt-ann-row:hover { background: #f8fafc; }
.mkt-ann-row-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mkt-ann-row-title b { font-weight: 600; color: #102a43; }
.mkt-ann-row-time {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}
/* 公告详情弹窗 */
.mkt-ann-card {
  max-width: 620px;
}
#mkt-ann-body {
  padding: 8px 2px 2px;
}
.mkt-ann-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #102a43;
  margin: 10px 0 8px;
  line-height: 1.45;
}
.mkt-ann-detail-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.mkt-ann-detail-content {
  font-size: 14px;
  color: #334155;
  line-height: 1.8;
  white-space: pre-line;
  word-break: break-word;
}
@media (max-width: 720px) {
  .mkt-ann { padding: 0 14px; }
  .mkt-ann-top-title { font-size: 15px; }
  .mkt-ann-top { padding: 12px 12px; }
  .mkt-ann-row { padding: 8px 10px; }
}

/* ==================== P1-140：知识页首页移动端重排（B：移动骨架 ≤720px） ====================
   原则：所有移动组件默认隐藏；仅 body.mkt-mobile（JS 按 ≤720px 添加）时生效；
   桌面 ≥768px 不匹配任何移动规则，视觉零改动。 */
.mkt-m-top,
.mkt-m-tabbar,
.mkt-m-view,
.mkt-ai-navbar,
.mkt-m-ann-dismiss,
.mkt-m-quota-pill,
.mkt-m-content-search,
#mkt-enter-cta {
  display: none;
}

@media (max-width: 720px) {
  body.mkt-mobile {
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    scroll-padding-bottom: calc(var(--zqr-tabbar-height) + env(safe-area-inset-bottom, 0px));
  }
  body.mkt-mobile #ai-ask,
  body.mkt-mobile .mkt-m-view {
    animation: mktViewIn .18s ease-out both;
  }

  /* ---- ① 顶部栏（sticky） ---- */
  body.mkt-mobile .mkt-m-top {
    display: block;
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  }
  body.mkt-mobile .mkt-m-top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 4px 12px;
  }
  body.mkt-mobile .mkt-m-brand {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.mkt-mobile .mkt-m-brand-mid,
  body.mkt-mobile .mkt-m-brand-wide {
    display: none;
  }
  body.mkt-mobile .mkt-m-top-actions {
    display: none;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
  body.mkt-mobile .mkt-m-quota-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #E9D19A;
    border-radius: 999px;
    background: #FFF4D8;
    color: #8B6824;
    font: 700 11.5px/1 inherit;
    cursor: pointer;
    white-space: nowrap;
  }
  body.mkt-mobile .mkt-m-topbtn,
  body.mkt-mobile .mkt-m-userbtn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    min-height: 40px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }
  body.mkt-mobile .mkt-m-topbtn:hover,
  body.mkt-mobile .mkt-m-userbtn:hover {
    background: rgba(255, 255, 255, .16);
  }
  body.mkt-mobile .mkt-m-ai-btn {
    border-color: rgba(200,169,106,.8);
    background: linear-gradient(135deg, rgba(200,169,106,.34), rgba(212,175,55,.2));
    color: #fff;
    font-weight: 700;
  }
  body.mkt-mobile .mkt-m-regbtn {
    background: linear-gradient(135deg, var(--member-gold-3), var(--member-gold));
    border: none;
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 13px;
    min-height: 40px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ---- ② Hero：只保留轮播 + 单主 CTA，原桌面导航/CTA 组隐藏 ---- */
  body.mkt-mobile .mkt-nav { display: none; }
  body.mkt-mobile .mkt-nav-links,
  body.mkt-mobile .mkt-nav-actions { display: none; }
  body.mkt-mobile .mkt-hero { display: none; }
  body.mkt-mobile .mkt-hero-body { margin: 0 auto; }
  body.mkt-mobile .mkt-carousel { max-width: 100%; margin: 0; min-height: 250px; }
  body.mkt-mobile .mkt-slide h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-slide-sub {
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-slide-quote {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 92%;
  }
  body.mkt-mobile .mkt-slide-video video { max-height: 28vh; }
  body.mkt-mobile .mkt-slide-image img { max-height: 28vh; }
  body.mkt-mobile .mkt-car-arrow,
  body.mkt-mobile .mkt-car-dots { display: none; }
  body.mkt-mobile .mkt-hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
  }
  body.mkt-mobile #mkt-register-cta,
  body.mkt-mobile #mkt-enter-cta {
    width: min(320px, 84vw);
    min-height: 46px;
    box-sizing: border-box;
  }
  body.mkt-mobile #mkt-ai-enter {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
    padding: 8px 16px;
    min-height: 44px;
    box-sizing: border-box;
  }
  body.mkt-mobile #mkt-ai-enter:hover { color: #fff; background: rgba(255, 255, 255, .08); }

  /* ---- ③ 公告：横幅单条（有公告才显示），标题/时间徽章紧凑 ---- */
  body.mkt-mobile .mkt-ann { margin: 10px auto 0; padding: 0 12px; }
  body.mkt-mobile .mkt-ann-head,
  body.mkt-mobile #mkt-ann-list { display: none; }
  body.mkt-mobile .mkt-ann-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 52px 10px 12px;
    border-radius: 10px;
  }
  body.mkt-mobile .mkt-ann-top .mkt-ann-top-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.mkt-mobile .mkt-ann-top .mkt-ann-top-summary { display: none; }
  body.mkt-mobile .mkt-ann-top > span[style] { display: none; }
  body.mkt-mobile .mkt-ann .mkt-m-ann-dismiss {
    display: inline-flex;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(16, 42, 67, .08);
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }

  /* ---- ④ AI 问答：默认不在首页，Tab2 打开时整屏视图 ---- */
  body.mkt-mobile #ai-ask { display: none; }
  body.mkt-mobile.mkt-view-ai #ai-ask {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--zqr-vv-top) + 48px);
    left: var(--zqr-vv-left);
    width: var(--zqr-vv-width);
    height: calc(var(--zqr-vv-height) - 48px);
    z-index: 110;
    background: #F5F8FC;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 12px 14px calc(74px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    overflow: hidden;
    overflow-x: hidden;
  }
  body.mkt-mobile .mkt-ai-navbar { display: none; }
  body.mkt-mobile .mkt-ai-navbar-title { font-size: 16px; font-weight: 700; color: var(--mkt-text); }
  body.mkt-mobile.mkt-view-ai .mkt-ai-claim { display: none; }
  body.mkt-mobile.mkt-view-ai .mkt-ai-sub {
    display: none;
  }
  body.mkt-mobile .mkt-m-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--mkt-line);
    background: #fff;
    color: var(--mkt-text);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    flex: 0 0 44px;
  }
  body.mkt-mobile .mkt-ai-head,
  body.mkt-mobile .mkt-ai-claim,
  body.mkt-mobile .mkt-ai-sub,
  body.mkt-mobile .mkt-ai-benefits,
  body.mkt-mobile .mkt-ai-quota,
  body.mkt-mobile .mkt-ai-head h2 { display: none; }
  body.mkt-mobile .mkt-ai { padding: 0; }
  /* P1-140 UX2：AI 视图 = 顶栏 + 滚动内容区 + 固定底部输入栏（任意矮屏不被遮挡） */
  body.mkt-mobile.mkt-view-ai #ai-ask > .mkt-ai-head { margin: 0; min-height: 34px; }
  body.mkt-mobile .mkt-ai-box {
    margin-top: 6px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-ai-box::-webkit-scrollbar { display: none; }
  body.mkt-mobile #mkt-ai-log {
    order: 1;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 12px;
    gap: 9px;
  }
  body.mkt-mobile #mkt-ai-log::-webkit-scrollbar { display: none; }
  body.mkt-mobile .mkt-ai-msg {
    max-width: 94%;
    padding: 12px 14px;
    border-radius: 4px 16px 16px 16px;
    background: #fff;
    border: 1px solid #E1E8F0;
    box-shadow: 0 4px 14px rgba(16,42,67,.05);
    font-size: 13px;
    line-height: 1.7;
  }
  body.mkt-mobile .mkt-ai-msg.bot::before {
    content: "✦";
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    margin: 0 7px 0 0;
    border-radius: 8px;
    background: linear-gradient(135deg,#173D60,#2C6B96);
    color: #E6CC8F;
    vertical-align: -6px;
    font-size: 12px;
  }
  body.mkt-mobile .mkt-ai-msg.user {
    border: none;
    background: #173F63;
    color: #fff;
    border-radius: 15px 4px 15px 15px;
    align-self: flex-end;
    max-width: 84%;
  }
  /* P1-140 UX2：热门问题区移动端收起（快捷问题已够用），降低首屏信息密度 */
  body.mkt-mobile .mkt-ai-hot { display: none; }
  body.mkt-mobile .mkt-ai-contextbar {
    margin: 4px 0 6px;
    min-height: 38px;
    padding: 5px 6px 5px 10px;
  }
  body.mkt-mobile .mkt-ai-context-label { display: none; }
  body.mkt-mobile .mkt-ai-context-text strong { font-size: 12px; }
  body.mkt-mobile .mkt-ai-new-topic { min-height: 32px; }
  body.mkt-mobile .mkt-ai-followups {
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 6px 0 2px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  body.mkt-mobile .mkt-ai-followups::-webkit-scrollbar { display: none; }
  body.mkt-mobile .mkt-ai-followup-label { flex: 0 0 auto; }
  body.mkt-mobile .mkt-ai-followup-chip { flex: 0 0 auto; white-space: nowrap; }
  body.mkt-mobile .mkt-ai-quick {
    order: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.mkt-mobile .mkt-ai-quick::-webkit-scrollbar { display: none; }
  body.mkt-mobile .mkt-ai-chip {
    width: auto;
    height: 34px;
    max-width: 72vw;
    flex: 0 0 auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding: 5px 11px;
    border-radius: 12px;
    background: #fff;
    color: #29465F;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(16,42,67,.035);
  }
  body.mkt-mobile .mkt-ai-chip::before {
    content: "✦";
    width: 20px;
    height: 20px;
    margin-right: 6px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    border-radius: 7px;
    background: #EEF4FA;
    color: #3E6F96;
    font-size: 10px;
  }
  body.mkt-mobile .mkt-ai-input-row {
    order: 4;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    z-index: auto;
    flex: 0 0 auto;
    display: block;
    padding: 10px 0 2px;
    margin: 0;
    background: #F5F8FC;
    border-top: 1px solid var(--mkt-line);
  }
  body.mkt-mobile .mkt-ai-input-row input {
    width: 100%;
    min-height: 44px;
    min-width: 0;
    font-size: 16px;
    border-radius: 999px;
    padding: 10px 96px 10px 16px;
    box-sizing: border-box;
  }
  body.mkt-mobile .mkt-ai-input-row input::placeholder {
    font-size: 13px;
    opacity: .84;
  }
  body.mkt-mobile #mkt-register-form input::placeholder,
  body.mkt-mobile #mkt-register-form textarea::placeholder {
    font-size: 13px;
    opacity: .84;
  }
  body.mkt-mobile .mkt-ai-input-row button {
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 2px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 15px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  html.zqr-keyboard-open body.mkt-mobile .mkt-ai-quick { display: none; }
  body.mkt-mobile #ai-ask.mkt-ai-chat-started .mkt-ai-quick { display: none; }
  body.mkt-mobile .mkt-ai-quota {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 6px 0 2px;
  }

  /* ---- ⑤ 信任区：移动端隐藏（降噪） ---- */
  body.mkt-mobile .mkt-trust { display: none; }
  body.mkt-mobile .mkt-ann { display: none; }
  body.mkt-mobile .mkt-main { padding-top: 0; display:flex; flex-direction:column; }
  body.mkt-mobile .mkt-main #contents { order: 1; }
  body.mkt-mobile .mkt-main #mkt-offline { order: 2; }
  body.mkt-mobile.mkt-view-content #contents { padding-top: 14px; }

  /* ---- ⑥ 内容区：标题 + 类型/排序（两行）、主题横滑、列表化 ---- */
  body.mkt-mobile .mkt-main { max-width: 100%; }
  body.mkt-mobile .mkt-section { padding: 20px 14px 16px; }
  body.mkt-mobile #contents { position: relative; }
  body.mkt-mobile .mkt-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.mkt-mobile .mkt-section-title { width: 100%; }
  body.mkt-mobile .mkt-section h2 { font-size: 18px; line-height: 1.35; }
  body.mkt-mobile .mkt-content-count { position: absolute; top: 22px; right: 14px; margin-left: 0; }
  body.mkt-mobile .mkt-section-sub,
  body.mkt-mobile .mkt-albums-note,
  body.mkt-mobile .mkt-hot-note { display: none; }
  body.mkt-mobile .mkt-head-right { width: 100%; justify-content: flex-start; gap: 10px; }
  body.mkt-mobile .mkt-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: auto;
    max-width: 100%;
  }
  body.mkt-mobile .mkt-tabs::-webkit-scrollbar { display: none; }
  body.mkt-mobile .mkt-tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  body.mkt-mobile .mkt-sort .mkt-tab { padding: 0 14px; }
  body.mkt-mobile .mkt-theme-nav { margin-top: 10px; padding: 2px 2px 8px; }
  body.mkt-mobile .mkt-m-content-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin: 4px 0 2px;
    padding: 0 13px;
    border: 1px solid #DCE5EE;
    border-radius: 14px;
    background: #fff;
    color: #8C9AAA;
    box-shadow: 0 2px 9px rgba(16,42,67,.035);
  }
  body.mkt-mobile .mkt-m-content-search span { font-size: 20px; line-height: 1; }
  body.mkt-mobile .mkt-m-content-search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #17344E;
    font: 13px/1.4 inherit;
  }
  body.mkt-mobile .mkt-m-content-search input::placeholder { color: #9DAAB8; }
  body.mkt-mobile .mkt-theme-tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: 13px;
  }
  body.mkt-mobile .mkt-theme-hint { margin: 0 4px 8px; font-size: 12px; color: var(--mkt-text-sub); }

  /* ---- ⑦ 热点（1 条焦点 + 手机前 3 条）+ 内容列表卡 ---- */
  body.mkt-mobile .mkt-hot { margin-top: 12px; }
  body.mkt-mobile .mkt-hot-head { font-size: 17px; }
  body.mkt-mobile .mkt-hot-note { display: none; }
  body.mkt-mobile .mkt-hot-board { grid-template-columns: 1fr; gap: 8px; }
  body.mkt-mobile .mkt-hot-featured { min-height: 142px; padding: 16px; }
  body.mkt-mobile .mkt-hot-featured-title { font-size: 17px; }
  body.mkt-mobile .mkt-hot-rank-list { grid-template-rows: none; gap: 6px; }
  body.mkt-mobile .mkt-hot-rank { padding: 8px 10px; }
  body.mkt-mobile .mkt-hot-rank:nth-child(n+3) { display: none; }
  body.mkt-mobile .mkt-grid { display: block; margin-top: 14px; }
  body.mkt-mobile .mkt-grid .mkt-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 12px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
  }
  body.mkt-mobile .mkt-grid .mkt-card-thumb {
    flex: 0 0 96px;
    height: 74px;
    margin: 0;
    border-radius: 8px;
  }
  body.mkt-mobile .mkt-grid .mkt-card-media-card { display: block; }
  body.mkt-mobile .mkt-grid .mkt-card-media-top { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  body.mkt-mobile .mkt-grid .mkt-card-media-top .mkt-card-thumb { width: 96px; height: 74px; }
  body.mkt-mobile .mkt-grid .mkt-card-media-card .mkt-card-main { margin-top: 8px; }
  body.mkt-mobile .mkt-grid .mkt-card-main { flex: 1 1 auto; min-width: 0; }
  body.mkt-mobile .mkt-grid .mkt-card-title {
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-grid .mkt-card-meta { font-size: 12px; gap: 6px; }
  body.mkt-mobile .mkt-grid .mkt-card-meta span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  body.mkt-mobile .mkt-grid .mkt-card-desc { display: none; }
  body.mkt-mobile .mkt-grid .mkt-card-tags { gap: 5px; margin-top: 0; }
  body.mkt-mobile .mkt-grid .mkt-card-foot { margin-top: 7px; padding-top: 6px; font-size: 10.5px; }
  body.mkt-mobile .mkt-list-foot { margin-top: 14px; }

  /* P1-140 UX：线下课占位文案最多 2 行 */
  body.mkt-mobile .mkt-offline .mkt-hot-track > div {
    font-size: 12px;
    padding: 10px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---- ⑧ 专辑：双列网格 ---- */
  body.mkt-mobile .mkt-albums { margin: 14px 0 2px; }
  body.mkt-mobile .mkt-albums-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }
  body.mkt-mobile .mkt-album-card { flex-basis: auto; width: 100%; box-sizing: border-box; padding: 8px; }
  body.mkt-mobile .mkt-album-name { font-size: 13px; }
  body.mkt-mobile .mkt-album-desc { font-size: 11px; }

  /* ---- ⑨ 底部 Tab 栏 + 我的视图 ---- */
  body.mkt-mobile .mkt-m-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--zqr-vv-bottom-gap);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: var(--zqr-tabbar-height);
    z-index: 130;
    background: #fff;
    border-top: 1px solid var(--mkt-line);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 16px rgba(16, 42, 67, .06);
  }
  body.mkt-mobile .mkt-m-tabbar .mkt-m-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: none;
    background: none;
    color: var(--mkt-text-sub);
    font-size: 12px;
    padding: 4px 0;
    min-height: 46px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 10px;
    transition: color .15s, background .15s;
  }
  body.mkt-mobile .mkt-m-tabbar .mkt-m-tab .mkt-m-tab-ico { font-size: 18px; line-height: 1.2; }
  body.mkt-mobile .mkt-m-tabbar .mkt-m-tab.active {
    color: var(--brand-800);
    font-weight: 600;
    background: var(--primary-bg, #F1F5FA);
  }
  body.mkt-mobile .mkt-m-view {
    position: fixed;
    top: var(--zqr-vv-top);
    left: var(--zqr-vv-left);
    width: var(--zqr-vv-width);
    height: var(--zqr-vv-height);
    z-index: 110;
    background: #F5F8FC;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px calc(78px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }
  body.mkt-mobile.mkt-view-profile #mkt-m-profile { display: block; }
  body.mkt-mobile.mkt-view-benefits #mkt-m-benefits { display: block; }
  body.mkt-mobile.mkt-view-orders #mkt-m-orders { display: block; }
  body.mkt-mobile.mkt-view-benefits #mkt-m-tabbar { display: none; }
  body.mkt-mobile.mkt-view-orders #mkt-m-tabbar { display: none; }
  body.mkt-mobile.mkt-view-benefits #mkt-m-benefits {
    bottom: var(--zqr-vv-bottom-gap);
    height: calc(var(--zqr-vv-height) - var(--zqr-vv-bottom-gap));
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  body.mkt-mobile.mkt-view-orders #mkt-m-orders {
    bottom: var(--zqr-vv-bottom-gap);
    height: calc(var(--zqr-vv-height) - var(--zqr-vv-bottom-gap));
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  body.mkt-mobile .mkt-m-p-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--mkt-text);
    position: sticky;
    top: 0;
    z-index: 6;
    margin: 0 0 14px;
    padding: 2px 0 8px;
    background: #F5F8FC;
  }
  body.mkt-mobile .mkt-m-card {
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(16, 42, 67, .05);
  }
  body.mkt-mobile .mkt-m-avatar { font-size: 30px; margin-bottom: 6px; }
  body.mkt-mobile .mkt-m-name { font-size: 16px; font-weight: 700; color: var(--mkt-text); margin-bottom: 4px; }
  body.mkt-mobile .mkt-m-sub { font-size: 13px; color: var(--mkt-text-sub); margin-top: 2px; line-height: 1.5; }
  body.mkt-mobile .mkt-m-menu {
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 14px;
    padding: 4px 0;
    margin-bottom: 12px;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-m-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: none;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--mkt-text);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    min-height: 48px;
    border-bottom: 1px solid #F0F3F8;
  }
  body.mkt-mobile .mkt-m-menu-item:last-child { border-bottom: none; }
  body.mkt-mobile .mkt-m-menu-item:active { background: var(--primary-bg, #F1F5FA); }
  body.mkt-mobile .mkt-m-menu-item i { font-style: normal; color: #B4BECD; font-size: 18px; }
  body.mkt-mobile .mkt-m-menu-danger { color: #C0392B; }
  body.mkt-mobile .mkt-m-benefit-hero {
    border-radius: 18px;
    padding: 17px;
    color: #fff;
    background: linear-gradient(135deg, #173D60, #28658D);
    box-shadow: 0 10px 24px rgba(16,42,67,.18);
  }
  body.mkt-mobile .mkt-m-benefit-hero small { color: #E6CF96; font-size: 11px; }
  body.mkt-mobile .mkt-m-benefit-hero h2 { margin: 7px 0 4px; font-size: 21px; }
  body.mkt-mobile .mkt-m-benefit-hero p { margin: 0; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.55; }
  body.mkt-mobile .mkt-m-benefit-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
  }
  body.mkt-mobile .mkt-m-benefit-metric {
    background: #fff;
    border: 1px solid #E2E9F0;
    border-radius: 15px;
    padding: 14px;
  }
  body.mkt-mobile .mkt-m-benefit-metric span { display: block; font-size: 11px; color: #8996A6; }
  body.mkt-mobile .mkt-m-benefit-metric b { display: block; margin-top: 6px; font-size: 22px; color: #17344E; }
  body.mkt-mobile .mkt-m-benefit-list {
    margin-top: 12px;
    background: #fff;
    border: 1px solid #E2E9F0;
    border-radius: 16px;
    overflow: hidden;
  }
  body.mkt-mobile .mkt-m-benefit-row {
    min-height: 67px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #EEF2F6;
    background: #fff;
    text-align: left;
    color: #17344E;
    font-family: inherit;
    cursor: pointer;
  }
  body.mkt-mobile .mkt-m-benefit-row:last-child { border-bottom: none; }
  body.mkt-mobile .mkt-m-benefit-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF4D9;
    display: grid;
    place-items: center;
    font-size: 19px;
    flex: 0 0 40px;
  }
  body.mkt-mobile .mkt-m-benefit-row b { display: block; font-size: 14px; }
  body.mkt-mobile .mkt-m-benefit-row span { display: block; margin-top: 3px; font-size: 11px; color: #8996A6; }
  body.mkt-mobile .mkt-m-benefit-row em { margin-left: auto; font-style: normal; color: #B0BBC7; font-size: 18px; }
  body.mkt-mobile .mkt-m-benefit-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    background: #F7FAFD;
    border: 1px dashed #D5DFE9;
    color: #6D7F91;
    font-size: 11px;
    line-height: 1.65;
  }

  /* ---- ⑩ Footer / Toast / 弹窗层级 ---- */
  body.mkt-mobile .mkt-footer {
    padding: 12px 14px calc(70px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.6;
    text-align: center;
  }
  /* P1-140 UX：页脚只保留重要信息（电话/免责/版权），配置入口链接与标语移动端收起 */
  body.mkt-mobile .mkt-footer-links,
  body.mkt-mobile .mkt-footer-slogan { display: none; }
  body.mkt-mobile .mkt-footer-contact { font-size: 13px; margin: 0 0 5px; }
  body.mkt-mobile .mkt-footer p { margin: 2px auto; font-size: 11px; color: rgba(255, 255, 255, .6); max-width: 92%; }
  body.mkt-mobile .mkt-toast {
    bottom: calc(var(--zqr-vv-bottom-gap) + 78px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 24px);
  }
  body.mkt-mobile .mkt-modal { z-index: 200; }
}

@keyframes mktViewIn {
  from { opacity: .72; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body.mkt-mobile #ai-ask,
  body.mkt-mobile .mkt-m-view { animation: none; }
}

@media (max-width: 430px) {
  body.mkt-mobile .mkt-m-brand { font-size: 13px; letter-spacing: 0; }
  body.mkt-mobile #mkt-m-contact { display: none; }
  body.mkt-mobile .mkt-m-topbtn { padding-left: 9px; padding-right: 9px; }
}

/* P1-451：320～383px 顶栏按可用宽度收敛，避免“我的权益”把整页撑宽。 */
@media (max-width: 383px) {
  body.mkt-mobile .mkt-m-top-in { gap: 6px; padding-left: 10px; padding-right: 10px; }
  body.mkt-mobile .mkt-m-top-actions { gap: 4px; }
  body.mkt-mobile .mkt-m-topbtn,
  body.mkt-mobile .mkt-m-userbtn {
    min-height: 40px;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12.5px;
  }
  body.mkt-mobile .mkt-m-brand-wide { display: none; }
}

@media (min-width: 360px) and (max-width: 383px) {
  body.mkt-mobile .mkt-m-brand-mid { display: none; }
}

@media (max-width: 359px) {
  body.mkt-mobile .mkt-m-brand { font-size: 13px; }
  body.mkt-mobile .mkt-m-brand-mid,
  body.mkt-mobile .mkt-m-brand-wide { display: none; }
}

/* 平板/窄桌面：保留内容社区 + AI 两个主入口，避免顶部导航换行。 */
@media (min-width: 721px) and (max-width: 1100px) {
  .mkt-nav { flex-wrap: nowrap; gap: 8px; }
  .mkt-nav-links { gap: 8px; }
  .mkt-nav-links #nav-offline,
  .mkt-nav-links #nav-quiz,
  .mkt-nav-actions #mkt-contact-btn { display: none; }
  .mkt-brand-name { font-size: 16px; }
  .mkt-nav-actions { gap: 6px; }
  .mkt-nav-actions .mkt-btn { padding: 8px 12px; font-size: 13px; }
}

/* ==================== P1-141：电脑端 AI 快捷提问条（≥768px，滚动固定） ==================== */
.mkt-sticky-ask { display: none; }
@media (min-width: 768px) {
  .mkt-sticky-ask.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 95;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--mkt-line);
    box-shadow: 0 2px 14px rgba(16, 42, 67, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .mkt-sticky-ask-in {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    box-sizing: border-box;
  }
  .mkt-sticky-ask-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--mkt-text);
    white-space: nowrap;
  }
  .mkt-sticky-ask-title::before {
    content: '💬 ';
  }
  .mkt-sticky-ask-in input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid var(--mkt-line);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--mkt-text);
    outline: none;
  }
  .mkt-sticky-ask-in input:focus {
    border-color: var(--member-gold-3, #C8A96A);
    box-shadow: 0 0 0 3px rgba(200, 169, 106, .18);
  }
  .mkt-sticky-ask-in .mkt-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 24px;
  }
}
