:root {
  --paper: #F5F0E6;
  --paper-deep: #EDE6D6;
  --ink: #262822;
  --ink-soft: #45463F;
  --ink-faint: #837F70;

  --malachite: #77957F;
  --azure: #365E65;
  --azure-deep: #223F45;

  --ochre: #A8845F;
  --gold: #CDAF72;
  --cinnabar: #BE4A34;
  --cinnabar-deep: #8E3324;

  --font-hand: "STXingkai", "华文行楷", "Xingkai SC", "楷体", "KaiTi", serif;
  --font-kai: "STKaiti", "华文楷体", "Kaiti SC", "楷体", "KaiTi", "Songti SC", serif;
  --font-song: "Songti SC", "STSong", "SimSun", "细明体", "PMingLiU", serif;

  --rail-w: 104px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-song);
  line-height: 1.9;
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  
  will-change: transform;
}

.plate {
  position: absolute;
  inset: -4%;                
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.03) contrast(1.03);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.02);
  transition: opacity 1.05s var(--ease);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.plate.is-ready {  }

.plate.is-on { opacity: 1; }

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 240, 230, .12) 0%, rgba(245, 240, 230, .04) 30%, rgba(245, 240, 230, .04) 70%, rgba(245, 240, 230, .18) 100%);
  pointer-events: none;
}

.glaze {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(245, 240, 230, .62) 0%, rgba(245, 240, 230, .16) 42%, transparent 66%),
    linear-gradient(180deg, rgba(245, 240, 230, .38) 0%, transparent 20%, transparent 76%, rgba(245, 240, 230, .58) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.topline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(38, 40, 34, .10);
}

.topline i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  transition: width .18s linear;
}

.rope-rail {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--rail-w);
  height: 100vh;
  z-index: 40;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rope-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 74px;
  background: linear-gradient(90deg, transparent, rgba(38, 40, 34, .05) 45%, rgba(38, 40, 34, .10));
  pointer-events: none;
}

.rope-svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 100vh;
  overflow: visible;
  filter: drop-shadow(0 3px 6px rgba(158, 58, 40, .18));
}

.rope-shadow {
  fill: none;
  stroke: rgba(38, 40, 34, .18);
  stroke-width: 7;
  stroke-linecap: round;
  filter: blur(2.4px);
  transform: translateX(2.5px);
}

.rope-body {
  fill: none;
  stroke: var(--cinnabar);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rope-light {
  fill: none;
  stroke: rgba(255, 232, 220, .55);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.knot { opacity: 0; }

.knot ellipse {
  fill: var(--cinnabar-deep);
  stroke: rgba(245, 240, 230, .85);
  stroke-width: 1.4;
}

.knot path {
  fill: none;
  stroke: #6F2718;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.knot.is-tied {
  opacity: 1;
  animation: knotPop .6s var(--ease) both;
}

@keyframes knotPop {
  0%   { opacity: 0; }
  55%  { opacity: 1; }
  100% { opacity: 1; }
}

.fray {
  stroke: var(--cinnabar);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .95;
}

.rope-meta {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(245, 240, 230, .8);
}

.rope-meta #knotCount {
  font-size: 26px;
  color: var(--cinnabar);
  font-family: var(--font-hand);
  letter-spacing: 0;
}

.rope-meta i { font-style: normal; opacity: .5; margin: 0 1px; }
.rope-meta em { font-style: normal; margin-left: 4px; opacity: .7; }

.quote {
  position: fixed;
  right: calc(var(--rail-w) + 34px);
  bottom: 54px;
  width: min(340px, 40vw);
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) rotate(-1.2deg);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.quote.is-on {
  opacity: 1;
  transform: translateY(0) rotate(-1.2deg);
}

.quote-text {
  margin: 0;
  font-family: var(--font-kai);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 2.1;
  color: var(--ink-soft);
  text-align: right;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 0 22px rgba(245, 240, 230, .9);
}

.quote-text::before {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 0 0 12px auto;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.quote-mark {
  display: block;
  margin-top: 10px;
  font-family: var(--font-hand);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--ochre);
  text-align: right;
  opacity: .85;
}

.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 12vh 6vw;
}

.hero-inner {
  max-width: 760px;
  padding-right: var(--rail-w);
}

.eyebrow {
  margin: 0 0 26px;
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .42em;
  color: var(--ochre);
}

.title {
  margin: 0 0 34px;
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1.22;
  color: var(--azure-deep);
}

.title-line {
  display: block;
  font-size: clamp(38px, 6.4vw, 92px);
  letter-spacing: .04em;
}

.title-strong {
  color: var(--cinnabar);
  margin-left: .9em;
}

.lede {
  margin: 0 0 46px;
  font-family: var(--font-kai);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 2.2;
  color: var(--ink-soft);
}

.scroll-hint {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-kai);
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .4s var(--ease);
}

.scroll-hint:hover { color: var(--cinnabar); }

