/* 首页专用样式：模拟应用窗口、升光首屏、页签、价格。令牌全部来自 site.css 的 :root，这里只加首页自己的两个渐变色。 */
:root {
  --mega-top: #2a2b2f;
  --mega-bottom: #8e9197;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --mega-top: #f2f3f5;
    --mega-bottom: #8a8e97;
  }
}
:root[data-theme='dark'] {
  --mega-top: #f2f3f5;
  --mega-bottom: #8a8e97;
}

/* ---------- 模拟应用窗口（照桌面端结构缩小） ---------- */
.win {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  isolation: isolate;
}
.win-side {
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-block: 14px;
  color: var(--text-muted);
}
.win-side .wordmark {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.win-side .si {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  position: relative;
}
.win-side .si.on {
  background: var(--bg-active);
  color: var(--text-primary);
}
.win-side .si.on::before {
  content: '';
  position: absolute;
  left: -9px;
  width: 2px;
  height: 16px;
  border-radius: 2px;
  background: var(--text-primary);
}
.win-side .si .ico {
  width: 16px;
  height: 16px;
}
.win-side .grow {
  flex: 1;
}
.win-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.win-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--text-muted);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-subtle);
  white-space: nowrap;
  overflow: hidden;
}
.win-top b {
  color: var(--text-primary);
  font-weight: 600;
}
.win-top .sep {
  opacity: 0.5;
}
.win-top .dots {
  margin-left: auto;
  display: flex;
  gap: 14px;
  opacity: 0.6;
}
.win-top .dots i {
  width: 10px;
  height: 1.5px;
  background: currentColor;
  display: block;
}
.win-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 36%, 300px);
  min-height: 0;
}
.win-body.single {
  grid-template-columns: minmax(0, 1fr);
}
.win-pane {
  min-width: 0;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
}
.win-right {
  border-left: 1px solid var(--line-subtle);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

/* 字幕 */
.cap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 56px;
}
.cap-line {
  transition: opacity var(--dur-slow) var(--ease-out);
}
.cap-line.old {
  opacity: 0.42;
}
.cap-en {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-source);
}
.cap-en .w {
  transition:
    color var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}
.cap-en .w.p {
  color: var(--text-partial);
}
.cap-en .w.h {
  opacity: 0;
}
.cap-zh {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 4px;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    filter var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.cap-zh.h {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(4px);
}
.opbar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.opbar span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}
.opbar span.main {
  background: var(--accent);
  color: var(--accent-on);
}
.opbar .ico {
  width: 15px;
  height: 15px;
}
.recdot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50%;
  background: var(--rec);
  margin: 0 12px 0 8px;
  animation: breathe var(--dur-loop-calm) ease-in-out infinite;
}
@keyframes breathe {
  50% {
    opacity: 0.35;
  }
}

