:root {
  --ink: #0a0504;
  --ink-2: #160a07;
  --ink-3: #24100b;
  --paper: #f1e2c8;
  --paper-2: #d8c4a2;
  --paper-3: #b39a78;
  --red: #a91d16;
  --red-deep: #5a0907;
  --red-bright: #d8402a;
  --gold: #c8a15e;
  --gold-2: #e8ce9a;
  --gold-3: #f7e5c2;
  --line: rgba(200, 161, 94, 0.32);
  --line-strong: rgba(200, 161, 94, 0.58);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --kai: "FZKai-Z03S", "STKaiti", "KaiTi", "Kaiti SC", "KaiTi_GB2312", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: #050202;
  color: var(--paper);
  overflow: hidden;
}

body {
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  color: inherit;
}

button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

::selection {
  background: rgba(201, 34, 24, 0.7);
  color: #fff8ea;
}

.deck-app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(94, 13, 9, 0.18), transparent 60%),
    #050202;
}

/* ---------------- chrome ---------------- */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 38px;
  background: linear-gradient(180deg, rgba(5, 2, 2, 0.9) 0%, rgba(5, 2, 2, 0.55) 62%, rgba(5, 2, 2, 0) 100%);
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
}

.seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(239, 208, 158, 0.72);
  background: linear-gradient(145deg, #a51d16, #6b0c09);
  color: #f7e5c2;
  font-family: var(--kai);
  font-size: 23px;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(10, 3, 2, 0.28), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.seal::before,
.seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(247, 229, 194, 0.25);
}

.seal::after {
  inset: 7px;
  border-style: dotted;
  opacity: 0.65;
}

.brand-title {
  font-family: var(--kai);
  font-size: 21px;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--gold-3);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(241, 226, 200, 0.5);
}

.chapters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  background: rgba(12, 5, 4, 0.42);
  backdrop-filter: blur(8px);
}

.chapters button {
  position: relative;
  padding: 9px 17px;
  border: 0;
  background: transparent;
  color: rgba(241, 226, 200, 0.58);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.chapters button:hover {
  color: var(--gold-2);
  background: rgba(200, 161, 94, 0.08);
}

.chapters button.is-current {
  color: var(--gold-3);
}

.chapters button.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), var(--gold-2), transparent);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 240px;
  justify-content: flex-end;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(200, 161, 94, 0.2);
  background: rgba(12, 5, 4, 0.32);
  color: rgba(241, 226, 200, 0.72);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  border-color: rgba(200, 161, 94, 0.6);
  background: rgba(200, 161, 94, 0.1);
  color: var(--gold-3);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.icon-btn.is-on {
  border-color: rgba(216, 64, 42, 0.72);
  color: var(--gold-3);
  background: rgba(150, 24, 17, 0.3);
}

.stage-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage {
  position: relative;
  flex: none;
  width: 1600px;
  height: 900px;
  overflow: hidden;
  zoom: var(--scale);
  background: var(--ink);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.8);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: 30;
  border: 1px solid rgba(200, 161, 94, 0.18);
  pointer-events: none;
}

/* ---------------- slides ---------------- */
.slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 92px 100px 80px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(22px) scale(0.994);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.16, 0.84, 0.24, 1),
    visibility 0s linear 0.55s;
  background:
    radial-gradient(ellipse at 76% 20%, rgba(150, 27, 18, 0.24), transparent 54%),
    radial-gradient(ellipse at 18% 84%, rgba(104, 17, 11, 0.16), transparent 46%),
    linear-gradient(145deg, #0b0504 0%, #170a07 52%, #0a0403 100%);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/oil-texture.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.26'/></svg>");
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.slide > * {
  position: relative;
  z-index: 2;
}

.slide.is-active {
  z-index: 5;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.slide.is-leaving {
  z-index: 3;
  visibility: visible;
  opacity: 0;
  transform: translateY(-14px) scale(0.996);
  transition-delay: 0s;
}

.slide.dark-edge {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(128, 20, 14, 0.18), transparent 50%),
    linear-gradient(160deg, #0b0504, #110706);
}

/* ---------------- common typography ---------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.kicker .chapter-no {
  color: rgba(241, 226, 200, 0.4);
  letter-spacing: 0.2em;
}

.slide-title {
  margin: 20px 0 13px;
  font-family: var(--kai);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.035em;
  color: var(--paper);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.34);
}

.slide-title em {
  font-style: normal;
  color: var(--gold-2);
}

.slide-title .red {
  color: #e06548;
}

.slide-sub {
  max-width: 1080px;
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  color: rgba(241, 226, 200, 0.66);
}

.page-mark {
  position: absolute;
  right: 102px;
  bottom: 50px;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(241, 226, 200, 0.34);
}

.page-mark b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: rgba(241, 226, 200, 0.65);
}

.page-mark .slash {
  color: rgba(200, 161, 94, 0.45);
}

/* ---------------- controls ---------------- */
.bottombar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 78px;
  padding: 0 38px 18px;
  background: linear-gradient(0deg, rgba(5, 2, 2, 0.82), rgba(5, 2, 2, 0));
  pointer-events: none;
}

.bottombar > * {
  pointer-events: auto;
}

.nav-controls {
  position: absolute;
  left: 50%;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.nav-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200, 161, 94, 0.24);
  background: rgba(12, 5, 4, 0.48);
  color: rgba(241, 226, 200, 0.68);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.nav-btn:hover {
  border-color: rgba(200, 161, 94, 0.65);
  color: var(--gold-3);
  background: rgba(128, 24, 17, 0.35);
}

.nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.nav-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 100px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(241, 226, 200, 0.36);
}

.counter-current {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-2);
}

.counter-total {
  color: rgba(241, 226, 200, 0.34);
}

.counter-label {
  margin-left: 8px;
  color: rgba(241, 226, 200, 0.28);
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(241, 226, 200, 0.08);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright), var(--gold-2));
  box-shadow: 0 0 18px rgba(216, 64, 42, 0.55);
  transition: width 0.55s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.edge {
  position: absolute;
  top: 50%;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 82px;
  border: 0;
  background: transparent;
  color: rgba(241, 226, 200, 0.25);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.25s ease, background 0.25s ease;
}

.edge:hover {
  color: var(--gold-2);
  background: linear-gradient(90deg, rgba(10, 5, 4, 0.65), transparent);
}

.edge.prev {
  left: 8px;
}

.edge.next {
  right: 8px;
  background: linear-gradient(270deg, rgba(10, 5, 4, 0.4), transparent);
}

.edge.next:hover {
  background: linear-gradient(270deg, rgba(10, 5, 4, 0.7), transparent);
}

.edge svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

.edge:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ---------------- cover ---------------- */
.cover {
  padding: 0;
  background: #090403;
}

.cover::before {
  opacity: 0.5;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background: url("../img/mountain.jpg") center / cover no-repeat;
  filter: saturate(1.1) contrast(1.03);
  opacity: 0.8;
}

.cover-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 2, 2, 0.96) 0%, rgba(9, 3, 3, 0.82) 34%, rgba(8, 3, 3, 0.18) 68%, rgba(5, 2, 2, 0.5) 100%),
    linear-gradient(0deg, rgba(5, 2, 2, 0.88) 0%, transparent 38%, rgba(5, 2, 2, 0.28) 100%);
}