.scroll-hint i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--ink-faint), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cinnabar);
  animation: drip 2.4s var(--ease) infinite;
}

@keyframes drip {
  0%   { transform: translateY(-100%); }
  70%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

.hero-seal {
  position: absolute;
  left: 6vw;
  bottom: 8vh;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-kai);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .06em;
  color: var(--paper);
  background: var(--cinnabar);
  border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(158, 58, 40, .28);
  opacity: .92;
}

.scene {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 14vh 6vw 14vh clamp(6vw, 11vw, 190px);
  padding-right: calc(var(--rail-w) + 6vw);
}

.scene-inner {
  position: relative;
  max-width: 620px;
}

.scene-season {
  margin: 0 0 10px;
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .5em;
  color: var(--ochre);
  text-shadow: 0 0 18px rgba(245, 240, 230, .95);
}

.scene-name {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(64px, 9.5vw, 138px);
  line-height: 1.05;
  letter-spacing: .04em;
  color: var(--azure-deep);
  
  text-shadow:
    0 0 26px rgba(245, 240, 230, .92),
    0 0 60px rgba(245, 240, 230, .8),
    0 2px 3px rgba(38, 40, 34, .10);
}

.scene-gift {
  margin: 14px 0 0;
  font-family: var(--font-kai);
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: .22em;
  color: rgba(38, 40, 34, .72);
  text-shadow: 0 0 16px rgba(245, 240, 230, 1), 0 0 34px rgba(245, 240, 230, .85), 0 1px 2px rgba(245, 240, 230, .9);
}

.scene-gift::before {
  content: "· ";
  color: var(--gold);
}

.seed {
  appearance: none;
  position: relative;
  margin-top: 34px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(190, 74, 52, .55);
  box-shadow: 0 0 0 6px rgba(245, 240, 230, .35);
  background: radial-gradient(circle, rgba(190, 74, 52, .30) 0%, rgba(190, 74, 52, .06) 70%);
  opacity: .28;
  cursor: pointer;
  padding: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.seed::after {
  content: "收下这一封";
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--cinnabar);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s var(--ease);
  text-shadow: 0 0 16px rgba(245, 240, 230, .95);
}

.seed:hover,
.seed:focus-visible {
  opacity: 1;
  transform: scale(1.06);
  outline: none;
}

.seed:hover::after,
.seed:focus-visible::after { opacity: 1; }

.seed.is-done {
  opacity: 0;
  pointer-events: none;
}

.finale {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16vh 6vw;
  padding-right: calc(var(--rail-w) + 6vw);
  text-align: center;
}

.finale-inner {
  padding: 5vh 4vw;
  background: radial-gradient(70% 60% at 50% 50%, rgba(245, 240, 230, .92) 0%, rgba(245, 240, 230, .55) 55%, rgba(245, 240, 230, 0) 78%);
}

.finale-line {
  margin: 0 0 22px;
  font-family: var(--font-hand);
  font-size: clamp(24px, 3vw, 38px);
  color: var(--cinnabar);
  letter-spacing: .06em;
}

.finale-title {
  margin: 0 0 18px;
  font-family: var(--font-kai);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: .1em;
  color: var(--azure-deep);
}

.finale-sub {
  margin: 0 0 48px;
  font-family: var(--font-kai);
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--ink-faint);
}

.finale-btn {
  appearance: none;
  border: 1px solid var(--cinnabar);
  background: rgba(245, 240, 230, .6);
  color: var(--cinnabar);
  font-family: var(--font-kai);
  font-size: 15px;
  letter-spacing: .28em;
  padding: 14px 34px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}

.finale-btn:hover {
  background: var(--cinnabar);
  color: var(--paper);
  transform: translateY(-1px);
}

.finale-btn[disabled] {
  border-color: rgba(38, 40, 34, .18);
  color: var(--ink-faint);
  cursor: default;
  background: transparent;
  transform: none;
}

.finale-note {
  margin: 34px 0 0;
  font-family: var(--font-kai);
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: .1em;
  color: rgba(58, 56, 48, .62);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.finale-note.is-on {
  opacity: 1;
  transform: translateY(0);
}

.finale-note.is-on { opacity: 1; }

@media (max-width: 880px) {
  :root { --rail-w: 62px; }

  .rope-svg { width: 64px; }
  .quote { right: calc(var(--rail-w) + 16px); bottom: 22px; width: min(260px, 60vw); }
  .scene { padding: 12vh 5vw; padding-right: calc(var(--rail-w) + 5vw); }
  .rope-meta { font-size: 11px; bottom: 14px; }
  .rope-meta #knotCount { font-size: 20px; }
  .seed::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate { transition-duration: .001ms; }
  * { animation-duration: .001ms !important; }
}

html, body {
  scrollbar-width: none;          
  -ms-overflow-style: none;       
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;                  
}

.scene-inner {
  position: relative;
  isolation: isolate;
}

.scene-season {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: .58em;
  text-indent: .66em;             
  color: #47696f;
  opacity: .82;
  text-shadow: none;
}

.scene-season::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-left: 1.1em;
  vertical-align: .32em;
  background: linear-gradient(90deg, rgba(168, 132, 95, .6), rgba(168, 132, 95, 0));
}

