/* Three coordinated palettes and three invitation-card treatments. */
.arabic{max-width:100%;min-height:1em;margin:0 auto 20px;overflow-wrap:anywhere;font-size:clamp(29px,5vw,52px);line-height:1.6;text-align:center}.couple-photo-wrap{width:142px;height:142px;margin:0 auto 20px;padding:5px;border:2px solid #e0bb3e;border-radius:50%;background:#f5e8ad;box-shadow:0 8px 24px #0004}.couple-photo-wrap[hidden]{display:none}.couple-photo-wrap img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.body-photo .invite-card h1{font-size:clamp(35px,7vw,61px)}
body[data-theme="hindu"]{--gold:#e3a523;--green:#6a2721;--green2:#7d3025;--cream:#fff8ec;--ink:#462b27}body[data-theme="hindu"] .hero{background:radial-gradient(ellipse at center,#bd7650 0%,#7b342a 44%,#4d211f 100%)}body[data-theme="hindu"] .hero:before{opacity:.35;background-image:radial-gradient(ellipse at 15% 30%,#ffdf8b 0 2px,transparent 3px),radial-gradient(ellipse at 80% 70%,#ffdf8b 0 2px,transparent 3px),repeating-linear-gradient(45deg,transparent 0 38px,#f7c56815 39px 41px,transparent 42px 80px);background-size:78px 78px,78px 78px,auto}body[data-theme="hindu"] .card-border{border-color:#efb844}body[data-theme="hindu"] .invite-card h1{color:#ffe8a0}body[data-theme="hindu"] .hero-flower{color:#ffdc85}body[data-theme="hindu"] .footer{background:linear-gradient(130deg,#8c3829,#53201d)}
body[data-theme="christian"]{--gold:#c5a56b;--green:#324f67;--green2:#45657a;--cream:#f4f7f8;--ink:#293d4c}body[data-theme="christian"] .hero{background:radial-gradient(ellipse at center,#778d9c 0%,#385d72 43%,#193849 100%)}body[data-theme="christian"] .hero:before{opacity:.3;background-image:radial-gradient(ellipse at 15% 30%,#f2e6c8 0 2px,transparent 3px),radial-gradient(ellipse at 80% 70%,#f2e6c8 0 2px,transparent 3px),repeating-linear-gradient(45deg,transparent 0 38px,#d8e7ed15 39px 41px,transparent 42px 80px);background-size:78px 78px,78px 78px,auto}body[data-theme="christian"] .card-border{border-color:#d7c18d}body[data-theme="christian"] .invite-card h1{color:#f5e4b5}body[data-theme="christian"] .hero-flower{color:#dbe8e6}body[data-theme="christian"] .footer{background:linear-gradient(130deg,#35566b,#193849)}
body[data-design="floral"] .invite-card{border-radius:12px;background:#eadfc12c}body[data-design="floral"] .card-border{border-radius:8px;border-style:double;border-width:4px}body[data-design="floral"] .hero-flower{opacity:.29;font-size:clamp(240px,40vw,530px)}body[data-design="classic"] .invite-card{border:0;background:transparent;box-shadow:none;backdrop-filter:none}body[data-design="classic"] .card-border{border-radius:0;border-width:1px}body[data-design="classic"] .hero:after{inset:30px;border-color:#d0b34a90}body[data-design="royal"] .invite-card{box-shadow:0 20px 70px #0004,0 0 0 5px #e6dbb315}
@media(max-width:600px){.couple-photo-wrap{width:112px;height:112px}.arabic{font-size:clamp(27px,8vw,42px)}.body-photo .invite-card h1{font-size:clamp(30px,9vw,44px)}}
.background-field{grid-column:1/-1;min-width:0;margin:0;padding:12px;border:1px solid #e3e6df;border-radius:10px}.background-field legend{padding:0 6px;color:#5b655e;font-size:11px;font-weight:700}.background-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.background-options label{position:relative;display:grid!important;justify-items:center;gap:7px!important;padding:9px 5px;border:1px solid transparent;border-radius:8px;text-align:center;font-size:10px!important;font-weight:500!important;cursor:pointer}.background-options label:has(input:checked){border-color:#c9a534;background:#fffdf6;box-shadow:0 0 0 2px #c9a53420}.background-options input{position:absolute;width:1px;height:1px;opacity:0}.swatch{width:38px;height:30px;border:1px solid #ffffff88;border-radius:8px;box-shadow:0 2px 5px #15271f30}.swatch-emerald{background:linear-gradient(135deg,#27533d,#052d23)}.swatch-marigold{background:linear-gradient(135deg,#c77b39,#62251e)}.swatch-midnight{background:linear-gradient(135deg,#506b88,#172b46)}.swatch-rose{background:linear-gradient(135deg,#b77f87,#593742)}.swatch-ivory{background:linear-gradient(135deg,#998b71,#4f493f)}
body[data-background="emerald"] .hero{background:radial-gradient(ellipse at 50% 45%,#61765c 0%,#285340 47%,#063529 100%)}body[data-background="emerald"] .footer{background:linear-gradient(135deg,#17533c,#042e23)}
body[data-background="marigold"] .hero{background:radial-gradient(ellipse at 50% 42%,#ba8952 0%,#854535 50%,#4e2522 100%)}body[data-background="marigold"] .hero:before{background-image:radial-gradient(ellipse at 15% 30%,#ffdfa0 0 2px,transparent 3px),radial-gradient(ellipse at 80% 70%,#ffdfa0 0 2px,transparent 3px),repeating-linear-gradient(45deg,transparent 0 36px,#fff1c018 37px 39px,transparent 40px 78px);background-size:78px 78px,78px 78px,auto}body[data-background="marigold"] .footer{background:linear-gradient(135deg,#853d2e,#4c211e)}
body[data-background="midnight"] .hero{background:radial-gradient(ellipse at 50% 38%,#64758b 0%,#344c68 47%,#17283f 100%)}body[data-background="midnight"] .hero:before{background-image:radial-gradient(ellipse at 15% 30%,#ecdca7 0 2px,transparent 3px),radial-gradient(ellipse at 80% 70%,#ecdca7 0 2px,transparent 3px),repeating-linear-gradient(45deg,transparent 0 36px,#d7e8f018 37px 39px,transparent 40px 78px);background-size:78px 78px,78px 78px,auto}body[data-background="midnight"] .footer{background:linear-gradient(135deg,#344d6b,#17283f)}
body[data-background="rose"] .hero{background:radial-gradient(ellipse at 50% 42%,#a77479 0%,#744551 50%,#432c39 100%)}body[data-background="rose"] .hero:before{background-image:radial-gradient(ellipse at 15% 30%,#f5d5bd 0 2px,transparent 3px),radial-gradient(ellipse at 80% 70%,#f5d5bd 0 2px,transparent 3px),repeating-linear-gradient(45deg,transparent 0 36px,#ffe8e018 37px 39px,transparent 40px 78px);background-size:78px 78px,78px 78px,auto}body[data-background="rose"] .footer{background:linear-gradient(135deg,#704651,#412a38)}
body[data-background="ivory"] .hero{background:radial-gradient(ellipse at 50% 44%,#8b806b 0%,#5f594b 49%,#393b34 100%)}body[data-background="ivory"] .hero:before{opacity:.21;background-image:repeating-linear-gradient(45deg,transparent 0 37px,#fbf0da22 38px 40px,transparent 41px 80px)}body[data-background="ivory"] .footer{background:linear-gradient(135deg,#575243,#30372f)}
.background-art{display:none}.swatch-temple{background:radial-gradient(circle at 50% 50%,#f8e9b4 0 15%,#d3a942 16% 25%,#8e3d24 26% 64%,#3b1b17 65%)}
body[data-background="temple-gold"] .hero{background:radial-gradient(ellipse at 50% 46%,#a87637 0%,#713b27 50%,#3a201c 100%)}body[data-background="temple-gold"] .hero:before{opacity:.34;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23edc86c' stroke-opacity='.52' stroke-width='1.5'%3E%3Ccircle cx='110' cy='110' r='75'/%3E%3Ccircle cx='110' cy='110' r='58'/%3E%3Ccircle cx='110' cy='110' r='34'/%3E%3Cpath d='M110 24c14 22 25 32 48 40-8 23-8 37 0 60-23 8-34 19-48 42-14-23-25-34-48-42 8-23 8-37 0-60 23-8 34-18 48-40Z'/%3E%3Cpath d='M110 3c8 18 13 24 30 30-6 17-6 24 0 41-17 6-22 12-30 30-8-18-13-24-30-30 6-17 6-24 0-41 17-6 22-12 30-30Z' transform='rotate(45 110 110)'/%3E%3Cpath d='M110 3c8 18 13 24 30 30-6 17-6 24 0 41-17 6-22 12-30 30-8-18-13-24-30-30 6-17 6-24 0-41 17-6 22-12 30-30Z' transform='rotate(90 110 110)'/%3E%3Cpath d='M110 3c8 18 13 24 30 30-6 17-6 24 0 41-17 6-22 12-30 30-8-18-13-24-30-30 6-17 6-24 0-41 17-6 22-12 30-30Z' transform='rotate(135 110 110)'/%3E%3C/g%3E%3C/svg%3E");background-size:220px 220px;opacity:.5}body[data-background="temple-gold"] .hero-flower{display:none}body[data-background="temple-gold"] .background-art{position:absolute;inset:0;display:block;overflow:hidden;pointer-events:none;color:#f5d887}.om-mark,.mandala-mark{position:absolute;top:50%;font-family:"Noto Sans Devanagari",serif;font-size:clamp(190px,28vw,370px);line-height:1;opacity:.15;transform:translateY(-50%);text-shadow:0 5px 35px #ffd56842}.om-mark{left:-.07em}.mandala-mark{right:-.08em;font-family:serif;opacity:.16}body[data-background="temple-gold"] .card-border{border-color:#f1cb69}body[data-background="temple-gold"] .invite-stamp{border-color:#f1cb69;color:#ffe290}body[data-background="temple-gold"] .footer{background:radial-gradient(ellipse at top,#87532f,#3a201c)}
.timer[hidden]{display:none!important}
@media(max-width:520px){.background-options{grid-template-columns:repeat(3,minmax(0,1fr))}.background-options label{font-size:9px!important}}
.couple-photo-wrap{width:200px;height:200px;margin-bottom:25px;border-width:3px;box-shadow:0 10px 35px #0006,0 0 0 7px #e0bb3e30}.couple-photo-wrap img{object-position:center}.couple-photo-wrap[hidden]{display:none!important}@media(max-width:600px){.couple-photo-wrap{width:154px;height:154px;margin-bottom:17px}}
.deity-background{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;opacity:.22;filter:saturate(.76) contrast(1.04);mix-blend-mode:soft-light;pointer-events:none}.deity-background[hidden]{display:none!important}body[data-theme="hindu"] .deity-background:not([hidden]){opacity:.26}body[data-background="temple-gold"] .deity-background:not([hidden]){opacity:.34;mix-blend-mode:luminosity}body[data-design="floral"] .deity-background:not([hidden]){opacity:.3;filter:saturate(.8) blur(.2px)}.art-credit{margin:14px auto 0;color:#d5dcd5;font-size:10px}.art-credit a{color:#ead589;text-decoration:underline;text-underline-offset:3px}