.cover-glow {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(209, 88, 48, 0.16), transparent 66%);
  pointer-events: none;
}

.cover-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  padding: 100px 104px 74px;
}

.cover-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 48px;
}

.cover-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-2);
}

.cover-kicker::before {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.cover-kicker .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(216, 64, 42, 0.1);
}

.cover-title {
  margin: 34px 0 0;
  font-family: var(--kai);
  font-size: 124px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.045em;
  color: var(--paper);
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}

.cover-title span {
  display: block;
}

.cover-title .gold {
  color: var(--gold-2);
}

.cover-title .small-line {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.36em;
  color: rgba(241, 226, 200, 0.55);
}

.cover-title .small-line::after {
  content: "";
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.cover-tagline {
  margin: 28px 0 0;
  font-family: var(--kai);
  font-size: 29px;
  letter-spacing: 0.08em;
  color: rgba(241, 226, 200, 0.84);
}

.cover-quote {
  margin: 35px 0 0;
  padding-left: 20px;
  border-left: 2px solid rgba(200, 161, 94, 0.5);
  font-family: var(--kai);
  font-size: 20px;
  line-height: 1.8;
  color: rgba(241, 226, 200, 0.6);
}

.cover-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid rgba(239, 208, 158, 0.55);
  background: linear-gradient(145deg, rgba(169, 29, 22, 0.92), rgba(91, 9, 7, 0.92));
  color: var(--gold-3);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(145deg, rgba(195, 42, 31, 0.98), rgba(111, 12, 9, 0.98));
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cover-hint {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(241, 226, 200, 0.4);
}

.cover-hint kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 5px;
  border: 1px solid rgba(241, 226, 200, 0.22);
  color: rgba(241, 226, 200, 0.6);
  font-family: var(--sans);
  font-size: 11px;
  text-align: center;
}

.cover-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 55px;
}

.cover-portrait {
  position: relative;
  width: 440px;
  height: 555px;
  margin-right: 24px;
}

.cover-portrait::before {
  content: "";
  position: absolute;
  inset: -12px 14px 14px -12px;
  border: 1px solid rgba(200, 161, 94, 0.28);
  z-index: 0;
}

.cover-portrait .img-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.cover-portrait .caption {
  position: absolute;
  left: 18px;
  bottom: 15px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 240, 214, 0.68);
}

.cover-vertical {
  position: absolute;
  top: 120px;
  right: 42px;
  writing-mode: vertical-rl;
  font-family: var(--kai);
  font-size: 17px;
  letter-spacing: 0.38em;
  color: rgba(200, 161, 94, 0.65);
}

.cover-seal {
  position: absolute;
  right: 34px;
  bottom: 42px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 208, 158, 0.5);
  background: rgba(115, 12, 9, 0.8);
  color: var(--gold-3);
  font-family: var(--kai);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(-2deg);
}

/* ---------------- section covers ---------------- */
.section-slide {
  padding: 0;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.55;
  filter: saturate(0.9) contrast(1.08);
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 2, 2, 0.95) 0%, rgba(8, 3, 3, 0.75) 42%, rgba(7, 2, 2, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 2, 2, 0.82), transparent 60%);
}

.section-num {
  position: absolute;
  top: 100px;
  left: 98px;
  font-family: var(--serif);
  font-size: 178px;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 161, 94, 0.33);
  opacity: 0.9;
}

.section-inner {
  position: absolute;
  left: 104px;
  bottom: 108px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 36px;
}

.section-vertical {
  writing-mode: vertical-rl;
  font-family: var(--kai);
  font-size: 76px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
  line-height: 1;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.section-copy {
  max-width: 740px;
  padding-bottom: 9px;
}

.section-en {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.36em;
  color: rgba(241, 226, 200, 0.45);
}

.section-title {
  margin: 15px 0 16px;
  font-family: var(--kai);
  font-size: 47px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.section-desc {
  margin: 0;
  max-width: 650px;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.85;
  color: rgba(241, 226, 200, 0.64);
}

.section-time {
  position: absolute;
  right: 104px;
  bottom: 115px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(200, 161, 94, 0.7);
}

.section-time b {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold-2);
}

/* ---------------- generic content blocks ---------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.two-col.wide-left {
  grid-template-columns: 1.25fr 0.75fr;
}

.two-col.wide-right {
  grid-template-columns: 0.78fr 1.22fr;
}

.panel {
  position: relative;
  border: 1px solid rgba(200, 161, 94, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 239, 214, 0.065), rgba(255, 239, 214, 0.018)),
    rgba(16, 7, 5, 0.36);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.panel::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(200, 161, 94, 0.5);
  border-left: 1px solid rgba(200, 161, 94, 0.5);
  pointer-events: none;
}

.panel-inner {
  padding: 28px 30px;
}

.panel-red {
  border-color: rgba(216, 64, 42, 0.36);
  background:
    linear-gradient(145deg, rgba(137, 23, 16, 0.52), rgba(46, 7, 5, 0.48)),
    rgba(16, 7, 5, 0.4);
}

.panel-gold {
  border-color: rgba(200, 161, 94, 0.44);
  background: linear-gradient(145deg, rgba(200, 161, 94, 0.12), rgba(82, 58, 26, 0.06));
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.mini-title {
  margin: 10px 0 0;
  font-family: var(--kai);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--paper);
}

.body-text {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  color: rgba(241, 226, 200, 0.72);
}

.body-text strong {
  color: var(--gold-2);
  font-weight: 500;
}

.body-text em {
  font-style: normal;
  color: #e0674a;
}

.serif-quote {
  margin: 0;
  font-family: var(--kai);
  font-size: 32px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.serif-quote.big {
  font-size: 40px;
}

.gold-rule {
  width: 66px;
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(200, 161, 94, 0.3);
  background: rgba(200, 161, 94, 0.06);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(241, 226, 200, 0.72);
}

.chip.red {
  border-color: rgba(216, 64, 42, 0.42);
  background: rgba(160, 27, 19, 0.2);
  color: #efb49c;
}

.chip.gold {
  border-color: rgba(200, 161, 94, 0.52);
  color: var(--gold-2);
}

.caption {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(241, 226, 200, 0.38);
}

.img-frame {
  position: relative;
  overflow: hidden;
  background: #77110d;
  border: 1px solid rgba(200, 161, 94, 0.42);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.34);
}

.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(0.92);
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(95, 9, 6, 0.04), rgba(13, 3, 2, 0.46)),
    radial-gradient(ellipse at 30% 20%, rgba(245, 172, 104, 0.12), transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(121, 15, 11, 0.32), rgba(216, 64, 42, 0.12) 58%, rgba(255, 203, 138, 0.12));
  mix-blend-mode: color;
  pointer-events: none;
}

.img-frame .frame-label {
  position: absolute;
  left: 15px;
  bottom: 13px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 236, 208, 0.62);
}

/* ---------------- roadmap ---------------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stage-card {
  position: relative;
  min-height: 326px;
  padding: 25px 22px 22px;
  border: 1px solid rgba(200, 161, 94, 0.24);
  background: linear-gradient(160deg, rgba(255, 239, 214, 0.065), rgba(255, 239, 214, 0.012));
  overflow: hidden;
}

.stage-card::before {
  content: attr(data-no);
  position: absolute;
  right: 12px;
  bottom: -25px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: rgba(200, 161, 94, 0.08);
}

.stage-card .stage-no {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--red-bright);
}

.stage-card h3 {
  margin: 20px 0 7px;
  font-family: var(--kai);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.stage-card .time {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.stage-card p {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(241, 226, 200, 0.55);
}

.roadmap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 161, 94, 0.18);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(241, 226, 200, 0.48);
}

.roadmap-foot b {
  color: var(--gold-2);
  font-weight: 500;
}

/* ---------------- timeline ---------------- */
.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 64, 42, 0.7), rgba(200, 161, 94, 0.18));
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 8px 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(216, 64, 42, 0.11);
}