.scene-name {
  position: relative;
  z-index: 0;
  font-size: clamp(74px, 11.4vw, 172px);
  letter-spacing: .05em;
  line-height: 1;
}

.scene-name::before {
  content: "";
  position: absolute;
  inset: -6% -22% -10% -16%;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(115% 85% at 32% 38%, rgba(248, 245, 239, .96) 0%, rgba(243, 240, 234, .62) 52%, rgba(243, 240, 234, 0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23p)' opacity='0.16'/%3E%3C/svg%3E");
  background-size: cover, 240px 240px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
}

.scene-gift {
  margin-top: 22px;
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: .3em;
  opacity: .82;
}

.quote {
  top: clamp(26px, 6.5vh, 86px);
  left: 50%;
  right: auto;
  bottom: auto;
  width: auto;
  max-width: 62vh;
  /* 竖排：高度交给内容，只给上限。写死高度会把一句诗拦腰折断成三列 */
  height: auto;
  max-height: 62vh;
  margin: 0;
  transform: translateX(-50%);
  transform-origin: top center;
  text-align: center;
  writing-mode: vertical-rl;      
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6em;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.quote.is-on {
  opacity: 1;
  transform: translateX(-50%);
}

.quote-text {
  margin: 0;
  font-family: var(--font-kai);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.62;
  letter-spacing: .26em;
  text-indent: 0;
  text-align: start;
  text-spacing: trim-start;
  hanging-punctuation: allow-end;
  color: rgba(38, 40, 34, .88);
  text-shadow: 0 0 18px rgba(245, 240, 230, .95);
  filter: blur(10px);
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, #000 30%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 0%, #000 0%, #000 30%, transparent 72%);
  -webkit-mask-size: 100% 0%;
          mask-size: 100% 0%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  transition:
    filter 1.5s cubic-bezier(.16, .84, .44, 1),
    opacity 1.2s ease,
    -webkit-mask-size 1.6s cubic-bezier(.16, .84, .44, 1),
            mask-size 1.6s cubic-bezier(.16, .84, .44, 1);
}

.quote.is-on .quote-text {
  filter: blur(0);
  opacity: 1;
  -webkit-mask-size: 100% 120%;
          mask-size: 100% 120%;
}

.quote-text::before { display: none; }   

.quote-mark {
  position: absolute;
  left: 0;
  bottom: -1.9em;
  margin: 0;
  writing-mode: horizontal-tb;
  font-family: var(--font-hand);
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--ochre);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 1s ease .55s, transform 1s ease .55s;
}

.quote.is-on .quote-mark {
  opacity: .8;
}

html, body, a, button, .seed, .scroll-hint, .finale-btn {
  cursor: none;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow:
    0 0 12px rgba(190, 74, 52, .65),
    0 0 34px rgba(190, 74, 52, .28);
  pointer-events: none;
  opacity: 0;
  transition: width .28s var(--ease), height .28s var(--ease),
              margin .28s var(--ease), opacity .4s ease,
              background .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.cursor.is-on { opacity: 1; }

.cursor.is-hot {
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  background: rgba(190, 74, 52, .78);
  box-shadow:
    0 0 18px rgba(190, 74, 52, .8),
    0 0 52px rgba(190, 74, 52, .34);
}

.cursor.is-down {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
}

@media (pointer: coarse) {
  html, body, a, button { cursor: auto; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-text { filter: none; -webkit-mask-image: none; mask-image: none; opacity: 1; }
  .cursor { transition: none; }
}

.fx {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.charm {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: 26px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(190, 74, 52, .38);
  background:
    radial-gradient(circle at 34% 28%, #fffdf7 0%, #f6f1e6 55%, #efe7d8 100%);
  box-shadow:
    0 6px 16px rgba(120, 95, 70, .14),
    inset 0 0 26px rgba(205, 175, 114, .28);
  cursor: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: box-shadow .3s var(--ease), opacity .5s var(--ease), filter .3s var(--ease);
  will-change: transform;
}

.charm-ring {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 132, 95, .45);
  pointer-events: none;
}

.charm-txt {
  font-family: var(--font-kai);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .04em;
  color: var(--azure-deep);
  text-align: center;
  max-width: 66px;
  pointer-events: none;
}

.charm.is-held {
  box-shadow:
    0 16px 34px rgba(120, 95, 70, .26),
    0 0 0 9px rgba(245, 240, 230, .42),
    inset 0 0 30px rgba(205, 175, 114, .4);
}

.charm.is-gone { pointer-events: none; }

.seed.is-moved { display: none; }

body.is-near-rope .rope-body { filter: drop-shadow(0 0 6px rgba(190, 74, 52, .7)); }
body.is-near-rope .roprail,
body.is-near-rope .rope-rail { opacity: 1; }

.guide-line {
  position: fixed;
  z-index: 40;
  height: 0;
  border-top: 1px dashed rgba(190, 74, 52, .7);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.guide-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 10px rgba(190, 74, 52, .8);
}

.guide-line.is-on { opacity: 1; animation: guidePulse 1.4s ease-in-out infinite; }

@keyframes guidePulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: .95; }
}

.charm.is-rubbed { box-shadow: 0 0 0 10px rgba(205, 175, 114, .18), 0 0 40px rgba(205, 175, 114, .5); }
.charm.is-aroma  { filter: brightness(1.12) sepia(.1); }

.charm.is-freezing { filter: saturate(.8) brightness(1.04); }

.cracks {
  position: absolute;
  inset: -6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s linear;
}

.cracks svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(70, 105, 115, .85);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px rgba(120, 160, 170, .8));
}

