@charset "UTF-8";
:root{color-scheme:dark;--night:#130f21;--ivory:#f6e8de;--soft:#b6a7c0;--gold:#e3bc8e;--wick-x:50.08%;--wick-y:6.38%;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px}
*{box-sizing:border-box}html{min-height:100%;background:var(--night)}body{margin:0;min-width:280px;color:var(--ivory);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button:disabled{cursor:default}button,a{user-select:none}::selection{background:#725374;color:#fff4df}[hidden]{display:none!important}
.experience{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100svh;overflow:hidden;padding:30px clamp(22px,4.5vw,72px) 24px;background:radial-gradient(ellipse at 50% 66%,#7753772e,transparent 52%),radial-gradient(ellipse at 100% 100%,#712c4b22,transparent 50%),linear-gradient(155deg,#0e1125,#221528 75%,#2b192f);transition:background .8s}
.experience::after{content:"";position:absolute;inset:12px;z-index:-1;border:1px solid #d4bcdb13;pointer-events:none}.experience::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.12;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.22' d='M0 0h200v200H0z'/%3E%3C/svg%3E")}
#stars,#fireworks{position:fixed;inset:0;display:block;width:100%;height:100%;pointer-events:none}#stars{z-index:-1;opacity:.8;animation:starlight 8s ease-in-out infinite alternate}#fireworks{z-index:8}.scene-top{display:flex;align-items:center;justify-content:space-between;min-height:52px;z-index:10}.date-mark{color:var(--ivory);text-decoration:none;display:flex;align-items:center;gap:20px}.date-mark>span{font:1.8rem/1 Georgia,serif;letter-spacing:.025em}.date-mark i{font-style:normal;color:#ad899b;padding-inline:5px;font-size:1.1rem}.date-mark small{color:var(--soft);font-size:.75rem;letter-spacing:.18em;border-left:1px solid #bca3b82e;padding:8px 0 8px 20px}
.scene-content{display:grid;flex:1;align-items:center;min-height:620px}.panel{grid-area:1/1;animation:panel-in .65s ease both}.birthday-title{text-align:center;pointer-events:none;margin-top:10px}.birthday-title>p:first-child{margin:0;color:#ddc4c1;font:italic 1.2rem/1.5 Georgia,serif}.birthday-title h1{margin:0;font:italic clamp(4rem,6.2vw,6.2rem)/1.16 Baskerville,Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.055em;text-shadow:0 0 40px #d0a58b15}.birthday-title h1 span{color:#d29fae}.kazakh{margin:12px 0 0;color:#c6b4c8;font:italic 1rem/1.65 Georgia,"Times New Roman",serif}.cake-scene{position:relative;display:flex;justify-content:center;align-items:center;margin:22px auto 0;max-width:860px}.cake-button{position:relative;display:block;width:min(350px,38svh,80vw);aspect-ratio:1;padding:0;border:0;border-radius:46%;background:transparent;transition:transform .35s;flex:none}.cake-button:hover{transform:translateY(-4px)}.cake-button:active{transform:scale(.975)}.cake-image{position:relative;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 20px 20px #0c03154a);z-index:1}.flame-anchor{position:absolute;left:var(--wick-x);top:var(--wick-y);width:12%;aspect-ratio:1;transform:translate(-50%,-88.5%);pointer-events:none;transition:opacity .5s;z-index:2}.flame-image{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 88.5%;animation:flicker 2.6s ease-in-out infinite}.candle-light{position:absolute;left:var(--wick-x);top:var(--wick-y);width:70%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-55%);background:radial-gradient(circle,#ffc67524,transparent 64%);transition:opacity .8s;pointer-events:none}.is-out .flame-anchor,.is-out .candle-light{opacity:0}.is-out .flame-image{animation:none;transform:scale(.4) translateY(-35%)}.wish-ripple{position:absolute;inset:0;border:1px solid #f4d59d;border-radius:50%;opacity:0;pointer-events:none}.is-out .wish-ripple{animation:wish-ripple 1.8s ease-out}.orbit{position:absolute;width:76%;height:65%;border:1px solid #dbc1de12;border-radius:50%;transform:rotate(-16deg);pointer-events:none}.orbit::after{content:"";position:absolute;inset:-25px 20px;border:1px solid #dbc1de09;border-radius:50%;transform:rotate(30deg)}.side-note{position:absolute;top:48%;font-size:.75rem;letter-spacing:.2em;color:#a991b0;writing-mode:vertical-rl}.side-note-left{left:8%;transform:translateY(-50%) rotate(180deg)}.side-note-right{right:8%;transform:translateY(-50%)}
.wish-copy{text-align:center;position:relative;margin:4px auto 18px;max-width:540px;pointer-events:none}.wish-eyebrow,.eyebrow{font-size:.75rem;letter-spacing:.23em;color:var(--gold);line-height:1.5;margin:0 0 9px}.wish-message{font-family:"Songti SC","STSong","SimSun",Georgia,serif;font-size:1.125rem;line-height:1.85;margin:0;letter-spacing:.045em;text-wrap:balance}.wish-message.is-wished{animation:panel-in 1s ease}.cake-hint{margin:7px 0 0;color:#a995b1;font-size:.875rem;line-height:1.7}.scene-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;z-index:10}.footer-note{font:italic .875rem Georgia,serif;color:#af9db6;max-width:180px;line-height:1.5}.footer-date{font-size:.75rem;letter-spacing:.12em;color:#ad97b1;width:180px;text-align:right}.footer-date i{font-style:normal;padding-left:15px;color:var(--gold)}.scene-tabs{display:flex;gap:7px;padding:6px;border:1px solid #cfb8cf29;background:#20182988;border-radius:100px}.scene-tabs button{border:0;padding:13px 24px;min-height:46px;white-space:nowrap;border-radius:100px;font-size:.9375rem;letter-spacing:.07em;background:transparent;color:#af9db9;transition:background .25s,color .25s}.scene-tabs button span{font:italic .75rem Georgia,serif;margin-right:7px;opacity:.7}.scene-tabs button[aria-selected="true"]{background:#e8d7e411;color:#f8e7d3;box-shadow:inset 0 0 0 1px #d9c4d31c}.scene-tabs button:hover{color:var(--ivory)}
.music-button{display:flex;align-items:center;gap:10px;border:1px solid #d9bfd226;background:#20162655;border-radius:100px;min-height:44px;padding:11px 17px;font-size:.875rem;color:#cbbbce}.music-button:hover,.music-button.is-playing{color:var(--ivory);border-color:#c8a4c064}.music-bars{display:flex;align-items:center;gap:3px;height:16px}.music-bars i{display:block;background:var(--gold);height:7px;width:2px;border-radius:2px}.music-bars i:nth-child(2){height:14px}.music-bars i:nth-child(3){height:10px}.music-bars i:nth-child(4){height:5px}.is-playing .music-bars i{animation:music-pulse .85s ease-in-out infinite alternate}.is-playing .music-bars i:nth-child(2){animation-delay:-.4s}.is-playing .music-bars i:nth-child(3){animation-delay:-.2s}
.chapter-title{text-align:center;margin:28px 0 0}.chapter-title h2{font-family:"Songti SC","STSong","SimSun",Georgia,serif;font-size:clamp(1.8rem,3.3vw,3rem);font-weight:400;line-height:1.6;letter-spacing:.055em;margin:14px 0}.chapter-title h2 em{font-style:normal;color:#d7b8d1}.panel-intro{font-size:.9375rem;color:#ad9bb8;line-height:1.7;margin:0}.constellation-panel,.fireworks-panel{padding:12px 0}.constellation{position:relative;width:min(700px,100%);height:300px;margin:15px auto 0}.star-lines{width:100%;height:100%;overflow:visible;position:absolute;inset:0;pointer-events:none}.star-guide{stroke:#b49ac629;stroke-width:1;stroke-dasharray:3 9;fill:none}#collected-lines{stroke:#ecd2afaa;stroke-width:1.1;fill:none;filter:drop-shadow(0 0 5px #e4c88d)}.wish-star{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:60px;height:72px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#aa91ba}.wish-star>span{font-size:2rem;line-height:1;text-shadow:0 0 18px #d6b4ec45;transition:color .4s,transform .4s,text-shadow .4s}.wish-star small{font:italic .75rem Georgia,serif;letter-spacing:.05em}.wish-star:hover>span{transform:scale(1.3)}.wish-star[aria-pressed="true"]{color:#efd5ae}.wish-star[aria-pressed="true"]>span{color:#f9e5c1;text-shadow:0 0 15px #efcd8399,0 0 40px #dfb7c599}.wish-star.just-lit>span{animation:star-arrives .8s ease-out}.star-message{text-align:center;min-height:114px;margin:0 12px}.star-message>p{font:italic 1rem/1.6 Georgia,serif;color:#d7b3c8;margin:0 0 9px}.star-message h3{font:400 1.125rem/1.9 "Songti SC","STSong",serif;letter-spacing:.045em;margin:0 0 16px;text-wrap:balance}.star-message>span{font-size:.75rem;letter-spacing:.13em;color:#ab95b5}.text-button{display:block;margin:5px auto 0;font-size:.875rem;color:#dbc6db;background:none;border:0;padding:10px;min-height:44px}.text-button span{padding-left:8px}.firework-open-sky{height:clamp(180px,32vh,300px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;opacity:.65;transition:opacity .5s;pointer-events:none}.firework-open-sky>span:last-child{font-size:.75rem;letter-spacing:.24em;color:#b5a2c1}.sky-cross{font:3rem Georgia,serif;color:#d3afcf;animation:starlight 3s ease-in-out infinite alternate}.is-showing .firework-open-sky{opacity:0}.firework-controls{text-align:center}.color-picker{display:flex;justify-content:center;gap:8px;border:0;padding:0;margin:0 0 24px}.color-choice{display:flex;align-items:center;gap:7px;padding:10px 14px;min-height:44px;background:none;border:1px solid transparent;border-radius:100px;font-size:.875rem;color:#ac98b7}.color-choice i{display:block;width:8px;height:8px;border-radius:50%;background:var(--swatch);box-shadow:0 0 10px color-mix(in srgb,var(--swatch) 30%,transparent)}.color-choice.is-selected{color:#eddfec;border-color:#cfafd23d;background:#bf9fc910}.firework-button{display:inline-flex;align-items:center;gap:14px;min-height:52px;padding:14px 27px;border:1px solid #d8b7cc64;border-radius:100px;background:#c29cbe0d;font-size:1rem;letter-spacing:.05em;transition:background .25s,transform .25s}.firework-button:hover{background:#c29cbe22}.firework-button:active{transform:scale(.97)}.firework-button>span:first-child{font-size:1.4rem;color:var(--gold)}.button-en{padding-left:13px;border-left:1px solid #d5b5cc40;font:italic .875rem Georgia,serif;color:#d5b9cb}.show-note{margin:15px 0 0;color:#ae99b7;font-size:.875rem;line-height:1.7;min-height:1.7em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript-note{padding:20px;text-align:center}.is-showing .chapter-title{opacity:.55;transition:opacity .5s}
@keyframes flicker{0%,100%{transform:rotate(-2deg) scale(.94,1)}25%{transform:rotate(2deg) scale(1,.96)}55%{transform:rotate(-1deg) scale(.9,1.05)}75%{transform:rotate(2deg) scale(.97,.98)}}@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes starlight{from{opacity:.45}to{opacity:.9}}@keyframes music-pulse{from{transform:scaleY(.4)}to{transform:scaleY(1)}}@keyframes wish-ripple{0%{transform:scale(.4);opacity:0}15%{opacity:.3}100%{transform:scale(1.7);opacity:0}}@keyframes star-arrives{0%{transform:scale(.6)}35%{transform:scale(1.5)}100%{transform:scale(1)}}
@media(min-height:900px){.scene-content{min-height:700px}.cake-button{width:min(410px,41svh)}.cake-scene{margin-top:28px}}
@media(max-width:760px){.experience{padding:20px 22px max(20px,env(safe-area-inset-bottom))}.experience::after{inset:8px}.date-mark{gap:0}.date-mark small{display:none}.date-mark>span{font-size:1.5rem}.scene-content{min-height:590px}.birthday-title{margin-top:22px}.birthday-title h1{font-size:4.5rem}.birthday-title>p:first-child{font-size:1.1rem}.kazakh{font-size:.9375rem;margin-top:8px}.cake-scene{margin-top:30px}.cake-button{width:min(335px,37svh,86vw)}.side-note{display:none}.orbit{width:99%;height:65%}.wish-copy{margin-top:10px;margin-bottom:10px}.wish-message{font-size:1.0625rem}.wish-eyebrow{font-size:.75rem}.cake-hint{font-size:.875rem}.scene-bottom{flex-direction:column;gap:17px;margin-top:12px}.footer-note{order:2;max-width:none;font-size:.75rem}.footer-date{display:none}.scene-tabs{width:min(100%,370px);justify-content:center;gap:3px;padding:5px}.scene-tabs button{flex:1;padding:12px 18px;letter-spacing:.025em}.scene-tabs button span{margin-right:5px}.chapter-title{margin-top:22px}.chapter-title h2{font-size:1.9rem;margin:18px 0}.chapter-title h2 em{display:block}.panel-intro{font-size:.875rem}.constellation{height:260px;margin-top:10px}.star-message h3{font-size:1.0625rem}.firework-open-sky{height:240px}.color-picker{gap:0}.color-choice{padding:10px;font-size:.875rem}.wish-star{width:48px}.wish-star>span{font-size:1.7rem}}
@media(max-height:760px){.scene-content{min-height:510px}.birthday-title{margin-top:8px}.birthday-title h1{font-size:3.7rem}.cake-scene{margin-top:23px}.cake-button{width:min(300px,34svh,80vw)}.wish-copy{margin-top:4px}.wish-message{font-size:1rem}.cake-hint{margin-top:3px}.scene-bottom{margin-top:8px}.constellation{height:210px}.firework-open-sky{height:190px}.chapter-title{margin-top:12px}.chapter-title h2{margin-block:12px}.star-message{min-height:104px}}
@media(max-width:350px){.experience{padding-inline:18px}.birthday-title h1{font-size:3.4rem}.kazakh{font-size:.875rem}.scene-tabs button{padding-inline:12px}.music-button{padding-inline:12px}.chapter-title h2{font-size:1.65rem}.color-choice{padding-inline:7px;font-size:.875rem}.wish-message{font-size:1rem}.constellation{height:200px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.cake-button:hover,.cake-button:active,.firework-button:active{transform:none}}


.scene-bottom{justify-content:center;position:relative}.footer-date{position:absolute;right:0}.scene-tabs{gap:3px}.scene-tabs button{padding-inline:21px}
.gift-panel{padding:12px 0}.gift-heading{margin-top:12px}.gift-heading h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:12px 0}.birthday-card-space{perspective:1400px;margin:28px auto 22px;width:min(440px,88vw);height:300px}.birthday-card{display:block;position:relative;width:100%;height:100%;padding:0;border:0;background:transparent;perspective:inherit;text-align:left;border-radius:3px;outline-offset:8px!important}.birthday-card-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.23,.7,.22,1)}.birthday-card.is-open .birthday-card-inner{transform:rotateY(180deg)}.card-face{position:absolute;inset:0;display:flex;flex-direction:column;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;border-radius:3px;box-shadow:0 20px 65px #07041060}.card-front{background:linear-gradient(135deg,#714469,#4d3158 75%);border:1px solid #bd85ac60;padding:28px 32px}.card-front::after{content:"";position:absolute;inset:11px;border:1px solid #e4bad827;pointer-events:none}.card-topline{display:flex;justify-content:space-between;font-size:.75rem;letter-spacing:.2em;color:#dcbccd;line-height:1.5}.card-topline i{font-style:normal;color:#e6c798}.card-name{margin:auto 0;font:italic 2.25rem/1.16 Baskerville,Georgia,serif;color:#eadacc}.card-name em{font-size:3.55rem;font-weight:400;letter-spacing:-.045em}.card-bottomline{display:flex;align-items:center;justify-content:space-between;font:italic .875rem/1.5 Georgia,serif;color:#dab9ca}.card-open-mark{font:1.5rem Georgia,serif}.card-back{transform:rotateY(180deg);background:#f0e5d8;padding:28px 32px;color:#674b61;border:1px solid #fff1e4}.card-back-eyebrow{font:normal .75rem/1.5 Georgia,serif;letter-spacing:.17em;color:#99778c}.card-wish{font:400 1.5rem/1.75 "Songti SC","STSong",Georgia,serif;letter-spacing:.075em;margin:17px 0 8px}.card-small-wish{font:400 .9375rem/1.8 "Songti SC","STSong",Georgia,serif;color:#866b7e}.card-signoff{font:italic 1rem/1.7 Georgia,serif;color:#986c86;margin-top:auto}.card-date{position:absolute;right:30px;bottom:24px;font-size:.75rem;letter-spacing:.1em;color:#aa8697}.card-date i{font-style:normal;margin-left:8px}.card-status{text-align:center;color:#bda4bd;font-size:.875rem;line-height:1.8;margin:0 12px;min-height:1.8em}.gift-panel>.text-button{margin-top:2px}.gift-panel.is-opened .gift-heading .panel-intro{color:#c7aabd}
@media(max-width:1100px){.scene-bottom{justify-content:center}.footer-note,.footer-date{display:none}}
@media(max-width:760px){.scene-tabs{width:min(100%,430px);gap:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:5px}.scene-tabs button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:10px 4px;font-size:.875rem;line-height:1.3;letter-spacing:.015em}.scene-tabs button span{font-size:.75rem;margin:0;line-height:1}.scene-bottom{position:sticky;bottom:0;margin:14px -6px 0;padding:7px 6px 3px;background:linear-gradient(transparent,#24172beb 35%);backdrop-filter:blur(3px);border-radius:30px;z-index:12}.birthday-card-space{width:min(360px,100%);height:300px;margin:25px auto 22px}.card-front,.card-back{padding:26px}.card-name em{font-size:3.25rem}.card-wish{font-size:1.375rem;margin-top:20px}.card-small-wish{font-size:.875rem}.card-date{display:none}.card-signoff{margin-top:16px}.gift-heading{margin-top:14px}.gift-heading h2{font-size:1.8rem}.card-status{font-size:.875rem}.gift-panel{padding-bottom:12px}}
@media(max-width:350px){.birthday-card-space{height:310px}.card-front,.card-back{padding:23px}.card-name em{font-size:2.8rem}.card-wish{font-size:1.25rem}.card-back-eyebrow{font-size:.75rem;letter-spacing:.1em}.card-small-wish{font-size:.875rem;line-height:1.8}.card-signoff{font-size:.9375rem}.scene-bottom{margin-inline:-3px}}
@media(prefers-reduced-motion:reduce){.birthday-card-inner{transform:none!important}.card-back{transform:none}.birthday-card:not(.is-open) .card-back,.birthday-card.is-open .card-front{visibility:hidden}}

@media(max-width:760px){.chapter-title h2 em{display:inline}}

@media(max-width:760px){.experience{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.scene-bottom{position:fixed;left:16px;right:16px;bottom:max(8px,env(safe-area-inset-bottom));margin:0;padding:7px 6px;background:linear-gradient(#221729e6,#24172bf5);border:1px solid #c5a8c413;border-radius:40px;backdrop-filter:blur(12px)}.scene-tabs{width:100%}}