.tl-year {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.tl-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(241, 226, 200, 0.68);
}

.tl-text b {
  color: var(--paper);
  font-weight: 500;
}

/* ---------------- word cards ---------------- */
.word-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.word-card {
  position: relative;
  min-height: 132px;
  padding: 18px 17px;
  border: 1px solid rgba(200, 161, 94, 0.22);
  background: linear-gradient(145deg, rgba(255, 239, 214, 0.06), rgba(255, 239, 214, 0.015));
  overflow: hidden;
}

.word-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(200, 161, 94, 0.12);
  transform: rotate(22deg);
}

.word-card .hanzi {
  font-family: var(--kai);
  font-size: 31px;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.word-card .pinyin {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.word-card .note {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(241, 226, 200, 0.43);
}

.word-card.tone {
  border-color: rgba(216, 64, 42, 0.35);
  background: linear-gradient(145deg, rgba(131, 22, 15, 0.32), rgba(40, 6, 5, 0.2));
}

/* ---------------- idiom cards ---------------- */
.idiom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.idiom-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 17px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 161, 94, 0.22);
  background: rgba(255, 239, 214, 0.035);
}

.idiom-card .idiom {
  font-family: var(--kai);
  font-size: 27px;
  line-height: 1.45;
  color: var(--gold-2);
}

.idiom-card .meaning {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.65);
}

.color-spectrum {
  display: flex;
  align-items: stretch;
  margin-top: 22px;
  border: 1px solid rgba(200, 161, 94, 0.22);
}

.spectrum-item {
  flex: 1;
  padding: 13px 16px;
  border-right: 1px solid rgba(200, 161, 94, 0.16);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(241, 226, 200, 0.58);
}

.spectrum-item:last-child {
  border-right: 0;
}

.spectrum-item b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--kai);
  font-size: 18px;
  font-weight: 400;
  color: var(--paper);
}

.spectrum-item.cold b {
  color: #e18972;
}

.spectrum-item.warm b {
  color: var(--gold-2);
}

/* ---------------- four frames / first read ---------------- */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 38px;
}

.frame-card {
  position: relative;
  padding: 24px 20px 20px;
  border-top: 1px solid rgba(200, 161, 94, 0.4);
  background: linear-gradient(180deg, rgba(200, 161, 94, 0.07), transparent 75%);
}

.frame-card .count {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--gold-2);
}

.frame-card .count span {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(241, 226, 200, 0.38);
}

.frame-card h4 {
  margin: 17px 0 8px;
  font-family: var(--kai);
  font-size: 25px;
  font-weight: 400;
}

.frame-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(241, 226, 200, 0.55);
}

.flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
  font-family: var(--kai);
  font-size: 28px;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}

.flow-line .arrow {
  color: rgba(216, 64, 42, 0.8);
  font-family: var(--sans);
  font-size: 18px;
}

/* ---------------- method ---------------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.method-step {
  position: relative;
  padding: 24px 20px;
  border: 1px solid rgba(200, 161, 94, 0.24);
  background: rgba(255, 239, 214, 0.035);
}

.method-step .no {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--serif);
  font-size: 38px;
  color: rgba(200, 161, 94, 0.16);
}

.method-step h3 {
  margin: 0 0 8px;
  font-family: var(--kai);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold-2);
}

.method-step p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(241, 226, 200, 0.57);
}

.sentence-frame {
  margin-top: 30px;
  padding: 20px 26px;
  border-left: 2px solid var(--red-bright);
  background: linear-gradient(90deg, rgba(137, 23, 16, 0.26), transparent);
  font-family: var(--kai);
  font-size: 24px;
  line-height: 1.75;
  color: rgba(241, 226, 200, 0.84);
}

.sentence-frame .blank {
  color: var(--gold-2);
}

/* ---------------- paragraph bands ---------------- */
.band-stack {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.band {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 14px 20px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  border-left: 3px solid var(--band-color, rgba(200, 161, 94, 0.55));
  background: linear-gradient(90deg, rgba(255, 239, 214, 0.05), rgba(255, 239, 214, 0.01));
}

.band .band-meta {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(241, 226, 200, 0.4);
}

.band .band-meta b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--kai);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--band-color, var(--gold-2));
}

.band .band-sents {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(200, 161, 94, 0.2);
  background: rgba(8, 3, 2, 0.25);
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(241, 226, 200, 0.64);
}

.sent b {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  color: var(--band-color, var(--gold));
}

.band .band-text {
  grid-column: 2;
  margin: 7px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(241, 226, 200, 0.42);
}

.band.emphasis {
  background: linear-gradient(90deg, rgba(135, 22, 15, 0.3), rgba(255, 239, 214, 0.015));
}

/* ---------------- annotations ---------------- */
.photo-side {
  position: relative;
  height: 570px;
}

.photo-side .img-frame {
  width: 100%;
  height: 100%;
}

.stat-list {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.stat-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(200, 161, 94, 0.14);
}

.stat-item:last-child {
  border-bottom: 0;
}

.stat-item .idx {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(200, 161, 94, 0.42);
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold-2);
}

.stat-item h4 {
  margin: 1px 0 5px;
  font-family: var(--kai);
  font-size: 22px;
  font-weight: 400;
  color: var(--paper);
}

.stat-item p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.55);
}

/* ---------------- big quote / question ---------------- */
.focus-quote {
  position: relative;
  padding: 30px 34px 28px;
  border: 1px solid rgba(200, 161, 94, 0.26);
  background: linear-gradient(145deg, rgba(255, 239, 214, 0.06), rgba(102, 16, 11, 0.14));
}

.focus-quote::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 18px;
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
  color: rgba(200, 161, 94, 0.28);
}

.focus-quote p {
  margin: 0;
  font-family: var(--kai);
  font-size: 35px;
  line-height: 1.72;
  color: var(--paper);
}

.focus-quote .hl {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(216, 64, 42, 0.65);
  padding-bottom: 1px;
}

.annotation-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.annotation {
  padding: 14px 16px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  background: rgba(255, 239, 214, 0.03);
}

.annotation .tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
}

.annotation p {
  margin: 7px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(241, 226, 200, 0.6);
}

.annotation b {
  color: var(--gold-2);
  font-weight: 500;
}

/* ---------------- logic chain ---------------- */
.logic-chain {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 36px;
}

.logic-node {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 25px 22px;
  border: 1px solid rgba(200, 161, 94, 0.25);
  background: linear-gradient(155deg, rgba(255, 239, 214, 0.06), rgba(101, 16, 11, 0.1));
}

