:root{--wine:#855067;--wine-dark:#623d50;--gold:#626773;--paper:#fff9fc;--ink:#443640;--muted:#75626d;--line:#dfd5dc;--white:#fff;--error:#aa173b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}h2{font-size:2.6rem;margin-bottom:1.5rem}h3{font-size:1.15rem}a{color:var(--wine)}button,.button{display:inline-flex;align-items:center;justify-content:center;background:var(--wine);color:white;border:1px solid var(--wine);padding:.85rem 1.5rem;border-radius:6px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;min-height:48px}button:hover,.button:hover{background:var(--wine-dark)}button:disabled{opacity:.6;cursor:wait}.secondary{background:transparent;color:var(--wine);border-color:var(--line)}.secondary:hover{background:#f2e6e9}.light{background:var(--gold);color:var(--wine-dark);border-color:var(--gold)}.light:hover{background:#ebce9e}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #737986;outline-offset:3px}.eyebrow{display:block;letter-spacing:.2em;font-size:.8rem;font-weight:600;margin-bottom:1.5rem}.hero{min-height:720px;min-height:92svh;background:var(--wine-dark);color:var(--paper);padding:4rem 1.5rem 2rem;text-align:center;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border-bottom:7px solid var(--gold)}.hero:before{content:"";position:absolute;inset:22px;border:1px solid #b18c5d66;pointer-events:none}.hero .eyebrow{color:var(--gold)}.fifteen{font:italic clamp(7rem,20vw,13rem)/.85 Georgia,serif;color:var(--gold);margin:1.8rem 0}.hero h1{font-size:clamp(2.8rem,8vw,5rem);margin:1.3rem 0}.hero p{max-width:520px;font-size:1.1rem;color:#e2cbd3;margin-bottom:2rem;white-space:pre-wrap}.hero-bottom{font-size:.85rem;margin-top:3rem;color:#dac1c9}.wrap{max-width:1000px;margin:auto;padding:5rem 2rem}.event-section{text-align:center}.event-section .eyebrow,.rsvp-section .eyebrow{color:var(--wine)}.event-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:3rem;gap:2rem}.event-grid article{padding:2rem;border-top:1px solid var(--line)}.event-grid p{margin-bottom:.5rem}.detail-number{font:italic 2rem Georgia,serif;color:#626773;display:block;margin-bottom:1.5rem}.text-link{text-underline-offset:5px;font-weight:600}.rsvp-section{background:#f0e5e8}.narrow{max-width:700px}.rsvp-section h2{font-size:3.2rem}.rsvp-section fieldset{padding:0;border:0;margin:1.5rem 0}legend,label{font-weight:600;font-size:.95rem}label{display:block;margin-bottom:.45rem}input,textarea,select{width:100%;font:inherit;padding:.75rem .9rem;border:1px solid #bba6ae;border-radius:6px;background:white;color:var(--ink);min-height:46px}textarea{resize:vertical}input[type=radio],input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:var(--wine);flex-shrink:0}input[type=file]{font-size:.9rem}form>input,form>textarea{margin-bottom:1rem}.choices{display:flex;gap:1rem;margin-top:.8rem;flex-wrap:wrap}.choices label{display:flex;align-items:center;gap:.6rem;padding:1rem;background:white;border:1px solid var(--line);border-radius:6px;flex:1;min-width:180px}.help,.optional{font-size:.85rem;color:var(--muted);font-weight:400}.help{margin-top:0}.notice{padding:1rem;background:#fff;border-left:3px solid var(--wine)}.error{color:var(--error)}.success{color:#25553b}footer{text-align:center;background:var(--wine-dark);color:var(--gold);padding:2.5rem}p[role=status]{margin-top:1rem;white-space:pre-wrap}button[type=submit]{margin-top:.6rem}.admin-layout{max-width:1320px;margin:auto;padding:0 2rem 4rem}.admin-header{display:flex;align-items:center;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}.brand{font-family:Georgia,serif;font-size:1.8rem;text-decoration:none}.brand span{color:#626773}.admin-header>span{color:var(--muted)}.admin-header button{margin-left:auto}.login-card{max-width:460px;margin:5rem auto;padding:2rem;background:white;border:1px solid var(--line);border-radius:12px}.login-card h1{font-size:2.4rem}.login-card .eyebrow{color:var(--wine)}.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:2.5rem}.dashboard-title h1{font-size:2.8rem;margin-bottom:.5rem}.dashboard-title .eyebrow{color:var(--wine);margin-bottom:.5rem}.dashboard-title p{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.5rem 0 2rem}.stat{background:white;border:1px solid var(--line);border-radius:8px;padding:1.3rem}.stat strong{font:2.6rem Georgia,serif;display:block;color:var(--wine)}.stat span{font-size:.9rem;color:var(--muted)}.tabs{display:flex;gap:1rem;border-bottom:1px solid var(--line);margin-bottom:2rem}.tabs button{background:transparent;color:var(--muted);border:0;border-radius:0;border-bottom:3px solid transparent}.tabs button.active{border-color:var(--wine);color:var(--wine)}.management-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.card{background:white;padding:1.7rem;border:1px solid var(--line);border-radius:10px}.card h2{font-size:1.7rem;margin-bottom:1rem}.card p{color:var(--muted)}.card input{margin-bottom:1rem}.card .text-link{display:block;margin-bottom:1rem;font-size:.9rem}.guest-list{margin-top:1.5rem}.list-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.list-heading h2{margin:0}.filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.filters label{flex:1;min-width:180px}.filters input{margin:0}.filters .diet-filter{display:flex;gap:.6rem;align-items:center;font-size:.9rem}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:700px;font-size:.9rem}th{text-align:left;background:#f7f0f2;padding:.9rem;color:var(--muted);font-size:.85rem}td{padding:1rem .9rem;border-bottom:1px solid var(--line);vertical-align:top;max-width:280px;overflow-wrap:anywhere;white-space:pre-wrap}td small{display:block;color:var(--muted);font-size:.8rem}.badge{display:inline-block;padding:.2rem .6rem;border-radius:4px;background:#f3e9d9;color:#745218;white-space:nowrap}.badge.yes{background:#e3eee7;color:#25553b}.badge.no{background:#f4e3e8;color:#7c2940}.actions{display:flex;gap:.5rem;flex-wrap:wrap}.actions button,.actions a{font-size:.85rem;padding:.4rem .7rem;min-height:40px}.empty{text-align:center;padding:2rem}.event-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem}.event-form .full{grid-column:1/-1}.event-form label{margin:0}.event-form input{margin:0}.event-form textarea{display:block}.event-form input,.event-form textarea{margin-top:.5rem}#fatal-error{max-width:700px;margin:3rem auto}#deadline{color:var(--muted)}@media(max-width:700px){.hero{min-height:680px;min-height:90svh;padding:3rem 2rem}.hero:before{inset:14px}.wrap{padding:3.5rem 1.4rem}.event-grid{grid-template-columns:1fr;gap:0;margin-top:1rem}.event-grid article{padding:2rem 0}.rsvp-section h2{font-size:2.5rem}.admin-layout{padding:0 1rem 3rem}.admin-header{gap:.7rem;flex-wrap:wrap}.admin-header>span{font-size:.85rem}.admin-header button{font-size:.8rem;padding:.6rem}.dashboard-title{display:block}.dashboard-title h1{font-size:2.2rem}.stats{grid-template-columns:1fr 1fr;gap:.7rem}.stat{padding:1rem}.management-grid,.event-form{grid-template-columns:1fr}.card{padding:1.2rem}.list-heading{align-items:flex-start;flex-direction:column}.tabs{gap:0}.tabs button{padding:.8rem;font-size:.9rem}.login-card{margin:3rem auto;padding:1.5rem}.choices{display:block}.event-form .full{grid-column:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Tarjeta minimalista: blanco, grises y plateado. La administración conserva su paleta. */
body.invitation-page{--wine:#333;--wine-dark:#202020;--gold:#bfc1c5;--paper:#fff;--ink:#333;--muted:#626262;--line:#bfc1c5;background:#fff;color:#333}
/* La fotografía vertical se muestra completa sobre una extensión suave de la misma imagen. */
#invitation .opening-cover{position:relative;isolation:isolate;width:100%;height:100vh;height:100svh;min-height:32rem;overflow:hidden;background:#171717}
#invitation .opening-cover:before{content:"";position:absolute;z-index:0;inset:-24px;background:url('tarjetaXV01.jpeg') center/cover no-repeat;filter:blur(18px);opacity:.55;transform:scale(1.05);pointer-events:none}
#invitation .opening-cover img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
#invitation .opening-cover:after{content:"";position:absolute;z-index:2;inset:auto 0 0;height:28%;background:linear-gradient(transparent,#0009);pointer-events:none}
#invitation .opening-scroll{position:absolute;z-index:3;left:50%;bottom:max(1.25rem,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.15rem;min-width:11rem;padding:.5rem;color:#fff;font-size:.85rem;letter-spacing:.06em;text-align:center;text-decoration:none;text-shadow:0 1px 5px #000}
#invitation .opening-scroll svg{width:28px;height:28px;animation:opening-arrow 1.8s ease-in-out infinite}
#invitation .opening-scroll:hover{color:#fff}
#invitation .opening-cover .invitation-music{position:absolute;z-index:3;left:50%;bottom:5.5rem;transform:translateX(-50%);width:min(calc(100% - 2rem),350px);margin:0;padding:0;border:0}
#invitation .opening-cover .invitation-music .help{margin:.35rem 0 0;color:#fff;text-shadow:0 1px 4px #000}
@keyframes opening-arrow{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
/* Portada del diseño final de Canva: Mis, XV, nombre y mensaje. */
@font-face{font-family:Allison;src:url('allison.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Cormorant;src:url('cormorant.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
#invitation .hero{min-height:100svh;background:#fff;color:var(--ink);padding:1.5rem;text-align:center;border-bottom:1px solid var(--line)}
#invitation .hero:before{display:none}
#invitation .hero-card{container-type:inline-size;position:relative;isolation:isolate;width:min(100%,480px);aspect-ratio:5/7;flex-shrink:0;padding:24px 40px 38px;border:1px solid #999;background:#fafafa url('fondo-plata-canva.png') center/110% 110% no-repeat;box-shadow:inset 0 0 0 5px #fafafa,inset 0 0 0 6px #bfc1c5;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
#invitation .hero-card:before,#invitation .hero-card:after{content:"";position:absolute;width:13.6%;aspect-ratio:65/76;background:center/contain no-repeat;pointer-events:none;z-index:1}
#invitation .hero-card:before{top:2.5%;left:3.8%;background-image:url('esquina-plata-superior.png')}
#invitation .hero-card:after{bottom:2.5%;right:3.8%;background-image:url('esquina-plata-inferior.png')}
#invitation .hero .hero-prefix{font:400 19cqw/1 Allison,cursive;color:#444;margin:0 0 2cqw;white-space:normal}
#invitation .hero h1{font:400 27cqw/1 Allison,cursive;margin:1cqw 0 3cqw;max-width:100%;overflow-wrap:anywhere}
#invitation .hero #event-message{font:400 4.7cqw/1.15 Cormorant,Georgia,serif;color:#555;width:100%;max-width:340px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;text-wrap:balance}
#invitation #event-message:empty{display:none}
#invitation .fifteen{font:400 78cqw/.95 Cormorant,Georgia,serif;letter-spacing:-.045em;color:#555;margin:0 0 7cqw;max-width:100%}
#invitation .xv-lettering{display:inline-block;filter:drop-shadow(1px 1px 0 #fff) drop-shadow(0 8px 10px #55555518)}
#invitation .hero-divider{position:absolute;top:59%;left:12%;width:76%;height:2px;background:linear-gradient(90deg,transparent,#fff 20%,#fff 80%,transparent);box-shadow:0 0 10px 2px #fff;pointer-events:none}
#invitation .hero-divider:after{content:"";position:absolute;width:36px;height:36px;left:calc(50% - 18px);top:-17px;background:linear-gradient(90deg,transparent 44%,#fff 50%,transparent 56%),linear-gradient(0deg,transparent 44%,#fff 50%,transparent 56%)}
#invitation .hero-tools{width:min(100%,480px);display:flex;flex-direction:column;align-items:center;margin-top:1.25rem}
#invitation .hero-scroll{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-height:44px;margin-top:1.1rem;color:#626262;font-size:.8rem;letter-spacing:.04em;text-decoration:none}
#invitation .hero-scroll svg{width:24px;height:24px}
#invitation .hero-scroll:hover{color:#333}
#invitation .petals-enable{margin-top:.65rem;padding:.4rem .75rem;min-height:44px;font-size:.8rem;font-weight:400;color:#555;background:transparent;border-color:#bfc1c5}
#invitation .hero .light{font-family:Georgia,serif;font-weight:400;font-size:1rem;min-height:48px;padding:.6rem 1.1rem;background:#ffffff80;border-color:#bfc1c5;box-shadow:none}
#invitation .hero .light:hover{background:#fff;border-color:#777}
#invitation .hero-petals{position:absolute;inset:3% 7% 57%;overflow:hidden;pointer-events:none;z-index:2}
#invitation .hero-petals span{position:absolute;left:var(--x);top:-12px;width:8px;height:10px;border-radius:70% 25% 65% 35%;background:#ee4d96;opacity:0;animation:petal-fall 8s linear infinite;animation-delay:var(--delay)}
#invitation .hero-petals span:nth-child(3n){background:#f5a4ce;width:7px;height:9px}
#invitation .hero-petals span:nth-child(1){--x:8%;--delay:-1s}#invitation .hero-petals span:nth-child(2){--x:17%;--delay:-5s}#invitation .hero-petals span:nth-child(3){--x:29%;--delay:-3s}#invitation .hero-petals span:nth-child(4){--x:38%;--delay:-6s}#invitation .hero-petals span:nth-child(5){--x:48%;--delay:-2s}#invitation .hero-petals span:nth-child(6){--x:59%;--delay:-7s}#invitation .hero-petals span:nth-child(7){--x:69%;--delay:-4s}#invitation .hero-petals span:nth-child(8){--x:81%;--delay:-1.5s}#invitation .hero-petals span:nth-child(9){--x:91%;--delay:-5.5s}#invitation .hero-petals span:nth-child(10){--x:24%;--delay:-6.5s}#invitation .hero-petals span:nth-child(11){--x:53%;--delay:-3.5s}#invitation .hero-petals span:nth-child(12){--x:74%;--delay:-.5s}
@keyframes petal-fall{0%{opacity:0;transform:translate(0,0) rotate(0)}10%,80%{opacity:.9}100%{opacity:0;transform:translate(18px,300px) rotate(250deg)}}
#invitation button,#invitation .button{border-radius:4px;max-width:100%;text-align:center}
#invitation .light{background:linear-gradient(115deg,#e3e3e3,#fff 40%,#f5f5f5 55%,#c5c5c5);color:#333;border-color:#8c8c8c;font-weight:600;box-shadow:inset 0 1px 0 #fff,0 3px 10px #33333312}
#invitation .light:hover{background:linear-gradient(115deg,#d5d5d5,#fff 45%,#bfc1c5)}
#invitation .secondary{background:#fff;color:#333;border-color:#8c8c8c}
#invitation .secondary:hover{background:#f3f3f3}
#invitation :is(a,button,input,textarea,select):focus-visible{outline:3px solid #555;outline-offset:3px}
#invitation :is(h2,h3){overflow-wrap:anywhere}
#invitation .event-section .eyebrow{margin-bottom:.9rem}
#invitation .event-section h2{font-size:clamp(2rem,6vw,2.8rem);margin-bottom:0}
#invitation .event-grid{gap:1.5rem;margin-top:2.5rem;align-items:stretch}
#invitation .celebration-card{position:relative;min-width:0;padding:2.5rem 1.8rem;border:1px solid var(--line);border-radius:4px;background:linear-gradient(145deg,#fff 60%,#f5f5f5);box-shadow:inset 0 1px 0 #fff,0 4px 18px #33333308;display:flex;flex-direction:column;align-items:center}
#invitation .celebration-card:before,#invitation .celebration-card:after{content:"";position:absolute;width:22px;height:22px;border-color:#a3a3a3;border-style:solid;pointer-events:none}
#invitation .celebration-card:before{top:7px;left:7px;border-width:1px 0 0 1px}
#invitation .celebration-card:after{bottom:7px;right:7px;border-width:0 1px 1px 0}
#invitation .celebration-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid var(--line);border-radius:50%;background:linear-gradient(135deg,#e5e5e5,#fff 45%,#eee);box-shadow:inset 0 1px 2px #fff,0 2px 8px #3333330a;color:#626262;margin-bottom:1.4rem}
#invitation .celebration-icon svg{width:28px;height:28px}
#invitation .celebration-card h3{font-family:inherit;font-size:.9rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem}
#invitation .celebration-primary{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.5rem,4vw,1.9rem);line-height:1.35;color:var(--ink);overflow-wrap:anywhere;margin-bottom:.7rem}
#invitation .celebration-secondary{color:var(--muted);overflow-wrap:anywhere;white-space:pre-line}
#invitation .celebration-map{margin-top:1.3rem;font-size:.95rem}
#invitation .interlude-photo{width:100%;overflow:hidden;background:#171717;text-align:center;line-height:0}
#invitation .interlude-photo img{display:block;width:100%;height:auto;margin:0 auto}
#invitation .rsvp-section{background:#f3f3f3;border-top:1px solid var(--line)}
#invitation :is(input,textarea,select){border-color:#8c8c8c;border-radius:4px}
#invitation .choices label{border-color:#8c8c8c;border-radius:4px}
#invitation .choices label:has(input:checked){background:#e7e7e7;border-color:#333}
#invitation .rsvp-saved{background:#fff;border:1px solid var(--line);border-radius:4px;padding:1.7rem;margin-top:1.5rem}
#invitation .rsvp-saved h3{font-family:Georgia,"Times New Roman",serif;font-size:1.5rem;color:var(--ink);margin-bottom:.8rem}
#invitation .rsvp-saved dl{margin:1.5rem 0}
#invitation .rsvp-saved dt{font-size:.9rem;font-weight:600;color:var(--muted);margin-top:1rem}
#invitation .rsvp-saved dd{margin:.3rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#invitation .rsvp-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-top:1rem}
#invitation #registration-fields input{margin-bottom:1rem}
#invitation :is(.error,.success){color:#333;font-weight:600}
#invitation footer{background:#fff;color:var(--muted);border-top:1px solid var(--line)}
#invitation footer:before{content:"✧  XV  ✧";display:block;width:fit-content;margin:0 auto 1rem;padding:0 1.5rem;color:#777;font:1rem Georgia,serif;letter-spacing:.15em;border-inline:1px solid #bfc1c5}
#invitation .invitation-music{width:min(100%,350px);margin-top:1.7rem;border-top:1px solid var(--line);padding-top:1.2rem}
#invitation .invitation-music p{font-size:.9rem;margin:0 0 .7rem}
audio{display:block;width:100%;max-width:100%;height:54px}
#invitation.motion-ready .fifteen{animation:invitation-enter 700ms ease-out both}
#invitation.motion-ready .hero h1{animation:invitation-enter 700ms ease-out 90ms both}
#invitation.motion-ready #event-message{animation:invitation-enter 700ms ease-out 180ms both}
@keyframes invitation-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@supports (background-clip:text){
  #invitation .xv-lettering{color:transparent;background:linear-gradient(115deg,#626262 15%,#bfc1c5 40%,#dedede 50%,#bfc1c5 60%,#626262 85%);background-clip:text}
  #invitation.motion-ready .xv-lettering{background-image:linear-gradient(110deg,#626262 32%,#bfc1c5 43%,#fff 48%,#fff 52%,#bfc1c5 57%,#626262 68%);background-size:300% 100%;background-position:100% 50%;animation:xv-silver 5s ease-in-out 700ms infinite both}
}
@keyframes xv-silver{0%{background-position:100% 50%}28%,100%{background-position:0% 50%}}
@media(min-width:701px){
  #invitation .hero-card{width:min(100%,600px);min-height:calc(100svh - 3rem);aspect-ratio:auto;padding:2rem 3rem}
  #invitation .hero-card>:not(.hero-petals){flex-shrink:0}
  #invitation .hero .hero-prefix{font-size:min(17cqw,8svh);margin-top:auto;margin-bottom:1cqw}
  #invitation .fifteen{font-size:min(72cqw,34svh);margin-bottom:2cqw}
  #invitation .hero-divider{position:relative;top:auto;left:auto;width:85%;margin-bottom:1rem}
  #invitation .hero h1{font-size:min(25cqw,12svh);margin-bottom:1rem}
  #invitation .hero #event-message{font-size:clamp(1rem,3.8cqw,1.3rem);max-width:420px}
  #invitation .hero-scroll{margin-top:auto;padding-top:1.25rem}
  #invitation .hero-card:before,#invitation .hero-card:after{width:65px}
  #invitation .hero-petals{inset:3% 7% 50%}
  #invitation .hero-petals span{width:11px;height:14px}
  #invitation .hero-petals span:nth-child(3n){width:9px;height:12px}
}
@media(max-width:700px){
  #invitation .hero{padding:.5rem;min-height:100svh;overflow:visible;border-bottom:0}
  #invitation .hero-card{width:100%;min-height:calc(100svh - 1rem);aspect-ratio:auto;padding:1.4rem 1.6rem max(1.1rem,env(safe-area-inset-bottom));min-width:0}
  #invitation .hero .hero-prefix{font-size:min(19cqw,9svh);margin-top:auto}
  #invitation .fifteen{font-size:min(78cqw,34svh);margin-bottom:3cqw}
  #invitation .hero-divider{position:relative;top:auto;left:auto;width:85%;margin-bottom:1rem;flex-shrink:0}
  #invitation .hero h1{font-size:min(27cqw,13svh)}
  #invitation .hero-scroll{margin-top:auto;padding-top:1rem;flex-shrink:0}
  #invitation .hero .button{width:min(100%,17rem);min-height:48px}
  #invitation .invitation-music{margin-top:.75rem;padding-top:.6rem}
  #invitation .invitation-music p:empty{display:none}
  #invitation .event-grid{gap:1rem;margin-top:2rem}
  #invitation .celebration-card{padding:2rem 1.4rem}
  #invitation .choices label{margin-bottom:.7rem}
}
@media(prefers-reduced-motion:reduce){#invitation .opening-scroll svg{animation:none}#invitation:not(.petals-enabled) .hero-petals{display:none}#invitation.motion-ready :is(.fifteen,.hero h1,#event-message,.xv-lettering){animation:none}}

/* Galería y reproductor privados. */
.photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.3rem;margin-top:2rem}
.photo-card{padding:1rem;border:1px solid var(--line);border-radius:8px;min-width:0}
.photo-card img{width:100%;height:190px;object-fit:contain;background:#f5edf2;border-radius:5px}
.photo-card p{font-size:.9rem;overflow-wrap:anywhere;margin:.7rem 0}
.photo-card button{font-size:.9rem;width:100%}
#photo-form,#music-form{max-width:550px}
#music-current{max-width:550px;border-top:1px solid var(--line);padding-top:1.5rem;margin-top:1.5rem}
#music-current-title{font-weight:600;overflow-wrap:anywhere}
#music-current button{margin-top:1rem}
.tabs{flex-wrap:wrap}
#add-form select{margin-bottom:1rem}
.guest-list .table-scroll{overflow:visible}
.guest-list table,.guest-list tbody,.guest-list tr,.guest-list td{display:block;width:100%;min-width:0}
.guest-list table{min-width:0}
.guest-list thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.guest-list tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.guest-list tr{min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 8px #4436400a}
.guest-list td{display:grid;grid-template-columns:125px minmax(0,1fr);gap:.8rem;align-items:start;max-width:none;padding:.75rem .9rem;border-bottom:1px solid var(--line);white-space:normal}
.guest-list td:last-child{border-bottom:0}
.guest-list td:before{content:attr(data-label);color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding-top:.65rem}
.guest-list td:first-child{font-size:1rem;font-weight:600;background:#fcf8fa}
.guest-list td:first-child small{font-weight:400}
.guest-list td:first-child .sent-mark{width:fit-content;margin-top:.45rem;padding:.2rem .5rem;border-radius:999px;background:#e3eee7;color:#25553b;font-weight:700}
.guest-list td select{min-width:0;font-size:.9rem}
.companions-cell{grid-template-columns:125px 64px minmax(0,1fr)!important}
.companions-cell:before{grid-row:1;align-self:start}
.companions-cell input{width:100%;min-width:0;margin:0}
.guest-list .actions{min-width:0;display:grid;grid-template-columns:1fr 1fr}
.guest-list .actions>*{white-space:normal}
.guest-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;min-width:240px}
.guest-edit-form input{grid-column:1/-1;margin:0;font-weight:400}
.guest-edit-form button{min-height:40px;padding:.4rem .7rem;font-size:.85rem}
@media(max-width:1050px){.guest-list tbody{grid-template-columns:1fr}}
@media(max-width:700px){.photo-gallery{grid-template-columns:1fr 1fr;gap:.7rem}.photo-card{padding:.6rem}.photo-card img{height:150px}.tabs button{font-size:.85rem;padding:.8rem .6rem}}
@media(max-width:430px){
  .guest-list td{grid-template-columns:1fr;gap:.35rem}
  .guest-list td:before{padding-top:0}
  .companions-cell{grid-template-columns:64px minmax(0,1fr)!important}
  .companions-cell:before{grid-column:1/-1}
  .guest-list .actions{grid-template-columns:1fr}
  .guest-edit-form{min-width:0}
}
