@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--blue:#087acb;--deep:#124c9b;--sky:#dff5ff;--gold:#ffbd32;--pink:#ff7d9c;--ink:#173d75;--paper:#fffdf4;--green:#7dcc8a}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:'Nunito',sans-serif;color:var(--ink);background:linear-gradient(135deg,#c9edff 0%,#fff2c9 48%,#ffdce9 100%);position:relative}
button,input,select,textarea{font:inherit}button{cursor:pointer}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 22%,#fff9 0 5%,transparent 5.3%),radial-gradient(circle at 93% 77%,#fff9 0 7%,transparent 7.3%),radial-gradient(circle at 85% 10%,#fff7 0 3%,transparent 3.3%);z-index:0}
.sky-decor{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0;color:#e5a72d}.sky-decor span{position:absolute;font-size:clamp(20px,3vw,42px);animation:float 8s ease-in-out infinite}.sky-decor span:nth-child(1){left:6%;top:18%}.sky-decor span:nth-child(2){right:8%;top:18%;animation-delay:-2s}.sky-decor span:nth-child(3){left:1%;bottom:13%;font-size:90px;color:#fff9}.sky-decor span:nth-child(4){right:13%;bottom:10%;animation-delay:-3s}.sky-decor span:nth-child(5){right:-2%;top:44%;font-size:110px;color:#fff8}.sky-decor span:nth-child(6){left:20%;bottom:4%;animation-delay:-4s}.sky-decor span:nth-child(7){left:75%;top:5%;animation-delay:-1s}
@keyframes float{50%{transform:translateY(-14px) rotate(12deg)}}
.topbar{height:42px;position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(14px,4vw,58px);font-size:10px;letter-spacing:2px;font-weight:900;color:#8b6a29}.brand span{font-size:18px;color:#e8a72c;margin-right:8px}.top-actions{display:flex;align-items:center;gap:14px}.music-toggle{width:34px;height:34px;border-radius:50%;border:1px solid #e7b84c;background:#fff9;color:#a77a21;font-size:20px;box-shadow:0 3px 12px #a66c2420}
.reader{height:calc(100dvh - 68px);min-height:450px;position:relative;z-index:2;padding:8px clamp(8px,2vw,28px) 4px;display:flex;align-items:center;justify-content:center}
.progress-rail{position:absolute;top:4px;left:50%;transform:translateX(-50%);width:min(55vw,660px);height:5px;border-radius:8px;background:#ffffff9c;z-index:30;overflow:hidden}.progress-rail div{height:100%;width:0;background:linear-gradient(90deg,#1c9de8,#ffc33d,#ff799b);transition:width .6s ease}
.book-stage{position:relative;width:min(100%,1500px);height:100%;max-height:calc(100dvh - 92px);perspective:2400px;transform-style:preserve-3d}
.page{position:absolute;inset:0;display:none;overflow:hidden;border-radius:20px;background:var(--paper);box-shadow:0 22px 70px #325b8728,0 0 0 7px #fff9,0 0 0 8px #efc96f;transform-style:preserve-3d;backface-visibility:hidden}
.page.active{display:block;z-index:2}.page.turn-forward{display:block;z-index:5;transform-origin:left center;animation:pageForward 1.05s cubic-bezier(.55,.04,.2,1) forwards}.page.enter-forward{display:block;z-index:3;transform-origin:left center;animation:pageReveal 1.05s cubic-bezier(.2,.75,.2,1) both}.page.turn-backward{display:block;z-index:5;transform-origin:right center;animation:pageBackward 1.05s cubic-bezier(.55,.04,.2,1) forwards}.page.enter-backward{display:block;z-index:3;transform-origin:right center;animation:pageRevealBack 1.05s cubic-bezier(.2,.75,.2,1) both}
@keyframes pageForward{0%{transform:rotateY(0);filter:brightness(1)}45%{filter:brightness(.83);box-shadow:-20px 15px 35px #25476a40}100%{transform:rotateY(-178deg);filter:brightness(.94)}}
@keyframes pageReveal{0%{transform:rotateY(12deg);filter:brightness(.8)}100%{transform:rotateY(0);filter:brightness(1)}}
@keyframes pageBackward{0%{transform:rotateY(0)}100%{transform:rotateY(178deg)}}
@keyframes pageRevealBack{0%{transform:rotateY(-12deg);filter:brightness(.8)}100%{transform:rotateY(0);filter:brightness(1)}}
.page:before{content:"";position:absolute;inset:10px;border:1px solid #e8c875;border-radius:15px;pointer-events:none;z-index:10;opacity:.7}
.page-cover{background:linear-gradient(140deg,#b9e9ff,#fdf9e9 52%,#ffe2e9);display:none;align-items:center;justify-content:center}.page-cover.active{display:flex}.cover-book{border:0;background:none;padding:0;width:min(74vw,850px);height:min(80%,690px);filter:drop-shadow(0 24px 22px #28547b35);transition:transform .35s}.cover-book:hover{transform:translateY(-5px) scale(1.012)}.cover-book img{width:100%;height:100%;object-fit:contain}.cover-arrow{position:absolute;right:4.2%;top:50%;transform:translateY(-50%);width:62px;height:62px;border:4px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ffdc6a,#ffad28);color:#1557a4;font-size:30px;box-shadow:0 8px 20px #2d5c8538}.cover-hint{position:absolute;bottom:14px;margin:0;font-size:12px;font-weight:900;color:#4c78a5;letter-spacing:.5px}
.spread,.thank-spread{height:100%;display:grid;grid-template-columns:1fr 1fr;position:relative;background:linear-gradient(90deg,#fffdf3,#fffefa 49.7%,#e5d7b7 50%,#fffefa 50.4%,#fffdf2);padding:clamp(22px,4vw,58px) clamp(28px,5vw,72px);gap:0}
.spread:after,.thank-spread:after{content:"";position:absolute;left:50%;top:4%;bottom:4%;width:15px;transform:translateX(-50%);background:linear-gradient(90deg,#b7a47a20,#fff9,#9a83541c);border-radius:50%;pointer-events:none}
.spread-left,.spread-right{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(16px,3vw,42px);overflow:hidden}
.spread-left{border-radius:18px 0 0 18px}.spread-right{border-radius:0 18px 18px 0}
.page-name .spread{background:linear-gradient(110deg,#fff9e9,#fffef6 48%,#ffedc8 50%,#f4fbff 51%,#ccefff)}.name-left{align-items:flex-start}.cloud-label{display:inline-block;background:#fff;border:2px solid #f3d66c;border-radius:30px;padding:7px 17px;color:#e29b13;font-size:11px;letter-spacing:2px;font-weight:1000;box-shadow:0 5px 0 #ffeab0}.name-left h1,.welcome-copy h3,.adventure-copy h2,.invite-copy h2,.rsvp-story h2,.thank-left h2{font-family:'Baloo 2',cursive;font-size:clamp(34px,5vw,68px);line-height:.98;margin:20px 0 12px;color:#1557a2;font-weight:800}.name-left h1 em,.welcome-copy h3 em,.adventure-copy h2 em,.rsvp-story h2 em{color:#ed9c21;font-style:normal}.name-left p,.welcome-copy p,.adventure-copy p,.rsvp-story p{font-size:clamp(13px,1.25vw,18px);line-height:1.55;max-width:480px;color:#395b85;font-weight:700}.name-entry{width:min(100%,380px);margin:12px 0;background:#fff;border:2px solid #f4d990;border-radius:18px;padding:12px 16px;box-shadow:0 7px 0 #f9eac2}.name-entry label{display:block;font-size:10px;letter-spacing:2px;color:#b17a1e;font-weight:1000}.name-entry input{width:100%;border:0;border-bottom:2px dashed #e8c77d;padding:8px 2px;font-size:20px;outline:0;color:#174f92;background:transparent}.name-entry small{display:block;color:#bd8a34;margin-top:6px}.primary-action,.question-next,.secondary-action{border:0;border-radius:30px;background:linear-gradient(135deg,#ffdb58,#ffad24);color:#174b8d;font-weight:1000;padding:12px 23px;box-shadow:0 5px 0 #d98a16,0 10px 20px #b47b2d26}.primary-action{margin-top:10px;font-size:16px}.primary-action b{font-size:20px;margin-left:14px}
.name-right{align-items:center;justify-content:center;background:radial-gradient(circle,#fff 0 22%,#d5f2ff 23% 100%);border-radius:48% 45% 42% 40%;margin:10px}.mascot-large{height:78%;max-width:80%;object-fit:contain;filter:drop-shadow(0 10px 8px #244b7730);z-index:2}.sunburst{position:absolute;top:7%;left:10%;font-size:42px;color:#f6bc28}.balloon{position:absolute;font-size:clamp(32px,4vw,55px)}.balloon-a{top:7%;right:15%}.toy-car{position:absolute;bottom:8%;left:8%;font-size:55px}.teddy-sticker{position:absolute;bottom:8%;right:9%;font-size:48px}.bubble-note{position:absolute;top:15%;left:5%;background:#fff;border-radius:50%;padding:15px;text-align:center;color:#2473b6;font-size:12px;font-weight:1000;box-shadow:0 5px 15px #3478a32b}
.page-welcome .spread{background:linear-gradient(110deg,#fff4d7,#fffdf5 49.7%,#eadab8 50%,#f4fcff 50.5%,#d5f4ff)}.welcome-copy h2{font-family:'Baloo 2';font-size:clamp(23px,3vw,40px);color:#ec9b18;margin:22px 0 0}.welcome-copy h3{margin:5px 0 12px}.welcome-art{align-items:center;justify-content:center;background:radial-gradient(circle,#fff 0 40%,#d3f2ff 41%);border-radius:48%}.welcome-art img{height:88%;width:90%;object-fit:contain;object-position:center bottom;mix-blend-mode:multiply;border-radius:25px;filter:drop-shadow(0 10px 10px #365b7a20)}.speech-cloud{position:absolute;right:2%;top:5%;z-index:3;background:#fff;border-radius:50%;padding:17px 25px;text-align:center;font-family:'Baloo 2';font-size:17px;color:#1d5ca3;box-shadow:0 4px 0 #e9c45f;transform:rotate(5deg)}.speech-cloud strong{font-size:26px;color:#ec9c1d}.art-sticker{position:absolute;font-size:48px;z-index:4}.car-sticker{left:3%;bottom:10%}.bear-sticker{right:3%;bottom:8%}.sparkle{position:absolute;color:#ffb52a;font-size:36px}.s1{left:8%;top:10%}.s2{right:10%;top:35%}.sticker-row{display:flex;gap:18px;font-size:clamp(25px,3vw,42px);margin-top:20px}
.page-adventures .spread{background:linear-gradient(110deg,#eaffdc,#fffef1 49.7%,#e2d4b0 50%,#fff9e9 50.5%,#dcf5d7)}.adventure-copy{align-items:flex-start}.wood-sign{display:inline-block;background:linear-gradient(#ffdc7a,#d98b2c);border:5px solid #fff1bc;border-radius:18px;padding:13px 22px;box-shadow:0 7px 0 #b96d24;color:#8d3e18;font-family:'Baloo 2';font-size:clamp(24px,3vw,40px);font-weight:1000;line-height:.9;transform:rotate(-3deg);text-align:center}.adventure-copy h2{font-size:clamp(30px,4vw,55px);margin:25px 0 8px}.adventure-animals{font-size:clamp(30px,4vw,52px);display:flex;gap:18px;margin-top:20px}.adventure-caption{background:#fff;border-radius:30px;padding:9px 17px;color:#4b8b47;font-weight:1000;margin-top:14px}.memory-art{background:radial-gradient(circle,#fff 0 30%,#d7f1c2 31%);display:block}.memory-photo{position:absolute;margin:0;padding:7px 7px 25px;background:#fff;box-shadow:0 8px 16px #536e4b3a;width:37%;height:52%;border-radius:5px}.memory-photo img{width:100%;height:100%;object-fit:cover;border-radius:3px}.memory-photo figcaption{position:absolute;bottom:4px;left:3px;right:3px;text-align:center;font-family:'Baloo 2';font-size:clamp(9px,1vw,14px);color:#a35a21;font-weight:800}.memory-one{left:5%;top:7%;transform:rotate(-8deg)}.memory-two{right:6%;top:9%;transform:rotate(7deg)}.memory-three{left:31%;bottom:5%;width:40%;height:48%;transform:rotate(-2deg)}.monkey-sticker{position:absolute;right:2%;bottom:2%;font-size:52px}.memory-art .car-sticker{position:absolute;left:3%;bottom:4%;font-size:42px}
.page-invite .spread{background:linear-gradient(110deg,#dff6ff,#fffef2 49.7%,#e4d5b2 50%,#fff9e8 50.5%,#fff0c9)}.invite-art{align-items:center;background:radial-gradient(circle,#fff 0 30%,#c9f0ff 31%);border-radius:42%}.bunty-banner{position:absolute;top:4%;left:5%;z-index:3;background:#ffcb50;border:5px solid #fff2b5;border-radius:20px;padding:10px 20px;text-align:center;font-family:'Baloo 2';font-size:21px;color:#934b18;line-height:.9;transform:rotate(-5deg);box-shadow:0 5px 0 #d88c24}.bunty-banner strong{font-size:35px}.party-mascot-wrap{height:70%;width:85%;display:flex;align-items:center;justify-content:center}.party-mascot-wrap img{height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 10px 8px #245a8528)}.party-car,.party-cake,.party-animals,.balloon-cluster{position:absolute;font-size:clamp(27px,3vw,45px)}.party-car{left:2%;bottom:8%}.party-cake{right:4%;bottom:7%}.party-animals{left:20%;bottom:1%}.balloon-cluster{right:8%;top:8%}.invite-copy{align-items:center;text-align:center}.crown{font-size:35px;color:#e7a41d}.wood-sign.invite-sign{font-size:24px;padding:9px 22px;transform:rotate(2deg)}.wood-sign.invite-sign strong{font-size:38px}.invite-copy>p{margin:12px 0 0;font-weight:900;color:#3d6590}.invite-copy h2{font-size:clamp(26px,3.6vw,47px);margin:3px 0 9px;line-height:1}.one-badge{position:absolute;right:4%;top:35%;font-family:'Baloo 2';font-size:clamp(50px,7vw,90px);font-weight:1000;color:#fff;text-shadow:3px 4px 0 #1685d5,6px 8px 0 #f6bf3c;transform:rotate(8deg)}.invite-facts{width:82%;background:#fff8df;border:2px solid #f6cf6c;border-radius:17px;padding:10px 14px;display:grid;gap:7px;text-align:left;box-shadow:0 5px 0 #efd99e}.invite-facts div{display:flex;align-items:center;gap:10px;font-size:clamp(11px,1.1vw,15px);color:#254f80}.invite-facts span{font-size:19px}.map-link{display:inline-block;margin-top:10px;padding:8px 16px;background:#1688d0;color:#fff;border-radius:20px;text-decoration:none;font-size:12px;font-weight:1000}.countdown{display:flex;gap:8px;margin-top:9px}.countdown div{background:#fff;border:1px solid #f0cf77;border-radius:10px;min-width:48px;padding:4px 7px;display:flex;flex-direction:column}.countdown b{font-size:18px;color:#167bc0}.countdown small{font-size:8px;font-weight:1000;color:#a47829}
.page-rsvp .spread{background:linear-gradient(110deg,#ffe7ed,#fffaf1 49.7%,#e6d5b4 50%,#fffdf1 50.5%,#dff6ff)}.rsvp-story{align-items:flex-start}.rsvp-story h2{font-size:clamp(34px,4.7vw,62px)}.rsvp-illustration{display:flex;gap:20px;font-size:clamp(34px,4vw,55px);margin-top:25px}.rsvp-note{font-family:'Baloo 2';font-size:22px;color:#e68b20;margin-top:20px}.rsvp-form-side{justify-content:center;background:#fffdf4;border-radius:24px;margin:12px;box-shadow:0 6px 25px #987a3920;padding:clamp(12px,2vw,25px)}.rsvp-form{width:100%;max-width:470px;margin:auto}.question-progress{font-size:10px;letter-spacing:1.5px;font-weight:1000;color:#b17c26}.question-progress>div{height:6px;background:#f6e5b9;border-radius:8px;margin-top:8px;overflow:hidden}.question-progress i{display:block;height:100%;width:25%;background:linear-gradient(90deg,#18a3dc,#ffc23e);transition:width .3s}.question-step{display:none;padding:15px 0 0}.question-step.active{display:block;animation:questionIn .35s ease both}@keyframes questionIn{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:none}}.question-kicker{font-size:10px;letter-spacing:1.7px;color:#e49a1d;font-weight:1000}.question-step h3{font-family:'Baloo 2';font-size:clamp(23px,3vw,38px);line-height:1.03;color:#17569a;margin:8px 0 16px}.storybook-input{width:100%;border:2px solid #f0d58b;border-radius:13px;background:#fff;padding:12px 14px;color:#214f83;outline:0;font-size:16px}.storybook-input:focus,.name-entry input:focus{border-color:#3ba6dc}.question-help,.edit-hint{font-size:11px;color:#738aa4;line-height:1.4}.question-next{margin-top:13px;padding:10px 19px;font-size:13px}.answer-choices{display:grid;gap:8px}.answer-choices label{cursor:pointer}.answer-choices input{position:absolute;opacity:0}.answer-choices span{display:block;padding:11px 14px;border:2px solid #f0d58b;border-radius:13px;background:#fff;font-weight:900;font-size:13px}.answer-choices input:checked+span{background:#e4f6ff;border-color:#49aee2}.answer-choices b{float:right;color:#ed8e30}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.question-back{border:0;background:transparent;color:#4275a4;font-weight:900;padding:12px}.submit-rsvp{margin-left:auto}.form-message{color:#b42318;font-size:12px;min-height:18px}.form-message.error{background:#fff0ed;padding:7px;border-radius:8px}.hp-field{position:absolute!important;left:-9999px!important}.edit-hint{margin:5px 0 0}
.page-thanks{background:linear-gradient(120deg,#fff3ce,#fffefa 49.7%,#e7d8b8 50%,#f6fcff 50.5%,#d7f3ff)}.thank-spread{background:transparent}.thank-left{justify-content:center;display:flex;flex-direction:column;padding:clamp(20px,4vw,55px)}.thank-left h2{font-size:clamp(45px,6vw,80px);color:#1483c5;margin:20px 0 0}.thank-left>p{font-size:clamp(14px,1.5vw,20px);font-weight:800;color:#47688c}.thank-card{background:#fff;border:3px solid #f1ca63;border-radius:20px;padding:16px;text-align:center;max-width:390px;box-shadow:0 7px 0 #eed99f}.thank-card span,.thank-card small{display:block;font-size:10px;letter-spacing:2px;color:#b08025;font-weight:1000}.thank-card strong{display:block;font-family:'Baloo 2';font-size:28px;color:#15599f}.thank-script{font-family:'Baloo 2';font-size:20px!important;color:#df8e1c!important}.secondary-action{align-self:flex-start}.thank-right{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#fff 0 34%,#ccefff 35%);border-radius:50%}.thank-right img{height:78%;max-width:80%;object-fit:contain;filter:drop-shadow(0 10px 8px #28537b30)}.confetti-big{position:absolute;top:7%;font-size:30px;color:#f3b72f}.thank-toys{position:absolute;bottom:7%;font-size:32px}.thank-cloud{position:absolute;right:2%;top:20%;background:#fff;border-radius:50%;padding:15px;text-align:center;font-family:'Baloo 2';font-size:16px;color:#1678b8;box-shadow:0 5px 0 #f0ce75}.thank-cloud strong{font-size:24px;color:#ed9820}
.page-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:20;border:3px solid white;border-radius:50%;width:52px;height:52px;background:linear-gradient(135deg,#ffdf69,#ffae2c);color:#13599c;font-size:32px;line-height:1;box-shadow:0 7px 18px #365b7a38}.page-arrow.prev{left:13px}.page-arrow.next{right:13px}.page-count{position:absolute;right:25px;bottom:15px;z-index:12;color:#8c7b58;font-size:10px;letter-spacing:2px;font-weight:1000}.page-count i{color:#e5aa2c;font-style:normal}
.page-nav{position:relative;z-index:20;height:23px;display:flex;align-items:center;justify-content:center;gap:25px}.page-nav>button{border:0;background:#fff9;color:#165b9a;border-radius:50%;width:27px;height:27px;font-size:22px;line-height:1;box-shadow:0 2px 7px #315a7b20}.page-nav>button:disabled{opacity:.35}.page-dots{display:flex;gap:8px}.dot{width:8px;height:8px;border:0;border-radius:50%;background:#9bbbd1;padding:0}.dot.active{background:#f0ae2d;transform:scale(1.35)}footer{height:23px;position:relative;z-index:5;text-align:center;color:#6485a6;font-size:9px;letter-spacing:.5px}footer span{color:#e5ad2d;margin:0 5px}
@media(max-width:760px){
 html,body{height:100%;overflow:hidden}.topbar{height:35px;padding:0 12px;font-size:9px}.music-toggle{width:29px;height:29px}.reader{height:calc(100dvh - 61px);min-height:0;padding:7px 7px 2px}.book-stage{max-height:calc(100dvh - 80px)}.page{border-radius:13px;box-shadow:0 10px 30px #325b8728,0 0 0 4px #fff9,0 0 0 5px #efc96f}.page:before{inset:6px;border-radius:10px}
 .cover-book{width:96%;height:83%}.cover-arrow{right:3%;top:auto;bottom:9%;width:48px;height:48px;font-size:25px}.cover-hint{bottom:4px;font-size:10px;text-align:center;width:100%}
 .spread,.thank-spread{padding:16px 17px;grid-template-columns:1fr 1fr}.spread-left,.spread-right{padding:12px 11px}.spread:after,.thank-spread:after{width:8px}
 .cloud-label{font-size:8px;letter-spacing:1px;padding:5px 9px}.name-left h1,.welcome-copy h3,.adventure-copy h2,.invite-copy h2,.rsvp-story h2,.thank-left h2{font-size:clamp(23px,7vw,39px);margin:12px 0 7px}.name-left p,.welcome-copy p,.adventure-copy p,.rsvp-story p{font-size:11px;line-height:1.35}.name-entry{padding:8px 9px;margin:5px 0}.name-entry input{font-size:15px;padding:5px 0}.name-entry small{font-size:9px}.primary-action{font-size:12px;padding:9px 13px}.primary-action b{margin-left:5px}
 .mascot-large{height:68%;max-width:100%}.bubble-note{font-size:8px;padding:8px;top:13%}.toy-car{font-size:30px}.teddy-sticker{font-size:29px}.balloon-a{font-size:29px}.sunburst{font-size:24px}
 .welcome-copy h2{font-size:19px;margin-top:13px}.welcome-copy h3{font-size:27px}.welcome-art img{height:75%;width:100%;object-fit:cover;object-position:center;border-radius:14px}.speech-cloud{font-size:10px;padding:9px 12px}.speech-cloud strong{font-size:15px}.art-sticker{font-size:27px}.sticker-row{gap:8px;margin-top:9px}
 .wood-sign{font-size:19px;padding:8px 12px;border-width:3px}.adventure-copy h2{font-size:25px}.adventure-animals{font-size:25px;gap:5px;margin-top:9px}.adventure-caption{font-size:9px;padding:6px 9px;margin-top:8px}.memory-photo{padding:4px 4px 17px;width:42%;height:45%}.memory-photo figcaption{font-size:7px}.memory-three{width:44%;height:43%;left:28%}.monkey-sticker{font-size:28px}.memory-art .car-sticker{font-size:27px}
 .bunty-banner{font-size:12px;padding:6px 10px;border-width:3px}.bunty-banner strong{font-size:22px}.party-mascot-wrap{height:61%}.party-car,.party-cake,.party-animals,.balloon-cluster{font-size:23px}.invite-copy .crown{font-size:22px}.wood-sign.invite-sign{font-size:14px;padding:6px 10px;border-width:3px}.wood-sign.invite-sign strong{font-size:22px}.invite-copy>p{font-size:9px;margin-top:7px}.invite-copy h2{font-size:clamp(18px,5vw,28px)}.one-badge{font-size:44px;top:37%;right:0}.invite-facts{width:100%;padding:7px 7px;gap:4px}.invite-facts div{font-size:8px;gap:4px}.invite-facts span{font-size:13px}.map-link{font-size:9px;padding:6px 9px;margin-top:6px}.countdown{gap:3px;margin-top:5px}.countdown div{min-width:30px;padding:3px}.countdown b{font-size:12px}.countdown small{font-size:6px}
 .rsvp-story h2{font-size:clamp(23px,6vw,34px)}.rsvp-illustration{gap:6px;font-size:27px;margin-top:10px}.rsvp-note{font-size:14px;margin-top:10px}.rsvp-form-side{margin:4px;padding:8px;border-radius:12px}.question-progress{font-size:7px;letter-spacing:.7px}.question-progress>div{height:4px;margin-top:4px}.question-step{padding-top:8px}.question-kicker{font-size:7px;margin:4px 0}.question-step h3{font-size:clamp(17px,4.7vw,25px);margin:5px 0 9px}.storybook-input{font-size:13px;padding:8px 9px}.question-help,.edit-hint{font-size:8px;line-height:1.2}.question-next{font-size:10px;padding:7px 12px;margin-top:7px}.answer-choices{gap:5px}.answer-choices span{font-size:9px;padding:7px}.question-back{font-size:10px;padding:7px}.form-message{font-size:9px;min-height:12px}
 .thank-left{padding:12px}.thank-left h2{font-size:36px}.thank-left>p{font-size:11px}.thank-card{padding:9px;border-width:2px}.thank-card span,.thank-card small{font-size:7px;letter-spacing:1px}.thank-card strong{font-size:20px}.thank-script{font-size:13px!important}.secondary-action{font-size:10px;padding:8px 12px}.thank-right img{height:67%;max-width:95%}.thank-cloud{font-size:9px;padding:8px}.thank-cloud strong{font-size:15px}.thank-toys{font-size:20px}.confetti-big{font-size:18px}
 .page-arrow{width:36px;height:36px;font-size:25px;border-width:2px}.page-arrow.prev{left:6px}.page-arrow.next{right:6px}.page-count{font-size:7px;right:12px;bottom:7px}.page-nav{height:21px;gap:13px}.page-dots{gap:6px}.dot{width:6px;height:6px}footer{height:5px;font-size:7px}
}
@media(max-width:380px){.spread,.thank-spread{padding:12px 12px}.spread-left,.spread-right{padding:8px}.name-left h1{font-size:22px}.name-left p,.welcome-copy p,.adventure-copy p,.rsvp-story p{font-size:9px}.invite-copy h2{font-size:17px}.question-step h3{font-size:16px}.page-arrow{width:31px;height:31px}}
@media(max-height:650px) and (min-width:761px){.spread,.thank-spread{padding-top:14px;padding-bottom:14px}.spread-left,.spread-right{padding-top:10px;padding-bottom:10px}.name-left h1,.welcome-copy h3,.adventure-copy h2,.invite-copy h2,.rsvp-story h2,.thank-left h2{font-size:clamp(25px,4vw,46px);margin:8px 0}.mascot-large{height:70%}.question-step{padding-top:7px}.question-step h3{margin:5px 0 8px}.rsvp-form-side{padding:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* Cartoon-first artwork: illustrations float directly on the page, not in photo frames. */
.memory-photo{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.memory-photo img{object-fit:contain!important;border-radius:0!important;filter:drop-shadow(0 9px 9px #345d3928)}
.memory-photo figcaption{bottom:2%;left:4%;right:4%;background:#fffde8eF;border:1px solid #f4d16c;border-radius:20px;padding:4px 7px;width:max-content;max-width:92%;margin:auto;font-size:clamp(9px,1vw,13px)}
.memory-art{background:radial-gradient(ellipse at 50% 65%,#fff8d9 0 28%,#d7f1c2 29% 100%)}
/* Better touch targets and one-page-at-a-time mobile reading. */
@media(max-width:760px){
  .reader{padding:5px 5px 1px;height:calc(100dvh - 61px)}
  .book-stage{height:100%;max-height:calc(100dvh - 76px)}
  .page{border-radius:14px;box-shadow:0 8px 24px #325b8728,0 0 0 3px #fff9,0 0 0 4px #efc96f}
  .page:before{inset:5px;border-radius:10px}
  .spread,.thank-spread{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44% 56%;height:100%;padding:14px 13px 32px;gap:0}
  .spread:after,.thank-spread:after{display:none}
  .spread-left,.spread-right{border-radius:16px;padding:10px 13px;min-height:0;overflow:hidden}
  .page-name .spread{grid-template-rows:57% 43%}
  .name-left{justify-content:center;align-items:center;text-align:center}
  .name-left h1{font-size:clamp(27px,8vw,38px);margin:8px 0 5px}
  .name-left p,.welcome-copy p,.adventure-copy p,.rsvp-story p{font-size:clamp(12px,3.25vw,14px);line-height:1.28;margin:4px 0;max-width:100%}
  .name-entry{width:min(100%,340px);margin:7px 0;padding:7px 11px}
  .name-entry input{font-size:17px;padding:5px 0}
  .primary-action{margin-top:5px;padding:9px 17px;font-size:13px}
  .name-right{margin:0 12%;border-radius:45%;}
  .mascot-large{height:100%;max-width:100%;width:100%;object-fit:contain}
  .bubble-note{font-size:9px;padding:8px;top:3%;left:2%}
  .toy-car{font-size:27px;bottom:2%;left:3%}.teddy-sticker{font-size:25px;bottom:2%;right:3%}
  .page-welcome .spread{grid-template-rows:43% 57%}
  .welcome-copy{align-items:center;text-align:center;justify-content:center}
  .welcome-copy h2{font-size:clamp(20px,5vw,25px);margin:3px 0 0}
  .welcome-copy h3{font-size:clamp(27px,7vw,36px);margin:1px 0 5px}
  .sticker-row{margin-top:5px;gap:12px;font-size:25px}
  .welcome-art{border-radius:24px;background:radial-gradient(circle,#fff 0 35%,#bfeaff 36% 100%);margin:0 5px 5px}
  .welcome-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;border-radius:0;mix-blend-mode:normal}
  .speech-cloud{font-size:10px;padding:7px 10px;right:1%;top:1%}.speech-cloud strong{font-size:16px}
  .art-sticker{font-size:26px}.car-sticker{left:1%;bottom:2%}.bear-sticker{right:1%;bottom:2%}
  .page-adventures .spread{grid-template-rows:37% 63%}
  .adventure-copy{align-items:center;text-align:center;justify-content:center}
  .wood-sign{font-size:17px;padding:6px 13px;border-width:3px}
  .adventure-copy h2{font-size:clamp(25px,6.5vw,33px);margin:8px 0 4px}
  .adventure-animals{font-size:24px;margin-top:4px;gap:12px}
  .adventure-caption{font-size:10px;margin-top:5px;padding:5px 10px}
  .memory-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:2px;padding:5px 0 10px;background:radial-gradient(ellipse,#fff8d9 0 35%,#d7f1c2 36% 100%)}
  .memory-photo{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;transform:none!important;display:flex;align-items:center;justify-content:center;min-width:0}
  .memory-photo img{width:100%;height:82%;object-fit:contain!important}
  .memory-photo figcaption{font-size:clamp(7px,2vw,9px);bottom:0;white-space:normal;line-height:1.1}
  .memory-art .monkey-sticker,.memory-art .car-sticker{display:none}
  .page-invite .spread{grid-template-rows:34% 66%}
  .invite-art{margin:0 12%;border-radius:30px;background:radial-gradient(circle,#fff 0 34%,#bceaff 35% 100%)}
  .bunty-banner{font-size:10px;top:1%;left:1%;padding:5px 9px}.bunty-banner strong{font-size:19px}
  .party-mascot-wrap{height:100%;width:100%}.party-mascot-wrap img{height:100%;width:100%;object-fit:contain}
  .party-car,.party-cake,.party-animals,.balloon-cluster{font-size:19px}
  .invite-copy{justify-content:center;padding-top:5px}
  .invite-copy .crown{font-size:18px}.wood-sign.invite-sign{font-size:13px;padding:5px 14px}.wood-sign.invite-sign strong{font-size:21px}
  .invite-copy>p{font-size:11px;margin:5px 0 0}.invite-copy h2{font-size:clamp(23px,6vw,30px);margin:1px 0 5px;line-height:1}
  .one-badge{font-size:38px;top:23%;right:3%}
  .invite-facts{width:min(100%,360px);padding:7px 10px;gap:4px}.invite-facts div{font-size:clamp(10px,2.8vw,12px);gap:7px}.invite-facts span{font-size:15px}
  .map-link{font-size:10px;padding:7px 12px;margin-top:5px}.countdown{gap:5px;margin-top:5px}.countdown div{min-width:39px;padding:3px 6px}.countdown b{font-size:14px}.countdown small{font-size:7px}
  .page-rsvp .spread{grid-template-rows:29% 71%}
  .rsvp-story{align-items:center;text-align:center;justify-content:center}
  .rsvp-story h2{font-size:clamp(24px,6.5vw,32px);margin:5px 0}
  .rsvp-illustration{font-size:24px;margin-top:4px;gap:12px}.rsvp-note{font-size:12px;margin-top:2px}
  .rsvp-form-side{margin:0 2px 3px;padding:9px 12px;border-radius:17px;justify-content:center}
  .rsvp-form{max-width:420px}.question-progress{font-size:9px;letter-spacing:1px}.question-progress>div{height:5px;margin-top:5px}
  .question-step{padding-top:7px}.question-kicker{font-size:9px;margin:4px 0}.question-step h3{font-size:clamp(22px,6vw,28px);margin:5px 0 9px}
  .storybook-input{font-size:16px;padding:10px 12px}.question-help,.edit-hint{font-size:10px;line-height:1.25}
  .question-next{font-size:12px;padding:9px 16px;margin-top:8px}.answer-choices{gap:7px}.answer-choices span{font-size:12px;padding:10px 12px}
  .question-back{font-size:12px;padding:9px}.form-message{font-size:10px;min-height:13px}
  .thank-spread{grid-template-rows:56% 44%;padding-top:16px}
  .thank-left{padding:8px 12px;align-items:center;text-align:center;justify-content:center}
  .thank-left h2{font-size:clamp(34px,9vw,44px);margin:5px 0}.thank-left>p{font-size:12px;margin:4px 0}
  .thank-card{padding:8px 14px}.thank-card span,.thank-card small{font-size:8px}.thank-card strong{font-size:22px}.thank-script{font-size:14px!important;margin:5px 0!important}
  .secondary-action{align-self:center;font-size:12px;padding:8px 14px}
  .thank-right{margin:0 12%;border-radius:35px}.thank-right img{height:100%;width:100%;max-width:100%;object-fit:contain}
  .thank-cloud{font-size:9px;padding:8px;right:-5%;top:4%}.thank-cloud strong{font-size:15px}.thank-toys{font-size:18px;bottom:0}.confetti-big{font-size:17px;top:0}
  .page-arrow{width:42px;height:42px;font-size:27px;bottom:8px;top:auto;transform:none;border:3px solid #fff;box-shadow:0 4px 12px #345b8735}
  .page-arrow.prev{left:8px}.page-arrow.next{right:8px}
  .page-count{font-size:8px;right:50px;bottom:20px}
  .page-nav{height:21px;gap:16px}.page-dots{gap:7px}.dot{width:7px;height:7px}footer{height:5px;font-size:7px}
}
@media(max-width:380px){
 .spread,.thank-spread{padding-left:9px;padding-right:9px}
 .page-name .spread{grid-template-rows:59% 41%}
 .page-rsvp .spread{grid-template-rows:27% 73%}
 .question-step h3{font-size:21px}
 .invite-copy h2{font-size:22px}
}
@media(max-height:700px) and (max-width:760px){
 .spread,.thank-spread{padding-top:8px;padding-bottom:28px}
 .page-name .spread{grid-template-rows:60% 40%}
 .name-left h1{font-size:27px;margin:5px 0}
 .name-left p,.welcome-copy p,.adventure-copy p,.rsvp-story p{font-size:11px}
 .page-rsvp .spread{grid-template-rows:25% 75%}
 .question-step h3{font-size:20px;margin:3px 0 6px}
 .storybook-input{padding:8px 10px}
 .question-next{padding:7px 13px}
 .thank-spread{grid-template-rows:58% 42%}
}

/* Artwork presentation refinement: remove circular masks so Vyom's full cartoon illustrations remain visible. */
.name-right,
.welcome-art,
.invite-art,
.thank-right{
  background:transparent!important;
  border-radius:0!important;
  margin:0!important;
  overflow:visible!important;
}
.name-right{min-width:0}
.mascot-large,
.welcome-art img,
.party-mascot-wrap img,
.thank-right img{
  width:100%;
  max-width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:0!important;
  mix-blend-mode:normal;
}
.welcome-art,.invite-art,.thank-right{display:flex;align-items:center;justify-content:center}
.party-mascot-wrap{width:100%;height:100%;}
.memory-art{background:transparent!important}

@media(max-width:760px){
  .name-right,.welcome-art,.invite-art,.thank-right{
    width:100%;
    min-width:0;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    overflow:visible!important;
  }
  .mascot-large,.welcome-art img,.party-mascot-wrap img,.thank-right img{
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain!important;
    object-position:center center!important;
  }
  .welcome-art{min-height:0}
  .party-mascot-wrap{width:100%;height:100%;min-height:0}
  .memory-art{background:transparent!important}
}
