/*
 * adaptive 템플릿（默认模板）— 现代韩国运势 App 风（15 号 §7.1 / §7.2 adaptive 列）：
 *   清爽灰白底 + 白卡大圆角（16–20px）无边框、投影 ≤ 0 1px 3px rgba(25,31,40,.04)；8px 间距网格；
 *   列表行右侧 chevron；选择 / 确认用 bottom sheet（不用居中弹窗）；骨架屏加载；金额 / 分数大号 700 字重；
 *   紫色 primary 为品牌与主按钮色；金色 accent 只作装饰（图标 / 徽章底 / 图表填充），金色文字一律用深金 token（--tpl-adaptive-gold-text）；
 *   移动端关键转化页底部固定通栏大圆角 CTA（共享 fs-cta-bar，适配 safe-area）。
 * 命名空间：模板自有类一律 tpl-adaptive-*；核心结构类 fs-* 只在此覆盖外观（15 号 §6）。组件颜色一律引用下方 token，禁硬编码色值。
 * 字体栈、韩文 keep-all、五行色与 fs-* 基础样式由共享 assets/css/base.css 提供，模板不自造；字重只用 400 / 700。
 * 图形只用纯色块、几何形状与星象抽象（圆点、轨迹线）：不含图片、标志、旗帜构图、태극 / 卦符（含三横线图标）、宗教符号与人物形象；
 * 平台商标色原值（15 号 §11 所列）不出现。
 *
 * 断点（15 号 §6 统一四档，移动优先，基准 <576px）：
 *   sm ≥576px · md ≥768px · lg ≥1024px · xl ≥1200px
 *   本模板：≥768px 内容列 max-width 680px 居中；首页 ≥1024px 放宽到 960px（首屏插画并排、价格卡三列）；
 *   报告页 ≥1024px 目录常驻左侧栏（240px + 680px）。
 */

:root {
  /* 六基础 token（15 号 §7.1 adaptive 行） */
  --tpl-adaptive-bg: #F9FAFB;
  --tpl-adaptive-card: #FFFFFF;
  --tpl-adaptive-primary: #6B4EE6;
  --tpl-adaptive-text: #191F28;
  --tpl-adaptive-muted: #6B7684;
  --tpl-adaptive-accent: #E8A93D;

  /* 扩展 token */
  --tpl-adaptive-muted-strong: #4E5968;
  --tpl-adaptive-sub: #333D4B;
  --tpl-adaptive-line: #E5E8EB;
  --tpl-adaptive-line-strong: #C9CFD6;
  --tpl-adaptive-fill: #F2F4F6;
  --tpl-adaptive-primary-strong: #5639CF;
  --tpl-adaptive-primary-soft: #F1EDFD;
  --tpl-adaptive-primary-line: #D9D0FA;
  --tpl-adaptive-on-primary: #FFFFFF;
  --tpl-adaptive-gold-text: #8A6116;
  --tpl-adaptive-gold-soft: #FDF4E3;
  --tpl-adaptive-danger: #D22030;
  --tpl-adaptive-danger-soft: #FFEEF0;
  --tpl-adaptive-success: #13795B;
  --tpl-adaptive-success-soft: #E8F6F0;
  --tpl-adaptive-warning: #8A5A00;
  --tpl-adaptive-warning-soft: #FFF6E0;
  --tpl-adaptive-focus: #9B86F0;
  --tpl-adaptive-overlay: rgba(25, 31, 40, 0.48);
  --tpl-adaptive-shadow: 0 1px 3px rgba(25, 31, 40, 0.04);
  --tpl-adaptive-shadow-raise: 0 2px 8px rgba(25, 31, 40, 0.08);
  --tpl-adaptive-shadow-pop: 0 8px 24px rgba(25, 31, 40, 0.12);
  --tpl-adaptive-shadow-sheet: 0 -8px 32px rgba(25, 31, 40, 0.12);
  --tpl-adaptive-radius: 20px;
  --tpl-adaptive-radius-md: 16px;
  --tpl-adaptive-radius-sm: 12px;
  --tpl-adaptive-radius-xs: 8px;
  --tpl-adaptive-radius-pill: 999px;
  --tpl-adaptive-width: 1080px;
  --tpl-adaptive-read: 680px;
  --tpl-adaptive-home: 960px;
  --tpl-adaptive-tabs-height: 56px;
  --tpl-adaptive-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* 核心语义 token 指向本模板（fs-* 组件即换肤） */
  --fs-bg: var(--tpl-adaptive-bg);
  --fs-card: var(--tpl-adaptive-card);
  --fs-surface: var(--tpl-adaptive-fill);
  --fs-text: var(--tpl-adaptive-text);
  --fs-muted: var(--tpl-adaptive-muted);
  --fs-line: var(--tpl-adaptive-line);
  --fs-primary: var(--tpl-adaptive-primary);
  --fs-primary-text: var(--tpl-adaptive-on-primary);
  --fs-accent: var(--tpl-adaptive-accent);
  --fs-danger: var(--tpl-adaptive-danger);
  --fs-success: var(--tpl-adaptive-success);
  --fs-warning: var(--tpl-adaptive-warning);
  --fs-info: var(--tpl-adaptive-primary);
  --fs-focus: var(--tpl-adaptive-focus);
  --fs-fact: var(--tpl-adaptive-muted-strong);
  --fs-reading: var(--tpl-adaptive-primary);
  --fs-advice: var(--tpl-adaptive-gold-text);
  --fs-radius: var(--tpl-adaptive-radius-md);
  --fs-radius-sm: var(--tpl-adaptive-radius-xs);
  --fs-shadow: var(--tpl-adaptive-shadow);
}

/* ═══════════════════ 基础 ═══════════════════ */

body.tpl-adaptive {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tpl-adaptive-bg);
  color: var(--tpl-adaptive-text);
}

.tpl-adaptive a:not([class]) {
  color: var(--tpl-adaptive-primary);
  text-underline-offset: 3px;
}

.tpl-adaptive a:not([class]):hover {
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive :focus-visible {
  outline: 3px solid var(--tpl-adaptive-focus);
  outline-offset: 2px;
}

.tpl-adaptive summary {
  list-style: none;
}

.tpl-adaptive summary::-webkit-details-marker {
  display: none;
}

.tpl-adaptive-skip {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-text);
  color: var(--tpl-adaptive-on-primary);
  font-weight: 700;
  text-decoration: none;
}

.tpl-adaptive-skip:focus {
  top: 12px;
}

/* ═══════════════════ 页头 / 탭바 ═══════════════════ */

.tpl-adaptive-appbar {
  background: var(--tpl-adaptive-card);
}

.tpl-adaptive-appbar__inner {
  max-width: var(--tpl-adaptive-width);
  margin: 0 auto;
  padding: 8px 16px 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}

.tpl-adaptive-appbar__brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--tpl-adaptive-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.tpl-adaptive-appbar__mark {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--tpl-adaptive-primary), var(--tpl-adaptive-primary-strong));
}

.tpl-adaptive-appbar__mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tpl-adaptive-accent);
  box-shadow: 0 0 0 2px var(--tpl-adaptive-card);
}

.tpl-adaptive-appbar__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 52vw;
}

.tpl-adaptive-appbar__member {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tpl-adaptive-appbar__logout {
  margin: 0;
}

.tpl-adaptive-appbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: none;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.tpl-adaptive-appbar__link:hover {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-text);
}

.tpl-adaptive-appbar__link--accent {
  color: var(--tpl-adaptive-primary);
  font-weight: 700;
}

