:root{
  --paper:#fbf8f2;
  --ink:#384047;
  --muted:#8c8780;
  --gold:#d8b98c;
  --gold2:#caa171;
  --blue:#a8cce0;
  --green:#abc49f;
  --peach:#f6c7a9;
  --card:rgba(255,255,255,.74);
  --line:rgba(202,161,113,.26);
  --shadow:0 18px 55px rgba(71,58,43,.10);
  --control-size:36px;
  --control-bottom:10px;
  --control-color:rgba(202,161,113,.86);
  --font-cn-serif:"AnniversarySong","SimSun","宋体","Songti SC","STSong","Noto Serif CJK SC","Noto Serif SC",serif;
}

@font-face{
  font-family:"AnniversarySong";
  src:local("SimSun"),local("宋体"),local("Songti SC"),local("STSong"),local("Noto Serif CJK SC"),local("Noto Serif SC");
  font-display:swap;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  width:100%;
  max-width:100%;
  height:100%;
  overflow:hidden;
  background:#111;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  font-family:var(--font-cn-serif);
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
  color:var(--ink);
}

.phone{
  position:relative;
  width:100vw;
  max-width:100%;
  height:100vh;
  height:100svh;
  overflow:hidden;
  background:var(--paper);
}

.slides{height:100%;position:relative}
.slide{
  position:absolute;
  inset:0;
  display:none;
  min-height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  padding:74px 24px 34px;
  background:
    radial-gradient(circle at 12% 22%,rgba(168,204,224,.22),transparent 24%),
    radial-gradient(circle at 92% 82%,rgba(171,196,159,.18),transparent 26%),
    linear-gradient(180deg,#fffdf8 0%,#fbf8f2 100%);
}
.slide.active{display:block;animation:pageIn .55s ease both}

.icon-btn{
  position:absolute;z-index:60;bottom:calc(var(--control-bottom) + env(safe-area-inset-bottom));
  display:flex;align-items:center;justify-content:center;
  width:var(--control-size);height:var(--control-size);border:0;
  background:transparent;
  box-shadow:none;
  color:var(--control-color);font-size:34px;line-height:1;
  padding:0
}
.back-btn{left:24px}
.music-btn{right:24px;font-size:34px}
.music-btn.is-muted{
  opacity:.36
}

h1,h2{
  text-align:center;font-weight:400;letter-spacing:.16em;
  margin:0;color:#2f373d;text-shadow:0 1px 0 rgba(255,255,255,.8)
}
h1{font-size:30px}
h2{font-size:29px;margin-top:10px}
h2 span{color:var(--blue);font-size:24px}
.heart-page h2 span{
  display:inline-block;
  margin-left:6px;
  font-size:28px;
  line-height:1;
  transform-origin:center;
  animation:heartPulse 1.25s ease-in-out infinite;
  filter:drop-shadow(0 0 5px rgba(171,196,224,.22))
}
.desc{
  margin:14px auto 26px;text-align:center;color:var(--muted);
  font-size:15px;letter-spacing:.08em;line-height:1.8
}

.watermark{position:absolute;pointer-events:none;opacity:.8;filter:blur(.2px)}
.sky-left{left:-45px;bottom:48px;width:180px;height:90px;background:rgba(168,204,224,.22);border-radius:60% 40% 55% 45%}
.sky-right{right:-50px;top:62px;width:170px;height:86px;background:rgba(168,204,224,.22);border-radius:45% 60% 40% 55%}
.green-left{left:-40px;top:180px;width:150px;height:90px;background:rgba(171,196,159,.18);border-radius:50%}

.top-script{
  position:absolute;top:52px;left:26px;color:var(--gold2);
  font-family:cursive;font-size:18px;opacity:.75
}
.hero{
  padding-top:84px;
  padding-bottom:96px;
  position:relative;
  flex-direction:column;
  align-items:center;
  text-align:center
}
.hero:after{
  content:"since\A 2021.06.26";
  position:absolute;
  left:50%;
  bottom:112px;
  transform:translateX(-50%);
  color:rgba(140,135,128,.34);
  font-family:Georgia,serif;
  font-size:14px;
  line-height:1.7;
  letter-spacing:.18em;
  white-space:pre;
  text-transform:uppercase
}

.ecg-wrap{
  margin:4px auto 12px;width:min(100%,320px);height:76px;display:flex;align-items:center;justify-content:center;
  transform:translateX(-8px)
}
.ecg-line{width:100%;height:100%;display:block;overflow:visible}
.ecg-path{
  fill:none;stroke:#e09aa0;stroke-width:2.1;
  stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 4px rgba(224,154,160,.28)) drop-shadow(0 0 10px rgba(224,154,160,.16))
}
.ecg-main{stroke:#ea95a0;stroke-width:2.15;stroke-dasharray:64 100;stroke-dashoffset:64;animation:ecgTrace 12s linear infinite}
.day-number{
  margin:14px 0 18px;
  display:flex;align-items:flex-end;justify-content:center;gap:12px;
  color:var(--gold2);width:100%
}
.day-number strong{font-family:Georgia,serif;font-weight:400;font-size:104px;line-height:.82;letter-spacing:-.06em}
.day-number em{font-style:normal;background:rgba(255,255,255,.62);border-radius:50%;padding:11px 12px;margin-bottom:8px;color:#5d5a56}

.count-row{
  display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr);
  align-items:center;justify-items:center;gap:0;margin:0 auto;
  width:min(100%,340px)
}
.count-row div{text-align:center;min-width:0}
.count-row b{
  display:block;
  font-family:"Times New Roman","Georgia",serif;
  font-weight:400;font-size:32px;
  line-height:1;width:2ch;height:32px;margin:0 auto;font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1
}
.count-row span{display:block;margin-top:8px;color:var(--muted);font-size:14px}
.count-row i{width:1px;height:44px;background:rgba(202,161,113,.24);justify-self:center}
.ending-text{font-size:18px;line-height:2;color:#4f5356;letter-spacing:.12em}

.next-circle{
  position:absolute;left:50%;bottom:calc(var(--control-bottom) + env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;justify-content:center;
  margin:0;width:var(--control-size);height:var(--control-size);border:0;
  background:transparent;color:transparent;font-size:0;line-height:1;
  box-shadow:none;animation:nextFloat 1.8s ease-in-out infinite;
  cursor:pointer;
  transition:opacity .22s ease,transform .22s ease
}
.next-circle:after{
  content:"";width:16px;height:16px;margin-top:-5px;
  border-right:3px solid var(--control-color);
  border-bottom:3px solid var(--control-color);
  transform:rotate(45deg);
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.75))
}
.next-circle:hover{
  opacity:.72
}
.next-circle:active{
  transform:translateX(-50%) translateY(2px) scale(.94)
}

/* memory */
.memory{
  padding-top:42px;
  padding-bottom:0;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden;
  overflow-x:hidden
}
.slide.active.hero,
.slide.active.memory{display:flex}
.memory .desc{margin:8px auto 10px;line-height:1.45;font-size:16px}
.photo-rope{
  position:relative;margin:2px -24px 6px;padding:12px 0 2px;
  width:calc(100% + 48px);
  max-width:calc(100% + 48px);
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;touch-action:pan-x;
  overscroll-behavior-x:contain;
  cursor:grab
}
.photo-rope.dragging{cursor:grabbing}
.photo-rope::-webkit-scrollbar{display:none}
.photo-rope{scrollbar-width:none}
.photo-track{
  position:relative;
  display:flex;gap:16px;justify-content:flex-start;
  width:max-content;
  min-width:100%;
  padding:0 18%;
}
.photo-card{
  position:relative;
  z-index:2;
  flex:0 0 64vw;
  max-width:278px;
  min-width:198px;
  scroll-snap-align:center;
  transform:rotate(-2deg);
  text-align:center;
  opacity:1
}
.photo-card:before{
  content:"";
  position:absolute;
  left:50%;
  top:-5px;
  z-index:4;
  width:58px;
  height:22px;
  transform:translateX(-50%) rotate(-3deg);
  border-radius:4px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.2) 0 1px,transparent 1px 8px),
    rgba(232,200,145,.62);
  border:1px solid rgba(255,255,255,.44);
  box-shadow:0 5px 14px rgba(94,71,40,.12);
  backdrop-filter:blur(3px)
}
.photo-card:after{
  content:"";
  position:absolute;
  left:50%;
  top:3px;
  z-index:3;
  width:42px;
  height:1px;
  transform:translateX(-50%) rotate(-3deg);
  background:rgba(255,255,255,.48)
}
.photo-card.active{opacity:1}
.photo-card:nth-child(2n){transform:rotate(1.4deg);margin-top:5px}
.photo-card:nth-child(3n){transform:rotate(-.8deg)}
.photo-bg,.photo-card img{
  display:block;width:100%;aspect-ratio:3/4;height:auto;border:8px solid #fff;object-fit:cover;
  background:#ddd;box-shadow:0 10px 22px rgba(70,56,42,.08)
}
.sunset{background:linear-gradient(140deg,#f1c18c,#86b0c6)}
.sea{background:linear-gradient(140deg,#eaf7ff,#75b7da)}
.sakura{background:linear-gradient(140deg,#fbd2d8,#b3d3a8)}
.photo-future{
  position:relative;
  display:flex;
  width:100%;
  aspect-ratio:3/4;
  height:auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:8px solid #fff;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,255,255,.72) 0 16%,transparent 16%),
    radial-gradient(circle at 24% 20%,rgba(168,204,224,.22),transparent 32%),
    radial-gradient(circle at 84% 86%,rgba(246,199,169,.24),transparent 34%),
    linear-gradient(180deg,#fffefa 0%,#f4efe7 100%);
  box-shadow:0 10px 22px rgba(70,56,42,.08);
  color:#4f697a;
}
.photo-future:before{
  content:"";
  position:absolute;
  inset:24px 22px;
  border:1px solid rgba(202,161,113,.26);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.56),rgba(255,255,255,.18)),
    repeating-linear-gradient(0deg,transparent 0 25px,rgba(202,161,113,.08) 25px 26px);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.18),
    0 12px 26px rgba(138,116,88,.08)
}
.photo-future:after{
  content:"";
  position:absolute;
  right:24px;
  top:24px;
  width:38px;
  height:38px;
  border-radius:0 18px 0 18px;
  background:linear-gradient(135deg,rgba(238,220,190,.72),rgba(255,255,255,.28));
  box-shadow:-4px 4px 10px rgba(138,116,88,.08)
}
.photo-future span{
  position:relative;
  margin-top:-12px;
  padding:5px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(202,161,113,.16);
  font-size:12px;
  color:rgba(126,130,123,.62);
  letter-spacing:.18em;
}
.photo-future strong{
  position:relative;
  width:4.4em;
  margin-top:20px;
  font-weight:400;
  font-size:28px;
  line-height:1.42;
  letter-spacing:.14em;
  color:rgba(76,101,117,.76);
  text-shadow:0 1px 0 rgba(255,255,255,.8);
}
.future-route{
  position:relative;
  display:block;
  width:118px;
  height:16px;
  margin-top:22px;
  background:linear-gradient(90deg,transparent,rgba(202,161,113,.42),transparent);
  background-size:100% 1px;
  background-position:center;
  background-repeat:no-repeat
}
.future-route:before,
.future-route:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)
}
.future-route:before{
  content:"♡";
  color:rgba(202,161,113,.58);
  font-size:18px;
  line-height:1;
}
.future-route:after{
  width:30px;
  height:18px;
  background:rgba(246,242,234,.72);
  z-index:-1
}

.summary-card,.heat-card,.stats-board,.scan-card,.heart-stats,.quote-card{
  background:var(--card);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.72);
  border-radius:26px;backdrop-filter:blur(12px)
}
.summary-card{display:grid;grid-template-columns:26% 1fr;gap:18px;padding:12px 16px;margin:10px 0 8px}
.days-wrap{position:relative;display:inline-block;padding-right:18px}
.summary-card strong{display:block;font-family:Georgia,serif;font-size:34px;color:var(--gold2);font-weight:400;line-height:.95}
.summary-card em{position:absolute;right:0;bottom:2px;font-style:normal;color:#6e6760;font-size:13px;line-height:1}
.summary-card p{margin:0;line-height:1.52;color:#5e5b56;font-size:13px;max-width:100%;transform:translateX(4px)}

.mini-timeline{
  position:relative;
  flex:0 0 128px;
  width:calc(100% + 20px);
  min-height:0;
  height:128px;
  max-height:128px;
  margin:14px -10px 0;
  padding:0;
  display:block;
  overflow:hidden;
  overflow-x:hidden;
  scrollbar-width:none
}
.mini-timeline::-webkit-scrollbar{display:none}
.mini-timeline:before{display:none}
.mini-timeline article{
  display:none;
  height:100%;
  margin:0
}
.mini-timeline article.active{display:flex;align-items:stretch;animation:storyFade .28s ease both}
.mini-timeline article:last-child{margin-bottom:0}
.mini-timeline div{
  width:100%;
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  background:rgba(255,255,255,.74);
  border-radius:20px;
  padding:18px 20px;
  box-shadow:0 10px 26px rgba(71,58,43,.06)
}
.mini-timeline time{color:var(--blue);font-size:14px}
.mini-timeline h3{margin:6px 0;font-weight:400;font-size:19px}
.mini-timeline p{
  display:-webkit-box;
  width:100%;
  min-width:0;
  max-height:82px;
  margin:0;
  overflow:hidden;
  color:#625d56;
  font-size:clamp(14px,3.9vw,16px);
  line-height:1.68;
  text-align:left;
  letter-spacing:.02em;
  word-break:break-all;
  overflow-wrap:anywhere;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical
}
.memory-dots{
  --progress:0;
  position:relative;
  width:150px;
  height:14px;
  margin:4px auto 8px;
  max-width:100%;
  padding:0
}
.memory-dots:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  border-radius:999px;
  background:rgba(202,161,113,.72);
  transform:translateY(-50%)
}
.memory-dots span{
  display:none
}
.memory-dots span.active{
  position:absolute;
  left:calc(var(--progress) * 100%);
  top:50%;
  display:block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(202,161,113,.86);
  transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px rgba(255,255,255,.72)
}

/* calls */
.calls{
  padding-top:48px;
  overflow:hidden
}
.slide.active.calls{
  display:flex;
  flex-direction:column
}
.calls .desc{
  margin:10px auto 18px;
  line-height:1.45;
  font-size:16px
}
.call-flipbook{
  position:relative;
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column;
  justify-content:flex-start;
  padding:44px 0 30px
}
.call-frame{
  position:relative;
  width:min(58vw,186px);
  max-width:186px;
  aspect-ratio:1;
  margin:0 auto 86px;
  padding:9px;
  border:0;
  border-radius:26px;
  background:rgba(255,255,255,.74);
  box-shadow:0 18px 46px rgba(71,58,43,.11);
  overflow:hidden;
  cursor:pointer;
  transform:rotate(-1.2deg)
}
.call-frame:before{
  content:"";
  position:absolute;
  inset:9px;
  z-index:2;
  border:1px solid rgba(255,255,255,.48);
  border-radius:16px;
  pointer-events:none
}
.call-cover{
  position:relative;
  display:flex;
  width:100%;
  height:100%;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:18px;
  background:
    radial-gradient(circle at 18% 20%,rgba(168,204,224,.26),transparent 28%),
    radial-gradient(circle at 82% 78%,rgba(246,199,169,.28),transparent 30%),
    linear-gradient(180deg,#fffdf8 0%,#f5efe7 100%);
  color:#4f697a;
  text-align:center
}
.call-cover:before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px dashed rgba(202,161,113,.45);
  border-radius:50%
}
.call-cover span{
  position:relative;
  color:rgba(95,91,86,.58);
  font-size:11px;
  letter-spacing:.08em
}
.call-cover strong{
  position:relative;
  margin-top:10px;
  font-family:Georgia,serif;
  font-weight:400;
  font-size:35px;
  line-height:1;
  color:#4f697a
}
.call-cover em{
  position:relative;
  margin-top:10px;
  font-style:normal;
  color:rgba(95,91,86,.62);
  font-family:Georgia,serif;
  font-size:10px;
  letter-spacing:.04em
}
.call-cover i{
  position:absolute;
  left:50%;
  bottom:23px;
  width:70px;
  height:18px;
  transform:translateX(-50%);
  border-bottom:2px solid rgba(171,196,159,.58);
  border-radius:0 0 50% 50%
}
.call-cropper{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:15px;
  background:#f3eee4
}
.call-cropper img{
  display:block;
  width:100%;
  height:calc(100% + 6ch);
  object-fit:contain;
  transform:translateY(-3ch);
  background:#f3eee4
}
.call-ending-card{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  width:100%;
  height:calc(100% + 6ch);
  object-fit:contain;
  transform:translateY(-3ch);
  border-radius:15px;
  background:#f3eee4;
  opacity:0;
  pointer-events:none;
  transition:opacity 1.1s ease
}
.call-ending-card.active{
  opacity:1
}
.player-badge{
  position:absolute;
  right:13px;
  bottom:13px;
  z-index:3;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 24px rgba(71,58,43,.12);
  backdrop-filter:blur(8px)
}
.player-badge:before{
  content:"";
  position:absolute;
  left:14px;
  top:10px;
  width:0;
  height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:10px solid rgba(202,161,113,.86)
}
.call-quote{
  position:relative;
  width:min(100%,330px);
  min-height:104px;
  margin:0 auto;
  padding:24px 70px 22px 74px;
  border-radius:24px;
  background:rgba(247,249,248,.82);
  box-shadow:0 12px 34px rgba(71,58,43,.07);
  color:#4f5356
}
.call-quote span{
  position:absolute;
  left:30px;
  top:18px;
  color:rgba(132,180,216,.82);
  font-family:Georgia,serif;
  font-size:44px;
  line-height:1
}
.call-quote p{
  position:relative;
  z-index:2;
  margin:0;
  max-width:230px;
  font-size:16px;
  line-height:1.85;
  letter-spacing:.1em
}
.call-quote i{
  position:absolute;
  right:4px;
  top:56%;
  width:58px;
  height:78px;
  opacity:.72;
  border-left:2px solid rgba(151,178,157,.48);
  border-bottom:0;
  border-right:0;
  border-radius:50% 0 0 0;
  transform:translateY(-50%) rotate(28deg);
  animation:flowerStemPulse 2.8s ease-in-out infinite
}
.call-quote i:before,
.call-quote i:after{
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(119,159,190,.62) 0 2px,transparent 3px),
    radial-gradient(circle at 30% 45%,rgba(168,204,224,.62) 0 4px,transparent 5px);
  box-shadow:
    10px -4px 0 rgba(168,204,224,.5),
    18px 2px 0 rgba(168,204,224,.42),
    6px 12px 0 rgba(171,196,159,.42);
  animation:flowerDotPulse 2.8s ease-in-out infinite
}
.call-quote i:before{
  left:-18px;
  top:2px
}
.call-quote i:after{
  left:9px;
  top:26px;
  transform:scale(.82);
  background:
    radial-gradient(circle,rgba(119,159,190,.56) 0 2px,transparent 3px),
    radial-gradient(circle at 30% 45%,rgba(168,204,224,.5) 0 4px,transparent 5px)
}
.call-quote:after{
  content:"";
  position:absolute;
  right:32px;
  top:50%;
  width:28px;
  height:20px;
  border-top:1.5px solid rgba(151,178,157,.42);
  border-radius:50%;
  transform:translateY(-50%) rotate(-18deg);
  animation:flowerBranchPulse 2.8s ease-in-out infinite
}
.call-player-modal{
  position:absolute;
  inset:0;
  z-index:120;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(28,30,32,.76);
  backdrop-filter:blur(12px)
}
.call-player-modal.active{
  display:flex
}
.call-modal-frame{
  width:min(100%,370px);
  max-height:86svh;
  aspect-ratio:9/14;
  padding:10px;
  border-radius:24px;
  background:rgba(255,255,255,.9);
  box-shadow:0 24px 76px rgba(0,0,0,.28);
  overflow:hidden
}
.call-modal-close{
  position:absolute;
  top:calc(16px + env(safe-area-inset-top));
  right:16px;
  z-index:2;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer
}
.small-couple{display:block;width:170px;margin:0 auto -8px;opacity:.92}
.stats-board{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:15px 8px;margin-bottom:14px}
.stats-board div{text-align:center;border-right:1px solid rgba(202,161,113,.16)}
.stats-board div:last-child{border-right:0}
.stats-board span{font-size:11px;color:var(--muted)}
.stats-board strong{display:block;margin:7px 0 2px;font-family:Georgia,serif;font-weight:400;font-size:22px;color:#3f454a}
.stats-board em{font-style:normal;font-size:11px;color:var(--muted)}
.heat-card{padding:17px;margin:14px 0}
.heat-card header{display:flex;justify-content:space-between;align-items:center}
.heat-card h3{margin:0;font-weight:400}
.heat-card header span{font-size:13px;background:#fff;border-radius:999px;padding:7px 12px;color:#666}
.heatmap{display:grid;grid-template-columns:repeat(22,1fr);gap:4px;margin:18px 0 12px}
.heatmap i{aspect-ratio:1;border-radius:4px;background:rgba(168,204,224,.18)}
.heatmap i.lv2{background:rgba(168,204,224,.42)}
.heatmap i.lv3{background:rgba(132,180,216,.66)}
.heatmap i.lv4{background:rgba(93,147,198,.8)}
.heat-card p{text-align:center;color:var(--muted);font-size:12px}
.call-list{position:relative;margin-top:18px}
.call-list div{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:10px;background:rgba(255,255,255,.68);border-radius:20px;padding:12px;margin-bottom:10px;box-shadow:0 9px 24px rgba(71,58,43,.05)}
.call-list time{background:rgba(168,204,224,.28);border-radius:50%;width:48px;height:48px;display:grid;place-items:center;color:#446a83}
.call-list p{margin:0}
.call-list span{font-size:12px;color:#7b916c}

/* fingerprint */
.fingerprint-page{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:72px 24px 76px
}
.slide.active.fingerprint-page{display:flex}
.fingerprint-page .desc{
  margin:0 auto 18px;
  font-size:17px
}
.fingerprint-frame-box{
  position:relative;
  width:min(100%,340px);
  height:min(58svh,430px);
  overflow:hidden;
  border-radius:22px;
  background:#f7fafb;
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 18px 52px rgba(71,58,43,.08)
}
.fingerprint-full-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#f7fafb
}
.fingerprint-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:rgba(74,109,132,.5);
  font-size:14px;
  letter-spacing:.06em;
  background:linear-gradient(180deg,rgba(247,250,251,.94),rgba(247,250,251,.82));
  pointer-events:none;
  opacity:1;
  transition:opacity .24s ease
}
.fingerprint-placeholder.is-hidden{
  opacity:0
}
.fingerprint-placeholder-mark{
  position:relative;
  width:min(74%,236px);
  height:156px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none
}
.fingerprint-placeholder-mark::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:rgba(31,111,184,.22);
  box-shadow:0 0 0 8px rgba(31,111,184,.045)
}
.fingerprint-placeholder-mark::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(31,111,184,.34),transparent);
  animation:fingerprintScan 1.8s ease-in-out infinite
}
@keyframes fingerprintScan{
  0%,100%{transform:translateY(-56px);opacity:.22}
  50%{transform:translateY(56px);opacity:.62}
}
.fingerprint-record-btn{
  position:relative;
  display:grid;
  place-items:center;
  width:98px;
  height:98px;
  min-width:98px;
  min-height:98px;
  padding:0;
  aspect-ratio:1/1;
  margin:24px auto 0;
  border:0;
  border-radius:50%;
  background:conic-gradient(#caa171 calc(var(--progress, 0) * 1turn), rgba(202,161,113,.18) 0);
  color:#fff;
  cursor:pointer;
  box-shadow:0 15px 36px rgba(202,161,113,.28);
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:none
}
.fingerprint-progress-ring{
  position:absolute;
  inset:8px;
  border-radius:50%;
  aspect-ratio:1/1;
  background:linear-gradient(135deg,var(--gold),#ecc18a);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)
}
.fingerprint-record-label{
  position:relative;
  z-index:1;
  display:block;
  width:42px;
  font-size:14px;
  line-height:1.25;
  text-align:center;
  letter-spacing:.06em
}
.fingerprint-record-btn.is-holding .fingerprint-progress-ring{
  filter:brightness(1.04)
}
.fingerprint-record-btn.is-complete{
  cursor:default;
  background:conic-gradient(#b7c9a4 1turn, rgba(183,201,164,.2) 0)
}
.main-btn{display:block;margin:16px auto 0;border:0;border-radius:999px;padding:15px 34px;background:linear-gradient(135deg,var(--gold),#ecc18a);color:#fff;font-size:16px;box-shadow:0 15px 36px rgba(202,161,113,.28);letter-spacing:.08em}
.note{text-align:center;color:#5c5d58;line-height:1.9;margin-top:24px}

/* heart */
.heart-page{
  padding:0;
  overflow:hidden;
  touch-action:none
}
.heart-effect-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:transparent
}

/* cert */
.certificate{position:relative;margin:34px 4px 20px;padding:48px 20px 26px;background:rgba(255,255,255,.76);border:1px solid rgba(202,161,113,.38);box-shadow:var(--shadow);border-radius:10px;text-align:center}
.certificate:before{content:"";position:absolute;inset:12px;border:1px solid rgba(202,161,113,.32);pointer-events:none}
.clip{position:absolute;left:50%;top:-23px;transform:translateX(-50%);width:82px;height:38px;background:linear-gradient(#e2c18e,#cba56e);border-radius:12px 12px 4px 4px;box-shadow:0 8px 20px rgba(94,71,40,.18)}
.clip:before{content:"";position:absolute;left:50%;top:7px;transform:translateX(-50%);width:17px;height:17px;background:#fff8eb;border-radius:50%}
.cert-en{color:var(--gold2);letter-spacing:.18em;font-size:12px}
.cert-label{color:var(--muted);font-size:13px}
.cert-names{display:flex;justify-content:center;align-items:center;gap:22px;margin:14px 0 22px}
.cert-names b{font-weight:400;font-size:28px}
.cert-names span{color:var(--gold2);font-size:25px}
.cert-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.cert-grid div{padding:16px 8px;border-right:1px solid rgba(202,161,113,.16);border-bottom:1px solid rgba(202,161,113,.12)}
.cert-grid div:nth-child(2n){border-right:0}
.cert-grid span,.infinite span,.level span{display:block;color:var(--muted);font-size:12px}
.cert-grid strong{display:block;margin:8px 0 4px;font-family:Georgia,serif;font-weight:400;font-size:23px}
.cert-grid em,.infinite em{font-style:normal;color:var(--muted);font-size:11px}
.infinite{padding:16px 0}
.infinite strong{display:block;color:var(--gold2);font-size:42px;line-height:1}
.level{margin-top:10px}
.level strong{display:block;font-size:26px;font-weight:400;letter-spacing:.18em}
.stamp{position:absolute;right:16px;bottom:18px;width:74px;height:74px;border:2px solid rgba(69,112,144,.45);border-radius:50%;display:grid;place-items:center;color:#547693;transform:rotate(-12deg);font-size:15px}
.last-words{text-align:center;font-size:19px;line-height:1.9;letter-spacing:.08em;color:#3f454a}
.progress{display:flex;justify-content:space-between;gap:4px;margin:16px 0 12px;font-size:11px;color:#6e6b66;text-align:center}
.progress span:before{content:"♥";display:block;color:var(--gold);font-size:20px;margin-bottom:5px}
.progress span:nth-child(4):before{content:"♡";color:#8ab1c8}.progress span:nth-child(6):before{content:"♡";color:#8ab1c8}

@keyframes pageIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@keyframes float{50%{transform:translateY(-8px)}}
@keyframes bounce{50%{transform:translateY(9px)}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes fingerprintDraw{
  to{stroke-dashoffset:0}
}
@keyframes scanLine{
  0%,100%{transform:translateY(-48px);opacity:.2}
  50%{transform:translateY(48px);opacity:.88}
}
@keyframes heartbeat{50%{transform:translate(-50%,-50%) scale(1.05)}}
@keyframes heartPulse{
  0%,100%{transform:scale(1)}
  30%{transform:scale(1.12)}
  55%{transform:scale(0.98)}
  75%{transform:scale(1.08)}
}
@keyframes nextFloat{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(7px)}
}
@keyframes storyFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes ecgTrace{
  0%{stroke-dashoffset:64;opacity:1}
  100%{stroke-dashoffset:-100;opacity:1}
}
@keyframes flowerStemPulse{
  0%,100%{
    opacity:.62;
    border-left-color:rgba(151,178,157,.38)
  }
  50%{
    opacity:.88;
    border-left-color:rgba(122,162,134,.66)
  }
}
@keyframes flowerDotPulse{
  0%,100%{
    opacity:.68;
    filter:saturate(.9)
  }
  50%{
    opacity:.95;
    filter:saturate(1.18)
  }
}
@keyframes flowerBranchPulse{
  0%,100%{
    opacity:.62;
    border-top-color:rgba(151,178,157,.34)
  }
  50%{
    opacity:.88;
    border-top-color:rgba(122,162,134,.6)
  }
}

@media (min-width:540px){
  .phone{width:430px;margin:0 auto;border-radius:34px}
}

@media (max-height:760px){
  .call-flipbook{padding-top:32px}
  .call-frame{margin-bottom:86px}
  .call-quote{min-height:96px}
}
