/* A quiet birthday for one person. */
:root{--bg:#12121f;--ink:#f3eddf;--muted:#b7adbe;--gold:#e0b77c;--line:#efe4d51e;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);min-height:100vh;min-height:100svh;overflow-x:clip}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a{outline-offset:5px}button:focus-visible,a:focus-visible{outline:2px solid var(--gold)}button:disabled{opacity:.5;cursor:default}h2:focus{outline:none}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#47334555,transparent 60%);z-index:-1}.stars{position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.35;background-image:radial-gradient(circle,#aaa1be .6px,transparent 1px),radial-gradient(circle,#8e829a .6px,transparent 1px);background-size:139px 137px,223px 211px;background-position:37px 55px,100px 77px}
.site-header{max-width:1160px;margin:auto;height:82px;padding:0 42px;display:flex;align-items:center;justify-content:space-between}.dedication{display:flex;align-items:center;gap:10px;font:italic 21px Georgia,serif;color:#d9c5ae}.dedication svg{color:var(--gold);width:21px;height:21px}.sound-button{min-width:100px;min-height:48px;padding:10px 6px;display:flex;align-items:center;justify-content:flex-end;gap:9px;border:0;background:none;color:var(--muted);font-size:12px}.sound-icon{position:relative;display:flex}.sound-off{width:23px;height:1px;position:absolute;background:var(--muted);transform:rotate(-45deg);top:9px;left:-1px;box-shadow:0 0 0 2px var(--bg)}.sound-button[aria-pressed=true]{color:var(--gold)}.sound-button[aria-pressed=true] .sound-off{display:none}
.intro{text-align:center;padding:14px 24px 0}.eyebrow{font-size:9px;letter-spacing:3px;color:#c6a780;margin:0 0 17px}h1{font-family:"Baskerville","Iowan Old Style",Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-3px;font-size:70px;line-height:1.1;margin:0 0 17px;position:relative;display:inline-block}.title-star{position:absolute;right:-31px;top:3px;font-size:26px;font-style:normal;color:var(--gold)}#greeting{font-size:15px;line-height:1.8;margin:0;color:#e1d2d5;word-break:keep-all;overflow-wrap:anywhere}.intro-note{color:#a99cae;font-size:12px;line-height:1.7;margin:4px 0 0}
.steps{margin:28px auto 0}.steps ol{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:27px}.steps li{display:flex;align-items:center;gap:7px;font-size:11px;color:#81768d;transition:color .3s}.steps li.active,.steps li.complete{color:#d9bea3}.step-dot{height:4px;width:4px;border-radius:50%;background:currentColor}.active .step-dot{box-shadow:0 0 10px #e2b87288}
.cake-column{width:min(440px,100%);margin:auto}.interaction-panel{position:relative;text-align:center;max-width:390px;padding:0 18px;margin:-20px auto 0;min-height:200px}.phase-panel{animation:panel-in .5s ease both}h2{font-size:16px;line-height:1.65;font-weight:500;letter-spacing:-.35px;margin:0;word-break:keep-all}.instruction-sub{font-size:13px;line-height:1.8;color:var(--muted);margin:8px 0 18px;word-break:keep-all}.lighting-controls{display:flex;justify-content:center;align-items:center;gap:25px}.count-progress{font:19px Georgia;color:#b1a1b9;display:flex;align-items:baseline;gap:8px}#lit-count{font-size:26px;color:var(--gold)}.count-divider{font-size:16px;color:#7f728e}.keyboard-hint{font-size:11px;line-height:1.8;color:#9f91a8;margin:12px 0 0}
.match-tray{height:52px;min-width:192px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:9px;border:1px solid #d9c0a44a;background:linear-gradient(120deg,#e0b77c10,#e0b77c03);touch-action:none}.match-tray:hover,.match-tray.armed{background:#e0b77c18;border-color:#e0b77c75}.match-stick{display:inline-block;width:42px;height:4px;background:linear-gradient(#e6cda3,#ad865e);border-radius:2px;transform:rotate(-26deg);position:relative;pointer-events:none}.match-head{position:absolute;right:-2px;top:-2px;width:10px;height:7px;background:#a85041;border-radius:50%}.match-tray-flame{position:absolute;right:-3px;top:-17px;width:9px;height:17px;border-radius:60% 40% 35% 45%;background:linear-gradient(#fff4c6,#ffc25e,#f27e33);transform:rotate(26deg);box-shadow:0 0 13px #e9995944}.match-text{font-size:13px;color:#e3c9ab;pointer-events:none}.match-tray svg{width:16px;height:16px;color:#d8bc9e;pointer-events:none}
.primary-button{min-height:48px;padding:0 23px;border:1px solid #e8c8a6;background:#e6c9a8;color:#32251e;border-radius:8px;display:inline-flex;gap:15px;align-items:center;justify-content:center;font-size:14px;font-weight:600}.primary-button:hover{background:#f4d9b8}.primary-button svg{width:17px;height:17px}.text-button{min-height:48px;padding:10px 6px;border:0;background:none;color:#bbaaBE;font-size:12px;line-height:1.65;display:inline-flex;align-items:center;justify-content:center;gap:7px}.text-button:hover{color:var(--ink)}.button-row{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.letter-shortcut{font-size:11px;color:#a899ad;margin:13px auto 0;text-decoration:underline;text-decoration-color:#a899ad44;text-underline-offset:5px}.privacy-note{color:#a393ac;font-size:11px;line-height:1.7;margin:13px 0 0}.mic-meter{height:26px;display:flex;align-items:center;justify-content:center;gap:4px;margin-top:15px}.mic-meter span{width:3px;min-height:3px;height:5px;border-radius:3px;background:var(--gold)}.celebration-panel h2{color:#f3d5aa}.restart-button{font-size:11px;color:#a899ad;margin-top:12px}
footer{max-width:700px;margin:23px auto 0;padding:20px 25px max(25px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:18px;color:#95859d;font-size:10px;line-height:1.7}footer a{display:flex;align-items:center;min-height:44px;font-size:9px;color:#a99bb0;text-decoration:underline;text-underline-offset:3px}
#confetti{position:fixed;inset:0;width:100%;height:100%;z-index:25;pointer-events:none}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);background:#ead0b2;color:#392d25;padding:12px 20px;border-radius:9px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:.3s;width:max-content;max-width:calc(100% - 32px);text-align:center;box-shadow:0 5px 30px #0004}.toast.show{opacity:1;transform:translate(-50%,0)}
.cake-stage{position:relative;aspect-ratio:1;user-select:none;touch-action:pan-y}.cake-image{position:absolute;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 22px 40px #0004);pointer-events:none}.cake-glow{position:absolute;top:4%;left:9%;width:82%;height:70%;border-radius:50%;background:radial-gradient(ellipse,#d49a5e22,transparent 66%);opacity:.2;transform:scale(.8);transition:opacity 1.2s,transform 1.2s;pointer-events:none}.cake-stage.has-light .cake-glow{opacity:1;transform:scale(1.15)}.cake-stage.all-lit .cake-glow{background:radial-gradient(ellipse,#df9a4433,transparent 68%);transform:scale(1.3)}.stage-spark{position:absolute;color:#dec7a6;opacity:.7;pointer-events:none;animation:twinkle 5s ease-in-out infinite}.star-a{font-size:28px;top:29%;left:0}.star-b{font-size:17px;top:52%;right:-2%;animation-delay:2s}.star-c{font-size:40px;top:14%;right:14%;opacity:.4}.cake-caption{position:absolute;bottom:0;left:0;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;font-size:10px;letter-spacing:1px;color:#a59cae}.cake-caption>span:first-child,.cake-caption>span:last-child{height:1px;width:24px;background:#a59cae40}.candles{position:absolute;inset:0;pointer-events:none}.candle{position:absolute;bottom:auto;border:0;padding:0;background:transparent;width:7%;transform:translateX(-50%);pointer-events:auto;touch-action:none;isolation:isolate}.candle:focus-visible{outline:1px dashed var(--gold);border-radius:5px}.wick{position:absolute;height:7px;width:2px;background:#5a4b43;left:calc(50% - 1px);top:-7px;border-radius:2px;transform:rotate(5deg)}.flame{position:absolute;left:50%;top:-25px;width:11px;height:25px;border-radius:50% 50% 40% 40% / 65% 65% 35% 35%;background:radial-gradient(ellipse at 50% 80%,#fffbea 0%,#fff4c0 20%,#ffce69 43%,#ff961f 64%,#ef660e00 86%);transform:translateX(-50%);filter:drop-shadow(0 0 4px #ffb543);opacity:0;transform-origin:50% 100%;transition:opacity .3s}.flame:before{content:"";position:absolute;width:70px;height:90px;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(ellipse,#ffc25830,transparent 70%);pointer-events:none}.candle.lit .flame{opacity:1;animation:flicker 1.3s ease-in-out infinite alternate;animation-delay:var(--delay)}.candle.lit .wick{background:#e99435}.candle.blown .flame{opacity:0;animation:none;transform:translateX(9px) scale(.1);transition:opacity .25s,transform .25s}.smoke{position:absolute;top:-16px;left:50%;width:7px;height:35px;background:linear-gradient(transparent,#d1c8d530,transparent);border-radius:50%;filter:blur(3px);opacity:0;pointer-events:none}.candle.blown .smoke{animation:smoke 2.5s ease-out}.floating-match{position:fixed;left:0;top:0;z-index:50;width:0;height:0;pointer-events:none;display:none;filter:drop-shadow(0 0 12px #ffad4925)}.floating-match.visible{display:block}.floating-stick{position:absolute;top:0;left:-2px;width:5px;height:83px;background:linear-gradient(90deg,#8e633b,#ead5a8,#b18b5c);transform:rotate(42deg);transform-origin:50% 0;border-radius:3px}.floating-head{position:absolute;left:-4px;top:-5px;width:9px;height:10px;background:#bd603b;border-radius:50%}.floating-flame{position:absolute;top:-24px;left:-7px;width:14px;height:28px;border-radius:60% 40% 45% 40%;background:radial-gradient(ellipse at 50% 75%,#fff9de 0,#ffe49a 30%,#ffab38 55%,#ed5c1b00 85%);filter:drop-shadow(0 0 8px #f9a634);animation:flicker .4s infinite alternate}.match-active .cake-stage{cursor:none}.match-active .candle{cursor:none}.envelope{display:block;position:relative;margin:30px auto 36px;width:220px;height:132px;background:none;border:0;isolation:isolate;transition:transform .35s}.envelope:hover{transform:rotate(-2deg) translateY(-4px)}.envelope-back{position:absolute;inset:0;background:#d0b792;border-radius:6px;transform:rotate(-3deg);box-shadow:0 12px 30px #0005}.envelope-letter{position:absolute;left:13px;right:13px;top:-13px;bottom:12px;background:#f4e7ce;color:#9d755e;border-radius:2px;font:italic 18px Georgia;padding-top:23px;transform:rotate(2deg)}.envelope-front{position:absolute;inset:0;background:linear-gradient(32deg,#ddc8a7 49%,transparent 50%),linear-gradient(-32deg,#e8d5b6 49%,transparent 50%);border-radius:5px}.envelope-seal{position:absolute;top:56px;left:calc(50% - 18px);width:36px;height:36px;display:grid;place-items:center;background:#ab727d;border-radius:50%;box-shadow:1px 2px 2px #7b505b66;color:#f9e7dc;font-size:24px}.envelope-label{position:absolute;top:calc(100% + 14px);left:-30px;right:-30px;color:#c4b1bc;font-size:10px;letter-spacing:.2px}@keyframes flicker{0%{transform:translateX(-50%) rotate(-5deg) scaleY(.9)}50%{transform:translateX(-50%) rotate(4deg) scaleY(1.06)}100%{transform:translateX(-50%) rotate(-2deg) scaleY(.97)}}@keyframes smoke{0%{opacity:0;transform:translate(0,0) scale(.7)}20%{opacity:.75}100%{opacity:0;transform:translate(20px,-70px) scale(2.2)}}@keyframes twinkle{0%,100%{opacity:.3}50%{opacity:.8}}@keyframes panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.letter-open{overflow:hidden}.letter-dialog{color-scheme:light;width:500px;max-width:calc(100% - 28px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);background:#eee3cf;color:#584737;padding:16px;border:1px solid #e8d3b0;border-radius:6px;box-shadow:0 30px 100px #0008;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.letter-dialog::backdrop{background:#080811cc;backdrop-filter:blur(6px)}.close-button{position:sticky;float:right;z-index:2;top:0;right:0;width:44px;height:44px;border:0;border-radius:50%;font-size:28px;line-height:1;background:#eee3cff2;color:#80695c}.letter-paper{padding:27px 25px 10px;background:repeating-linear-gradient(0deg,#fff2 0,#fff2 1px,transparent 1px,transparent 4px)}.letter-eyebrow{font:9px Georgia;letter-spacing:2.5px;color:#8b7461;margin:0 0 23px}.letter-paper h2{font:400 23px/1.6 "Apple SD Gothic Neo",sans-serif;letter-spacing:-.7px;color:#805c55;margin:0 0 27px;overflow-wrap:anywhere}.letter-body{font:15px/2.05 "Apple SD Gothic Neo",sans-serif;word-break:keep-all;overflow-wrap:anywhere}.letter-body p{white-space:pre-line;margin:0 0 23px}.letter-from{text-align:right;font-size:15px;color:#926872}.letter-ending{border-top:1px solid #a7836129;padding-top:22px;font-size:12px;line-height:1.9;color:#8b7461;word-break:keep-all}.letter-doodle{text-align:center;font-size:25px;color:#a6856d;margin-top:17px}.letter-back{display:block;margin:6px auto 0;min-height:48px;border:0;background:none;color:#80695c;font-size:12px}.polaroid{background:#fbf6ec;padding:9px 9px 20px;margin:0 auto 28px;max-width:290px;transform:rotate(-2deg);box-shadow:2px 4px 12px #69574420}.polaroid img{width:100%;max-height:290px;object-fit:cover;display:block}
/* Hit areas stay usable while the illustrated candles remain delicate. */
.candle{width:max(7%,44px);min-height:44px}.match-active .cake-stage{touch-action:none}.envelope{margin-bottom:32px}.envelope-label{font-size:12px}.envelope-seal{font-size:23px}.envelope-letter{font-size:17px}.star-a{left:4%}.star-b{right:5%}
@media(max-width:600px){
 .site-header{height:66px;padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}.dedication{font-size:18px}.dedication svg{width:18px;height:18px}.sound-button{font-size:11px}
 .intro{padding-top:14px}.eyebrow{font-size:8px;letter-spacing:2.3px;margin-bottom:15px}h1{font-size:clamp(38px,11.4vw,55px);letter-spacing:-2px;margin-bottom:15px}.title-star{font-size:19px;right:-22px}#greeting{font-size:14px}.intro-note{font-size:12px;margin-top:3px}
 .steps{margin-top:22px}.steps ol{gap:24px}.steps li{font-size:11px}.cake-column{width:min(380px,100%)}.cake-stage{margin-top:6px}.interaction-panel{margin-top:-13px;padding:0 22px;min-height:195px}h2{font-size:15px}.instruction-sub{font-size:13px;margin-bottom:16px}.primary-button{font-size:13px}.match-tray{min-width:188px}.letter-shortcut{margin-top:9px}
 footer{margin-top:9px;padding-top:12px}.envelope{width:193px;height:116px;margin-top:27px;margin-bottom:36px}.envelope-seal{top:48px}.letter-dialog{padding:10px;max-height:calc(100dvh - 24px)}.letter-paper{padding:25px 19px 9px}.letter-paper h2{font-size:22px}.letter-body{font-size:15px;line-height:2}.letter-eyebrow{font-size:8px;letter-spacing:1.7px}
}
@media(max-width:350px){.site-header{padding-left:18px;padding-right:18px}.intro{padding-left:18px;padding-right:18px}.interaction-panel{padding:0 16px}.lighting-controls{gap:18px}.match-tray{min-width:176px}.button-row{gap:8px}.primary-button{padding:0 18px}.letter-paper{padding-left:13px;padding-right:13px}.letter-body{font-size:14px}}
@media(min-width:601px) and (max-height:850px){.site-header{height:66px}.intro{padding-top:4px}h1{font-size:59px}.steps{margin-top:20px}.cake-column{width:360px}.interaction-panel{margin-top:-13px}footer{margin-top:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the clear center of the fig cake aligned with the six candle bases. */
.cake-image{width:88%;height:88%;left:6%;top:2%}

/* Linen, paper, a real photograph, and pen on a page. */
@font-face{font-family:"Garam Hand";src:url("https://hangeul.pstatic.net/hangeul_static/webfont/clova/NanumGaRamYeonGgoc.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
:root{--bg:#ede7dc;--ink:#54483e;--muted:#7d7063;--gold:#907453;--line:#76614a26;color-scheme:light;--hand:"Garam Hand","Nanum Pen Script",cursive;--hand-en:"Caveat","Nanum Pen Script",cursive}
body{background:radial-gradient(ellipse at 18% 0%,#faf7f0aa,transparent 60%),var(--bg);background-attachment:fixed}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:40;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.site-header{height:65px}.dedication{font:27px var(--hand);color:#8c7765;transform:rotate(-3deg)}.sound-button{color:#7c7164}.sound-off{background:#7c7164;box-shadow:none}.sound-button[aria-pressed=true]{color:#8d5d49}
.intro{padding-top:7px}.eyebrow{font:italic 13px Georgia,serif;letter-spacing:.3px;color:#9a8874;margin-bottom:10px}h1{font:68px/1 var(--hand);letter-spacing:-1px;margin-bottom:8px;transform:rotate(-2deg);color:#5c493b}#greeting{color:#746150;font-size:14px}.intro-note{display:none}.steps{margin-top:20px}.steps li{color:#aa9c8c;font-size:10px}.steps li.active,.steps li.complete{color:#76604a}.active .step-dot{box-shadow:none}
.cake-column{width:min(416px,calc(100% - 42px));margin-top:24px}.cake-stage{aspect-ratio:1;margin:0;transform:rotate(-.7deg);background:#d2c0a6;box-shadow:0 3px 7px #705c4720,0 15px 30px #705c4715}.cake-stage::before{content:"";position:absolute;inset:-8px -8px -29px;border:8px solid #fcf9f1;border-bottom-width:29px;box-shadow:0 1px 2px #8a745127;pointer-events:none;z-index:-1}.cake-image{left:0;top:0;width:100%;height:100%;filter:none}.photo-caption{position:relative;font:19px var(--hand);text-align:center;color:#8b7562;margin:6px 0 0;transform:rotate(-.7deg);z-index:1;pointer-events:none}
.interaction-panel{margin-top:25px;max-width:390px;min-height:180px;padding:0 10px}h2{color:#5c4b3c;font-size:15px}.instruction-sub{color:#8a7968;font-size:12px}.keyboard-hint,.privacy-note{color:#96836f;font-size:11px}.match-tray{background:#f7f2e8;border:1px solid #bca98d88;border-radius:3px;box-shadow:1px 2px 1px #9b866416}.match-tray:hover,.match-tray.armed{background:#fbf8f0;border-color:#a89171}.match-text,.match-tray svg{color:#806449}.count-progress{color:#a5917b}.count-divider{color:#b9a58d}#lit-count{color:#927456}
.primary-button{border:1px solid #a48c6e;background:#a28a6c;color:#fffaf1;border-radius:4px;font-weight:500}.primary-button:hover{background:#927659}.text-button{color:#8b7762}.text-button:hover{color:#4c3c2f}.letter-shortcut{color:#9b8670;text-decoration-color:#9b867066;margin-top:6px}.celebration-panel h2{color:#765a40}.restart-button{color:#9b8670}.mic-meter span{background:#a78e6a}
footer,footer a{color:#a08d77}footer{margin-top:10px}.toast{background:#f8f0df;color:#63523f;box-shadow:0 5px 20px #5a442223}
.candle{transform:translateX(-50%) rotate(var(--lean));transform-origin:50% 100%;background:transparent}.wax-sculpture{position:absolute;left:50%;top:0;width:44px;height:100%;transform:translateX(-50%);overflow:visible;filter:drop-shadow(1px 1px 1px #47362228);pointer-events:none}.wick{left:calc(50% + var(--bend) - 1px);height:6px;top:-3px;background:#615145;transform:rotate(-13deg);width:1.5px}.flame{left:calc(50% + var(--bend));width:10px;height:23px;top:-23px;filter:drop-shadow(0 0 2px #f2b74a88)}.flame:before{width:35px;height:42px;background:radial-gradient(ellipse,#ffcf6730,transparent 70%)}.smoke{left:calc(50% + var(--bend));background:linear-gradient(transparent,#79685950,transparent)}
.envelope-back{background:#d9c8a9;box-shadow:0 5px 12px #806d4925}.envelope-letter{background:#fbf6e9;font:24px var(--hand);color:#a08367}.envelope-front{background:linear-gradient(32deg,#e5d6b9 49%,transparent 50%),linear-gradient(-32deg,#eddfc5 49%,transparent 50%)}.envelope-seal{font:18px var(--hand);width:50px;height:23px;left:calc(50% - 25px);background:#c9c2a2bb;border-radius:0;box-shadow:none;color:#827355;transform:rotate(-8deg)}.envelope-label{color:#937c63;font-size:11px}
.letter-dialog{width:530px;background:#fbf7ec;color:#625446;border:0;border-radius:1px;padding:17px;box-shadow:2px 3px 7px #4a362420,0 28px 80px #4a36242b}.letter-dialog::backdrop{background:#463a2e61;backdrop-filter:blur(3px)}.close-button{color:#a18e78;background:#fbf7eced;font-size:24px}.letter-paper{padding:24px 28px 10px;background:linear-gradient(90deg,transparent 49.8%,#b9a17c08 50%,transparent 50.5%)}.letter-eyebrow{font:21px var(--hand);letter-spacing:0;color:#ab9477;margin-bottom:22px;transform:rotate(-1.2deg)}.letter-paper h2{font:32px/1.4 var(--hand);color:#745f4a;letter-spacing:0;margin-bottom:24px;transform:rotate(-.6deg)}.letter-body{font:24px/1.65 var(--hand);color:#625343;letter-spacing:.05px;word-break:keep-all}.letter-body p{margin:0 0 24px}.letter-body p:nth-child(2){transform:rotate(.12deg)}.letter-from{font:26px var(--hand);color:#84694f}.letter-ending{font:21px/1.6 var(--hand);color:#a28a6c;border-color:#b59b752b;padding-top:20px}.letter-back{color:#9b856b;font-size:11px}
@media(max-width:600px){.site-header{height:60px}.intro{padding-top:6px}h1{font-size:55px}.eyebrow{font-size:12px;margin-bottom:9px}#greeting{font-size:13px}.steps{margin-top:16px}.cake-column{width:min(348px,calc(100% - 42px));margin-top:23px}.interaction-panel{padding:0 6px;margin-top:24px}.photo-caption{font-size:18px}.letter-dialog{padding:12px}.letter-paper{padding:20px 17px 8px}.letter-paper h2{font-size:29px}.letter-body{font-size:23px;line-height:1.65}.letter-eyebrow,.letter-ending{font-size:20px}.letter-body p{margin-bottom:23px}}
@media(max-width:350px){.cake-column{width:calc(100% - 32px)}.interaction-panel{padding:0 3px}.match-tray{min-width:170px}.lighting-controls{gap:17px}h1{font-size:48px}.letter-paper{padding:20px 10px 8px}.letter-body{font-size:22px}.button-row{gap:6px}.text-button{font-size:11px}}

/* Only the greeting, photograph and the next action remain. */
.site-header{max-width:1020px;height:78px;padding:0 38px}.dedication{font-size:27px;transform:rotate(-1.5deg)}.sound-button{width:46px;min-width:46px;height:46px;min-height:46px;padding:0;justify-content:center}.sound-icon svg{width:19px;height:19px}
.intro{padding:9px 20px 0}h1{font-size:66px;margin:0;transform:rotate(-1.5deg)}.cake-column{margin-top:28px}.cake-stage::before{inset:-8px;border:8px solid #fcf9f1}.interaction-panel{min-height:130px;margin-top:22px;padding-bottom:max(22px,env(safe-area-inset-bottom))}
.match-tray{display:block;width:140px;min-width:0;height:64px;min-height:64px;margin:0 auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;transition:transform .2s}.match-tray:hover,.match-tray.armed{background:none;border:0;box-shadow:none}.match-tray:hover{transform:translateY(-2px)}.match-art{display:block;width:140px;height:50px;overflow:visible;filter:drop-shadow(1px 2px 1px #63513d24);pointer-events:none}.match-fire{opacity:0;transition:opacity .2s}.armed .match-fire,.floating-match .match-fire{opacity:1}.floating-match{filter:none}.floating-match .match-art{position:absolute;width:135px;height:45px;left:-110px;top:-14px;transform:rotate(-40deg);transform-origin:110px 14px}
.letter-shortcut{display:flex;width:44px;min-height:44px;padding:10px;margin:0 auto;text-decoration:none;color:#9a8975}.letter-shortcut svg{width:19px;height:19px}.letter-shortcut:hover{color:#65513f}.interaction-panel h2:not(.sr-only){font:28px/1.5 var(--hand);color:#77634f;margin:5px 0}.interaction-panel #silent-wish{font:22px var(--hand);padding:0 17px;min-height:48px}.button-row{gap:12px}.blow-touch{min-width:72px;height:55px;border:0;background:none;color:#80684f;font:32px var(--hand);padding:0 10px}.mic-control{width:44px;padding:0;min-height:48px}.mic-control svg{width:19px;height:19px}#mic-status:empty{display:none}#mic-status{font-size:11px;margin:6px 0 0}.envelope{width:187px;height:112px;margin:25px auto 12px}.envelope-letter{font:25px var(--hand);padding-top:18px}.envelope-seal{top:50px}.restart-button{width:44px;min-height:44px;margin:0 auto;padding:10px}.restart-button svg{width:16px;height:16px}.letter-paper{padding-top:30px}.letter-paper h2{margin-top:8px}
.match-fire{opacity:var(--match-ignition,0)}.armed,.floating-match{--match-ignition:1}#wooden-match{overflow:visible}
@media(max-width:600px){.site-header{height:68px;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.dedication{font-size:25px}.intro{padding-top:8px}h1{font-size:54px}.cake-column{margin-top:26px}.interaction-panel{margin-top:20px;min-height:125px}.letter-paper{padding-top:26px}}
@media(max-width:350px){h1{font-size:48px}.site-header{padding-left:20px;padding-right:16px}.dedication{font-size:24px}.cake-column{margin-top:23px}}

/* Light, unhurried pen strokes for the greeting and handwritten note. */
.dedication,.letter-paper,.envelope-letter,.interaction-panel{font-synthesis:none}
.dedication{font-size:29px;letter-spacing:.2px;transform:rotate(-1deg)}
#birthday-heading{font:400 65px/1.1 var(--hand-en);letter-spacing:.2px;transform:rotate(-2deg);color:#655244}
.letter-paper h2{font:400 33px/1.5 var(--hand);letter-spacing:.2px}
.letter-body{font:400 28px/1.65 var(--hand);letter-spacing:.1px}
.letter-body p:nth-child(2){transform:none}
.letter-from{font:400 28px/1.5 var(--hand)}
.letter-back{font:400 24px/1.5 var(--hand)}
.match-tray .match-art{width:140px;height:50px}
@media(max-width:600px){.dedication{font-size:27px}#birthday-heading{font-size:54px}.letter-paper h2{font-size:30px}.letter-body{font-size:26px;line-height:1.6}}
@media(max-width:350px){#birthday-heading{font-size:48px}.dedication{font-size:26px}.letter-body{font-size:25px}}

/* A quiet extra at the end of the letter. */
.soup-gift{display:block;width:56px;height:56px;margin:30px auto 8px;padding:0;border:0;background:none;font-size:29px;line-height:1;transition:transform .2s}
.soup-gift:hover{transform:rotate(-7deg)}
.soup-gift:focus-visible,.soup-close:focus-visible,.soup-spoon:focus-visible,.soup-bowl:focus-visible{outline:1px dashed #8e7c63;outline-offset:5px;border-radius:8px}
.soup-dialog{width:480px;max-width:calc(100% - 28px);max-height:calc(100dvh - 28px);padding:52px 22px 32px;border:0;border-radius:2px;background:#f6f0e4;box-shadow:0 20px 80px #4a36242b;overflow:auto;overscroll-behavior:contain;color-scheme:light}
.soup-dialog::backdrop{background:#e6dfd2e8;backdrop-filter:blur(5px)}
.soup-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:none;font:28px/1 sans-serif;color:#a18e78}
.soup-scene{position:relative;width:min(100%,380px);aspect-ratio:1;margin:0 auto;isolation:isolate;touch-action:pan-y;overflow:hidden}
.soup-bowl{position:absolute;inset:0;width:100%;height:100%;padding:0;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.soup-bowl img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 7px 6px #76614822)}
.soup-steam{position:absolute;left:29%;top:-3%;width:43%;height:36%;overflow:visible;pointer-events:none;z-index:2;filter:blur(2px)}
.soup-steam path{fill:none;stroke:#fbf9ee;stroke-width:7;stroke-linecap:round;opacity:0;animation:soup-steam 6s ease-in-out infinite}
.soup-steam path:nth-child(2){animation-delay:-2s}.soup-steam path:nth-child(3){animation-delay:-4s}
.soup-dialog:not([open]) .soup-steam path{animation-play-state:paused}
.soup-ripple{position:absolute;left:50%;top:40%;width:32%;height:16%;border:1px solid #d5c99b;border-radius:50%;opacity:0;pointer-events:none;z-index:2}
.soup-spoon{position:absolute;left:83%;top:45%;width:19%;height:63.333%;min-width:44px;padding:0;border:0;background:none;z-index:3;transform:translate(-50%,-15%) rotate(-28deg);transform-origin:50% 15%;touch-action:none;cursor:grab;user-select:none;-webkit-tap-highlight-color:transparent;filter:drop-shadow(3px 5px 3px #493b2b33)}
.soup-spoon svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.soup-spoon.is-dragging{cursor:grabbing}.soup-spoon.is-eating{cursor:default}
.spoon-food{opacity:0;transition:opacity .16s}.has-soup .spoon-food{opacity:1}
@keyframes soup-steam{0%{opacity:0;transform:translate(0,7px) scaleX(.9)}30%{opacity:.38}70%{opacity:.22}100%{opacity:0;transform:translate(8px,-25px) scaleX(1.15)}}
@media(max-width:600px){.soup-dialog{padding:48px 16px 26px}.soup-gift{margin-top:24px}}
@media(max-height:500px){.soup-scene{width:min(100%,280px)}.soup-dialog{padding-top:28px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.soup-steam{display:none}}
