/* Rounded, quiet controls; expressive decoration stays outside real photos. */
html[data-wedding-style] .media,html[data-wedding-style] .gallery:not(.album-list) .media:nth-child(n){border-radius:24px;padding:8px 8px 0;overflow:hidden;box-shadow:0 12px 32px #25191012}
html[data-wedding-style] .media img{border-radius:18px}html[data-wedding-style] .event-heading{border-radius:30px}html[data-wedding-style] .event-heading:after{display:none}
html[data-wedding-style] button,html[data-wedding-style] .button,html[data-wedding-style] input,html[data-wedding-style] select{border-radius:16px}html[data-wedding-style] .event-dock button{border-radius:22px}.de-polaroid{border-radius:18px}.de-sample-art{border-radius:12px}
html[data-wedding-style] #eventDate{color:var(--muted)}html[data-wedding-style] #eventDate:before,.de-invitation>p:first-child:before{content:'';display:inline-block;width:34px;height:34px;vertical-align:middle;margin:0 10px 0 0;flex-shrink:0;background:var(--ornament);border:0;border-radius:0;box-shadow:none;mask:var(--event-icon) center/contain no-repeat}
[data-event-symbol=none] #eventDate:before,[data-event-symbol=none] .de-invitation>p:first-child:before{display:none}
.rich-decoration{position:absolute;inset:0;overflow:hidden}.premium-spark{position:absolute;left:var(--spark-x);top:var(--spark-y);width:var(--spark-size);height:var(--spark-size);background:currentColor;clip-path:polygon(50% 0,62% 36%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 36%)}.premium-spark:nth-child(3n){color:var(--accent)}.premium-spark:nth-child(5n){border-radius:50%;clip-path:none;width:4px;height:4px}
html:is([data-wedding-style=seaside],[data-wedding-style=festival]) body>.wedding-art{opacity:var(--decor-opacity)}
[data-decor-level="3"] .wedding-art .motif-confetti,[data-decor-level="4"] .wedding-art .motif-confetti{opacity:1;stroke-width:7}
.decor-firework{position:absolute;left:var(--burst-x);top:var(--burst-y);width:1px;height:1px}.decor-firework i{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--ornament);opacity:0}.decor-firework:nth-child(2n) i{background:var(--accent)}
@media(prefers-reduced-motion:no-preference){[data-decor-level="3"] .premium-spark,[data-decor-level="4"] .premium-spark{animation:premium-twinkle 7s ease-in-out infinite;animation-delay:var(--spark-delay)}.decor-firework i{animation:premium-firework 14s ease-out infinite;animation-delay:var(--burst-delay)}}
@keyframes premium-twinkle{0%,100%{opacity:.3;transform:scale(.7)}50%{opacity:1;transform:scale(1.2)}}
@keyframes premium-firework{0%,69%,100%{opacity:0;transform:translate(0,30px) scale(.2)}73%{opacity:.9;transform:translate(0,0) scale(.5)}86%{opacity:0;transform:translate(var(--ray-x),var(--ray-y)) scale(.4)}}
@media(prefers-reduced-motion:reduce){.decor-firework{display:none}}
.design-editor[open]{height:min(850px,96dvh);max-height:96dvh;display:flex;flex-direction:column;overflow:hidden}.design-editor .de-header{flex-shrink:0;padding-block:16px 6px}.design-editor .de-header h2{font-size:28px}.design-editor .de-status{flex-shrink:0;margin-bottom:10px;padding:8px 12px}.design-editor .de-layout{flex:1;min-height:0;overflow:hidden;align-items:stretch;padding-bottom:10px;gap:20px}.design-editor .de-controls{overflow:auto;padding-right:8px;padding-bottom:20px}.design-editor .de-preview-column{display:flex;flex-direction:column;min-height:0;overflow:auto;gap:8px}.design-editor .de-footer{position:static;flex-shrink:0;padding-block:12px}.de-preview-toolbar{position:sticky;top:0;z-index:3;display:flex;flex-wrap:wrap;gap:8px;background:#faf6f0;padding-bottom:6px}.de-preview-toolbar label{flex:1 1 140px;font-size:12px;font-weight:bold;display:flex;flex-direction:column;gap:5px}.de-preview-toolbar select{max-width:100%;width:100%;font-size:12px}.de-preview-toolbar .de-symbol{min-width:110px}.de-tabs{margin:0}.de-demo{font-size:10px;margin:0}.design-editor .design-preview{min-height:440px;flex:1;flex-shrink:0}.design-editor .de-preview-content{padding-top:18px}.design-editor .de-invitation{padding-block:12px}.design-editor .de-invitation h2{font-size:36px}.de-level-steps{font-size:11px;line-height:1.6;color:#705c51;margin:0}.design-editor .de-warning{font-size:11px}
.upload-window-small{font-size:11px;line-height:1.6;color:var(--muted);margin:28px 8px 0;padding:0;background:none;border:0;box-shadow:none}.upload-window-small p{margin:0}.moderation-alert{margin:12px 0;border:1px solid var(--ornament);border-radius:20px;padding:16px;background:var(--paper);color:var(--ink)}.moderation-alert p{font-size:13px;margin:8px 0}.moderation-alert.is-urgent{border:2px solid var(--accent)}.moderation-alert button{font-size:12px;margin-right:8px}.moderation-alert .moderation-status{font-size:11px;color:var(--muted)}
@media(max-width:720px){.design-editor[open]{width:98vw;height:98dvh;max-height:98dvh}.design-editor .de-header{padding:10px 14px 4px}.design-editor .de-header h2{font-size:21px;margin-block:5px}.design-editor .de-header small{font-size:9px}.design-editor .de-event{font-size:11px}.design-editor .de-status{font-size:11px;line-height:1.3;margin:4px 14px 8px}.design-editor .de-layout{display:flex;flex-direction:column;padding:0 14px;gap:10px}.design-editor .de-preview-column{order:-1;max-width:none;flex:0 0 auto;height:260px;overflow:hidden}.design-editor .de-preview-toolbar{position:static;flex-wrap:nowrap;padding:0}.design-editor .de-preview-toolbar label{min-width:0}.design-editor .de-preview-toolbar select{padding:6px;min-height:34px}.design-editor .de-tabs,.design-editor .de-demo{display:none}.design-editor .design-preview{min-height:0;height:185px;flex:1;border-radius:20px}.design-editor .de-preview-content{padding:12px;display:flex;align-items:center;justify-content:space-around;gap:8px;height:100%}.design-editor .de-preview-content>small{display:none!important}.design-editor .de-invitation{padding:8px!important;margin:0!important;max-width:70%;border-radius:18px!important}.design-editor .de-invitation h2{font-size:25px;margin:6px 0}.design-editor .de-invitation p{font-size:10px;margin:5px 0}.design-editor .de-invitation>p:first-child:before{width:24px;height:24px;margin-right:5px}.design-editor .de-share{font-size:10px;padding:10px;margin:0}.design-editor .de-sample-album,.design-editor .de-preview-dock{display:none}.design-editor .de-controls{flex:1;min-height:0;gap:12px}.design-editor .de-footer{padding:10px 14px;font-size:10px}.design-editor .de-footer button{min-height:40px;font-size:12px}}
