/* ---------- 断点续测选择层 ---------- */
.resume-layer {
  position: fixed; inset: 0; z-index: 60;
  display: none; align-items: center; justify-content: center;
  background: rgba(23, 35, 45, 0.45); padding: 24px;
}
.resume-layer.show { display: flex; animation: fadeIn .2s ease; }
.resume-card {
  background: var(--card); border: 1px solid var(--rule-dark);
  box-shadow: 8px 8px 0 rgba(23, 35, 45, 0.22);
  padding: 32px 36px 28px; max-width: 440px; width: 100%;
}
.resume-card h3 { font-family: var(--serif); font-size: 22px; margin-top: 10px; }
.resume-card .resume-info {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  margin-top: 8px; padding-bottom: 18px; border-bottom: 1px dotted var(--rule);
}
/* 断点续测：题量档位说明（复用标题上方小字，与 resume-info 分隔线错开） */
.resume-card .resume-tier-note {
  font-family: var(--sans); font-size: 12px; color: var(--faint);
  margin-top: 10px;
}
.resume-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* 「反馈已处理」通知：顶部悬浮卡，非全屏遮罩，不拦截页面点击（pointer-events 只在卡内生效） */
.fix-notify-layer {
  position: fixed; top: calc(var(--topbar-h) + var(--safe-top) + 12px);
  left: 0; right: 0; z-index: 220;
  display: none; justify-content: center; padding: 0 16px;
  pointer-events: none;
}
.fix-notify-layer.show { display: flex; animation: notifyIn .25s ease; }
.fix-notify-layer .resume-card { pointer-events: auto; box-shadow: 0 14px 40px rgba(23, 35, 45, .3); }
@keyframes notifyIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}


/* ---------- 题库选择浮窗（手牌扇形） ---------- */
.bank-picker-layer { z-index: 70; }
/* 场景 + 档位为可滚动区（头部/底部按钮固定）：弹窗超高时内部滚动，不裁切 */
.bp-scroll { flex: 1; min-height: 0; overflow-y: auto; margin-right: -4px; padding-right: 4px; }
.bp-scroll::-webkit-scrollbar { width: 6px; }
.bp-scroll::-webkit-scrollbar-thumb { background: var(--rule); }
.bp-scroll::-webkit-scrollbar-thumb:hover { background: var(--line); }
.bank-picker {
  background: var(--card);
  border: 1px solid var(--rule-dark);
  box-shadow: 10px 10px 0 rgba(23, 35, 45, 0.2);
  padding: 28px 34px 22px;
  width: min(860px, 96vw);
  max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column;
}
.bp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bp-head h3 { font-family: var(--serif); font-size: 23px; font-weight: 700; margin-top: 8px; }
.bp-close {
  font-family: var(--sans); font-size: 15px; line-height: 1;
  width: 34px; height: 34px; border: 1px solid var(--rule-dark); background: var(--paper);
  color: var(--ink); cursor: pointer; flex: none; transition: all .15s;
}
.bp-close:hover { background: var(--ink); color: var(--paper); }
.bp-sub { font-size: 13px; color: var(--ink-soft); margin-top: 12px; max-width: 52em; }

