/* Event presentation: shared by administration preview and the TV player. */
.evd-stage,.evd-stage *{box-sizing:border-box}
.evd-stage{height:100%;width:100%;display:flex;flex-direction:column;position:relative;isolation:isolate;background:var(--evd-bg,#163f2d);color:var(--evd-fg,#fff);font-family:Arial,Helvetica,sans-serif;container-type:inline-size;overflow:hidden}
.evd-body{flex:1;min-height:0;position:relative}
.evd-stage.with-qr .evd-body{padding-right:15cqw}
.evd-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 12% 0,#ffffff20,transparent 52%),radial-gradient(ellipse at 95% 90%,#00000018,transparent 52%);pointer-events:none}
.evd-stage.theme-rustig:before{display:none}
.evd-cover{height:100%;min-height:0;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;padding:4cqw 3cqw;overflow:hidden}
.evd-cover:before{content:'';position:absolute;inset:2cqw;border:1px solid var(--evd-line,#ffffff55);border-radius:1cqw;pointer-events:none}
.evd-cover.feestelijk:after{content:'';position:absolute;width:29cqw;height:29cqw;right:-7cqw;top:-12cqw;border:1.7cqw solid var(--evd-line,#ffffff55);border-radius:50%;opacity:.38;box-shadow:0 0 0 3cqw #ffffff09,0 0 0 8cqw #ffffff05;pointer-events:none;animation:evd-glow 9s ease-in-out infinite alternate}
.evd-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:calc(1.9cqw * var(--evd-scale,1));width:100%;flex-shrink:0}
.evd-copy>*{max-width:100%;overflow-wrap:anywhere}
.evd-copy span{font-size:calc(1.6cqw * var(--evd-scale,1));letter-spacing:.38cqw;text-transform:uppercase;color:var(--evd-soft,#ffffffb8)}
.evd-copy strong{font-family:Georgia,serif;font-size:calc(7.5cqw * var(--evd-scale,1));line-height:1.07;font-weight:400}
.evd-copy b{font-family:Georgia,serif;font-weight:400;font-size:calc(11cqw * var(--evd-scale,1));line-height:1.04}
.evd-copy p{font-size:calc(2.3cqw * var(--evd-scale,1));line-height:1.35;margin:0;max-width:92%}
.evd-cover.rustig:before{border:0}
.evd-cover.rustig strong{font-family:Arial,sans-serif}
.evd-cover.persoonlijk{text-align:left;padding-left:5cqw}
.evd-cover.persoonlijk .evd-copy{align-items:flex-start}
.evd-cover.persoonlijk:before{border-width:0 0 0 2px;border-radius:0}
.evd-stage footer{display:flex;flex:0 0 3.2cqw;min-height:0;align-items:center;justify-content:space-between;gap:2cqw;padding:.6cqw 1.2cqw;font-size:1.2cqw;line-height:1.4;border-top:1px solid var(--evd-line,#ffffff55)}
.evd-stage footer strong{font-weight:700;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evd-stage footer span{max-width:50%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evd-album{height:100%;min-height:0;padding:.7cqw;display:flex}
.evd-photos{display:grid;flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:.8cqw}
.evd-photos.single{grid-template-columns:1fr}
.evd-photos figure{margin:0;min-height:0;min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;border-radius:.3cqw}
.evd-photos img{width:100%;flex:1;min-height:0;height:0;object-fit:contain;display:block}
.evd-photos figcaption{flex:none;color:var(--evd-fg,#fff);padding:.4cqw .8cqw;font-size:1.3cqw;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;text-align:center}
.evd-qr-card{position:absolute;right:1cqw;bottom:4.3cqw;width:13cqw;background:#fff;color:#172b25;border:.24cqw solid var(--evd-bg,#163f2d);outline:.12cqw solid #ffffffd9;border-radius:1cqw;box-shadow:0 .4cqw 1.4cqw #00000026;padding:.85cqw .5cqw .9cqw;text-align:center;z-index:2}
.evd-qr-eyebrow{display:block;font-size:1.02cqw;font-weight:700;line-height:1.25;letter-spacing:.015cqw}
.evd-qr{width:100%;aspect-ratio:1;background:#fff;margin:.15cqw 0 .1cqw}
.evd-qr img{display:block;width:100%;height:100%;image-rendering:pixelated}
.evd-qr-card strong{display:block;font-size:1.42cqw;line-height:1.2}
.evd-qr-card small{display:block;font-size:.81cqw;line-height:1.4;color:#56645e;margin-top:.5cqw}
.evd-sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.evd-sparkles i{position:absolute;left:6%;top:13%;height:.75cqw;width:.3cqw;border-radius:2px;background:var(--evd-fg,#fff);opacity:.35;transform:rotate(24deg);animation:evd-sparkle 7s ease-in-out infinite alternate}
.evd-sparkles i:nth-child(2){left:23%;top:7%;animation-delay:-2s;transform:rotate(74deg)}
.evd-sparkles i:nth-child(3){left:42%;top:15%;animation-delay:-4s;border-radius:50%;width:.5cqw;height:.5cqw}
.evd-sparkles i:nth-child(4){left:69%;top:9%;animation-delay:-6s}
.evd-sparkles i:nth-child(5){left:88%;top:28%;animation-delay:-1s}
.evd-sparkles i:nth-child(6){left:95%;top:57%;animation-delay:-3s;transform:rotate(84deg)}
.evd-sparkles i:nth-child(7){left:84%;top:84%;animation-delay:-5s}
.evd-sparkles i:nth-child(8){left:62%;top:91%;animation-delay:-2s;border-radius:50%;width:.5cqw;height:.5cqw}
.evd-sparkles i:nth-child(9){left:41%;top:82%;animation-delay:-4s}
.evd-sparkles i:nth-child(10){left:20%;top:92%;animation-delay:-1s;transform:rotate(75deg)}
.evd-sparkles i:nth-child(11){left:9%;top:73%;animation-delay:-6s}
.evd-sparkles i:nth-child(12){left:3%;top:41%;animation-delay:-3s;border-radius:50%;width:.5cqw;height:.5cqw}
.evd-stage:not(.theme-rustig) .evd-photos,.evd-stage:not(.theme-rustig) .evd-copy{animation:evd-reveal .4s ease-out both}
@keyframes evd-reveal{from{opacity:.25}to{opacity:1}}
@keyframes evd-glow{from{transform:translateY(0) scale(1)}to{transform:translateY(1.2cqw) scale(1.04)}}
@keyframes evd-sparkle{from{opacity:.2;translate:0 0}to{opacity:.5;translate:0 -.7cqw}}
@media(prefers-reduced-motion:reduce){.evd-stage *,.evd-stage *:before,.evd-stage *:after{animation:none!important}}
#event-overlay{position:fixed;inset:0;z-index:10000;background:#163f2d;color:#fff}#event-overlay[hidden]{display:none!important}
.event-preview-page{margin:0;background:#142f24;font-family:Arial,sans-serif}.event-preview-page #event-preview-screen{width:100vw;height:100vh}
.event-preview-tools{position:fixed;top:12px;left:12px;z-index:10001;background:#fff;color:#173b2d;padding:10px 14px;border-radius:8px;font:14px Arial,sans-serif;max-width:calc(100vw - 24px)}.event-preview-tools summary{cursor:pointer;margin-top:8px}.event-preview-tools input,.event-preview-tools button{font:inherit;margin-top:10px;padding:7px}.event-preview-tools label{display:block}

/* Persistent decoration surrounds every slide; photos and QR are always above it. */
.evd-body{z-index:1}
.evd-stage footer{position:relative;z-index:2;background:var(--evd-bg,#163f2d)}
.evd-stage.with-qr .evd-body{padding-right:21cqw}
.evd-stage.is-decorated .evd-album{padding:1.8cqw}
.evd-side-title{display:none;position:absolute;z-index:2;right:1.2cqw;top:2.3cqw;width:18cqw;text-align:center;line-height:1.15;overflow-wrap:anywhere}
.evd-stage.is-photo.with-qr .evd-side-title{display:flex;flex-direction:column;gap:.5cqw}
.evd-side-title small{font-size:1.1cqw;letter-spacing:.09cqw;text-transform:uppercase}
.evd-side-title strong{font-family:Georgia,serif;font-size:3cqw;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.evd-side-title span{font-size:1.5cqw;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.evd-qr-card{width:18cqw;right:1.2cqw;background:var(--evd-card-bg,#25453a);color:#fff7d0;border:0;outline:0;border-radius:1cqw;padding:.9cqw .85cqw;box-shadow:0 .5cqw 1cqw #00000030}
.evd-qr-eyebrow{font-size:1.25cqw;padding-bottom:.45cqw}
.evd-qr{margin:.2cqw 0 .55cqw;border-radius:.5cqw;overflow:hidden}
.evd-qr-card strong{font-size:1.6cqw}
.evd-qr-card small{font-size:1.05cqw;color:#fff3d2;margin-top:.45cqw}
.theme-confetti,.theme-feestelijk{--evd-card-bg:#54215d}
.theme-confetti .evd-qr-card,.theme-feestelijk .evd-qr-card{background:linear-gradient(145deg,#612765,#351840)}
.theme-confetti .evd-qr-eyebrow,.theme-feestelijk .evd-qr-eyebrow{border-bottom:1px dashed #ffffff55}
.theme-slingers{--evd-card-bg:#07575c}
.theme-slingers .evd-qr-card{border-top:.45cqw solid #f0619c;border-bottom:.45cqw solid #f0619c;border-radius:.4cqw}
.theme-sterren{--evd-card-bg:#63417f}
.theme-sterren .evd-qr-card{border:1px solid #fff3c1;box-shadow:0 0 0 .4cqw #a86a3d66;border-radius:1.8cqw .5cqw 1.8cqw .5cqw}
.theme-ballonnen{--evd-card-bg:#913762}
.theme-ballonnen .evd-qr-card{border-radius:2.8cqw 2.8cqw .8cqw .8cqw;border:1px solid #fff2ae;padding-top:1.2cqw}
.theme-disco{--evd-card-bg:#482975}
.theme-disco .evd-qr-card{box-shadow:.4cqw .4cqw 0 #e3528c,-.35cqw -.35cqw 0 #00a0a4;border-radius:.45cqw}
.theme-disco .evd-side-title strong{font-family:Arial,sans-serif;font-weight:700;letter-spacing:-.1cqw}
.evd-decor{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:.85}
.evd-confetto{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:calc(var(--s)*1.5);background:var(--c);transform:rotate(var(--r));animation:evd-confetti var(--d) ease-in-out var(--delay) infinite alternate}
.evd-confetto.round{border-radius:50%;height:var(--s)}
.evd-stream{position:absolute;left:var(--x);top:var(--y);width:13cqw;height:7cqw;border:.65cqw solid var(--c);border-bottom-color:transparent;border-left-color:transparent;border-radius:50%;transform:rotate(var(--r));animation:evd-sway var(--d) ease-in-out var(--delay) infinite alternate}
.evd-flagline{position:absolute;left:2%;right:3%;top:-2%;height:7%;border-bottom:1px solid var(--evd-line);border-radius:0 0 50% 50%;display:flex;justify-content:space-around;align-items:flex-end;animation:evd-flags 7s ease-in-out infinite alternate}
.evd-flag{width:2.4cqw;height:3.3cqw;background:var(--c);clip-path:polygon(0 0,100% 0,50% 100%);translate:0 2.7cqw;transform:rotate(var(--r))}
.evd-star{position:absolute;left:var(--x);top:var(--y);width:var(--s);aspect-ratio:1;background:var(--c);clip-path:polygon(50% 0,62% 35%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 35%);animation:evd-stars var(--d) ease-in-out var(--delay) infinite alternate}
.evd-star.five{clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,80% 94%,50% 72%,20% 94%,32% 57%,2% 35%,39% 35%)}
.evd-balloon{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:calc(var(--s)*1.22);background:radial-gradient(ellipse at 30% 25%,#ffffffaa,transparent 42%),var(--c);border-radius:49% 49% 47% 47%;animation:evd-balloon var(--d) ease-in-out var(--delay) infinite alternate;box-shadow:inset -.5cqw -.3cqw 0 #0000000d}
.evd-balloon:before{content:'';position:absolute;left:44%;bottom:-.6cqw;width:.9cqw;height:.7cqw;clip-path:polygon(50% 0,100% 100%,0 100%);background:var(--c)}
.evd-balloon:after{content:'';position:absolute;left:48%;top:calc(100% + .4cqw);width:1.8cqw;height:7cqw;border-left:1px solid var(--evd-line);border-radius:50%;rotate:-8deg}
.evd-disco-dot{position:absolute;left:var(--x);top:var(--y);width:var(--s);aspect-ratio:1;border-radius:50%;background:var(--c);opacity:.4;animation:evd-disco var(--d) ease-in-out var(--delay) infinite alternate}
.evd-disco-ring{position:absolute;width:25cqw;aspect-ratio:1;border:.5cqw solid #ec32928c;border-radius:50%;left:-17%;top:5%;animation:evd-disco 12s ease-in-out infinite alternate}
.evd-disco-ring.second{left:85%;top:52%;border-color:#17759288;width:24cqw;animation-delay:-6s}
@keyframes evd-confetti{from{translate:0 -.35cqw;rotate:0deg}to{translate:1.1cqw 1.7cqw;rotate:120deg}}
@keyframes evd-sway{from{translate:0 0;rotate:-12deg}to{translate:1.1cqw .8cqw;rotate:15deg}}
@keyframes evd-flags{from{translate:0 -.1cqw;rotate:-.6deg}to{translate:0 .5cqw;rotate:.6deg}}
@keyframes evd-stars{from{scale:.7;rotate:-15deg;opacity:.55}to{scale:1.15;rotate:20deg;opacity:1}}
@keyframes evd-balloon{from{translate:0 .7cqw;rotate:-7deg}to{translate:1.2cqw -2cqw;rotate:7deg}}
@keyframes evd-disco{from{translate:-1cqw -.7cqw;scale:.8}to{translate:2.4cqw 1.5cqw;scale:1.2}}
@media(prefers-reduced-motion:reduce){.evd-decor *{animation:none!important}}
