:root{--green:#153f35;--green-light:#244e40;--cream:#f5edda;--red:#bd4647;--red-hover:#a8343b;--gold:#d6bd7f;--ink:#1e3d34;--muted:#748178;--serif:'Noto Serif SC','Songti SC','SimSun',serif;--sans:'DM Sans','PingFang SC','Microsoft YaHei',sans-serif;color-scheme:light;font-family:var(--sans);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--green);color:var(--cream);font-size:16px;line-height:1.6}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e4ba67;outline-offset:4px}button{border:0}svg{display:block;width:24px;height:24px}button svg{flex:none}input,textarea{min-width:0}::selection{background:#d4b979;color:#173c31}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{height:104px;max-width:1360px;margin:auto;padding:0 62px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-weight:600;font-size:21px;letter-spacing:3px;line-height:1.4}.brand small{display:block;font:9px var(--sans);letter-spacing:3.3px;margin-top:6px}.brand-mark{width:38px;height:42px;display:grid;place-items:center;position:relative}.brand-mark svg{width:33px;height:33px}.brand-mark:before,.brand-mark:after{content:'';position:absolute;border:1px solid var(--gold);border-radius:50%;width:36px;height:36px;transform:rotate(-25deg) scaleX(.72)}.brand-mark:after{transform:rotate(30deg) scaleX(.72)}.header-caption{font-size:13px;letter-spacing:2px;color:#d0d5bd;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}.sound-toggle{display:flex;align-items:center;gap:9px;font-size:13px;background:none;color:#d4d9c4;padding:10px 0 10px 14px;white-space:nowrap}.sound-toggle svg{width:18px;height:18px}.sound-toggle[aria-pressed=true]{color:var(--gold)}.hero{position:relative;max-width:1360px;margin:auto;min-height:690px;padding:67px 62px 106px;display:grid;grid-template-columns:1.08fr 1fr;isolation:isolate}.hero:before{content:'';position:absolute;inset:-104px -8vw 0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 68% 45%,#37634e55,transparent 55%),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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.055' filter='url(%23n)'/%3E%3C/svg%3E")}.eyebrow{font-size:11px;font-weight:500;letter-spacing:3px;line-height:1.5;display:flex;align-items:center;gap:12px;margin:0 0 24px;color:var(--gold)}.eyebrow>span{width:23px;height:1px;background:var(--gold)}h1,h2,h3,p{margin-top:0}.hero h1{font-family:var(--serif);font-size:clamp(40px,4.6vw,64px);line-height:1.58;font-weight:500;letter-spacing:1px;margin:0 0 23px;white-space:nowrap}.handwritten{position:relative;color:#e3c681}.handwritten:after{content:'';position:absolute;bottom:-4px;left:-8px;width:1.3em;height:10px;border-top:2px solid #d6bd7f;transform:rotate(-9deg);border-radius:50%}.hero-description{font-size:15px;line-height:2.05;letter-spacing:1.2px;color:#ccd3c1;margin-bottom:36px}.hero-actions{display:flex;align-items:center;gap:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:16px 26px;border-radius:6px;font-size:15px;font-weight:500;letter-spacing:.6px;line-height:1.5;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button-red{background:var(--red);color:#fff9e9;box-shadow:0 5px 18px #0d302326}.button-red:hover{background:var(--red-hover)}.button svg{width:19px;height:19px}.text-button{display:flex;gap:11px;align-items:center;background:none;font-size:13px;letter-spacing:.6px;padding:12px 0;color:#e0dfc9}.text-button:hover{text-decoration:underline;text-underline-offset:5px}.play-circle{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:50%;font:14px var(--sans);padding-left:2px}.hero-footnote{display:flex;gap:10px;align-items:center;font-size:11px;color:#a9bda8;margin-top:29px;letter-spacing:.8px}.tiny-stars{font-size:22px;color:var(--gold)}.hero-art{height:510px;position:relative;margin-top:-42px;margin-left:35px}.art-orbit{position:absolute;border:1px solid #a8bc8d29;border-radius:50%;pointer-events:none}.orbit-one{width:440px;height:440px;left:5px;top:42px}.orbit-two{width:370px;height:490px;left:46px;top:10px;transform:rotate(29deg)}.back-postcard{position:absolute;left:80px;top:34px;width:298px;height:419px;background:#bd494b;transform:rotate(11deg);border:8px solid #b54346;box-shadow:0 10px 30px #06291c35}.back-postcard:before{content:'';position:absolute;inset:10px;border:1px solid #e2c29180}.main-postcard{position:absolute;left:57px;top:20px;width:300px;height:420px;background:#f2ead2;color:var(--green);transform:rotate(-7deg);box-shadow:0 20px 48px #082c2355;display:flex;flex-direction:column;align-items:center;padding:23px 19px 16px;border:1px solid #eddfb6;animation:card-float 7s ease-in-out infinite}.main-postcard:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.3;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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.2' filter='url(%23n)'/%3E%3C/svg%3E")}.postcard-eyebrow{font-size:8px;letter-spacing:3px;margin:0 0 10px;color:#a1824c}.postcard-title{font-family:Georgia,var(--serif);font-size:37px;text-align:center;line-height:1.05;margin:0;letter-spacing:-1px}.postcard-title em{font-size:45px;font-weight:400;letter-spacing:-1.8px}.postcard-tree{width:232px;height:269px;margin-top:-6px;flex:none}.postcard-bottom{font:10px var(--serif);letter-spacing:2px;margin:1px 0 0}.postcard-corner{position:absolute;width:32px;height:32px;border-color:#bca46d;border-style:solid;z-index:2}.corner-tl{top:12px;left:12px;border-width:1px 0 0 1px}.corner-br{bottom:12px;right:12px;border-width:0 1px 1px 0}.round-stamp{position:absolute;right:2px;top:48px;width:100px;height:100px;border:1px solid #d1b975;border-radius:50%;background:var(--green);color:#d1b975;transform:rotate(15deg);display:flex;flex-direction:column;align-items:center;justify-content:center;outline:1px dashed #d1b975;outline-offset:-7px}.round-stamp span{font-size:7px;letter-spacing:1.5px;line-height:1.5}.round-stamp strong{font:23px/.95 Georgia,serif;text-align:center;letter-spacing:2px;margin:5px 0}.art-note{position:absolute;background:#ded9ba;color:#345441;right:-14px;bottom:44px;width:184px;padding:18px 19px 17px;transform:rotate(8deg);box-shadow:0 8px 20px #06291c22}.art-note:before{content:'';position:absolute;top:-9px;left:58px;width:57px;height:21px;background:#d0b97c99;transform:rotate(-4deg)}.art-note>span{font:italic 20px Georgia,serif;color:#9f4a41}.art-note p{font:11px/1.9 var(--serif);margin:7px 0 0;letter-spacing:.5px}.art-note svg{position:absolute;width:28px;height:28px;right:13px;bottom:18px;color:#ad8249}.art-script{position:absolute;left:-5px;bottom:5px;font:italic 25px Georgia,serif;color:#b7c1a2;transform:rotate(-10deg)}.art-spark{position:absolute;color:#d7c181;font-family:Georgia,serif}.spark-one{left:0;top:15px;font-size:42px}.spark-two{right:-18px;top:220px;font-size:25px}.spark-three{left:7px;bottom:79px;font-size:31px}.hero-bottom{position:absolute;bottom:30px;left:62px;right:62px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #bac9a329;padding-top:23px;color:#a8bba5;font-size:10px;letter-spacing:1.5px}.hero-bottom>span:last-child{font-size:9px;letter-spacing:2px}.scroll-hint{display:flex;align-items:center;gap:11px}.scroll-hint i{width:8px;height:16px;border:1px solid #b5c0a5;border-radius:6px;position:relative}.scroll-hint i:after{content:'';width:2px;height:4px;background:#b5c0a5;position:absolute;top:3px;left:2px;animation:scroll-dot 2s infinite}.ribbon{height:49px;background:#b74648;display:flex;justify-content:space-around;align-items:center;gap:24px;overflow:hidden;white-space:nowrap;color:#f3dfc6;border-top:1px solid #d7867250;border-bottom:1px solid #6e1b2430}.ribbon span{font-size:10px;letter-spacing:2.6px}.ribbon svg{width:17px;height:17px;flex:none;opacity:.8}.maker{background:#f7f3e9;color:var(--ink);padding:95px 60px 100px}.section-heading{max-width:1176px;margin:0 auto 55px;text-align:center}.section-heading .eyebrow{justify-content:center;color:#977344;font-size:10px;letter-spacing:2.7px;margin-bottom:17px}.section-heading h2{font-family:var(--serif);font-size:35px;line-height:1.6;font-weight:500;letter-spacing:1px;margin-bottom:14px}.section-heading>p:last-child{font-size:13px;color:#7a8174;letter-spacing:.4px}.mobile-only{display:none}.maker-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:83px;max-width:1090px;margin:auto}.card-form{min-width:0}.form-block{padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid #b7bfa330}.block-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.block-heading>svg{width:20px;height:20px;color:#48705a}.block-heading h3{font-size:16px;font-weight:500;letter-spacing:.5px;margin:0}.block-heading>span{font-size:12px;color:#909586;margin-left:auto}.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field label{font-size:12px;color:#7b8175;display:block;margin-bottom:8px}.field input,textarea{border:1px solid #d7dccc;background:#fffdf7;color:#2a493c;border-radius:5px;padding:13px 15px;width:100%;font-size:14px;line-height:1.8;transition:border .2s}.field input:focus,textarea:focus{border-color:#748b68;outline:2px solid #c3c9a944;outline-offset:0}input::placeholder,textarea::placeholder{color:#acafa1}.field-help{font-size:12px;color:#8c9182;margin-top:-8px;margin-bottom:15px}.upload-zone{background:#eeeee3;border:1px dashed #bbc6b1;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:22px 12px;cursor:pointer;min-height:147px;transition:background .2s,border-color .2s}.upload-zone:hover,.upload-zone.dragging{background:#e5eadc;border-color:#6c8b67}.upload-zone:focus-within{outline:3px solid #d3b675;outline-offset:3px}.upload-plus{font-size:29px;color:#75916d;font-weight:300;line-height:1.1;margin-bottom:3px}.upload-zone strong{font-size:13px;letter-spacing:.2px;font-weight:400;color:#6a7e61}.upload-zone>span:last-of-type{font-size:10px;color:#9ba18e;letter-spacing:.2px}.upload-zone.full{min-height:56px;padding:12px}.upload-zone.full .upload-plus{display:none}.photo-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photo-list:not(:empty){margin-bottom:12px}.photo-item{height:136px;position:relative;border-radius:5px;overflow:hidden;background:#d8dece}.photo-item>img{width:100%;height:100%;object-fit:cover}.photo-controls{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(transparent,#143528bb);padding:16px 4px 5px;gap:7px}.photo-controls button{font-size:17px;line-height:1;background:#143f35b3;color:white;border-radius:3px;min-width:28px;min-height:28px;padding:4px}.photo-controls button:hover{background:#173d30}.photo-controls button:disabled{opacity:.3;cursor:default}.photo-controls button:last-child{margin-left:auto}.cover-tag{position:absolute;left:7px;top:7px;background:#f3e8c6e8;color:#395a43;font-size:9px;padding:2px 7px;border-radius:2px}.upload-status{font-size:12px;color:#926d45;margin:8px 0 0;min-height:0}.upload-status:empty{display:none}.message-wrap{position:relative}.message-wrap textarea{resize:vertical;min-height:155px;padding-bottom:29px}.message-wrap>span{position:absolute;bottom:14px;right:13px;font-size:10px;color:#9fa391}.wish-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}.wish-presets>span{font-size:10px;color:#999c8b;margin-right:3px}.wish-presets button{font-size:10px;line-height:1.6;border:1px solid #d7ddca;background:transparent;color:#7a896b;border-radius:3px;padding:4px 9px}.wish-presets button:hover{background:#e6ebda}.appearance-block{padding-bottom:23px}.appearance-block fieldset{border:0;padding:0;margin:0}.appearance-block legend{padding:0;margin-bottom:15px;font-size:14px;font-weight:500}.theme-options{display:flex;gap:10px}.theme-option{display:flex;gap:7px;align-items:center;position:relative;cursor:pointer;padding:8px 12px;border:1px solid #d7ddce;border-radius:4px;min-height:39px;font-size:11px;color:#748067;background:transparent}.theme-option:has(input:checked){border-color:#678362;background:#e9ecdf;color:#345338}.theme-option:has(input:focus-visible){outline:3px solid #d3b675;outline-offset:3px}.theme-option input{position:absolute;width:1px;height:1px;opacity:0}.theme-dot{width:17px;height:17px;border-radius:50%;display:inline-block}.evergreen{background:#153f35}.crimson{background:#782e3c}.midnight{background:#23334c}.music-field{display:flex;align-items:center;gap:12px;position:relative;margin-top:24px;font-size:12px;cursor:pointer;color:#6f7b64}.music-field small{display:block;font-size:10px;color:#9da18e;margin-top:2px}.music-field input{position:absolute;opacity:0;width:1px;height:1px}.switch{display:block;background:#b8c3ab;width:31px;height:18px;border-radius:20px;position:relative;transition:background .2s}.switch:before{content:'';position:absolute;width:12px;height:12px;left:3px;top:3px;background:#fffdf4;border-radius:50%;transition:transform .2s}.music-field input:checked+.switch{background:#637d59}.music-field input:checked+.switch:before{transform:translateX(13px)}.music-field input:focus-visible+.switch{outline:3px solid #d3b675;outline-offset:3px}.privacy-note{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#8e927e;line-height:1.8;margin:0 0 13px}.privacy-note svg{width:14px;height:14px;flex:none;margin-top:2px}.generate-button{width:100%;padding:17px 15px;font-size:14px}.form-error{font-size:12px;color:#b14745;line-height:1.7;margin:0 0 12px}.form-error:empty{display:none}.form-bottom-note{font-size:10px;color:#9da18f;text-align:center;margin:12px 0 0}.preview-column{position:sticky;top:30px;align-self:start}.preview-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#929780;margin:2px 0 16px}.preview-live{font-size:9px;color:#6b8660;display:flex;align-items:center;gap:6px}.preview-live i{width:5px;height:5px;border-radius:50%;background:#728d60}.mini-card{--stage-bg:#153f35;--stage-ink:#f2e9d1;position:relative;min-height:515px;background:var(--stage-bg);color:var(--stage-ink);border-radius:7px;padding:34px 30px 0;box-shadow:0 20px 35px #25483714;overflow:hidden;text-align:center}.mini-card:before{content:'';position:absolute;inset:13px;border:1px solid #d4bf8155;pointer-events:none;border-radius:3px}.mini-kicker{font-size:8px;letter-spacing:3px;color:#c8b47b;margin:0 0 21px}.mini-card h3{font:26px/1.5 var(--serif);font-weight:400;margin:0;word-break:break-word}.mini-visual{height:210px;margin:10px 0 17px;position:relative;overflow:hidden}.mini-visual>svg{width:100%;height:222px}.mini-visual>img{height:100%;max-width:100%;width:210px;object-fit:cover;border:7px solid #ede5cb;transform:rotate(-4deg);box-shadow:0 6px 16px #0002}.mini-card #preview-message{font:14px/1.9 var(--serif);margin:0 auto 23px;max-width:260px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;white-space:pre-line;word-break:break-word;min-height:53px;color:#e5ddc7}.mini-sign{font:italic 13px Georgia,var(--serif);margin:0 0 27px;color:#bfcca8;word-break:break-word}.mini-bottom{margin:0 -30px;background:#00000012;min-height:41px;display:flex;justify-content:center;align-items:center;gap:17px;font-size:8px;letter-spacing:2px;color:#c6b27e}.mini-bottom span{font-size:12px}.mini-spark{position:absolute;right:29px;top:65px;color:#cdb97e;font-size:25px}.preview-button{display:flex;align-items:center;justify-content:center;gap:10px;background:transparent;border:1px solid #bbc5ac;color:#5f7755;border-radius:4px;width:100%;padding:13px;margin-top:22px;font-size:12px}.preview-button:hover{background:#ecefe2}.preview-button .play-circle{width:19px;height:19px;font-size:11px}.preview-note{font-size:10px;color:#9da18c;text-align:center;margin-top:11px}.site-footer{display:flex;align-items:center;justify-content:space-between;max-width:1240px;margin:auto;padding:31px 30px;color:#b7c7aa;font-size:10px}.footer-brand{font-family:var(--serif);font-size:15px;color:#e3dfc5;letter-spacing:2px}.site-footer p{margin:0;letter-spacing:1px}.site-footer>span{font-size:8px;letter-spacing:2px}.toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,20px);border:1px solid #ffffff25;background:#203f34f5;box-shadow:0 6px 24px #0002;color:#fff5db;padding:12px 22px;border-radius:6px;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}

.share-dialog{border:1px solid #e2ddc9;color:var(--ink);background:#f9f5e9;border-radius:12px;width:calc(100% - 32px);max-width:490px;text-align:center;padding:42px 35px 26px;box-shadow:0 25px 100px #041d2a55}.share-dialog::backdrop{background:#092f28b3;backdrop-filter:blur(7px)}.dialog-close{position:absolute;top:12px;right:14px;font-size:24px;background:none;color:#87927b;line-height:1;padding:8px}.success-icon{position:relative;color:#a94443;margin:0 auto 22px;width:68px;height:60px;display:grid;place-items:center}.success-icon svg{width:53px;height:53px;transform:rotate(-8deg)}.success-icon>span{position:absolute;top:0;right:-3px;color:#b6995b;font-size:25px}.share-dialog .eyebrow{justify-content:center;font-size:9px;color:#aa8a50;margin-bottom:12px}.share-dialog h2{font:28px/1.6 var(--serif);margin:0 0 14px}.share-dialog>p:not(.eyebrow,.share-privacy,.form-error){font-size:12px;color:#8b927f;margin-bottom:25px}.share-dialog>label{display:block;font-size:10px;color:#89917c;text-align:left;margin-bottom:6px}.share-input{display:flex;width:100%;border:1px solid #d7ddc9;border-radius:5px;background:#fffdf5;overflow:hidden}.share-input input{flex:1;min-width:0;border:0;background:transparent;padding:12px;color:#6b805d;font-size:11px}.share-input button{flex:none;font-size:11px;padding:11px 15px;background:#e6ebd9;color:#5a754b}.share-actions{display:flex;gap:10px;margin-top:16px}.share-actions .button{flex:1;font-size:12px;padding:13px 8px}.button-outline{border:1px solid #bfc8af;background:transparent;color:#607650}.button-outline:hover{background:#e9eddf}.share-privacy{font-size:9px;line-height:1.8;color:#9ba18d;margin:18px 0}.delete-card{font-size:10px;color:#a98c79;background:none;text-decoration:underline;text-underline-offset:4px;padding:6px}.share-dialog .form-error{margin-top:13px;margin-bottom:0}

.story{--stage-bg:#153f35;--stage-ink:#f4ecd8;position:fixed;inset:0;z-index:20;background:var(--stage-bg);color:var(--stage-ink);isolation:isolate}.story[data-theme=crimson],.mini-card[data-theme=crimson]{--stage-bg:#782e3c}.story[data-theme=midnight],.mini-card[data-theme=midnight]{--stage-bg:#23334c}.story-toolbar{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:20px 30px;pointer-events:none;background:linear-gradient(#00000010,transparent)}.story-toolbar>*{pointer-events:auto}.story-toolbar>span{font-family:var(--serif);font-size:13px;letter-spacing:3px;position:absolute;left:50%;transform:translateX(-50%);color:#d5d7bd}.story-tool{display:flex;align-items:center;gap:8px;padding:8px;background:transparent;font-size:22px;color:#dfdfc8}.story-tool span{font:11px var(--sans);letter-spacing:.5px}.story-tool svg{width:17px;height:17px}.story-pages{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:none;outline:0}.story-pages::-webkit-scrollbar{display:none}.story-slide{min-height:100svh;height:100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:80px 32px 65px;text-align:center;position:relative;overflow:hidden;isolation:isolate}.story-slide:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 45%,#78976520,transparent 65%),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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.06' filter='url(%23n)'/%3E%3C/svg%3E")}.story-slide h1,.story-slide h2{font-family:var(--serif);font-weight:400;margin:0;line-height:1.65;overflow-wrap:anywhere}.story-slide h1{font-size:clamp(30px,4.5vw,49px);margin-bottom:20px}.story-slide h2{font-size:clamp(26px,3.6vw,39px)}.story-slide .eyebrow{font-size:10px;justify-content:center;color:#d6bd7f;margin-bottom:27px}.story-slide .story-intro{font-family:var(--serif);font-size:14px;letter-spacing:1px;line-height:2.2;color:#d4d7bf;margin:0 0 20px}.story-scroll{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);font-size:10px;color:#becbaa;letter-spacing:1px;display:flex;gap:10px;align-items:center;white-space:nowrap}.story-scroll i{display:block;width:5px;height:20px;border:1px solid currentColor;border-radius:4px;position:relative}.story-scroll i:after{position:absolute;content:'';background:currentColor;width:1px;height:4px;top:4px;left:1px;animation:scroll-dot 2s infinite}.envelope{width:min(310px,76vw);height:178px;position:relative;background:#e5d9b5;border-radius:4px;box-shadow:0 20px 45px #0003;margin:40px 0 36px;transform:rotate(-4deg);cursor:pointer;color:#8e4640}.envelope:before{content:'';position:absolute;inset:0;background:#eae0c2;clip-path:polygon(0 0,50% 64%,100% 0)}.envelope:after{content:'';position:absolute;inset:0;background:#eee5cb;clip-path:polygon(0 0,50% 61%,100% 0,100% 100%,0 100%)}.envelope-seal{position:absolute;z-index:1;left:calc(50% - 25px);top:71px;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#ad4247;color:#e9cb98;font-size:30px;box-shadow:0 2px 4px #6e20252a}.envelope-name{position:absolute;z-index:2;bottom:18px;right:22px;font:italic 15px Georgia,var(--serif);max-width:85%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.open-letter-button{border:1px solid #d4be8155;background:#fbf2d6;color:#35533b;padding:13px 34px;font-size:13px;letter-spacing:1px;border-radius:4px;box-shadow:0 5px 15px #0001}.open-letter-button:hover{background:#e7d7ab}.story-photo-frame{background:#f3ebd5;padding:11px 11px 33px;width:min(360px,73vw);height:min(48svh,440px);box-shadow:0 20px 40px #0003;transform:rotate(-4deg);position:relative;margin:0 0 28px;flex:none;transition:transform 1s}.story-photo-frame:nth-child(even){transform:rotate(3deg)}.story-photo-frame img{width:100%;height:100%;object-fit:cover}.story-photo-frame .photo-date{position:absolute;bottom:8px;left:0;right:0;font:italic 11px Georgia,serif;color:#9e7b56;letter-spacing:1.5px}.story-photo-caption{font:21px/1.8 var(--serif);margin:0;letter-spacing:1px;max-width:600px;white-space:pre-line}.story-photo-sub{font-size:11px;color:#bbc7ad;margin:14px 0 0;letter-spacing:1px}.story-wish .wish-star{font-size:44px;color:#dfc380;margin-bottom:25px;line-height:1}.story-wish .wish-recipient{font:22px var(--serif);color:#d9c58d;margin:0 0 24px;overflow-wrap:anywhere;max-width:100%}.story-message{max-width:590px;max-height:49svh;overflow:auto;white-space:pre-line;overflow-wrap:anywhere;font:clamp(16px,2.3vw,22px)/2.15 var(--serif);letter-spacing:.7px;margin:0;scrollbar-color:#b3be9c33 transparent}.wish-sign{font:italic 17px Georgia,var(--serif);color:#c5cdb0;margin:31px 0 0;overflow-wrap:anywhere;max-width:100%}.wish-sign small{display:block;font:9px var(--sans);letter-spacing:2px;color:#9db097;margin-top:10px}.story-final>.final-tree{width:160px;height:180px;margin-bottom:22px}.story-final h2{font:italic clamp(40px,6vw,69px)/1.2 Georgia,serif;letter-spacing:-1px;color:#e6d49c;margin:0 0 20px}.story-final .final-line{font:19px/1.9 var(--serif);letter-spacing:2px;margin:0 0 30px}.story-final .button{font-size:13px;padding:14px 26px;background:#f2e6c4;color:#2a4b39}.story-final .final-sub{font-size:10px;color:#afbea1;margin:17px 0 0}.story-final .story-share{background:none;color:#d5ceaa;text-decoration:underline;text-underline-offset:5px;padding:14px;font-size:11px}.story-progress{position:absolute;right:21px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:5}.story-progress button{padding:0;border-radius:50%;width:6px;height:6px;opacity:.35;background:#e1cf96;transition:opacity .3s,transform .3s;position:relative}.story-progress button:before{content:'';position:absolute;inset:-6px}.story-progress button.active{opacity:1;transform:scale(1.4)}.story-snow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.snowflake{position:absolute;top:-20px;left:var(--x);width:var(--size);height:var(--size);border-radius:50%;background:#f9efd8;opacity:0;animation:snowfall var(--duration) linear infinite;animation-delay:var(--delay)}.story-slide .reveal{opacity:0;transform:translateY(15px);transition:opacity .8s,transform .8s}.story-slide.in-view .reveal{opacity:1;transform:translateY(0)}.story-slide.in-view .reveal:nth-child(2){transition-delay:.12s}.story-slide.in-view .reveal:nth-child(3){transition-delay:.24s}.story-loading,.story-error{font-family:var(--serif);font-size:23px;line-height:1.8}.story-error a{font-family:var(--sans);font-size:13px;display:block;text-decoration:underline;text-underline-offset:5px;margin-top:20px}.demo-badge{position:absolute;bottom:18px;right:22px;opacity:.45;font-size:9px;letter-spacing:1px}.sending .generate-button svg{animation:spin 2s linear infinite}.hero-snow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.hero-snow .snowflake{background:#e4dfbe}

@keyframes card-float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-9px) rotate(-6deg)}}@keyframes scroll-dot{0%,100%{transform:translateY(0);opacity:.8}60%{transform:translateY(4px);opacity:.2}}@keyframes snowfall{0%{transform:translate3d(0,-15px,0);opacity:0}10%{opacity:.5}90%{opacity:.4}100%{transform:translate3d(35px,100svh,0);opacity:0}}@keyframes spin{to{transform:rotate(360deg)}}