/* 右栏卡片 */
.rtabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font-size: 12px;
  color: var(--text-muted);
}
.rtabs span {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  border-radius: 6px;
}
.rtabs span.on {
  background: var(--bg-panel);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  position: relative;
}
.card .t {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
}
.card .s {
  color: var(--text-secondary);
}
.card .m {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card.key::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--highlight);
}
.card.arrive {
  animation: arrive 900ms var(--ease-out) both;
}
@keyframes arrive {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    box-shadow: 0 0 0 0 transparent;
  }
  35% {
    opacity: 1;
    transform: none;
    box-shadow:
      0 0 0 1px var(--highlight),
      0 0 28px -4px var(--highlight);
  }
  100% {
    box-shadow:
      0 0 0 1px transparent,
      0 0 0 0 transparent;
  }
}
.qa-q {
  display: flex;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 12px;
}
.qa-a {
  margin-top: 6px;
  color: var(--text-primary);
  font-size: 12.5px;
}
.cite {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.cite .ico {
  width: 12px;
  height: 12px;
}

/* 笔记 */
.note h4 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 700;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.note h4 .n {
  color: var(--text-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.note .meta {
  color: var(--text-muted);
  font-size: 11.5px;
  margin-top: 4px;
}
.note .callout {
  margin-top: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.note .callout b {
  color: var(--text-primary);
}
.note h5 {
  font-size: 14px;
  margin: 18px 0 6px;
}
.note ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 12.5px;
}
.note mark {
  background: var(--highlight-soft);
  color: inherit;
  padding: 0 3px;
  border-radius: 4px;
}
.tbl {
  margin-top: 10px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 12px;
}
.tbl div {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  padding: 7px 12px;
  border-top: 1px solid var(--line-subtle);
  color: var(--text-secondary);
}
.tbl div:first-child {
  border-top: 0;
  color: var(--text-muted);
  font-size: 11px;
}
.tbl div span:first-child {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.toc {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 1px solid var(--line-subtle);
  padding-left: 12px;
}
.toc .on {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}
.toc .on::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--text-primary);
}
.src {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.src .mono {
  color: var(--text-muted);
  font-size: 11px;
}

/* 课前 */
.syl {
  display: grid;
  gap: 1px;
  background: var(--line-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  font-size: 12.5px;
}
.syl > div {
  display: grid;
  grid-template-columns: 34px 1fr 82px;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-panel);
  align-items: center;
}
.syl .n {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.syl .d {
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}
.syl .exam {
  background: var(--bg-elevated);
}
.syl .exam .t {
  font-weight: 600;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--line-subtle);
}
.drop {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

/* 考前 */
.exam-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.exam-card .big {
  font-size: 52px;
  line-height: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.exam-card .lbl {
  font-size: 12px;
  color: var(--text-muted);
}
.exam-card .ttl {
  font-weight: 600;
  font-size: 14px;
}
.rev-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.rev-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}
.rev-list .ok {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.rev-list .ok.y {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}
.rev-list .ok .ico {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}
.rev-list .tag {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

/* 货币切换 */
.fx {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--line-subtle);
  font-size: 13px;
  position: relative;
}
.fx button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}
.fx button[aria-pressed='true'] {
  color: var(--accent-on);
}
.fx .knob {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  transition:
    transform var(--dur-slow) var(--ease-inout),
    width var(--dur-slow) var(--ease-inout);
}

/* ---------- 问答 ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 36px;
}
.faq details {
  border-top: 1px solid var(--line-subtle);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  transition: transform var(--dur-base) var(--ease-out);
  color: var(--text-muted);
}
.faq details[open] summary .ico {
  transform: rotate(180deg);
}
.faq p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}
@media (max-width: 760px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* ---------- 首页版面（方案 A 第三版） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 104px 300px;
  text-align: center;
}
.hero canvas,
.outro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero .copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
}
.hero .copy > :not(.mega) {
  position: relative;
}

.mega {
  margin: 0;
  font-weight: 900;
  font-size: clamp(140px, 24vw, 320px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 800;
  background: linear-gradient(180deg, var(--mega-top) 20%, var(--mega-bottom) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.h1 {
  margin: -8px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.psub {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
}
.sub {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.btn-xl {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}
.reveal {
  animation: rv 900ms var(--ease-out) both;
}
.reveal.d1 {
  animation-delay: 250ms;
}
.reveal.d2 {
  animation-delay: 400ms;
}
.reveal.d3 {
  animation-delay: 550ms;
}
.mega.drawn {
  color: transparent;
  background: none;
}
@keyframes rv {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes rvbig {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(10px);
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, var(--bg-app));
}

/* 第二屏：实时字幕单独一整屏，标题在上，窗口放大，进入视口时从 0.94 放大到 1 */
.live {
  padding-block: 40px 140px;
}
.sec-head {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
}
.sec-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 36em;
  text-wrap: pretty;
}
.live .stagebox {
  margin: 56px auto 0;
  max-width: 1200px;
  transform: scale(calc(0.94 + 0.06 * var(--p, 1)));
  opacity: calc(0.5 + 0.5 * var(--p, 1));
  transform-origin: 50% 0;
  will-change: transform;
}
.live .win {
  font-size: 15px;
}
.live .win-pane {
  min-height: 560px;
  padding: 44px 52px;
}
.live .cap {
  gap: 26px;
}
.live .cap-en {
  font-size: 19px;
}
.live .cap-zh {
  font-size: 28px;
  line-height: 1.5;
}
.live .win-right {
  padding: 20px;
  gap: 12px;
}
.live .card {
  font-size: 13.5px;
}
.live .card .t {
  font-size: 14px;
}
.notes3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px auto 0;
  max-width: 1200px;
}
.notes3 > div {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}
.notes3 b {
  font-size: 16px;
}
.notes3 span {
  color: var(--text-secondary);
  font-size: 14.5px;
}
@media (max-width: 760px) {
  .notes3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .live .win-pane {
    min-height: 420px;
    padding: 24px;
  }
  .live .cap-zh {
    font-size: 21px;
  }
  .live .cap-en {
    font-size: 15px;
  }
}

/* 第三屏：往下滚自动逐段展示，右边窗口钉住随段落切换，顶部一条五段进度 */
.flowsec {
  padding-block: 60px 80px;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  margin-top: 72px;
}
.beat {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 500ms var(--ease-out);
}
.beat.on {
  opacity: 1;
}
.beat .stg {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.beat h3 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}
.beat p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 24em;
}
.beat .inline-win {
  display: none;
}
.sticky {
  position: sticky;
  top: max(84px, calc(50vh - 290px));
  align-self: start;
}
.stepper {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.stepper span {
  flex: 1;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out);
}
.stepper span::before {
  content: '';
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background var(--dur-slow) var(--ease-out);
}
.stepper span.done::before,
.stepper span.on::before {
  background: var(--text-primary);
}
.stepper span.on {
  color: var(--text-primary);
  font-weight: 600;
}
.screen {
  position: relative;
  height: min(520px, 66vh);
}
.screen .win {
  position: absolute;
  inset: 0;
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out),
    filter 600ms var(--ease-out);
}
.screen .win:not(.on) {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  filter: blur(4px);
  pointer-events: none;
}
@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }
  .sticky {
    display: none;
  }
  .beat {
    min-height: 0;
    opacity: 1;
    padding-block: 36px;
  }
  .beat .inline-win {
    display: grid;
    margin-top: 22px;
  }
}

