/* ==========================================================================
   六智宝库 · 出行分类 · 防晒解读（travel/sunscreen.html）专属样式
   主色：出行金 #C89F3D（由 body 的 --tone 提供，本文件只补充结构样式）
   依赖：common.css（.reveal）· antacid.css（.section-shell / hero / summary / related）
   ========================================================================== */

.uv-sun-page,
#hero, #uv-basics, #uv-depth, #spf-math, #filters, #uv-damage,
#real-data, #sunscreen-rules, #quiz { scroll-margin-top: 84px; }

/* --------------------------------------------------------------------------
   1. Hero 视觉：两枚波长标签 + 一枚结论标签
   -------------------------------------------------------------------------- */
.hero-mini-tag-uvb { background: rgba(217,118,47,.14); color: #A85A1C; }
.hero-mini-tag-uva { background: rgba(122,91,181,.14); color: #5E448F; }
.hero-mini-tag-spf { background: rgba(200,159,61,.20); color: #7A5A0F; }

/* --------------------------------------------------------------------------
   2. 第 1 步 · UVA / UVB 双卡
   -------------------------------------------------------------------------- */
.uv-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.uv-card {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.uv-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}
.uv-card-uva::before { background: linear-gradient(180deg, #7A5BB5, #B79BE0); }
.uv-card-uvb::before { background: linear-gradient(180deg, #D9762F, #EFB184); }
.uv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44,31,24,.10);
}

.uv-card-head {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  margin-bottom: .7rem;
}
.uv-card-name {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: .02em;
}
.uv-card-uva .uv-card-name { color: #5E448F; }
.uv-card-uvb .uv-card-name { color: #A85A1C; }

.uv-card-band {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: var(--muted, #6F5A47);
  background: rgba(44,31,24,.05);
  padding: .18rem .5rem;
  border-radius: 999px;
}

.uv-card-summary {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--fg, #2C1F18);
  margin: 0 0 1rem;
}
.uv-card-summary strong { color: inherit; font-weight: 700; }

.uv-card-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.uv-card-list li {
  font-size: .86rem;
  line-height: 1.6;
  color: var(--muted, #6F5A47);
  padding-left: 1rem;
  position: relative;
}
.uv-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
}
.uv-card-uva .uv-card-list li::before { background: #7A5BB5; opacity: .55; }
.uv-card-uvb .uv-card-list li::before { background: #D9762F; opacity: .55; }
.uv-card-list b { color: var(--fg, #2C1F18); font-weight: 600; }

.uv-card-note {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--fg, #2C1F18);
  background: rgba(255,255,255,.55);
  border: 1px dashed var(--border, rgba(44,31,24,.18));
  border-radius: 10px;
  padding: .6rem .8rem;
}
.uv-card-note b { color: var(--tone, #C89F3D); font-weight: 700; }

/* --------------------------------------------------------------------------
   3. 通用提示条（本站文章内的浅色 callout）
   -------------------------------------------------------------------------- */
.sun-callout {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-top: 1.6rem;
  padding: 1.05rem 1.2rem;
  background: rgba(200,159,61,.10);
  border: 1px solid rgba(200,159,61,.32);
  border-radius: 14px;
}
.sun-callout-icon {
  flex: none;
  font-size: 1.1rem;
  line-height: 1.5;
}
.sun-callout-body {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--fg, #2C1F18);
}
.sun-callout-body strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   4. 第 2 步 · 紫外线穿透示意图 + 波长滑块
   -------------------------------------------------------------------------- */
.uv-depth {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 1.8rem;
  align-items: center;
  margin-top: 2rem;
}
.uv-depth-stage {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1rem;
}
.uv-depth-stage svg { display: block; width: 100%; height: auto; }

#uv-beam, #uv-dot, #uv-dot-ring { transition: transform .18s ease; }

.uv-depth-controls { display: grid; gap: .7rem; }
.uv-depth-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.uv-depth-label {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--muted, #6F5A47);
}
.uv-depth-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: .95rem;
  color: var(--fg, #2C1F18);
}
.uv-depth-value b { font-size: 1.35rem; color: var(--tone, #C89F3D); }

/* 滑块：自绘轨道 + 拇指「脉冲光环」，让人一眼看出这里可以拖 */
.uv-depth-range,
.spf-sim-range {
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.uv-depth-range:active,
.spf-sim-range:active { cursor: grabbing; }
.uv-depth-range:focus-visible,
.spf-sim-range:focus-visible { outline: 2px solid var(--tone, #C89F3D); outline-offset: 3px; border-radius: 6px; }

.uv-depth-range::-webkit-slider-runnable-track,
.spf-sim-range::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200,159,61,.20), rgba(200,159,61,.55));
  border: 1px solid rgba(200,159,61,.32);
}
.uv-depth-range::-webkit-slider-thumb,
.spf-sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7.5px;
  border-radius: 50%;
  background: var(--tone, #C89F3D);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(44,31,24,.28);
  animation: thumbPulse 2.4s ease-in-out infinite;
}
.uv-depth-range::-moz-range-track,
.spf-sim-range::-moz-range-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200,159,61,.20), rgba(200,159,61,.55));
  border: 1px solid rgba(200,159,61,.32);
}
.uv-depth-range::-moz-range-thumb,
.spf-sim-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tone, #C89F3D);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(44,31,24,.28);
  animation: thumbPulse 2.4s ease-in-out infinite;
}
@keyframes thumbPulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(44,31,24,.28), 0 0 0 0 rgba(200,159,61,.5); }
  55%      { box-shadow: 0 2px 6px rgba(44,31,24,.28), 0 0 0 11px rgba(200,159,61,0); }
}

.uv-depth-scale {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--muted, #6F5A47);
}

.uv-depth-verdict {
  margin-top: .3rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--fg, #2C1F18);
  background: rgba(200,159,61,.14);
  border-radius: 10px;
  padding: .6rem .85rem;
  transition: background .25s ease;
}
.uv-depth-verdict.is-uvb { background: rgba(217,118,47,.16); color: #8A4614; }
.uv-depth-verdict.is-uva { background: rgba(122,91,181,.15); color: #513B7D; }

/* --------------------------------------------------------------------------
   5. 第 3 步 · SPF 公式 / 收益条 / 厚度模拟器
   -------------------------------------------------------------------------- */
.spf-formula { margin-top: 2rem; }
.spf-formula-box {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}
.spf-formula-box .formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem;
  justify-content: center;
}
.spf-formula-note {
  margin: .9rem 0 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--muted, #6F5A47);
  text-align: center;
}

.spf-bars {
  margin-top: 1.8rem;
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}
.spf-bars-head {
  font-size: .84rem;
  color: var(--muted, #6F5A47);
  margin-bottom: 1rem;
}
.spf-bar-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 64px;
  align-items: center;
  gap: .8rem;
  margin-bottom: .7rem;
}
.spf-bar-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--fg, #2C1F18);
}
.spf-bar-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(44,31,24,.08);
  overflow: hidden;
}
.spf-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E8CE8C, #C89F3D);
  transform-origin: left center;
  animation: spfBarIn .9s cubic-bezier(.22,.8,.28,1) both;
}
.spf-bar-row-hi .spf-bar-fill { background: linear-gradient(90deg, #C89F3D, #A87F22); }
.spf-bar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  color: var(--muted, #6F5A47);
  text-align: right;
}
@keyframes spfBarIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .spf-bar-fill { animation: none; }
}

.spf-bars-verdict {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border, rgba(44,31,24,.16));
  font-size: .86rem;
  line-height: 1.75;
  color: var(--fg, #2C1F18);
}

.spf-sim {
  margin-top: 1.8rem;
  background: var(--surface, #FAF1DC);
  border: 1px solid rgba(200,159,61,.35);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.3rem;
}
.spf-sim-head { margin-bottom: 1.3rem; }
.spf-sim-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .1em;
  color: #7A5A0F;
  background: rgba(200,159,61,.20);
  border-radius: 999px;
  padding: .2rem .6rem;
  margin-bottom: .55rem;
}
.spf-sim-title {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 .4rem;
  color: var(--fg, #2C1F18);
}
.spf-sim-sub {
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--muted, #6F5A47);
}

.spf-sim-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 1.6rem;
  align-items: center;
}
.spf-sim-left { display: grid; gap: .55rem; }
.spf-sim-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.spf-sim-field-label {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--muted, #6F5A47);
}
.spf-sim-field-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  color: var(--fg, #2C1F18);
}
.spf-sim-field-value b { font-size: 1.4rem; color: var(--tone, #C89F3D); }
.spf-sim-scale {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--muted, #6F5A47);
}
.spf-sim-scale-mark { color: var(--tone, #C89F3D); font-weight: 600; }
.spf-sim-caption {
  margin-top: .4rem;
  font-size: .78rem;
  color: var(--muted, #6F5A47);
}

.spf-sim-right { display: grid; gap: .9rem; }
.spf-sim-result { text-align: center; }
.spf-sim-result-num {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--tone, #C89F3D);
  transition: color .25s ease;
}
.spf-sim-result-num.is-low { color: #C2662B; }
.spf-sim-result-num.is-bad { color: #B03A2E; }
.spf-sim-result-label {
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--muted, #6F5A47);
  margin-top: .3rem;
}

.spf-gauge { display: grid; gap: .5rem; }
.spf-gauge-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(44,31,24,.08);
  overflow: hidden;
}
.spf-gauge-fill {
  height: 100%;
  width: 98%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E8CE8C, #C89F3D);
  transition: width .2s ease, background .25s ease;
}
.spf-gauge-fill.is-low { background: linear-gradient(90deg, #EFB184, #C2662B); }
.spf-gauge-fill.is-bad { background: linear-gradient(90deg, #E29A8B, #B03A2E); }
.spf-gauge-legend {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  font-size: .8rem;
  color: var(--muted, #6F5A47);
}
.spf-gauge-verdict { font-weight: 600; color: var(--fg, #2C1F18); }
.spf-gauge-verdict.is-low { color: #A85A1C; }
.spf-gauge-verdict.is-bad { color: #9B3226; }

.spf-sim-disclaimer {
  margin: 1.2rem 0 0;
  padding-top: .9rem;
  border-top: 1px dashed var(--border, rgba(44,31,24,.16));
  font-size: .76rem;
  line-height: 1.7;
  color: var(--muted, #6F5A47);
}

/* --------------------------------------------------------------------------
   6. 第 4 步 · 物理 / 化学防晒对照
   -------------------------------------------------------------------------- */
.filter-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.filter-card {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-top: 3px solid #C89F3D;
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: transform .28s ease, box-shadow .28s ease;
}
.filter-card-chem { border-top-color: #1E6B6E; }
.filter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44,31,24,.10);
}
.filter-card-badge {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted, #6F5A47);
  background: rgba(44,31,24,.05);
  border-radius: 999px;
  padding: .2rem .6rem;
  margin-bottom: .7rem;
}
.filter-card-title {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 .8rem;
  color: var(--fg, #2C1F18);
}
.filter-card-mech {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .85rem;
  line-height: 1.65;
  color: var(--fg, #2C1F18);
  background: rgba(255,255,255,.55);
  border-radius: 10px;
  padding: .6rem .8rem;
  margin-bottom: .9rem;
}
.filter-mech-tag {
  flex: none;
  font-size: .72rem;
  color: var(--muted, #6F5A47);
  letter-spacing: .06em;
}
.filter-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.filter-card-list li {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--muted, #6F5A47);
  padding-left: 1rem;
  position: relative;
}
.filter-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C89F3D;
  opacity: .6;
}
.filter-card-chem .filter-card-list li::before { background: #1E6B6E; }

/* --------------------------------------------------------------------------
   7. 第 5 步 · 两条损伤路径
   -------------------------------------------------------------------------- */
.damage-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.damage-card {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: transform .28s ease, box-shadow .28s ease;
}
.damage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44,31,24,.10);
}
.damage-card-step {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  border-radius: 999px;
  padding: .2rem .6rem;
  margin-bottom: .7rem;
}
.damage-card-uvb .damage-card-step { background: rgba(217,118,47,.16); color: #8A4614; }
.damage-card-uva .damage-card-step { background: rgba(122,91,181,.15); color: #513B7D; }
.damage-card-title {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  color: var(--fg, #2C1F18);
}
.damage-card p {
  margin: 0 0 .9rem;
  font-size: .86rem;
  line-height: 1.75;
  color: var(--muted, #6F5A47);
}
.damage-card-result {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  font-size: .84rem;
  line-height: 1.6;
  padding: .45rem 0;
  border-top: 1px dashed var(--border, rgba(44,31,24,.14));
  color: var(--fg, #2C1F18);
}
.damage-result-label {
  flex: none;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted, #6F5A47);
}

/* --------------------------------------------------------------------------
   8. 第 6 步 · 真实数据卡
   -------------------------------------------------------------------------- */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.data-card {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  transition: transform .28s ease, box-shadow .28s ease;
}
.data-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44,31,24,.10);
}
.data-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tone, #C89F3D);
  margin-bottom: .4rem;
}
.data-card-title {
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: var(--fg, #2C1F18);
}
.data-card p {
  margin: 0;
  font-size: .83rem;
  line-height: 1.75;
  color: var(--muted, #6F5A47);
}
.data-card p b { color: var(--fg, #2C1F18); font-weight: 600; }

/* --------------------------------------------------------------------------
   9. 第 7 步 · 三原则 + 反例清单
   -------------------------------------------------------------------------- */
/* ⚠️ 本 section 带 layout-cards-grid（被 antacid.css 变成 3 列网格），
   但它的一级子元素是「标题栏 / 卡片组 / 反例清单」，本身并不是卡片 ——
   必须整行铺满，否则这三块会被当成三张卡各占一列，整段散架。
   chlorine.css 对 #safety-rules 有同样处理，新建同类 section 时照抄这两条。 */
#sunscreen-rules.layout-cards-grid > .section-header,
#sunscreen-rules.layout-cards-grid > .anti-pattern {
  grid-column: 1 / -1;
}
.safety-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.safety-card {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: transform .28s ease, box-shadow .28s ease;
}
.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44,31,24,.10);
}
.safety-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--tone, #C89F3D);
  margin-bottom: .8rem;
}
.safety-card h3 {
  font-family: 'Fraunces', 'Songti SC','Source Han Serif SC','SimSun', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  color: var(--fg, #2C1F18);
}
.safety-card p {
  margin: 0 0 .9rem;
  font-size: .86rem;
  line-height: 1.75;
  color: var(--muted, #6F5A47);
}
.safety-card p strong { color: var(--fg, #2C1F18); font-weight: 600; }
.safety-do {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--fg, #2C1F18);
  background: rgba(200,159,61,.12);
  border-left: 3px solid var(--tone, #C89F3D);
  border-radius: 0 10px 10px 0;
  padding: .6rem .8rem;
}
.safety-label { color: var(--muted, #6F5A47); font-size: .74rem; letter-spacing: .06em; }

.anti-pattern {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1.6rem;
  padding: 1.15rem 1.3rem;
  background: rgba(176,58,46,.07);
  border: 1px solid rgba(176,58,46,.26);
  border-radius: 14px;
}
.anti-pattern-icon { flex: none; font-size: 1.15rem; line-height: 1.4; }
.anti-pattern-content {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--fg, #2C1F18);
}
.anti-pattern-content strong { font-weight: 700; }
.anti-pattern-list {
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  color: var(--muted, #6F5A47);
}
.anti-pattern-list li { font-size: .84rem; line-height: 1.7; }

/* --------------------------------------------------------------------------
   10. 随堂检验（本页自带，不依赖 chlorine.css）
   -------------------------------------------------------------------------- */
.quiz-container { margin-top: 2rem; display: grid; gap: 1rem; }
.quiz-question {
  background: var(--surface, #FAF1DC);
  border: 1px solid var(--border, rgba(44,31,24,.12));
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
}
.quiz-question-text {
  margin: 0 0 .85rem;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--fg, #2C1F18);
}
.quiz-options { display: grid; gap: .5rem; }
.quiz-opt {
  text-align: left;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--fg, #2C1F18);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border, rgba(44,31,24,.16));
  border-radius: 10px;
  padding: .62rem .85rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .18s ease;
  font-family: inherit;
}
.quiz-opt:hover:not(:disabled) {
  background: rgba(200,159,61,.14);
  border-color: rgba(200,159,61,.5);
  transform: translateX(2px);
}
.quiz-opt:disabled { cursor: default; }
.quiz-opt.correct { background: rgba(46,125,74,.14); border-color: rgba(46,125,74,.5); }
.quiz-opt.wrong { background: rgba(176,58,46,.12); border-color: rgba(176,58,46,.45); }
.quiz-opt.correct-show:not(.wrong) { border-color: rgba(46,125,74,.45); }
.quiz-feedback { margin-top: .7rem; }
.quiz-feedback:empty { display: none; }
.quiz-feedback-correct,
.quiz-feedback-wrong {
  font-size: .84rem;
  line-height: 1.75;
  border-radius: 10px;
  padding: .7rem .9rem;
}
.quiz-feedback-correct { background: rgba(46,125,74,.10); color: #245C36; }
.quiz-feedback-wrong { background: rgba(176,58,46,.08); color: #8E2F24; }

/* --------------------------------------------------------------------------
   11. 交互指引：让读者一眼看出「这里可以动手」
   -------------------------------------------------------------------------- */
/* 11.1 首屏的「可动手的地方」索引条 */
/* 索引条跳转时给固定导航留出高度 */
#uv-depth, #spf-bars, #spf-sim { scroll-margin-top: 92px; }
.interact-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  padding: .65rem .8rem;
  background: rgba(200,159,61,.10);
  border: 1px dashed rgba(200,159,61,.48);
  border-radius: 12px;
}
.interact-index-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #8A6E2A;
  padding-right: .25rem;
}
.interact-index-item {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-size: .78rem;
  color: var(--fg, #2C1F18);
  text-decoration: none;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(200,159,61,.4);
  border-radius: 999px;
  padding: .3rem .7rem .3rem .35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.interact-index-item:hover {
  transform: translateY(-2px);
  border-color: var(--tone, #C89F3D);
  box-shadow: 0 6px 16px rgba(200,159,61,.22);
}
.interact-index-num {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--tone, #C89F3D);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}

/* 11.2 交互块右上角的「可拖动 / 可点击」标记 */
.has-interact { position: relative; }
.interact-cue {
  position: absolute;
  top: -.75rem;
  right: 1.1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: linear-gradient(135deg, #C89F3D, #A87F22);
  border-radius: 999px;
  padding: .3rem .7rem;
  box-shadow: 0 6px 16px rgba(168,127,34,.30);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.interact-cue svg { width: 12px; height: 12px; flex: none; }
.interact-cue::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(200,159,61,.9);
  animation: cueBreathe 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes cueBreathe {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
/* 读者一旦真的动过，指引主动退场 */
.has-interact.is-used .interact-cue { opacity: 0; transform: translateY(-8px); }
.has-interact.is-used .uv-depth-range::-webkit-slider-thumb,
.has-interact.is-used .spf-sim-range::-webkit-slider-thumb,
.has-interact.is-used .uv-depth-range::-moz-range-thumb,
.has-interact.is-used .spf-sim-range::-moz-range-thumb { animation: none; }

/* 11.3 SPF 收益条：逐档点选对比 */
.spf-bar-row {
  cursor: pointer;
  border-radius: 10px;
  padding: .22rem .45rem;
  margin-left: -.45rem;
  margin-right: -.45rem;
  transition: background .2s ease;
}
.spf-bar-row:hover { background: rgba(200,159,61,.12); }
.spf-bar-row:focus-visible { outline: 2px solid var(--tone, #C89F3D); outline-offset: 2px; }
.spf-bar-row.is-active { background: rgba(200,159,61,.18); }
.spf-bar-row.is-active .spf-bar-key { color: var(--fg, #2C1F18); font-weight: 700; }
.spf-bar-row.is-active .spf-bar-val { color: var(--fg, #2C1F18); font-weight: 600; }
.spf-bar-row.is-active .spf-bar-fill { background: linear-gradient(90deg, #C89F3D, #8A6E2A); }
.spf-bars-compare {
  margin-top: .9rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px dashed rgba(200,159,61,.5);
  background: rgba(200,159,61,.10);
  font-size: .84rem;
  line-height: 1.75;
  color: var(--fg, #2C1F18);
}
.spf-bars-compare b { color: #8A6E2A; }
.spf-bars-compare-hint { color: var(--muted, #6F5A47); }
.spf-bars-compare-hint::before { content: '👆 '; }

@media (prefers-reduced-motion: reduce) {
  .interact-cue::after,
  .uv-depth-range::-webkit-slider-thumb,
  .spf-sim-range::-webkit-slider-thumb,
  .uv-depth-range::-moz-range-thumb,
  .spf-sim-range::-moz-range-thumb { animation: none; }
}

/* --------------------------------------------------------------------------
   12. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .uv-depth {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .spf-sim-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 720px) {
  .uv-pair,
  .filter-pair,
  .damage-path {
    grid-template-columns: minmax(0, 1fr);
  }
  .uv-card,
  .filter-card,
  .damage-card { padding: 1.2rem 1.15rem; }
  .spf-sim { padding: 1.2rem 1.05rem 1.05rem; }
  .spf-sim-result-num { font-size: 2.6rem; }
  .spf-bar-row { grid-template-columns: 62px minmax(0, 1fr) 54px; gap: .5rem; }
  .spf-bar-key,
  .spf-bar-val { font-size: .72rem; }
  .sun-callout,
  .anti-pattern { padding: .95rem 1rem; }
  .interact-cue { right: .6rem; font-size: .68rem; padding: .26rem .6rem; }
  .interact-index-item { font-size: .74rem; padding: .28rem .6rem .28rem .3rem; }
}


/* ============================================================
   页尾免责声明（.page-disclaimer）
   ⚠️ 三个解读页各自加载的样式表不同（antacid.css / chlorine.css /
   sunscreen.css），没有一份公共表，因此本规则在这三个文件里各存一份。
   视觉与案例页的 .case-disclaimer 保持一致；容器宽度与 .page-header 相同。
   ============================================================ */
.page-disclaimer {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid var(--border, rgba(44, 31, 18, .10));
  font-size: .82rem;
  line-height: 1.75;
  color: var(--muted, #6F5A47);
}