body.can-tear .rope-rail {
  pointer-events: auto;
  cursor: none;
}

body.can-tear .rope-rail::before {
  content: "";
  position: absolute;
  inset: -30px -22px;
  border-radius: 40px;
}

body.is-straining .rope-body { filter: drop-shadow(0 0 8px rgba(190, 74, 52, .85)); }

.tear-hint {
  position: fixed;
  right: calc(var(--rail-w) + 26px);
  top: 42vh;
  z-index: 60;
  margin: 0;
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--cinnabar);
  writing-mode: vertical-rl;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
  text-shadow: 0 0 16px rgba(245, 240, 230, .95);
}

.tear-hint.is-on { opacity: .85; transform: translateX(0); }

.break-line {
  position: fixed;
  left: 50%;
  top: 46%;
  z-index: 60;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-hand);
  font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: .12em;
  color: var(--azure-deep);
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
  text-shadow: 0 0 30px rgba(245, 240, 230, .95);
}

.break-line.is-on { opacity: 1; }

.reborn {
  position: fixed;
  left: 50%;
  top: 58%;
  z-index: 61;
  transform: translate(-50%, 0) scale(.92);
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 26px 30px;
  border: none;
  background: none;
  cursor: none;
  opacity: 0;
  transition: opacity 1s ease, transform 1s var(--ease);
}

.reborn.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

.reborn-thread {
  display: block;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(190, 74, 52, 0), var(--cinnabar) 30%, var(--cinnabar) 70%, rgba(190, 74, 52, 0));
  animation: threadSway 3.4s ease-in-out infinite;
}

@keyframes threadSway {
  0%, 100% { transform: rotate(-1.6deg); }
  50%      { transform: rotate(1.6deg); }
}

.reborn-txt {
  font-family: var(--font-kai);
  font-size: 14px;
  letter-spacing: .34em;
  color: var(--cinnabar);
}

@media (pointer: coarse) {
  .charm { cursor: pointer; }
  .reborn { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-line.is-on,
  .reborn-thread { animation: none; }
}

#quote[data-anchor="tr"] {
  right: 9%;
  left: auto;
  top: 7%;
  bottom: auto;
  transform: none;
}
#quote[data-anchor="tc"] {
  left: 50%;
  right: auto;
  top: 6%;
  bottom: auto;
  transform: translateX(-50%);
}
#quote[data-anchor="tl"] {
  left: 10%;
  right: auto;
  top: 7%;
  bottom: auto;
  transform: none;
}
#quote[data-anchor="mr"] {
  right: 7%;
  left: auto;
  top: 40%;
  bottom: auto;
  transform: none;
}
#quote[data-anchor="ml"] {
  left: 9%;
  right: auto;
  top: 40%;
  bottom: auto;
  transform: none;
}
#quote[data-anchor="br"] {
  right: 9%;
  left: auto;
  top: auto;
  bottom: 12%;
  transform: none;
}
#quote[data-anchor="bc"] {
  left: 50%;
  right: auto;
  top: auto;
  bottom: 10%;
  transform: translateX(-50%);
}
#quote[data-anchor="bl"] {
  left: 10%;
  right: auto;
  top: auto;
  bottom: 12%;
  transform: none;
}
#quote[data-anchor="cr"] {
  left: 50%;
  right: auto;
  top: 38%;
  bottom: auto;
  transform: translateX(-50%);
}

#quote[data-anchor] { transition: left .7s var(--ease), right .7s var(--ease), top .7s var(--ease), bottom .7s var(--ease), opacity 1.2s cubic-bezier(.16,.84,.44,1); }

#quote[data-anchor] { width: max-content; max-width: none; }

.scene { touch-action: pan-y; }

