/*@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--ink:#472f35;--muted:#82686a;--coral:#df856f;--peach:#f4b99a;--cream:#fff7ed;--rose:#e8b4a9;--line:rgba(92,54,57,.14);--shadow:0 22px 65px rgba(110,62,56,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff9f3;color:var(--ink);font-family:'DM Sans',sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button,textarea{font:inherit}button{cursor:pointer}.ambient{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(80px);opacity:.4}.ambient-one{width:330px;height:330px;background:#f7c8ad;top:180px;left:-180px}.ambient-two{width:360px;height:360px;background:#e7b6ae;right:-210px;top:850px}
.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;max-width:1180px;padding:0 28px;margin:auto}.brand{display:flex;gap:10px;align-items:center;font-size:13px;letter-spacing:.02em}.brand b{font-weight:700}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border:1px solid #e8b6a8;border-radius:50%;color:#c96e65;font-size:21px}.topbar nav{display:flex;align-items:center;gap:28px;font-size:12px;color:#785d61}.topbar nav>a:hover{color:#c46d62}.music-button{border:1px solid #e9c8bb;border-radius:99px;background:#fffaf5;padding:10px 14px;color:#8f5c5b;font-size:12px}.music-button.playing{background:#5a3c42;color:#fff7ef;border-color:#5a3c42}
main{max-width:1120px;margin:auto;padding:0 28px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding:62px 0 84px;min-height:510px}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;color:#c17a6d;margin:0 0 15px}.sparkle{font-size:16px;margin-right:7px}.hero h1{font:500 clamp(46px,6vw,74px)/1.05 'Playfair Display',serif;letter-spacing:-.04em;margin:0 0 22px}.hero h1 em{color:#ce7e6c;font-weight:500}.hero-sub{font-size:14px;line-height:1.9;color:var(--muted);max-width:410px}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:28px}.primary-button{border:0;border-radius:99px;background:#593b42;color:#fff7ef;padding:14px 20px;font-size:12px;display:inline-flex;gap:20px;align-items:center;box-shadow:0 9px 22px #593b4224;transition:transform .2s,box-shadow .2s}.primary-button:hover{transform:translateY(-2px);box-shadow:0 13px 28px #593b4230}.text-button{border:0;background:transparent;color:#9c6a67;font-size:12px}.tiny-note{margin-top:36px;color:#b48a81;font:italic 13px 'Playfair Display',serif}
.hero-art{height:360px;position:relative;border-radius:48% 48% 25px 25px;overflow:hidden;background:linear-gradient(180deg,#f7c7b0 0%,#f3a58d 39%,#d77972 62%,#7d5b67 100%);box-shadow:var(--shadow)}.sun{position:absolute;width:122px;height:122px;border-radius:50%;background:#ffe4b7;top:63px;left:calc(50% - 61px);box-shadow:0 0 60px #ffe4b799}.sun-glow{position:absolute;top:150px;left:0;right:0;height:90px;background:linear-gradient(180deg,#f5a48d99,transparent)}.wave{position:absolute;left:-10%;width:120%;height:130px;border-radius:50% 50% 0 0}.wave-back{top:205px;background:#ba7a80;transform:rotate(-4deg)}.wave-front{top:248px;background:linear-gradient(180deg,#6f596a,#4b475d);transform:rotate(3deg)}.wave-front:before,.wave-back:before{content:"";position:absolute;left:8%;top:23px;width:34%;height:2px;background:#ffe0c1;border-radius:50%;box-shadow:150px 15px 0 #ffe0c177,280px -5px 0 #ffe0c1aa}.bird{position:absolute;color:#714e59;font-size:32px;transform:rotate(-15deg)}.bird-one{top:65px;right:22%}.bird-two{top:94px;right:14%;font-size:22px}.hero-sticker{position:absolute;bottom:25px;right:25px;border:1px solid #ffffff77;border-radius:50%;width:91px;height:91px;display:grid;align-content:center;text-align:center;color:#fff6ed;font:italic 15px 'Playfair Display',serif;transform:rotate(9deg);background:#ffffff12;backdrop-filter:blur(4px)}.hero-sticker span{font-size:11px}.art-star{position:absolute;color:#fff1d5}.star-a{top:40px;left:22%;font-size:18px}.star-b{top:128px;left:16%;font-size:23px}
.intro-row{display:flex;align-items:end;justify-content:space-between;padding:20px 0 24px;border-top:1px solid var(--line)}h2{font:500 38px/1.15 'Playfair Display',serif;letter-spacing:-.025em;margin:0 0 10px}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.page-count{display:flex;align-items:center;gap:11px;color:#c37b6d}.page-count span{font:500 42px 'Playfair Display',serif}.page-count small{font-size:9px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:#a9877f}
.chapter-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 18px}.chapter-tab{border:1px solid var(--line);border-radius:99px;padding:11px 15px;background:#fffaf5;color:#896c6d;font-size:11px;transition:.2s}.chapter-tab span{margin-right:6px}.chapter-tab:hover{transform:translateY(-2px);border-color:#dca394}.chapter-tab.active{background:#5b3c43;border-color:#5b3c43;color:#fff6ed}
.memory-panel{--theme-a:#f5c8ad;--theme-b:#d98177;position:relative;overflow:hidden;border:1px solid #e9d3c8;border-radius:23px;padding:30px;background:linear-gradient(130deg,#fffaf3 0%,var(--theme-a) 160%);box-shadow:var(--shadow);transition:background .4s}.memory-panel:before{content:"";position:absolute;right:-70px;top:-100px;width:270px;height:270px;border-radius:50%;border:1px solid #d38e7d35;box-shadow:0 0 0 25px #d38e7d0a,0 0 0 50px #d38e7d0a;pointer-events:none}.theme-beach{--theme-a:#f7d6bb;--theme-b:#d98177}.theme-sunrise{--theme-a:#f9d4a3;--theme-b:#d87f70}.theme-tigress{--theme-a:#e5c0a0;--theme-b:#a66b4f}.theme-leopard{--theme-a:#e8c9a7;--theme-b:#ae8c68}.theme-cheetah{--theme-a:#f5c6a0;--theme-b:#c97959}.theme-f1{--theme-a:#f1b4a0;--theme-b:#9f5e68}.panel-heading{display:flex;justify-content:space-between;gap:20px;position:relative;z-index:1;margin-bottom:24px}.panel-heading h3{font:500 32px 'Playfair Display',serif;margin:0 0 8px}.panel-heading p:not(.eyebrow){color:#876d6c;font-size:12px;line-height:1.7;margin:0;max-width:460px}.theme-doodle{font-size:25px;color:#b87c70;letter-spacing:5px;align-self:center;transform:rotate(-8deg);padding:18px;border:1px dashed #ca95866b;border-radius:50%}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;position:relative;z-index:1}.media-slot{position:relative;min-height:195px;border-radius:14px;border:1px dashed #d4aa9d;background:#fff9f2b8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px 10px;overflow:hidden;cursor:pointer;transition:transform .22s,border-color .22s,background .22s}.media-slot:hover{transform:translateY(-3px);border-color:#bd796d;background:#fffaf5}.media-slot input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:5}.slot-number{position:absolute;left:14px;top:13px;font-size:8px;letter-spacing:.15em;color:#b28a7e}.placeholder-icon{font-size:23px;color:#c57d6f;margin-bottom:7px}.media-slot strong{font-size:12px;font-weight:600}.media-slot small{font-size:10px;color:#a68b83;margin-top:6px}.media-slot img,.media-slot video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#493b44;z-index:2}.media-slot video{z-index:3}.media-slot.has-media .placeholder-icon,.media-slot.has-media strong,.media-slot.has-media small{display:none}.media-slot.has-media .slot-number{z-index:4;color:white;background:#4b343a9c;padding:5px 7px;border-radius:5px;left:9px;top:9px}.video-slot{grid-column:1/-1;min-height:170px;background:linear-gradient(110deg,#fff8ef,#f0c5b3)}.video-slot .placeholder-icon{border:1px solid #d7a295;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;padding-left:3px}.panel-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:18px;color:#a0837b;font-size:10px}.clear-button{border:0;background:transparent;color:#a06e68;font-size:10px;text-decoration:underline;text-underline-offset:3px}
.birthday-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center;padding:110px 5% 100px}.birthday-art{height:300px;position:relative;overflow:hidden;border-radius:150px 150px 20px 20px;background:linear-gradient(160deg,#f6d6ba,#e9a08c 55%,#976b78);display:flex;align-items:center;justify-content:center}.birthday-sun{width:125px;height:125px;border-radius:50%;background:#ffe7b8;box-shadow:0 0 65px #fff0ce99;position:absolute;top:45px}.birthday-art:after{content:"";position:absolute;bottom:-65px;left:-10%;width:120%;height:160px;background:#665064;border-radius:50% 50% 0 0}.birthday-spark{position:absolute;top:52px;left:22%;color:#fff3d8;font-size:24px}.birthday-heart{z-index:1;position:absolute;bottom:42px;right:26%;font-size:38px;color:#fff3e4}.birthday-ribbon{position:absolute;z-index:1;bottom:25px;left:23%;color:#fff5e9;font:italic 16px 'Playfair Display',serif;transform:rotate(-7deg)}.birthday-copy h2{font-size:43px}.note-label{display:block;margin:22px 0 8px;font-size:11px;color:#8f6b68}.birthday-copy textarea{width:100%;resize:vertical;border:1px solid #e5c9bd;border-radius:12px;padding:14px;background:#fffaf5;color:var(--ink);outline:none;font-size:12px;line-height:1.7}.birthday-copy textarea:focus{border-color:#c77e70;box-shadow:0 0 0 3px #e7b3a322}.note-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:13px}.note-actions .primary-button{font-size:11px;padding:12px 16px}.note-actions span{font-size:10px;color:#a1847d}
.howto{display:flex;gap:23px;padding:27px 30px;border:1px solid var(--line);border-radius:18px;background:#fffaf5b8;margin-bottom:70px}.howto-icon{width:40px;height:40px;flex:0 0 40px;border-radius:50%;display:grid;place-items:center;background:#f8e1d2;color:#ba786b;font-size:22px}.howto h2{font-size:27px}.howto p:not(.eyebrow){font-size:11px;line-height:1.9;color:#876e6b;max-width:850px}.howto code{background:#f4e5dc;padding:2px 5px;border-radius:4px;font-size:10px}.hosting-note{padding-top:8px;border-top:1px solid var(--line)}footer{max-width:1120px;margin:auto;padding:22px 28px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#a0837b}footer a{color:#a56e68}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#50373e;color:#fff7ef;padding:12px 18px;border-radius:99px;font-size:11px;box-shadow:var(--shadow);transition:.3s;z-index:20;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:900px){.media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.video-slot{min-height:185px}}@media(max-width:700px){.topbar{padding:0 18px;height:68px}.topbar nav{gap:12px}.topbar nav>a{display:none}.music-button{padding:9px 11px}.music-button span{display:none}main{padding:0 18px}.hero{grid-template-columns:1fr;gap:30px;padding:45px 0 60px}.hero-art{height:290px}.hero h1{font-size:57px}.intro-row{align-items:center}.intro-row h2{font-size:31px}.page-count span{font-size:32px}.chapter-tabs{gap:7px}.chapter-tab{padding:9px 12px}.memory-panel{padding:20px 14px}.panel-heading h3{font-size:28px}.theme-doodle{font-size:17px;padding:13px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.media-slot{min-height:155px}.video-slot{grid-column:1/-1;min-height:155px}.panel-footer{align-items:flex-start;flex-direction:column}.birthday-section{grid-template-columns:1fr;gap:32px;padding:75px 2%}.birthday-art{height:240px}.birthday-copy h2{font-size:37px}.howto{padding:20px 17px;gap:14px}.howto-icon{display:none}footer{padding:20px 18px}.hero-actions{gap:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root{--ink:#472f35;--muted:#82686a;--coral:#df856f;--peach:#f4b99a;--cream:#fff7ed;--rose:#e8b4a9;--line:rgba(92,54,57,.14);--shadow:0 22px 65px rgba(110,62,56,.10)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff9f3;color:var(--ink);font-family:'DM Sans',sans-serif;overflow-x:hidden;-webkit-text-size-adjust:100%}
a{color:inherit;text-decoration:none}
button,textarea{font:inherit}
button{cursor:pointer; -webkit-tap-highlight-color: transparent;}

.ambient{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(80px);opacity:.4}
.ambient-one{width:330px;height:330px;background:#f7c8ad;top:180px;left:-180px}
.ambient-two{width:360px;height:360px;background:#e7b6ae;right:-210px;top:850px}

.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;max-width:1180px;padding:0 28px;margin:auto}
.brand{display:flex;gap:10px;align-items:center;font-size:13px;letter-spacing:.02em}
.brand b{font-weight:700}
.brand-mark{display:grid;place-items:center;width:35px;height:35px;border:1px solid #e8b6a8;border-radius:50%;color:#c96e65;font-size:21px}
.topbar nav{display:flex;align-items:center;gap:28px;font-size:12px;color:#785d61}
.topbar nav>a:hover{color:#c46d62}
.music-button{border:1px solid #e9c8bb;border-radius:99px;background:#fffaf5;padding:10px 16px;color:#8f5c5b;font-size:12px;min-height:40px}
.music-button.playing{background:#5a3c42;color:#fff7ef;border-color:#5a3c42}

main{max-width:1120px;margin:auto;padding:0 28px}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding:62px 0 84px;min-height:510px}
.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;color:#c17a6d;margin:0 0 15px;display:flex;align-items:center;gap:6px}
.sparkle{font-size:16px}
.hero h1{font:500 clamp(40px,5vw,74px)/1.05 'Playfair Display',serif;letter-spacing:-.04em;margin:0 0 22px}
.hero h1 em{color:#ce7e6c;font-weight:500}
.hero-sub{font-size:14px;line-height:1.9;color:var(--muted);max-width:410px}
.hero-actions{display:flex;align-items:center;gap:23px;margin-top:28px;flex-wrap:wrap}
.primary-button{border:0;border-radius:99px;background:#593b42;color:#fff7ef;padding:14px 22px;font-size:12px;display:inline-flex;gap:20px;align-items:center;box-shadow:0 9px 22px #593b4224;transition:transform .2s,box-shadow .2s;min-height:44px}
.primary-button:hover{transform:translateY(-2px);box-shadow:0 13px 28px #593b4230}
.text-button{border:0;background:transparent;color:#9c6a67;font-size:12px;padding:10px 0}
.tiny-note{margin-top:36px;color:#b48a81;font:italic 13px 'Playfair Display',serif}

.hero-art{height:360px;position:relative;border-radius:48% 48% 25px 25px;overflow:hidden;background:linear-gradient(180deg,#f7c7b0 0%,#f3a58d 39%,#d77972 62%,#7d5b67 100%);box-shadow:var(--shadow)}
.sun{position:absolute;width:122px;height:122px;border-radius:50%;background:#ffe4b7;top:63px;left:calc(50% - 61px);box-shadow:0 0 60px #ffe4b799}
.sun-glow{position:absolute;top:150px;left:0;right:0;height:90px;background:linear-gradient(180deg,#f5a48d99,transparent)}
.wave{position:absolute;left:-10%;width:120%;height:130px;border-radius:50% 50% 0 0}
.wave-back{top:205px;background:#ba7a80;transform:rotate(-4deg)}
.wave-front{top:248px;background:linear-gradient(180deg,#6f596a,#4b475d);transform:rotate(3deg)}
.wave-front:before,.wave-back:before{content:"";position:absolute;left:8%;top:23px;width:34%;height:2px;background:#ffe0c1;border-radius:50%;box-shadow:150px 15px 0 #ffe0c177,280px -5px 0 #ffe0c1aa}
.bird{position:absolute;color:#714e59;font-size:32px;transform:rotate(-15deg)}
.bird-one{top:65px;right:22%}
.bird-two{top:94px;right:14%;font-size:22px}
.hero-sticker{position:absolute;bottom:25px;right:25px;border:1px solid #ffffff77;border-radius:50%;width:91px;height:91px;display:grid;align-content:center;text-align:center;color:#fff6ed;font:italic 15px 'Playfair Display',serif;transform:rotate(9deg);background:#ffffff12;backdrop-filter:blur(4px)}
.hero-sticker span{font-size:11px}
.art-star{position:absolute;color:#fff1d5}
.star-a{top:40px;left:22%;font-size:18px}
.star-b{top:128px;left:16%;font-size:23px}

.intro-row{display:flex;align-items:flex-end;justify-content:space-between;padding:20px 0 24px;border-top:1px solid var(--line);flex-wrap:wrap;gap:15px}
h2{font:500 38px/1.15 'Playfair Display',serif;letter-spacing:-.025em;margin:0 0 10px}
.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}
.page-count{display:flex;align-items:center;gap:11px;color:#c37b6d}
.page-count span{font:500 42px 'Playfair Display',serif}
.page-count small{font-size:9px;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:#a9877f}

.chapter-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 18px;-webkit-overflow-scrolling:touch}
.chapter-tab{border:1px solid var(--line);border-radius:99px;padding:11px 16px;background:#fffaf5;color:#896c6d;font-size:11px;transition:.2s;min-height:42px;display:inline-flex;align-items:center}
.chapter-tab span{margin-right:6px}
.chapter-tab:hover{transform:translateY(-2px);border-color:#dca394}
.chapter-tab.active{background:#5b3c43;border-color:#5b3c43;color:#fff6ed}

.memory-panel{position:relative;overflow:hidden;border:1px solid #e9d3c8;border-radius:23px;padding:30px;background:linear-gradient(130deg,#fffaf3 0%,#f5c8ad 160%);box-shadow:var(--shadow);transition:background .4s}
.memory-panel:before{content:"";position:absolute;right:-70px;top:-100px;width:270px;height:270px;border-radius:50%;border:1px solid #d38e7d35;box-shadow:0 0 0 25px #d38e7d0a,0 0 0 50px #d38e7d0a;pointer-events:none}
.theme-mountain{background:linear-gradient(130deg,#fffaf3 0%,#d8e5db 160%);border-color:#bcd0c3}
.theme-beach{background:linear-gradient(130deg,#fffaf3 0%,#f7d6bb 160%);border-color:#e5cbba}
.theme-tigress{background:linear-gradient(130deg,#fffaf3 0%,#ecd4be 160%);border-color:#d8b89d}
.theme-adventure{background:linear-gradient(130deg,#fffaf3 0%,#dbe7f5 160%);border-color:#bcd0e8}
.theme-special{background:linear-gradient(130deg,#fffaf3 0%,#f5dede 160%);border-color:#e5bcbc}
.theme-f1{background:linear-gradient(130deg,#fffaf3 0%,#f5cccc 160%);border-color:#e3a6a6}

.panel-heading{display:flex;justify-content:space-between;gap:20px;position:relative;z-index:1;margin-bottom:24px;flex-wrap:wrap}
.panel-heading h3{font:500 32px 'Playfair Display',serif;margin:0 0 8px}
.panel-heading p:not(.eyebrow){color:#876d6c;font-size:12px;line-height:1.7;margin:0;max-width:460px}
.theme-doodle{font-size:25px;color:#b87c70;letter-spacing:5px;align-self:center;transform:rotate(-8deg);padding:18px;border:1px dashed #ca95866b;border-radius:50%}

.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;position:relative;z-index:1}
.media-slot{position:relative;min-height:195px;border-radius:14px;border:1px solid #d4aa9d;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,0.03);transition:transform .22s,box-shadow .22s}
.media-slot.photo-slot{cursor:pointer;}
.media-slot.photo-slot:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(0,0,0,0.08)}
.slot-number{position:absolute;left:10px;top:10px;font-size:8px;letter-spacing:.15em;color:#fff;background:rgba(0,0,0,0.6);padding:5px 7px;border-radius:5px;z-index:10;backdrop-filter:blur(4px)}
.media-slot img,.media-slot video{width:100%;height:100%;object-fit:cover;min-height:195px;display:block}
.video-slot{grid-column:1/-1;min-height:185px;background:#000}
.video-slot video{width:100%;height:100%;object-fit:cover;max-height:280px}
.panel-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:18px;color:#a0837b;font-size:10px}

/* Lightbox Modal Styles */
.lightbox-modal{position:fixed;inset:0;background:rgba(0,0,0,0.9);display:flex;align-items:center;justify-content:center;z-index:2000;opacity:0;pointer-events:none;transition:opacity .3s ease;padding:20px}
.lightbox-modal.active{opacity:1;pointer-events:auto}
.lightbox-modal img{max-width:92vw;max-height:90vh;object-fit:contain;border-radius:12px;box-shadow:0 15px 50px rgba(0,0,0,0.6)}
.lightbox-close{position:absolute;top:20px;right:25px;background:rgba(255,255,255,0.2);color:#fff;border:none;font-size:32px;width:48px;height:48px;border-radius:50%;cursor:pointer;display:grid;place-items:center;transition:background .2s;z-index:2010}
.lightbox-close:hover{background:rgba(255,255,255,0.4)}

.birthday-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center;padding:110px 5% 100px}
.birthday-art{height:300px;position:relative;overflow:hidden;border-radius:150px 150px 20px 20px;background:linear-gradient(160deg,#f6d6ba,#e9a08c 55%,#976b78);display:flex;align-items:center;justify-content:center}
.birthday-sun{width:125px;height:125px;border-radius:50%;background:#ffe7b8;box-shadow:0 0 65px #fff0ce99;position:absolute;top:45px}
.birthday-art:after{content:"";position:absolute;bottom:-65px;left:-10%;width:120%;height:160px;background:#665064;border-radius:50% 50% 0 0}
.birthday-spark{position:absolute;top:52px;left:22%;color:#fff3d8;font-size:24px}
.birthday-heart{z-index:1;position:absolute;bottom:42px;right:26%;font-size:38px;color:#fff3e4}
.birthday-ribbon{position:absolute;z-index:1;bottom:25px;left:23%;color:#fff5e9;font:italic 16px 'Playfair Display',serif;transform:rotate(-7deg)}
.birthday-copy h2{font-size:43px}

footer{max-width:1120px;margin:auto;padding:22px 28px 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#a0837b;flex-wrap:wrap;gap:10px}
footer a{color:#a56e68}

.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#50373e;color:#fff7ef;padding:12px 18px;border-radius:99px;font-size:11px;box-shadow:var(--shadow);transition:.3s;z-index:20;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Mobile Responsive Adjustments */
@media(max-width:768px){
  .topbar{padding:0 18px;height:68px}
  .topbar nav{gap:12px}
  .topbar nav>a{display:none}
  .music-button{padding:9px 14px}
  main{padding:0 16px}
  .hero{grid-template-columns:1fr;gap:30px;padding:40px 0 50px;min-height:auto}
  .hero-art{height:280px}
  .hero h1{font-size:42px}
  .intro-row{align-items:flex-start}
  .intro-row h2{font-size:30px}
  .page-count span{font-size:32px}
  .chapter-tabs{gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px;scrollbar-width:none}
  .chapter-tabs::-webkit-scrollbar{display:none}
  .chapter-tab{flex:0 0 auto;padding:10px 14px}
  .memory-panel{padding:20px 16px}
  .panel-heading h3{font-size:26px}
  .theme-doodle{font-size:18px;padding:14px}
  .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .media-slot{min-height:160px}
  .media-slot img,.media-slot video{min-height:160px}
  .video-slot{grid-column:1/-1;min-height:165px}
  .birthday-section{grid-template-columns:1fr;gap:32px;padding:60px 0}
  .birthday-art{height:240px}
  .birthday-copy h2{font-size:34px}
  footer{padding:20px 18px}
}

@media(max-width:480px){
  .media-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important}
}