.logic-node .n {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(200, 161, 94, 0.7);
}

.logic-node h3 {
  margin: 12px 0 8px;
  font-family: var(--kai);
  font-size: 28px;
  font-weight: 400;
  color: var(--gold-2);
}

.logic-node p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.58);
}

.logic-node .big-quote {
  margin-top: 20px;
  font-family: var(--kai);
  font-size: 22px;
  line-height: 1.6;
  color: rgba(241, 226, 200, 0.86);
}

.logic-arrow {
  display: grid;
  place-items: center;
  color: rgba(216, 64, 42, 0.7);
  font-family: var(--sans);
  font-size: 25px;
}

/* ---------------- comparison table ---------------- */
.compare-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--sans);
}

.compare-table th {
  padding: 13px 16px;
  border: 1px solid rgba(200, 161, 94, 0.2);
  background: rgba(200, 161, 94, 0.08);
  font-family: var(--kai);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  text-align: left;
}

.compare-table td {
  padding: 13px 16px;
  border: 1px solid rgba(200, 161, 94, 0.14);
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.63);
}

.compare-table td:first-child {
  font-family: var(--kai);
  font-size: 17px;
  color: var(--paper);
}

.compare-table td.good {
  color: rgba(247, 229, 194, 0.86);
  background: rgba(200, 161, 94, 0.035);
}

.compare-table td.bad {
  color: rgba(225, 137, 114, 0.85);
  background: rgba(121, 16, 11, 0.12);
}

.compare-table .key {
  color: var(--gold-2);
  border-bottom: 1px dotted rgba(200, 161, 94, 0.5);
}

.table-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(241, 226, 200, 0.43);
}

.table-foot b {
  color: var(--gold-2);
  font-weight: 500;
}

/* ---------------- four-up cards ---------------- */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 28px;
}

.mini-card {
  padding: 19px 17px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  background: rgba(255, 239, 214, 0.03);
}

.mini-card .num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red-bright);
}

.mini-card h4 {
  margin: 11px 0 7px;
  font-family: var(--kai);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-2);
}

.mini-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.55);
}

/* ---------------- five people ---------------- */
.five-stack {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  counter-reset: five;
}

.five-line {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 13px 20px;
  border: 1px solid rgba(200, 161, 94, 0.16);
  border-left: 2px solid rgba(216, 64, 42, 0.5);
  background: linear-gradient(90deg, rgba(128, 21, 14, 0.18), transparent 60%);
}

.five-line .fno {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(200, 161, 94, 0.7);
}

.five-line .ft {
  font-family: var(--kai);
  font-size: 31px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.five-line .fs {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(241, 226, 200, 0.4);
}

/* ---------------- mind map ---------------- */
.mindmap {
  margin-top: 16px;
}

.mind-root {
  position: relative;
  width: 290px;
  margin: 0 auto;
  padding: 13px 18px;
  border: 1px solid rgba(216, 64, 42, 0.52);
  background: linear-gradient(145deg, rgba(147, 25, 17, 0.7), rgba(60, 8, 6, 0.72));
  font-family: var(--kai);
  font-size: 27px;
  letter-spacing: 0.14em;
  color: var(--gold-3);
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.mind-root::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: 1px;
  height: 24px;
  background: rgba(200, 161, 94, 0.42);
}

.mind-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
  padding-top: 18px;
}

.mind-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 161, 94, 0.38) 8%, rgba(200, 161, 94, 0.38) 92%, transparent);
}

.mind-branch {
  position: relative;
  padding: 18px 20px 17px;
  border: 1px solid rgba(200, 161, 94, 0.22);
  background: linear-gradient(160deg, rgba(255, 239, 214, 0.055), rgba(255, 239, 214, 0.012));
}

.mind-branch::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: rgba(200, 161, 94, 0.38);
}

.mind-branch .bhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 161, 94, 0.18);
}

.mind-branch h3 {
  margin: 0;
  font-family: var(--kai);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold-2);
}

.mind-branch .ben {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(241, 226, 200, 0.3);
}

.mind-branch ul {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mind-branch li {
  position: relative;
  padding-left: 13px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(241, 226, 200, 0.62);
}

.mind-branch li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 1px;
  background: rgba(216, 64, 42, 0.8);
}

.mind-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 17px;
  padding: 11px 18px;
  border-top: 1px solid rgba(200, 161, 94, 0.2);
  border-bottom: 1px solid rgba(200, 161, 94, 0.2);
  background: rgba(200, 161, 94, 0.04);
}

.mind-core .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(241, 226, 200, 0.4);
}

.mind-core .core-text {
  font-family: var(--kai);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--gold-2);
}

.mind-core .arrow {
  color: rgba(216, 64, 42, 0.8);
}

.mind-five {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mind-five span {
  padding: 6px 13px;
  border: 1px solid rgba(200, 161, 94, 0.28);
  font-family: var(--kai);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: rgba(255, 239, 214, 0.03);
}

/* ---------------- writing code ---------------- */
.code-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 27px;
}

.code-card {
  padding: 17px 18px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  background: rgba(255, 239, 214, 0.03);
}

.code-card .code-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.code-card h3 {
  margin: 0;
  font-family: var(--kai);
  font-size: 23px;
  font-weight: 400;
  color: var(--gold-2);
}

.code-card .code-no {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(241, 226, 200, 0.3);
}

.code-card p {
  margin: 9px 0 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(241, 226, 200, 0.56);
}

.code-card .example {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(200, 161, 94, 0.18);
  font-family: var(--kai);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(241, 226, 200, 0.7);
}

/* ---------------- q&a ---------------- */
.question-panel {
  padding: 26px 28px;
  border: 1px solid rgba(216, 64, 42, 0.28);
  background: linear-gradient(145deg, rgba(128, 21, 14, 0.24), rgba(255, 239, 214, 0.02));
}

.question-panel .q {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--red-bright);
}

.question-panel h3 {
  margin: 13px 0 0;
  font-family: var(--kai);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--paper);
}

.answer-grid {
  display: grid;
  gap: 11px;
  margin-top: 8px;
}

.answer-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(200, 161, 94, 0.16);
  background: rgba(255, 239, 214, 0.028);
}

.answer-item .an {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
}

.answer-item h4 {
  margin: 0 0 4px;
  font-family: var(--kai);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-2);
}

.answer-item p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(241, 226, 200, 0.57);
}

.split-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.compare-mini {
  padding: 16px 18px;
  border: 1px solid rgba(200, 161, 94, 0.18);
  background: rgba(255, 239, 214, 0.028);
}

.compare-mini .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(241, 226, 200, 0.38);
}

.compare-mini p {
  margin: 8px 0 0;
  font-family: var(--kai);
  font-size: 19px;
  line-height: 1.65;
  color: rgba(241, 226, 200, 0.7);
}

.compare-mini.bad p {
  color: rgba(225, 137, 114, 0.78);
}

