/* AQDERA Sprint 13 — Full invitation continues each theme world (Canva pass) */
body[data-theme-world]{
  background-color:var(--tw-bg,var(--theme-bg,#0a0908));
  color:var(--theme-ink,var(--tw-ink,#f3e5c2));
}
body[data-theme-world]::before{
  content:"";
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:var(--tw-artwork-image,none);
  background-size:cover;background-position:center top;
  opacity:.18;filter:saturate(.92) contrast(1.02);
}
body[data-theme-world] .couple-names,
body[data-theme-world] .invitation-card h1,
body[data-theme-world] #hostNames{
  font-family:var(--tw-font-name,var(--font-display-en,var(--theme-display-font,Georgia,serif)));
  font-weight:var(--tw-name-weight,600);
  letter-spacing:var(--tw-letter-name,.06em);
  color:var(--theme-ink);
  overflow-wrap:anywhere;
  text-wrap:balance;
  max-width:100%;
}
html[lang="ar"] body[data-theme-world] .couple-names,
html[lang="ar"] body[data-theme-world] .invitation-card h1,
html[lang="ar"] body[data-theme-world] #hostNames{
  font-family:var(--tw-font-name,var(--font-display-ar,var(--theme-display-font,Georgia,serif)));
}
body[data-theme-world] .invitation-card,
body[data-theme-world] .invitation-sheet{
  font-family:var(--tw-font-body,var(--theme-body-font,Georgia,serif));
  background:color-mix(in srgb,var(--theme-surface,#fff) 92%,transparent);
  border-color:var(--theme-line);
  color:var(--theme-ink);
}
body[data-theme-world] .invitation-card h1:not(.couple-names),
body[data-theme-world] .section-shell>h2,
body[data-theme-world] .kicker,
body[data-theme-world] .section-kicker,
body[data-theme-world] .event-label{
  font-family:var(--tw-font-display,var(--theme-display-font,Georgia,serif));
}
body[data-theme-world] .hero-monogram,
body[data-theme-world] .invite-seal,
body[data-theme-world] .invite-monogram{
  font-family:var(--tw-font-name,var(--theme-display-font,Georgia,serif));
  letter-spacing:var(--tw-letter-opening,.12em);
  color:var(--theme-accent);
  display:inline-grid !important;
  grid-template-columns:max-content max-content max-content;
  grid-auto-flow:column;
  align-items:center;
  writing-mode:horizontal-tb !important;
  direction:ltr !important;white-space:nowrap !important;
}
body[data-theme-world] .hero-monogram.is-solo,
body[data-theme-world] .invite-seal.is-solo,
body[data-theme-world] .invite-monogram.is-solo{
  grid-template-columns:max-content;
}
body[data-theme-world] .hero-monogram.is-ar,
body[data-theme-world] .invite-seal.is-ar,
body[data-theme-world] .invite-monogram.is-ar{
  font-family:var(--tw-font-opening-ar,var(--font-display-ar),"Aref Ruqaa",Amiri,serif);
  letter-spacing:.06em;font-style:normal;
}
body[data-theme-world] .hero-monogram .mono-amp,
body[data-theme-world] .invite-seal .mono-amp,
body[data-theme-world] .invite-monogram .mono-amp{
  font-family:"Times New Roman",Times,Georgia,serif !important;
  font-style:italic;font-weight:400;
  background:none !important;border:0 !important;transform:none !important;
}
body[data-theme-world] .hero-monogram::before,
body[data-theme-world] .hero-monogram::after,
body[data-theme-world] .invite-seal::before,
body[data-theme-world] .invite-seal::after,
body[data-theme-world] .invite-monogram::before,
body[data-theme-world] .invite-monogram::after{
  content:none !important;display:none !important;
  background:none !important;border:0 !important;box-shadow:none !important;
  width:0 !important;height:0 !important;
}
body[data-theme-world] .ceremonial-opening,
body[data-theme-world] .date-block,
body[data-theme-world] .countdown,
body[data-theme-world] .story-section,
body[data-theme-world] .location-section,
body[data-theme-world] .rsvp-section,
body[data-theme-world] .invite-footer,
body[data-theme-world] footer{
  color:var(--theme-ink);
}
body[data-theme-world] .ornament,
body[data-theme-world] .sheet-rule{
  background:linear-gradient(90deg,transparent,var(--theme-accent),transparent);
  height:1px;opacity:.85;
}
body[data-theme-world] .countdown-row>div,
body[data-theme-world] .count-unit{
  border-color:color-mix(in srgb,var(--theme-line) 80%,transparent);
  background:color-mix(in srgb,var(--theme-surface) 70%,transparent);
}
body[data-theme-world] .music-control,
body[data-theme-world] .map-link,
body[data-theme-world] .share-button,
body[data-theme-world] .invite-action{
  border-color:color-mix(in srgb,var(--theme-line) 85%,transparent);
  color:var(--theme-ink);
  font-family:var(--tw-font-body,var(--theme-body-font,Georgia,serif));
}
body[data-theme-world] .invite-action.rsvp-action,
body[data-theme-world] .rsvp-hook button[type=submit],
body[data-theme-world] .rsvp-action{
  background:var(--theme-accent);color:var(--theme-surface,#fff);border:0;
}
body[data-theme-world] .location-layout,
body[data-theme-world] .rsvp-hook{
  border-color:var(--theme-line);
}
body[data-theme-world] .section-kicker,
body[data-theme-world] .kicker,
body[data-theme-world] .meta-label{
  color:var(--theme-muted);
  letter-spacing:.14em;
}

/* Midnight Gold — black/gold editorial wedding */
body[data-theme="midnight-gold"]{
  --theme-bg:#08080a;
  --theme-surface:#141210;
  --theme-ink:#f3e5c2;
  --theme-muted:#b8a88a;
  --theme-accent:#d5b46b;
  --theme-line:#4a3f2d;
  --theme-display-font:Cinzel,Georgia,serif;
  --theme-body-font:"Cormorant Garamond","Noto Naskh Arabic",serif;
}
body[data-theme="midnight-gold"] .invitation-card,
body[data-theme="midnight-gold"] .invitation-sheet{
  box-shadow:0 0 0 1px #d5b46b33,0 28px 80px #0008;
  background:linear-gradient(180deg,#16140f,#0e0d0b);
}
body[data-theme="midnight-gold"] .ceremonial-opening{
  border-inline-start:2px solid #d5b46b55;padding-inline-start:14px;
}
body[data-theme="midnight-gold"] .countdown strong{color:#d5b46b;font-family:Cinzel,serif}
body[data-theme="midnight-gold"] .invite-action.rsvp-action,
body[data-theme="midnight-gold"] .rsvp-hook button[type=submit]{
  background:linear-gradient(180deg,#d5b46b,#a88840);color:#1a1208;
  font-family:Cinzel,serif;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;
}
body[data-theme="midnight-gold"] .music-control{border-color:#d5b46b66;color:#f3e5c2}
body[data-theme="midnight-gold"] .map-link{color:#d5b46b}

/* Emerald — Jordanian heritage textile wedding */
body[data-theme="emerald"]{
  --theme-bg:#12080a;
  --theme-surface:#2a1216;
  --theme-ink:#f5ebe0;
  --theme-muted:#c4a090;
  --theme-accent:#d3b66d;
  --theme-line:#6b3038;
  --theme-display-font:"Cormorant Garamond",Georgia,serif;
  --theme-body-font:Amiri,"Noto Naskh Arabic",serif;
}
body[data-theme="emerald"] .invitation-card{
  border:1px solid #6b303888;
  box-shadow:inset 0 0 0 8px #5c1f2818,0 28px 80px #0006;
  background:
    linear-gradient(#2a1216ee,#2a1216f2),
    repeating-linear-gradient(90deg,#d3b66d22 0 8px,transparent 8px 18px);
}
body[data-theme="emerald"] .ornament{
  height:3px;
  background:repeating-linear-gradient(90deg,#d3b66d 0 6px,transparent 6px 10px,#8b1e2d 10px 16px,transparent 16px 20px);
}
body[data-theme="emerald"] .section-shell>h2{letter-spacing:.08em}
body[data-theme="emerald"] .rsvp-action{background:#8b1e2d;color:#f5ebe0}
body[data-theme="emerald"] .music-control{border-color:#d3b66d66}
body[data-theme="emerald"] .map-link{color:#d3b66d}

/* Royal Black — global obsidian royal wedding (NOT Jordanian) */
body[data-theme="royal-black"]{
  --theme-bg:#070708;
  --theme-surface:#12110f;
  --theme-ink:#eee1c4;
  --theme-muted:#a8a090;
  --theme-accent:#c8a968;
  --theme-line:#3f382b;
  --theme-display-font:"Playfair Display",Georgia,serif;
  --theme-body-font:"Libre Baskerville",Amiri,serif;
}
body[data-theme="royal-black"] .invitation-card{
  background:radial-gradient(circle at 50% 0%,#1a1814,#0c0c0e 70%);
  box-shadow:0 0 0 1px #c8a96833,0 30px 90px #0009;
}
body[data-theme="royal-black"] .ornament{
  background:linear-gradient(90deg,transparent,#c8a968,transparent);
}
body[data-theme="royal-black"] .countdown{border-color:#c8a96833}
body[data-theme="royal-black"] .rsvp-action{
  background:linear-gradient(180deg,#c8a968,#8f7340);color:#100e0a;
  font-family:"Playfair Display",serif;
}
body[data-theme="royal-black"] .map-link{color:#c8a968}

/* Imperial Gold — ivory/champagne palatial wedding */
body[data-theme="imperial-gold"]{
  --theme-bg:#f4ead8;
  --theme-surface:#fff8ec;
  --theme-ink:#3a2a18;
  --theme-muted:#8a7355;
  --theme-accent:#c4a05a;
  --theme-line:#dfc89a;
  --theme-display-font:Cinzel,Georgia,serif;
  --theme-body-font:"Libre Baskerville",Amiri,serif;
}
body[data-theme="imperial-gold"] .invitation-card{
  border-radius:2px;
  box-shadow:0 0 0 1px #c4a05a44,0 24px 70px #c4a05a22;
  background:linear-gradient(180deg,#fffaf0,#f7ecd8);
}
body[data-theme="imperial-gold"] .sheet-atmosphere{
  background:radial-gradient(ellipse at 50% 0,#c4a05a22,transparent 55%);
}
body[data-theme="imperial-gold"] .ornament{
  height:2px;background:linear-gradient(90deg,transparent,#c4a05a,#dfc89a,#c4a05a,transparent);
}
body[data-theme="imperial-gold"] .couple-names{letter-spacing:.12em}
body[data-theme="imperial-gold"] .rsvp-action{
  background:#c4a05a;color:#fff8ec;font-family:Cinzel,serif;letter-spacing:.1em;text-transform:uppercase;font-size:.78rem;
}
body[data-theme="imperial-gold"] .map-link{color:#9a7a3a}

/* Rose Fountain — floral romance wedding */
body[data-theme="rose-fountain"]{
  --theme-bg:#f7f1e8;
  --theme-surface:#faf6f0;
  --theme-ink:#3a2f2c;
  --theme-muted:#816b70;
  --theme-accent:#8f6a6e;
  --theme-line:#e8cbc8;
  --theme-display-font:"Great Vibes","Cormorant Garamond",cursive;
  --theme-body-font:"Cormorant Garamond",Amiri,serif;
}
body[data-theme="rose-fountain"] .invitation-card{
  background:linear-gradient(180deg,#fffaf7,#f6ebe4);
  box-shadow:0 24px 60px #8f6a6e18;
}
body[data-theme="rose-fountain"] .couple-names{
  font-family:"Great Vibes","Aref Ruqaa",cursive;font-weight:400;letter-spacing:.02em;
  font-size:clamp(2.4rem,8vw,3.4rem);
}
body[data-theme="rose-fountain"] .ornament{
  background:linear-gradient(90deg,transparent,#c48990,transparent);
}
body[data-theme="rose-fountain"] .countdown-caption{font-style:italic;color:#8f6a6e}
body[data-theme="rose-fountain"] .rsvp-action{background:#8f6a6e;color:#fff8f4}
body[data-theme="rose-fountain"] .music-control{color:#8f6a6e;border-color:#e8cbc8}

/* Graduation (pearl-minimal) — academic, not wedding */
body[data-theme="pearl-minimal"]{
  --theme-bg:#faf9f7;
  --theme-surface:#fff;
  --theme-ink:#1c1a18;
  --theme-muted:#6a6560;
  --theme-accent:#1a2744;
  --theme-line:#d8d1c8;
  --theme-display-font:"Libre Baskerville",Georgia,serif;
  --theme-body-font:Cairo,"IBM Plex Sans Arabic",sans-serif;
}
body[data-theme="pearl-minimal"] .invitation-card{
  border:1px solid #d8d1c8;box-shadow:0 18px 50px #1a274414;
}
body[data-theme="pearl-minimal"] .couple-names{
  font-family:"Libre Baskerville",Georgia,serif;letter-spacing:.08em;font-weight:700;text-transform:none;
}
body[data-theme="pearl-minimal"] .ornament{
  height:1px;background:#1a2744;width:64px;margin-inline:auto;
}
body[data-theme="pearl-minimal"] .kicker,
body[data-theme="pearl-minimal"] .section-kicker{
  letter-spacing:.18em;text-transform:uppercase;font-size:.72rem;color:#1a2744;
}
body[data-theme="pearl-minimal"] .countdown strong{font-family:"Libre Baskerville",serif;color:#1a2744}
body[data-theme="pearl-minimal"] .rsvp-action{
  background:#1a2744;color:#fff;border:0;letter-spacing:.1em;text-transform:uppercase;font-size:.78rem;
}
body[data-theme="pearl-minimal"] .music-control{border-color:#1a274455;color:#1a2744}

/* Birthday Celebration — candlelight premium, single-name (not wedding) */
body[data-theme="birthday-celebration"]{
  --theme-bg:#1a1424;
  --theme-surface:#2a1c30;
  --theme-ink:#f5ebe3;
  --theme-muted:#c4b0a0;
  --theme-accent:#d4b896;
  --theme-line:#5a4558;
  --theme-display-font:"Libre Baskerville",Georgia,serif;
  --theme-body-font:Amiri,"Cormorant Garamond",serif;
}
body[data-theme="birthday-celebration"] .invitation-card{
  background:linear-gradient(165deg,#322438,#241828);
  box-shadow:0 28px 70px #00000055;
  border-color:#d4b89644;
}
body[data-theme="birthday-celebration"] .couple-names{
  letter-spacing:.08em;
  font-family:"Libre Baskerville",Georgia,serif;
}
body[data-theme="birthday-celebration"] .ornament{
  background:linear-gradient(90deg,transparent,#d4b896,transparent);
  height:1px;width:72px;margin-inline:auto;
}
body[data-theme="birthday-celebration"] .kicker,
body[data-theme="birthday-celebration"] .section-kicker{
  letter-spacing:.16em;text-transform:uppercase;font-size:.72rem;color:#d4b896;
}
body[data-theme="birthday-celebration"] .countdown strong{
  font-family:"Libre Baskerville",serif;color:#d4b896;
}
body[data-theme="birthday-celebration"] .rsvp-action{
  background:#d4b896;color:#1a1424;border:0;letter-spacing:.08em;
}
body[data-theme="birthday-celebration"] .music-control{border-color:#d4b89666;color:#d4b896}

/* Olive Garden — Mediterranean botanical wedding */
body[data-theme="olive-garden"]{
  --theme-bg:#f7f2e7;
  --theme-surface:#fcfaef;
  --theme-ink:#2f3428;
  --theme-muted:#707763;
  --theme-accent:#596348;
  --theme-line:#d4d8be;
  --theme-display-font:"Libre Baskerville",Georgia,serif;
  --theme-body-font:Amiri,"Cormorant Garamond",serif;
}
body[data-theme="olive-garden"] .invitation-card{
  background:linear-gradient(180deg,#fffcf4,#f3f0e2);
  box-shadow:0 20px 55px #59634814;
}
body[data-theme="olive-garden"] .ornament{
  background:linear-gradient(90deg,transparent,#596348,transparent);
}
body[data-theme="olive-garden"] .section-shell>h2{color:#3d4634}
body[data-theme="olive-garden"] .rsvp-action{background:#596348;color:#fcfaef}
body[data-theme="olive-garden"] .map-link{color:#596348}

/* Royal Ivory — Jordanian Tatreez wedding */
body[data-theme="royal-ivory"]{
  --theme-bg:#fbf5e8;
  --theme-surface:#fffaf0;
  --theme-ink:#2a1810;
  --theme-muted:#6b4a3a;
  --theme-accent:#8b1e2d;
  --theme-line:#d4b896;
  --theme-display-font:"Cormorant Garamond",Georgia,serif;
  --theme-body-font:Amiri,"Scheherazade New",serif;
}
body[data-theme="royal-ivory"] .invitation-card{
  background-image:
    linear-gradient(#fffaf0,#fffaf0),
    repeating-linear-gradient(0deg,transparent 0 10px,#8b1e2d18 10px 11px);
  border-inline-start:3px solid #8b1e2d;
  border-inline-end:3px solid #8b1e2d;
}
body[data-theme="royal-ivory"] .ornament{
  height:4px;
  background:repeating-linear-gradient(90deg,#8b1e2d 0 8px,#1a1a1a 8px 12px,transparent 12px 16px);
}
body[data-theme="royal-ivory"] .ceremonial-opening{color:#5a2a22}
body[data-theme="royal-ivory"] .rsvp-action{background:#8b1e2d;color:#fffaf0;border:0}
body[data-theme="royal-ivory"] .music-control{border-color:#8b1e2d55;color:#8b1e2d}
body[data-theme="royal-ivory"] .map-link{color:#8b1e2d}

/* Champagne — satin/silk wedding (not Jerash, no alcohol cues) */
body[data-theme="champagne"]{
  --theme-bg:#f6ead7;
  --theme-surface:#fff6e8;
  --theme-ink:#3d2a1c;
  --theme-muted:#866a54;
  --theme-accent:#9a6e49;
  --theme-line:#dfc39c;
  --theme-display-font:"Cormorant Garamond",Georgia,serif;
  --theme-body-font:"Libre Baskerville","Noto Naskh Arabic",serif;
}
body[data-theme="champagne"] .invitation-card{
  background:linear-gradient(160deg,#fff9ef,#f3e2c8);
  box-shadow:0 22px 60px #9a6e4920;
}
body[data-theme="champagne"] .couple-names{
  font-family:"Cormorant Garamond",Georgia,serif;letter-spacing:.12em;font-weight:600;
}
body[data-theme="champagne"] .ornament{
  width:2px;height:36px;margin-inline:auto;
  background:linear-gradient(#9a6e49,#dfc39c);
}
body[data-theme="champagne"] .countdown-row>div{background:#fff8eeaa}
body[data-theme="champagne"] .rsvp-action{
  background:#9a6e49;color:#fff8ee;border:0;font-family:"Cormorant Garamond",serif;
}
body[data-theme="champagne"] .music-control{color:#9a6e49}

/* White Marble — minimal marble wedding */
body[data-theme="white-marble"]{
  --theme-bg:#f8f8f6;
  --theme-surface:#ffffff;
  --theme-ink:#2a2d31;
  --theme-muted:#687078;
  --theme-accent:#4b5056;
  --theme-line:#d8d5d0;
  --theme-display-font:"DM Serif Display",Georgia,serif;
  --theme-body-font:"Cormorant Garamond","Noto Naskh Arabic",serif;
}
body[data-theme="white-marble"] .invitation-card{
  box-shadow:0 24px 70px rgba(54,50,47,.06);
  border:1px solid #d8d5d0;
  background:#fff;
}
body[data-theme="white-marble"] .couple-names{letter-spacing:.16em;font-weight:400}
body[data-theme="white-marble"] .ornament{
  height:1px;background:#4b5056;width:48px;margin-inline:auto;opacity:.45;
}
body[data-theme="white-marble"] .rsvp-action{
  background:#2a2d31;color:#fff;letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;
}
body[data-theme="white-marble"] .music-control{border-color:#d8d5d0;color:#4b5056}

/* Florence — Italian destination wedding */
body[data-theme="florence"]{
  --theme-bg:#f1dfc7;
  --theme-surface:#f7ead8;
  --theme-ink:#3a241c;
  --theme-muted:#825f52;
  --theme-accent:#774939;
  --theme-line:#d7b190;
  --theme-display-font:"Bodoni Moda",Georgia,serif;
  --theme-body-font:Amiri,"Cormorant Garamond",serif;
}
body[data-theme="florence"] .invitation-card{
  background:linear-gradient(180deg,#fbf1e4,#f0dcc4);
  box-shadow:0 24px 70px #77493922;
}
body[data-theme="florence"] .couple-names{
  font-family:"Bodoni Moda","Aref Ruqaa",serif;letter-spacing:.04em;font-weight:500;
}
body[data-theme="florence"] .ornament{
  background:linear-gradient(90deg,transparent,#774939,#d7b190,transparent);
}
body[data-theme="florence"] .section-shell>h2{font-style:italic}
body[data-theme="florence"] .rsvp-action{background:#774939;color:#f7ead8}
body[data-theme="florence"] .map-link{color:#774939}

/* Velvet Rose — burgundy floral velvet wedding */
body[data-theme="velvet-rose"]{
  --theme-bg:#3a1524;
  --theme-surface:#5c2438;
  --theme-ink:#f8e8e6;
  --theme-muted:#d7b6b8;
  --theme-accent:#d7a0a5;
  --theme-line:#81445a;
  --theme-display-font:"Great Vibes","Cormorant Garamond",cursive;
  --theme-body-font:Amiri,"Cormorant Garamond",serif;
}
body[data-theme="velvet-rose"] .invitation-card{
  background:linear-gradient(180deg,#6a2c42,#4a1b2c);
  box-shadow:0 28px 80px #0006;
}
body[data-theme="velvet-rose"] .couple-names{
  font-family:"Great Vibes","Aref Ruqaa",cursive;font-weight:400;
  font-size:clamp(2.6rem,9vw,3.6rem);letter-spacing:.02em;
}
body[data-theme="velvet-rose"] .ornament{
  background:linear-gradient(90deg,transparent,#d7a0a5,transparent);
}
body[data-theme="velvet-rose"] .countdown-row>div{background:#5c2438cc;border-color:#81445a}
body[data-theme="velvet-rose"] .rsvp-action{background:#d7a0a5;color:#3a1524}
body[data-theme="velvet-rose"] .music-control{border-color:#d7a0a555;color:#f8e8e6}
body[data-theme="velvet-rose"] .map-link{color:#d7a0a5}

/* RTL / LTR intentional composition */
[dir=rtl] body[data-theme="royal-ivory"] .invitation-card,
html[dir=rtl] body[data-theme="royal-ivory"] .invitation-card{
  border-inline-start:3px solid #8b1e2d;
  border-inline-end:3px solid #8b1e2d;
}
[dir=ltr] body[data-theme="pearl-minimal"] .couple-names,
html[dir=ltr] body[data-theme="pearl-minimal"] .couple-names{letter-spacing:.1em}
[dir=rtl] body[data-theme="rose-fountain"] .couple-names,
[dir=rtl] body[data-theme="velvet-rose"] .couple-names,
html[dir=rtl] body[data-theme="rose-fountain"] .couple-names,
html[dir=rtl] body[data-theme="velvet-rose"] .couple-names{
  font-family:"Aref Ruqaa",Amiri,serif;letter-spacing:0;
}
[dir=rtl] body[data-theme="midnight-gold"] .couple-names,
html[dir=rtl] body[data-theme="midnight-gold"] .couple-names{
  font-family:"Aref Ruqaa","Scheherazade New",serif;letter-spacing:.04em;
}
[dir=rtl] body[data-theme="florence"] .couple-names,
html[dir=rtl] body[data-theme="florence"] .couple-names{
  font-family:"Aref Ruqaa",Amiri,serif;
}
[dir=rtl] body[data-theme="champagne"] .couple-names,
html[dir=rtl] body[data-theme="champagne"] .couple-names{
  font-family:"Noto Naskh Arabic",Amiri,serif;letter-spacing:.02em;
}

/* Gold package map accents */
body[data-theme="midnight-gold"] .map-link,
body[data-theme="emerald"] .map-link,
body[data-theme="royal-black"] .map-link,
body[data-theme="imperial-gold"] .map-link{
  color:var(--theme-accent);
}