/* 题量档位选择：场景牌组下方一排四段，选中即记忆（见 app.js syncTierPicker） */
.bp-tier {
  display: flex; align-items: stretch; gap: 10px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dotted var(--rule);
  font-family: var(--sans);
}
.bp-tier-label {
  flex: none; align-self: center;
  font-size: 12px; font-weight: 700;
  color: var(--gold); writing-mode: vertical-lr; letter-spacing: 0.22em;
}
.bp-tier-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; flex: 1; min-width: 0; }
.bp-tier-opt {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid var(--rule); background: var(--card);
  color: var(--ink); cursor: pointer; font-family: var(--sans); text-align: left;
  transition: border-color .15s, background .15s, transform .1s;
}
.bp-tier-opt b { font-size: 15px; font-weight: 700; }
.bp-tier-opt i { font-style: normal; font-size: 12px; color: var(--faint); margin-top: 1px; }
.bp-tier-opt span { font-size: 12px; color: var(--faint); line-height: 1.45; }
.bp-tier-opt:hover { border-color: var(--ink); }
.bp-tier-opt.selected {
  border-color: var(--green); background: var(--green-soft);
}
.bp-tier-opt.selected b { color: var(--green-deep); }
.bp-tier-opt.selected i { color: var(--ink-soft); }
@media (max-width: 640px) {
  /* 移动端：四档位卡片一排（隐藏副文案，仅保留档位名+题量），降低档位区高度 */
  .bp-tier { flex-direction: row; align-items: stretch; gap: 6px; margin-top: 14px; padding-top: 12px; }
  .bp-tier-label { writing-mode: vertical-lr; letter-spacing: 0.14em; font-size: 12px; }
  .bp-tier-opts { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .bp-tier-opt { padding: 8px 6px; align-items: center; text-align: center; gap: 1px; }
  .bp-tier-opt span { display: none; }
  .bp-tier-opt b { font-size: 13px; }
  .bp-tier-opt i { font-size: 12px; margin-top: 2px; }
}
.bp-stage {
  position: relative;
  margin-top: 12px;
  height: 264px;
  perspective: 1500px;
  display: flex; justify-content: center; align-items: flex-start;
  border-top: 1px dotted var(--rule);
  padding-top: 40px;
  overflow: hidden;
}
/* 盒/叠：扇形下方叠卡底座，强化“从盒里拿出”的隐喻 */
.bp-stage::before {
  content: "";
  position: absolute; left: 50%; top: 172px;
  width: 190px; height: 268px;
  transform: translateX(-50%) rotate(4deg);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 2px 0 var(--rule), 0 6px 14px rgba(23, 35, 45, 0.06);
  z-index: 0;
}
.bp-stage::after {
  content: "";
  position: absolute; left: 50%; top: 182px;
  width: 178px; height: 250px;
  transform: translateX(-50%) rotate(-3deg);
  background: linear-gradient(180deg, var(--paper-deep), var(--paper));
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 2px 0 var(--rule), 0 10px 22px rgba(23, 35, 45, 0.10);
  z-index: 0;
}
.bp-fan {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start;
  width: 100%; min-width: 0;
  margin-top: 6px;
  overflow-x: auto; overflow-y: visible;
  padding: 6px 8px 4px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 42px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
/* 窄于容器时居中、宽于容器时可从起点滚动（规避 flex center 溢出裁切） */
.bp-fan::before, .bp-fan::after { content: ""; margin: 0 auto; }
.bp-fan::-webkit-scrollbar { height: 6px; }
.bp-fan::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.bp-card {
  position: relative;
  width: 172px; height: 252px;
  margin: 0 -20px;
  flex: none;
  border: 1px solid var(--rule-dark);
  border-radius: 10px;
  background:
    linear-gradient(180deg, var(--raise) 0%, #fdfefe 55%, #f5f8f9 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 14px 26px rgba(23,35,45,.14),
    0 4px 10px rgba(23,35,45,.08);
  transform: var(--fan);
  transform-origin: 50% 96%;
  transform-style: preserve-3d;
  transition: transform .38s cubic-bezier(.22,1,.36,1), box-shadow .38s ease, opacity .35s ease;
  opacity: 0;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 13px 12px;
  will-change: transform, opacity;
  -webkit-user-select: none; user-select: none;
  scroll-snap-align: center;
}
.bp-card .bc-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bc-soft, var(--green-soft));
  color: var(--bc, var(--green));
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.bp-card .bc-ico svg { width: 26px; height: 26px; }
.bp-card .bc-name { font-family: var(--serif); font-weight: 700; font-size: 18px; margin-top: 13px; }
.bp-card .bc-desc {
  font-size: 12px; color: var(--faint); text-align: center; line-height: 1.6;
  margin-top: 8px; max-width: 136px; flex: 1;
  min-height: 0; overflow: hidden;
}
.bp-card .bc-meta {
  width: 100%; text-align: center;
  font-size: 12px; color: var(--faint); letter-spacing: .06em;
  border-top: 1px dashed var(--rule); padding-top: 8px;
}
.bp-card .bc-meta b { color: var(--ink); }
/* 试吃型题库门（ADR 0003）：金语感角标/解锁按钮，位于卡片中下方、题数横线上方 */
.bp-card .bc-trial,
.bp-card .bc-lock {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  margin-bottom: 7px;
  border-radius: 999px;
}
.bp-card .bc-trial {
  font-size: 12px; font-weight: 600; letter-spacing: .05em;
  color: var(--premium-deep);
  background: var(--premium-soft);
  border: 1px solid rgba(199, 150, 59, .38);
  padding: 3px 9px;
}
.bp-card .bc-lock {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(180deg, var(--premium) 0%, var(--premium-deep) 100%);
  border: 1px solid var(--premium-deep);
  padding: 4px 13px;
  box-shadow: 0 1px 2px rgba(169, 119, 31, .30);
}
.bp-card .bc-lock svg { width: 12px; height: 12px; flex: none; }
.bp-card .bc-check {
  position: absolute; top: 10px; right: 10px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: none; align-items: center; justify-content: center;
  font-size: 12px; z-index: 2;
}
.bp-card .bc-current {
  position: absolute; left: 10px; top: 11px;
  display: none; padding: 1px 6px;
  border: 1px solid var(--rule); background: rgba(255,255,255,.84);
  color: var(--faint); font-size: 12px; line-height: 1.5; letter-spacing: .08em;
}
.bp-card.current .bc-current { display: block; }
.bp-card.current:not(.selected) { border-color: var(--line); }
.bp-card.selected .bc-current { display: none; }
.bp-card.selected .bc-check { display: flex; animation: bpPop .34s cubic-bezier(.2,1.6,.4,1); }
@keyframes bpPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
/* 悬停：卡片从扇形里探出来 */
.bp-card:hover {
  transform: rotate(0deg) translateY(-14px) scale(1.03);
  z-index: 8;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 22px 40px rgba(23,35,45,.18),
    0 6px 14px rgba(23,35,45,.10);
}
/* 选中：抽到面前 */
.bp-card.selected {
  transform: rotate(0deg) translateY(-20px) scale(1.06);
  z-index: 9;
  border-color: var(--green);
  box-shadow:
    0 0 0 1.5px var(--green),
    0 26px 46px rgba(23,35,45,.20),
    0 8px 18px rgba(23,35,45,.12);
}
.bp-card.selected:hover { transform: rotate(0deg) translateY(-24px) scale(1.06); }
.bp-card.dim { opacity: .62; }
.bp-card.dim:hover { opacity: .90; }
.bp-foot {
  margin-top: 16px;
  border-top: 1px dotted var(--rule);
  padding-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.bp-hint { font-size: 12px; color: var(--faint); }

/* ---------- 顶栏右上角题库切换 ---------- */
.bank-switch {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 30px; padding: 3px 11px;
  border: 1px solid var(--rule-dark); background: var(--card);
  font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: all .15s; flex: none;
}
.bank-switch:hover { background: var(--ink); color: var(--paper); }
.bank-switch .bank-switch-ico { width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }
.bank-switch .bank-switch-ico svg { width: 15px; height: 15px; }
.bank-switch .bank-switch-caret { font-size: 12px; opacity: .75; margin-top: 1px; }

/* 顶栏账号按钮：与题库切换统一为同款紧凑胶囊，视觉协调 */
.top-account {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 3px 11px;
  border: 1px solid var(--rule-dark); background: var(--card);
  font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: all .15s; flex: none; max-width: 88px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.top-account:hover { background: var(--ink); color: var(--paper); }

/* ---------- 移动端 ---------- */
@media (max-width: 640px) {
  .bank-picker { padding: 20px 14px 16px; }
  .bp-head h3 { font-size: 19px; }
  .bp-sub { display: none; }
  .bp-stage { height: auto; min-height: 0; padding-top: 16px; }
  .bp-stage::before { width: 116px; height: 152px; top: 78px; }
  .bp-stage::after { width: 108px; height: 142px; top: 84px; }
  .bp-card { width: 138px; height: 208px; margin: 0 -15px; padding: 14px 10px 10px; }
  .bp-card .bc-ico { width: 38px; height: 38px; border-radius: 10px; }
  .bp-card .bc-ico svg { width: 22px; height: 22px; }
  .bp-card .bc-name { font-size: 15.5px; margin-top: 10px; }
  .bp-card .bc-desc { font-size: 12px; max-width: 116px; }
  .bp-hint { display: none; }
  .bank-switch .bank-switch-label { display: none; }
  .bank-switch .bank-switch-caret { display: none; }
  .bank-switch { width: 28px; height: 28px; min-height: 28px; padding: 0; justify-content: center; gap: 0; }
  .bank-switch .bank-switch-ico { width: 15px; height: 15px; }
  .bank-switch .bank-switch-ico svg { width: 14px; height: 14px; }
  .topbar-actions { gap: 6px; }
  .top-account { padding: 3px 9px; }
  .bank-switch { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bank-picker-layer.show { animation: none; }
  .bp-card { transition: none !important; }
  .bp-card.selected .bc-check { animation: none; }
}

/* 分享卡片弹窗 */
.share-modal {
  background: var(--card); border: 1px solid var(--rule-dark);
  box-shadow: 8px 8px 0 rgba(23, 35, 45, 0.22);
  padding: 26px 30px 24px; max-width: 520px; width: 100%;
  max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column;
}
.share-modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.share-modal-head h3 { font-family: var(--serif); font-size: 21px; margin-top: 8px; }
.share-close {
  font-family: var(--sans); font-size: 16px; line-height: 1;
  width: 34px; height: 34px; border: 1px solid var(--rule-dark); background: var(--paper);
  color: var(--ink); cursor: pointer; flex: none; transition: all .15s;
}
.share-close:hover { background: var(--ink); color: var(--paper); }
.share-preview {
  flex: 1; min-height: 0; overflow: auto;
  border: 1px solid var(--rule-dark); background: var(--paper-deep);
  max-height: 56vh;
}
.share-preview img { display: block; width: 100%; -webkit-touch-callout: default; }
.share-tip { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; }
.share-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .share-modal { padding: 20px 18px 18px; }
  .share-actions .btn { flex: 1; }
}

/* 题库二选一弹层 */
.bank-options { display: grid; gap: 12px; margin-top: 20px; }
.bank-opt {
  display: flex; flex-direction: column; gap: 5px; text-align: left;
  padding: 16px 20px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--rule-dark);
  box-shadow: 3px 3px 0 var(--paper-deep);
  font-family: inherit; transition: all .15s;
}
.bank-opt b { font-size: 16.5px; }
.bank-opt span { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); }
.bank-opt:hover { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.bank-opt:hover b { color: var(--ink); }
.bank-opt.selected { border-color: var(--ink); background: var(--card); box-shadow: 3px 3px 0 var(--ink); }
.bank-opt.selected b { color: var(--accent); }
.bank-set-default {
  display: flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); cursor: pointer;
}
.bank-set-default input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; margin: 0; flex: 0 0 auto; }
.settings-current { font-family: var(--sans); font-size: 12px; color: var(--faint); margin-top: 14px; }
.settings-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.settings-foot .btn { padding: 9px 18px; font-size: 13px; }
.bank-clear {
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--faint);
  background: none; border: none; padding: 4px 0; cursor: pointer; text-decoration: underline;
}
.bank-clear:hover:not(:disabled) { color: var(--accent); }
.bank-clear:disabled { opacity: .4; cursor: default; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(36px + var(--safe-bottom));
  transform: translateX(-50%) translateY(16px);
  background: var(--ink); color: var(--paper);
  border-left: 3px solid var(--accent);
  font-family: var(--sans); font-size: 13px; line-height: 1.65;
  padding: 14px 22px; max-width: 540px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 100; box-shadow: 6px 6px 0 rgba(23, 35, 45, 0.15);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 页面加载动画：历史页/错题本等在懒加载题库期间给即时反馈（品牌质感：衬线标题 + 墨蓝描边圆环） */
.loading-ink {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 96px 24px; text-align: center;
}
.loading-ink .ring { position: relative; width: 48px; height: 48px; }
.loading-ink .ring::before,
.loading-ink .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
.loading-ink .ring::before { border: 2px solid var(--rule); }
.loading-ink .ring::after {
  border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent);
  animation: loadingSpin .8s linear infinite;
}
@keyframes loadingSpin { to { transform: rotate(360deg); } }
.loading-ink .loading-title {
  font-family: var(--serif); font-size: 17px; letter-spacing: .05em; color: var(--ink);
  animation: loadingPulse 1.8s ease-in-out infinite;
}
.loading-ink .loading-sub {
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--faint);
  margin-top: -12px;
}
@keyframes loadingPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
/* 报告错题解析 */
.wrong-review { border-top: 2px solid var(--rule-dark); padding: 28px 46px 36px; }