/* ---------------- today ---------------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  height: 235px;
  margin-top: 22px;
}

.photo-strip .img-frame {
  height: 100%;
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 17px;
}

.today-card {
  padding: 15px 17px;
  border-left: 2px solid rgba(216, 64, 42, 0.56);
  background: rgba(255, 239, 214, 0.028);
}

.today-card h4 {
  margin: 0 0 5px;
  font-family: var(--kai);
  font-size: 21px;
  font-weight: 400;
  color: var(--gold-2);
}

.today-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(241, 226, 200, 0.55);
}

.writing-task {
  margin-top: 18px;
  padding: 15px 20px;
  border: 1px dashed rgba(200, 161, 94, 0.35);
  background: rgba(200, 161, 94, 0.035);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.64);
}

.writing-task b {
  color: var(--gold-2);
  font-weight: 500;
}

/* ---------------- closing ---------------- */
.closing {
  padding: 0;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background: url("../img/mountain.jpg") center / cover no-repeat;
  opacity: 0.9;
}

.closing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 2, 2, 0.9), rgba(8, 3, 3, 0.55) 48%, rgba(5, 2, 2, 0.6)),
    linear-gradient(0deg, rgba(5, 2, 2, 0.85), transparent 45%);
}

.closing-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 120px;
}

.closing-kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(200, 161, 94, 0.8);
}

.closing-quote {
  max-width: 1160px;
  margin: 30px 0 0;
  font-family: var(--kai);
  font-size: 46px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.closing-quote .hl {
  color: var(--gold-2);
}

.closing-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(241, 226, 200, 0.44);
}

.closing-sign::before {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.closing-note {
  margin-top: 22px;
  font-family: var(--kai);
  font-size: 23px;
  color: rgba(241, 226, 200, 0.56);
}

/* ---------------- homework ---------------- */
.homework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.hw-card {
  padding: 23px 22px;
  border: 1px solid rgba(200, 161, 94, 0.2);
  background: linear-gradient(160deg, rgba(255, 239, 214, 0.05), rgba(255, 239, 214, 0.012));
}

.hw-card .level {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red-bright);
}

.hw-card h3 {
  margin: 12px 0 12px;
  font-family: var(--kai);
  font-size: 27px;
  font-weight: 400;
  color: var(--gold-2);
}

.hw-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hw-card li {
  position: relative;
  padding-left: 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(241, 226, 200, 0.57);
}

.hw-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(200, 161, 94, 0.5);
  transform: rotate(45deg);
}

.footer-note {
  position: absolute;
  left: 104px;
  bottom: 47px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(241, 226, 200, 0.26);
}

/* ---------------- overview ---------------- */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 52px 64px 44px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(115, 20, 14, 0.35), transparent 55%),
    rgba(5, 2, 2, 0.94);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.overlay-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(200, 161, 94, 0.22);
}

.overlay-head h2 {
  margin: 0;
  font-family: var(--kai);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.overlay-head p {
  margin: 5px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(241, 226, 200, 0.4);
}

.overlay-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(200, 161, 94, 0.25);
  background: transparent;
  color: rgba(241, 226, 200, 0.6);
  font-family: var(--sans);
  font-size: 12px;
  cursor: pointer;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-top: 22px;
  overflow: auto;
  padding-right: 6px;
}

.overview-card {
  position: relative;
  min-height: 104px;
  padding: 13px 13px 11px;
  border: 1px solid rgba(200, 161, 94, 0.17);
  background: rgba(255, 239, 214, 0.025);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.overview-card:hover,
.overview-card.is-current {
  border-color: rgba(200, 161, 94, 0.55);
  background: rgba(128, 21, 14, 0.25);
}

.overview-card .oc-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(200, 161, 94, 0.62);
}

.overview-card h4 {
  margin: 14px 0 0;
  font-family: var(--kai);
  font-size: 18.5px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(241, 226, 200, 0.8);
}

.overview-card.current-dot::after {
  content: "正在放映";
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--red-bright);
}

.overlay-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 161, 94, 0.15);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(241, 226, 200, 0.32);
}

/* ---------------- notes ---------------- */
.notes-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: 430px;
  padding: 98px 30px 28px;
  border-left: 1px solid rgba(200, 161, 94, 0.24);
  background:
    linear-gradient(180deg, rgba(20, 9, 7, 0.97), rgba(9, 4, 3, 0.98)),
    url("../img/oil-texture.jpg");
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.24, 1), visibility 0s linear 0.45s;
  overflow: auto;
}

.notes-panel.is-open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.notes-panel .np-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(200, 161, 94, 0.2);
}

.notes-panel .np-kicker {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--red-bright);
}

.notes-panel h3 {
  margin: 8px 0 0;
  font-family: var(--kai);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gold-2);
}

.np-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(200, 161, 94, 0.25);
  background: transparent;
  color: rgba(241, 226, 200, 0.5);
  cursor: pointer;
}

.notes-body {
  padding-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: rgba(241, 226, 200, 0.64);
}

.notes-body p {
  margin: 0 0 13px;
}

.notes-body strong {
  color: var(--gold-2);
  font-weight: 500;
}

.notes-body em {
  font-style: normal;
  color: #e18972;
}

.notes-body h4 {
  margin: 20px 0 8px;
  font-family: var(--kai);
  font-size: 19px;
  font-weight: 400;
  color: var(--paper);
}

.notes-body ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.notes-body li {
  margin-bottom: 7px;
}

.np-hint {
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(200, 161, 94, 0.16);
  font-size: 10px;
  line-height: 1.7;
  color: rgba(241, 226, 200, 0.3);
}

/* ---------------- help ---------------- */
.help {
  position: absolute;
  left: 50%;
  bottom: 90px;
  z-index: 110;
  min-width: 390px;
  padding: 19px 24px;
  border: 1px solid rgba(200, 161, 94, 0.26);
  background: rgba(12, 5, 4, 0.94);
  backdrop-filter: blur(12px);
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.help.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.help h4 {
  margin: 0 0 10px;
  font-family: var(--kai);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-2);
}

.help-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(241, 226, 200, 0.48);
}

.help-row kbd {
  display: inline-block;
  min-width: 24px;
  padding: 1px 5px;
  border: 1px solid rgba(200, 161, 94, 0.25);
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 10px;
  text-align: center;
}

