:root{color-scheme:light;font-family:system-ui,-apple-system,sans-serif;color:#283e35;background:#fbf8f1;font-synthesis:none;--green:#284e3d;--muted:#58675f;--accent:#a45a3f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}main{max-width:1160px;margin:auto;padding:0 36px}a{color:inherit}a:focus-visible{outline:3px solid #a45a3f;outline-offset:6px}.header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 0}.brand{text-decoration:none;font-size:1.5rem;font-weight:750;letter-spacing:-.06em}.brand span{color:var(--accent);margin-right:8px}.button{display:inline-flex;gap:20px;align-items:center;justify-content:center;background:var(--green);color:#fff;padding:15px 24px;border-radius:9px;font-weight:650;text-decoration:none;line-height:1.4;border:1px solid var(--green)}.button:hover{background:#39634e}.outline{font-size:.9rem;padding:11px 16px;background:transparent;color:var(--green)}.outline:hover{background:#e8eee5}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:650;font-size:.74rem;color:var(--accent);line-height:1.6}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em}h1{font-size:clamp(2.65rem,5vw,4.5rem);line-height:1.12;margin:22px 0}h1 em{color:var(--accent)}h2{font-size:clamp(2rem,3vw,2.8rem);line-height:1.15;margin:14px 0 30px}h3{font-size:1.1rem;line-height:1.4}p{line-height:1.75;color:var(--muted)}.hero{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:48px;padding:70px 0 85px}.intro{max-width:570px;font-size:1.08rem;margin-bottom:30px}.small{font-size:.82rem;margin-top:17px}.gift-scene{position:relative;min-height:360px;border-radius:48% 48% 42% 42%;background:#eee8d9;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(3deg)}.gift-scene>p{font-family:Georgia,serif;text-align:center;font-style:italic;font-size:1.1rem;line-height:1.5;color:#6f5948;transform:rotate(-3deg)}.gift{width:160px;height:130px;background:#ae6348;position:relative;border-radius:5px;transform:rotate(-10deg);margin-top:45px;box-shadow:10px 14px 0 #ddd4bf}.lid{position:absolute;top:-12px;left:-8px;width:176px;height:30px;background:#bc7255;border-radius:4px}.ribbon{position:absolute;left:68px;top:-12px;width:25px;height:142px;background:#f3d9a8}.bow{position:absolute;top:-88px;left:40px;font-family:Georgia,serif;font-size:105px;color:#8c4935;line-height:1}.tag{position:absolute;right:-29px;top:47px;background:#fff9e9;padding:12px 9px;font-family:Georgia,serif;font-style:italic;font-size:.9rem;transform:rotate(14deg);box-shadow:1px 2px 3px #0001}.spark{position:absolute;top:42px;right:45px;color:var(--accent);font-size:38px}.steps-section{border-top:1px solid #dddccc;padding:55px 0 65px;scroll-margin-top:30px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;list-style:none;padding:0;margin:35px 0 0}.number{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;background:#e9eddf;color:var(--green);font-size:.85rem;font-weight:700}.steps p{font-size:.95rem}.closing{padding:35px 40px;background:#e9eddf;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:28px}.closing h2{font-size:2rem;margin:0}.closing p{margin-bottom:0}footer{padding:36px 0;font-size:.8rem;color:var(--muted)}.notice{margin:22px 0 0;background:#fff0d7;border:1px solid #bf8d40;border-radius:12px;padding:22px 26px}.notice strong,.notice p{color:#674016}.notice p{margin:8px 0 0}.login-panel{max-width:680px;margin:65px auto 100px}.login-panel .button{margin-top:20px}
@media(max-width:760px){main{padding:0 22px}.header{padding:23px 0}.hero{grid-template-columns:1fr;padding:35px 0 45px;gap:30px}.gift-scene{min-height:290px;width:min(100%,340px);justify-self:center}.steps{grid-template-columns:1fr;gap:24px}.steps h3{margin:12px 0 6px}.steps p{margin:0}.closing{padding:28px;align-items:flex-start;flex-direction:column}.closing .button{width:100%}.outline{font-size:.8rem;padding:10px 12px}.steps-section{padding-top:35px}.login-panel{margin-top:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Registration and administration */
.auth-panel{max-width:720px;margin:55px auto 90px}.auth-panel h1{font-size:clamp(2.4rem,5vw,3.5rem)}.auth-form{display:grid;gap:12px;margin:28px 0}.auth-form label{font-weight:650;font-size:.95rem}.auth-form input:not([type=hidden]):not([type=checkbox]){font:inherit;min-width:0;width:100%;padding:13px 15px;border:1px solid #7b8a7f;border-radius:8px;background:#fffdf8;color:#283e35}.auth-form input:focus-visible{outline:3px solid #a45a3f;outline-offset:3px}.auth-form .button{margin-top:12px;justify-self:start;cursor:pointer;font:inherit;font-weight:650}.auth-card{padding:28px;border:1px solid #d9dccc;border-radius:14px;margin:25px 0;background:#fffdf8}.auth-card h2{font-size:2rem;margin:12px 0}.auth-card summary{font-weight:650;cursor:pointer;line-height:1.6}.auth-card details summary{font-weight:400}.qr{display:block;max-width:100%;height:auto;margin:18px 0;background:white}.secret{display:block;overflow-wrap:anywhere;margin-top:15px}.setup-steps{padding-left:22px}.setup-steps>li{padding-left:5px;margin-top:20px}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px;list-style:none;background:#e9eddf;border-radius:12px}.recovery-codes code{font-size:.9rem;overflow-wrap:anywhere}.checkbox{display:flex;gap:12px;align-items:flex-start}.checkbox input{margin-top:5px}.auth-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin:28px 0}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.button:disabled{opacity:.65;cursor:wait}button{font:inherit;cursor:pointer}.auth-panel .notice{margin-bottom:22px}@media(max-width:540px){.auth-panel{margin:28px auto 55px}.auth-card{padding:20px}.recovery-codes{grid-template-columns:1fr}.auth-actions{align-items:flex-start;flex-direction:column}}
.standalone-input{display:block;font:inherit;width:100%;padding:13px 15px;border:1px solid #7b8a7f;border-radius:8px;margin:12px 0 20px;background:#fffdf8}.standalone-input:focus-visible{outline:3px solid #a45a3f;outline-offset:3px}

.admin-header{border-bottom:1px solid #e0dfd2}.brand .admin-label{font-size:.73rem;font-weight:500;letter-spacing:.03em;color:var(--muted);margin-left:12px}.admin-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:42px;padding:35px 0 50px;min-height:70vh}.admin-sidebar nav{display:grid;gap:7px}.admin-sidebar nav a{display:flex;justify-content:space-between;gap:15px;padding:13px 15px;text-decoration:none;border-radius:8px;font-size:.94rem}.admin-sidebar nav a:hover{background:#f0ede3}.admin-sidebar nav [aria-current=page]{background:#e6ecdf;font-weight:700;color:#284e3d}.admin-sidebar>p{margin-top:32px}.admin-sidebar>a{color:var(--muted)}.admin-content{min-width:0}.admin-content h1{font-size:clamp(2.2rem,4vw,3.4rem);margin-top:14px}.admin-content h2{font-size:1.8rem;margin:8px 0 18px}.admin-welcome{padding:18px 0 35px}.admin-welcome>p:not(.eyebrow){max-width:560px}.admin-welcome .button{margin-top:12px}.admin-section{border-top:1px solid #e0dfd2;padding-top:28px;margin-bottom:35px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-heading>a:not(.button){font-size:.88rem;white-space:nowrap}.count-badge{display:inline-flex;align-items:center;justify-content:center;font:600 .8rem system-ui;width:28px;height:28px;border-radius:50%;background:#e6ecdf;vertical-align:middle;margin-left:8px}.empty-state{padding:32px;text-align:center;border:1px dashed #bfc9b9;background:#f5f4eb;border-radius:14px;margin:20px 0}.empty-state p{max-width:420px;margin:12px auto 20px}.empty-state h3{margin:12px 0}.empty-symbol{display:block;font-size:2rem;color:var(--accent)}.empty-state>a:not(.button){font-weight:650;color:var(--green)}.account-card{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#e9eddf;border-radius:14px;padding:26px 30px;scroll-margin-top:25px}.account-card h2{margin-bottom:12px}.account-card p{margin:8px 0;overflow-wrap:anywhere}.privacy-mark{font-size:2rem;color:var(--green)}.event-list{display:grid;gap:17px;margin:24px 0}.event-card{padding:23px 26px;border:1px solid #deded1;background:#fffdf8;border-radius:12px}.event-card-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.mood-chip{padding:5px 11px;border-radius:20px;font-size:.76rem;font-weight:650;background:#e9ebe6;color:#354539}.mood-chip{background:var(--mood-bg,#e9ebe6);color:var(--mood-ink,#354539)}.draft-label{font-size:.76rem;color:var(--muted)}.event-card h3{font:400 1.55rem Georgia,serif;margin:17px 0}.event-card h3 a{text-decoration:none;overflow-wrap:anywhere}.event-card h3 a:hover{text-decoration:underline}.event-facts{display:flex;flex-wrap:wrap;gap:18px 30px;margin:0 0 20px}.event-facts dt{font-size:.72rem;color:var(--muted);margin-bottom:5px}.event-facts dd{font-size:.95rem;font-weight:550;margin:0}.event-edit{font-size:.88rem;font-weight:650;text-decoration:none;color:var(--green)}.event-edit span{margin-left:12px}.admin-success{background:#e6eddf;border:1px solid #9ab18a;border-radius:9px;padding:14px 18px;color:#284e3d}.back-link{display:inline-block;font-size:.86rem;margin:4px 0 25px}.event-form{margin-top:30px}.form-section{padding:25px;border:1px solid #deded1;border-radius:12px;background:#fffdf8;min-width:0}.form-section>label{display:block;margin:14px 0 9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.form-grid label{display:block;margin-bottom:9px}.event-form select{font:inherit;width:100%;min-width:0;padding:13px 15px;border:1px solid #7b8a7f;border-radius:8px;color:#283e35;background:#fffdf8}.event-form select:focus-visible{outline:3px solid #a45a3f;outline-offset:3px}.field-help{font-size:.78rem;line-height:1.5;margin:8px 0 0}.mood-fieldset{margin:15px 0 0}.mood-fieldset legend{font:400 1.55rem Georgia,serif;padding:0 8px}.mood-fieldset>p{font-size:.88rem;margin:0 0 20px}.mood-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mood-option{display:flex;align-items:flex-start;gap:11px;padding:17px;border:1px solid #d6dcd1;border-radius:9px;cursor:pointer;background:var(--mood-bg,#f0f1eb)}.auth-form .mood-option input{width:18px!important;height:18px;min-width:18px!important;margin:1px 0 0;accent-color:var(--green)}.mood-option strong{display:block;font-size:.95rem;color:var(--mood-ink,#283e35)}.mood-option span span{display:block;font-size:.77rem;line-height:1.55;font-weight:400;color:#4d5b50;margin-top:5px}.mood-option:has(input:checked){outline:2px solid var(--mood-border,#284e3d);outline-offset:1px}.form-actions{display:flex;align-items:center;gap:25px;margin:10px 0}.form-actions .button{margin:0}.form-actions>a{font-size:.9rem}@media(max-width:850px){.admin-shell{grid-template-columns:1fr;gap:20px;padding-top:20px}.admin-sidebar nav{display:flex;flex-wrap:wrap}.admin-sidebar nav a{padding:10px 13px}.admin-sidebar nav a span,.admin-sidebar>p,.admin-sidebar>a{display:none}.admin-welcome{padding-top:5px}}@media(max-width:540px){.brand .admin-label{display:none}.section-heading{align-items:flex-start;flex-direction:column;gap:5px}.section-heading>.button{margin-bottom:15px}.empty-state{padding:25px 18px}.account-card{padding:22px}.form-grid,.mood-options{grid-template-columns:1fr}.form-section{padding:20px}.event-card{padding:21px}.form-actions{align-items:stretch;flex-direction:column;text-align:center}.form-actions .button{justify-self:stretch;width:100%}.admin-sidebar nav{gap:0}.admin-sidebar nav a{font-size:.85rem;padding:10px 11px}}

.participant-list { display: grid; gap: 12px; margin: 24px 0; }
.participant-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid #deded1; border-radius: 18px; background: #fffdf9; }
.admin-content .participant-row h2 { font-size: 1.15rem; margin: 0 0 5px; }
.participant-row p { margin: 0; overflow-wrap: anywhere; }
.participant-row a { white-space: nowrap; }
.participant-selection { border: 1px solid #deded1; border-radius: 18px; padding: 24px; }
.participant-choice { display: flex; align-items: center; gap: 14px; padding: 14px 0; cursor: pointer; }
.participant-choice > span { display: grid; gap: 4px; overflow-wrap: anywhere; }
.participant-choice span span { font-size: .9rem; font-weight: normal; }
.auth-form .participant-choice input, .participant-choice input { width: 20px; height: 20px; padding: 0; flex: 0 0 20px; margin: 0; accent-color: #42674d; }
@media (max-width: 600px) { .participant-row { align-items: flex-start; flex-direction: column; padding: 18px; } }

.form-section > .participant-choice { display: flex; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.event-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.event-fields:disabled { opacity: .75; }
.draw-confirmation { margin-top: 25px; }
.draw-confirmation h2 { margin-top: 0; }

.participant-portal { max-width: 800px; margin: 30px auto 70px; border-top: 0; padding-top: 0; }
.participant-portal h1 { font-size: clamp(2.2rem,5vw,3.5rem); }
.participant-portal .form-section { background: var(--mood-bg, #fffdf8); }
textarea { font: inherit; color: #283e35; background: #fffdf8; padding: 14px; border: 1px solid #7b8a7f; border-radius: 8px; width: 100%; resize: vertical; }
textarea:focus-visible { outline: 3px solid #a45a3f; outline-offset: 3px; }
.wishlist-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.delivery-actions { display: grid; gap: 10px; min-width: 0; }
.delivery-actions .small { margin: 0; }
.delivery-actions a { white-space: normal; }
.delivery-actions button { max-width: 100%; }

.event-status { border-radius:999px; padding:5px 10px; font-size:.75rem; font-weight:700; }
.event-status-active { background:#dceedd; color:#245132; }
.event-status-ended { background:#e9e9e5; color:#545d56; }
.event-status-draft { background:#fff0d4; color:#765619; }
.mail-recovery { margin:24px 0; padding:20px; border:1px solid #dec590; border-radius:12px; background:#fff9eb; }
.mail-recovery h2 { margin-top:0; }
.draw-table-scroll { overflow-x:auto; margin:24px 0; }
.draw-table { width:100%; border-collapse:collapse; font-size:.9rem; text-align:left; }
.draw-table th, .draw-table td { padding:14px 12px; border-bottom:1px solid #deded1; vertical-align:top; }
.draw-table thead th { font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.draw-table tbody th { min-width:160px; }
.draw-table td { min-width:140px; }
.draw-table form { margin:0; }
.draw-table .text-button { padding:0; border:0; background:none; color:var(--green); font:inherit; text-align:left; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.draw-table .text-button:disabled { opacity:.6; cursor:wait; }
.participant-edit-icon { display:inline-flex; padding:2px 6px; text-decoration:none; }
.draw-recipients { margin-top:8px; font-weight:600; }
.draw-reveal-error:not(:empty) { display:block; max-width:220px; margin-top:8px; }
.delivery-status { display:block; margin:0 0 6px; color:var(--muted); }
.muted { color:var(--muted); }

.participant-tabs { display:flex; flex-wrap:wrap; gap:12px 24px; border-bottom:1px solid #deded1; padding:0 0 14px; margin:16px 0 28px; }
.participant-tabs a { padding:6px 0; text-underline-offset:5px; }
.participant-tabs a[aria-current="page"] { font-weight:700; color:var(--green); }

.mood-spring { --mood-bg:#e5eedb; --mood-page:#f1f5e9; --mood-ink:#2d4631; --mood-border:#79966a; --mood-action:#416342; }
.mood-summer { --mood-bg:#ffedc2; --mood-page:#fff7e7; --mood-ink:#624118; --mood-border:#b17d29; --mood-action:#895515; }
.mood-autumn { --mood-bg:#f3dece; --mood-page:#fbf0e7; --mood-ink:#683b2c; --mood-border:#c67c51; --mood-action:#98492f; }
.mood-winter { --mood-bg:#dfeaf0; --mood-page:#edf3f6; --mood-ink:#2c4657; --mood-border:#648b9d; --mood-action:#365b70; }
.participant-portal, .event-mood { --green:var(--mood-action,#284e3d); --accent:var(--mood-action,#a45a3f); }
.mood-banner { padding:0 0 24px; border-bottom:1px solid var(--mood-bg,#deded1); }
.mood-banner .eyebrow { margin:0 0 12px; color:var(--mood-action,#284e3d); }
.mood-event-name { margin:0; font:400 clamp(1.7rem,3vw,2.5rem)/1.15 Georgia,serif; letter-spacing:-.035em; color:var(--mood-ink,#283e35); overflow-wrap:anywhere; }
.participant-portal .auth-card { border-top:3px solid var(--mood-border,#284e3d); background:var(--mood-page,#fffdf8); }
.participant-portal .button:hover, .event-mood .button:hover { background:var(--mood-ink,#39634e); color:#fff; }
.participant-portal .outline:hover, .event-mood .outline:hover { background:var(--mood-bg,#e8eee5); color:var(--mood-ink,#284e3d); }
.participant-portal textarea:focus-visible, .event-mood input:focus-visible, .event-mood select:focus-visible { outline-color:var(--mood-action,#a45a3f); }
.event-card { border-left:4px solid var(--mood-border,#deded1); background:linear-gradient(115deg,var(--mood-page,#fffdf8),#fffdf8 70%); }
.event-mood .draw-history { border-left-color:var(--mood-border,#789756); }
@media(max-width:540px) { .mood-event-name { font-size:1.8rem; } }

body:has(.mood-atmosphere) { isolation:isolate; }
.mood-atmosphere { display:none; position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:-1; }
.mood-spring { --particle-a:#8cb46e; --particle-b:#547d58; --particle-c:#bdd79c; --particle-motion:season-rise; }
.mood-summer { --particle-a:#d7b65e; --particle-b:#e7c995; --particle-c:#c6ad72; --particle-motion:summer-glow; }
.mood-autumn { --particle-a:#bd7854; --particle-b:#cfaa66; --particle-c:#a58662; --particle-motion:season-fall; }
.mood-winter { --particle-a:#88adc6; --particle-b:#b2cbdc; --particle-c:#628da9; --particle-motion:season-fall; }
:is(.mood-spring,.mood-summer,.mood-autumn,.mood-winter).mood-motion-ready .mood-atmosphere { display:block; }
.mood-atmosphere span { position:absolute; top:0; left:var(--particle-left); width:var(--particle-size,5px); height:var(--particle-size,5px); border-radius:50%; background:var(--particle-a); opacity:0; animation:var(--particle-motion) calc(var(--particle-duration,32s) * .78) var(--particle-delay,0s) cubic-bezier(.37,0,.63,1) infinite; }
.mood-atmosphere span:nth-child(1) { --particle-left:4%; --particle-duration:34s; --particle-delay:-17s; }
.mood-atmosphere span:nth-child(2) { --particle-left:12%; --particle-duration:43s; --particle-delay:-4s; }
.mood-atmosphere span:nth-child(3) { --particle-left:23%; --particle-duration:29s; --particle-delay:-21s; }
.mood-atmosphere span:nth-child(4) { --particle-left:31%; --particle-duration:48s; --particle-delay:-35s; }
.mood-atmosphere span:nth-child(5) { --particle-left:40%; --particle-duration:38s; --particle-delay:-9s; }
.mood-atmosphere span:nth-child(6) { --particle-left:52%; --particle-duration:31s; --particle-delay:-13s; }
.mood-atmosphere span:nth-child(7) { --particle-left:63%; --particle-duration:44s; --particle-delay:-28s; }
.mood-atmosphere span:nth-child(8) { --particle-left:74%; --particle-duration:36s; --particle-delay:-7s; }
.mood-atmosphere span:nth-child(9) { --particle-left:83%; --particle-duration:41s; --particle-delay:-33s; }
.mood-atmosphere span:nth-child(10) { --particle-left:94%; --particle-duration:32s; --particle-delay:-19s; }
.mood-atmosphere span:nth-child(11) { --particle-left:7%; --particle-duration:46s; --particle-delay:-38s; }
.mood-atmosphere span:nth-child(12) { --particle-left:18%; --particle-duration:35s; --particle-delay:-26s; }
.mood-atmosphere span:nth-child(13) { --particle-left:28%; --particle-duration:39s; --particle-delay:-2s; }
.mood-atmosphere span:nth-child(14) { --particle-left:36%; --particle-duration:49s; --particle-delay:-22s; }
.mood-atmosphere span:nth-child(15) { --particle-left:47%; --particle-duration:33s; --particle-delay:-29s; }
.mood-atmosphere span:nth-child(16) { --particle-left:58%; --particle-duration:42s; --particle-delay:-11s; }
.mood-atmosphere span:nth-child(17) { --particle-left:68%; --particle-duration:37s; --particle-delay:-31s; }
.mood-atmosphere span:nth-child(18) { --particle-left:79%; --particle-duration:45s; --particle-delay:-18s; }
.mood-atmosphere span:nth-child(19) { --particle-left:89%; --particle-duration:30s; --particle-delay:-5s; }
.mood-atmosphere span:nth-child(20) { --particle-left:97%; --particle-duration:40s; --particle-delay:-27s; }
.mood-atmosphere span:nth-child(21) { --particle-left:15%; --particle-duration:47s; --particle-delay:-15s; }
.mood-atmosphere span:nth-child(22) { --particle-left:44%; --particle-duration:35s; --particle-delay:-24s; }
.mood-atmosphere span:nth-child(23) { --particle-left:72%; --particle-duration:41s; --particle-delay:-3s; }
.mood-atmosphere span:nth-child(24) { --particle-left:86%; --particle-duration:50s; --particle-delay:-40s; }
.mood-summer .mood-atmosphere span { filter:blur(.7px); }
.mood-motion-paused .mood-atmosphere span { animation-play-state:paused; }
.mood-motion-toggle { display:block; margin:20px 0 0; padding:4px 0; border:0; background:none; color:var(--muted); font:inherit; font-size:.75rem; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.mood-motion-toggle[hidden] { display:none; }
body:not(:is(.mood-spring,.mood-summer,.mood-autumn,.mood-winter)) .mood-motion-toggle { display:none; }
@media(max-width:540px) { .mood-atmosphere span:nth-child(n + 15) { display:none; } }
@media(prefers-reduced-motion:reduce) { .mood-atmosphere, .mood-motion-toggle { display:none!important; } .mood-atmosphere span { animation:none; } }

.mood-atmosphere { --particle-sway:72px; }
.mood-atmosphere span:nth-child(3n) { background:var(--particle-b); --particle-size:8px; --particle-opacity:.4; }
.mood-atmosphere span:nth-child(3n + 1) { --particle-size:5px; --particle-opacity:.5; }
.mood-atmosphere span:nth-child(3n + 2) { background:var(--particle-c); --particle-size:12px; --particle-opacity:.3; }
.mood-atmosphere span:nth-child(4n) { --particle-size:4px; }
.mood-atmosphere span:nth-child(even) { --particle-sway:-90px; }
.mood-atmosphere-front { z-index:2; mix-blend-mode:multiply; --particle-sway:110px; }
.mood-atmosphere-front span { animation-duration:calc(var(--particle-duration,32s) * .67); animation-delay:calc(var(--particle-delay,0s) - 9s); }
.mood-atmosphere-front span:nth-child(even) { --particle-sway:-125px; }
.mood-atmosphere-front span:nth-child(3n) { --particle-size:7px; --particle-opacity:.4; }
.mood-atmosphere-front span:nth-child(3n + 1) { --particle-size:10px; --particle-opacity:.34; }
.mood-atmosphere-front span:nth-child(3n + 2) { --particle-size:5px; --particle-opacity:.55; }
.mood-atmosphere-front span:nth-child(odd) { animation-direction:reverse; }
@keyframes season-fall {
    0% { transform:translate3d(0,-6vh,0); opacity:0; }
    14% { opacity:var(--particle-opacity); }
    20% { transform:translate3d(calc(var(--particle-sway) * .55),17vh,0); }
    35% { transform:translate3d(var(--particle-sway),34vh,0); }
    47% { transform:translate3d(calc(var(--particle-sway) * .3),42vh,0); }
    56% { transform:translate3d(calc(var(--particle-sway) * -.35),39vh,0); opacity:var(--particle-opacity); }
    66% { transform:translate3d(calc(var(--particle-sway) * -.65),55vh,0); }
    83% { transform:translate3d(calc(var(--particle-sway) * .45),78vh,0); opacity:var(--particle-opacity); }
    100% { transform:translate3d(calc(var(--particle-sway) * .8),106vh,0); opacity:0; }
}
@keyframes season-rise {
    0% { transform:translate3d(0,106vh,0); opacity:0; }
    18% { transform:translate3d(calc(var(--particle-sway) * -.5),82vh,0); opacity:var(--particle-opacity); }
    36% { transform:translate3d(calc(var(--particle-sway) * .6),62vh,0); }
    48% { transform:translate3d(var(--particle-sway),52vh,0); }
    58% { transform:translate3d(calc(var(--particle-sway) * .4),58vh,0); opacity:var(--particle-opacity); }
    70% { transform:translate3d(calc(var(--particle-sway) * -.5),38vh,0); }
    84% { transform:translate3d(calc(var(--particle-sway) * -.2),19vh,0); opacity:var(--particle-opacity); }
    100% { transform:translate3d(calc(var(--particle-sway) * .7),-6vh,0); opacity:0; }
}
@keyframes summer-glow {
    0% { transform:translate3d(0,104vh,0) scale(.6); opacity:0; }
    20% { transform:translate3d(calc(var(--particle-sway) * -.4),79vh,0) scale(1); opacity:var(--particle-opacity); }
    40% { transform:translate3d(calc(var(--particle-sway) * .6),63vh,0) scale(.8); opacity:.15; }
    55% { transform:translate3d(var(--particle-sway),48vh,0) scale(1.15); opacity:var(--particle-opacity); }
    73% { transform:translate3d(calc(var(--particle-sway) * -.3),29vh,0) scale(.9); opacity:.18; }
    86% { transform:translate3d(calc(var(--particle-sway) * -.5),18vh,0) scale(1); opacity:var(--particle-opacity); }
    100% { transform:translate3d(calc(var(--particle-sway) * .4),-4vh,0) scale(.7); opacity:0; }
}
@media(max-width:540px) { .mood-atmosphere { --particle-sway:45px; } .mood-atmosphere span:nth-child(even) { --particle-sway:-55px; } .mood-atmosphere-front span:nth-child(n + 9) { display:none; } }


.wishlist-editor { margin-top:30px; }
.wishlist-editor .wish-notes label { display:block; margin:0 0 10px; }
.wishlist-editor textarea { background:#fffdf8; }
.wish-ideas-section { padding-top:30px; margin-top:30px; border-top:1px solid var(--mood-bg,#deded1); }
.wish-ideas-section h2 { font-size:1.8rem; margin-bottom:8px; }
.wish-ideas-intro { margin:0 0 20px; }
.wish-ideas-empty { padding:24px; border:1px dashed var(--mood-border,#bfc9b9); border-radius:14px; display:flex; align-items:center; gap:20px; background:var(--mood-page,#f5f4eb); }
.wish-ideas-empty>span { display:grid; place-items:center; width:46px; height:46px; flex-shrink:0; border-radius:50%; background:var(--mood-bg,#e9eddf); color:var(--green); font-size:1.7rem; }
.wish-ideas-empty p { margin:0; line-height:1.6; }
.wish-ideas { display:grid; gap:20px; }
.wish-idea { position:relative; padding:14px 24px 24px; border:1px solid var(--mood-bg,#deded1); border-radius:14px; background:#fffdf8; min-width:0; }
.wish-idea legend { padding:0 9px; font-size:.8rem; font-weight:650; color:var(--mood-action,#284e3d); }
.wishlist-editor .wish-idea label { display:block; margin:16px 0 8px; font-size:.88rem; }
.wish-optional { font-size:.75rem; font-weight:400; color:var(--muted); margin-left:8px; }
.wish-idea-remove { position:absolute; top:-20px; right:12px; width:40px; height:40px; border:0; border-radius:50%; background:#fffdf8; color:var(--muted); font-size:1.6rem; cursor:pointer; }
.wish-idea-remove:hover { background:var(--mood-bg,#e9eddf); color:var(--green); }
.wish-idea-add { margin-top:20px; }
.wish-save { display:flex; align-items:center; gap:24px; padding-top:24px; margin-top:32px; border-top:1px solid var(--mood-bg,#deded1); }
.wish-save p { max-width:250px; font-size:.82rem; line-height:1.5; }
.wish-ideas-empty[hidden], .wish-idea-add[hidden], [data-idea-limit][hidden] { display:none; }
.wish-idea-grid { margin:20px 0 0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); list-style:none; padding:0; gap:16px; }
.wish-idea-grid li { padding:0; min-width:0; }
.wish-idea-link { color:var(--green); display:flex; flex-direction:column; gap:10px; height:100%; padding:22px; border:1px solid var(--mood-border,#bfc9b9); border-radius:12px; background:#fffdf8; text-decoration:none; overflow-wrap:anywhere; }
.wish-idea-link:hover { background:var(--mood-page,#f5f4eb); }
.wish-idea-source { font-size:.75rem; color:var(--muted); }
.wish-idea-link strong { font:400 1.4rem/1.3 Georgia,serif; }
.wish-idea-open { font-size:.82rem; font-weight:650; margin-top:auto; padding-top:8px; }
.wish-idea-open>span { float:right; margin-left:12px; }
@media(max-width:540px) { .wish-save { flex-direction:column; align-items:stretch; gap:0; } .wish-save p { max-width:none; } .wish-idea { padding:12px 16px 20px; } .wish-idea-add { width:100%; } }

.admin-header { flex-wrap:wrap; }
.admin-header .brand { flex-shrink:0; }
.admin-header>form { margin-left:auto; }
.mail-mode { display:flex; flex-wrap:wrap; align-items:center; gap:5px 9px; padding:8px 12px; border:1px solid; border-radius:9px; font-size:.75rem; line-height:1.5; margin-left:auto; max-width:100%; }
.mail-mode-test { background:#fff1cf; color:#654309; border-color:#bc7b14; }
.mail-mode-normal { background:#edf5ed; color:#25452e; border-color:#67846a; }
.mail-mode-icon,.mail-mode-edit svg { display:block; width:19px; height:19px; flex-shrink:0; }
.mail-mode-target { min-width:0; overflow-wrap:anywhere; }
.mail-mode-address { white-space:nowrap; }
.mail-mode-edit { display:flex; align-items:center; justify-content:center; min-width:28px; min-height:28px; border-radius:5px; }
.mail-mode-edit:hover { background:#0000000d; }
@media(max-width:1050px) { .admin-header .mail-mode { order:3; width:100%; margin-left:0; } .mail-mode-edit { margin-left:auto; } }
@media(max-width:540px) { .mail-mode { gap:4px 7px; } .mail-mode-target { flex-basis:calc(100% - 36px); order:3; padding-left:26px; } .mail-mode-edit { margin-left:auto; } .mail-mode-address { white-space:normal; } }

.mail-mode-option { padding:1rem; border:1px solid #cbd2c8; border-radius:10px; background:#fffdf8; }
.mail-mode-option:has(input:checked) { border:2px solid #42674d; }
.mail-mode-option label { font-weight:650; cursor:pointer; }
.mail-mode-option input { accent-color:#42674d; }

.participant-choice[id] { scroll-margin-block:24px; }
.participant-choice:target { outline:2px solid var(--mood-action,#42674d); outline-offset:3px; background:var(--mood-page,#edf5ed); }

.draw-bulk-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:24px 0 16px; }
.draw-bulk-actions form { margin:0; }
.draw-bulk-actions [hidden] { display:none; }
.resend-all-dialog { max-width:min(600px,calc(100% - 32px)); border:1px solid #bdc9b9; border-radius:16px; padding:28px; color:var(--green); background:#fffdf8; }
.resend-all-dialog::backdrop { background:#14261db3; }
.resend-all-dialog h2 { font-size:1.9rem; margin:0 0 16px; }
@media(max-width:540px) { .draw-bulk-actions,.draw-bulk-actions form,.draw-bulk-actions .button { width:100%; } .resend-all-dialog { padding:22px; } }

.wishlist-greeting { display:flex; align-items:center; gap:20px; margin:22px 0 28px; }
.wishlist-greeting h1 { margin:0; font-size:clamp(2rem,4vw,3.3rem); overflow-wrap:anywhere; }
.wishlist-greeting h1 span { font-size:.78em; }
.participant-avatar { display:inline-flex; align-items:center; justify-content:center; flex:0 0 76px; width:76px; height:76px; border-radius:50%; background:var(--mood-bg,#e5eddf); color:var(--mood-ink,#284e3d); border:1px solid var(--mood-border,#bfc9b9); font-size:1.5rem; font-weight:650; letter-spacing:.04em; }
@media(max-width:540px) { .wishlist-greeting { gap:14px; } .participant-avatar { flex-basis:56px; width:56px; height:56px; font-size:1.1rem; } }

.site-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;border-top:1px solid #dddccc;margin-top:36px;position:relative;z-index:2}.site-footer nav{display:flex;gap:24px}.site-footer a{text-underline-offset:4px}.legal-page{max-width:760px;margin:40px auto 70px;overflow-wrap:anywhere}.legal-page h1{font-size:clamp(2.3rem,5vw,3.8rem)}.legal-page section{margin-top:42px;scroll-margin-top:24px}.legal-page h2{font-size:1.7rem;letter-spacing:-.025em;margin-bottom:16px}.legal-page address{font-style:normal;line-height:1.8}.legal-contents{display:flex;flex-wrap:wrap;gap:12px 22px;padding:25px 0;border-bottom:1px solid #dddccc;margin-top:20px}.legal-page .notice{margin-bottom:24px}
.event-status-cancelled{background:#f7e2dc;color:#843c2b}.event-cancel-section{margin-top:45px;padding-top:24px;border-top:1px solid #dccdc5}.event-cancel-section h2{font-size:1.8rem}#event-cancel-dialog{max-width:600px;width:calc(100% - 32px);padding:28px;border:1px solid #b7beb0;border-radius:16px;background:#fffdf8;color:#283e35}#event-cancel-dialog::backdrop{background:#142c2299}#event-cancel-dialog h2{font-size:1.8rem}
.event-retention{border-top:1px solid #d9dccc;margin-top:42px;padding-top:24px}.event-retention h2,.archive-help h2{font-size:1.8rem}.archive-help{margin-top:35px}.archive-help li{line-height:1.75;margin-bottom:12px}#event-delete-dialog{max-width:650px;width:calc(100% - 32px);max-height:90vh;overflow:auto;padding:28px;border:1px solid #b7beb0;border-radius:16px;background:#fffdf8;color:#283e35}#event-delete-dialog::backdrop{background:#142c2299}#event-delete-dialog h2{font-size:1.8rem}.archive-history{margin:20px 0}.archive-history summary{font-weight:650;cursor:pointer}.archive-history-row{display:grid;gap:12px;margin:20px 0;padding-bottom:16px;border-bottom:1px solid #deded1}.archive-history-row label{display:grid;gap:8px}.archive-history-row input{font:inherit;max-width:100%;padding:10px;border:1px solid #7b8a7f;border-radius:8px;background:#fffdf8}

img.participant-avatar { object-fit:cover; }
.participant-photo-editor > .participant-avatar { display:flex; margin:12px 0 18px; }

.wishlist-greeting h2 { margin:0; overflow-wrap:anywhere; }

.participant-identity { display:flex; align-items:center; gap:16px; min-width:0; }
.participant-identity > div { min-width:0; }
.participant-identity .participant-avatar { flex-basis:56px; width:56px; height:56px; font-size:1.1rem; }