@media (pointer: coarse) {
  .charm { width: 112px; height: 112px; }
  .charm-txt { font-size: 16px; max-width: 78px; }
  .charm-ring { inset: 8px; }
  .tear-hint { font-size: 14px; letter-spacing: .26em; }
}

.charm.is-nudge {
  animation: charmNudge 1.6s ease-in-out infinite;
}

@keyframes charmNudge {
  0%, 100% { transform: translateY(0) scale(1); }
  12%      { transform: translateY(-6px) scale(1.03); }
  24%      { transform: translateY(0) scale(1); }
  36%      { transform: translateY(-3px) scale(1.015); }
  48%      { transform: translateY(0) scale(1); }
}

.charm.is-nudge::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-kai);
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(139, 110, 82, .85);
  opacity: 0;
  animation: nudgeHint 1.6s ease-in-out infinite;
}

@keyframes nudgeHint {
  0%, 100% { opacity: 0; }
  40%, 70% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .charm.is-nudge, .charm.is-nudge::after { animation: none; }
  .charm.is-nudge { box-shadow: 0 0 0 10px rgba(205, 175, 114, .22); }
}

.charm.is-flying,
.charm.is-blown,
.charm.is-gone {
  pointer-events: none;
}

body.can-tear .rope-rail.is-armed .rope-body {
  filter: drop-shadow(0 0 10px rgba(190, 74, 52, .55));
}
body.can-tear .rope-rail.is-armed .tear-hint {
  opacity: 1;
}
.charm.is-broken { pointer-events: none; }
body.is-broken-rope .rope-rail { pointer-events: none; }
body.is-broken-rope .tear-hint,
body.is-broken-rope .rope-meta { opacity: 0; }

.hint-line {
  position: fixed;
  left: 50%;
  bottom: clamp(26px, 5vh, 54px);
  transform: translateX(-50%) translateY(7px);
  margin: 0;
  z-index: 50;
  pointer-events: none;
  font-family: var(--font-kai);
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: .34em;
  text-indent: .34em;
  font-weight: 300;
  color: rgba(38, 40, 34, .58);
  text-shadow: 0 0 16px rgba(245, 240, 230, .92), 0 0 4px rgba(245, 240, 230, .8);
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}

.hint-line.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  animation: hintBreath 3.4s ease-in-out infinite;
}

@keyframes hintBreath {
  0%, 100% { opacity: .42; }
  50%      { opacity: .92; }
}

.charm.is-nudge::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hint-line.is-show { animation: none; opacity: .72; }
}

/* ---------- 首屏说明：这一段，用手读 ---------- */
.hero-note {
  margin: 22px 0 0;
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: .34em;
  color: rgba(139, 127, 112, .78);
  text-shadow: 0 0 14px rgba(245, 240, 230, .9);
  opacity: .9;
}

/* ============================================================
   四章折叠：纵轴四章各一屏，章内六格横着走
   ============================================================ */

html { scroll-snap-type: y proximity; }

.chapter {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}

.chapter-head {
  position: absolute;
  top: clamp(16px, 3.4vh, 40px);
  left: clamp(20px, 5.6vw, 92px);
  z-index: 12;
  display: flex;
  align-items: baseline;
  gap: 18px;
  pointer-events: none;
}

.chapter-mark {
  font-family: var(--font-hand), "STXingkai", "华文行楷", cursive;
  font-size: 15px;
  letter-spacing: .3em;
  color: var(--ochre);
  opacity: .9;
  text-shadow: 0 0 12px rgba(245, 240, 230, .9), 0 0 26px rgba(245, 240, 230, .7);
}

.chapter-names {
  font-family: var(--font-kai), "STKaiti", "楷体", serif;
  font-size: 11.5px;
  letter-spacing: .28em;
  color: rgba(38, 40, 34, .5);
  text-shadow: 0 0 12px rgba(245, 240, 230, .92), 0 0 24px rgba(245, 240, 230, .72);
}

.strip {
  display: flex;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { width: 0; height: 0; display: none; }

.chapter .scene {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: center;
  touch-action: auto;
}

.dots {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.6vh, 26px);
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  gap: 11px;
  filter: drop-shadow(0 0 4px rgba(245, 240, 230, .95));
}

.dot {
  appearance: none;
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(150, 116, 82, .78);
  background: transparent;
  cursor: none;
  transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.dot.is-on {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  transform: scale(1.55);
}

@media (pointer: coarse) {
  .dot { width: 9px; height: 9px; }
  .chapter-names { font-size: 10.5px; letter-spacing: .22em; }
}

/* ---------- 左右翻页箭头 + 首次提示 ---------- */

.pager {
  position: absolute;
  top: 50%;
  z-index: 14;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px dashed rgba(190, 74, 52, .7);
  border-radius: 50%;
  background: rgba(248, 244, 236, .72);
  color: var(--cinnabar);
  cursor: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .55s var(--ease), background .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}

.pager::before {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 240, 230, .82), rgba(245, 240, 230, .3) 64%, rgba(245, 240, 230, 0));
  opacity: .95;
  pointer-events: none;
}

