:root {
  --ink: #16202c;
  --ink-2: #3d4d5f;
  --muted: #7b8b9d;
  --line: #e8edf3;
  --bg: #f6f8fb;
  --card: #ffffff;
  --brand: #2c6ed5;
  --brand-soft: #eaf1ff;
  --accent: #ff6b35;
  --accent-soft: #fff1ec;
  --green: #16a34a;
  --green-soft: #e8f7ee;
  --radius: 16px;
  --shadow: 0 2px 14px rgba(22, 32, 44, .07);
  --shadow-lg: 0 12px 40px rgba(22, 32, 44, .16);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; font-size: 15px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 14px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 1080px; margin: 0 auto; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.logo {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #3b7ff0, #2c6ed5);
  display: grid; place-items: center; color: #fff; font-size: 17px;
  box-shadow: 0 3px 10px rgba(44, 110, 213, .3);
}
.brand { font-weight: 700; font-size: 16px; letter-spacing: .2px; }
.brand small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.topbar .spacer { flex: 1; }
.ghost-btn {
  padding: 7px 12px; border-radius: 999px; font-size: 13px;
  color: var(--ink-2); background: #f1f4f8; white-space: nowrap;
}
.ghost-btn:active { background: #e6ebf2; }

/* ---------- 首屏 ---------- */
.hero {
  background: radial-gradient(120% 120% at 0% 0%, #eef4ff 0%, #f6f8fb 60%);
  padding: 18px 0 6px;
}
.hero h1 {
  margin: 0 0 6px; font-size: 21px; line-height: 1.35; font-weight: 800; letter-spacing: -.3px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-tags span {
  font-size: 11.5px; color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 999px;
}

.search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; box-shadow: var(--shadow);
}
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search span { color: var(--muted); font-size: 15px; }

/* ---------- 筛选 ---------- */
.filters { padding: 14px 0 6px; }
.filter-row { margin-bottom: 10px; }
.filter-label {
  font-size: 11.5px; color: var(--muted); margin-bottom: 6px; letter-spacing: .5px;
}
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 6px 13px; border-radius: 999px; font-size: 13px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: all .15s;
}
.chip.on {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px rgba(44, 110, 213, .25);
}
.chip .n {
  display: inline-block; margin-left: 5px; padding: 0 5px; border-radius: 999px;
  font-size: 10.5px; font-style: normal; line-height: 16px;
  background: rgba(16, 32, 56, .07); color: var(--muted); vertical-align: 1px;
}
.chip.on .n { background: rgba(255, 255, 255, .26); color: #fff; }

/* ---------- 商品网格 ---------- */
.list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 16px 0 10px;
}
.list-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.list-head span { font-size: 12px; color: var(--muted); }

.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px;
  padding-bottom: 30px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s;
}
.card:active { transform: scale(.985); }

.thumb {
  position: relative; aspect-ratio: 4 / 3;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, #dbe7fb, #c9d9f5);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { text-align: center; color: #fff; padding: 10px; }
.thumb .ph b { display: block; font-size: 26px; line-height: 1.1; }
.thumb .ph i {
  display: block; font-style: normal; font-size: 10.5px; margin-top: 6px;
  opacity: .9; letter-spacing: .5px;
}
.thumb .badge {
  position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .92);
  color: var(--accent); letter-spacing: .3px;
}
.card-body { padding: 9px 10px 11px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.42; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 38px;
}
.card-meta { display: flex; gap: 5px; flex-wrap: wrap; margin: 6px 0 8px; }
.tag {
  font-size: 10px; color: var(--ink-2); background: #f2f5f9;
  padding: 1.5px 6px; border-radius: 5px; white-space: nowrap;
}
.card-foot { margin-top: auto; display: flex; align-items: baseline; gap: 4px; }
.price { color: var(--accent); font-weight: 800; font-size: 17px; letter-spacing: -.5px; }
.price i { font-style: normal; font-size: 12px; font-weight: 700; }
.price-origin { font-size: 11px; color: #b3bfcc; text-decoration: line-through; }
.sales { margin-left: auto; font-size: 10.5px; color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 13.5px; }
.empty b { display: block; font-size: 30px; margin-bottom: 8px; }

/* ---------- 详情 ---------- */
.detail { padding-bottom: 96px; }
.detail-cover {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; position: relative; background: linear-gradient(140deg, #dbe7fb, #c9d9f5);
  display: grid; place-items: center;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
/* 有真实封面时按 3:4 竖版资料封面的比例显示：竖版封面不会被裁掉下半截，
   大屏上限宽 560px 居中，免得在电脑上撑成一米高 */
.detail-cover.has-img { aspect-ratio: 3 / 4; max-width: 560px; margin-left: auto; margin-right: auto; }
.detail h1 { font-size: 19px; line-height: 1.45; margin: 14px 0 8px; font-weight: 800; text-wrap: balance; }
.detail .price-row { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.detail .price-row .price { font-size: 26px; }
.panel {
  background: #fff; border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow); margin-top: 12px;
}
.panel h3 {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
}
.panel h3::before {
  content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--brand);
}
.kv { display: grid; grid-template-columns: 74px 1fr; gap: 8px 10px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }
.prose { font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.75; }
.notice { font-size: 12px; color: var(--muted); line-height: 1.8; }
.notice li { margin-bottom: 3px; }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.buybar-in {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
}
.buybar .amount { flex: none; }
.buybar .amount b { color: var(--accent); font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.buybar .amount span { display: block; font-size: 10.5px; color: var(--muted); margin-top: -3px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; border-radius: 13px; font-size: 15px;
  font-weight: 700; letter-spacing: .3px; transition: transform .12s, opacity .12s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  flex: 1; color: #fff;
  background: linear-gradient(135deg, #ff8250, #ff5c22);
  box-shadow: 0 6px 18px rgba(255, 92, 34, .3);
}
.btn-brand { color: #fff; background: linear-gradient(135deg, #3b7ff0, #2c6ed5); }
.btn-line { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.btn[disabled] { opacity: .55; }

/* ---------- 支付 ---------- */
.pay-page { padding: 18px 0 40px; }
.pay-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 22px 18px; text-align: center;
}
.pay-card .p-title { font-size: 14px; color: var(--ink-2); margin-bottom: 2px; }
.pay-card .p-amount { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.pay-card .p-amount i { font-style: normal; font-size: 16px; }
.qr-box {
  width: 208px; height: 208px; margin: 16px auto 12px; padding: 8px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  display: grid; place-items: center;
}
.qr-box img, .qr-box svg { width: 100%; height: 100%; }
.qr-tip { font-size: 13px; color: var(--ink-2); }
.qr-tip b { color: var(--brand); }
.pay-status {
  margin-top: 14px; font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.wx-in-tip {
  background: var(--accent-soft); color: #b8420f; border-radius: 12px;
  padding: 10px 12px; font-size: 12.5px; margin-top: 12px; text-align: left; line-height: 1.65;
}

/* 支付引导：分场景的可操作说明 */
.qr-sub {
  font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 8px;
  text-align: left; background: #f6f8fa; border-radius: 10px; padding: 9px 11px;
}
.qr-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.qr-steps span {
  font-size: 12.5px; color: var(--ink-2); background: #f6f8fa;
  border-radius: 9px; padding: 8px 11px; text-align: left;
}
.qr-save { text-align: center; margin-top: 13px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; border-radius: 11px; }
.pay-help {
  margin-top: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
}
.pay-help summary { cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.pay-help-body { margin-top: 10px; color: var(--ink-2); line-height: 1.8; }
.pay-help-body p { margin: 0 0 9px; font-size: 12.5px; }
.pay-help-body .ono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  background: #f1f4f7; padding: 2px 7px; border-radius: 6px; font-size: 12.5px;
}
.pay-help-note { color: var(--muted) !important; font-size: 11.5px !important; }

.deliver {
  background: linear-gradient(160deg, #f2fbf5, #e9f8ef);
  border: 1px solid #bfe8cf; border-radius: 18px; padding: 18px;
  text-align: left; margin-top: 4px;
}
.deliver .ok-badge {
  display: inline-flex; align-items: center; gap: 6px; color: var(--green);
  font-weight: 700; font-size: 15px; margin-bottom: 4px;
}
.deliver .ok-sub { font-size: 12px; color: #4d7a5f; margin-bottom: 14px; }
.link-box {
  background: #fff; border: 1px dashed #a8d8bb; border-radius: 12px;
  padding: 11px 12px; margin-bottom: 10px;
}
.link-box label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 3px; }
.link-box .val {
  font-size: 12.5px; color: var(--ink); word-break: break-all; line-height: 1.5;
}
.link-box .val b { color: var(--brand); font-size: 15px; letter-spacing: 1px; }
.copy-row { display: flex; gap: 8px; margin-top: 10px; }
.copy-row .btn { height: 40px; flex: 1; font-size: 13.5px; border-radius: 10px; }

/* 服务型商品（加微信开通）的交付卡片 */
.wx-qr {
  width: 240px; margin: 4px auto 6px; padding: 8px;
  background: #fff; border: 1px solid #d8ecdf; border-radius: 14px;
}
.wx-qr img { width: 100%; display: block; border-radius: 8px; }
.wx-qr-hint { text-align: center; font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.wx-tip {
  font-size: 12.5px; color: #4d7a5f; line-height: 1.75; margin-top: 12px;
  background: #f2fbf5; border-left: 3px solid #bfe8cf; border-radius: 0 8px 8px 0;
  padding: 9px 11px;
}
.wx-tip b { color: var(--brand); }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed; inset: 0; z-index: 60; background: rgba(14, 22, 33, .45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .18s;
}
@media (min-width: 640px) { .mask { align-items: center; } }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: 460px; background: #fff; border-radius: 20px 20px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  animation: up .24s cubic-bezier(.2, .8, .3, 1); max-height: 88vh; overflow-y: auto;
}
@media (min-width: 640px) { .sheet { border-radius: 20px; } }
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
.sheet h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.sheet .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.field { margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px;
  outline: 0; background: #fafbfd; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }

/* ---------- 骨架/提示 ---------- */
.skeleton {
  background: linear-gradient(90deg, #eef1f6 25%, #f6f8fb 37%, #eef1f6 63%);
  background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: 12px;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card { height: 210px; border-radius: var(--radius); }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(22, 32, 44, .92); color: #fff; font-size: 13px;
  padding: 9px 18px; border-radius: 999px; z-index: 99; animation: fade .2s;
  white-space: nowrap; max-width: 80vw;
}

footer.foot {
  text-align: center; font-size: 11.5px; color: #a9b6c4; padding: 18px 14px 40px; line-height: 1.9;
}
footer.foot a { color: #a9b6c4; }

@media (min-width: 640px) {
  .hero h1 { font-size: 27px; }
  .hero { padding: 30px 0 10px; }
}

/* ---------- 详情页结构化区块（问题节选 / 通关表示例 / Q&A / 家长反馈） ---------- */
.blk-lead { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: -2px 0 10px; }
.blk-foot {
  font-size: 11.5px; color: var(--muted); line-height: 1.72;
  margin-top: 11px; padding-top: 9px; border-top: 1px dashed var(--line);
}

.qg {
  border: 1px solid #edf4f1; border-radius: 12px; padding: 10px 12px; margin-bottom: 9px;
  background: linear-gradient(180deg, #fbfdfc, #f6faf9);
}
.qg:last-child { margin-bottom: 0; }
.qg-t { font-size: 12.5px; font-weight: 700; color: #0f7c6c; }
.qg-s { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.qg ol { margin: 8px 0 0; padding-left: 16px; }
.qg li { font-size: 12.8px; line-height: 1.72; color: var(--ink-2); margin-bottom: 6px; }
.qg li:last-child { margin-bottom: 0; }
.qg li i {
  font-style: normal; font-size: 10.5px; color: #0f9e86; background: #e6f7f1;
  border-radius: 5px; padding: 1px 5px; margin-right: 5px; white-space: nowrap;
}

.steps .step { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.steps .step:first-child { padding-top: 2px; }
.steps .step:last-child { border-bottom: 0; padding-bottom: 0; }
.sname { flex: none; width: 88px; font-size: 11.5px; font-weight: 700; color: #0f7c6c; line-height: 1.7; }
.sbody { flex: 1; min-width: 0; font-size: 12.6px; color: var(--ink-2); line-height: 1.72; }

.qa { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.qa:first-child { padding-top: 2px; }
.qa:last-child { border-bottom: 0; padding-bottom: 0; }
.qa-q { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.65; }
.qa-q::before { content: "Q"; color: #0f9e86; font-weight: 800; margin-right: 6px; }
.qa-a { font-size: 12.7px; color: var(--ink-2); line-height: 1.78; margin-top: 5px; }
.qa-a::before { content: "A"; color: var(--muted); font-weight: 800; margin-right: 6px; }

/* ---------- 信任型区块：老师介绍 / 交付清单 / 真实案例 / 承诺对照 ---------- */
.pf-h { display: flex; gap: 11px; align-items: center; }
.pf-av {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(140deg, #f0c368, #b8781a); color: #fff;
  font-size: 19px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(184, 120, 26, .26);
}
.pf-id { min-width: 0; }
.pf-n { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.pf-t { font-size: 11.8px; color: var(--muted); margin-top: 2px; line-height: 1.55; }

.pf-stats { display: flex; gap: 8px; margin-top: 12px; }
.pf-s {
  flex: 1; min-width: 0; text-align: center; padding: 9px 4px; border-radius: 11px;
  background: linear-gradient(180deg, #fffdf7, #fdf6e6); border: 1px solid #f5e8cd;
}
.pf-s b { display: block; font-size: 19px; font-weight: 800; color: #a8701a; line-height: 1.15; letter-spacing: -.5px; }
.pf-s b i { font-style: normal; font-size: 11px; font-weight: 600; margin-left: 1px; }
.pf-s span { display: block; font-size: 10.5px; color: #8d7a5c; margin-top: 3px; line-height: 1.45; }

.pf-x { font-size: 13px; color: var(--ink-2); line-height: 1.85; margin-top: 12px; white-space: pre-wrap; }
.pf-rs { margin-top: 11px; padding-top: 9px; border-top: 1px dashed var(--line); }
.pf-r { display: flex; gap: 8px; padding: 5px 0; font-size: 12.4px; line-height: 1.7; }
.pf-r i {
  flex: none; font-style: normal; font-size: 10.5px; font-weight: 700; color: #a8701a;
  background: #fbf0d8; border-radius: 5px; padding: 1px 6px; height: 19px; line-height: 17px;
}
.pf-r span { flex: 1; min-width: 0; color: var(--ink-2); }

.cks .ck { display: flex; gap: 9px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.cks .ck:first-child { padding-top: 2px; }
.cks .ck:last-child { border-bottom: 0; padding-bottom: 0; }
.cks .ck > i {
  flex: none; width: 17px; height: 17px; margin-top: 2px; border-radius: 50%;
  background: #e8f7ee; color: #16a34a; font-size: 11px; font-style: normal; font-weight: 800;
  display: grid; place-items: center;
}
.ck-m { flex: 1; min-width: 0; }
.ck-m b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.55; }
.ck-m span { display: block; font-size: 12.2px; color: var(--ink-2); line-height: 1.7; margin-top: 2px; }
.cks .ck > em {
  flex: none; font-style: normal; font-size: 10.5px; font-weight: 700; color: #a8701a;
  background: #fbf0d8; border-radius: 5px; padding: 2px 6px; margin-top: 2px; white-space: nowrap;
}

.cs {
  border: 1px solid #f2e6cf; border-radius: 12px; padding: 11px 12px;
  background: linear-gradient(180deg, #fffdf8, #fdf8ef);
}
.cs + .cs { margin-top: 9px; }
.cs-h { display: flex; align-items: center; gap: 7px; }
.cs-b {
  font-size: 11px; font-weight: 700; color: #fff; border-radius: 6px; padding: 2px 7px;
  background: linear-gradient(140deg, #d9a63f, #a8701a);
}
.cs-m { font-size: 10.5px; color: #9a8a6e; margin-left: auto; }
.cs-q {
  font-size: 12.6px; color: #6b5b3e; line-height: 1.8; margin-top: 9px;
  padding-left: 9px; border-left: 2px solid #e8cf9c; white-space: pre-wrap;
}
.cs-d { margin-top: 9px; }
.cs-n {
  font-size: 11.8px; color: var(--ink-2); line-height: 1.75; margin-top: 9px;
  padding-top: 8px; border-top: 1px dashed #eddfc4;
}

.prs { display: grid; gap: 9px; }
@media (min-width: 560px) { .prs { grid-template-columns: 1fr 1fr; } }
.pr { border-radius: 12px; padding: 11px 12px; }
.pr-t { font-size: 12.5px; font-weight: 800; margin-bottom: 7px; }
.pr ul { margin: 0; padding-left: 15px; }
.pr li { font-size: 12.3px; line-height: 1.72; margin-bottom: 5px; }
.pr li:last-child { margin-bottom: 0; }
.pr-y { background: linear-gradient(180deg, #f4fcf7, #eaf8ef); border: 1px solid #d5eede; }
.pr-y .pr-t { color: #0f7a4a; }
.pr-y li { color: #2f5a44; }
.pr-n { background: linear-gradient(180deg, #fbfbfc, #f4f6f8); border: 1px solid #e6eaef; }
.pr-n .pr-t { color: #5d6b7c; }
.pr-n li { color: #5d6b7c; }

/* 导学营（服务型商品）金色主题：把区块里的绿强调统一换成金 */
.cat-camp .panel { border: 1px solid #f6eddb; }
.cat-camp .panel h3::before { background: linear-gradient(180deg, #d9a63f, #b8781a); }
.cat-camp .sname, .cat-camp .qg-t { color: #a8701a; }
.cat-camp .qg { background: linear-gradient(180deg, #fffdf9, #fdf8ee); border-color: #f4e8d2; }
.cat-camp .qg li i { color: #a8701a; background: #fbf0d8; }
.cat-camp .qa-q::before { color: #c9922b; }
.cat-camp .file { border-color: #f2e6cf; background: linear-gradient(180deg, #fffdf9, #fdf8ef); }
.cat-camp .file:active { background: #faf2e2; }
.cat-camp .file b { color: #a8701a; }
.cat-camp .tag { background: #fdf6e8; color: #a8701a; }

.rv { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.rv:first-child { padding-top: 2px; }
.rv:last-child { border-bottom: 0; padding-bottom: 0; }
.rv-av {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(140deg, #38c9a5, #0f8f7d); color: #fff;
  font-size: 12.5px; font-weight: 700; display: grid; place-items: center;
}
.rv-m { flex: 1; min-width: 0; }
.rv-h { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.rv-h i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.rv-t { font-size: 12.7px; color: var(--ink-2); line-height: 1.78; margin-top: 4px; }

/* 免费试读样张：手机 2 列、宽屏 3 列 */
.files { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 560px) { .files { grid-template-columns: repeat(3, 1fr); } }
.file {
  display: block; padding: 10px 11px; border-radius: 12px;
  border: 1px solid #e6f0ec; background: linear-gradient(180deg, #fbfdfc, #f5faf8);
  transition: background .15s;
}
.file:active { background: #eef8f4; }
.file b { display: block; font-size: 12px; font-weight: 700; color: #0f7c6c; line-height: 1.5; }
.file span { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.55; margin-top: 3px; }
.file i {
  display: inline-block; font-style: normal; font-size: 10.5px;
  color: #0f9e86; margin-top: 7px; padding: 2px 7px; border-radius: 6px; background: #e6f7f1;
}

/* ---------- 通用表格区块（口令表 / 权益表 / 阶段表） ---------- */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tbl th {
  font-size: 10.9px; font-weight: 700; color: #8a7550; text-align: left;
  padding: 7px 6px; background: #fdf7ea; border-bottom: 1px solid #f0e0c0;
  word-break: break-word;
}
.tbl td {
  font-size: 12.1px; color: var(--ink-2); line-height: 1.62; padding: 9px 6px;
  border-bottom: 1px dashed #f2e6cf; vertical-align: top; word-break: break-word;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 700; color: var(--ink); font-size: 11.8px; }
.tbl td:last-child { color: #7d6a4c; }
.tbl .cmd {
  display: inline-block; font-size: 11.2px; line-height: 1.55; color: #8a5a12;
  background: #fdf6e6; border: 1px solid #f4e6c9; border-radius: 6px; padding: 2px 6px;
  word-break: break-all;
}

/* ---------- 对比区块：别的方式 vs 导学营 ---------- */
.vss { display: grid; gap: 14px; }
.vs + .vs { padding-top: 2px; }
.vs-t { font-size: 12.6px; font-weight: 800; color: #a8701a; margin-bottom: 7px; }
.vs-h { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 2px; }
.vs-h span { font-size: 10.8px; font-weight: 700; padding: 4px 6px; border-radius: 6px; text-align: center; line-height: 1.4; }
.vs-h span:first-child { color: #6b7787; background: #f1f4f7; }
.vs-h span:last-child { color: #fff; background: linear-gradient(140deg, #d9a63f, #a8701a); }
.vs-r { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #f0e4cd; }
.vs-r:last-child { border-bottom: 0; }
.vs-a { font-size: 11.9px; color: #7d8794; line-height: 1.65; }
.vs-b { font-size: 12px; color: #5f4310; line-height: 1.65; font-weight: 600; }

.cat-camp .tbl th { background: #fdf6e6; }
.cat-camp .tbl td:first-child { color: #3b2a10; }

/* ---------- 筛选：当前组合下没货的选项置灰，别让人点进死路 ---------- */
.chip[disabled], .chip.is-dead {
  opacity: .4; cursor: not-allowed; color: var(--muted);
  background: #f4f6f9; border-style: dashed; box-shadow: none;
}
.chip[disabled] .n { display: none; }

/* ---------- 空结果页：给能一键走通的下一步 ---------- */
.empty-fix { padding: 40px 14px 30px; }
.empty-sub { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 6px; }
.empty-sug { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 2px; }
.empty-sug .chip { font-size: 12.5px; padding: 6px 12px; }
.empty-act { margin-top: 16px; }

/* 列表标题右侧的「清空筛选」，省得横向滚回最左边找「全部」 */
.chip-reset {
  font-size: 12px; padding: 4px 10px; color: var(--brand);
  border-color: rgba(44, 110, 213, .35); background: #f2f7ff;
}