@media(min-width:1450px){.hero{padding-top:80px;min-height:730px}.hero-art{margin-top:-35px;transform:scale(1.06);transform-origin:top left}}@media(max-width:1100px){.site-header{padding:0 38px}.hero{padding:50px 38px 100px;min-height:660px;grid-template-columns:1.08fr 1fr}.hero h1{font-size:48px}.hero-art{margin-left:7px;transform:scale(.88);transform-origin:top left}.hero-actions{gap:19px}.hero-actions .button{font-size:13px;padding:15px 19px}.hero-actions .text-button{font-size:11px;gap:7px}.hero-bottom{left:38px;right:38px}.header-caption{font-size:11px;letter-spacing:1px}.maker{padding:75px 38px}.maker-layout{grid-template-columns:minmax(0,1fr) 310px;gap:47px}.mini-card{padding-left:24px;padding-right:24px}.mini-bottom{margin-left:-24px;margin-right:-24px}.art-note{right:-50px}.site-footer>span{font-size:7px}.ribbon span{font-size:9px}}@media(max-width:850px){.site-header{height:90px;padding:0 26px}.header-caption{display:none}.hero{padding:31px 26px 80px;min-height:626px;grid-template-columns:1.15fr 1fr}.hero h1{font-size:39px}.hero-description{font-size:13px;margin-bottom:25px}.hero .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:22px}.hero-actions{flex-direction:column;gap:7px;align-items:flex-start}.hero-actions .button{font-size:13px}.hero-art{transform:scale(.73);margin-left:-11px;margin-top:-11px}.hero-footnote{max-width:270px;font-size:9px;line-height:1.9;margin-top:19px;align-items:flex-start}.hero-footnote .tiny-stars{font-size:19px;line-height:1}.hero-bottom{left:26px;right:26px;bottom:27px;font-size:9px}.hero-bottom>span:last-child{font-size:7px;letter-spacing:1px}.maker{padding:65px 26px}.maker-layout{grid-template-columns:minmax(0,1fr) 270px;gap:30px}.mini-card{padding:28px 20px 0;min-height:460px}.mini-card h3{font-size:22px}.mini-kicker{font-size:7px;letter-spacing:2px}.mini-visual{height:180px}.mini-visual>svg{height:190px}.mini-card #preview-message{font-size:12px}.mini-bottom{margin-left:-20px;margin-right:-20px}.mini-sign{font-size:11px}.theme-options{gap:6px}.theme-option{font-size:10px;padding:7px 8px;gap:5px}.theme-dot{width:13px;height:13px}.name-fields{gap:12px}.site-footer{padding:30px 26px}.site-footer>span{display:none}.ribbon{gap:28px;justify-content:flex-start;padding:0 25px}.ribbon span{font-size:9px;letter-spacing:2px}.section-heading h2{font-size:30px}.photo-item{height:110px}.block-heading h3{font-size:14px}.block-heading>svg{width:18px;height:18px}.upload-zone strong{font-size:11px}.upload-zone>span:last-of-type{font-size:9px}}