/* ---------------- animation ---------------- */
.anim {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.slide.is-active .anim {
  opacity: 1;
  transform: none;
}

.slide.is-active .anim:nth-child(1) { transition-delay: 0.05s; }
.slide.is-active .anim:nth-child(2) { transition-delay: 0.11s; }
.slide.is-active .anim:nth-child(3) { transition-delay: 0.17s; }
.slide.is-active .anim:nth-child(4) { transition-delay: 0.23s; }
.slide.is-active .anim:nth-child(5) { transition-delay: 0.29s; }
.slide.is-active .anim:nth-child(6) { transition-delay: 0.35s; }
.slide.is-active .anim:nth-child(7) { transition-delay: 0.41s; }
.slide.is-active .anim:nth-child(8) { transition-delay: 0.47s; }

/* ---------------- credits ---------------- */
.credits {
  padding: 82px 100px 92px;
}

.credits .slide-title {
  margin: 14px 0 8px;
}

.credits .slide-sub {
  font-size: 16px;
}

.credits .two-col {
  margin-top: 18px !important;
}

.credits .panel-inner {
  padding: 19px 22px;
}

.credits .body-text {
  font-size: 14px;
  line-height: 1.68;
}

.credits .eyebrow {
  font-size: 10px;
}

.credits .panel {
  margin-bottom: 12px;
}

.credits .footer-note {
  display: none;
}

/* ---------------- static / print preview ---------------- */
.static-mode .anim,
.static-mode .slide.is-active .anim {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.static-mode .slide {
  transition: none !important;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .topbar {
    padding: 0 20px;
    height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .chapters {
    display: none;
  }

  .top-actions {
    min-width: 0;
  }

  .icon-btn span {
    display: none;
  }

  .icon-btn {
    padding: 0 10px;
  }

  .bottombar {
    padding: 0 18px 12px;
    height: 64px;
  }

  .notes-panel {
    width: min(92vw, 430px);
  }

  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .overlay {
    padding: 34px 22px 24px;
  }

  .overview-head h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
/* =====================================================================
   LIGHT MINIMAL THEME
   White paper, ink text, cinnabar accents, and desaturated archival images.
   This block overrides the earlier dark stage styling; layout and
   interactions remain unchanged.
   ===================================================================== */
:root {
  --paper: #1d1a16;
  --paper-2: #514c45;
  --paper-3: #8a847a;
  --gold: #b9ad9c;
  --gold-2: #a52a20;
  --gold-3: #1a1815;
  --line: rgba(40, 34, 27, 0.14);
  --line-strong: rgba(40, 34, 27, 0.26);
  --red: #a52a20;
  --red-deep: #7e1e17;
  --red-bright: #c04738;
  --lite-bg: #ffffff;
  --lite-bg-2: #f8f8f5;
  --lite-ink: #1d1a16;
  --lite-ink-2: #514c45;
  --lite-ink-3: #8a847a;
  --lite-line: #e2dcd1;
  --lite-line-2: #cfc6b8;
  --lite-red: #a52a20;
  --lite-cream: #f5f0e7;
}

html,
body {
  background: var(--lite-bg);
  color: var(--lite-ink);
}

body {
  color: var(--lite-ink);
}

::selection {
  background: var(--lite-red);
  color: #fff;
}

.deck-app {
  background: #fff;
}

.stage {
  background: #fff;
  box-shadow:
    0 0 0 1px var(--lite-line),
    0 30px 90px rgba(50, 38, 25, 0.1);
}

.stage::after {
  border-color: rgba(40, 34, 27, 0.12);
}

/* ---------- chrome ---------- */
.topbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.85) 62%, rgba(255, 255, 255, 0) 100%);
}

.seal {
  border-color: rgba(255, 255, 255, 0.7);
  background: var(--lite-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(80, 20, 15, 0.18);
}

.seal::before,
.seal::after {
  border-color: rgba(255, 255, 255, 0.35);
}

.brand-title {
  color: var(--lite-ink);
}

.brand-sub {
  color: var(--lite-ink-3);
}

.chapters {
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.chapters button {
  padding: 9px 3px;
  color: #7f7a72;
}

.chapters button:hover {
  background: transparent;
  color: var(--lite-ink);
}

.chapters button.is-current {
  color: var(--lite-red);
}

.chapters button.is-current::after {
  background: var(--lite-red);
}

.icon-btn {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
  color: #5c5750;
}

.icon-btn:hover {
  border-color: var(--lite-line-2);
  background: var(--lite-cream);
  color: var(--lite-red);
}

.icon-btn.is-on {
  border-color: var(--lite-red);
  background: var(--lite-red);
  color: #fff;
}

.nav-btn {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.82);
  color: #4f4a43;
  backdrop-filter: blur(8px);
}

.nav-btn:hover {
  border-color: var(--lite-line-2);
  background: var(--lite-cream);
  color: var(--lite-red);
}

.counter {
  color: var(--lite-ink-3);
}

.counter-current {
  color: var(--lite-red);
}

.counter-total,
.counter-label {
  color: #9a948a;
}

.bottombar {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0));
}

.progress {
  background: #ebe5dc;
}

.progress span {
  background: var(--lite-red);
  box-shadow: none;
}

.edge {
  color: rgba(29, 26, 22, 0.32);
}

.edge:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--lite-red);
}

.edge.next {
  background: transparent;
}

.edge.next:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ---------- slide base ---------- */
.slide {
  color: var(--lite-ink);
  background: #fff;
}

.slide::before {
  background-image: none;
  opacity: 0;
}

.slide::after {
  opacity: 0.025;
  mix-blend-mode: multiply;
}

.kicker {
  color: var(--lite-red);
}

.kicker::before {
  background: var(--lite-red);
}

.kicker .chapter-no {
  color: #aaa399;
}

.slide-title {
  color: var(--lite-ink);
  text-shadow: none;
}

.slide-title em,
.slide-title .red {
  color: var(--lite-red);
}

.slide-sub {
  color: var(--lite-ink-2);
}

.panel {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(60, 45, 30, 0.055);
}

.panel::before {
  border-color: rgba(40, 34, 27, 0.2);
}

.panel-red {
  border-color: #e8c7c0;
  background: #fbf0ee;
}

.panel-gold {
  border-color: #e6dac7;
  background: #f8f3e8;
}

.eyebrow {
  color: var(--lite-red);
}

.mini-title {
  color: var(--lite-ink);
}

.body-text {
  color: var(--lite-ink-2);
}

.body-text strong {
  color: var(--lite-red);
}

.body-text em {
  color: var(--lite-red);
}

.serif-quote {
  color: var(--lite-ink);
}

.gold-rule {
  background: linear-gradient(90deg, var(--lite-red), transparent);
}

.chip {
  border-color: var(--lite-line-2);
  background: rgba(255, 255, 255, 0.6);
  color: var(--lite-ink-2);
}

.chip.red {
  border-color: #e6c3bd;
  background: #fbf0ee;
  color: var(--lite-red);
}

.chip.gold {
  border-color: #dfd3c0;
  color: #776349;
}

.caption {
  color: var(--lite-ink-3);
}

.body-text code,
.notes-body code {
  color: #6b3a22;
}

/* ---------- images ---------- */
.img-frame {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--lite-line);
  box-shadow: 0 16px 40px rgba(50, 38, 25, 0.1);
}

.img-frame img {
  filter: grayscale(1) contrast(1.02) brightness(1.12);
  opacity: 0.9;
}

.img-frame::before,
.img-frame::after {
  display: none;
}

.img-frame .frame-label {
  left: 17px;
  bottom: 17px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.88);
  color: #4d4842;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ---------- cover ---------- */
.cover {
  background: #fff;
}

.cover-bg {
  opacity: 0;
}

.cover-bg::after {
  background: #fff;
}

.cover-glow {
  background: radial-gradient(circle, rgba(165, 42, 32, 0.09), transparent 66%);
}

.cover-kicker {
  color: var(--lite-red);
}

.cover-kicker::before {
  background: var(--lite-red);
}

.cover-kicker .dot {
  background: var(--lite-red);
  box-shadow: 0 0 0 4px rgba(165, 42, 32, 0.08);
}

.cover-title {
  color: var(--lite-ink);
  text-shadow: none;
}

.cover-title .gold {
  color: var(--lite-red);
}

.cover-title .small-line {
  color: #8f897f;
}

.cover-title .small-line::after {
  background: linear-gradient(90deg, var(--lite-red), transparent);
}

.cover-tagline {
  color: #3f3a33;
}