/* 封印条：报告底部的"错题封袋"，点击拆封 */
.wr-seal-btn {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 20px 26px; background: var(--paper); border: 1.5px dashed var(--rule-dark);
  cursor: pointer; font: inherit; color: inherit;
  transition: border-color .3s ease, background .3s ease;
}
.wr-seal-btn:hover { border-color: var(--ink); background: var(--card); }
.wrong-review.open .wr-seal-btn { border-style: solid; border-color: var(--rule-dark); }
.wr-seal {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; font-style: italic;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4.5px rgba(200, 91, 84, 0.4);
  transition: transform .55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wrong-review.open .wr-seal { transform: rotate(-14deg) scale(0.9); }
.wr-seal-text b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.wr-seal-text small { font-family: var(--sans); font-size: 12px; color: var(--faint); }
.wr-seal-action {
  margin-left: auto; flex: none; white-space: nowrap;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}

/* 拆封展开：容器 0fr→1fr 展开，卡片按 --i 级联浮入 */
.wr-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(0.22, 1, 0.36, 1); }
.wr-content-inner { overflow: hidden; min-height: 0; }
.wrong-review.open .wr-content { grid-template-rows: 1fr; }
.wr-card {
  border: 1px solid var(--rule); background: var(--paper); padding: 18px 26px 16px;
  margin-top: 14px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.wrong-review.open .wr-card { opacity: 1; transform: none; }
.wr-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.wr-no { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.wr-fw { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.wr-score {
  margin-left: auto; font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--accent); border: 1px solid var(--accent); padding: 2px 10px; white-space: nowrap;
}
.wr-body { margin-top: 12px; }
.wr-scenario { font-size: 13.5px; color: var(--faint); line-height: 1.7; margin-bottom: 8px; }
.wr-q { font-size: 15px; font-weight: 700; line-height: 1.7; }
.wr-block { border-left: 3px solid var(--rule-dark); background: var(--card); padding: 12px 16px 10px; margin-bottom: 10px; }
.wr-block.bad { border-left-color: var(--accent); }
.wr-block.good { border-left-color: var(--gold); }
.wr-block.ok { border-left-color: var(--rule-dark); }
.wr-tag { font-family: var(--sans); font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.wr-block.bad .wr-tag { color: var(--accent); }
.wr-block.good .wr-tag { color: var(--ink); }
.wr-block.ok .wr-tag { color: var(--ink-soft); }
.wr-opt { font-size: 14px; line-height: 1.75; color: var(--ink); }
.wr-block p { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); margin-top: 6px; }
.wr-takeaway { font-weight: 600; font-size: 13.5px; color: var(--ink); margin-top: 12px; }

/* 框架图解（学习页「是什么」小节）
   SVG 用 viewBox 随容器缩放，禁止再强制 min-width——小屏上会裁切或逼出横向滚动。
   个别无法回流的 HTML 时间轴可在图内自己 overflow-x。 */
.fw-diagrams { margin: 28px 0 8px; max-width: 100%; min-width: 0; }
.fw-diagram { margin: 0 0 30px; max-width: 100%; min-width: 0; }
.fw-diagram-stage {
  border: 1px solid var(--rule-dark); background: var(--card);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fw-diagram-stage svg,
.fw-diagram-stage svg[viewBox] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
}
.fw-diagram figcaption {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  margin-top: 10px; padding-left: 2px;
}

@media (max-width: 760px) {
  .fw-diagram-stage > div {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: none;
  }
}

.report-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  justify-content: center;
}
.report-actions-main {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.btn.share-cta {
  font-size: 16px;
  padding: 15px 38px;
  border-width: 2px;
  letter-spacing: 0.06em;
}
.report-more {
  display: flex;
  gap: 8px 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