@media(max-width:650px){.site-header{height:84px;padding:0 24px}.brand{font-size:18px;letter-spacing:2px;gap:9px}.brand small{font-size:7px;letter-spacing:2.8px;margin-top:5px}.brand-mark{width:32px;height:36px}.brand-mark svg{width:29px;height:29px}.brand-mark:before,.brand-mark:after{width:31px;height:31px}.sound-toggle{font-size:11px;gap:7px}.sound-toggle svg{width:17px;height:17px}.hero{display:flex;flex-direction:column;padding:24px 24px 66px;min-height:940px;overflow:hidden}.hero-copy{text-align:center;z-index:1}.hero .eyebrow{justify-content:center;font-size:8px;letter-spacing:2.1px;gap:9px;margin-bottom:19px}.hero .eyebrow>span{width:16px}.hero h1{font-size:36px;line-height:1.55;letter-spacing:1px;margin-bottom:18px}.hero-description{font-size:12px;line-height:1.9;letter-spacing:1px;margin-bottom:24px}.hero-actions{flex-direction:row;align-items:center;justify-content:center;gap:15px}.hero-actions .button{padding:13px 17px;font-size:12px;gap:8px}.hero-actions .button svg{width:16px;height:16px}.hero-actions .text-button{font-size:10px;gap:7px}.hero-actions .play-circle{width:19px;height:19px;font-size:11px}.hero-footnote{font-size:8px;justify-content:center;max-width:100%;gap:6px;margin-top:17px;align-items:center;letter-spacing:.5px}.hero-footnote .tiny-stars{font-size:15px}.hero-art{flex:none;width:420px;height:465px;margin:45px 0 -53px;align-self:center;transform:scale(.82);transform-origin:top center;left:-6px}.main-postcard{left:55px}.back-postcard{left:75px}.round-stamp{right:2px}.art-note{right:2px;bottom:23px;width:170px}.art-script{left:0;bottom:10px;font-size:23px}.spark-one{top:9px}.hero-bottom{left:24px;right:24px;bottom:22px;padding-top:17px;gap:10px}.hero-bottom>span:first-child{font-size:8px;letter-spacing:.5px}.hero-bottom .scroll-hint{font-size:8px;letter-spacing:.6px}.hero-bottom>span:last-child{display:none}.ribbon{height:40px;gap:20px}.ribbon span{font-size:8px;letter-spacing:1.5px}.ribbon svg{width:13px;height:13px}.maker{padding:56px 23px 58px}.section-heading{margin-bottom:31px}.section-heading .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:16px}.section-heading h2{font-size:28px;line-height:1.6;margin-bottom:13px}.mobile-only{display:block}.section-heading>p:last-child{font-size:11px;max-width:280px;margin:0 auto;line-height:1.9}.maker-layout{display:flex;flex-direction:column;gap:36px}.card-form{display:flex;flex-direction:column}.form-block{margin-bottom:24px;padding-bottom:24px}.block-heading{margin-bottom:15px}.block-heading h3{font-size:14px;letter-spacing:.2px}.block-heading>span{font-size:10px}.name-fields{gap:13px}.field label{font-size:11px;margin-bottom:7px}.field input,textarea{font-size:13px;padding:12px}.field-help{font-size:10px;margin-bottom:14px}.upload-zone{min-height:133px}.upload-zone strong{font-size:12px}.upload-zone>span:last-of-type{font-size:9px}.photo-item{height:132px}.photo-list{gap:9px}.photo-controls button{min-width:25px;min-height:26px;font-size:15px}.photo-controls{gap:4px}.message-wrap textarea{min-height:153px;font-size:13px;padding:13px 13px 27px}.message-wrap>span{font-size:9px}.wish-presets{gap:7px}.wish-presets>span{font-size:9px}.wish-presets button{font-size:9px;padding:4px 8px}.appearance-block legend{font-size:13px}.theme-options{gap:9px}.theme-option{font-size:11px;padding:8px 11px;gap:7px}.theme-dot{width:16px;height:16px}.music-field{font-size:11px;margin-top:23px}.music-field small{font-size:9px}.privacy-note{font-size:9px;line-height:1.8}.generate-button{font-size:13px;padding:15px 13px}.form-bottom-note{font-size:9px}.preview-column{position:static;max-width:350px;width:100%;margin:0 auto}.preview-top{font-size:11px}.mini-card{min-height:495px;padding:29px 28px 0}.mini-card h3{font-size:26px}.mini-kicker{font-size:8px}.mini-visual{height:205px}.mini-visual>svg{height:218px}.mini-card #preview-message{font-size:14px}.mini-sign{font-size:12px}.mini-bottom{margin-left:-28px;margin-right:-28px}.preview-button{font-size:12px;margin-top:18px}.site-footer{display:flex;flex-direction:column;padding:30px 20px 32px;gap:12px}.footer-brand{font-size:16px}.site-footer p{font-size:9px}.story-toolbar{padding:13px 14px}.story-toolbar>span{font-size:11px;letter-spacing:2px}.story-tool{font-size:21px;padding:7px}.story-tool span{font-size:9px}.story-tool svg{width:16px;height:16px}.story-slide{padding:80px 25px 65px}.story-slide h1{font-size:30px;margin-bottom:15px}.story-slide .eyebrow{font-size:8px;letter-spacing:2.3px;margin-bottom:26px}.story-slide .story-intro{font-size:13px;line-height:2}.envelope{margin:31px 0 31px;height:165px;width:285px;max-width:82vw}.envelope-seal{top:65px}.open-letter-button{font-size:12px;padding:12px 29px}.story-photo-frame{width:min(305px,75vw);height:44svh;max-height:390px;padding:9px 9px 29px;margin-bottom:30px}.story-photo-caption{font-size:21px;line-height:1.9}.story-photo-sub{font-size:10px;margin-top:11px}.story-wish .wish-star{font-size:39px;margin-bottom:22px}.story-wish .wish-recipient{font-size:21px;margin-bottom:22px}.story-message{font-size:17px;line-height:2.1;max-height:48svh}.wish-sign{font-size:15px;margin-top:26px}.wish-sign small{font-size:8px;margin-top:10px}.story-final>.final-tree{width:145px;height:165px}.story-final h2{font-size:48px;line-height:1.12;margin-bottom:25px}.story-final .final-line{font-size:16px;line-height:1.9;letter-spacing:1px}.story-final .button{font-size:12px;padding:13px 22px}.story-final .final-sub{font-size:9px}.story-progress{right:13px;gap:12px}.story-progress button{width:5px;height:5px}.story-scroll{font-size:9px;bottom:23px}.demo-badge{font-size:8px;right:15px;bottom:15px}.share-dialog{padding:36px 25px 23px;border-radius:9px}.share-dialog h2{font-size:25px}.share-dialog>p:not(.eyebrow,.share-privacy,.form-error){font-size:11px;margin-bottom:23px}.share-actions .button{font-size:11px}.share-input input{font-size:10px;padding:11px 10px}.share-input button{font-size:10px;padding:11px 12px}.share-privacy{font-size:9px}.toast{font-size:12px;padding:11px 18px;bottom:25px}}