.pager svg {
  width: 34px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(245, 240, 230, .95)) drop-shadow(0 0 12px rgba(245, 240, 230, .7));
}

.pager-prev { left: clamp(16px, 3vw, 42px); }
.pager-next { right: clamp(104px, 8.4vw, 128px); }

.pager.is-on { opacity: .82; pointer-events: auto; }
.pager.is-on:hover { opacity: .95; background: rgba(245, 240, 230, .82); border-color: rgba(190, 74, 52, .7); }
.pager.is-off { opacity: 0; pointer-events: none; }

.pager-next.is-hint { animation: pagerBreath 2.6s ease-in-out infinite; }

@keyframes pagerBreath {
  0%, 100% { opacity: .38; transform: translateY(-50%) translateX(0); }
  50% { opacity: .82; transform: translateY(-50%) translateX(7px); }
}

.pager-hint {
  position: fixed;
  left: 50%;
  bottom: clamp(34px, 6vh, 58px);
  margin: 0;
  z-index: 50;
  transform: translate(-50%, 6px);
  font-family: var(--font-kai), "STKaiti", serif;
  font-size: 12.5px;
  letter-spacing: .26em;
  color: rgba(58, 56, 48, .52);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 12px rgba(245, 240, 230, .95);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.pager-hint.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (pointer: coarse) {
  .pager { width: 56px; height: 56px; }
  .pager-next { right: clamp(92px, 14vw, 120px); }
  .pager-hint { font-size: 13.5px; letter-spacing: .2em; }
}

.pager-num {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-kai), "STKaiti", serif;
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(58, 56, 48, .62);
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(245, 240, 230, .95);
}

/* ---------------------------------------------------------------
   信物图标（2026-11-18）
   96px 纸色圆盘里放 46px 线描，名字压到盘底
   --------------------------------------------------------------- */
.charm {
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding-top: 2px;
}

.charm-glyph {
  width: 52px;
  height: 52px;
  display: block;
  pointer-events: none;
}

.charm-glyph path,
.charm-glyph circle,
.charm-glyph ellipse,
.charm-glyph line,
.charm-glyph rect {
  fill: none;
  stroke: rgba(47, 59, 58, .82);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.charm-glyph .soft { stroke: rgba(47, 59, 58, .5); stroke-width: 1.8; }
.charm-glyph .acc { stroke: var(--cinnabar); }
.charm-glyph .fill { fill: rgba(47, 59, 58, .12); }
.charm-glyph .fill-acc { fill: rgba(190, 74, 52, .16); }

.charm .charm-txt {
  font-size: 11.5px;
  letter-spacing: .06em;
  opacity: .82;
}

.charm.is-flying .charm-glyph,
.charm.is-blown .charm-glyph,
.charm.is-broken .charm-glyph {
  transition: opacity .4s var(--ease);
  opacity: 0;
}

/* 信物盘放大 —— 里面装了图标，96 有点挤 */
.charm {
  width: 108px;
  height: 108px;
}

/* ---------------- 分享卡（这一年） ---------------- */
.finale-acts {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.finale-btn.is-ghost {
  background: transparent;
  border-color: rgba(190, 74, 52, .34);
  color: rgba(142, 51, 36, .82);
}

#yearCard {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  background: rgba(30, 26, 20, .52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

#yearCard.is-on { display: grid; }

.yc-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.yc-img {
  max-height: 74vh;
  max-width: min(86vw, 480px);
  border-radius: 2px;
  box-shadow: 0 26px 64px rgba(38, 28, 18, .38);
}

.yc-bar { display: flex; gap: 16px; }

.yc-save,
.yc-close {
  font-family: var(--font-kai);
  font-size: 15px;
  letter-spacing: .16em;
  padding: 10px 24px;
  border: 1px solid rgba(190, 74, 52, .5);
  background: rgba(246, 241, 230, .94);
  color: #8e3324;
  border-radius: 2px;
  text-decoration: none;
  cursor: none;
}

.yc-save:hover,
.yc-close:hover { background: #fbf7ee; }

body.has-card #cursor { opacity: 0; }

/* ---------------- 窄屏（手机） ---------------- */
@media (max-width: 640px) {
  /* 题名与信物都收一号，别顶到红绳上 */
  .scene-name { font-size: clamp(56px, 16vw, 92px); }
  .scene-gift { font-size: 14px; letter-spacing: .2em; }

  .charm { width: 88px; height: 88px; }
  .charm-glyph { width: 42px; height: 42px; }
  .charm-txt { font-size: 10.5px; }

  /* 箭头缩小并贴近边缘，右侧红绳仍留 44px */
  .pager { width: 44px; height: 44px; }
  .pager svg { width: 26px; height: 14px; }
  .pager-prev { left: 10px; }
  .pager-next { right: 52px; }
  .pager-num { font-size: 10px; }

  .chapter-head { font-size: 12px; letter-spacing: .2em; }
  .dots { bottom: 18px; }

  .quote { max-width: 78vw; }

  /* 分享卡：横屏或矮屏时把保存键留出来 */
  .yc-img { max-height: 64vh; max-width: 92vw; }
  .yc-bar { gap: 12px; }
  .yc-save, .yc-close { padding: 9px 18px; font-size: 14px; }
}

/* ===== 手机端排版（<=640px） ===== */
@media (max-width: 640px) {
  .chapter-head {
    top: 12px;
    left: 5vw;
    right: 5vw;
    gap: 8px;
    align-items: center;
  }
  .chapter-mark {
    font-size: 12.5px;
    letter-spacing: .26em;
  }
  .chapter-names { display: none; }

  /* 题跋：竖排改横排，压在章头下面，最多两行 */
  #quote,
  #quote[data-anchor] {
    writing-mode: horizontal-tb;
    left: 5vw;
    right: 5vw;
    top: 42px;
    bottom: auto;
    width: auto;
    max-width: none;
    height: auto;
    transform: none;
  }
  #quote .quote-text {
    writing-mode: horizontal-tb;
    font-size: 13.5px;
    line-height: 1.95;
    text-align: left;
    max-width: none;
    color: rgba(58, 56, 48, .72);
  }
  #quote .quote-text::before { display: none; }
  #quote .quote-mark {
    position: static;
    display: inline-block;
    margin-top: 2px;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-align: left;
  }

  /* 节气名与信物 */
  .scene {
    padding: 22vh 7vw 15vh 7vw;
    align-content: center;
  }
  .scene-season { display: none; }   /* 章头已经有「贰 · 夏」，屏内不再重复 */
  .scene-name { font-size: clamp(46px, 14vw, 78px); }
  .scene-gift { font-size: 13px; margin-top: 10px; }
  .charm {
    width: 76px;
    height: 76px;
    margin-top: 16px;
  }
  .charm .charm-glyph { width: 34px; height: 34px; }
  .charm .charm-txt { font-size: 9.5px; letter-spacing: .06em; }

  /* 翻页：手机靠滑动与圆点，箭头隐掉，避免压住信物 */
  .pager { display: none !important; }
  .pager-hint {
    bottom: 46px;
    font-size: 11px;
  }

  /* 底部计数：贴在右栏里、向左展开，不再被裁 */
  .rope-meta {
    left: auto;
    right: 6px;
    bottom: 30px;
    transform: none;
    font-size: 10.5px;
    letter-spacing: .06em;
  }
  .rope-meta em { display: none; }

  .dots { bottom: 14px; gap: 8px; }
  .dot { width: 6px; height: 6px; }
}

