@font-face {font-family:"Noto Birthday Serif";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/noto-birthday-serif.woff2") format("woff2")}
@font-face {font-family:"Manrope Birthday";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/manrope-400.woff2") format("woff2")}
@font-face {font-family:"Manrope Birthday";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/manrope-500.woff2") format("woff2")}
:root {
  --night:#17243b; --deep:#101c30; --silver:#edf1f7; --white:#f8faff;
  --blue:#8cafe8; --gold:#eac68c; --muted:#a9b5c7; --ink:#24354f;
  --line:rgba(166,190,226,.2); --serif:"Noto Birthday Serif","Songti SC","STSong","SimSun",serif;
  --sans:"Manrope Birthday","PingFang SC","Microsoft YaHei",sans-serif;
  --ease:cubic-bezier(.2,.7,.25,1);
  color-scheme:dark;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:100px}
body {margin:0;background:var(--night);color:var(--silver);font-family:var(--sans);font-size:15px;line-height:1.8;-webkit-font-smoothing:antialiased}
body.modal-open {overflow:hidden}
button,input,a {-webkit-tap-highlight-color:transparent}
button,a {touch-action:manipulation}
button,input {font:inherit}
button {cursor:pointer}
button {color:inherit}
button:disabled {cursor:wait}
button,a,input {outline-offset:6px}
:focus-visible {outline:2px solid var(--blue)}
a {color:inherit;text-decoration:none}
button {border:0;background:none}
button svg,a svg {width:21px;height:21px;flex-shrink:0}
img {display:block;max-width:100%}
h1,h2,h3,p,figure {margin:0}
[hidden] {display:none!important}
::selection {background:#a5c0eb;color:var(--night)}
.svg-definitions {position:absolute;width:0;height:0;overflow:hidden}
.page-width {width:min(1160px,calc(100% - 112px));margin-inline:auto}
.reading-progress {position:fixed;z-index:60;left:0;top:0;width:100%;height:2px;background:transparent;pointer-events:none}
.reading-progress span {display:block;width:100%;height:100%;background:var(--gold);transform:scaleX(0);transform-origin:left}
.site-header {position:sticky;top:0;z-index:40;height:88px;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(23,36,59,.94);backdrop-filter:blur(16px)}
.brand {display:flex;gap:16px;align-items:center}
.brand-mark {font-family:Georgia,serif;font-size:33px;line-height:1;letter-spacing:-2px;color:var(--gold);position:relative;padding-right:18px}
.brand-mark>span {position:absolute;right:0;bottom:4px;font:10px var(--sans);letter-spacing:0}
.brand-title {font-size:13px;font-weight:500;line-height:1.6}
.brand-title>span {display:block;font-size:10px;color:var(--muted);font-weight:400}
.header-actions {display:flex;align-items:center;gap:28px}
.chapter-toggle {display:flex;gap:12px;align-items:center;font-size:12px;padding:12px 0}
.menu-lines {width:16px;height:9px;border-block:1px solid var(--muted)}
.music-toggle {display:flex;align-items:center;gap:10px;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:30px;font-size:11px;color:#d5dfef;transition:background .2s}
.music-toggle:hover {background:rgba(140,175,232,.1)}
.equalizer {height:15px;display:flex;align-items:center;gap:3px}
.equalizer i {height:3px;width:2px;background:var(--blue);border-radius:1px}
.music-toggle.is-playing .equalizer i {animation:equalizer 1s ease-in-out infinite}
.music-toggle.is-playing .equalizer i:nth-child(2) {animation-delay:-.25s}
.music-toggle.is-playing .equalizer i:nth-child(3) {animation-delay:-.55s}
.music-toggle.is-playing .equalizer i:nth-child(4) {animation-delay:-.75s}
.chapter-menu {position:absolute;right:4.3%;top:76px;width:230px;padding:13px;background:#20314e;border:1px solid #405675;box-shadow:0 16px 45px #0b142a66;border-radius:6px}
.chapter-menu a {display:block;padding:11px 17px;font-size:13px;border-radius:3px}
.chapter-menu a:hover {background:#304869}
.motion-toggle {display:block;width:100%;text-align:left;padding:12px 17px;margin-top:5px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.hero {position:relative;min-height:770px;display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:6%;padding-top:75px;padding-bottom:125px}
.hero:before {content:"";position:absolute;width:700px;height:650px;right:-35px;top:20px;background:radial-gradient(ellipse,#6086c01d,transparent 68%);pointer-events:none}
.premiere-date {color:var(--muted);font-size:11px;margin-bottom:26px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.small-star {color:var(--gold);font-size:16px}
.lunar-date {padding-left:10px;border-left:1px solid #59667c;font-size:10px}
.hero h1 {font-family:var(--serif);font-weight:400;font-size:57px;line-height:1.14;letter-spacing:-2px}
.hero-age {font:142px/.95 Georgia,serif;letter-spacing:-10px;color:var(--blue);display:inline-block;margin-top:6px;margin-left:-5px}
.hero-title-rest {font-size:43px;display:block;letter-spacing:-1px;margin-top:4px}
.hero-description {font-size:13px;line-height:1.95;color:#b7c3d7;margin-top:24px}
.hero-action {margin-top:29px}
.hero-action>p {font-size:10px;color:var(--muted);margin-top:12px}
.button {display:inline-flex;align-items:center;justify-content:center;gap:17px;min-height:52px;padding:12px 25px;font-size:13px;font-weight:500;border-radius:3px;transition:background .2s,transform .2s;line-height:1.4}
.button:hover {transform:translateY(-2px)}
.button-light {background:var(--silver);color:var(--night)}
.button-light:hover {background:white}
.button-light svg {width:17px;height:17px}
.button-gold {background:var(--gold);color:var(--night)}
.button-gold:hover {background:#f6dba8}
.button-dark {color:var(--white);background:var(--night)}
.button-dark:hover {background:#304a72}
.hero-film {position:relative;min-width:0;background:#1d2c45;border:1px solid #45608777;box-shadow:0 30px 100px #050b1838;transform:rotate(-2deg);animation:opening-in 1.1s var(--ease) both}
.film-top {height:45px;display:flex;align-items:center;gap:9px;padding:0 19px;color:#c5d1e3;font-size:10px}
.record-dot {width:5px;height:5px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px #eac68c55}
.film-format {margin-left:auto;font-size:9px;color:#a2b1ca}
.hero-photo {position:relative;display:block;padding:0;width:100%;overflow:hidden}
.hero-photo img {width:100%;height:auto}
.photo-zoom {position:absolute;bottom:12px;right:13px;padding:3px 10px;background:#122039bf;border:1px solid #ffffff40;color:white;font-size:10px;border-radius:3px;opacity:0;transition:opacity .2s}
.photo-open:hover .photo-zoom,.photo-open:focus-visible .photo-zoom {opacity:1}
.hero-film figcaption {font-size:11px;padding:17px 21px;color:#d7dfeb;line-height:1.8;min-height:53px}
.film-bottom {border-top:1px solid var(--line);padding:13px 20px;display:flex;align-items:center;gap:15px;color:#92a5c1;font-size:9px}
.film-perforations {flex:0 0 65px;height:9px;background:repeating-linear-gradient(90deg,#607492 0 7px,transparent 7px 13px);opacity:.6}
.hero-spark {position:absolute;width:50px;height:50px;color:var(--gold);right:-23px;top:-24px}
.hero-scroll {position:absolute;bottom:39px;left:0;display:flex;gap:17px;align-items:center;color:#8e9fba;font-size:10px}
.scroll-line {width:1px;height:34px;background:linear-gradient(transparent,#8cafe8)}
.continue-note {position:absolute;bottom:23px;right:0;display:flex;align-items:center;gap:15px;padding:12px 15px;background:#263956;border:1px solid var(--line);border-radius:4px;font-size:11px}
.continue-note .text-button {font-size:11px;color:var(--gold)}
.icon-button {width:36px;height:36px;display:grid;place-items:center;padding:6px}
.icon-button svg {width:20px;height:20px}
.section-intro {font-size:11px;color:var(--blue);margin-bottom:20px}
h2 {font:400 clamp(35px,4.2vw,55px)/1.35 var(--serif);letter-spacing:-1.1px}
.section-description {color:var(--muted);font-size:13px;line-height:2;margin-top:25px}
.impression-section {background:var(--deep);border-block:1px solid var(--line);padding:106px 0}
.impression-layout {display:grid;grid-template-columns:1fr 1.1fr;gap:10%;align-items:center}
.impression-stage {padding:6px 0 3px;position:relative;min-width:0}
.first-impression {position:relative;border:1px solid #4b63834d;padding:26px 30px 30px;transform:rotate(1.5deg);transition:border-color .5s}
.impression-note {font-size:10px;color:#7f95b5;display:block;margin-bottom:19px}
.impression-words {display:flex;flex-direction:column;gap:5px;font:28px/1.6 var(--serif);color:#b8c7df}
.impression-words span {position:relative;width:max-content}
.first-impression.corrected .impression-words span {color:#6f819c}
.first-impression.corrected .impression-words span:after {content:"";position:absolute;left:-3%;right:-3%;top:50%;height:1px;background:#c6ab87;transform:rotate(-5deg);animation:strike .5s var(--ease) both}
.wrong-stamp {position:absolute;right:25px;bottom:38px;border:2px solid var(--gold);color:var(--gold);font-size:19px;padding:2px 13px;letter-spacing:3px;transform:rotate(-15deg) scale(1.4);opacity:0;transition:opacity .35s,transform .5s var(--ease)}
.corrected .wrong-stamp {opacity:.9;transform:rotate(-15deg) scale(1)}
.reveal-story {min-height:119px;margin-top:30px;font-size:13px;color:#c9d5e7;line-height:2.1}
.reveal-story p {animation:line-in .45s var(--ease)}
.text-button {display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:6px 0;border-bottom:1px solid currentColor;line-height:1.5;font-size:12px}
.text-button:hover {color:var(--gold)}
.reveal-button {color:var(--gold)}
.impression-next {color:var(--blue)}
.memories-section {background:var(--silver);color:var(--ink);padding:112px 0 90px;color-scheme:light}
.memories-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:100px}
.memories-heading .section-intro {color:#5b7195}
.memories-aside {padding-bottom:6px}
.memory-total {font:italic 48px/1.3 Georgia,serif;color:#5e7ba5}
.memory-total>span {font:11px var(--sans);margin-left:9px;color:#708098}
.memories-aside>p {font-size:11px;line-height:1.9;color:#718096;margin-top:14px}
.memory-list {position:relative;display:flex;flex-direction:column;gap:95px}
.memory-entry {display:grid;grid-template-columns:1.35fr .85fr;gap:8%;align-items:center}
.memory-entry:nth-child(even) {grid-template-columns:.85fr 1.35fr}
.memory-entry:nth-child(even) .memory-picture {order:2}
.memory-entry:nth-child(even) .memory-caption {order:1;padding-left:13%}
.memory-picture {position:relative;min-width:0;margin:0;background:#dfe6f0;border:1px solid #cad4e3;padding:13px}
.memory-picture:before,.memory-picture:after {content:"";position:absolute;top:13px;bottom:13px;width:5px;opacity:.35;background:repeating-linear-gradient(180deg,#879bb7 0 7px,transparent 7px 15px)}
.memory-picture:before {left:4px}.memory-picture:after {right:4px}
.memory-image-button {position:relative;display:block;width:100%;padding:0;background:#d3dce8;cursor:zoom-in}
.memory-image-button img {width:100%;height:auto;max-height:620px;object-fit:contain}
.memory-picture.portrait {max-width:445px;justify-self:center;width:100%}
.memory-caption {min-width:0}
.frame-counter {display:flex;gap:10px;align-items:center;color:#7789a4;font-size:10px;margin-bottom:18px}
.frame-counter:before {content:"";width:26px;height:1px;background:#9aaecb}
.memory-caption h3 {font:400 clamp(24px,2.7vw,35px)/1.5 var(--serif);color:#273c5a;letter-spacing:-.5px;margin-bottom:19px}
.memory-caption p {font-size:12px;line-height:2.1;color:#61718a;overflow-wrap:anywhere;max-width:340px}
.caption-dash {display:block;width:22px;height:2px;background:#a1b6d2;margin-top:25px}
.memory-entry.final-memory {display:block;padding-top:20px;width:min(900px,100%);margin-inline:auto}
.final-memory .memory-picture {width:100%;padding:15px}
.final-memory .memory-caption {text-align:center;margin:30px auto 0}
.final-memory .frame-counter {justify-content:center}
.final-memory .memory-caption h3 {font-size:34px}
.final-memory .memory-caption p {max-width:600px;margin-inline:auto}
.final-memory .caption-dash {margin-inline:auto}
.album-ending {margin-top:95px;padding-top:55px;border-top:1px solid #c9d3e2;text-align:center}
.album-ending>svg {width:25px;height:25px;color:#7899c4;margin-bottom:20px}
.album-ending>p {font:22px/1.9 var(--serif)}
.album-ending>p>span {font:12px var(--sans);color:#72819a}
.album-ending .text-button {color:#4b668d;margin-top:25px}
.album-ending .text-button:hover {color:var(--ink)}
.birthday-section {padding:105px 0 0;position:relative;overflow:hidden;background:#19263d}
.birthday-layout {display:grid;grid-template-columns:1fr 1.15fr;gap:50px;align-items:center;min-height:475px}
.birthday-copy .section-intro {color:var(--gold)}
.ritual-note {font:15px var(--serif);color:#baaa90;display:block;margin-top:40px;transform:rotate(-3deg);width:max-content}
.candle-scene {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;isolation:isolate}
.candle-halo {position:absolute;width:470px;height:470px;top:-70px;left:50%;transform:translateX(-50%);background:radial-gradient(ellipse,#eac68c00,transparent 65%);opacity:0;transition:opacity .9s}
.candle-scene.is-lit .candle-halo {background:radial-gradient(ellipse,#eac68c21,transparent 65%);opacity:1}
.birthday-cake {width:330px;height:290px;position:relative;max-width:100%;filter:drop-shadow(0 15px 30px #080f2030)}
.number-candles {position:absolute;bottom:129px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.number-candle {position:relative;display:block}
.number-candle>span {display:block;font:bold 108px/1 Georgia,serif;color:#e9c68e;-webkit-text-stroke:1px #fcdeb4;text-shadow:3px 3px 0 #b68a51,6px 6px 0 #6e503b}
.candle-flame {position:absolute;left:50%;top:-31px;width:13px;height:25px;display:block;transform:translateX(-50%) scale(0);border-radius:70% 30% 65% 40%;background:linear-gradient(#fff4ca,#efb75c);box-shadow:0 0 20px #edba6a99,0 0 55px #f0cc9344;transition:transform .45s}
.is-lit .candle-flame {transform:translateX(-50%) scale(1);animation:flicker .85s ease-in-out infinite alternate}
.cake-top {position:absolute;left:17%;bottom:112px;width:66%;height:43px;z-index:2;border-radius:50%;background:linear-gradient(155deg,#fff9ec,#d9d2c7);border:1px solid #faf4e6}
.cake-top i {position:absolute;width:12px;height:12px;border-radius:50%;background:#7392c0;box-shadow:inset 2px 2px 3px #e2ecff66;top:17px}
.cake-top i:nth-child(1) {left:13%}.cake-top i:nth-child(2) {left:32%;top:28px}.cake-top i:nth-child(3) {left:51%;top:29px}.cake-top i:nth-child(4) {left:70%;top:23px}.cake-top i:nth-child(5) {left:81%;top:13px}
.cake-side {position:absolute;bottom:49px;left:17%;width:66%;height:83px;border-radius:0 0 45% 45% / 0 0 22% 22%;background:linear-gradient(90deg,#c0ccde,#e8edf5 40%,#b3c4dc);z-index:1;border-bottom:3px solid #94a9c7;overflow:hidden}
.cake-side:after {content:"";position:absolute;top:31px;height:6px;left:0;width:100%;border-bottom:1px solid #9aabc28c;transform:rotate(-3deg)}
.cake-side span {position:absolute;top:-2px;width:20px;height:31px;border-radius:0 0 20px 20px;background:#eae5da;z-index:2}
.cake-side span:nth-child(1) {left:8%;height:25px}.cake-side span:nth-child(2) {left:28%;height:34px}.cake-side span:nth-child(3) {left:49%;height:22px}.cake-side span:nth-child(4) {left:68%;height:35px}.cake-side span:nth-child(5) {left:85%;height:19px}
.cake-plate {position:absolute;bottom:35px;left:8%;width:84%;height:27px;border-radius:50%;background:linear-gradient(#7b8fae,#3f577c);border-bottom:3px solid #314865}
.wish-status {font-size:11px;color:#c2bba9;text-align:center;min-height:22px;padding:0 12px}
.wish-button {position:relative;margin-top:19px;min-width:205px;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
.wish-button:before {content:"";position:absolute;inset:0;background:#fff6;transform:scaleX(var(--hold,0));transform-origin:left;pointer-events:none}
.wish-button>span,.wish-button>svg {position:relative;z-index:1}
.wish-button>svg {width:17px;height:17px}
.wish-hint {font-size:9px;color:#8494ad;margin-top:12px}
.quiet-link {font-size:10px;color:#a6b4c9;margin-top:19px;border-bottom:1px solid #69798f77;line-height:1.6}
.keepsake-row {display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:75px;padding-top:27px;padding-bottom:29px;gap:25px}
.keepsake-row>div {display:flex;gap:17px;align-items:center}
.keepsake-symbol {font-size:35px;color:var(--gold)}
.keepsake-row p {font-size:12px}
.keepsake-row p>span {display:block;font-size:10px;color:var(--muted)}
.keepsake-row>.text-button {font-size:11px;color:var(--gold)}
.letter-section {background:#e7edf6;color:#24354f;padding:110px 24px 0;color-scheme:light}
.letter-heading {text-align:center}
.letter-heading .section-intro {color:#7185a3}
.letter-heading-note {font-size:11px;color:#7e8ba1;margin-top:22px}
.envelope-button {display:block;max-width:500px;width:100%;margin:75px auto 0;padding:0 20px 95px;color:var(--ink)}
.envelope {height:230px;display:block;position:relative;perspective:1000px;isolation:isolate;filter:drop-shadow(0 18px 25px #24354f15)}
.envelope:before {content:"";position:absolute;inset:0;background:#bacbe0;border:1px solid #aabed7}
.envelope-card {position:absolute;inset:-21px 25px 35px;background:#f8faff;border:1px solid #d8e2ef;padding-top:43px;font:23px var(--serif);transition:transform .5s;z-index:0}
.envelope-card>span {display:block;font:10px var(--sans);color:#8493a9;margin-top:17px}
.envelope-flap {position:absolute;left:0;right:0;top:0;height:130px;background:#d7e1ed;clip-path:polygon(0 0,100% 0,50% 100%);z-index:3;transform-origin:top;transition:transform .7s var(--ease)}
.envelope-front {position:absolute;inset:0;background:linear-gradient(28deg,#d1ddeb 49.7%,transparent 50%) left/50% 100% no-repeat,linear-gradient(-28deg,#c7d5e6 49.7%,transparent 50%) right/50% 100% no-repeat;z-index:2;border-bottom:1px solid #afc1d9}
.envelope-front:after {content:"";position:absolute;left:0;right:0;bottom:0;height:95px;background:#c8d6e6;clip-path:polygon(0 100%,50% 0,100% 100%)}
.envelope-seal {position:absolute;left:50%;top:111px;z-index:4;transform:translate(-50%,-50%);width:43px;height:43px;border-radius:50%;background:#17243b;box-shadow:0 0 0 3px #e7edf6,0 0 0 4px #b1c1d7;color:var(--gold);font:21px/43px Georgia,serif}
.envelope-action {display:block;font-size:12px;margin-top:32px;color:#526c90}
.envelope-action>span {margin-left:10px}
.envelope-button:hover .envelope-card {transform:translateY(-12px)}
.envelope-button.is-opening .envelope-flap {transform:rotateX(180deg)}
.envelope-button.is-opening .envelope-seal {opacity:0;transition:opacity .2s}
.envelope-button.is-opening .envelope-card {transform:translateY(-55px);transition-delay:.2s}
.opened-letter {width:min(760px,100%);margin:55px auto 0;background:#fafbfd;border:1px solid #d5dfec;padding:55px 68px 45px;box-shadow:0 25px 70px #4155750a;animation:letter-in .9s var(--ease) both;position:relative}
.opened-letter:before {content:"";position:absolute;inset:8px;pointer-events:none;border:1px solid #e4eaf3}
.letter-paper-heading {display:flex;align-items:center;justify-content:space-between;color:#8c9ab0;font:11px Georgia,serif;margin-bottom:31px}
.letter-paper-heading>svg {width:22px;height:22px;color:#9db2d0}
.opened-letter h3 {font:24px var(--serif);margin-bottom:24px;outline-offset:7px}
.letter-text {font-size:14px;line-height:2.3;color:#42526a;overflow-wrap:anywhere}
.letter-text p+p {margin-top:21px}
.letter-signature {font:30px var(--serif);text-align:right;margin-top:35px;color:#314d75}
.letter-signature>span {display:block;font:10px var(--sans);color:#8b97aa;margin-bottom:8px}
.letter-postscript {border-top:1px solid #dbe4f0;font-size:10px;color:#8b99ae;margin-top:31px;padding-top:17px}
.voice-section {width:min(760px,100%);margin:0 auto;padding:100px 0 70px;text-align:center}
.voice-star {font-size:30px;color:#6f8fb9;margin-bottom:17px}
.voice-section .section-intro {color:#6c809e}
.voice-section h2 {font-size:37px}
.voice-player {margin:38px auto 0;max-width:480px;border:1px solid #b7c7dc;border-radius:6px;padding:22px 26px;display:flex;align-items:center;gap:20px;background:#f4f7fc}
.voice-play {width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--night);color:var(--silver);flex:0 0 48px}
.voice-play svg {width:24px;height:24px}
.voice-play:hover {background:#36557f}
.voice-info {flex:1;min-width:0;text-align:left}
.voice-info>p {font-size:12px;color:#3f5573}
.voice-timeline {display:flex;gap:9px;align-items:center;margin-top:9px;font-size:9px;color:#8796ac;font-variant-numeric:tabular-nums}
.voice-timeline>span {flex:0 0 27px}
.voice-timeline>input {min-width:0;flex:1;accent-color:#496b99;height:4px;cursor:pointer;padding:0;margin:0}
.voice-note {font-size:10px;color:#7d8da6;margin-top:15px}
.closing-line {margin-top:65px;padding-top:35px;border-top:1px solid #c6d3e3;color:#3f587b}
.closing-line>p {font:23px/1.9 var(--serif)}
.closing-line>p>span {font:12px var(--sans);color:#7b8da7}
.closing-line .text-button {font-size:11px;margin-top:23px}
.site-footer {display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:85px;color:#8fa0ba;font-size:10px}
.site-footer>svg {width:17px;height:17px;color:#a0b4d1}
.letter-section:has(.envelope-button:not([hidden])) {padding-bottom:0}
.noscript-note {text-align:center;padding:20px;background:var(--gold);color:var(--night)}
dialog {padding:0;border:0;max-width:none;max-height:none}
dialog::backdrop {background:#071122df;backdrop-filter:blur(9px)}
.dialog-close {position:absolute;z-index:3;right:15px;top:14px;width:38px;height:38px;border-radius:50%;color:var(--silver);background:#102039b3;border:1px solid #ffffff20}
.photo-dialog {width:min(1050px,calc(100% - 48px));height:min(900px,calc(100dvh - 48px));background:#142139;color:#e4eaf4;overflow:hidden;border:1px solid #52688755;border-radius:4px}
.photo-dialog[open] {display:flex;flex-direction:column;animation:dialog-in .25s var(--ease)}
.viewer-image-wrap {flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y pinch-zoom;background:#0e192b;padding:15px 40px}
.viewer-image-wrap>img {width:100%;height:100%;min-height:0;object-fit:contain}
.viewer-caption {padding:20px 30px 25px;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-shrink:0;max-height:34%;overflow:auto}
.viewer-caption>div:first-child {min-width:0}
#viewer-count {font-size:10px;color:#8ca5c7}
.viewer-caption h2 {font:24px/1.5 var(--serif);margin-top:4px;letter-spacing:0}
.viewer-caption p {font-size:12px;color:#a4b4cd;line-height:1.8;margin-top:8px;overflow-wrap:anywhere}
.viewer-nav {display:flex;gap:10px;flex-shrink:0}
.round-button {width:39px;height:39px;border:1px solid #5f76975e;border-radius:50%;color:#bcd0ee;font-size:18px}
.round-button:hover {background:#304666}
.keepsake-dialog {color-scheme:light;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:45px 35px 32px;background:#edf1f7;color:#24354f;border-radius:5px}
.keepsake-dialog .dialog-close {right:8px;top:8px;background:transparent;color:var(--ink);border:0}
.keepsake-dialog .section-intro {color:#758cae}
.keepsake-dialog h2 {font-size:27px;letter-spacing:-.5px}
.signature-hint {font-size:11px;color:#7d8da4;margin-top:13px}
.signature-pad {position:relative;width:100%;height:165px;border:1px dashed #a8bdd8;background:#f8faff;margin-top:26px;border-radius:3px}
.signature-pad canvas {display:block;width:100%;height:100%;touch-action:none;position:relative;z-index:1}
#signature-placeholder {position:absolute;left:0;right:0;top:65px;text-align:center;font:22px var(--serif);color:#bcc9dc;pointer-events:none}
.signature-actions {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0 27px}
.signature-actions>span {font-size:9px;color:#8997ac}
.signature-actions .text-button {font-size:10px;color:#506c96}
#generate-poster {width:100%}
.poster-status {font-size:11px;color:#597299;text-align:center;margin-top:13px}
#poster-result>p {font-size:11px;color:#7d8ca3;margin:13px 0 20px}
#poster-image {width:100%;height:auto;box-shadow:0 8px 30px #17243b1a}
#download-poster {width:100%;margin-top:23px}
#edit-poster {display:block;margin:15px auto 0;font-size:11px;color:#647b9c}
.toast {position:fixed;z-index:100;bottom:30px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);padding:11px 22px;border-radius:4px;background:#eef3fb;color:#24354f;box-shadow:0 4px 30px #0004;font-size:12px;text-align:center}
.confetti-layer {position:fixed;inset:0;z-index:70;overflow:hidden;pointer-events:none}
.confetti-piece {position:absolute;top:-20px;width:7px;height:13px;opacity:.9;animation:confetti-fall 2.7s ease-in forwards;animation-delay:var(--delay)}
@keyframes opening-in {from{opacity:0;transform:translateY(20px) rotate(0)}to{opacity:1;transform:translateY(0) rotate(-2deg)}}
@keyframes equalizer {0%,100%{height:4px}40%{height:15px}70%{height:8px}}
@keyframes strike {from{transform:scaleX(0) rotate(-5deg)}to{transform:scaleX(1) rotate(-5deg)}}
@keyframes line-in {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes flicker {from{opacity:.85;transform:translateX(-50%) rotate(-4deg) scale(.95)}to{opacity:1;transform:translateX(-50%) rotate(5deg) scale(1.06)}}
@keyframes letter-in {from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes dialog-in {from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}
@keyframes confetti-fall {0%{transform:translateY(-20px) rotate(0)}100%{transform:translate(var(--drift),110vh) rotate(640deg);opacity:0}}
@media(min-width:1500px) {.hero{min-height:850px}.hero-film{margin-right:-20px}.hero h1{font-size:65px}.hero-title-rest{font-size:48px}.hero-age{font-size:158px}}
@media(max-width:1000px) {.page-width{width:calc(100% - 72px)}.hero{gap:5%;min-height:690px}.hero h1{font-size:48px}.hero-age{font-size:120px}.hero-title-rest{font-size:36px}.film-format{display:none}.impression-layout{gap:7%}.impression-words{font-size:25px}.memory-entry,.memory-entry:nth-child(even){gap:6%}.memory-entry:nth-child(even) .memory-caption{padding-left:5%}.memory-caption h3{font-size:27px}}
@media(max-width:700px) {
  html{scroll-padding-top:84px}
  .page-width{width:calc(100% - 42px)}
  .site-header{height:70px;padding:0 21px}
  .brand{gap:10px}.brand-mark{font-size:27px;padding-right:15px}.brand-mark>span{font-size:8px;bottom:3px}.brand-title{font-size:10px}.brand-title>span{font-size:8px;margin-top:2px}
  .header-actions{gap:16px}.chapter-toggle{font-size:10px;gap:6px}.menu-lines{width:13px;height:7px}
  .music-toggle{font-size:9px;padding:0 10px;gap:7px;min-height:33px}.equalizer{gap:2px;height:12px}.equalizer i{width:2px}
  .chapter-menu{right:21px;top:62px;width:205px}
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding-top:44px;padding-bottom:90px}
  .hero:before{width:100%;height:600px;right:0;top:0}
  .hero-copy{display:contents}
  .premiere-date{order:0;font-size:10px;gap:9px;margin-bottom:21px}.lunar-date{font-size:9px}
  .hero h1{order:1;font-size:40px;line-height:1.25;letter-spacing:-1.5px}
  .hero-age{font-size:92px;letter-spacing:-6px;margin-left:-3px;margin-right:10px;margin-top:0;vertical-align:-8px}
  .hero-title-rest{font-size:31px;letter-spacing:-1px;display:inline;margin-top:0}
  .hero-description{order:2;font-size:12px;margin-top:17px;line-height:1.9}
  .hero-film{order:3;margin:30px 6px 0;transform:rotate(-2deg)}
  .film-top{height:34px;padding-inline:13px;font-size:9px}.film-format{display:block;font-size:8px}
  .hero-film figcaption{font-size:10px;padding:12px 15px;min-height:0}.film-bottom{padding:10px 13px;font-size:8px;gap:10px}.film-perforations{flex-basis:45px;height:7px;background-size:auto}
  .hero-spark{width:31px;height:31px;right:-14px;top:-14px}
  .hero-action{order:4;margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hero-action>p{font-size:8px;line-height:1.9;max-width:110px;margin:0}.button{min-height:48px;font-size:12px;padding:12px 21px;gap:13px}
  .hero-scroll{bottom:24px;font-size:9px;gap:12px}.scroll-line{height:23px}.continue-note{position:static;order:5;font-size:10px;margin-top:20px;padding:9px 12px;gap:11px}.continue-note .icon-button{margin-left:auto;width:24px;height:24px}
  .impression-section{padding:65px 0 62px}.impression-layout{grid-template-columns:1fr;gap:34px}.section-intro{font-size:10px;margin-bottom:17px}h2{font-size:36px;line-height:1.4;letter-spacing:-1px}.section-description{font-size:12px;margin-top:18px;line-height:1.9}
  .first-impression{padding:21px 24px 22px;margin-inline:4px}.impression-note{font-size:9px;margin-bottom:12px}.impression-words{font-size:25px;gap:2px}.wrong-stamp{font-size:17px;right:24px;bottom:28px;padding:2px 9px;letter-spacing:2px}.reveal-story{font-size:12px;line-height:2.1;margin-top:24px;min-height:88px}.text-button{font-size:11px}
  .memories-section{padding:65px 0 60px}.memories-heading{margin-bottom:46px;gap:10px}.memories-heading h2{font-size:35px}.memories-aside{max-width:110px}.memory-total{font-size:40px}.memory-total>span{font-size:9px;margin-left:6px}.memories-aside>p{font-size:9px;margin-top:9px;line-height:1.9}
  .memory-list{gap:51px}.memory-entry,.memory-entry:nth-child(even){display:flex;flex-direction:column;align-items:stretch;gap:20px}.memory-entry:nth-child(even) .memory-picture,.memory-entry:nth-child(even) .memory-caption{order:initial}.memory-entry:nth-child(even) .memory-caption{padding-left:0}.memory-picture{padding:10px}.memory-picture:before,.memory-picture:after{top:10px;bottom:10px;width:4px}.memory-picture:before{left:3px}.memory-picture:after{right:3px}.memory-picture.portrait{width:calc(100% - 38px);max-width:360px;margin-inline:auto;align-self:center}.memory-image-button img{max-height:515px}.memory-caption{padding-inline:5px}.frame-counter{font-size:9px;margin-bottom:9px;gap:8px}.frame-counter:before{width:20px}.memory-caption h3{font-size:25px;margin-bottom:10px;line-height:1.5}.memory-caption p{font-size:11px;line-height:2;max-width:none}.caption-dash{margin-top:18px;width:17px;height:1px}.memory-entry.final-memory{padding-top:12px}.final-memory .memory-picture{padding:10px}.final-memory .memory-caption{margin-top:21px}.final-memory .memory-caption h3{font-size:27px}.final-memory .memory-caption p{font-size:11px}.album-ending{margin-top:50px;padding-top:35px}.album-ending>p{font-size:20px}.album-ending>p>span{font-size:11px}.album-ending>svg{width:21px;height:21px;margin-bottom:13px}.album-ending .text-button{margin-top:19px}
  .birthday-section{padding-top:65px}.birthday-layout{grid-template-columns:1fr;gap:15px;min-height:0}.birthday-copy{position:relative}.ritual-note{position:absolute;right:0;bottom:-9px;font-size:12px;max-width:160px;line-height:1.7}.candle-scene{margin-top:20px}.birthday-cake{height:275px}.candle-halo{width:350px;height:350px;top:-30px}.wish-status{font-size:10px}.wish-button{margin-top:16px;min-width:205px}.wish-hint{font-size:9px}.quiet-link{font-size:9px}.keepsake-row{margin-top:48px;padding-block:23px;gap:13px}.keepsake-row>div{gap:11px}.keepsake-symbol{font-size:28px}.keepsake-row p{font-size:11px}.keepsake-row p>span{font-size:8px}.keepsake-row>.text-button{font-size:10px;gap:8px}.keepsake-row>.text-button svg{width:16px;height:16px}
  .letter-section{padding:65px 21px 0}.letter-heading h2{font-size:35px}.letter-heading-note{font-size:10px;margin-top:16px}.envelope-button{margin-top:64px;padding:0 4px 65px}.envelope{height:190px}.envelope-card{inset:-19px 20px 28px;font-size:20px;padding-top:30px}.envelope-card>span{font-size:9px;margin-top:12px}.envelope-flap{height:106px}.envelope-front:after{height:78px}.envelope-seal{top:92px;width:37px;height:37px;font-size:19px;line-height:37px}.envelope-action{font-size:11px;margin-top:27px}
  .opened-letter{margin-top:38px;padding:33px 25px 30px}.opened-letter:before{inset:6px}.letter-paper-heading{font-size:10px;margin-bottom:25px}.letter-paper-heading>svg{width:18px;height:18px}.opened-letter h3{font-size:22px;margin-bottom:19px}.letter-text{font-size:13px;line-height:2.2}.letter-text p+p{margin-top:18px}.letter-signature{font-size:27px;margin-top:27px}.letter-signature>span{font-size:9px}.letter-postscript{font-size:9px;line-height:1.9;margin-top:23px;padding-top:15px}
  .voice-section{padding:63px 0 50px}.voice-section h2{font-size:31px}.voice-player{padding:19px 17px;gap:15px;margin-top:28px}.voice-play{width:43px;height:43px;flex-basis:43px}.voice-info>p{font-size:11px}.voice-timeline{font-size:8px;gap:6px}.voice-timeline>span{flex-basis:25px}.voice-note{font-size:9px}.closing-line{margin-top:45px;padding-top:27px}.closing-line>p{font-size:21px}.closing-line>p>span{font-size:10px}.closing-line .text-button{font-size:10px}.site-footer{min-height:70px;font-size:9px;gap:8px}.site-footer>svg{width:14px;height:14px}
  .photo-zoom{opacity:1;font-size:8px;bottom:8px;right:8px;padding:2px 7px}.photo-dialog{width:calc(100% - 20px);height:calc(100dvh - 28px)}.dialog-close{right:10px;top:10px}.viewer-image-wrap{padding:16px 8px}.viewer-caption{padding:17px 19px 21px;display:block;max-height:37%}.viewer-caption h2{font-size:22px}.viewer-caption p{font-size:11px;line-height:1.9}.viewer-nav{justify-content:flex-end;margin-top:15px}.round-button{width:35px;height:35px;font-size:17px}
  .keepsake-dialog{padding:40px 23px 26px}.keepsake-dialog h2{font-size:25px}.signature-actions>span{font-size:8px}.signature-pad{height:150px}#signature-placeholder{top:59px;font-size:21px}
}
@media(max-width:370px) {.site-header{padding-inline:15px}.page-width{width:calc(100% - 34px)}.brand-title{font-size:9px}.brand-title>span{font-size:7px}.header-actions{gap:12px}.music-toggle{font-size:8px;padding-inline:8px}.chapter-toggle{font-size:9px}.hero h1{font-size:37px}.hero-age{font-size:83px;margin-right:8px}.hero-title-rest{font-size:28px}.film-format{display:none}.premiere-date{font-size:9px;gap:7px}.lunar-date{font-size:8px}.keepsake-row p>span{max-width:120px;line-height:1.7}.memories-heading h2{font-size:31px}.memories-aside{max-width:96px}.ritual-note{position:static;margin-top:22px}.letter-section{padding-inline:17px}}
.hero-description,.section-description,.reveal-story {font-size:14px}
.hero-film figcaption {font-size:12px}
.memory-caption p,.final-memory .memory-caption p {font-size:14px;line-height:2}
.letter-text {font-size:15px}
.reduce-motion {scroll-behavior:auto}
.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
@media(max-width:700px) {
  .hero-action {order:3;margin-top:24px}.hero-film {order:4}
  .hero-description,.section-description,.reveal-story {font-size:14px}
  .hero-film figcaption {font-size:12px}
  .memory-caption p,.final-memory .memory-caption p {font-size:13px;line-height:2}
  .letter-text {font-size:14px;line-height:2.2}
  .wish-status {font-size:12px}.voice-info>p {font-size:12px}.voice-note {font-size:11px}
  .keepsake-row p {font-size:12px}.keepsake-row p>span {font-size:10px}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.hero-film{transform:rotate(-2deg)}}