.cover-quote {
  color: #6d675f;
  border-left-color: #d9d1c3;
}

.cover-actions {
  gap: 18px;
}

.btn-primary {
  border-color: var(--lite-red);
  background: var(--lite-red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(165, 42, 32, 0.16);
}

.btn-primary:hover {
  background: #8d2119;
  border-color: #8d2119;
}

.cover-hint {
  color: #918a80;
}

.cover-hint kbd {
  border-color: #d4ccbf;
  color: #5b5650;
}

.cover-portrait::before {
  border-color: #d8d0c3;
}

.cover-portrait .img-frame {
  background: #fff;
  border-color: var(--lite-line);
}

.cover-portrait .caption {
  color: var(--lite-ink-3);
}

.cover-seal {
  border-color: #d8d0c3;
  background: #fff;
  color: var(--lite-red);
}

/* ---------- section slides ---------- */
.section-slide {
  background: #fff;
}

.section-bg {
  left: auto;
  right: 78px;
  top: 145px;
  bottom: 104px;
  width: 33%;
  opacity: 0.94 !important;
  filter: grayscale(1) contrast(1.01) brightness(1.18) !important;
  background-size: cover !important;
  background-position: center 20% !important;
  border: 12px solid #fff;
  outline: 1px solid var(--lite-line);
  box-shadow: 0 20px 55px rgba(50, 38, 25, 0.1);
}

.section-bg::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 35%);
}

.section-num {
  color: transparent;
  -webkit-text-stroke: 1px #d7cfc2;
  opacity: 1;
}

.section-inner {
  max-width: 720px;
}

.section-vertical {
  color: var(--lite-red);
  text-shadow: none;
}

.section-en {
  color: #9d968b;
}

.section-title {
  color: var(--lite-ink);
}

.section-desc {
  color: var(--lite-ink-2);
}

.section-time {
  right: 78px;
  bottom: 104px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: var(--lite-ink-2);
  backdrop-filter: blur(4px);
}

.section-time b {
  color: var(--lite-red);
}

/* ---------- roadmap ---------- */
.stage-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(60, 45, 30, 0.04);
}

.stage-card::before {
  color: rgba(40, 34, 27, 0.06);
}

.stage-card .stage-no {
  color: var(--lite-red);
}

.stage-card h3 {
  color: var(--lite-ink);
}

.stage-card .time {
  color: #8d6c52;
}

.stage-card p {
  color: var(--lite-ink-2);
}

.roadmap-foot {
  border-top-color: var(--lite-line);
  color: #7d766c;
}

.roadmap-foot b {
  color: var(--lite-red);
}

/* ---------- timeline ---------- */
.timeline::before {
  background: linear-gradient(180deg, #d7b5ad, #e4ddd2);
}

.tl-item::before {
  background: var(--lite-red);
  box-shadow: 0 0 0 5px rgba(165, 42, 32, 0.08);
}

.tl-year {
  color: var(--lite-red);
}

.tl-text {
  color: var(--lite-ink-2);
}

.tl-text b {
  color: var(--lite-ink);
}

/* ---------- words ---------- */
.word-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(60, 45, 30, 0.035);
}

.word-card::after {
  border-color: rgba(40, 34, 27, 0.08);
}

.word-card .hanzi {
  color: var(--lite-ink);
}

.word-card .pinyin {
  color: var(--lite-red);
}

.word-card .note {
  color: var(--lite-ink-3);
}

.word-card.tone {
  border-color: #e7c8c2;
  background: #fbf0ee;
}

.idiom-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
}

.idiom-card .idiom {
  color: var(--lite-red);
}

.idiom-card .meaning {
  color: var(--lite-ink-2);
}

.color-spectrum {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.55);
}

.spectrum-item {
  border-right-color: var(--lite-line);
  color: var(--lite-ink-2);
}

.spectrum-item b {
  color: var(--lite-ink);
}

.spectrum-item.cold b {
  color: #8b3027;
}

.spectrum-item.warm b {
  color: #7e6546;
}

/* ---------- first read / methods ---------- */
.frame-card {
  border-top-color: #d2c8b9;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18));
}

.frame-card .count {
  color: var(--lite-red);
}

.frame-card .count span {
  color: var(--lite-ink-3);
}

.frame-card h4 {
  color: var(--lite-ink);
}

.frame-card p {
  color: var(--lite-ink-2);
}

.flow-line {
  color: var(--lite-ink);
}

.flow-line .arrow {
  color: var(--lite-red);
}

.method-step {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.method-step .no {
  color: #ded7cb;
}

.method-step h3 {
  color: var(--lite-red);
}

.method-step p {
  color: var(--lite-ink-2);
}

.sentence-frame {
  border-left-color: var(--lite-red);
  background: linear-gradient(90deg, rgba(165, 42, 32, 0.065), transparent);
  color: var(--lite-ink);
}

.sentence-frame .blank {
  color: var(--lite-red);
}

/* ---------- paragraph bands ---------- */
.band {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.66);
}

.band .band-meta {
  color: var(--lite-ink-3);
}

.band .band-meta b {
  color: var(--lite-red);
}

.sent {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--lite-ink-2);
}

.sent b {
  color: var(--lite-red);
}

.band .band-text {
  color: var(--lite-ink-3);
}

.band.emphasis {
  background: #fbf0ee;
}

/* ---------- annotations / stats / quotes ---------- */
.stat-item {
  border-bottom-color: var(--lite-line);
}

.stat-item .idx {
  border-color: #dcb9b1;
  color: var(--lite-red);
}

.stat-item h4 {
  color: var(--lite-ink);
}

.stat-item p {
  color: var(--lite-ink-2);
}