/* 手机上永远给文字垫一层纸色柔光，避免压在人物上读不出 */
@media (max-width: 640px) {
  .scene-inner {
    position: relative;
    padding: 18px 0 26px;
  }
  .scene-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -9vw;
    right: -6vw;
    top: 50%;
    height: 340px;
    transform: translateY(-50%);
    background: radial-gradient(closest-side, rgba(246, 241, 230, .92), rgba(246, 241, 230, .72) 58%, rgba(246, 241, 230, 0) 100%);
    pointer-events: none;
  }
  .scene-name {
    text-shadow:
      0 0 18px rgba(245, 240, 230, .98),
      0 0 40px rgba(245, 240, 230, .9),
      0 1px 2px rgba(38, 40, 34, .08);
  }
  .scene-gift { color: rgba(58, 56, 48, .74); }

  /* 底部一条纸色渐隐，圆点与计数才看得清 */
  #scroll::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 108px;
    z-index: 11;
    pointer-events: none;
    background: linear-gradient(to top, rgba(246, 241, 230, .96), rgba(246, 241, 230, .55) 46%, rgba(246, 241, 230, 0));
  }
  .dots { z-index: 13; }

  /* 题跋：给一点底，压住图 */
  #quote .quote-text {
    padding: 2px 10px 2px 0;
    text-shadow: 0 0 14px rgba(246, 241, 230, .95);
  }
}

