:root{--paper:#f5f2e8;--ink:#183e30;--forest:#173b2d;--leaf:#2d9b60;--lime:#ddeb83;--apple:#e75345;--cream:#fff4d3;--border:#294b3b;--sky:#b3e4e2;--font:Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f59e44;outline-offset:3px}button:disabled{opacity:.35;cursor:not-allowed}a{text-decoration:none;color:inherit}.screen{display:none}.screen.active{display:block}.topbar{height:76px;border-bottom:1.5px solid rgba(25,69,48,.18);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,70px);background:var(--paper)}.brand{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:900;letter-spacing:-.07em;white-space:nowrap}.brand-mark{font-size:35px;line-height:1;color:#e45346;transform:rotate(-15deg);display:inline-block}.brand-dot{color:#e75345}.topbar-right{display:flex;align-items:center;gap:19px}.edition,.prototype-pill{font-size:10px;font-weight:900;letter-spacing:.12em}.prototype-pill{border:1.5px solid var(--ink);border-radius:40px;padding:8px 12px;background:#e9edcb}.home-layout{min-height:min(800px,calc(100dvh - 120px));max-width:1500px;margin:0 auto;padding:30px clamp(20px,5vw,70px) 10px;display:grid;grid-template-columns:minmax(330px,.78fr) minmax(510px,1.22fr);align-items:center;gap:5vw}.home-copy{position:relative;padding:18px 0 25px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.15em;display:flex;align-items:center;gap:9px}.mini-sun{font-size:27px;color:#e45142}.home-copy h1{font-size:clamp(56px,5.5vw,103px);letter-spacing:-.09em;line-height:1.12;margin:35px 0 24px;color:#153d2f;font-weight:950}.home-copy h1 em,.setup-controls h2 em{font-style:normal;color:#e24d40;position:relative}.question-mark{font-size:.76em;vertical-align:top;color:#163e30}.lead{font-size:clamp(16px,1.42vw,21px);line-height:1.95;font-weight:650;letter-spacing:.02em}.how-it-works{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:800;margin:40px 0 25px}.number-badge{border:1.7px solid var(--ink);height:26px;width:26px;display:grid;place-items:center;border-radius:50%;font-size:10px}.arrow-dash{font-size:20px;padding:0 10px;color:#e45443}.home-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.btn{border:2px solid var(--ink);border-radius:999px;padding:15px 23px;font-weight:850;font-size:15px;line-height:1.15;display:inline-flex;justify-content:space-between;align-items:center;gap:26px;transition:transform .17s,box-shadow .17s,background .17s}.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(2px)}.btn span{font-size:21px;font-weight:500}.btn.primary{color:#fffef4;background:var(--forest);box-shadow:4px 5px 0 #d5de99}.btn.primary:hover{background:#265c43}.btn.secondary{color:var(--forest);background:#e8ecb0;box-shadow:3px 4px 0 #ced48a}.btn.text-button{border:0;background:none;padding:8px 0;box-shadow:none;font-size:13px}.small-caption{font-size:13px;opacity:.65;margin-top:25px}.tree-panel{width:100%;min-width:0;align-self:stretch;display:flex;align-items:center}.tree-sky{width:100%;max-width:770px;margin:auto;aspect-ratio:1.01;position:relative;background:var(--sky);border:2px solid var(--forest);overflow:hidden;border-radius:26px;box-shadow:8px 9px 0 var(--forest)}.tree-sky:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.25;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:13px 13px;mix-blend-mode:soft-light}.tree-floating-label{position:absolute;top:23px;left:26px;font-size:13px;font-weight:950;letter-spacing:.06em;line-height:1.05;z-index:3;transform:rotate(-5deg)}.tree-floating-label span{font-size:30px;margin-left:6px}.tree-count{position:absolute;right:22px;top:22px;border:1.5px solid var(--ink);border-radius:999px;padding:9px 15px;background:#f9f0cb;font-size:12px;font-weight:850;z-index:4;box-shadow:2px 3px 0 #184632}.tree-illustration{position:absolute;inset:5% 1% 1%}.tree-svg{display:block;width:100%;height:100%;overflow:visible}.ground-caption{position:absolute;bottom:19px;left:0;right:0;text-align:center;letter-spacing:.12em;font-size:10px;font-weight:850;z-index:4}.ground-caption span{color:#e15243;font-size:15px}.footer-note{max-width:1500px;padding:12px clamp(20px,5vw,70px) 22px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#587568;font-weight:800;letter-spacing:.06em;font-size:10px}.apple-nodes{position:absolute;inset:0;pointer-events:none}.tree-apple,.tree-add{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);background:transparent;border:0;color:var(--forest);padding:0;width:clamp(65px,9vw,108px);height:clamp(69px,9.5vw,112px);transition:transform .2s;filter:drop-shadow(2px 7px 0 rgba(17,57,39,.12))}.tree-apple:hover,.tree-add:hover{transform:translate(-50%,-55%) rotate(-6deg) scale(1.08)}.tree-apple svg{display:block;width:100%;height:100%}.tree-apple .apple-tooltip{position:absolute;white-space:nowrap;top:90%;left:50%;transform:translateX(-50%);background:#fff8dd;border:1.5px solid var(--forest);border-radius:30px;padding:4px 9px;font-size:10px;font-weight:800;opacity:0;pointer-events:none;box-shadow:1px 2px 0 var(--forest)}.tree-apple:focus-visible .apple-tooltip,.tree-apple:hover .apple-tooltip{opacity:1}.tree-add{border:2px dashed #fff6cb;width:76px;height:76px;border-radius:50%;background:#e3ef9e;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:3px 4px 0 #20523e;font-size:34px;font-weight:300}.tree-add small{font-size:9px;font-weight:900;line-height:1.3}.editor-top{height:73px;padding:0 clamp(20px,5vw,70px);display:flex;align-items:center;justify-content:space-between;border-bottom:1.5px solid rgba(25,69,48,.2)}.back-link{background:none;border:0;color:var(--forest);font-size:13px;font-weight:900;padding:12px 0}.editor-top-center{font-size:12px;font-weight:900;letter-spacing:.15em}.editor-top-center span{color:#e4584c}.editor-layout,.book-layout{max-width:1350px;margin:0 auto;padding:24px clamp(20px,5vw,70px) 42px;display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,4.5vw,70px);align-items:center;min-height:calc(100dvh - 154px)}.setup-art{border:2px solid var(--forest);border-radius:25px;background:#dfebaa;box-shadow:7px 8px 0 #234d38;min-height:540px;position:relative;overflow:hidden;display:grid;place-items:center}.setup-art:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 20px,rgba(255,255,255,.12) 21px);opacity:.4}.art-corner{position:absolute;color:#1f4b37;font-size:11px;letter-spacing:.13em;font-weight:900;line-height:1.2}.art-corner-top{top:24px;left:26px}.art-corner-bottom{bottom:24px;right:26px}.giant-apple{width:min(80%,380px);aspect-ratio:1;display:grid;place-items:center;animation:float 4s ease-in-out infinite}.giant-apple svg{width:100%;height:100%;filter:drop-shadow(14px 18px 0 rgba(39,91,53,.12))}@keyframes float{50%{transform:translateY(-9px) rotate(-1deg)}}.setup-controls{padding:12px 0;max-width:500px}.setup-controls h2,.book-section-heading h2{font-size:clamp(35px,3.6vw,59px);letter-spacing:-.07em;line-height:1.2;margin:17px 0 14px}.muted,.book-section-heading p{font-size:14px;line-height:1.75;opacity:.65;margin-bottom:26px}.field-label{display:block;font-size:12px;font-weight:900;margin:20px 0 9px;letter-spacing:.03em}.field-hint{font-size:11px;color:#809487;font-weight:500;margin-left:8px}.text-field{width:100%;border:1.8px solid #b5c3b4;border-radius:12px;background:#fffcf1;padding:13px 14px;font-size:15px;color:var(--ink);outline:0}.text-field:focus{border-color:var(--forest);box-shadow:0 0 0 2px #b4d7a2}.sticker-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sticker-option{min-width:42px;height:43px;border:1.5px solid #adc1ac;background:#fff9e3;border-radius:12px;padding:0 9px;display:flex;gap:5px;align-items:center;justify-content:center;transition:transform .1s}.sticker-option .emoji{font-size:23px}.sticker-option .sticker-label{font-size:11px;display:none}.sticker-option.active{background:#e5efab;border:2px solid var(--forest);box-shadow:2px 3px 0 #2f623f;transform:translateY(-1px)}.slice-picker-title{display:flex;align-items:end;justify-content:space-between;margin-top:17px}.slice-picker-title .field-label{margin-bottom:0}.slice-count-number{font-size:12px;color:#7c9787}.slice-count-number strong{color:var(--forest);font-size:34px}.slice-controls{display:flex;align-items:center;gap:14px;margin:8px 0 12px}.round-control{width:37px;height:37px;border:1.8px solid var(--forest);border-radius:50%;background:#fff9e7;font-size:25px;line-height:1;flex-shrink:0;color:var(--forest)}input[type=range]{width:100%;accent-color:#e45346;cursor:pointer;height:6px}.quick-numbers{display:flex;gap:8px}.quick-numbers button{background:transparent;border:1.5px solid #b1c3b3;border-radius:999px;padding:7px 14px;font-size:11px;font-weight:850;color:var(--forest)}.quick-numbers button.active{background:#dbe9a5;border-color:var(--forest)}.btn.wide{width:100%;margin-top:24px}.control-tip{font-size:11px;color:#829487;text-align:center;margin-top:14px}.book-layout{grid-template-columns:1.05fr .95fr;align-items:start}.book-side{min-width:0}.book-section-heading h2{font-size:clamp(35px,3.3vw,50px);margin:11px 0 5px}.book-section-heading h2 span{color:#de5344}.book-section-heading p{margin:0 0 9px}.book-scene{position:relative;display:flex;align-items:center;justify-content:center;min-height:450px;margin-top:5px;background:#b7e4dd;border:2px solid #31513e;border-radius:22px;overflow:hidden;box-shadow:5px 6px 0 var(--forest);touch-action:pan-y;user-select:none}.book-scene:before{content:'';position:absolute;width:440px;height:440px;background:#dbecb2;border-radius:50%;opacity:.8}.book-deco{position:absolute;font-size:45px;color:#e55e4a;z-index:1}.deco-left{top:20px;left:23px}.deco-right{bottom:16px;right:23px;color:#2f8e5a}.apple-book{position:relative;width:min(330px,85%);height:390px;z-index:2;perspective:1000px}.book-layer{position:absolute;inset:22px 15px 22px;transition:transform .35s ease,opacity .35s;filter:drop-shadow(8px 10px 0 rgba(28,64,43,.15))}.book-layer svg{width:100%;height:100%;display:block}.book-layer.back{transform:translate(13px,-7px) rotate(6deg) scale(.97);opacity:.9}.book-layer.back-two{transform:translate(24px,-13px) rotate(11deg) scale(.95);opacity:.68}.book-layer.front{z-index:3;animation:page-appear .45s cubic-bezier(.15,.8,.25,1) both}.book-layer.front.reverse{animation:page-back .4s ease both}@keyframes page-appear{from{transform:translateX(75px) rotateY(-44deg);opacity:.6}to{transform:translateX(0) rotateY(0);opacity:1}}@keyframes page-back{from{transform:translateX(-55px) rotateY(45deg);opacity:.5}to{transform:translateX(0) rotateY(0);opacity:1}}.slice-content{position:absolute;inset:70px 43px 64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#28442d;overflow:hidden}.slice-month{font-size:11px;letter-spacing:.14em;font-weight:900;background:#e7dfab;border:1px solid #577158;border-radius:100px;padding:5px 10px}.slice-photo{width:100%;height:138px;object-fit:cover;border:4px solid #fff9e1;border-radius:10px;box-shadow:2px 3px 0 #c9d49e;margin-top:6px}.slice-title{font-size:19px;font-weight:900;letter-spacing:-.04em;max-width:100%;overflow-wrap:anywhere}.slice-note{font-size:12px;line-height:1.55;max-height:85px;overflow:hidden;overflow-wrap:anywhere}.slice-sticker{position:absolute;top:55px;right:39px;font-size:31px;transform:rotate(14deg)}.slice-empty{font-size:13px;opacity:.54;line-height:1.7;max-width:180px}.book-pagination{display:flex;align-items:center;justify-content:center;gap:42px;margin:22px 0 8px}.book-nav{width:45px;height:45px;border:2px solid var(--forest);background:#fdf9e8;border-radius:50%;color:var(--forest);font-size:23px}.book-progress{display:flex;align-items:baseline;gap:8px}.book-progress strong{font-size:25px}.book-progress span{font-size:10px;font-weight:900;letter-spacing:.07em;color:#6c8878}.slice-dots{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin:15px auto 5px;max-width:270px}.slice-dot{padding:0;background:#cbd8b8;width:7px;height:7px;border:0;border-radius:50%}.slice-dot.active{background:#e25345;width:25px;border-radius:10px}.memory-panel{border:2px solid var(--forest);background:#fffae9;box-shadow:5px 6px 0 #d2dcaa;border-radius:23px;padding:clamp(23px,3vw,42px);margin-top:20px}.memory-panel-header{display:flex;align-items:center;justify-content:space-between;gap:5px}.panel-num{font-size:11px;letter-spacing:.15em;font-weight:900;color:#d85b4b}.small-link{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:11px;color:#496d51;font-weight:800;padding:8px 0}.memory-panel h3{font-size:35px;letter-spacing:-.075em;line-height:1.2;margin:17px 0 23px}.memory-panel .field-label{margin-top:16px}.textarea-field{resize:vertical;min-height:95px}.upload-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.upload-button{border:1.5px dashed #708c79;border-radius:10px;padding:12px 15px;background:#edf1d2;font-size:12px;font-weight:900;cursor:pointer}.photo-status{font-size:11px;color:#7a8b78;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticker-options.small .sticker-option{height:37px;min-width:40px;border-radius:10px}.sticker-options.small .emoji{font-size:20px}.memory-actions{margin-top:26px}.memory-actions .btn{width:100%;font-size:13px}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,25px);background:#183d30;color:#fff9df;max-width:min(440px,90vw);font-weight:700;font-size:13px;padding:14px 22px;border-radius:999px;opacity:0;z-index:100;pointer-events:none;transition:opacity .25s,transform .25s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:1000px){.home-layout{grid-template-columns:minmax(270px,.8fr) minmax(380px,1.2fr);gap:22px}.home-copy h1{font-size:clamp(51px,6vw,74px)}.lead{font-size:16px}.tree-sky{box-shadow:5px 6px 0 var(--forest)}.editor-layout,.book-layout{gap:25px}.setup-art{min-height:450px}.tree-apple{width:75px;height:80px}}
@media(max-width:760px){.topbar{height:60px;padding:0 19px}.brand{font-size:24px}.brand-mark{font-size:28px}.edition{font-size:9px}.prototype-pill{display:none}.home-layout{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-height:0;padding:14px 17px 25px}.home-copy{padding:10px 3px 0}.eyebrow{font-size:10px}.mini-sun{font-size:20px}.home-copy h1{font-size:clamp(50px,12vw,69px);margin:14px 0 12px;line-height:1.12}.lead{font-size:14px;line-height:1.75;margin:0}.desktop-break{display:none}.how-it-works{margin:18px 0 13px;font-size:11px}.number-badge{height:23px;width:23px}.arrow-dash{padding:0 3px}.home-actions{display:none}.small-caption{display:none}.tree-panel{display:block;margin:10px 0}.tree-sky{width:100%;aspect-ratio: .97;max-width:550px;border-radius:20px;margin:0 auto;box-shadow:5px 6px 0 var(--forest)}.tree-floating-label{font-size:9px;left:13px;top:16px}.tree-floating-label span{font-size:20px}.tree-count{font-size:10px;right:13px;top:13px;padding:6px 10px}.tree-illustration{inset:5% 0 1%}.ground-caption{font-size:7px;bottom:11px}.tree-apple{width:clamp(65px,18vw,87px);height:clamp(67px,19vw,90px)}.tree-add{width:60px;height:60px;font-size:26px}.tree-add small{font-size:8px}.footer-note{padding:8px 20px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:9px}.footer-note span:first-child{font-size:8px}.editor-top{height:55px;padding:0 18px}.back-link{font-size:12px}.editor-top-center{font-size:10px}.close-link{display:none}.editor-layout,.book-layout{display:flex;flex-direction:column;gap:16px;padding:18px 18px 42px;min-height:0}.setup-art{min-height:250px;width:100%;border-radius:19px;box-shadow:4px 5px 0 var(--forest)}.giant-apple{width:min(58%,240px)}.art-corner{font-size:9px}.art-corner-top{top:17px;left:18px}.art-corner-bottom{bottom:17px;right:18px}.setup-controls{width:100%;max-width:100%;padding:12px 0}.setup-controls h2{font-size:42px;margin:12px 0 9px}.muted{font-size:13px;margin:0 0 12px}.field-label{margin:15px 0 8px}.slice-picker-title{margin-top:10px}.slice-controls{margin:3px 0 10px}.quick-numbers button{padding:7px 12px}.setup-controls .btn.wide{margin-top:20px}.book-layout{gap:6px}.book-side{width:100%}.book-section-heading h2{font-size:36px}.book-section-heading p{font-size:12px;margin:0 0 12px}.book-scene{min-height:330px;border-radius:19px;margin:0;box-shadow:4px 5px 0 var(--forest)}.book-scene:before{height:320px;width:320px}.apple-book{height:295px;width:min(258px,77%)}.book-layer{inset:12px 8px 8px}.slice-content{inset:53px 33px 50px;gap:4px}.slice-month{font-size:9px;padding:4px 8px}.slice-title{font-size:16px}.slice-note{font-size:10px;max-height:60px}.slice-photo{height:100px;border-width:3px;margin-top:2px}.slice-sticker{top:41px;right:27px;font-size:26px}.slice-empty{font-size:11px}.book-deco{font-size:31px}.book-pagination{margin:17px 0 2px;gap:30px}.book-nav{width:42px;height:42px}.slice-dots{margin:10px auto 17px}.memory-panel{width:100%;margin-top:0;padding:23px;border-radius:20px}.memory-panel h3{font-size:31px;margin:10px 0 16px}.memory-panel .field-label{margin-top:13px}.memory-actions{margin-top:22px}}
@media(max-width:380px){.home-copy h1{font-size:49px}.tree-floating-label{font-size:8px}.home-layout{padding-left:13px;padding-right:13px}.editor-layout,.book-layout{padding-left:13px;padding-right:13px}.book-scene{min-height:306px}.apple-book{height:276px;width:242px}.slice-content{inset:52px 33px 45px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.fruit-sticker{position:absolute;left:51%;top:56%;transform:translate(-50%,-50%) rotate(-8deg);font-size:clamp(21px,2.5vw,30px);pointer-events:none;line-height:1}
@media(max-width:760px){.fruit-sticker{font-size:clamp(18px,5.5vw,26px)}}

.mobile-actions{display:none}.btn.outline{background:#fff8df;color:var(--forest);box-shadow:3px 4px 0 #c8d9b0}
@media(max-width:760px){.mobile-actions{display:flex;gap:9px;margin:6px 0 0}.mobile-actions .btn{flex:1;font-size:12px;padding:12px 13px;gap:4px}.mobile-actions .btn span{font-size:15px}}
