/* Birthday palette and experience; reference dashboard structure is preserved. */
:root{--bg:#10110f;--panel:#171915;--line:#31332b;--muted:#a1a496;--text:#f5f3e9;--accent:#e9bf79;--pink:var(--accent);--accent-rgb:233,191,121;--cake-light:#f8ead0;--cake-dark:#bc9d6b;--font:"Segoe UI",Arial,sans-serif}
body[data-theme=rose]{--accent:#f0a3b7;--accent-rgb:240,163,183;--cake-light:#fbe2e9;--cake-dark:#bb7b94}body[data-theme=lavender]{--accent:#c5b1f3;--accent-rgb:197,177,243;--cake-light:#ece3ff;--cake-dark:#9c82bc}
body{background:var(--bg)}.brand{font-size:31px;letter-spacing:-1.8px}.brand span{margin-left:3px;color:var(--accent);font-size:30px}.site-header{max-width:1500px;height:100px;padding:0 6.4%;border-bottom:1px solid #f4e9c610}.home-nav{display:flex;align-items:center;gap:45px;font-size:12px;color:#babdb0}.home-nav a:hover{color:var(--accent)}.header-note{font-size:11px;color:#929786;display:flex;gap:8px;align-items:center}.header-note i,.live-dot{width:5px;height:5px;display:inline-block;background:var(--accent);border-radius:50%}.birthday-layout{max-width:1500px;margin:auto;padding:57px 6.4% 62px;display:grid;grid-template-columns:1.02fr 1fr;gap:65px;align-items:center}.intro .eyebrow{font-size:9px;letter-spacing:1.9px;color:#b7baa9;margin-bottom:30px}.tiny-heart{color:var(--accent);font-size:17px}.intro h1{font-size:clamp(48px,5.25vw,81px);letter-spacing:-3.9px;line-height:1.08;font-weight:400}.intro h1 em{display:block;font-family:Georgia,"Times New Roman",serif;color:var(--accent);font-size:1.08em;font-weight:400;letter-spacing:-4px;margin-top:4px}.intro .lead{font-size:14px;line-height:1.95;color:#a9ac9e;margin:27px 0 30px}.button{border-radius:5px;font-size:13px;min-height:49px}.primary{color:#242317;background:var(--accent);box-shadow:none}.primary:hover:not(:disabled){background:var(--accent);box-shadow:0 5px 30px rgba(var(--accent-rgb),.15);filter:brightness(1.08)}.start-button{min-width:213px}.start-button span{font-size:22px}.hero-proof{display:flex;align-items:center;gap:12px;margin-top:23px}.proof-spark{width:32px;height:32px;display:grid;place-items:center;border:1px solid #494437;border-radius:50%;color:var(--accent);font-size:20px}.hero-proof p{font-size:10px;color:#b7b9ac;line-height:1.7}.hero-proof b{font-weight:400;color:#818775}.hero-index{display:flex;align-items:center;gap:13px;font-size:8px;letter-spacing:1.3px;color:#7a806f;margin-top:59px}.hero-index span:first-child{color:#b1b4a7}.hero-index i{height:1px;width:48px;background:#4c4e41}
.birthday-preview{position:relative;min-width:0;min-height:565px;border:1px solid #d2c29128;background:radial-gradient(ellipse at 50% 50%,rgba(var(--accent-rgb),.055),transparent 70%),#151710;border-radius:180px 180px 10px 10px;padding:35px 32px 21px;box-shadow:inset 0 0 75px #0002}.preview-topline{display:flex;align-items:center;justify-content:center;gap:20px;font-size:8px;letter-spacing:1.7px;color:#b7b9a4;margin-top:9px}.preview-topline>span:first-child{display:flex;gap:8px;align-items:center}.preview-topline>span:last-child{font-size:20px;color:var(--accent)}.preview-title{text-align:center;margin-top:22px;position:relative;z-index:1}.preview-title p{font-family:Georgia,serif;font-size:15px;font-style:italic;color:#b7b7a4}.preview-title h2{font-family:Georgia,serif;font-weight:400;font-size:56px;letter-spacing:-2px;line-height:1.2;color:#f0e5cc;margin-top:4px;overflow-wrap:anywhere}.preview-title h2 span{color:var(--accent)}.preview-wish{text-align:center;font-size:10px;color:#b0b39f;letter-spacing:.5px;line-height:1.8;margin-top:-8px}.preview-wish em{font-family:Georgia,serif;color:#d9d5c3;font-size:14px;letter-spacing:0}.preview-bottom{margin-top:24px;padding-top:17px;border-top:1px solid #d2c29120;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1.5px;color:#a6aa96}.preview-bottom>span:first-child{display:flex;align-items:center;gap:10px}.small-star{font-size:22px;color:var(--accent)}.preview-number{font-family:Georgia,serif;font-size:21px;color:#747961}.floating-note{position:absolute;right:-24px;top:53%;background:#25291f;border:1px solid #565b3d;border-radius:4px;transform:rotate(-8deg);padding:12px 16px;font-size:10px;color:#d4d9b9;box-shadow:0 7px 20px #0004}.floating-note span{color:var(--accent);margin-right:6px}
.cake-scene{position:relative;height:278px;width:100%;max-width:450px;margin:auto}.cake-halo{position:absolute;width:210px;height:210px;border:1px solid rgba(var(--accent-rgb),.12);border-radius:50%;left:50%;top:24px;transform:translateX(-50%)}.cake-halo:before,.cake-halo:after{content:"";position:absolute;border:1px solid rgba(var(--accent-rgb),.055);border-radius:50%;inset:-25px}.cake-halo:after{inset:-50px}.cake-object{position:absolute;width:270px;height:235px;left:50%;bottom:8px;transform:translateX(-50%);filter:drop-shadow(0 20px 18px #0005)}.cake-plate{position:absolute;bottom:6px;left:-10px;width:290px;height:51px;border-radius:50%;background:linear-gradient(110deg,#4c4e40,#92917a 48%,#3e4234);border-bottom:6px solid #30352a;box-shadow:0 5px 0 #0d100a}.cake-tier{position:absolute;left:50%;transform:translateX(-50%);border-radius:50% / 20%;background:linear-gradient(90deg,var(--cake-dark),var(--cake-light) 40%,var(--cake-dark));box-shadow:inset -15px -3px 25px #55431b20}.tier-bottom{width:244px;height:104px;bottom:30px}.tier-top{width:178px;height:83px;bottom:107px}.cake-tier:before{content:"";position:absolute;inset:0 0 auto;height:35%;border-radius:50%;background:var(--cake-light);box-shadow:inset 0 4px 8px #fff4}.icing{position:absolute;top:16px;left:0;right:0;height:28px;border-radius:0 0 50% 50%;background:linear-gradient(90deg,#fff1cd60,var(--cake-light),#fff1cd20)}.icing:before,.icing:after{content:"";position:absolute;width:17px;height:38px;top:4px;left:22px;border-radius:0 0 15px 15px;background:var(--cake-light)}.icing:after{left:auto;right:29px;height:27px}.tier-bottom .icing:before{left:54px;height:31px}.tier-bottom .icing:after{right:60px;height:38px}.cake-dots{position:absolute;bottom:14px;width:100%;text-align:center;color:#8d713a;opacity:.65;font-size:24px;line-height:1}.tier-top .cake-dots{bottom:12px;font-size:20px}.candles{position:absolute;bottom:172px;width:140px;left:65px;display:flex;justify-content:space-between;align-items:flex-end;height:60px}.candle{height:41px;width:8px;background:repeating-linear-gradient(25deg,#f4eccd 0 7px,#b49465 7px 10px);border-radius:3px;position:relative;box-shadow:inset -2px 0 #0002}.candle:nth-child(2),.candle:nth-child(4){height:53px}.candle:nth-child(3){height:60px}.flame{position:absolute;left:-2px;top:-24px;width:12px;height:23px;border-radius:60% 40% 50% 50%;background:radial-gradient(ellipse at 50% 80%,#fff8d9 0 20%,#ffd479 45%,#e48f39 80%);box-shadow:0 0 12px #fbc65daa,0 0 35px #fbc65d44;transform-origin:50% 100%;animation:flicker 1.6s ease-in-out infinite alternate}.candle:nth-child(2n) .flame{animation-delay:-.7s}.candles-out .flame{opacity:0;animation:none}.orbit-star{position:absolute;color:var(--accent);font-size:27px;animation:star-drift 5s ease-in-out infinite}.star-one{left:6%;top:31%}.star-two{right:7%;top:13%;font-size:16px;animation-delay:-2s}.star-three{right:10%;bottom:18%;font-size:21px}.confetti-mark{position:absolute;width:4px;height:12px;background:var(--accent);opacity:.45;transform:rotate(35deg)}.mark-one{left:15%;top:10%}.mark-two{right:22%;top:3%;transform:rotate(-30deg)}.mark-three{left:7%;bottom:24%;height:5px;width:5px;border-radius:50%}
.how-section{max-width:1308px;margin:0 auto;display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;border-top:1px solid #d2c29120;padding:35px 0 40px;gap:30px}.how-intro .eyebrow{font-size:8px;letter-spacing:1.3px;color:#8b907e;margin-bottom:12px}.how-intro h2{font-size:23px;font-weight:400;line-height:1.25;letter-spacing:-.4px}.how-intro h2 em{font-family:Georgia,serif;font-weight:400;color:#cac5ad}.how-section article{border-left:1px solid #d2c29120;padding-left:30px}.step-number{font-family:Georgia,serif;font-style:italic;color:var(--accent);font-size:17px}.how-section h3{font-size:12px;font-weight:500;margin:12px 0 8px}.how-section article p{font-size:11px;line-height:1.9;color:#929885}.home-footer{max-width:1500px;padding:22px 6.4%;font-size:10px;border-top:1px solid #d2c29120;align-items:center;color:#929885}.home-footer .brand{font-size:23px}.home-footer .brand span{font-size:24px}
.birthday-form h1{font-size:37px;line-height:1.2;letter-spacing:-1.8px;font-weight:400;margin-bottom:27px}.birthday-form h1 em{font-family:Georgia,serif;color:var(--accent)}.birthday-form .eyebrow{font-size:8px;margin-bottom:12px}.birthday-form .back-button{font-size:11px;margin-bottom:17px}.birthday-form label{font-size:11px;margin-bottom:7px;color:#d5d6c8}.birthday-form label>span{color:var(--accent)}.birthday-form label small{font-size:9px;font-weight:400;color:#8a907d;margin-left:5px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:15px}.field{background:#171a13;border:1px solid #424535;color:var(--text);padding:12px;font-size:13px;border-radius:5px}.field:focus{border-color:var(--accent);outline:1px solid var(--accent);outline-offset:1px}.field::placeholder{color:#7d8370}textarea.field{resize:vertical;width:100%;font:inherit;font-size:12px;line-height:1.8;min-height:112px}.field-hint{font-size:10px;line-height:1.6;color:#999f8b;margin:-5px 0 19px}.message-label{display:flex;justify-content:space-between;align-items:center;gap:10px}.message-label button{font-size:10px;color:var(--accent);padding:0 0 7px}.message-count{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#838b75;margin:5px 0 17px}.theme-picker{border:0;padding:0;margin:0;display:flex;gap:7px;flex-wrap:wrap}.theme-picker legend{font-size:11px;margin-bottom:9px}.theme-picker label{margin:0;position:relative;cursor:pointer}.theme-picker input{position:absolute;opacity:0;width:1px;height:1px}.theme-picker label>span{padding:8px 9px;border:1px solid #3a4030;display:flex;align-items:center;gap:6px;border-radius:4px;color:#b3baa4;font-size:10px}.theme-picker input:checked+span{border-color:var(--accent);color:var(--text);background:rgba(var(--accent-rgb),.08)}.theme-picker input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.swatch{width:9px;height:9px;border-radius:50%;display:inline-block}.gold{background:#e9bf79}.rose{background:#f0a3b7}.lavender{background:#c5b1f3}.create-button{width:100%;justify-content:space-between}.birthday-form .privacy-note{font-size:9px;color:#929a83;margin-top:12px}.birthday-form .form-error{margin:8px 0;min-height:18px;font-size:12px;color:#ffadac}.birthday-form~.birthday-preview{align-self:center}
.birthday-shared{background:radial-gradient(ellipse at 50% 15%,rgba(var(--accent-rgb),.045),transparent 60%),var(--bg)}.shared-header{max-width:1350px;margin:auto;height:95px;padding:0 6%}.shared-header .try-link{font-size:12px;color:#d5d9c7;border-color:#4a503b}.celebration-main{max-width:800px;margin:auto;padding:25px 24px 0;text-align:center}.gift-intro,.countdown-section{padding:25px 0 50px}.gift-intro .eyebrow,.countdown-section .eyebrow{justify-content:center;font-size:9px;letter-spacing:2px;margin-bottom:20px;color:#a8b094}.gift-intro h1,.countdown-section h1{font-size:clamp(32px,4.8vw,57px);font-weight:400;line-height:1.2;letter-spacing:-1.7px;overflow-wrap:anywhere}.gift-intro h1 em,.countdown-section h1 em{font-family:Georgia,serif;font-weight:400;color:var(--accent)}.gift-intro .lead,.countdown-section .lead{font-size:13px;color:#aeb59f;margin:13px 0 22px}.gift-intro .small-note{font-size:10px;color:#939d7f}.gift-art{width:220px;height:210px;position:relative;margin:25px auto;filter:drop-shadow(0 10px 45px rgba(var(--accent-rgb),.13))}.gift-box{position:absolute;bottom:10px;left:35px;width:150px;height:115px;background:linear-gradient(105deg,var(--accent),#8c7448);border-radius:2px 2px 8px 8px;transform:rotate(-4deg);box-shadow:inset -18px 0 #0001}.gift-box:after{content:"";position:absolute;width:25px;left:64px;height:100%;background:#faf0cd99}.gift-lid{position:absolute;z-index:1;bottom:112px;left:27px;width:166px;height:29px;border-radius:4px;background:var(--accent);transform:rotate(-4deg);box-shadow:0 5px 7px #0002}.gift-lid:after{content:"";position:absolute;left:72px;width:26px;height:100%;background:#faf0cd99}.gift-bow{position:absolute;left:65px;top:-24px;font:110px Georgia,serif;color:var(--accent);transform:rotate(-4deg)}.gift-art>span{position:absolute;right:-6px;top:15px;color:var(--accent);font-size:33px;animation:star-drift 4s infinite}.countdown-section .gift-art{transform:scale(.75);height:175px;margin:0 auto 20px}.countdown{display:flex;justify-content:center;align-items:flex-start;gap:17px;margin:25px 0}.countdown>div{min-width:58px}.countdown b{font-size:40px;font-weight:300;letter-spacing:-2px;color:var(--accent);font-variant-numeric:tabular-nums}.countdown span{display:block;color:#8e987b;font-size:10px}.countdown i{font-size:25px;font-style:normal;color:#657251;margin-top:7px}.countdown-note{font-size:11px;line-height:1.9;color:#a8b592}.celebration-top{display:flex;align-items:center;justify-content:center;gap:25px}.celebration-top .eyebrow{font-size:8px;letter-spacing:1.6px;margin:0;color:#a6ad95}.celebration-top button{font-size:10px;color:var(--accent)}.birthday-overline{font-family:Georgia,serif;font-style:italic;font-size:20px;color:#b9c0a6;margin-top:30px}.opened-gift h1{font-size:clamp(45px,8vw,86px);line-height:1.16;font-family:Georgia,serif;letter-spacing:-3px;font-weight:400;color:#f3ead4;overflow-wrap:anywhere;margin:8px auto 12px}.opened-gift h1 em{color:var(--accent)}.age-badge{display:inline-block;font-size:10px;color:var(--accent);border:1px solid rgba(var(--accent-rgb),.24);border-radius:30px;padding:5px 12px}.opened-gift .cake-scene{height:300px;margin-top:10px}.opened-gift .cake-object{transform:translateX(-50%) scale(1.1);bottom:20px}.wish-button{background:rgba(var(--accent-rgb),.06);color:var(--accent);border:1px solid rgba(var(--accent-rgb),.25);font-size:11px;gap:15px}.wish-status{font-family:Georgia,serif;font-style:italic;font-size:13px;color:#aab49a;margin:14px 0 35px}.wish-letter{max-width:570px;margin:0 auto;border:1px solid #424a33;background:#171b13;padding:38px 45px;position:relative;border-radius:5px}.letter-star{font-size:27px;color:var(--accent);display:block;margin-bottom:20px}.wish-letter .eyebrow{justify-content:center;font-size:8px;letter-spacing:2px;color:#899978;margin-bottom:20px}.personal-message{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Georgia,serif;font-size:21px;line-height:1.85;color:#e0e4d1}.letter-signature{margin-top:25px;font-size:12px}.letter-signature span{display:block;color:#8b987b;font-family:Georgia,serif;font-style:italic;margin-bottom:6px}.letter-signature strong{font-weight:500;color:var(--accent);overflow-wrap:anywhere}.celebrate-again{font-size:11px;color:var(--accent);margin:23px 0 38px}.share-card{background:#161a13;border-color:#363f2a;border-radius:7px;max-width:570px;padding:22px 25px}.share-heading h2{font-size:13px}.share-heading p{color:#919d7e;font-size:10px}.share-icon{color:var(--accent)}.copy-row input{background:#0e120b;border-color:#364129;color:#b1bda1}.copy-button{background:var(--accent);color:#242317}.copy-button:hover{background:var(--accent);filter:brightness(1.1)}.share-actions a,.share-actions button{color:#aab79a;font-size:10px}.shared-footer{font-size:10px;color:#8b987c;padding:35px 15px}.shared-footer span{color:var(--accent)}#confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:50}.motion-paused *, .motion-paused *:before,.motion-paused *:after{animation-play-state:paused!important}.toast{background:var(--accent);color:#242317}.admin-page{--accent:#e9bf79}.admin-page .scope-tabs button[aria-pressed=true]{background:var(--accent);color:#242317}.admin-page .metric:first-child .metric-value,.admin-page td a{color:var(--accent)}.admin-page .bar.visitors{background:var(--accent)}.admin-page .name-count{color:var(--accent);background:#30291d}.login-card{background:#171a13}.login-card .field{margin-top:8px}.form-error{color:#ffabab}.error-wrap .button{background:var(--accent)}
@keyframes flicker{0%,100%{transform:rotate(-5deg) scale(.95,1)}50%{transform:rotate(6deg) scale(1,.92)}}@keyframes star-drift{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(12deg)}}
@media(min-width:1500px){.how-section{max-width:1308px}.birthday-layout{padding-top:75px;padding-bottom:75px}.birthday-preview{min-height:610px}.birthday-preview .cake-scene{height:310px}}
@media(max-width:1499px){.how-section{margin-left:6.4%;margin-right:6.4%}}
@media(max-width:1050px){.birthday-layout{gap:35px;padding-top:40px}.intro h1{font-size:55px}.intro h1 em{letter-spacing:-3px}.birthday-preview{padding-left:20px;padding-right:20px;min-height:540px}.floating-note{right:-12px;font-size:9px;padding:10px}.hero-index{margin-top:40px;font-size:7px}.how-section{gap:20px}.how-section article{padding-left:20px}.home-nav{gap:25px}.birthday-form h1{font-size:32px}.theme-picker label>span{font-size:9px;padding:7px}.preview-title h2{font-size:50px}.birthday-preview .cake-object{transform:translateX(-50%) scale(.92)}}
@media(max-width:760px){.site-header{height:78px;padding:0 6%}.home-nav .header-note{display:none}.home-nav{font-size:11px}.birthday-layout{grid-template-columns:1fr;gap:42px;padding:36px 6% 35px}.intro h1{font-size:clamp(49px,10vw,72px);letter-spacing:-3px}.intro .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:25px}.intro .lead{font-size:13px;margin:23px 0 26px}.hero-proof{margin-top:21px}.hero-index{margin-top:30px}.birthday-preview{width:100%;max-width:480px;min-height:535px;margin:auto;padding:27px 25px 17px;border-radius:160px 160px 9px 9px}.preview-title{margin-top:20px}.preview-title h2{font-size:53px}.floating-note{right:-8px}.preview-bottom{margin-top:22px}.how-section{grid-template-columns:1fr 1fr;gap:27px 20px;padding-top:30px}.how-intro h2{font-size:26px}.how-section article{padding-left:17px}.how-section article:nth-child(3){border-left:0;padding-left:0}.how-section article p{font-size:10px}.how-section h3{font-size:12px}.home-footer{padding:20px 6%;gap:12px;font-size:9px;flex-wrap:wrap}.home-footer>span:nth-child(2){display:none}.home-footer span:last-child{margin-left:auto}.birthday-form h1{font-size:36px;letter-spacing:-1.5px}.birthday-form .eyebrow{font-size:8px}.birthday-form .back-button{margin-bottom:23px}.birthday-form label{font-size:11px}.birthday-form .field{font-size:14px;min-height:45px}.birthday-form textarea.field{font-size:13px}.theme-picker{gap:8px}.theme-picker label>span{font-size:10px;padding:9px}.field-hint{font-size:10px}.birthday-form .privacy-note{font-size:10px}.birthday-form~.birthday-preview{margin-top:0}.shared-header{height:78px;padding:0 6%}.shared-header .brand{font-size:27px}.shared-header .try-link{font-size:11px}.celebration-main{padding:15px 17px 0}.gift-intro h1,.countdown-section h1{font-size:36px;letter-spacing:-1px}.gift-intro .eyebrow,.countdown-section .eyebrow{font-size:8px;letter-spacing:1.4px}.gift-art{margin-top:20px}.gift-intro{padding-bottom:35px}.birthday-overline{font-size:17px;margin-top:26px}.opened-gift h1{font-size:55px;letter-spacing:-2px}.opened-gift .cake-scene{height:280px}.opened-gift .cake-object{transform:translateX(-50%);bottom:12px}.wish-letter{padding:28px 25px}.personal-message{font-size:18px}.share-card{padding:18px}.share-heading h2{font-size:12px}.share-heading p{font-size:10px}.share-actions{gap:15px}.share-actions .motion-button{margin-left:0}.celebration-top{gap:15px}.celebration-top .eyebrow{font-size:7px;letter-spacing:1px}.countdown{gap:12px}.countdown b{font-size:36px}.countdown>div{min-width:49px}}
@media(max-width:370px){.intro h1{font-size:47px}.birthday-preview{padding-left:14px;padding-right:14px}.preview-topline{font-size:7px;letter-spacing:1.2px}.preview-title h2{font-size:47px}.cake-object{transform:translateX(-50%) scale(.9)}.form-pair{gap:9px}.theme-picker{gap:5px}.theme-picker label>span{font-size:9px;padding:8px 6px}.birthday-form h1{font-size:32px}.home-footer{flex-direction:row}.home-footer span:last-child{margin-left:auto}.countdown{gap:7px}.countdown b{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
