:root{--green:#103d30;--green-light:#24634b;--gold:#e7c77b;--cream:#fffdf6;--red:#ad343d;--text:#203c31;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:radial-gradient(ellipse at top,#2c6851,#103d30 50%,#08271e);color:white;padding:24px 16px}.container{max-width:620px;margin:25px auto}.brand{text-align:center;font-size:12px;letter-spacing:5px;color:var(--gold);margin-bottom:22px;font-weight:600}.card{background:var(--cream);color:var(--text);border-radius:28px;padding:32px 26px;box-shadow:0 20px 60px #0004}.center{text-align:center}h1{font-size:30px;margin:10px 0 15px;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere}h2{font-size:22px;overflow-wrap:anywhere}h3{font-size:18px;margin:0;overflow-wrap:anywhere}p{line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:#637568}.tree{font-size:60px}label{display:block;font-size:14px;font-weight:600;margin:20px 0 8px}input,textarea{width:100%;min-width:0;padding:14px;border:1px solid #b7c6bb;border-radius:12px;font:inherit;background:white;color:var(--text)}input:focus,textarea:focus{outline:2px solid var(--green-light);outline-offset:2px}input[readonly]{font-size:13px;background:#f6f8f3}textarea{resize:vertical}small{color:#586b5e;font-size:12px;line-height:1.6}button,.button{display:block;width:100%;border:0;padding:16px;border-radius:12px;background:var(--green-light);color:white;font:inherit;font-weight:600;text-align:center;text-decoration:none;cursor:pointer;margin-top:14px;transition:transform .15s,opacity .15s}button:active,.button:active{transform:scale(.98)}button:hover,.button:hover{opacity:.9}:focus-visible{outline:3px solid #ad343d;outline-offset:3px}.secondary{background:#e7eee8;color:var(--green)}.whatsapp{background:#167645}.gift{font-size:110px;padding:25px 0;animation:floating 2.5s ease-in-out infinite}.friend{font-size:clamp(32px,9vw,48px);font-weight:800;color:var(--red);padding:20px 0 30px;overflow-wrap:anywhere;animation:appear .7s ease-out}.details{background:#edf1e9;padding:8px 20px;border-radius:16px;margin:24px 0;text-align:left}.message{white-space:pre-wrap;overflow-wrap:anywhere}.person{border:1px solid #d1ddd2;border-radius:16px;padding:18px;margin:14px 0}.person-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.badge{font-size:11px;white-space:nowrap;background:#ede9db;padding:6px 8px;border-radius:20px;color:#67551d}.badge.opened{background:#dfeddf;color:#225b36}.error,.success,.notice{padding:15px;border-radius:12px;margin-bottom:20px;line-height:1.5}.error{background:#fce6e6;color:#8b2020}.success{background:#e2f2e4;color:#236447}.notice{background:#f4edda;font-size:13px;color:#605127}footer{text-align:center;color:#b5c9bd;font-size:12px;margin-top:26px;line-height:1.8}footer strong{color:var(--gold);letter-spacing:3px}summary{cursor:pointer;font-weight:600;padding:20px 0 10px;line-height:1.5}.columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.actions button,.actions .button{font-size:13px;padding:13px 8px}.text-button{background:transparent;color:#526956;font-size:13px;text-decoration:underline}.logout{margin-top:24px;border-top:1px solid #dbe2d7}.event-list{display:grid;gap:10px}.event-link{display:block;padding:16px;border:1px solid #d1ddd2;border-radius:14px;color:var(--text);text-decoration:none;overflow-wrap:anywhere}.event-link span{display:block;font-size:12px;color:#586b5e;margin-top:8px}.event-link:hover{background:#edf1e9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.confetti{position:fixed;top:-15px;width:9px;height:15px;pointer-events:none;z-index:5;animation:confettiFall 3s linear forwards}.confetti.red{background:#ad343d}.confetti.gold{background:#e7c77b}.confetti.green{background:#24634b}@keyframes floating{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-10px) rotate(3deg)}}@keyframes appear{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes confettiFall{to{transform:translateY(110vh) rotate(720deg);opacity:0}}@media(max-width:480px){.container{margin:10px auto}.card{padding:28px 20px}h1{font-size:27px}.columns{grid-template-columns:1fr}.person{padding:14px}.person-heading{align-items:flex-start;flex-direction:column}.actions{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.confetti{display:none}}
.confetti:nth-last-child(1){left:37%;animation-delay:0.08s}.confetti:nth-last-child(2){left:74%;animation-delay:0.16s}.confetti:nth-last-child(3){left:11%;animation-delay:0.24s}.confetti:nth-last-child(4){left:48%;animation-delay:0.32s}.confetti:nth-last-child(5){left:85%;animation-delay:0.4s}.confetti:nth-last-child(6){left:22%;animation-delay:0.48s}.confetti:nth-last-child(7){left:59%;animation-delay:0.0s}.confetti:nth-last-child(8){left:96%;animation-delay:0.08s}.confetti:nth-last-child(9){left:33%;animation-delay:0.16s}.confetti:nth-last-child(10){left:70%;animation-delay:0.24s}.confetti:nth-last-child(11){left:7%;animation-delay:0.32s}.confetti:nth-last-child(12){left:44%;animation-delay:0.4s}.confetti:nth-last-child(13){left:81%;animation-delay:0.48s}.confetti:nth-last-child(14){left:18%;animation-delay:0.0s}.confetti:nth-last-child(15){left:55%;animation-delay:0.08s}.confetti:nth-last-child(16){left:92%;animation-delay:0.16s}.confetti:nth-last-child(17){left:29%;animation-delay:0.24s}.confetti:nth-last-child(18){left:66%;animation-delay:0.32s}.confetti:nth-last-child(19){left:3%;animation-delay:0.4s}.confetti:nth-last-child(20){left:40%;animation-delay:0.48s}.confetti:nth-last-child(21){left:77%;animation-delay:0.0s}.confetti:nth-last-child(22){left:14%;animation-delay:0.08s}.confetti:nth-last-child(23){left:51%;animation-delay:0.16s}.confetti:nth-last-child(24){left:88%;animation-delay:0.24s}.confetti:nth-last-child(25){left:25%;animation-delay:0.32s}.confetti:nth-last-child(26){left:62%;animation-delay:0.4s}.confetti:nth-last-child(27){left:99%;animation-delay:0.48s}.confetti:nth-last-child(28){left:36%;animation-delay:0.0s}.confetti:nth-last-child(29){left:73%;animation-delay:0.08s}.confetti:nth-last-child(30){left:10%;animation-delay:0.16s}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.password-section{margin-top:24px;padding-top:8px;border-top:1px solid #d1ddd2}.access-card{background:#edf1e9}.access-card h2{margin-top:0}.organizer{color:#586b5e;font-size:13px}.text-link{display:block;text-align:center;color:#24634b;margin-top:20px;font-size:13px}.recent{margin:20px 0}.access-card small{display:block;margin-top:12px}