@media (max-width: 640px) {
  #quote { position: fixed; }
  #quote .quote-text {
    writing-mode: horizontal-tb;
    font-size: 13.5px;
    line-height: 1.95;
    text-align: left;
    max-width: none;
    color: rgba(58, 56, 48, .72);
  }
  #quote .quote-text::before { display: none; }
  #quote .quote-mark {
    position: static;
    display: inline-block;
    margin-top: 2px;
    font-size: 10.5px;
    letter-spacing: .18em;
    text-align: left;
  }

  /* 节气名与信物 */
  .scene {
    padding: 22vh 7vw 15vh 7vw;
    align-content: center;
  }
  .scene-season { display: none; }   /* 章头已经有「贰 · 夏」，屏内不再重复 */
  .scene-name { font-size: clamp(46px, 14vw, 78px); }
  .scene-gift { font-size: 13px; margin-top: 10px; }
  .charm {
    width: 76px;
    height: 76px;
    margin-top: 16px;
  }
  .charm .charm-glyph { width: 34px; height: 34px; }
  .charm .charm-txt { font-size: 9.5px; letter-spacing: .06em; }

  /* 翻页：手机靠滑动与圆点，箭头隐掉，避免压住信物 */
  .pager { display: none !important; }
  .pager-hint {
    bottom: 46px;
    font-size: 11px;
  }

  /* 底部计数：贴在右栏里、向左展开，不再被裁 */
  .rope-meta {
    left: auto;
    right: 6px;
    bottom: 30px;
    transform: none;
    font-size: 10.5px;
    letter-spacing: .06em;
  }
  .rope-meta em { display: none; }

  .dots { bottom: 14px; gap: 8px; }
  .dot { width: 6px; height: 6px; }
}

/* 手机上永远给文字垫一层纸色柔光，避免压在人物上读不出 */
@media (max-width: 640px) {
  .scene-inner {
    position: relative;
    padding: 18px 0 26px;
  }
  .scene-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -9vw;
    right: -6vw;
    top: 50%;
    height: 340px;
    transform: translateY(-50%);
    background: radial-gradient(closest-side, rgba(246, 241, 230, .92), rgba(246, 241, 230, .72) 58%, rgba(246, 241, 230, 0) 100%);
    pointer-events: none;
  }
  .scene-name {
    text-shadow:
      0 0 18px rgba(245, 240, 230, .98),
      0 0 40px rgba(245, 240, 230, .9),
      0 1px 2px rgba(38, 40, 34, .08);
  }
  .scene-gift { color: rgba(58, 56, 48, .74); }

  /* 底部一条纸色渐隐，圆点与计数才看得清 */
  #scroll::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 108px;
    z-index: 11;
    pointer-events: none;
    background: linear-gradient(to top, rgba(246, 241, 230, .96), rgba(246, 241, 230, .55) 46%, rgba(246, 241, 230, 0));
  }
  .dots { z-index: 13; }

  /* 题跋：给一点底，压住图 */
  #quote .quote-text {
    padding: 2px 10px 2px 0;
    text-shadow: 0 0 14px rgba(246, 241, 230, .95);
  }
}

@media (max-width: 640px) {
  #quote { position: fixed; }
  #quote::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -4vw;
    right: -4vw;
    top: -10px;
    bottom: -10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(246, 241, 230, .94), rgba(246, 241, 230, .72) 62%, rgba(246, 241, 230, 0));
    pointer-events: none;
  }
  #quote .quote-text {
    color: rgba(45, 43, 38, .86);
    font-size: 13px;
    line-height: 1.9;
    text-shadow: 0 0 12px rgba(246, 241, 230, .96), 0 0 26px rgba(246, 241, 230, .8);
  }
  #quote .quote-mark { color: rgba(140, 106, 69, .85); }
}

@media (max-width: 640px) {
  #quote,
  #quote[data-anchor] {
    width: auto !important;
    max-width: none !important;
    left: 5vw !important;
    right: calc(var(--rail-w) + 4vw) !important;
    top: 40px !important;
    bottom: auto !important;
    transform: none !important;
  }
  #quote .quote-text { max-width: 100%; }
  .pager-hint .kbd { display: none; }
}

@media (max-width: 640px) {
  .rope-meta { z-index: 16; }
  .rope-meta em { display: none; }
}

@media (max-width: 640px) {
  .rope-rail { z-index: 15; }
  .rope-meta { bottom: 92px; right: 10px; font-size: 10.5px; }
  .rope-meta em { display: none; }
}

/* 分享卡灯箱：这里必须还回系统指针，否则整页 cursor:none 会让人不知道点哪儿 */
body.has-card,
body.has-card * {
  cursor: auto !important;
}
body.has-card .yc-save,
body.has-card .yc-close {
  cursor: pointer !important;
}
body.has-card .yc-save:hover,
body.has-card .yc-close:hover {
  background: rgba(190, 74, 52, .12);
}

/* ---- 第二年：首页的「阿婆说」 ---- */
.hero-again {
  margin: clamp(14px, 2.4vh, 26px) 0 clamp(4px, 1vh, 10px);
  max-width: 34em;
  font-family: var(--font-kai);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .12em;
  color: rgba(52, 50, 44, .82);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
  pointer-events: none;
}

.hero-again.is-on { opacity: 1; transform: none; }

.hero-again .hero-again-mark {
  display: inline-block;
  margin-right: .7em;
  font-family: var(--font-hand);
  font-size: 12.5px;
  letter-spacing: .3em;
  color: rgba(140, 106, 69, .78);
}

@media (max-width: 640px) {
  .hero-again { font-size: 13.5px; max-width: 100%; }
}