@media(max-width:365px){.hero h1{font-size:31px}.hero-actions{gap:9px}.hero-actions .button{font-size:11px;padding:13px 13px}.hero-actions .text-button{font-size:9px}.hero-art{transform:scale(.74);margin-bottom:-93px}.hero{min-height:885px}.hero-footnote{font-size:7px;letter-spacing:.3px}.theme-option{font-size:10px;padding:8px 9px}.maker{padding-left:19px;padding-right:19px}.photo-item{height:115px}.story-slide h1{font-size:27px}.story-message{font-size:15px}.story-photo-caption{font-size:19px}.story-final h2{font-size:41px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.snowflake{display:none}.story-slide .reveal{opacity:1;transform:none}}

/* The opening is a quiet nighttime scene; the letter editor appears on request. */
body{background:#070908}.site-header{position:absolute;inset:0 0 auto;max-width:none;height:90px;padding:0 45px;z-index:4}.brand{font-size:18px;color:#d6d0b9}.brand small{font-size:9px;letter-spacing:2.7px;color:#818276}.brand-mark{transform:scale(.8);margin-right:-3px}.site-header .sound-toggle{color:#9a9c8d;font-size:14px}.hero{position:relative;display:block;max-width:none;width:100%;min-height:800px;height:100svh;padding:0;overflow:hidden;margin:0;background:#070908;isolation:isolate}.hero:before{display:none}#magic-tree{position:absolute;inset:0;width:100%;height:100%;z-index:0;touch-action:none}.night-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#07090844,transparent 20%,transparent 60%,#07090888);z-index:1}.hero-copy{position:absolute;top:13%;left:20px;right:20px;z-index:2;text-align:center;pointer-events:none}.hero .eyebrow{justify-content:center;font-size:10px;font-weight:400;letter-spacing:4px;color:#a79972;margin:0 0 17px}.hero h1{font:400 29px/1.7 var(--serif);letter-spacing:3px;white-space:normal;margin:0 0 8px;color:#e5dfcc}.hero-description{font-size:13px;letter-spacing:2px;color:#7d8278;margin:0}.night-actions{position:absolute;bottom:38px;left:20px;right:20px;z-index:3;display:flex;flex-direction:column;align-items:center}.tree-actions{display:flex;gap:20px;align-items:center;justify-content:center;flex-wrap:wrap}.light-tree,.tree-interaction{padding:8px 0;background:none;color:#b7a478;font-size:14px;letter-spacing:1px;min-height:44px;transition:color .2s}.light-tree:hover,.tree-interaction:hover{color:#f5de9c}.light-tree span{font-size:19px;margin-right:5px}.tree-interaction{color:#8d927f}.light-tree.lit{color:#d6bf82}#tree-hint,#tree-music-hint{color:#777f73;font-size:12px;letter-spacing:.6px;text-align:center;margin:4px 0 0;line-height:1.7}#tree-music-hint{margin:3px 0 22px;color:#626b61}.night-create{font-size:14px;letter-spacing:2px;border:1px solid #b9a06788;color:#e6d8ae;background:#ad925617;padding:13px 34px;min-height:48px;border-radius:3px;box-shadow:0 0 28px #bfa56408}.night-create:hover{background:#b7a26528;border-color:#c7b174}.night-actions>.text-button{font-size:12px;color:#737e70;margin-top:5px;padding:12px;letter-spacing:1px;min-height:44px}.night-edition{position:absolute;left:35px;bottom:26px;z-index:2;letter-spacing:2.8px;font-size:10px;color:#535e51}.editing .site-footer{background:var(--green);max-width:none;padding-left:max(30px,calc((100vw - 1176px)/2));padding-right:max(30px,calc((100vw - 1176px)/2))}.story-memory-tree{height:min(43svh,340px);width:280px;max-width:70vw;margin:0 0 25px}.story-memory-tree svg{width:100%;height:100%}.story-owner-delete{font-size:12px;min-height:44px;background:none;color:#a6b394;margin-top:8px;padding:8px 14px;text-decoration:underline;text-underline-offset:4px}.ending-tree-block .music-field{margin-top:0;margin-bottom:20px}.ending-tree-block .field>label{margin-bottom:8px}.ending-tree-block .field-help{margin-top:9px;margin-bottom:0;line-height:1.8}.text-tree-page .eyebrow{margin-bottom:17px}.text-tree-page h2{font-size:24px;letter-spacing:1px;margin-bottom:19px}.word-tree{color:#e1c389;line-height:1.55;letter-spacing:.03em;font-family:var(--serif);text-shadow:0 0 12px #e1ba6c77;flex:none;position:relative}.word-tree-star{display:block;font-size:25px;line-height:1.2;margin-bottom:5px;color:#f7de9a;text-shadow:0 0 20px #e8be61}.text-tree-row{display:block;white-space:pre;text-align:center;line-height:1.65}.text-tree-row>span{display:inline-block;width:1em}.text-tree-row:nth-child(3n){color:#c9b47c}.text-tree-row:nth-child(4n){color:#ead4a3;text-shadow:0 0 10px #e5b86399}.word-tree-trunk{display:block;font-size:13px;line-height:1.4;letter-spacing:1px;margin-top:4px;color:#b89865}.text-tree-caption{font-size:12px;color:#afbc9e;margin:20px 0 0;line-height:1.8;letter-spacing:.5px}.tree-sentences{margin-top:12px;max-width:600px;color:#d7d9bf;font-size:16px;max-height:22svh;overflow:auto}.tree-sentences summary{font-size:14px;color:#bbc4a8;cursor:pointer;padding:7px;min-height:40px}.tree-sentences p{font-size:16px;white-space:pre-line;line-height:1.8;margin:8px 0 0}.text-tree-page:has(details[open]) .word-tree{display:none}

/* Comfortable text and touch targets across both desktop and phone layouts. */
.section-heading>p:last-child{font-size:16px}.block-heading h3{font-size:16px}.block-heading>span,.field-help,.upload-status,.form-bottom-note,.preview-note,.privacy-note,.preview-top,.preview-live,.share-privacy,.form-error,.site-footer p{font-size:12px}.field label,.appearance-block legend,.music-field,.theme-option,.wish-presets button,.preview-button,.share-dialog>label,.share-input button,.share-actions .button,.delete-card{font-size:14px}.field input,textarea{font-size:16px}.wish-presets>span,.music-field small,.upload-zone>span:last-of-type,.message-wrap>span,.cover-tag,.mini-kicker,.mini-bottom,.share-input input,.share-dialog>p:not(.eyebrow,.share-privacy,.form-error){font-size:12px}.upload-zone strong{font-size:14px}.generate-button,.button{font-size:15px;min-height:48px}.theme-option{min-height:44px}.theme-dot{width:17px;height:17px}.wish-presets button{min-height:38px}.photo-controls{gap:2px;padding:14px 2px 2px}.photo-controls button{font-size:12px;min-width:40px;min-height:40px;padding:3px}.photo-controls button:last-child{font-size:21px;min-width:32px}.photo-item{height:160px}.photo-list{grid-template-columns:repeat(2,1fr)}.mini-card #preview-message{font-size:16px}.mini-sign{font-size:14px}.mini-card{min-height:550px}.mini-bottom{letter-spacing:1.1px;gap:10px;min-height:45px}.mini-kicker{letter-spacing:1.5px}.preview-top{flex-wrap:wrap;gap:7px}.share-dialog>p:not(.eyebrow,.share-privacy,.form-error){font-size:14px}.share-input{flex-wrap:wrap}.share-input input{font-size:14px;min-height:46px}.share-input button{min-height:46px}.share-actions .button{font-size:14px}.share-privacy{font-size:12px}.delete-card{min-height:44px}.story-tool span,.story-scroll,.story-photo-sub,.story-final .final-sub{font-size:12px}.story-final .button,.story-final .story-share{font-size:14px;min-height:44px}.story-slide .eyebrow,.wish-sign small,.demo-badge{font-size:12px}.story-message{font-size:19px}.story-final .final-line{font-size:19px}.story-progress button{width:7px;height:7px}.story-progress button:before{inset:-9px}.story-photo-frame .photo-date{font-size:12px}.story-intro{font-size:16px!important}.story-tool{min-height:44px}.story-toolbar>span{font-size:14px}.text-tree-page .eyebrow{font-size:10px}.text-tree-caption{font-size:14px}

@media(max-width:850px){.maker-layout{gap:30px;grid-template-columns:minmax(0,1fr) 290px}.theme-options{flex-wrap:wrap}.wish-presets{gap:8px}.mini-card{padding-left:20px;padding-right:20px}.mini-card h3{font-size:24px}.mini-bottom{font-size:10px}.photo-controls button{min-width:33px}.photo-controls button:last-child{min-width:29px}.photo-item{height:150px}}
@media(max-width:650px){.site-header{height:80px;padding:0 20px}.brand{font-size:16px}.brand small{font-size:8px}.brand-mark{transform:scale(.76);margin-right:-5px}.site-header .sound-toggle{font-size:12px}.hero{min-height:820px;height:100svh;padding:0;display:block}.hero-copy{top:105px;left:18px;right:18px}.hero .eyebrow{font-size:8px;letter-spacing:2.3px;margin-bottom:13px}.hero h1{font-size:23px;line-height:1.8;letter-spacing:1px;margin-bottom:7px}.hero-description{font-size:12px;letter-spacing:1px;line-height:1.8}.night-actions{bottom:30px;left:17px;right:17px}.tree-actions{gap:0 16px;flex-wrap:wrap;max-width:360px}.light-tree,.tree-interaction{font-size:14px;letter-spacing:0;min-height:44px;padding:8px 0}.light-tree span{font-size:17px;margin-right:3px}#tree-hint{font-size:12px;max-width:340px;line-height:1.7;margin-top:4px}#tree-music-hint{font-size:12px;margin:5px 0 19px}.night-create{font-size:14px;padding:12px 30px;letter-spacing:1px}.night-actions>.text-button{font-size:12px;margin-top:6px}.night-edition{font-size:8px;letter-spacing:2px;bottom:13px;left:50%;transform:translateX(-50%);white-space:nowrap}.maker{padding:52px 22px 55px}.section-heading h2{font-size:27px}.section-heading>p:last-child{font-size:14px;max-width:320px;line-height:1.9}.maker-layout{display:flex;gap:35px}.field label,.appearance-block legend,.music-field,.theme-option,.wish-presets button{font-size:14px}.field input,textarea,.message-wrap textarea{font-size:16px;padding:12px}.message-wrap textarea{padding-bottom:32px}.message-wrap>span{font-size:12px}.field-help,.upload-status,.form-bottom-note,.privacy-note,.music-field small{font-size:12px}.block-heading h3{font-size:16px;line-height:1.7}.block-heading>span{font-size:12px}.block-heading{align-items:flex-start;gap:8px}.block-heading>svg{margin-top:3px}.theme-options{gap:8px}.theme-option{padding:8px 9px;gap:6px;min-height:44px;font-size:14px}.theme-dot{width:15px;height:15px}.wish-presets>span{width:100%;font-size:12px}.wish-presets button{font-size:14px;padding:6px 12px;min-height:40px}.music-field{gap:10px;line-height:1.7}.music-field small{font-size:12px}.switch{flex:none}.photo-list{grid-template-columns:repeat(2,1fr);gap:10px}.photo-item{height:165px}.photo-controls button{font-size:12px;min-height:44px;min-width:42px;padding:2px}.photo-controls button:last-child{font-size:22px;min-width:32px}.cover-tag{font-size:12px;padding:3px 8px}.upload-zone{min-height:150px}.upload-zone strong{font-size:14px}.upload-zone>span:last-of-type{font-size:12px;text-align:center}.generate-button{font-size:15px;padding:15px 12px;min-height:52px}.preview-column{max-width:350px}.preview-top,.preview-live{font-size:12px}.mini-card{min-height:555px;padding:30px 24px 0}.mini-kicker{font-size:12px;letter-spacing:1.7px}.mini-card h3{font-size:26px}.mini-visual{height:215px}.mini-visual>svg{height:227px}.mini-card #preview-message{font-size:16px}.mini-sign{font-size:14px}.mini-bottom{margin-left:-24px;margin-right:-24px;font-size:11px;letter-spacing:1.4px}.preview-button{font-size:14px;min-height:48px}.preview-note{font-size:12px}.site-footer p{font-size:12px;text-align:center}.story-slide h1{font-size:28px}.story-message{font-size:18px;line-height:2.05}.story-tool span{font-size:12px}.story-toolbar>span{font-size:12px;letter-spacing:1px}.story-slide .eyebrow{font-size:10px;letter-spacing:1.6px}.story-photo-sub{font-size:12px}.story-photo-caption{font-size:21px}.story-scroll{font-size:12px}.story-final .button,.story-final .story-share{font-size:14px}.story-final .final-sub{font-size:12px}.story-final .final-line{font-size:18px}.wish-sign small{font-size:10px}.story-photo-frame .photo-date{font-size:10px}.share-dialog>label,.share-input input,.share-input button,.share-actions .button,.delete-card{font-size:14px}.share-privacy{font-size:12px}.share-dialog>p:not(.eyebrow,.share-privacy,.form-error){font-size:14px}.text-tree-page h2{font-size:22px}.text-tree-caption{font-size:12px}.tree-sentences{max-height:28svh}.tree-sentences summary{font-size:14px}.story-progress{right:12px}}
@media(max-width:365px){.hero h1{font-size:21px}.tree-actions{gap:0 11px}.light-tree,.tree-interaction{font-size:13px}.photo-controls button{min-width:36px}.photo-controls button:last-child{min-width:29px}.theme-option{font-size:13px}.story-message{font-size:16px}.hero .eyebrow{font-size:8px;letter-spacing:2px}}
.ending-mode-field{border:0;padding:0;margin:0 0 20px}.ending-mode-field legend{font-size:14px;margin-bottom:10px}.ending-mode-field .theme-options{flex-wrap:wrap}.ending-tree-block #photo-tree-help{margin:0;font-size:14px;line-height:1.8}.memory-letter-star{font:130px/1 Georgia,serif;color:#d1b676;text-shadow:0 0 35px #e7b86033;margin:30px 0 55px}.final-letter-star{font:75px/1 Georgia,serif;color:#d3bd86;margin:0 0 30px}.ending-tree-wrap{position:relative;width:min(820px,calc(100vw - 35px));height:48svh;min-height:240px;max-height:480px;flex:none;background:#080b09;border-radius:8px;margin:0 -15px;overflow:hidden}.ending-tree-canvas{display:block;width:100%;height:100%;touch-action:none}.ending-tree-controls{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;margin-top:13px}.ending-tree-controls button{font-size:14px;color:#e0d3aa;border:1px solid #b6a56c50;border-radius:4px;background:#091d1322;padding:8px 16px;min-height:44px}.ending-tree-controls button:hover{background:#d4bc7520}.text-tree-page h2{margin-bottom:13px}.text-tree-caption{max-width:620px;margin-top:10px;line-height:1.7}.text-tree-page .tree-sentences{margin-top:3px}.text-tree-page .story-scroll{display:none}.text-tree-page:has(details[open]) .ending-tree-wrap{display:none}.story-progress{z-index:6}.tree-sentences{width:100%}.tree-sentences summary{min-height:44px}.text-tree-page .eyebrow{margin-bottom:12px}.text-tree-page{padding-top:70px;padding-bottom:24px}.text-tree-page h2{font-size:24px}.story-share{position:relative;z-index:2}@media(max-width:650px){.ending-tree-wrap{height:47svh;min-height:230px;max-height:420px;width:calc(100vw - 26px)}.text-tree-page h2{font-size:20px}.ending-tree-controls{gap:9px;margin-top:10px}.ending-tree-controls button{font-size:14px;padding:8px 12px}.text-tree-caption{font-size:12px;margin-top:9px;max-width:340px}.tree-sentences summary{font-size:14px}.text-tree-page .tree-sentences{max-height:35svh}.text-tree-page .eyebrow{font-size:9px}.text-tree-page{padding-top:69px;padding-bottom:24px}}
/* Keep the whole opening and its primary action within a phone screen. */
.hero{min-height:620px;height:100svh;background:#030504}.hero-copy{top:86px}.hero .eyebrow{font-size:11px;margin-bottom:9px}.hero h1{font-size:27px;letter-spacing:2px}.hero-description{font-size:13px}#magic-tree{inset:0;width:100%;height:100%}.night-actions{bottom:20px}.night-edition{bottom:26px}.night-vignette{background:linear-gradient(#03050411,transparent 35%,transparent 75%,#03050433)}
@media(max-width:650px){.hero{min-height:650px;height:100svh}.hero-copy{top:88px}.hero h1{font-size:23px;letter-spacing:.4px}.hero .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:7px}.hero-description{font-size:12px}#magic-tree{inset:0;width:100%;height:100%}.night-actions{bottom:20px}.tree-actions{gap:0 15px}.night-edition{display:none}#tree-music-hint{margin-bottom:12px}.night-actions>.text-button{margin-top:2px}.night-create{min-height:48px}}
.text-tree-page{background:#030504}.text-tree-page:before{background:none}.ending-tree-wrap{border-radius:0}
@media(max-height:700px){.hero-copy{top:88px}.hero .eyebrow{display:none}.hero h1{line-height:1.4}.hero-description{margin-top:5px}}
/* Language and music remain reachable throughout creation. */
.header-controls{position:fixed;right:28px;top:15px;display:flex;align-items:center;gap:18px;padding:5px 12px;border:1px solid #ad92562b;border-radius:6px;background:#070c0beb;backdrop-filter:blur(12px);z-index:10}.language-control select{font:14px var(--sans);min-height:40px;padding:7px 27px 7px 9px;color:#e5d5b2;background:#101712;border:1px solid #aa925d66;border-radius:4px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23d6bd7f'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.language-control option{color:#eee;background:#15261d}.header-controls .sound-toggle{padding:4px;min-height:40px}.card-language-note{font-size:14px;line-height:1.8;margin-bottom:28px;color:#637263}.story-toolbar{display:grid;grid-template-columns:1fr auto 1fr;gap:12px}.story-toolbar #close-story{grid-column:1;grid-row:1;justify-self:start}.story-language{grid-column:2;grid-row:1;justify-self:center}.story-toolbar>.sound-toggle{grid-column:3;grid-row:1;justify-self:end}.story-toolbar>#story-label{display:none}.story-cover h1,.story-intro{white-space:pre-line}.photo-item{height:auto!important;overflow:hidden;border:1px solid #d8d4c3;background:#faf5e5;border-radius:5px}.photo-item>img{width:100%;height:180px;object-fit:cover;display:block}.photo-controls{position:static!important;background:#ebe4d1!important;display:flex;padding:3px!important}.photo-caption-editor{padding:12px;color:#294334}.photo-caption-editor label{display:flex;flex-direction:column;gap:7px;font-size:14px}.photo-caption-editor select{font-size:14px;min-height:44px;padding:8px 25px 8px 9px;color:#294334;border:1px solid #b7bfaa;border-radius:3px;background:#fffdf5}.photo-caption-editor textarea{margin-top:10px;padding:10px;font-size:16px;width:100%;min-height:84px}.share-dialog .share-music{color:#536b4b;margin:12px 0 0;padding:3px;min-height:44px}.story-photo-caption{white-space:pre-line}html[lang=en] .hero h1,html[lang=ko] .hero h1{font-size:clamp(21px,3vw,28px);letter-spacing:0}.hero-copy{max-width:720px;margin:auto}.tree-actions{max-width:95%}html[lang=en] .night-actions,html[lang=ja] .night-actions,html[lang=ko] .night-actions{bottom:12px}.night-actions>.text-button{padding:8px;min-height:38px}
@media(max-width:650px){.header-controls{right:12px;top:12px;gap:7px;padding:3px 7px}.language-control select{font-size:12px;padding-left:5px;max-width:85px}.header-controls .sound-toggle{font-size:12px}.hero-copy{top:96px}.hero h1{white-space:normal}.brand{font-size:15px;max-width:140px}.brand small{font-size:7px}.tree-actions{gap:0 12px}.tree-interaction,.light-tree{font-size:13px;letter-spacing:0;min-height:38px}#tree-hint,#tree-music-hint{font-size:12px;line-height:1.5}.night-create{font-size:14px;padding:9px 18px;min-height:44px}.story-toolbar{padding:10px 12px;gap:5px}.story-toolbar .story-tool span{max-width:80px;line-height:1.3;font-size:12px;text-align:left}.story-toolbar .sound-toggle{padding-left:3px}.story-language select{min-height:36px}.photo-item>img{height:155px}.photo-caption-editor{padding:9px}.photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}html[lang=en] .hero h1{font-size:24px;line-height:1.3}.hero .eyebrow{font-size:8px;letter-spacing:1.7px}.hero-description{font-size:12px;line-height:1.5;margin:auto;max-width:300px}}

@media(max-width:650px){.site-header .sound-toggle{white-space:normal;max-width:92px;line-height:1.35}.site-header .sound-toggle svg{flex-shrink:0}.site-header .sound-toggle span{max-width:64px;text-align:left}}