.tpl-adaptive .fs-lang-switcher__link {
  border-radius: var(--tpl-adaptive-radius-sm);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

.tpl-adaptive .fs-lang-switcher__link:hover {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-text);
}

.tpl-adaptive .fs-lang-switcher__link.is-current {
  color: var(--tpl-adaptive-primary);
  font-weight: 700;
}

.tpl-adaptive-tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--tpl-adaptive-card);
  box-shadow: 0 1px 0 var(--tpl-adaptive-line);
  transition: box-shadow 0.2s ease;
}

.tpl-adaptive-tabs.is-scrolled {
  box-shadow: 0 1px 0 var(--tpl-adaptive-line), var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive-tabs__list {
  max-width: var(--tpl-adaptive-width);
  height: var(--tpl-adaptive-tabs-height);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.tpl-adaptive-tabs__list::-webkit-scrollbar {
  display: none;
}

.tpl-adaptive-tabs__item {
  flex: 0 0 auto;
}

.tpl-adaptive-tabs__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--tpl-adaptive-radius-pill);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tpl-adaptive-tabs__link:hover {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-text);
}

.tpl-adaptive-tabs__link.is-current {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
}

/* ═══════════════════ 主体 / 页面容器 ═══════════════════ */

.tpl-adaptive-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--tpl-adaptive-width);
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.tpl-adaptive-page--narrow,
.tpl-adaptive-report,
.tpl-adaptive-home {
  max-width: var(--tpl-adaptive-read);
  margin: 0 auto;
}

.tpl-adaptive-page__head {
  padding: 8px 4px 20px;
}

.tpl-adaptive-page__eyebrow {
  margin: 0 0 6px;
  color: var(--tpl-adaptive-primary);
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-page__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.35;
}

.tpl-adaptive-page__lead {
  margin: 10px 0 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 16px;
}

.tpl-adaptive-page__meta {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
}

.tpl-adaptive-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 4px -8px;
  padding: 0 8px;
  border-radius: var(--tpl-adaptive-radius-sm);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 15px;
  text-decoration: none;
}

.tpl-adaptive-back::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.tpl-adaptive-back:hover {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-text);
}

/* ═══════════════════ 卡片 / 区块 / 列表行 ═══════════════════ */

.tpl-adaptive-card {
  margin: 0 0 16px;
  padding: 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive-card--flush {
  padding: 8px 0;
  overflow: hidden;
}

.tpl-adaptive-card__title {
  margin: 0 0 16px;
  font-size: 18px;
}

.tpl-adaptive-card__title--inset {
  margin: 0;
  padding: 12px 20px 4px;
}

.tpl-adaptive-section {
  margin: 32px 0 0;
}

.tpl-adaptive-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0 4px;
}

.tpl-adaptive-section__title {
  margin: 0;
  font-size: 20px;
}

.tpl-adaptive-section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.tpl-adaptive-section__more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.tpl-adaptive-section__lead {
  margin: -4px 4px 16px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 15px;
}

.tpl-adaptive-section__note {
  margin: 12px 4px 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

.tpl-adaptive-block--plain {
  margin: 0 0 16px;
}

.tpl-adaptive-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 16px;
}

.tpl-adaptive-block--plain .tpl-adaptive-block__head {
  padding: 0 4px;
}

.tpl-adaptive-block__title {
  margin: 0;
  font-size: 18px;
}