.focus-quote {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.focus-quote::before {
  color: #e1d8ca;
}

.focus-quote p {
  color: var(--lite-ink);
}

.focus-quote .hl {
  color: var(--lite-red);
  border-bottom-color: #d69e94;
}

.annotation {
  border-color: var(--lite-line);
  background: #faf7f1;
}

.annotation .tag {
  color: var(--lite-red);
}

.annotation p {
  color: var(--lite-ink-2);
}

.annotation b {
  color: var(--lite-ink);
}

.logic-node {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.logic-node .n {
  color: var(--lite-red);
}

.logic-node h3 {
  color: var(--lite-ink);
}

.logic-node p {
  color: var(--lite-ink-2);
}

.logic-node .big-quote {
  color: var(--lite-ink);
}

.logic-arrow {
  color: var(--lite-red);
}

/* ---------- tables ---------- */
.compare-table {
  background: #fff;
}

.compare-table th {
  border-color: var(--lite-line);
  background: #f2ece2;
  color: var(--lite-ink);
}

.compare-table td {
  border-color: var(--lite-line);
  color: var(--lite-ink-2);
  background: rgba(255, 255, 255, 0.8);
}

.compare-table td:first-child {
  color: var(--lite-ink);
}

.compare-table td.good {
  color: #4a4338;
  background: #f8f3e8;
}

.compare-table td.bad {
  color: #7b4339;
  background: #fbf0ee;
}

.compare-table .key {
  color: var(--lite-red);
  border-bottom-color: #d6b7af;
}

.table-foot {
  color: var(--lite-ink-3);
}

.table-foot b {
  color: var(--lite-red);
}

/* ---------- cards ---------- */
.mini-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
}

.mini-card .num {
  color: var(--lite-red);
}

.mini-card h4 {
  color: var(--lite-ink);
}

.mini-card p {
  color: var(--lite-ink-2);
}

.five-line {
  border-color: var(--lite-line);
  border-left-color: var(--lite-red);
  background: rgba(255, 255, 255, 0.7);
}

.five-line .fno {
  color: var(--lite-red);
}

.five-line .ft {
  color: var(--lite-ink);
}

.five-line .fs {
  color: var(--lite-ink-3);
}

/* ---------- mind map ---------- */
.mind-root {
  border-color: var(--lite-red);
  background: var(--lite-red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(100, 30, 22, 0.16);
}

.mind-root::after {
  background: var(--lite-line-2);
}

.mind-branches::before {
  background: linear-gradient(90deg, transparent, #d8d0c3 8%, #d8d0c3 92%, transparent);
}

.mind-branch {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.mind-branch::before {
  background: #d8d0c3;
}

.mind-branch .bhead {
  border-bottom-color: var(--lite-line);
}

.mind-branch h3 {
  color: var(--lite-red);
}

.mind-branch .ben {
  color: var(--lite-ink-3);
}

.mind-branch li {
  color: var(--lite-ink-2);
}

.mind-branch li::before {
  background: var(--lite-red);
}

.mind-core {
  border-top-color: var(--lite-line);
  border-bottom-color: var(--lite-line);
  background: #f7f2e9;
}

.mind-core .label {
  color: var(--lite-ink-3);
}

.mind-core .core-text {
  color: var(--lite-red);
}

.mind-core .arrow {
  color: var(--lite-red);
}

.mind-five span {
  border-color: var(--lite-line);
  background: #fff;
  color: var(--lite-ink);
}

/* ---------- writing code ---------- */
.code-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
}

.code-card h3 {
  color: var(--lite-red);
}

.code-card .code-no {
  color: var(--lite-ink-3);
}

.code-card p {
  color: var(--lite-ink-2);
}

.code-card .example {
  border-top-color: var(--lite-line);
  color: var(--lite-ink);
}

/* ---------- Q&A ---------- */
.question-panel {
  border-color: #e6c6c0;
  background: #fbf0ee;
}

.question-panel .q {
  color: var(--lite-red);
}

.question-panel h3 {
  color: var(--lite-ink);
}

.question-panel .body-text {
  color: var(--lite-ink-2);
}

.answer-item {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.answer-item .an {
  color: var(--lite-red);
}

.answer-item h4 {
  color: var(--lite-ink);
}

.answer-item p {
  color: var(--lite-ink-2);
}

.split-quote .compare-mini {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.72);
}

.compare-mini .label {
  color: var(--lite-ink-3);
}

.compare-mini p {
  color: var(--lite-ink-2);
}

.compare-mini.bad {
  border-color: #e7cac4;
  background: #fbf0ee;
}

.compare-mini.bad p {
  color: #76453b;
}

/* ---------- today ---------- */
.today-card {
  border-left-color: var(--lite-red);
  background: rgba(255, 255, 255, 0.65);
}

.today-card h4 {
  color: var(--lite-ink);
}

.today-card p {
  color: var(--lite-ink-2);
}

.writing-task {
  border-color: #d8c9b3;
  background: #f8f3e8;
  color: var(--lite-ink-2);
}

.writing-task b {
  color: var(--lite-red);
}

/* ---------- closing ---------- */
.closing {
  background: #fff;
}

.closing-bg {
  opacity: 0.035;
  filter: grayscale(1) contrast(0.9) brightness(1.3);
}

.closing-bg::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.86) 55%, rgba(255, 255, 255, 0.97)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.98), transparent 50%);
}

.closing-kicker {
  color: var(--lite-red);
}

.closing-quote {
  color: var(--lite-ink);
}

.closing-quote .hl {
  color: var(--lite-red);
}

.closing-sign {
  color: var(--lite-ink-3);
}

.closing-sign::before {
  background: var(--lite-red);
}

.closing-note {
  color: var(--lite-ink-2);
}

/* ---------- homework ---------- */
.hw-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
}

.hw-card .level {
  color: var(--lite-red);
}

.hw-card h3 {
  color: var(--lite-ink);
}

.hw-card li {
  color: var(--lite-ink-2);
}

.hw-card li::before {
  border-color: #cbbfae;
}

.footer-note {
  color: #aaa399;
}

/* ---------- credits ---------- */
.credits .panel {
  background: rgba(255, 255, 255, 0.72);
}

.credits .panel-red {
  background: #fbf0ee;
}

.credits .panel-gold {
  background: #f8f3e8;
}

/* ---------- overview ---------- */
.overlay {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(165, 42, 32, 0.045), transparent 55%),
    rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
}

.overlay-head {
  border-bottom-color: var(--lite-line);
}

.overlay-head h2 {
  color: var(--lite-ink);
}

.overlay-head p {
  color: var(--lite-ink-3);
}

.overlay-close {
  border-color: var(--lite-line);
  color: var(--lite-ink-2);
  background: #fff;
}

.overlay-close:hover {
  background: var(--lite-cream);
}

.overview-card {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.7);
}

.overview-card:hover {
  border-color: #d5b2aa;
  background: #fbf0ee;
}

.overview-card.is-current {
  border-color: var(--lite-red);
  background: #fbf0ee;
}

.overview-card .oc-top {
  color: var(--lite-ink-3);
}

.overview-card h4 {
  color: var(--lite-ink);
}

.overview-card.current-dot::after {
  color: var(--lite-red);
}

.overlay-foot {
  border-top-color: var(--lite-line);
  color: var(--lite-ink-3);
}

/* ---------- notes ---------- */
.notes-panel {
  border-left-color: var(--lite-line);
  background: #fff;
  box-shadow: -26px 0 70px rgba(50, 38, 25, 0.1);
}

.notes-panel .np-kicker {
  color: var(--lite-red);
}

.notes-panel h3 {
  color: var(--lite-ink);
}

.np-close {
  border-color: var(--lite-line);
  color: var(--lite-ink-2);
  background: #fff;
}

.notes-body {
  color: var(--lite-ink-2);
}

.notes-body strong {
  color: var(--lite-red);
}

.notes-body em {
  color: var(--lite-red);
}

.notes-body h4 {
  color: var(--lite-ink);
}

.np-hint {
  border-top-color: var(--lite-line);
  color: var(--lite-ink-3);
}

.notes-panel .np-head {
  border-bottom-color: var(--lite-line);
}

/* ---------- help ---------- */
.help {
  border-color: var(--lite-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(50, 38, 25, 0.16);
}

.help h4 {
  color: var(--lite-red);
}

.help-row {
  color: var(--lite-ink-2);
}

.help-row kbd {
  border-color: var(--lite-line);
  color: var(--lite-red);
}

/* ---------- responsive tweaks ---------- */
@media (max-width: 1100px) {
  .section-bg {
    right: 24px;
    top: 112px;
    bottom: 88px;
    width: 34%;
    border-width: 8px;
  }

  .section-inner {
    max-width: calc(100% - 300px);
  }

  .section-time {
    right: 30px;
    bottom: 96px;
  }
}