/* 两种用法 + 数据保存在本机 */
.ways {
  padding-block: 120px 40px;
}
.ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.way {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}
.way .hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.way h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.way .tag {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text-secondary);
}
.way .tag.free {
  background: var(--accent);
  color: var(--accent-on);
}
.way p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}
.way .demo {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
}
.acc-top {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12.5px;
}
.acc-n {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.acc-n b {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.acc-n span {
  color: var(--text-muted);
}
.acc-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  overflow: hidden;
}
.acc-bar i {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--text-primary);
  border-radius: 4px;
}
.cfg {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-block: 2px;
}
.cfg .k {
  color: var(--text-muted);
  font-size: 12.5px;
}
.cfg .v {
  font-weight: 500;
}
.cfg .st {
  font-size: 12px;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cfg .st::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.cfg .mono {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.local3 {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.local3 h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.local3 ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}
.local3 li {
  display: flex;
  gap: 10px;
}
.local3 li .ico {
  margin-top: 4px;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}
.tree {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  white-space: pre;
}
.tree b {
  color: var(--text-primary);
  font-weight: 400;
}
.tree i {
  color: var(--text-muted);
  font-style: normal;
}
@media (max-width: 860px) {
  .ways-grid,
  .local3 {
    grid-template-columns: 1fr;
  }
  .way,
  .local3 {
    padding: 24px;
  }
}

/* 首屏第二个按钮：网页版入口，灰色不抢视觉 */
.btn-quiet {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-color: var(--line-subtle);
}
.btn-quiet:hover {
  color: var(--text-primary);
  background: var(--bg-active);
}
.btn-quiet .soon {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: -2px;
}

/* 价格：小时数做主角 */
.pricesec {
  padding-block: 40px 140px;
}
.ptop {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
}
.ptop h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-weight: 800;
}
.ptop h2 em {
  font-style: normal;
  color: var(--text-muted);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.tier {
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--line-strong);
}
.tier .nm {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tier .h {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}
.tier .h small {
  font-size: 16px;
  letter-spacing: 0;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}
.tier .pr {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-top: 18px;
}
.tier .pr small {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
}
.tier .cny {
  font-size: 12px;
  color: var(--text-muted);
  height: 16px;
  transition: opacity var(--dur-base) var(--ease-out);
}
.tier .cny.h {
  opacity: 0;
}
.tier.free {
  background: var(--accent);
  color: var(--accent-on);
  border-color: transparent;
}
.tier.free .nm,
.tier.free .h small,
.tier.free .pr small {
  color: color-mix(in srgb, var(--accent-on) 60%, transparent);
}
.pnote {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.pnote b {
  color: var(--text-secondary);
  font-weight: 600;
}
@media (max-width: 960px) {
  .tiers {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .tier .h {
    font-size: 52px;
  }
}

/* 收尾：再升一次光 */
.outro {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: 150px 170px;
}
.outro .copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 30px;
}
.outro h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.foot {
  border-top: 0;
}
@media (max-width: 760px) {
  .hero {
    padding-block: 88px 240px;
  }
}

@media (max-width: 760px) {
  .win-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .win-right {
    display: none;
  }
}
.fx .knob {
  width: calc(50% - 3px);
}
.faqsec {
  padding-top: 0;
}
.faq ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
  font-size: 14px;
  display: grid;
  gap: 6px;
}

/* 网页版入口：还没上线，灰色且点了不跳 */
.btn-quiet[aria-disabled='true'] {
  cursor: default;
}

/* 悬浮窗与字幕条：一块「屏幕」上放课件，悬浮窗在右，字幕条在下，两者叠一角；同一段字幕在两处同步滚动 */
:root {
  --bar-bg: rgba(12, 13, 15, 0.8);
  --bar-en: rgba(255, 255, 255, 0.66);
  --bar-zh: #ffffff;
  --desk-bg: #e4e5e9;
  --slide-bg: #ffffff;
  --slide-ink: #1e1f23;
  --slide-mute: #7a7d84;
  --slide-line: #d5d7dc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --desk-bg: #0b0c0e;
    --slide-bg: #1b1c20;
    --slide-ink: #e8e9ec;
    --slide-mute: #80838b;
    --slide-line: #33353b;
  }
}
:root[data-theme='dark'] {
  --desk-bg: #0b0c0e;
  --slide-bg: #1b1c20;
  --slide-ink: #e8e9ec;
  --slide-mute: #80838b;
  --slide-line: #33353b;
}
.overlay {
  padding-block: 120px 60px;
}
.desk {
  position: relative;
  margin: 56px auto 0;
  max-width: 1120px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--desk-bg);
  border: 1px solid var(--line-subtle);
  overflow: hidden;
}
.slide {
  position: absolute;
  left: 4%;
  top: 6%;
  width: 64%;
  height: 70%;
  background: var(--slide-bg);
  color: var(--slide-ink);
  border-radius: 10px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 18px 50px -20px rgba(0, 0, 0, 0.35);
  padding: 4.2% 4.6%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 4% 6%;
  font-family: var(--font-sans);
}
.slide h4 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(14px, 2vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.slide ol {
  margin: 0;
  padding-left: 1.2em;
  font-size: clamp(10px, 1.15vw, 15px);
  line-height: 1.75;
  color: var(--slide-ink);
}
.slide ol li::marker {
  color: var(--slide-mute);
}
.slide svg {
  width: 100%;
  height: 100%;
}
.slide svg line {
  stroke: var(--slide-line);
  stroke-width: 2;
}
.slide svg circle {
  fill: var(--slide-bg);
  stroke: var(--slide-mute);
  stroke-width: 1.5;
}
.slide svg circle.hl {
  stroke: var(--slide-ink);
  stroke-width: 2.5;
}
.slide svg text {
  fill: var(--slide-ink);
  font-size: 13px;
  font-family: var(--font-sans);
  text-anchor: middle;
  dominant-baseline: central;
}
.slide .foot-l {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: clamp(9px, 0.9vw, 12px);
  color: var(--slide-mute);
}
.fw {
  position: absolute;
  right: 3.5%;
  top: 16%;
  width: 34%;
  height: 66%;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(var(--dx, 0px), calc((1 - var(--p, 1)) * 40px + var(--dy, 0px)));
}
.fw-bar {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--bg-elevated) 96%, #fff);
}
.fw-bar .ico {
  width: 14px;
  height: 14px;
}
.fw-bar span,
.fw-bar button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.fw-bar span.on {
  color: var(--text-primary);
}
.fw-bar .gap {
  flex: 1;
  width: auto;
}
.fw-cap {
  flex: 1;
  min-height: 0;
  padding: 6px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  overflow: hidden;
}
.fw-cap .cap-line {
  flex: none;
}
.fw-cap .cap-en {
  font-size: 13.5px;
}
.fw-cap .cap-zh {
  font-size: 16px;
  margin-top: 2px;
}
.fw-ev {
  flex: none;
  margin: 14px 12px 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-subtle);
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.fw-ev b {
  color: var(--text-primary);
  font-weight: 600;
}
.cbar {
  position: absolute;
  left: 21%;
  bottom: 6%;
  width: 58%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 26px 18px;
  border-radius: 14px;
  background: var(--bar-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translateY(calc((1 - var(--p, 1)) * 70px));
}
.cbar .en {
  color: var(--bar-en);
  font-size: clamp(11px, 1.15vw, 15px);
  line-height: 1.5;
  min-height: 1.5em;
}
.cbar .zh {
  color: var(--bar-zh);
  font-size: clamp(15px, 1.9vw, 25px);
  font-weight: 600;
  line-height: 1.45;
  margin-top: 4px;
  min-height: 1.45em;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    filter var(--dur-slow) var(--ease-out);
}
.cbar .zh.h {
  opacity: 0;
  filter: blur(6px);
}
.cbar .en .w.h {
  opacity: 0;
}
.cbar .en .w.p {
  color: rgba(255, 255, 255, 0.4);
}
.cbar .pt {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, 0.45);
}
.cbar .pt .ico {
  width: 14px;
  height: 14px;
}
.cbar {
  transition:
    background var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out);
}
.cbar.ct {
  background: rgba(12, 13, 15, 0.34);
  border-color: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35);
}
.cbar.ct .zh,
.cbar.ct .en {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.cbar .pt[aria-pressed='true'] {
  color: #fff;
}
.cbar .ct-pill {
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 11px;
  line-height: 1;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.cbar.ct .ct-pill {
  opacity: 1;
  transform: none;
}
.legend2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 36px auto 0;
  max-width: 1200px;
}
.legend2 > div {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}
.legend2 b {
  font-size: 16px;
}
.legend2 span {
  color: var(--text-secondary);
  font-size: 14.5px;
}
@media (max-width: 760px) {
  .desk {
    aspect-ratio: 3 / 4;
  }
  .slide {
    left: 5%;
    right: 5%;
    width: auto;
    top: 4%;
    bottom: auto;
    height: 34%;
    grid-template-columns: 1fr;
  }
  .slide ol {
    display: none;
  }
  .fw {
    left: 10%;
    right: 4%;
    width: auto;
    top: 30%;
    height: 46%;
  }
  .cbar {
    left: 4%;
    right: 4%;
    width: auto;
    bottom: 4%;
    padding: 30px 16px 14px;
  }
  .legend2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 更多功能：四张卡，每张一个会动的小演示，进入视口才播，离开就停 */
.more {
  padding-block: 120px 40px;
}
.more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.feat {
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.feat h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.feat > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.feat .stage {
  margin-top: 14px;
  height: 300px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.fade-in {
  animation: arrive 700ms var(--ease-out) both;
}
.caret::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 1.05em;
  vertical-align: -2px;
  margin-left: 2px;
  background: var(--text-muted);
  animation: blink 900ms steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.prompter {
  font-size: 15px;
  line-height: 1.55;
  transition:
    transform 600ms var(--ease-out),
    opacity var(--dur-slow) var(--ease-out);
}
.prompter.out {
  opacity: 0;
}
.prompter.nt {
  transition: none;
}
.pgbox {
  display: grid;
  gap: 10px;
  align-content: start;
}
.pgbox.p2 {
  height: var(--ph, 240px);
}
.pgbox.p3 {
  min-height: var(--ph, 240px);
}
.pgno {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.prompter .ln {
  color: var(--text-muted);
  transition: color var(--dur-base) var(--ease-out);
}
.prompter .ln.cur {
  color: var(--text-secondary);
}
.prompter .ln .w {
  transition: color 200ms var(--ease-out);
}
.prompter .ln .w.r {
  color: var(--text-primary);
}
.pgline {
  position: relative;
  height: 34px;
  margin-block: 2px;
  margin-bottom: 0;
}
.pgline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: var(--line-subtle);
}
.pgline i {
  position: absolute;
  left: 0;
  top: 8px;
  height: 1px;
  width: 100%;
  background: var(--text-secondary);
  transform-origin: 0 50%;
  transform: scaleX(var(--f, 0));
  transition: transform 300ms linear;
}
.pgline .hint {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  transition:
    opacity 300ms var(--ease-out),
    color 300ms var(--ease-out);
  white-space: nowrap;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.pgline .hint .ico {
  width: 12px;
  height: 12px;
}
.pgline .hint.s {
  opacity: 1;
}
.pgline .hint.go {
  color: var(--text-primary);
  font-weight: 700;
}
.mfile {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}
.mfile .ico {
  grid-row: span 2;
  color: var(--text-secondary);
}
.mfile b {
  font-weight: 600;
}
.mfile .mono,
.mfile .re {
  color: var(--text-muted);
  font-size: 12px;
}
.mfile .st {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.mfile .bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--line-strong);
  overflow: hidden;
}
.mfile .bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--text-primary);
  transform-origin: 0 50%;
  transform: scaleX(var(--f, 0));
}
.srt {
  display: grid;
  gap: 7px;
}
.srt > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
}
.srt .mono {
  color: var(--text-muted);
  font-size: 11.5px;
  padding-top: 1px;
}
.srt .en {
  color: var(--text-source);
  font-size: 12.5px;
}
.srt .zh {
  color: var(--text-primary);
}
.exp {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.exp .chip.on {
  background: var(--accent);
  color: var(--accent-on);
  border-color: transparent;
}
/* ---------- 可点击的演示：提示、反馈小条、各处的悬停与焦点 ---------- */
.feat .stage {
  padding-top: 30px;
}
.sc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.feat .stage[data-demo='prompter'] .sc {
  overflow: hidden;
  position: relative;
}
.try {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 4;
  font-size: 11.5px;
  line-height: 1;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.desk .try {
  top: 10px;
  right: 12px;
  background: color-mix(in srgb, var(--desk-bg) 78%, transparent);
}
.try.gone {
  opacity: 0;
}
.toast {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  color: var(--text-primary);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.desk .toast {
  bottom: auto;
  top: 12px;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
html.js .desk :is(button, [role='button']),
html.js .stage :is(button, [role='button'], .card, .ln) {
  cursor: pointer;
}
.desk :focus-visible,
.stage :focus-visible {
  outline-offset: -2px;
}
.fw-bar button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}
.fw-bar button.on {
  color: var(--text-primary);
}
.fw-bar button:hover,
.cbar .pt:hover {
  background: var(--bg-active);
}
.fw-bar button[aria-pressed='false'] {
  color: var(--text-muted);
}
html.js .fw-bar {
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.fw.drag .fw-bar {
  cursor: grabbing;
}
.fw.drag {
  box-shadow:
    var(--shadow-float),
    0 0 0 1px var(--line-strong);
  z-index: 3;
}
.fw.homing {
  transition: transform 420ms var(--ease-out);
}
.fw-bar .pin .ico {
  transform: rotate(45deg);
  transition:
    transform var(--dur-slow) var(--ease-out),
    fill var(--dur-slow) var(--ease-out);
}
.fw-bar .pin[aria-pressed='true'] .ico {
  transform: none;
  fill: color-mix(in srgb, currentColor 28%, transparent);
}
.fw-ev {
  transition:
    transform var(--dur-slow) var(--ease-out),
    opacity var(--dur-slow) var(--ease-out);
}
.fw.nohl .fw-ev {
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
}
.cbar .pt:hover {
  color: #fff;
}
.exp button.chip:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}
/* 在 Obsidian 中使用笔记：左边库的目录，右边打开的笔记 */
.obs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.otree {
  display: grid;
  align-content: start;
  gap: 2px;
  font-size: 12px;
  min-width: 0;
}
.otree .vh {
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 6px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.of {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--text-secondary);
  min-width: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.of span {
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.of .ico {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--text-muted);
}
.of.i1 {
  padding-left: 16px;
}
.of.i2 {
  padding-left: 26px;
}
/* 窄屏：目录在上、笔记在下，舞台加高 */
@media (max-width: 760px) {
  .feat .stage[data-demo='obsidian'] {
    height: 470px;
  }
  .obs {
    grid-template-columns: minmax(0, 1fr);
    flex: none;
  }
  .mine {
    min-height: 3.1em;
  }
}
.of.dir {
  color: var(--text-primary);
}
.of.on {
  background: var(--bg-active);
  color: var(--text-primary);
}
.of.new {
  color: var(--text-primary);
  box-shadow: inset 2px 0 0 var(--accent);
}
.of[role='button']:hover,
.onote[role='button']:hover,
.sdev[role='button']:hover,
.snote[role='button']:hover {
  background: var(--bg-active);
}
.onote {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  transition:
    opacity 600ms var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}
.onote.h {
  opacity: 0;
}
.onote .ot {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.props {
  display: grid;
  gap: 3px;
  font-size: 11.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-subtle);
}
.props div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px;
}
.props span {
  color: var(--text-muted);
}
.props b {
  font-weight: 500;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.callout {
  border-left: 2px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 6px 6px 0;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.callout b {
  display: block;
  color: var(--text-primary);
  font-size: 12px;
  margin-bottom: 2px;
}
.mine {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-primary);
  min-height: 1.55em;
}
.ostat {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* 云同步：上面这台电脑，下面网页版，中间一条上传的光 */
.sdev {
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  transition: background var(--dur-fast) var(--ease-out);
}
.sdev .dh {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  min-width: 0;
}
.sr .t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
}
.sr .st {
  flex: none;
  font-size: 11.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sr .st.ok {
  color: var(--text-secondary);
}
.sr .st.rec::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}
.spipe {
  position: relative;
  height: 22px;
  margin-block: -4px;
}
.spipe::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.spipe i {
  position: absolute;
  left: calc(50% - 2.5px);
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}
.spipe.go i {
  animation: sync-drop 800ms var(--ease-out) infinite;
}
@keyframes sync-drop {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(17px);
    opacity: 0;
  }
}
.snote {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 4px 6px;
  margin-inline: -6px;
  border-radius: 6px;
  transition: background var(--dur-fast) var(--ease-out);
}
.snote .ico {
  width: 12px;
  height: 12px;
  flex: none;
}
.feat h3 .soon {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: 3px;
}
/* 读稿 */
.prompter .ln {
  margin-inline: -6px;
  padding-inline: 6px;
  border-radius: 6px;
  transition:
    color var(--dur-base) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}
.prompter .ln:hover {
  background: var(--bg-active);
}
/* 音视频转字幕 */
.mfile {
  transition: background var(--dur-fast) var(--ease-out);
}
.mfile[role='button']:hover {
  background: var(--bg-active);
}
.mfile .re {
  grid-column: 4;
  grid-row: 1;
}
.exp button.chip {
  font: inherit;
  font-size: 11.5px;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}
/* 减少动效 / ?still：交互照常，状态直接切换 */
html.is-still :is(.desk, .stage) :is(*, *::before, *::after) {
  transition: none !important;
  animation: none !important;
}
@media (max-width: 860px) {
  .more-grid {
    grid-template-columns: 1fr;
  }
  .feat {
    padding: 24px;
  }
}

/* 没有脚本时：流程每段文字下面直接跟窗口，不显示右侧钉住的那一份，价格不显示货币切换 */
html:not(.js) .sticky {
  display: none;
}
html:not(.js) .story {
  grid-template-columns: 1fr;
  gap: 0;
}
html:not(.js) .beat {
  min-height: 0;
  opacity: 1;
  padding-block: 36px;
}
html:not(.js) .beat .inline-win {
  display: grid;
  margin-top: 22px;
}
html:not(.js) .fx {
  display: none;
}

/* 学期流程「课堂」：老师提问时即时给出参考解答，下面一轮追问与回答 */
.qa-win .cap-line.ask {
  position: relative;
  padding-left: 14px;
}
.qa-win .cap-line.ask::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: var(--highlight);
}
.qa-win .ask-tag {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--highlight);
}
.qa-win .cap-line.ask .cap-en {
  color: var(--text-primary);
}
@media (min-width: 761px) {
  .qa-win .win-body {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 42%, 330px);
  }
}
.qa-win .win-right {
  gap: 10px;
}
.qa-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.qa-hd b {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}
.qa-card .qa-a {
  margin-top: 6px;
}
.qa-bubble {
  align-self: flex-end;
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  color: var(--accent-on);
  font-size: 12.5px;
  line-height: 1.5;
}
.qa-input {
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: no-preference) {
  .screen .qa-win.on .seq {
    animation: qa-in 600ms var(--ease-out) both;
  }
  .screen .qa-win.on .s1 {
    animation-delay: 250ms;
  }
  .screen .qa-win.on .s2 {
    animation-delay: 1100ms;
  }
  .screen .qa-win.on .s3 {
    animation-delay: 1700ms;
  }
  .screen .qa-win.on .s4 {
    animation-delay: 2100ms;
  }
}

@keyframes qa-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (max-width: 760px) {
  .qa-win .win-right {
    display: flex;
    border-left: 0;
    border-top: 1px solid var(--line-subtle);
  }
  .qa-win .qa-input {
    margin-top: 4px;
  }
}