.tpl-adaptive-block__lead {
  margin: -8px 0 16px;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-block__text {
  margin: 12px 0 0;
  color: var(--tpl-adaptive-sub);
  font-size: 16px;
}

.tpl-adaptive-block__note {
  margin: 8px 4px 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

.tpl-adaptive-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  color: var(--tpl-adaptive-text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.tpl-adaptive-row:hover {
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-row--card {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive-row--card:hover {
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive-row--inset {
  min-height: 48px;
  margin: 4px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-row--inset:hover {
  background: transparent;
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-row--button {
  appearance: none;
  -webkit-appearance: none;
}

.tpl-adaptive-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tpl-adaptive-row__title {
  font-size: 16px;
  line-height: 1.45;
}

.tpl-adaptive-row__meta {
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-row__chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 0;
  border-right: 2px solid var(--tpl-adaptive-line-strong);
  border-bottom: 2px solid var(--tpl-adaptive-line-strong);
  transform: rotate(-45deg);
}

.tpl-adaptive-row__icon {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive-row__icon::before,
.tpl-adaptive-row__icon::after {
  content: "";
  position: absolute;
}

.tpl-adaptive-row__icon--test::before {
  inset: 11px;
  border: 2px solid var(--tpl-adaptive-primary);
  border-radius: 50%;
}

.tpl-adaptive-row__icon--test::after {
  top: 17px;
  left: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tpl-adaptive-accent);
}

.tpl-adaptive-row__icon--share::before {
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tpl-adaptive-primary);
  box-shadow: -11px 11px 0 var(--tpl-adaptive-primary);
}

.tpl-adaptive-row__icon--share::after {
  top: 15px;
  left: 14px;
  width: 12px;
  height: 2px;
  background: var(--tpl-adaptive-primary);
  transform: rotate(-45deg);
}

.tpl-adaptive-row__icon--save::before {
  inset: 11px;
  border: 2px solid var(--tpl-adaptive-primary);
  border-radius: 5px;
}

.tpl-adaptive-row__icon--save::after {
  top: 16px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--tpl-adaptive-accent);
}

.tpl-adaptive-row__icon--restart::before {
  inset: 11px;
  border: 2px solid var(--tpl-adaptive-primary);
  border-top-color: transparent;
  border-radius: 50%;
}

.tpl-adaptive-row__icon--restart::after {
  top: 9px;
  left: 20px;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--tpl-adaptive-primary);
  border-right: 2px solid var(--tpl-adaptive-primary);
  transform: rotate(45deg);
}

.tpl-adaptive-row__icon--coupon::before {
  top: 13px;
  left: 9px;
  width: 22px;
  height: 14px;
  border: 2px dashed var(--tpl-adaptive-primary);
  border-radius: 4px;
}

.tpl-adaptive-row__icon--together::before,
.tpl-adaptive-row__icon--together::after {
  top: 13px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--tpl-adaptive-primary);
  border-radius: 50%;
}

.tpl-adaptive-row__icon--together::before {
  left: 9px;
}

.tpl-adaptive-row__icon--together::after {
  left: 17px;
  border-color: var(--tpl-adaptive-accent);
}

.tpl-adaptive-row__icon--print::before {
  top: 12px;
  left: 10px;
  width: 20px;
  height: 14px;
  border: 2px solid var(--tpl-adaptive-primary);
  border-radius: 4px;
}

.tpl-adaptive-row__icon--print::after {
  top: 22px;
  left: 14px;
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: var(--tpl-adaptive-accent);
}

.tpl-adaptive-menu {
  margin: 24px 0 0;
}

.tpl-adaptive-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-sub);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.tpl-adaptive-badge--primary {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-badge--gold {
  background: var(--tpl-adaptive-gold-soft);
  color: var(--tpl-adaptive-gold-text);
}

.tpl-adaptive-level {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: var(--tpl-adaptive-radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.tpl-adaptive-level--fact {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive-level--reading {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-note {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-gold-soft);
  color: var(--tpl-adaptive-sub);
  font-size: 14px;
}

.tpl-adaptive-note p {
  margin: 0;
}

.tpl-adaptive-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpl-adaptive-checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.tpl-adaptive-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive-checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--tpl-adaptive-primary);
  border-bottom: 2px solid var(--tpl-adaptive-primary);
  transform: rotate(45deg);
}

.tpl-adaptive-dl {
  margin: 0;
}

.tpl-adaptive-dl__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.tpl-adaptive-dl__row dt {
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-dl__row dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.tpl-adaptive-dl__row--minus dd {
  color: var(--tpl-adaptive-primary);
}

.tpl-adaptive-dl__row--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-dl__row--total dt {
  color: var(--tpl-adaptive-text);
  font-size: 16px;
  font-weight: 700;
}

.tpl-adaptive-dl__row--total dd {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.tpl-adaptive-fold {
  margin: 12px 0 0;
}

.tpl-adaptive-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.tpl-adaptive-fold__summary::after,
.tpl-adaptive-faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: -4px 4px 0 0;
  border-right: 2px solid var(--tpl-adaptive-muted);
  border-bottom: 2px solid var(--tpl-adaptive-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.tpl-adaptive-fold[open] > .tpl-adaptive-fold__summary::after,
.tpl-adaptive-faq__item[open] > .tpl-adaptive-faq__q::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.tpl-adaptive-fold__body {
  padding: 4px 0 12px;
}

.tpl-adaptive-fold__text {
  margin: 0 0 12px;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
}

.tpl-adaptive-fold--card {
  margin: 0 0 16px;
  padding: 4px 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

/* ═══════════════════ 按钮 ═══════════════════ */

.tpl-adaptive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-sub);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.tpl-adaptive-button:hover {
  background: var(--tpl-adaptive-line);
  color: var(--tpl-adaptive-text);
}

.tpl-adaptive-button:active {
  transform: scale(0.98);
}

.tpl-adaptive-button--primary,
.tpl-adaptive-button--primary:hover {
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
}

.tpl-adaptive-button--primary:hover {
  background: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-button--soft {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-button--soft:hover {
  background: var(--tpl-adaptive-primary-line);
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-button--danger,
.tpl-adaptive-button--danger:hover {
  background: var(--tpl-adaptive-danger-soft);
  color: var(--tpl-adaptive-danger);
}

.tpl-adaptive-button--sm {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--tpl-adaptive-radius-sm);
  font-size: 14px;
}

.tpl-adaptive-button--lg {
  min-height: 52px;
}

.tpl-adaptive-button--xl {
  min-height: 56px;
  border-radius: var(--tpl-adaptive-radius-md);
  font-size: 17px;
}

.tpl-adaptive-button--block {
  display: flex;
  width: 100%;
}

.tpl-adaptive-button.is-loading,
.tpl-adaptive .fs-cta-bar__button.is-loading {
  opacity: 0.72;
  cursor: progress;
}

.tpl-adaptive-textbutton {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ═══════════════════ 提示 ═══════════════════ */

.tpl-adaptive-flash {
  margin: 0 0 8px;
}

.tpl-adaptive-alert {
  --tpl-adaptive-alert-tone: var(--tpl-adaptive-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-text);
  font-size: 15px;
  line-height: 1.55;
}

.tpl-adaptive-alert--success {
  --tpl-adaptive-alert-tone: var(--tpl-adaptive-success);
  background: var(--tpl-adaptive-success-soft);
}

.tpl-adaptive-alert--error {
  --tpl-adaptive-alert-tone: var(--tpl-adaptive-danger);
  background: var(--tpl-adaptive-danger-soft);
}

.tpl-adaptive-alert--warning {
  --tpl-adaptive-alert-tone: var(--tpl-adaptive-warning);
  background: var(--tpl-adaptive-warning-soft);
}

.tpl-adaptive-alert__icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--tpl-adaptive-alert-tone);
}

.tpl-adaptive-alert__icon::before,
.tpl-adaptive-alert__icon::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 2px;
  border-radius: 1px;
  background: var(--tpl-adaptive-card);
}

.tpl-adaptive-alert__icon::before {
  top: 4px;
  height: 8px;
}

.tpl-adaptive-alert__icon::after {
  top: 14px;
  height: 2px;
}

.tpl-adaptive-alert--info .tpl-adaptive-alert__icon::before {
  top: 8px;
}

.tpl-adaptive-alert--info .tpl-adaptive-alert__icon::after {
  top: 4px;
}

.tpl-adaptive-alert--success .tpl-adaptive-alert__icon::before {
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-radius: 0;
  background: transparent;
  border-right: 2px solid var(--tpl-adaptive-card);
  border-bottom: 2px solid var(--tpl-adaptive-card);
  transform: rotate(45deg);
}

.tpl-adaptive-alert--success .tpl-adaptive-alert__icon::after {
  display: none;
}

.tpl-adaptive-alert__text {
  flex: 1 1 auto;
  min-width: 0;
}

.tpl-adaptive-alert__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -12px -12px -12px 0;
  border: 0;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: transparent;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ═══════════════════ 表单 ═══════════════════ */

.tpl-adaptive-form__note {
  margin: 0 0 16px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
}

.tpl-adaptive-field {
  margin: 0 0 20px;
}

.tpl-adaptive-field:last-child {
  margin-bottom: 0;
}

.tpl-adaptive-field__label {
  display: block;
  margin: 0 0 8px;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
  font-weight: 700;
}

.tpl-adaptive-field__required {
  margin-left: 4px;
  color: var(--tpl-adaptive-primary);
  font-size: 13px;
}

.tpl-adaptive-field__optional {
  margin-left: 4px;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
  font-weight: 400;
}

.tpl-adaptive-field__hint {
  margin: 8px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--tpl-adaptive-danger);
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background-color: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-text);
  font-size: 17px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tpl-adaptive-input::placeholder {
  color: var(--tpl-adaptive-muted);
}

.tpl-adaptive-input:focus {
  outline: none;
  border-color: var(--tpl-adaptive-primary);
  background-color: var(--tpl-adaptive-card);
  box-shadow: 0 0 0 3px var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive-input[aria-invalid="true"],
.is-invalid > .tpl-adaptive-input,
.is-invalid .tpl-adaptive-dateparts .tpl-adaptive-input {
  border-color: var(--tpl-adaptive-danger);
  background-color: var(--tpl-adaptive-danger-soft);
}

.tpl-adaptive-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tpl-adaptive-select {
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--tpl-adaptive-muted) 50%),
    linear-gradient(135deg, var(--tpl-adaptive-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.tpl-adaptive-inline {
  display: flex;
  gap: 8px;
}

.tpl-adaptive-inline > .tpl-adaptive-input {
  flex: 1 1 auto;
  min-width: 0;
}

.tpl-adaptive-inline > .tpl-adaptive-button {
  flex: 0 0 auto;
  min-height: 56px;
}

.tpl-adaptive-dateparts {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
}

.tpl-adaptive-dateparts--time {
  grid-template-columns: 1fr 1fr;
}

.tpl-adaptive-dateparts .tpl-adaptive-select {
  padding-left: 12px;
  padding-right: 32px;
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
}

.tpl-adaptive-segment {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-segment__option {
  position: relative;
  display: block;
  cursor: pointer;
}

.tpl-adaptive-segment__option input,
.tpl-adaptive-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tpl-adaptive-segment__option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--tpl-adaptive-muted);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tpl-adaptive-segment__option input:checked + span {
  background: var(--tpl-adaptive-card);
  color: var(--tpl-adaptive-text);
  box-shadow: var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive-segment__option input:focus-visible + span,
.tpl-adaptive-chip input:focus-visible + span {
  outline: 3px solid var(--tpl-adaptive-focus);
  outline-offset: 1px;
}

.is-invalid .tpl-adaptive-segment {
  box-shadow: inset 0 0 0 1px var(--tpl-adaptive-danger);
  background: var(--tpl-adaptive-danger-soft);
}

.tpl-adaptive-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tpl-adaptive-chip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tpl-adaptive-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tpl-adaptive-chip input:checked + span {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--tpl-adaptive-primary);
}

.tpl-adaptive-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
}

.tpl-adaptive-check__input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--tpl-adaptive-primary);
  cursor: pointer;
}

.tpl-adaptive-check__label {
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.tpl-adaptive-check--box {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-langpick {
  padding: 16px 20px;
}

.tpl-adaptive-langpick.is-invalid {
  box-shadow: inset 0 0 0 2px var(--tpl-adaptive-danger);
}

.tpl-adaptive-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 20px;
  padding: 0 4px;
  list-style: none;
}

.tpl-adaptive-stepper__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tpl-adaptive-stepper__bar {
  display: block;
  height: 4px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-line);
  transition: background-color 0.25s ease;
}

.tpl-adaptive-stepper__item.is-done .tpl-adaptive-stepper__bar,
.tpl-adaptive-stepper__item.is-current .tpl-adaptive-stepper__bar {
  background: var(--tpl-adaptive-primary);
}

.tpl-adaptive-stepper__label {
  overflow: hidden;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tpl-adaptive-stepper__item.is-current .tpl-adaptive-stepper__label {
  color: var(--tpl-adaptive-text);
  font-weight: 700;
}

.tpl-adaptive-stepper__num {
  color: var(--tpl-adaptive-primary);
  font-weight: 700;
}

.tpl-adaptive-fieldset {
  min-width: 0;
  margin: 0 0 16px;
  padding: 24px 20px;
  border: 0;
}

.tpl-adaptive-fieldset__legend {
  float: left;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.tpl-adaptive-fieldset__legend + * {
  clear: both;
}

.tpl-adaptive-fieldset__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
  font-size: 14px;
}

.tpl-adaptive-location {
  position: relative;
}

.tpl-adaptive-location::before,
.tpl-adaptive-location::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tpl-adaptive-location::before {
  top: 19px;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--tpl-adaptive-muted);
  border-radius: 50%;
}

.tpl-adaptive-location::after {
  top: 32px;
  left: 29px;
  width: 2px;
  height: 7px;
  border-radius: 1px;
  background: var(--tpl-adaptive-muted);
  transform: rotate(-45deg);
}

.tpl-adaptive-location__input {
  padding-left: 44px;
}

.tpl-adaptive-location__results {
  position: relative;
  z-index: 5;
  max-height: 280px;
  margin: 8px 0 0;
  padding: 6px;
  overflow: auto;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow-pop);
  list-style: none;
}

.tpl-adaptive-location__results button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tpl-adaptive-text);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.tpl-adaptive-location__results button:hover,
.tpl-adaptive-location__results button:focus-visible {
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-location__results .is-empty {
  padding: 14px 12px;
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-consent {
  margin: 24px 0 0;
  padding: 8px 16px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-consent__row {
  padding: 8px 0;
}

.tpl-adaptive-consent__row + .tpl-adaptive-consent__row {
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-consent__row .tpl-adaptive-check {
  padding: 6px 0 0;
}

.tpl-adaptive-consent__row.is-invalid .tpl-adaptive-check__label {
  color: var(--tpl-adaptive-danger);
}

.tpl-adaptive-consent__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 32px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  text-underline-offset: 3px;
}

.tpl-adaptive-consent__note {
  margin: 4px 0 8px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

/* 跨境传输告知（韩国版独立同意下方；长句改为上下堆叠、左对齐） */
.tpl-adaptive-start__transfer {
  margin: 0 0 4px 32px;
}

.tpl-adaptive-start__transfer .tpl-adaptive-dl__row {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-start__transfer .tpl-adaptive-dl__row:first-child {
  border-top: 0;
}

.tpl-adaptive-start__transfer .tpl-adaptive-dl__row dt {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
}

.tpl-adaptive-start__transfer .tpl-adaptive-dl__row dd {
  color: var(--tpl-adaptive-sub);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 400px) {
  .tpl-adaptive-start__transfer {
    margin-left: 0;
  }
}

.tpl-adaptive-stepnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tpl-adaptive-stepnav .fs-cta-bar__button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.tpl-adaptive-stepnav__prev {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: var(--fs-cta-height);
  padding: 0 20px;
  border: 0;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-sub);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.tpl-adaptive-stepnav .fs-cta-bar__note {
  flex-basis: 100%;
}

/* ═══════════════════ 底部固定 CTA（共享 fs-cta-bar 外观覆盖） ═══════════════════ */

.tpl-adaptive .fs-cta-bar__button {
  width: 100%;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.tpl-adaptive .fs-cta-bar__button:hover {
  background: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive .fs-cta-bar__button:active {
  transform: scale(0.98);
}

.tpl-adaptive .fs-cta-bar__note {
  color: var(--tpl-adaptive-muted-strong);
  text-align: center;
}

.tpl-adaptive-cta__direct {
  margin: 0;
}

html.fs-js .tpl-adaptive-cta__direct {
  display: none;
}

/* ═══════════════════ bottom sheet（选择 / 确认；base.js [data-fs-drawer] 开合） ═══════════════════ */

.tpl-adaptive-sheet__panel {
  margin: 0 0 16px;
  padding: 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive-sheet__grip {
  display: none;
}

.tpl-adaptive-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
}

.tpl-adaptive-sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.tpl-adaptive-sheet__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -8px -8px -8px 0;
  border: 0;
  border-radius: 50%;
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tpl-adaptive-sheet__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tpl-adaptive-sheet__name {
  font-size: 18px;
}

.tpl-adaptive-sheet__text {
  margin: 6px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-sheet__coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--tpl-adaptive-sub);
  font-size: 14px;
}

.tpl-adaptive-sheet__note {
  margin: 12px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-sheet__body .tpl-adaptive-offer__facts {
  margin: 12px 0 0;
}

.tpl-adaptive-sheet__actions {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}

.tpl-adaptive-sheet__actions--row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.tpl-adaptive-sheet__buy {
  margin: 0;
}

.tpl-adaptive-sheet__alt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--tpl-adaptive-radius-sm);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.tpl-adaptive-sheet__alt:hover {
  background: var(--tpl-adaptive-fill);
}

/* 无脚本：确认 sheet 不渲染（CTA 直接提交）；其余 sheet 以页内卡片呈现 */
.tpl-adaptive-sheet--js {
  display: none;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer],
.tpl-adaptive-sheet--static {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] {
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.28s;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer].is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__backdrop,
.tpl-adaptive-sheet--static .tpl-adaptive-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: var(--tpl-adaptive-overlay);
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__backdrop {
  opacity: 0;
  transition: opacity 0.28s ease;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer].is-open .tpl-adaptive-sheet__backdrop {
  opacity: 1;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__panel,
.tpl-adaptive-sheet--static .tpl-adaptive-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: min(86vh, 720px);
  margin: 0;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  box-shadow: var(--tpl-adaptive-shadow-sheet);
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__panel {
  transform: translateY(100%);
  transition: transform 0.28s var(--tpl-adaptive-ease);
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer].is-open .tpl-adaptive-sheet__panel {
  transform: none;
}

html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__grip,
.tpl-adaptive-sheet--static .tpl-adaptive-sheet__grip {
  display: block;
  width: 40px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-line-strong);
}

html:has(.tpl-adaptive-sheet.is-open:not(.tpl-adaptive-toc)),
html:has(.tpl-adaptive-sheet--static) {
  overflow: hidden;
}

/* 页内卡片形态（无脚本 / 优惠码有错误时，sheet 直接嵌在优惠码卡片里） */
html:not(.fs-js) .tpl-adaptive-coupon .tpl-adaptive-sheet__panel,
.tpl-adaptive-coupon .tpl-adaptive-sheet--inline .tpl-adaptive-sheet__panel {
  margin: 0;
  padding: 4px 20px 12px;
  border-radius: 0;
  box-shadow: none;
}

html:not(.fs-js) .tpl-adaptive-coupon .tpl-adaptive-sheet__head,
.tpl-adaptive-coupon .tpl-adaptive-sheet--inline .tpl-adaptive-sheet__head {
  margin-bottom: 8px;
}

html:not(.fs-js) .tpl-adaptive-coupon .tpl-adaptive-sheet__title,
.tpl-adaptive-coupon .tpl-adaptive-sheet--inline .tpl-adaptive-sheet__title {
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
}

/* ═══════════════════ 首页 ═══════════════════ */

.tpl-adaptive-home__season .tpl-adaptive-badge {
  align-self: flex-start;
  margin-top: 2px;
}

.tpl-adaptive-hero {
  display: flex;
  flex-direction: column;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive-hero__art {
  padding: 16px 16px 0;
  background: linear-gradient(160deg, var(--tpl-adaptive-primary-soft) 0%, var(--tpl-adaptive-gold-soft) 100%);
}

.tpl-adaptive-art {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.tpl-adaptive-art__path {
  fill: none;
  stroke: var(--tpl-adaptive-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
  opacity: 0.55;
}

.tpl-adaptive-art__dot {
  fill: var(--tpl-adaptive-accent);
}

.tpl-adaptive-art__dot--soft {
  fill: var(--tpl-adaptive-primary);
  opacity: 0.4;
}

.tpl-adaptive-art__wood {
  fill: var(--el-wood);
}

.tpl-adaptive-art__fire {
  fill: var(--el-fire);
  stroke: var(--el-fire);
  stroke-width: 8;
  stroke-linejoin: round;
}

.tpl-adaptive-art__earth {
  fill: var(--el-earth);
}

.tpl-adaptive-art__metal {
  fill: var(--el-metal);
  stroke: var(--el-metal-border);
  stroke-width: 1.5;
}

.tpl-adaptive-art__water {
  fill: none;
  stroke: var(--el-water);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tpl-adaptive-art__float {
  transform-box: fill-box;
  transform-origin: center;
  animation: tpl-adaptive-float 6s ease-in-out infinite;
}

.tpl-adaptive-art__float--b {
  animation-delay: -2s;
}

.tpl-adaptive-art__float--c {
  animation-delay: -4s;
}

@keyframes tpl-adaptive-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.tpl-adaptive-hero__body {
  padding: 24px 20px;
}

.tpl-adaptive-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--tpl-adaptive-primary);
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-hero__title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
}

.tpl-adaptive-hero__lead {
  margin: 0 0 24px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 16px;
}

.tpl-adaptive-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tpl-adaptive-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-sub);
  font-size: 13px;
}

.tpl-adaptive-hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tpl-adaptive-accent);
}

.tpl-adaptive-steps {
  margin: 0;
  padding: 4px 20px;
  list-style: none;
}

.tpl-adaptive-steps__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}

.tpl-adaptive-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-size: 15px;
  font-weight: 700;
}

.tpl-adaptive-steps__title {
  margin: 3px 0 4px;
  font-size: 16px;
}

.tpl-adaptive-steps__text {
  margin: 0;
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-sample__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-sample__blocks {
  margin: 8px 0 0;
}

.tpl-adaptive-offers {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpl-adaptive-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive-offer.is-featured {
  box-shadow: 0 0 0 2px var(--tpl-adaptive-primary), var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive-offer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.tpl-adaptive-offer__name {
  margin: 0;
  font-size: 18px;
}

.tpl-adaptive-offer__summary {
  margin: 0;
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 4px 0 0;
}

.tpl-adaptive-offer__compare {
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-offer__amount {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tpl-adaptive-offer__price--lg .tpl-adaptive-offer__amount {
  font-size: 32px;
}

.tpl-adaptive-offer__coins {
  margin: 0;
  color: var(--tpl-adaptive-gold-text);
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-offer__facts {
  margin: 8px 0;
}

.tpl-adaptive-offer > .tpl-adaptive-button,
.tpl-adaptive-offer__buy {
  margin: auto 0 0;
}

.tpl-adaptive-voices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 82%);
  gap: 12px;
  margin: 0 -16px;
  padding: 0 16px 8px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.tpl-adaptive-voices::-webkit-scrollbar {
  display: none;
}

.tpl-adaptive-voices__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-radius: var(--tpl-adaptive-radius);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow);
  scroll-snap-align: start;
}

.tpl-adaptive-voices__quote {
  margin: 0;
  font-size: 15px;
}

.tpl-adaptive-voices__meta {
  margin: 0;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-faq__item + .tpl-adaptive-faq__item {
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.tpl-adaptive-faq__a {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
}

.tpl-adaptive-pledge {
  margin-top: 32px;
}

.tpl-adaptive-pledge__title {
  margin: 0 0 14px;
  font-size: 18px;
}

.tpl-adaptive-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 20px;
  background: linear-gradient(170deg, var(--tpl-adaptive-primary-soft) 0%, var(--tpl-adaptive-card) 75%);
  text-align: center;
}

.tpl-adaptive-closing__text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* ═══════════════════ 预览页 ═══════════════════ */

.tpl-adaptive-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--tpl-adaptive-radius-sm);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.tpl-adaptive-glyph:not(.fs-el) {
  background: var(--tpl-adaptive-card);
}

.tpl-adaptive-timeline {
  display: flex;
  gap: 8px;
  margin: 0 -20px;
  padding: 14px 20px 8px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.tpl-adaptive-timeline__item {
  position: relative;
  display: flex;
  flex: 0 0 92px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px 12px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
  text-align: center;
  scroll-snap-align: start;
}

.tpl-adaptive-timeline__item.is-current {
  background: var(--tpl-adaptive-primary-soft);
  box-shadow: inset 0 0 0 2px var(--tpl-adaptive-primary);
}

.tpl-adaptive-timeline__now {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
}

.tpl-adaptive-timeline__pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tpl-adaptive-timeline__ages {
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-timeline__years {
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-lucky__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tpl-adaptive-lucky__swatch {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: var(--tpl-adaptive-radius-md);
  box-shadow: inset 0 0 0 1px var(--tpl-adaptive-line);
}

.tpl-adaptive-lucky__name {
  font-size: 20px;
}

.tpl-adaptive-lucky__line {
  margin: 4px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 15px;
}

.tpl-adaptive-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpl-adaptive-keywords li {
  padding: 8px 14px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-size: 15px;
  font-weight: 700;
}

.tpl-adaptive-loading {
  display: grid;
  gap: 10px;
  padding: 4px 0;
}

.tpl-adaptive-loading__line {
  height: 16px;
  border-radius: var(--tpl-adaptive-radius-xs);
}

.tpl-adaptive-loading__text {
  margin: 6px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-locked {
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.tpl-adaptive-locked__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
}

.tpl-adaptive-locked__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  font-weight: 700;
}

.tpl-adaptive-locked__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tpl-adaptive-locked__title {
  font-size: 16px;
}

.tpl-adaptive-locked__teaser {
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-locked__icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 11px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--tpl-adaptive-muted);
}

.tpl-adaptive-locked__icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -7px;
  width: 10px;
  height: 9px;
  border: 2px solid var(--tpl-adaptive-muted);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

/* ═══════════════════ 结账页 ═══════════════════ */

.tpl-adaptive-summary__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tpl-adaptive-summary__icon {
  position: relative;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tpl-adaptive-primary), var(--tpl-adaptive-primary-strong));
}

.tpl-adaptive-summary__icon::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tpl-adaptive-accent);
}

.tpl-adaptive-summary__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.tpl-adaptive-summary__title {
  margin: 2px 0 0;
  font-size: 18px;
}

.tpl-adaptive-summary__text {
  margin: 4px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-summary__meta {
  margin: 12px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-summary__prices {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--tpl-adaptive-line);
}

.tpl-adaptive-summary__hint {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-sub);
  font-size: 14px;
}

.tpl-adaptive-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  text-align: center;
}

.tpl-adaptive-result__icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-result__icon::before,
.tpl-adaptive-result__icon::after {
  content: "";
  position: absolute;
  left: 26px;
  width: 4px;
  border-radius: 2px;
  background: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive-result__icon::before {
  top: 14px;
  height: 18px;
}

.tpl-adaptive-result__icon::after {
  top: 36px;
  height: 4px;
}

.tpl-adaptive-result--paid .tpl-adaptive-result__icon {
  background: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive-result--paid .tpl-adaptive-result__icon::before {
  top: 14px;
  left: 21px;
  width: 11px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  border-right: 4px solid var(--tpl-adaptive-primary);
  border-bottom: 4px solid var(--tpl-adaptive-primary);
  transform: rotate(45deg);
}

.tpl-adaptive-result--paid .tpl-adaptive-result__icon::after {
  display: none;
}

.tpl-adaptive-result__text {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.tpl-adaptive-coupon {
  padding-bottom: 12px;
}

.tpl-adaptive-coupon__applied {
  cursor: default;
}

.tpl-adaptive-coupon__applied:hover {
  background: transparent;
}

.tpl-adaptive-coupon__remove {
  margin: 0;
}

.tpl-adaptive-methods {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tpl-adaptive-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.tpl-adaptive-method__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tpl-adaptive-method__radio {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tpl-adaptive-card);
  box-shadow: inset 0 0 0 2px var(--tpl-adaptive-line-strong);
  transition: box-shadow 0.15s ease;
}

.tpl-adaptive-method__input:checked ~ .tpl-adaptive-method__radio {
  box-shadow: inset 0 0 0 7px var(--tpl-adaptive-primary);
}

.tpl-adaptive-method__input:focus-visible ~ .tpl-adaptive-method__radio {
  outline: 3px solid var(--tpl-adaptive-focus);
  outline-offset: 2px;
}

.tpl-adaptive-method:has(.tpl-adaptive-method__input:checked) {
  background: var(--tpl-adaptive-primary-soft);
  box-shadow: inset 0 0 0 2px var(--tpl-adaptive-primary);
}

.tpl-adaptive-method__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tpl-adaptive-method__label {
  font-size: 16px;
}

.tpl-adaptive-method__hint {
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
}

.tpl-adaptive-pay .tpl-adaptive-form__note {
  margin: 16px 0 0;
}

.tpl-adaptive-paycoin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-gold-soft);
}

.tpl-adaptive-paycoin__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tpl-adaptive-accent);
  box-shadow: inset 0 0 0 5px var(--tpl-adaptive-accent), inset 0 0 0 7px var(--tpl-adaptive-gold-soft);
}

.tpl-adaptive-paycoin__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tpl-adaptive-paycoin__title {
  font-size: 16px;
}

.tpl-adaptive-paycoin__meta {
  color: var(--tpl-adaptive-gold-text);
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
}

.tpl-adaptive-pledges {
  display: grid;
  gap: 6px;
  margin: 24px 4px 0;
  padding: 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
  list-style: none;
}

.tpl-adaptive-pledges__item--strong {
  color: var(--tpl-adaptive-sub);
  font-weight: 700;
}

.tpl-adaptive .tpl-adaptive-pledges a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--tpl-adaptive-muted-strong);
}

/* ═══════════════════ 报告阅读页 ═══════════════════ */

.tpl-adaptive-progress__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.tpl-adaptive-progress__pulse {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tpl-adaptive-primary);
  animation: tpl-adaptive-pulse 1.6s ease-in-out infinite;
}

@keyframes tpl-adaptive-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--tpl-adaptive-primary-line);
  }

  50% {
    box-shadow: 0 0 0 8px var(--tpl-adaptive-primary-soft);
  }
}

.tpl-adaptive-progress__title {
  margin: 0;
  font-size: 18px;
}

.tpl-adaptive-progress__count {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tpl-adaptive-progress__track {
  height: 10px;
  overflow: hidden;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tpl-adaptive-primary), var(--tpl-adaptive-accent));
  transition: width 0.6s var(--tpl-adaptive-ease);
}

.tpl-adaptive-progress__current {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
  font-weight: 700;
}

.tpl-adaptive-progress__note {
  margin: 8px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

.tpl-adaptive-progress__fresh {
  margin: 12px 0 0;
}

.tpl-adaptive-reader__bar {
  position: sticky;
  top: var(--tpl-adaptive-tabs-height);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 -16px 16px;
  padding: 6px 16px 10px;
  background: var(--tpl-adaptive-bg);
}

html:not(.fs-js) .tpl-adaptive-reader__bar {
  display: none;
}

.tpl-adaptive-reader__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-card);
  box-shadow: var(--tpl-adaptive-shadow-raise);
  color: var(--tpl-adaptive-sub);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tpl-adaptive-reader__tool:hover {
  color: var(--tpl-adaptive-primary-strong);
}

.tpl-adaptive-reader__toc-icon {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 0 / 7px 7px;
}

.tpl-adaptive-reader__sizes {
  display: inline-flex;
  gap: 4px;
}

.tpl-adaptive-reader__spacer {
  flex: 1 1 auto;
}

.tpl-adaptive-reader__progress {
  position: absolute;
  right: 16px;
  bottom: 2px;
  left: 16px;
  height: 3px;
  overflow: hidden;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-line);
}

.tpl-adaptive-reader__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--tpl-adaptive-primary);
}

.tpl-adaptive-reader__resume {
  margin: 0 0 16px;
}

.tpl-adaptive-reader {
  font-size: calc(17px * var(--fs-reader-scale, 1));
}

.tpl-adaptive-toc__panel {
  padding: 12px;
}

.tpl-adaptive-toc .tpl-adaptive-sheet__head {
  padding: 0 8px;
}

.tpl-adaptive-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpl-adaptive-toc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--tpl-adaptive-radius-sm);
  color: var(--tpl-adaptive-text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.tpl-adaptive-toc__link:hover {
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-toc__link.is-active {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-weight: 700;
}

.tpl-adaptive-toc__num {
  flex: 0 0 auto;
  color: var(--tpl-adaptive-muted);
  font-size: 13px;
  font-weight: 700;
}

.tpl-adaptive-toc__text {
  flex: 1 1 auto;
  min-width: 0;
}

.tpl-adaptive-toc__state {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.tpl-adaptive-toc__item.is-pending .tpl-adaptive-toc__text,
.tpl-adaptive-toc__item.is-failed .tpl-adaptive-toc__text,
.tpl-adaptive-toc__item.is-blocked .tpl-adaptive-toc__text {
  color: var(--tpl-adaptive-muted);
}

.tpl-adaptive-chapter {
  padding: 24px 20px;
  scroll-margin-top: calc(var(--tpl-adaptive-tabs-height) + 76px);
}

.tpl-adaptive-chapter__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1.4;
}

.tpl-adaptive-chapter__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 28px;
  margin-top: 1px;
  padding: 0 8px;
  border-radius: var(--tpl-adaptive-radius-pill);
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.tpl-adaptive-chapter.is-pending .tpl-adaptive-chapter__num,
.tpl-adaptive-chapter.is-failed .tpl-adaptive-chapter__num,
.tpl-adaptive-chapter.is-blocked .tpl-adaptive-chapter__num {
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive-chapter__body {
  line-height: 1.75;
}

.tpl-adaptive-chapter__sub {
  margin: 28px 0 12px;
  font-size: 17px;
}

.tpl-adaptive-chapter__body > .tpl-adaptive-chapter__sub:first-child {
  margin-top: 0;
}

.tpl-adaptive-chapter__html > :first-child {
  margin-top: 0;
}

.tpl-adaptive-chapter__html p {
  margin: 0 0 1em;
}

.tpl-adaptive-chapter__html h3,
.tpl-adaptive-chapter__html h4 {
  margin: 1.4em 0 0.6em;
  font-size: 1.05em;
}

.tpl-adaptive-chapter__html ul,
.tpl-adaptive-chapter__html ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.tpl-adaptive-chapter__note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-warning-soft);
  color: var(--tpl-adaptive-sub);
  font-size: 14px;
  line-height: 1.6;
}

.tpl-adaptive-chapter__top {
  margin: 16px 0 0;
  font-size: 13px;
  text-align: right;
}

.tpl-adaptive-chapter__top a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive-explain {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.tpl-adaptive-explain__row {
  padding: 12px 14px;
  border-radius: var(--tpl-adaptive-radius-sm);
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-explain dt {
  font-size: 15px;
  font-weight: 700;
}

.tpl-adaptive-explain dd {
  margin: 4px 0 0;
  color: var(--tpl-adaptive-sub);
  font-size: 15px;
}

.tpl-adaptive-quota {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.tpl-adaptive-quota__icon {
  position: relative;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive-quota__icon::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 11px;
  width: 22px;
  height: 16px;
  border-radius: 8px;
  background: var(--tpl-adaptive-primary);
}

.tpl-adaptive-quota__icon::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 14px;
  border: 5px solid transparent;
  border-top-color: var(--tpl-adaptive-primary);
  border-left-color: var(--tpl-adaptive-primary);
}

.tpl-adaptive-quota__body {
  flex: 1 1 180px;
  min-width: 0;
}

.tpl-adaptive-quota__title {
  font-size: 16px;
}

.tpl-adaptive-quota__text {
  margin: 2px 0 0;
  color: var(--tpl-adaptive-muted);
  font-size: 14px;
}

/* ═══════════════════ 核心组件 fs-* 外观覆盖 ═══════════════════ */

.tpl-adaptive .fs-credibility-legend {
  margin: 0 4px 16px;
  color: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive .fs-credibility-legend__swatch {
  border-radius: 50%;
}

.tpl-adaptive .fs-lang-badge {
  border: 0;
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-weight: 700;
}

.tpl-adaptive .fs-empty {
  border: 0;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
  color: var(--tpl-adaptive-muted-strong);
}

.tpl-adaptive .fs-pillars {
  margin: 0 -6px 12px;
}

.tpl-adaptive .fs-pillars__table {
  min-width: 300px;
  border-spacing: 6px;
}

.tpl-adaptive .fs-pillars__head {
  padding: 2px 2px 6px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

.tpl-adaptive .fs-pillars__char {
  min-height: 76px;
  border-radius: var(--tpl-adaptive-radius-md);
  font-size: 28px;
}

.tpl-adaptive .fs-pillars__hidden {
  min-height: 38px;
  border-radius: 10px;
  font-size: 14px;
}

.tpl-adaptive .fs-pillars__sub {
  font-size: 12px;
}

.tpl-adaptive .fs-pillars .is-empty {
  border: 0;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive .fs-elements-bar {
  gap: 12px;
  margin-bottom: 8px;
}

.tpl-adaptive .fs-elements-bar__track {
  height: 10px;
}

.tpl-adaptive .fs-elements-bar__value {
  color: var(--tpl-adaptive-text);
  font-weight: 700;
}

.tpl-adaptive .fs-block {
  padding: 18px 18px 16px 22px;
  border: 0;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
  box-shadow: inset 4px 0 0 var(--fs-level);
}

.tpl-adaptive .fs-block__badge {
  font-size: 12px;
}

.tpl-adaptive .fs-block__title {
  font-size: 1.06em;
}

.tpl-adaptive .fs-type-card {
  border-radius: var(--tpl-adaptive-radius);
  box-shadow: var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive .fs-type-card__keywords li {
  background: var(--tpl-adaptive-primary-soft);
  color: var(--tpl-adaptive-primary-strong);
  font-weight: 700;
}

.tpl-adaptive .fs-curve__canvas {
  border: 0;
  border-radius: var(--tpl-adaptive-radius-md);
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive .fs-curve__cta {
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
}

.tpl-adaptive .fs-curve__event {
  border: 0;
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive .fs-talent-card__face {
  border: 0;
  border-radius: var(--tpl-adaptive-radius);
  box-shadow: var(--tpl-adaptive-shadow-raise);
}

.tpl-adaptive .fs-share-card,
.tpl-adaptive .fs-today-block,
.tpl-adaptive .fs-wallpaper-gallery__item img {
  border: 0;
  border-radius: var(--tpl-adaptive-radius);
  box-shadow: var(--tpl-adaptive-shadow);
}

.tpl-adaptive .fs-share-card__action:first-child {
  background: var(--tpl-adaptive-primary);
  color: var(--tpl-adaptive-on-primary);
}

.tpl-adaptive .fs-mascot__bubble:not(:empty) {
  background: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive .fs-mascot__bubble:not(:empty)::before {
  border-bottom-color: var(--tpl-adaptive-primary-soft);
}

.tpl-adaptive .fs-disclaimer {
  color: var(--tpl-adaptive-muted-strong);
}

/* ═══════════════════ 页脚 ═══════════════════ */

.tpl-adaptive-footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  background: var(--tpl-adaptive-fill);
}

.tpl-adaptive-footer__inner {
  display: grid;
  gap: 16px;
  max-width: var(--tpl-adaptive-width);
  margin: 0 auto;
  padding: 0 20px;
}

.tpl-adaptive-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.tpl-adaptive-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 14px;
  text-decoration: none;
}

.tpl-adaptive-footer__nav a:hover {
  color: var(--tpl-adaptive-text);
  text-decoration: underline;
}

.tpl-adaptive-footer__nav .tpl-adaptive-footer__strong {
  color: var(--tpl-adaptive-sub);
  font-weight: 700;
}

.tpl-adaptive-footer__adult {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

.tpl-adaptive-footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tpl-adaptive-sub);
  color: var(--tpl-adaptive-card);
  font-size: 12px;
  font-weight: 700;
}

.tpl-adaptive-footer__copy {
  margin: 0;
  color: var(--tpl-adaptive-muted-strong);
  font-size: 13px;
}

/* ═══════════════════ 响应式 ═══════════════════ */

@media (max-width: 575.98px) {
  .tpl-adaptive-stepper {
    padding-bottom: 26px;
  }

  .tpl-adaptive-stepper__item:not(.is-current) .tpl-adaptive-stepper__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .tpl-adaptive-stepper__item.is-current .tpl-adaptive-stepper__label {
    position: absolute;
    right: 4px;
    bottom: 0;
    left: 4px;
  }

  .tpl-adaptive-inline {
    flex-wrap: wrap;
  }

  .tpl-adaptive-langpick .tpl-adaptive-inline > .tpl-adaptive-button {
    flex: 1 1 100%;
  }
}

@media (max-width: 767.98px) {
  .tpl-adaptive .fs-cta-bar {
    background: var(--tpl-adaptive-card);
    box-shadow: 0 -1px 0 var(--tpl-adaptive-line), var(--tpl-adaptive-shadow-sheet);
  }

  .tpl-adaptive-cta .fs-cta-bar__note {
    display: none;
  }
}

@media (min-width: 576px) {
  .tpl-adaptive-main {
    padding: 24px 24px 56px;
  }

  .tpl-adaptive-hero__title {
    font-size: 30px;
  }

  .tpl-adaptive-voices {
    grid-auto-columns: minmax(260px, 46%);
  }
}

@media (min-width: 768px) {
  .tpl-adaptive-appbar__inner {
    padding: 10px 24px 6px;
  }

  .tpl-adaptive-appbar__name {
    max-width: none;
  }

  .tpl-adaptive-tabs__list {
    padding: 0 20px;
  }

  .tpl-adaptive-page__title {
    font-size: 30px;
  }

  .tpl-adaptive-card,
  .tpl-adaptive-fieldset {
    padding: 24px;
  }

  .tpl-adaptive-card--flush {
    padding: 8px 0;
  }

  .tpl-adaptive-fieldset {
    padding: 28px 28px 24px;
  }

  .tpl-adaptive-home__cta {
    display: none;
  }

  .tpl-adaptive-stepnav {
    margin-top: 28px;
  }

  .tpl-adaptive-chapter {
    padding: 32px 32px 24px;
  }

  .tpl-adaptive-chapter__title {
    font-size: 23px;
  }

  .tpl-adaptive-sheet--static,
  html.fs-js .tpl-adaptive-sheet[data-fs-drawer] {
    align-items: flex-end;
    padding: 0 24px 24px;
  }

  html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__panel,
  .tpl-adaptive-sheet--static .tpl-adaptive-sheet__panel {
    padding: 8px 28px 28px;
    border-radius: 24px;
  }

  html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__panel {
    transform: translateY(calc(100% + 24px));
  }

  .tpl-adaptive-voices {
    grid-auto-columns: minmax(240px, 40%);
  }
}

@media (min-width: 1024px) {
  .tpl-adaptive-home {
    max-width: var(--tpl-adaptive-home);
  }

  .tpl-adaptive-hero {
    flex-direction: row-reverse;
    align-items: stretch;
  }

  .tpl-adaptive-hero__art {
    display: flex;
    align-items: center;
    flex: 0 0 42%;
    padding: 32px;
  }

  .tpl-adaptive-hero__body {
    flex: 1 1 auto;
    padding: 48px 40px;
  }

  .tpl-adaptive-hero__title {
    font-size: 36px;
  }

  .tpl-adaptive-hero__body .tpl-adaptive-button--block {
    display: inline-flex;
    width: auto;
    min-width: 280px;
  }

  .tpl-adaptive-offers:not(.tpl-adaptive-offers--stack) {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .tpl-adaptive-voices {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .tpl-adaptive-report.has-toc {
    max-width: calc(240px + 32px + var(--tpl-adaptive-read));
  }

  .tpl-adaptive-report.has-toc .tpl-adaptive-reader__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, var(--tpl-adaptive-read));
    align-items: start;
    gap: 32px;
  }

  .tpl-adaptive-report.has-toc .tpl-adaptive-reader__toc-open {
    display: none !important;
  }

  .tpl-adaptive-toc,
  html.fs-js .tpl-adaptive-toc[data-fs-drawer] {
    position: sticky;
    inset: auto;
    top: calc(var(--tpl-adaptive-tabs-height) + 72px);
    z-index: 1;
    display: block;
    padding: 0;
    max-height: calc(100vh - var(--tpl-adaptive-tabs-height) - 96px);
    overflow-y: auto;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  html.fs-js .tpl-adaptive-toc[data-fs-drawer] .tpl-adaptive-sheet__panel,
  .tpl-adaptive-toc .tpl-adaptive-sheet__panel {
    position: static;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 12px;
    overflow: visible;
    border-radius: var(--tpl-adaptive-radius);
    box-shadow: var(--tpl-adaptive-shadow);
    transform: none;
    transition: none;
  }

  html.fs-js .tpl-adaptive-toc[data-fs-drawer] .tpl-adaptive-sheet__backdrop,
  html.fs-js .tpl-adaptive-toc[data-fs-drawer] .tpl-adaptive-sheet__grip,
  html.fs-js .tpl-adaptive-toc[data-fs-drawer] .tpl-adaptive-sheet__close {
    display: none !important;
  }

  .tpl-adaptive-toc__link {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 1023.98px) {
  html:has(.tpl-adaptive-toc.is-open) {
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  .tpl-adaptive-main {
    padding-top: 32px;
  }
}

/* ═══════════════════ 动效与打印 ═══════════════════ */

@media (prefers-reduced-motion: reduce) {
  .tpl-adaptive-art__float,
  .tpl-adaptive-progress__pulse {
    animation: none;
  }

  .tpl-adaptive-button,
  .tpl-adaptive .fs-cta-bar__button,
  .tpl-adaptive-progress__fill,
  html.fs-js .tpl-adaptive-sheet[data-fs-drawer],
  html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__panel,
  html.fs-js .tpl-adaptive-sheet[data-fs-drawer] .tpl-adaptive-sheet__backdrop {
    transition: none;
  }
}

@media print {
  .tpl-adaptive-skip,
  .tpl-adaptive-appbar,
  .tpl-adaptive-tabs,
  .tpl-adaptive-flash,
  .tpl-adaptive-footer__nav,
  .tpl-adaptive-reader__bar,
  .tpl-adaptive-reader__resume,
  .tpl-adaptive-toc,
  .tpl-adaptive-report__actions,
  .tpl-adaptive-chapter__top,
  .tpl-adaptive-progress,
  .tpl-adaptive-sheet,
  .tpl-adaptive-cta,
  .tpl-adaptive-menu {
    display: none !important;
  }

  body.tpl-adaptive {
    display: block;
    background: var(--tpl-adaptive-card);
  }

  .tpl-adaptive-main {
    max-width: none;
    padding: 0;
  }

  .tpl-adaptive-report,
  .tpl-adaptive-report.has-toc .tpl-adaptive-reader__layout {
    display: block;
    max-width: none;
  }

  .tpl-adaptive-card,
  .tpl-adaptive-chapter,
  .tpl-adaptive-fold--card {
    box-shadow: none;
    border: 1px solid var(--tpl-adaptive-line);
  }

  .tpl-adaptive-chapter {
    break-inside: auto;
  }

  .tpl-adaptive-chapter__title {
    break-after: avoid;
  }

  .tpl-adaptive-footer {
    margin-top: 24px;
    padding: 16px 0 0;
    background: none;
  }
}
