
/* ==========================================================================
   Convite · estilos de la invitación
   Estructura: variables por tema ([data-theme]) + base común.
   Las decoraciones son SVG dibujados a mano, embebidos como data-URI.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

body.inv-page {
  margin: 0;
  min-height: 100vh;
  background: var(--page, #e7e0d2);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.inv-root {
  min-height: 100vh; min-height: 100svh;
  display: flex; justify-content: center; align-items: flex-start;
}
.inv-root:has(.inv-brand) { padding-bottom: 64px; }

/* ---------- Variables por defecto (= Clásico) ---------- */
[data-theme] {
  --bg: #fbf7ef;
  --ink: #1f2a44;
  --muted: #5d6880;
  --accent: #a8844a;
  --accent-d: #7d5f2c;
  --btn: #8a6a35;                      /* fondo de botón principal (texto blanco >= 4.5:1) */
  --on-accent: #fff;
  --line: rgba(168, 132, 74, .45);
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Jost', system-ui, sans-serif;
  --f-msg: var(--f-display);           /* fuente del mensaje; temas decorativos usan la de cuerpo */
  --msg-style: italic;
  --r-btn: 2px;
  --ts: clamp(2.7rem, 13vw, 3.7rem);   /* tamaño del título */
  --tw: 600;                           /* peso del título */
  --day-size: clamp(4.4rem, 20vw, 5.6rem);
  --cell-bg: transparent;
  --cell-bd: var(--line);
  --cell-r: 2px;
  --env-flap: #efe6d3;
  --deco-top-ratio: 3 / 1;
  --deco-bottom-ratio: 4 / 1;
  --r-card: 22px;                      /* radio de las tarjetas de información; temas sobrios lo achican */
  --card-bg: color-mix(in srgb, var(--accent) 7%, var(--bg));
  --card-bd: color-mix(in srgb, var(--accent) 22%, transparent);
  --card-sh: 0 14px 26px -18px color-mix(in srgb, var(--accent-d) 75%, #000), 0 2px 6px -2px rgba(0,0,0,.08);
  --wave-h: 10px;                      /* alto de la ondita bajo el encabezado (0 = sin ella) */
}

/* ---------- Tarjeta ---------- */
.inv {
  --px: 28px;
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh; min-height: 100svh;
  padding: 0 var(--px) 8px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}
.inv-root:has(.inv-brand) .inv { min-height: calc(100svh - 64px); }
@media (min-width: 520px) {
  .inv-root { padding: 32px 16px; }
  .inv-root:has(.inv-brand) { padding-bottom: 78px; }
  .inv, .inv-root:has(.inv-brand) .inv {
    min-height: 0;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 24px 60px -18px rgba(30,20,10,.35);
  }
}
.inv > * { position: relative; }
.inv > .inv-deco { position: relative; }

.inv-deco {
  margin-inline: calc(-1 * var(--px));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.inv-deco--top    { aspect-ratio: var(--deco-top-ratio);    background-image: var(--deco-top); margin-bottom: 4px; }
.inv-deco--bottom { aspect-ratio: var(--deco-bottom-ratio); background-image: var(--deco-bottom); margin-top: 28px; }

/* ---------- Encabezado ---------- */
/* resplandor curvo suave tras el título y ondita separadora (colores del tema) */
.inv-head { isolation: isolate; }
.inv-head::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: -16%; right: -16%; top: -1.4rem; bottom: -1.6rem; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 6%, transparent), transparent);
}
.inv-head::after {
  content: ''; display: block; width: 96px; height: var(--wave-h);
  margin: calc(var(--wave-h) * 1.1) auto calc(var(--wave-h) * -.5);
  background: var(--accent); opacity: .65;
  -webkit-mask: var(--wave) center / auto 100% repeat-x; mask: var(--wave) center / auto 100% repeat-x;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5Q6-1 12 5T24 5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}
.inv-kicker {
  margin: 0 0 .7rem;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent-d);
  overflow-wrap: anywhere;
}
.inv-title {
  margin: 0 0 .5rem;
  font-family: var(--f-display);
  font-weight: var(--tw);
  font-size: var(--ts);
  line-height: 1.04;
  color: var(--title-color, var(--ink));
  overflow-wrap: break-word; hyphens: auto;
  text-wrap: balance;
}
.inv-sub {
  margin: 0;
  font-size: 1rem; letter-spacing: .04em;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- Fecha ---------- */
.inv-date {
  display: flex; flex-direction: column; align-items: center;
  margin: 1.9rem auto 0;
  padding: 1.1rem 0 1.15rem;
  width: min(100%, 290px);
  border-block: 1px solid var(--line);
}
.inv-weekday::first-letter, .inv-month::first-letter { text-transform: uppercase; } /* "Febrero de", not "Febrero De" */
.inv-weekday, .inv-month {
  font-size: .8rem; font-weight: 500;
  letter-spacing: .24em;
  color: var(--accent-d);
}
.inv-day {
  font-family: var(--f-display);
  font-size: var(--day-size); font-weight: var(--tw);
  line-height: 1; margin: .12em 0 .08em;
  color: var(--day-color, var(--ink));
}
.inv-time { margin-top: .55rem; font-size: .95rem; letter-spacing: .08em; color: var(--muted); }

/* ---------- Cuenta regresiva ---------- */
.inv-countdown { display: flex; justify-content: center; gap: 8px; margin: 1.4rem 0 0; }
.inv-cd-cell {
  flex: 1 1 0; min-width: 0; max-width: 72px;
  display: flex; flex-direction: column; align-items: center;
  padding: .6rem .2rem .5rem;
  background: var(--cell-bg);
  border: 1px solid var(--cell-bd);
  border-radius: var(--cell-r);
  overflow: hidden;
}
.inv-cd-num { display: inline-block; font-family: var(--f-display); font-weight: var(--tw); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--day-color, var(--ink)); }
.inv-cd-label { margin-top: .15rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Mensaje y bloques ---------- */
.inv-msg {
  margin: 1.9rem auto 0; max-width: 32ch;
  font-family: var(--f-msg); font-style: var(--msg-style);
  font-size: 1.22rem; line-height: 1.45;
  color: var(--ink);
  white-space: pre-line; overflow-wrap: anywhere; text-wrap: pretty;
}
.inv-block {
  margin: 1.5rem auto 0; max-width: 36ch; padding: 1.3rem 1.2rem 1.35rem;
  background: var(--card-bg); border: 1px solid var(--card-bd);
  border-radius: var(--r-card); box-shadow: var(--card-sh);
}
.inv-block-title {
  margin: 0 0 .45rem;
  font-family: var(--f-body); font-weight: 600;
  font-size: .76rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-d);
  overflow-wrap: anywhere;
}
.inv-block-text { margin: 0 0 .2rem; font-size: max(15px, 1rem); overflow-wrap: anywhere; white-space: pre-line; }
.inv-block-text:first-of-type { font-weight: 500; font-size: max(15px, 1.06rem); }
.inv-block .inv-btn { margin-top: .9rem; }
/* Waze + Google Maps: two buttons side by side, one under the other on narrow screens */
.inv-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: .9rem; }
.inv-nav .inv-btn { margin-top: 0; flex: 1 1 150px; gap: .45em; padding-inline: .9rem; white-space: nowrap; } /* stacks when the card is too narrow for both */
.inv-nav .inv-btn::before { content: ''; flex: none; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.inv-nav .inv-btn--waze::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 3 10.5l7.2 2.3L12.5 20z'/%3E%3C/svg%3E"); }

/* ---------- Botones ---------- */
.inv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; max-width: 100%; padding: .6rem 1.5rem; text-align: center; overflow-wrap: anywhere;
  font: 600 .92rem/1.2 var(--f-body); letter-spacing: .06em;
  color: var(--accent-d); text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-btn);
  position: relative;
  transition: background-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.inv-btn:hover { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) { .inv-btn:hover { transform: translateY(-2px); } }
.inv-btn:active { transform: translateY(1px) scale(.97); }
.inv-btn:focus-visible, .inv-envelope-btn:focus-visible, .inv-brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.inv-btn--primary { background: var(--btn); border-color: var(--btn); color: var(--on-accent); }
.inv-btn--primary:hover { filter: brightness(1.08); background: var(--btn); }
.inv-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 2.2rem auto 0; width: min(100%, 320px); }
.inv-actions .inv-btn { width: 100%; }

/* ---------- Pase del invitado (premium): boleto con perforación ---------- */
.inv-guest {
  --ph: 3.1rem;                         /* alto de la franja inferior; ahí van las muescas */
  margin: 1.9rem auto 0; width: min(100%, 300px);
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid var(--line);
  border-radius: min(var(--cell-r), 14px);
  -webkit-mask:
    radial-gradient(circle 9px at left calc(100% - var(--ph)), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at right calc(100% - var(--ph)), #0000 97%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle 9px at left calc(100% - var(--ph)), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at right calc(100% - var(--ph)), #0000 97%, #000) right / 51% 100% no-repeat;
}
.inv-guest-name {
  margin: 0; padding: 1rem 1.1rem .9rem;
  font-family: var(--f-display); font-weight: var(--tw);
  font-size: clamp(1.45rem, 7vw, 1.9rem); line-height: 1.15;
  color: var(--title-color, var(--ink));
  overflow-wrap: anywhere; text-wrap: balance;
}
.inv-guest-passes {
  margin: 0; min-height: var(--ph);
  display: flex; align-items: center; justify-content: center;
  padding: .45rem 1.4rem;
  border-top: 1.5px dashed var(--line);
  font-size: .8rem; line-height: 1.25; font-weight: 600; letter-spacing: .08em;
  color: var(--accent-d);
  overflow-wrap: anywhere; text-wrap: balance;
}
.inv-guest-name:only-child { padding-bottom: 1rem; }

/* ---------- Revelado al hacer scroll + movimiento sutil. Todo dentro de no-preference; el estado base es visible.
   render.js añade .inv--rv/.rv solo si hay IntersectionObserver y no es vista previa del editor. ---------- */
@keyframes inv-float { 0%, 100% { transform: scale(1.03); } 50% { transform: translateY(-5px) scale(1.03); } }
@keyframes inv-ring { 0% { transform: scale(1); opacity: .5; } 60%, 100% { transform: scale(1.05, 1.28); opacity: 0; } }
@keyframes inv-flip { from { transform: translateY(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inv-shine { 0%, 45% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes inv-card-rise { from { transform: translateY(70px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .inv--rv .rv { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .7s ease-out, transform .8s cubic-bezier(.2,.75,.25,1); }
  .inv--rv .rv.rv-in { opacity: 1; transform: none; }
  .inv-deco--top { transform-origin: 50% 0; animation: inv-float 10s ease-in-out infinite; }
  .inv-actions .inv-btn--primary::after {
    content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--btn);
    opacity: 0; pointer-events: none; animation: inv-ring 3.6s ease-out 1.8s infinite;
  }
  .inv-cd-num.is-flip { animation: inv-flip .36s cubic-bezier(.2,.8,.3,1); }
  .inv.inv--rise { animation: inv-card-rise 1s cubic-bezier(.2,.8,.2,1) .3s backwards; }
}

/* ---------- Marca de agua (solo gratis) ---------- */
.inv-brand {   /* floating pill: a full-width strip got its corners cut by rounded phone screens */
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
  max-width: 440px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 8px 16px;
  border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
  background: rgba(24, 22, 20, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; text-align: center;
  font: 500 clamp(.66rem, 3.4vw, .8rem)/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: .02em; white-space: nowrap; /* one line even in narrow mockups */
}
.inv-brand:hover { background: rgba(24, 22, 20, .97); text-decoration: underline; }

/* ---------- Enlace inválido ---------- */
.inv-error {
  margin: 20vh auto 0; max-width: 340px; padding: 24px;
  font: 1.05rem/1.55 system-ui, sans-serif; text-align: center; color: #3a332b;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px -12px rgba(0,0,0,.25);
}
.inv-error a { color: #8a5a1c; font-weight: 600; }

/* ---------- Sobre animado (premium) ---------- */
.inv-envelope {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 24px max(56px, env(safe-area-inset-bottom));
  gap: 6px; text-align: center;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  perspective: 1200px;
  overflow: hidden;
}
/* solapa del sobre */
.inv-envelope::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 52%;
  background: linear-gradient(180deg, var(--env-flap), color-mix(in srgb, var(--env-flap) 80%, #000));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
  transform-origin: 50% 0;
  transition: transform .75s cubic-bezier(.5,0,.2,1);
}
/* bolsillo inferior */
.inv-envelope::after {
  content: ''; position: absolute; inset: 52% 0 0 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--env-flap) 55%, var(--bg)), var(--bg) 70%);
  z-index: 0;
}
.inv-envelope-seal, .inv-envelope-to, .inv-envelope-btn { position: relative; z-index: 2; }
.inv-envelope-seal {
  position: absolute; top: 52%; left: 50%;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' fill-opacity='.9' d='M24 8c1.4 9 4.6 13 16 16-11.400 3-14.600 7-16 16-1.400-9-4.600-13-16-16C19.400 21 22.600 17 24 8z'/%3E%3C/svg%3E") center / 46% no-repeat,
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 70%, #000));
  box-shadow: 0 0 0 5px rgba(255,255,255,.18) inset, 0 0 0 2px color-mix(in srgb, var(--accent) 60%, #000) inset, 0 10px 22px rgba(0,0,0,.28);
  z-index: 3;
  transition: transform .5s ease, opacity .4s ease;
}
.inv-envelope-seal::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; pointer-events: none; }
.inv-envelope-to {
  margin: 0; font-family: var(--f-display); font-weight: var(--tw);
  font-size: clamp(1.6rem, 8vw, 2.4rem); line-height: 1.15; color: var(--title-color, var(--ink));
  overflow-wrap: anywhere; text-wrap: balance;
  max-width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;  /* nombres larguísimos no tapan el sello */
}
.inv-envelope-label {
  position: relative; z-index: 2; margin: 0 0 .6rem;
  font: 500 .76rem/1.3 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--accent-d);
}
.inv-envelope-btn {
  margin-top: 1.2rem; min-height: 50px; padding: .7rem 2rem; cursor: pointer;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .08em;
  color: var(--on-accent); background: var(--btn);
  border: 0; border-radius: var(--r-btn);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--btn) 80%, #000);
}
.inv-envelope-btn:hover { filter: brightness(1.08); }

@keyframes inv-env-leave {
  0%, 30% { opacity: 1; transform: none; }
  100%    { opacity: 0; transform: scale(1.06); }
}
@keyframes inv-seal-idle { 50% { transform: scale(1.06); } }
@keyframes inv-seal-pop {
  0%   { transform: scale(1); opacity: 1; }
  30%  { transform: scale(1.24) rotate(-8deg); opacity: 1; }
  100% { transform: scale(.2) rotate(40deg) translateY(-60px); opacity: 0; }
}
@keyframes inv-seal-ring { from { transform: scale(1); opacity: .85; } to { transform: scale(2.8); opacity: 0; } }
.inv-envelope.is-open { pointer-events: none; animation: inv-env-leave 1.3s ease-in forwards; }
.inv-envelope.is-open::before { transform: rotateX(180deg); transition-delay: .2s; }
@media (prefers-reduced-motion: no-preference) {
  .inv-envelope:not(.is-open) .inv-envelope-seal { animation: inv-seal-idle 2.6s ease-in-out infinite; }
  .inv-envelope.is-open .inv-envelope-seal { animation: inv-seal-pop .55s ease-out forwards; }
  .inv-envelope.is-open .inv-envelope-seal::after { animation: inv-seal-ring .65s ease-out .1s; }
}
.inv-envelope.is-open .inv-envelope-seal { transform: scale(.4) translateY(-30px); opacity: 0; }
.inv-envelope.is-open .inv-envelope-label,
.inv-envelope.is-open .inv-envelope-to,
.inv-envelope.is-open .inv-envelope-btn { opacity: 0; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  .inv-btn, .inv-envelope::before, .inv-envelope-seal { transition: none; }
  .inv-btn:hover { transform: none; }
  .inv-envelope.is-open { animation: inv-env-leave .25s linear forwards; }
}

/* ---------- Impresión: solo la tarjeta, sin sobre, marca ni botones ---------- */
@media print {
  @page { margin: 8mm; }
  body.inv-page { background: #fff !important; min-height: 0; }
  .inv-root, .inv-root:has(.inv-brand) { display: block; min-height: 0; padding: 0 !important; }
  .inv-envelope, .inv-brand, .inv-actions, .inv-countdown, .inv-btn { display: none !important; }
  .inv, .inv-root:has(.inv-brand) .inv {
    min-height: 0 !important; max-width: 480px; margin: 0 auto; border-radius: 0; box-shadow: none;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    break-inside: avoid; page-break-inside: avoid; zoom: .8;
  }
  .inv, .inv *, .inv *::before, .inv *::after { animation: none !important; transition: none !important; }
  .rv, .inv--rv .rv { opacity: 1 !important; transform: none !important; }
  .inv-block { box-shadow: none; }
}

/* ==========================================================================
   Adornos del personalizador (premium): sustituyen la decoración superior/inferior del tema.
   Siluetas de un solo color pintadas con --accent mediante máscara; data-orn lo pone render.js.
   ========================================================================== */
.inv[data-orn] .inv-deco { background: var(--accent); -webkit-mask: var(--orn) center / var(--orn-size, 100% 100%) no-repeat; mask: var(--orn) center / var(--orn-size, 100% 100%) no-repeat; }
.inv[data-orn] .inv-deco--top { aspect-ratio: 3 / 1; }
.inv[data-orn] .inv-deco--bottom { aspect-ratio: 4 / 1; }
.inv[data-orn="flores"] .inv-deco--top, .ed-orn[data-orn="flores"] { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M-10,6 Q240,104 490,6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(43.6 24.7) rotate(-32.9) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(115 42.8) rotate(61.1) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(186.4 52.8) rotate(-45.2) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(257.9 54.8) rotate(48.4) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(329.3 48.7) rotate(-58) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(400.7 34.8) rotate(35.9) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(472.1 12.7) rotate(-70) scale(0.8)' fill='black'/%3E%3Cg transform='translate(25.7 23) scale(1.1)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(168.6 55) rotate(50) scale(1.1)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(311.4 55) rotate(100) scale(1.1)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(454.3 23) rotate(150) scale(1.1)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(97.1 51) rotate(40) scale(0.65)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(240 67) rotate(120) scale(0.65)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(382.9 51) rotate(200) scale(0.65)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Ccircle cx='120' cy='22' r='2.2' fill='black'/%3E%3Ccircle cx='360' cy='22' r='2.2' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="flores"] .inv-deco--bottom { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M60 60H198M282 60H420' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3Cg transform='translate(240 60) scale(1.9)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(200 60) rotate(-35) scale(0.9)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(200 60) rotate(35) scale(0.9)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(280 60) rotate(-145) scale(0.9)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(280 60) rotate(145) scale(0.9)' fill='black'/%3E%3Cg transform='translate(126 60) scale(0.8)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(354 60) scale(0.8)' fill='black' fill-opacity='.38' stroke='black' stroke-width='1.5'%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(0)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(72)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(144)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(216)'/%3E%3Cellipse cy='-10' rx='7.5' ry='11' transform='rotate(288)'/%3E%3Ccircle r='3.6' fill='black' stroke='none'/%3E%3C/g%3E%3Ccircle cx='56' cy='60' r='2.6' fill='black'/%3E%3Ccircle cx='424' cy='60' r='2.6' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="hojas"] .inv-deco--top, .ed-orn[data-orn="hojas"] { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M-10,6 Q240,104 490,6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(5.6 11.9) rotate(75.2) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(5.6 11.9) rotate(-34.8) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(36.9 22.7) rotate(72.7) scale(0.97)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(36.9 22.7) rotate(-37.3) scale(1.04)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(68.1 31.8) rotate(70.1) scale(1.0899999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(68.1 31.8) rotate(-39.9) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(99.4 39.5) rotate(67.4) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(99.4 39.5) rotate(-42.6) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(130.6 45.6) rotate(64.7) scale(0.97)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(130.6 45.6) rotate(-45.3) scale(1.04)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(161.9 50.2) rotate(62) scale(1.0899999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(161.9 50.2) rotate(-48) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(193.1 53.3) rotate(59.2) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(193.1 53.3) rotate(-50.8) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(224.4 54.8) rotate(56.4) scale(0.97)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(224.4 54.8) rotate(-53.6) scale(1.04)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(255.6 54.8) rotate(53.6) scale(1.0899999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(255.6 54.8) rotate(-56.4) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(286.9 53.3) rotate(50.8) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(286.9 53.3) rotate(-59.2) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(318.1 50.2) rotate(48) scale(0.97)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(318.1 50.2) rotate(-62) scale(1.04)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(349.4 45.6) rotate(45.3) scale(1.0899999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(349.4 45.6) rotate(-64.7) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(380.6 39.5) rotate(42.6) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(380.6 39.5) rotate(-67.4) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(411.9 31.8) rotate(39.9) scale(0.97)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(411.9 31.8) rotate(-70.1) scale(1.04)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(443.1 22.7) rotate(37.3) scale(1.0899999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(443.1 22.7) rotate(-72.7) scale(0.8)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(474.4 11.9) rotate(34.8) scale(0.85)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(474.4 11.9) rotate(-75.2) scale(0.92)' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="hojas"] .inv-deco--bottom { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M52 60H428' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(250 60) rotate(-40)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(250 60) rotate(40)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(230 60) rotate(-140)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(230 60) rotate(140)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(278 60) rotate(-40) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(278 60) rotate(40) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(202 60) rotate(-140) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(202 60) rotate(140) scale(0.92)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(306 60) rotate(-40) scale(0.84)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(306 60) rotate(40) scale(0.84)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(174 60) rotate(-140) scale(0.84)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(174 60) rotate(140) scale(0.84)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(334 60) rotate(-40) scale(0.76)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(334 60) rotate(40) scale(0.76)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(146 60) rotate(-140) scale(0.76)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(146 60) rotate(140) scale(0.76)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(362 60) rotate(-40) scale(0.6799999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(362 60) rotate(40) scale(0.6799999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(118 60) rotate(-140) scale(0.6799999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(118 60) rotate(140) scale(0.6799999999999999)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(390 60) rotate(-40) scale(0.6)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(390 60) rotate(40) scale(0.6)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(90 60) rotate(-140) scale(0.6)' fill='black'/%3E%3Cpath d='M0 0C6-10 20-12 30-6 22 6 6 8 0 0z' transform='translate(90 60) rotate(140) scale(0.6)' fill='black'/%3E%3Ccircle cx='240' cy='60' r='4' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="estrellas"] .inv-deco--top, .ed-orn[data-orn="estrellas"] { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M17.8 9.3L21.5 19.2L32 19.6L23.8 26.2L26.6 36.4L17.8 30.6L9 36.4L11.8 26.2L3.5 19.6L14.1 19.2z' fill='black' stroke-linejoin='round'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(73.3 47.2) scale(1.4)' fill='black'/%3E%3Cpath d='M128.9 38.3L132.6 48.2L143.2 48.7L134.9 55.3L137.7 65.5L128.9 59.6L120.1 65.5L122.9 55.3L114.6 48.7L125.2 48.2z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(184.4 66.6) scale(1.9)' fill='black'/%3E%3Cpath d='M240 42L245.2 55.9L260 56.5L248.4 65.7L252.3 80L240 71.8L227.7 80L231.6 65.7L220 56.5L234.8 55.9z' fill='black' stroke-linejoin='round'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(295.6 66.6) scale(1.9)' fill='black'/%3E%3Cpath d='M351.1 38.3L354.8 48.2L365.4 48.7L357.1 55.3L359.9 65.5L351.1 59.6L342.3 65.5L345.1 55.3L336.8 48.7L347.4 48.2z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(406.7 47.2) scale(1.4)' fill='black'/%3E%3Cpath d='M462.2 9.3L465.9 19.2L476.5 19.6L468.2 26.2L471 36.4L462.2 30.6L453.4 36.4L456.2 26.2L448 19.6L458.5 19.2z' fill='black' stroke-linejoin='round'/%3E%3Ccircle cx='3.9' cy='41.3' r='1.8' fill='black'/%3E%3Ccircle cx='87.2' cy='72.7' r='1.8' fill='black'/%3E%3Ccircle cx='170.6' cy='81.2' r='1.8' fill='black'/%3E%3Ccircle cx='253.9' cy='90.8' r='1.8' fill='black'/%3E%3Ccircle cx='337.2' cy='77.6' r='1.8' fill='black'/%3E%3Ccircle cx='420.6' cy='65.4' r='1.8' fill='black'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(60 70) scale(0.8)' fill='black'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(420 70) scale(0.8)' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="estrellas"] .inv-deco--bottom { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M60 60H196M284 60H420' stroke='black' stroke-width='1.4' stroke-dasharray='1 7' stroke-linecap='round'/%3E%3Cpath d='M240 40L244.9 53.2L259 53.8L248 62.6L251.8 76.2L240 68.4L228.2 76.2L232 62.6L221 53.8L235.1 53.2z' fill='black' stroke-linejoin='round'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(186 60) scale(1.2)' fill='black'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(294 60) scale(1.2)' fill='black'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(140 50) scale(0.8)' fill='black'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(340 70) scale(0.8)' fill='black'/%3E%3Ccircle cx='56' cy='60' r='2.4' fill='black'/%3E%3Ccircle cx='424' cy='60' r='2.4' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="mariposas"] .inv-deco--top, .ed-orn[data-orn="mariposas"] { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='w'%3E%3Cpath d='M0 0C-10-22-34-26-36-8-37 4-14 6 0 0z' fill='black' fill-opacity='.45' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M0 2C-8 6-26 8-22 22-18 30-4 18 0 2z' fill='black' fill-opacity='.45' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M-10,6 Q240,104 490,6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='1 8'/%3E%3Cg transform='translate(60 51.6) rotate(-18) scale(0.9)'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='scale(-1 1)'/%3E%3Cpath d='M0-10V16' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0-10Q-4-18-10-20M0-10Q4-18 10-20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(240 59) rotate(4) scale(1.25)'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='scale(-1 1)'/%3E%3Cpath d='M0-10V16' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0-10Q-4-18-10-20M0-10Q4-18 10-20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(420 51.6) rotate(20) scale(0.8)'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='scale(-1 1)'/%3E%3Cpath d='M0-10V16' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0-10Q-4-18-10-20M0-10Q4-18 10-20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle cx='60' cy='64' r='2' fill='black'/%3E%3Ccircle cx='430' cy='70' r='2' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="mariposas"] .inv-deco--bottom { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='w'%3E%3Cpath d='M0 0C-10-22-34-26-36-8-37 4-14 6 0 0z' fill='black' fill-opacity='.45' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M0 2C-8 6-26 8-22 22-18 30-4 18 0 2z' fill='black' fill-opacity='.45' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M40 70Q120 30 200 62T360 56T440 66' fill='none' stroke='black' stroke-width='2.4' stroke-dasharray='1 8' stroke-linecap='round'/%3E%3Cg transform='translate(200 56) rotate(-14) scale(0.8)'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='scale(-1 1)'/%3E%3Cpath d='M0-10V16' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0-10Q-4-18-10-20M0-10Q4-18 10-20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(300 54) rotate(12)'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='scale(-1 1)'/%3E%3Cpath d='M0-10V16' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0-10Q-4-18-10-20M0-10Q4-18 10-20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle cx='40' cy='70' r='2.4' fill='black'/%3E%3Ccircle cx='440' cy='66' r='2.4' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="corazones"] .inv-deco--top, .ed-orn[data-orn="corazones"] { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(17.8 26.3) rotate(7.7) scale(1.7)' fill='black'/%3E%3Ccircle cx='73.3' cy='49.2' r='2.2' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(128.9 55.3) rotate(4) scale(1.7)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='184.4' cy='68.6' r='2.2' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(240 65) scale(2.5)' fill='black'/%3E%3Ccircle cx='295.6' cy='68.6' r='2.2' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(351.1 55.3) rotate(-4) scale(1.7)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='406.7' cy='49.2' r='2.2' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(462.2 26.3) rotate(-7.7) scale(1.7)' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(66 70) rotate(-15) scale(1.2)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(414 70) rotate(15) scale(1.2)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='110' cy='40' r='1.8' fill='black'/%3E%3Ccircle cx='370' cy='40' r='1.8' fill='black'/%3E%3Ccircle cx='240' cy='20' r='2' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="corazones"] .inv-deco--bottom { --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M60 60H196M284 60H420' stroke='black' stroke-width='1.4' stroke-dasharray='1 7' stroke-linecap='round'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(240 60) scale(2.2)' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(160 54) rotate(-10) scale(0.9)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(320 54) rotate(10) scale(0.9)' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(112 64) scale(0.6)' fill='black'/%3E%3Cpath d='M0 6C-14-4-10-16 0-9 10-16 14-4 0 6z' transform='translate(368 64) scale(0.6)' fill='black'/%3E%3Ccircle cx='56' cy='60' r='2.4' fill='black'/%3E%3Ccircle cx='424' cy='60' r='2.4' fill='black'/%3E%3C/svg%3E"); }
.inv[data-orn="ninguno"] .inv-deco { background: none; -webkit-mask: none; mask: none; }
.inv[data-orn="ninguno"] .inv-deco--top, .ed-orn[data-orn="ninguno"] { aspect-ratio: auto; height: 48px; }
.inv[data-orn="ninguno"] .inv-deco--bottom { aspect-ratio: auto; height: 24px; }

/* ==========================================================================
   TEMAS
   ========================================================================== */

/* ---------- 1 · Clásico (gratis): marfil, tinta azul marino y oro mate ---------- */
[data-theme="clasico"] {
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cg fill='none' stroke='%23a8844a' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M70 96H206M274 96H410'/%3E%3Cpath d='M70 96c-14 0-14-12-4-12M410 96c14 0 14-12 4-12'/%3E%3Cpath d='M206 96c14 0 22-20 34-22 12 2 20 22 34 22'/%3E%3Cpath d='M240 74l12 22-12 22-12-22z'/%3E%3Cpath d='M118 96c10-12 22-12 30 0M332 96c10-12 22-12 30 0'/%3E%3C/g%3E%3Cg fill='%23a8844a'%3E%3Ccircle cx='240' cy='96' r='3'/%3E%3Ccircle cx='56' cy='96' r='2.4'/%3E%3Ccircle cx='424' cy='96' r='2.4'/%3E%3Ccircle cx='240' cy='54' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg fill='none' stroke='%23a8844a' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M110 60H222M258 60H370'/%3E%3Cpath d='M240 49l11 11-11 11-11-11z'/%3E%3C/g%3E%3Cg fill='%23a8844a'%3E%3Ccircle cx='96' cy='60' r='2.2'/%3E%3Ccircle cx='384' cy='60' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
}
[data-theme="clasico"] .inv-title, [data-theme="clasico"].inv .inv-title { font-style: italic; }
.inv[data-theme="clasico"]::before {   /* doble marco fino */
  content: ''; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
  border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 4px;
}
[data-theme="clasico"] .inv-guest { border-radius: 0; background: rgba(168,132,74,.07); }
[data-theme="clasico"] .inv-guest-name { font-style: italic; }
.inv[data-theme="clasico"] { padding-inline: calc(var(--px) + 6px); --px: 34px; }
body.inv-page:has([data-theme="clasico"]) { --page: #e4dccb; }

/* ---------- 2 · Fiesta (gratis): confeti, banderines y color ---------- */
[data-theme="fiesta"] {
  --bg: #fff8e8; --ink: #3a2a22; --muted: #7a5f50;
  --accent: #ff5a5f; --accent-d: #c42f3a; --btn: #d63b46; --on-accent: #fff; --line: #ffc933; --msg-style: normal;
  --f-display: 'Fredoka', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif;
  --r-btn: 999px; --tw: 700; --cell-r: 16px; --cell-bg: #fff; --cell-bd: #ffd98a;
  --title-color: #e0434d; --day-color: #0f7a70;
  --env-flap: #ffd54f;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M-10 14Q240 78 490 14' fill='none' stroke='%23553b2a' stroke-width='2'/%3E%3Cpath fill='%23ff5a5f' d='M12 24l36 3-18 36z'/%3E%3Cpath fill='%23ffc933' d='M77 33l36 2-18 36z'/%3E%3Cpath fill='%2319b5a5' d='M142 40l36 1-18 36z'/%3E%3Cpath fill='%23ff8ab8' d='M207 44l36 0-18 36z'/%3E%3Cpath fill='%232d8cff' d='M272 43l36-1-18 36z'/%3E%3Cpath fill='%23ff9f1c' d='M337 38l36-2-18 36z'/%3E%3Cpath fill='%23ff5a5f' d='M402 29l36-3-18 36z'/%3E%3Cpath fill='%2319b5a5' d='M450 19l30-4-12 32z'/%3E%3Cg%3E%3Crect x='40' y='98' width='10' height='5' rx='2' fill='%23ffc933' transform='rotate(30 45 100)'/%3E%3Crect x='120' y='112' width='10' height='5' rx='2' fill='%23ff5a5f' transform='rotate(-40 125 114)'/%3E%3Crect x='200' y='104' width='10' height='5' rx='2' fill='%2319b5a5' transform='rotate(60 205 106)'/%3E%3Crect x='300' y='110' width='10' height='5' rx='2' fill='%23ff8ab8' transform='rotate(-20 305 112)'/%3E%3Crect x='380' y='100' width='10' height='5' rx='2' fill='%232d8cff' transform='rotate(45 385 102)'/%3E%3Crect x='440' y='122' width='10' height='5' rx='2' fill='%23ff9f1c' transform='rotate(-55 445 124)'/%3E%3Ccircle cx='80' cy='128' r='4' fill='%232d8cff'/%3E%3Ccircle cx='165' cy='96' r='3.5' fill='%23ff9f1c'/%3E%3Ccircle cx='250' cy='126' r='4' fill='%23ff5a5f'/%3E%3Ccircle cx='345' cy='128' r='3.5' fill='%23ffc933'/%3E%3Ccircle cx='415' cy='94' r='4' fill='%2319b5a5'/%3E%3Ccircle cx='20' cy='112' r='3.5' fill='%23ff8ab8'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg fill='none' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 20c20 30 36-10 52 14s30 20 44 6' stroke='%23ff5a5f'/%3E%3Cpath d='M360 26c18 26 34-6 50 14s28 14 56 0' stroke='%2319b5a5'/%3E%3Cpath d='M150 90c22-26 44 10 66-10s36-6 62 8' stroke='%23ffc933'/%3E%3C/g%3E%3Cg%3E%3Crect x='96' y='64' width='10' height='5' rx='2' fill='%23ff8ab8' transform='rotate(35 101 66)'/%3E%3Crect x='300' y='60' width='10' height='5' rx='2' fill='%232d8cff' transform='rotate(-30 305 62)'/%3E%3Crect x='440' y='86' width='10' height='5' rx='2' fill='%23ff9f1c' transform='rotate(50 445 88)'/%3E%3Crect x='30' y='88' width='10' height='5' rx='2' fill='%23ffc933' transform='rotate(-45 35 90)'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%2319b5a5'/%3E%3Ccircle cx='240' cy='36' r='4' fill='%23ff5a5f'/%3E%3Ccircle cx='330' cy='98' r='3.5' fill='%23ff8ab8'/%3E%3Ccircle cx='410' cy='66' r='4' fill='%23ffc933'/%3E%3Ccircle cx='190' cy='64' r='3.5' fill='%232d8cff'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="fiesta"] .inv-title { text-shadow: 3px 3px 0 #ffd98a; letter-spacing: .01em; }
[data-theme="fiesta"] .inv-btn { border-width: 2.5px; font-weight: 800; box-shadow: 0 4px 0 rgba(214,59,70,.25); }
[data-theme="fiesta"] .inv-btn--primary { box-shadow: 0 4px 0 #b52f38; }
[data-theme="fiesta"] .inv-date { border-style: dashed; border-width: 2px; border-color: #ffc933; }
[data-theme="fiesta"] .inv-kicker, [data-theme="fiesta"] .inv-block-title { color: #0f7a70; }
[data-theme="fiesta"] .inv-guest { border: 2px dashed #ffc933; background: #fff; }
[data-theme="fiesta"] .inv-guest-passes { border-top-color: #ffc933; color: #0f7a70; }
body.inv-page:has([data-theme="fiesta"]) { --page: #ffe9b8; }

/* ---------- 3 · Minimal (gratis): papel blanco, mucho aire, un punto de color ---------- */
[data-theme="minimal"] {
  --bg: #fafaf8; --ink: #141414; --muted: #6b6a66; --btn: #141414;
  --accent: #141414; --accent-d: #141414; --on-accent: #fafaf8; --line: #141414;
  --f-display: 'Instrument Serif', Georgia, serif; --f-body: 'Manrope', system-ui, sans-serif;
  --r-btn: 0; --tw: 400; --ts: clamp(3.2rem, 15vw, 4.4rem);
  --cell-r: 0; --cell-bd: rgba(20,20,20,.22);
  --env-flap: #eeeeea;
  --deco-top-ratio: 8 / 1; --deco-bottom-ratio: 8 / 1;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 60'%3E%3Cpath d='M28 36H214M266 36H452' stroke='%23141414' stroke-width='1'/%3E%3Ccircle cx='240' cy='36' r='4.5' fill='%23d9462e'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 60'%3E%3Cpath d='M28 30H452' stroke='%23141414' stroke-width='1'/%3E%3C/svg%3E");
}
[data-theme="minimal"] .inv-kicker, [data-theme="minimal"] .inv-block-title, [data-theme="minimal"] .inv-weekday, [data-theme="minimal"] .inv-month { font-weight: 700; letter-spacing: .22em; font-size: .68rem; }
[data-theme="minimal"] .inv-date { border-block-width: 0; border-top: 1px solid #141414; width: 100%; }
[data-theme="minimal"] .inv-btn { border-width: 1px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
[data-theme="minimal"] .inv-msg { font-style: normal; font-size: 1.12rem; }
[data-theme="minimal"] .inv-guest { border-color: #141414; background: transparent; border-radius: 0; }
[data-theme="minimal"] .inv-guest-passes { border-top-color: #141414; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; }
.inv[data-theme="minimal"] .inv-deco--top { margin-top: 14px; }
body.inv-page:has([data-theme="minimal"]) { --page: #ecece8; }

/* ---------- 4 · Cielo (gratis): cielo de día, nubes y sol ---------- */
[data-theme="cielo"] {
  --bg: #fff; --ink: #1f4b73; --muted: #3f6488; --msg-style: normal;
  --accent: #3f8ed0; --accent-d: #1a65a3; --btn: #2a74b8; --on-accent: #fff; --line: rgba(63,142,208,.35);
  --f-display: 'Quicksand', system-ui, sans-serif; --f-body: 'Quicksand', system-ui, sans-serif;
  --r-btn: 999px; --tw: 700; --cell-r: 18px; --cell-bg: rgba(255,255,255,.75); --cell-bd: rgba(63,142,208,.25);
  --env-flap: #cfe7f8;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='c'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='28' cy='-12' r='28'/%3E%3Ccircle cx='62' cy='-2' r='22'/%3E%3Crect x='-20' y='-2' width='104' height='24' rx='12'/%3E%3C/g%3E%3C/defs%3E%3Cg stroke='%23ffd35c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M404 8v10M404 62v10M374 40h10M424 40h10M383 19l7 7M425 54l7 7M383 61l7-7M425 26l7-7' transform='translate(0 8)'/%3E%3C/g%3E%3Ccircle cx='404' cy='48' r='19' fill='%23ffd35c'/%3E%3Cuse href='%23c' x='30' y='108' fill='%23d3e9f9' transform='scale(1.2)'/%3E%3Cuse href='%23c' x='330' y='72' fill='%23fff' transform='scale(1.1)'/%3E%3Cuse href='%23c' x='120' y='60' fill='%23fff' transform='scale(.8)'/%3E%3Cuse href='%23c' x='28' y='92' fill='%23fff' transform='scale(1.2)'/%3E%3Cuse href='%23c' x='200' y='118' fill='%23fff' opacity='.9' transform='scale(.9)'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='c'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='28' cy='-12' r='28'/%3E%3Ccircle cx='62' cy='-2' r='22'/%3E%3Crect x='-20' y='-2' width='104' height='24' rx='12'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c' x='20' y='108' fill='%23d3e9f9' transform='scale(1.5)'/%3E%3Cuse href='%23c' x='190' y='112' fill='%23e4f2fc' transform='scale(1.6)'/%3E%3Cuse href='%23c' x='-10' y='98' fill='%23edf6fd' transform='scale(1.4)'/%3E%3Cuse href='%23c' x='230' y='98' fill='%23edf6fd' transform='scale(1.5)'/%3E%3C/svg%3E");
}
.inv[data-theme="cielo"] { background: linear-gradient(#bfe0f8 0, #dcEFFC 22%, #f6fbff 55%, #fff 100%); }
[data-theme="cielo"] .inv-guest { background: rgba(255,255,255,.8); }
[data-theme="cielo"] .inv-btn--primary { box-shadow: 0 8px 18px -8px rgba(31,111,176,.6); }
body.inv-page:has([data-theme="cielo"]) { --page: #cfe6f6; }

/* ---------- 5 · Floral (premium): ramo de flores en tonos durazno y rosa ---------- */
[data-theme="floral"] {
  --bg: #fffaf6; --ink: #4a2a33; --muted: #7d5a62;
  --accent: #c7757f; --accent-d: #a2505d; --btn: #a95563; --on-accent: #fff; --line: rgba(199,117,127,.4);
  --f-display: 'Playfair Display', Georgia, serif; --f-body: 'Jost', system-ui, sans-serif;
  --r-btn: 999px; --tw: 500; --cell-r: 999px; --cell-bg: #fff; --cell-bd: rgba(199,117,127,.35);
  --title-color: #8e3f55; --env-flap: #f8dcd8;
  --deco-top-ratio: 3 / 1; --deco-bottom-ratio: 4 / 1;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cpath id='l' d='M0 0C8-12 26-16 40-9 32 5 12 11 0 0z'/%3E%3Cg id='f'%3E%3Cg%3E%3Cellipse cy='-11' rx='8' ry='12'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(72)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(144)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(216)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='4.5' fill='%23f6d28e'/%3E%3C/g%3E%3Cg id='c'%3E%3Cpath d='M-10 30C50 18 84 62 160 70' fill='none' stroke='%237fa07c' stroke-width='2'/%3E%3Cg fill='%238fb08b'%3E%3Cuse href='%23l' transform='translate(26 28) rotate(-60) scale(1.1)'/%3E%3Cuse href='%23l' transform='translate(58 34) rotate(40) scale(1.2)'/%3E%3Cuse href='%23l' transform='translate(96 58) rotate(-40)'/%3E%3Cuse href='%23l' transform='translate(120 64) rotate(55) scale(1.1)'/%3E%3Cuse href='%23l' transform='translate(150 70) rotate(-25) scale(.9)'/%3E%3Cuse href='%23l' transform='translate(18 70) rotate(70)'/%3E%3C/g%3E%3Cuse href='%23f' transform='translate(34 42) scale(1.9)' fill='%23f2b3b3'/%3E%3Cuse href='%23f' transform='translate(88 74) scale(1.45) rotate(20)' fill='%23f8cdb0'/%3E%3Cuse href='%23f' transform='translate(24 92) scale(1.2) rotate(40)' fill='%23f6bfc9'/%3E%3Cuse href='%23f' transform='translate(138 60) scale(.9)' fill='%23fbe0c8'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c' transform='scale(1.3)'/%3E%3Cuse href='%23c' transform='translate(480 0) scale(-1.3 1.3)'/%3E%3Cg fill='%23e9b8b6'%3E%3Ccircle cx='240' cy='28' r='2.4'/%3E%3Ccircle cx='224' cy='36' r='1.8'/%3E%3Ccircle cx='256' cy='36' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cpath id='l' d='M0 0C8-12 26-16 40-9 32 5 12 11 0 0z'/%3E%3Cg id='f'%3E%3Cg%3E%3Cellipse cy='-11' rx='8' ry='12'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(72)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(144)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(216)'/%3E%3Cellipse cy='-11' rx='8' ry='12' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='4.5' fill='%23f6d28e'/%3E%3C/g%3E%3Cg id='c'%3E%3Cpath d='M-10 30C50 18 84 62 160 70' fill='none' stroke='%237fa07c' stroke-width='2'/%3E%3Cg fill='%238fb08b'%3E%3Cuse href='%23l' transform='translate(26 28) rotate(-60) scale(1.1)'/%3E%3Cuse href='%23l' transform='translate(58 34) rotate(40) scale(1.2)'/%3E%3Cuse href='%23l' transform='translate(96 58) rotate(-40)'/%3E%3Cuse href='%23l' transform='translate(120 64) rotate(55) scale(1.1)'/%3E%3Cuse href='%23l' transform='translate(18 70) rotate(70)'/%3E%3C/g%3E%3Cuse href='%23f' transform='translate(34 42) scale(1.9)' fill='%23f2b3b3'/%3E%3Cuse href='%23f' transform='translate(88 74) scale(1.45) rotate(20)' fill='%23f8cdb0'/%3E%3Cuse href='%23f' transform='translate(24 92) scale(1.2) rotate(40)' fill='%23f6bfc9'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(0 120) scale(1 -1)'%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='translate(480 0) scale(-1 1)'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="floral"] { background: radial-gradient(120% 60% at 50% 0, #fff0ec 0, transparent 70%), var(--bg); }
[data-theme="floral"] .inv-title { font-style: italic; }
[data-theme="floral"] .inv-guest { background: #fff; }
[data-theme="floral"] .inv-guest-name { font-style: italic; }
body.inv-page:has([data-theme="floral"]) { --page: #f3dcd6; }

/* ---------- 6 · Dorado (premium): negro y oro, abanico art decó ---------- */
[data-theme="dorado"] {
  --bg: #0f0e0c; --ink: #f3e9d0; --muted: #bfae88;
  --accent: #d4af37; --accent-d: #e2c35a; --btn: #d4af37; --on-accent: #17130a; --line: rgba(212,175,55,.5);
  --f-msg: var(--f-body); --msg-style: normal;
  --f-display: 'Cinzel', 'Times New Roman', serif; --f-body: 'Jost', system-ui, sans-serif;
  --r-btn: 0; --tw: 600; --ts: clamp(2.2rem, 10.5vw, 3rem);
  --day-size: clamp(4rem, 18vw, 5rem);
  --cell-bg: rgba(212,175,55,.06); --cell-bd: rgba(212,175,55,.5); --cell-r: 0;
  --env-flap: #1c1912;
  --title-color: #e6c765;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' x2='480'%3E%3Cstop offset='0' stop-color='%23f6e27a'/%3E%3Cstop offset='.5' stop-color='%23b8892a'/%3E%3Cstop offset='1' stop-color='%23f6e27a'/%3E%3C/linearGradient%3E%3Cpath id='r' d='M240-6V118'/%3E%3C/defs%3E%3Cg stroke='url(%23g)' stroke-width='1.2' fill='none'%3E%3Cuse href='%23r' transform='rotate(-70 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(-56 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(-42 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(-28 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(-14 240 -6)'/%3E%3Cuse href='%23r'/%3E%3Cuse href='%23r' transform='rotate(14 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(28 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(42 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(56 240 -6)'/%3E%3Cuse href='%23r' transform='rotate(70 240 -6)'/%3E%3Ccircle cx='240' cy='-6' r='34' fill='%230f0e0c'/%3E%3Ccircle cx='240' cy='-6' r='46'/%3E%3Ccircle cx='240' cy='-6' r='86'/%3E%3Ccircle cx='240' cy='-6' r='104' stroke-width='2'/%3E%3C/g%3E%3Cpath d='M240 120l12 12-12 12-12-12z' fill='url(%23g)'/%3E%3Cg stroke='url(%23g)' stroke-width='1.2' fill='none'%3E%3Cpath d='M16 150V16h134M464 150V16H330'/%3E%3Cpath d='M28 150V28h110M452 150V28H342' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' x2='480'%3E%3Cstop offset='0' stop-color='%23f6e27a'/%3E%3Cstop offset='.5' stop-color='%23b8892a'/%3E%3Cstop offset='1' stop-color='%23f6e27a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23g)' stroke-width='1.2' fill='none'%3E%3Cpath d='M16 -10V104h134M464 -10V104H330'/%3E%3Cpath d='M28 -10V92h110M452 -10V92H342' opacity='.5'/%3E%3Cpath d='M170 70H222M258 70H310'/%3E%3C/g%3E%3Cpath d='M240 56l14 14-14 14-14-14z' fill='url(%23g)'/%3E%3C/svg%3E");
}
.inv[data-theme="dorado"]::before {
  content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(212,175,55,.35);
}
.inv[data-theme="dorado"] .inv-title, .inv[data-theme="dorado"] .inv-day {
  background: linear-gradient(100deg, #f8e58b, #c79a2c 45%, #f6e27a 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  letter-spacing: .06em;
}
.inv[data-theme="dorado"] .inv-title { text-transform: uppercase; }
[data-theme="dorado"] .inv-btn { font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; }
[data-theme="dorado"] .inv-btn--primary { background: linear-gradient(100deg, #f1d775, #c79a2c 55%, #efd46b); border-color: #c79a2c; }
[data-theme="dorado"] .inv-btn:hover { color: #17130a; }
[data-theme="dorado"] .inv-msg { color: #e8dcc0; font-size: 1.1rem; line-height: 1.6; }
.inv[data-theme="dorado"] .inv-guest { background: rgba(212,175,55,.07); border-radius: 0; border-color: rgba(212,175,55,.6); }
.inv[data-theme="dorado"] .inv-guest-name { background: linear-gradient(100deg, #f8e58b, #c79a2c 45%, #f6e27a 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.25rem, 6vw, 1.6rem); }
[data-theme="dorado"] .inv-guest-passes { text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 500; }
.inv-envelope[data-theme="dorado"] .inv-envelope-to { background: linear-gradient(100deg, #f8e58b, #c79a2c 50%, #f6e27a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: .06em; }
body.inv-page:has([data-theme="dorado"]) { --page: #050403; }

/* ---------- 7 · Rosa XV (premium): tiara, destellos y rosa empolvado ---------- */
[data-theme="xv-rosa"] {
  --bg: #fff1f5; --ink: #5a2540; --muted: #84526c;
  --accent: #d6457e; --accent-d: #b02a63; --btn: #c63675; --on-accent: #fff; --line: rgba(214,69,126,.35);
  --f-msg: var(--f-body); --msg-style: normal;
  --f-display: 'Great Vibes', cursive; --f-body: 'Josefin Sans', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(3.3rem, 17vw, 4.8rem);
  --day-size: clamp(4.4rem, 20vw, 5.6rem);
  --cell-r: 14px; --cell-bg: rgba(255,255,255,.7); --cell-bd: rgba(214,69,126,.3);
  --title-color: #c0346d; --env-flap: #ffd6e4;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f8d2a8'/%3E%3Cstop offset='.5' stop-color='%23e8a0a8'/%3E%3Cstop offset='1' stop-color='%23cf7a92'/%3E%3C/linearGradient%3E%3Cpath id='s' d='M0-11C1-3 3-1 11 0 3 1 1 3 0 11-1 3-3 1-11 0-3-1-1-3 0-11z'/%3E%3C/defs%3E%3Cg fill='%23d6457e'%3E%3Cuse href='%23s' transform='translate(70 52) scale(1.3)' fill='%23f2a3c0'/%3E%3Cuse href='%23s' transform='translate(120 100) scale(.8)'/%3E%3Cuse href='%23s' transform='translate(40 108) scale(.6)' fill='%23f2a3c0'/%3E%3Cuse href='%23s' transform='translate(412 54) scale(1.3)' fill='%23f2a3c0'/%3E%3Cuse href='%23s' transform='translate(360 104) scale(.8)'/%3E%3Cuse href='%23s' transform='translate(442 110) scale(.6)' fill='%23f2a3c0'/%3E%3C/g%3E%3Cg fill='none' stroke='%23d6457e' stroke-width='1' opacity='.5'%3E%3Cpath d='M170 118c20 8 40 12 70 12s50-4 70-12'/%3E%3C/g%3E%3Cpath d='M168 108L178 56l26 26 36-48 36 48 26-26 10 52z' transform='translate(0 -6)' fill='url(%23g)' stroke='%23b8566f' stroke-width='1.2' stroke-linejoin='round'/%3E%3Crect x='168' y='100' width='144' height='14' rx='4' fill='url(%23g)' stroke='%23b8566f' stroke-width='1.2'/%3E%3Cg fill='%23fff' stroke='%23b8566f' stroke-width='1'%3E%3Ccircle cx='178' cy='50' r='5'/%3E%3Ccircle cx='240' cy='28' r='6.5'/%3E%3Ccircle cx='302' cy='50' r='5'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='190' cy='107' r='2.4'/%3E%3Ccircle cx='215' cy='107' r='2.4'/%3E%3Ccircle cx='240' cy='107' r='3'/%3E%3Ccircle cx='265' cy='107' r='2.4'/%3E%3Ccircle cx='290' cy='107' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='r'%3E%3Ccircle r='12' fill='%23e86f9a'/%3E%3Cpath d='M0-2c5-5 9 1 4 5S-4 4-6-1s6-9 11-5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='1.3'/%3E%3C/g%3E%3Cpath id='l' d='M0 0C8-10 22-12 32-6 24 6 8 8 0 0z' fill='%2394b890'/%3E%3C/defs%3E%3Cpath d='M30 66c70 28 130-26 210 0s140 22 210-4' fill='none' stroke='%2394b890' stroke-width='2'/%3E%3Cuse href='%23l' transform='translate(96 72) rotate(-30)'/%3E%3Cuse href='%23l' transform='translate(170 62) rotate(150)'/%3E%3Cuse href='%23l' transform='translate(300 84) rotate(-20)'/%3E%3Cuse href='%23l' transform='translate(384 74) rotate(160)'/%3E%3Cuse href='%23r' transform='translate(60 62)'/%3E%3Cuse href='%23r' transform='translate(136 76) scale(.8)'/%3E%3Cuse href='%23r' transform='translate(240 62) scale(1.3)'/%3E%3Cuse href='%23r' transform='translate(344 80) scale(.8)'/%3E%3Cuse href='%23r' transform='translate(420 62)'/%3E%3C/svg%3E");
}
[data-theme="xv-rosa"] .inv-title { line-height: 1.1; text-shadow: 0 2px 0 rgba(255,255,255,.8); }
[data-theme="xv-rosa"] .inv-kicker { letter-spacing: .34em; }
[data-theme="xv-rosa"] .inv-msg { font-size: 1.12rem; line-height: 1.6; }
[data-theme="xv-rosa"] .inv-guest { background: rgba(255,255,255,.7); }
[data-theme="xv-rosa"] .inv-guest-name { font-size: clamp(1.9rem, 9vw, 2.5rem); line-height: 1.1; }
[data-theme="xv-rosa"] .inv-btn--primary { background: linear-gradient(135deg, #e5578c, #c63675); box-shadow: 0 10px 22px -10px #b02a63; }
.inv[data-theme="xv-rosa"] { background: radial-gradient(110% 50% at 50% 0, #ffe0eb 0, transparent 70%), var(--bg); }
body.inv-page:has([data-theme="xv-rosa"]) { --page: #f7cddc; }

/* ---------- 8 · Salvia (premium): boda de eucalipto, verde salvia y marfil ---------- */
[data-theme="boda-salvia"] {
  --bg: #f7f5ec; --ink: #3a4636; --muted: #5f6c59;
  --accent: #6f845f; --accent-d: #526348; --on-accent: #fff; --line: rgba(111,132,95,.45);
  --f-display: 'Bodoni Moda', 'Playfair Display', serif; --f-body: 'Jost', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.5rem, 12vw, 3.4rem);
  --cell-r: 999px; --cell-bg: rgba(255,255,255,.6); --cell-bd: rgba(111,132,95,.4);
  --env-flap: #dfe5d0;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cellipse cx='9' cy='-9' rx='13' ry='8' transform='rotate(-42 9 -9)'/%3E%3Cellipse cx='9' cy='9' rx='13' ry='8' transform='rotate(42 9 9)'/%3E%3C/g%3E%3Cg id='b'%3E%3Cpath d='M-10 10C60 10 130 30 200 72' fill='none' stroke='%23697b5a' stroke-width='2'/%3E%3Cg fill='%23a3b394'%3E%3Cuse href='%23p' transform='translate(22 11) rotate(8)'/%3E%3Cuse href='%23p' transform='translate(84 22) rotate(18)' fill='%238a9d7b'/%3E%3Cuse href='%23p' transform='translate(147 44) rotate(30)'/%3E%3C/g%3E%3Cg fill='%238a9d7b'%3E%3Cuse href='%23p' transform='translate(53 15) rotate(12)'/%3E%3Cuse href='%23p' transform='translate(116 32) rotate(24)' fill='%23b5c3a6'/%3E%3Cuse href='%23p' transform='translate(179 59) rotate(34)' fill='%23a3b394'/%3E%3C/g%3E%3Cellipse cx='206' cy='77' rx='12' ry='7' transform='rotate(40 206 77)' fill='%23b5c3a6'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23b'/%3E%3Cuse href='%23b' transform='translate(480 0) scale(-1 1)'/%3E%3Cg fill='%23b89b5e'%3E%3Ccircle cx='240' cy='30' r='2.6'/%3E%3C/g%3E%3Cpath d='M150 30h62M268 30h62' stroke='%23b89b5e' stroke-width='1' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cellipse cx='9' cy='-9' rx='13' ry='8' transform='rotate(-42 9 -9)'/%3E%3Cellipse cx='9' cy='9' rx='13' ry='8' transform='rotate(42 9 9)'/%3E%3C/g%3E%3Cg id='b'%3E%3Cpath d='M-10 10C60 10 130 30 200 72' fill='none' stroke='%23697b5a' stroke-width='2'/%3E%3Cg fill='%23a3b394'%3E%3Cuse href='%23p' transform='translate(22 11) rotate(8)'/%3E%3Cuse href='%23p' transform='translate(84 22) rotate(18)' fill='%238a9d7b'/%3E%3Cuse href='%23p' transform='translate(147 44) rotate(30)'/%3E%3C/g%3E%3Cg fill='%238a9d7b'%3E%3Cuse href='%23p' transform='translate(53 15) rotate(12)'/%3E%3Cuse href='%23p' transform='translate(116 32) rotate(24)' fill='%23b5c3a6'/%3E%3C/g%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(0 120) scale(.95 -.95)'%3E%3Cuse href='%23b'/%3E%3Cuse href='%23b' transform='translate(480 0) scale(-1 1)'/%3E%3C/g%3E%3C/svg%3E");
}
[data-theme="boda-salvia"] .inv-title { font-style: italic; letter-spacing: .01em; }
[data-theme="boda-salvia"] { --btn: #5a7049; }
[data-theme="boda-salvia"] .inv-guest { background: rgba(255,255,255,.6); }
[data-theme="boda-salvia"] .inv-guest-name { font-style: italic; }
.inv[data-theme="boda-salvia"]::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 30% at 50% 100%, #e6ebd8, transparent 70%);
}
body.inv-page:has([data-theme="boda-salvia"]) { --page: #dfe5d0; }

/* ---------- 9 · Bebé azul (premium): móvil de luna y estrellas ---------- */
[data-theme="bebe-azul"] {
  --bg: #eef6fc; --ink: #2f5a82; --muted: #3f668a; --msg-style: normal;
  --accent: #5fa3d6; --accent-d: #1f6aa3; --btn: #2a72ab; --on-accent: #fff; --line: rgba(95,163,214,.4);
  --f-display: 'Baloo 2', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif;
  --r-btn: 999px; --tw: 700; --ts: clamp(2.5rem, 12vw, 3.4rem);
  --cell-r: 18px; --cell-bg: #fff; --cell-bd: rgba(95,163,214,.3);
  --title-color: #1f6aa3; --env-flap: #cfe6f6;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cpath id='t' d='M0-16L4.7-6.5 15.2-4.9 7.6 2.5 9.4 12.9 0 8-9.400 12.900-7.600 2.500-15.200-4.900-4.700-6.500z'/%3E%3Cg id='c'%3E%3Ccircle cx='0' cy='0' r='11'/%3E%3Ccircle cx='16' cy='-7' r='15'/%3E%3Ccircle cx='34' cy='0' r='11'/%3E%3Crect x='-11' y='-1' width='56' height='12' rx='6'/%3E%3C/g%3E%3C/defs%3E%3Cg stroke='%2390bbdf' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M70 0V70M150 0V104M240 0V54M330 0V100M410 0V66'/%3E%3C/g%3E%3Cuse href='%23t' transform='translate(70 86) rotate(-8) scale(1.1)' fill='%23f7d97f' stroke='%23f7d97f' stroke-width='3' stroke-linejoin='round'/%3E%3Cuse href='%23c' x='132' y='112' fill='%23fff' stroke='%23b5d5ee' stroke-width='1.5'/%3E%3Cpath d='M250 54a30 30 0 1 0 14 50 24 24 0 1 1-14-50z' fill='%23f7d97f' stroke='%23f2c85a' stroke-width='1.5' stroke-linejoin='round' transform='translate(-12 0)'/%3E%3Cuse href='%23c' x='312' y='108' fill='%23fff' stroke='%23b5d5ee' stroke-width='1.5'/%3E%3Cuse href='%23t' transform='translate(410 82) rotate(10) scale(1.2)' fill='%23f7d97f' stroke='%23f7d97f' stroke-width='3' stroke-linejoin='round'/%3E%3Cg fill='%23a9cdea'%3E%3Ccircle cx='28' cy='60' r='3'/%3E%3Ccircle cx='196' cy='40' r='2.4'/%3E%3Ccircle cx='286' cy='30' r='3'/%3E%3Ccircle cx='456' cy='44' r='2.6'/%3E%3Ccircle cx='370' cy='132' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='c'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='28' cy='-12' r='28'/%3E%3Ccircle cx='62' cy='-2' r='22'/%3E%3Crect x='-20' y='-2' width='104' height='24' rx='12'/%3E%3C/g%3E%3Cpath id='t' d='M0-9L2.700-3.700 8.600-2.800 4.300 1.400 5.300 7.300 0 4.500-5.300 7.300-4.300 1.400-8.600-2.800-2.700-3.700z'/%3E%3C/defs%3E%3Cuse href='%23c' x='-8' y='116' fill='%23d4e8f7' transform='scale(1.4)'/%3E%3Cuse href='%23c' x='170' y='122' fill='%23e3f0fa' transform='scale(1.5)'/%3E%3Cuse href='%23c' x='260' y='112' fill='%23d4e8f7' transform='scale(1.4)'/%3E%3Cuse href='%23c' x='40' y='108' fill='%23fff' transform='scale(1.3)'/%3E%3Cuse href='%23c' x='190' y='112' fill='%23fff' transform='scale(1.2)'/%3E%3Cg fill='%23f7d97f' stroke='%23f7d97f' stroke-width='2' stroke-linejoin='round'%3E%3Cuse href='%23t' transform='translate(100 30)'/%3E%3Cuse href='%23t' transform='translate(250 18) scale(1.3)'/%3E%3Cuse href='%23t' transform='translate(390 40) scale(.9)'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="bebe-azul"] { background: linear-gradient(#dcecf9 0, var(--bg) 40%); }
[data-theme="bebe-azul"] .inv-btn--primary { box-shadow: 0 8px 18px -8px #2f7db8; }
[data-theme="bebe-azul"] .inv-guest { background: #fff; }
body.inv-page:has([data-theme="bebe-azul"]) { --page: #cfe3f3; }

/* ---------- 10 · Bebé rosa (premium): globos, corazones y moño ---------- */
[data-theme="bebe-rosa"] {
  --bg: #fff3f4; --ink: #6a3447; --muted: #86566a;
  --accent: #ee7d9c; --accent-d: #b83e64; --btn: #bd4068; --on-accent: #fff; --line: rgba(238,125,156,.4);
  --f-display: 'Pacifico', cursive; --f-body: 'Nunito', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.2rem, 10.5vw, 3rem);
  --day-size: clamp(3.8rem, 17vw, 4.8rem);
  --cell-r: 18px; --cell-bg: #fff; --cell-bd: rgba(238,125,156,.3);
  --title-color: #be4470; --env-flap: #ffd9e0;
  --f-msg: var(--f-body); --msg-style: normal;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cpath id='h' d='M0 5C-14-5-8-16 0-8 8-16 14-5 0 5z'/%3E%3C/defs%3E%3Cg fill='none' stroke='%23c9a0aa' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M205 76C208 108 232 124 240 138'/%3E%3Cpath d='M240 62C240 96 240 118 240 138'/%3E%3Cpath d='M275 76C272 108 248 124 240 138'/%3E%3C/g%3E%3Cellipse cx='205' cy='50' rx='25' ry='29' fill='%23f6a9bd'/%3E%3Cellipse cx='275' cy='50' rx='25' ry='29' fill='%23ffd0da'/%3E%3Cellipse cx='240' cy='36' rx='25' ry='29' fill='%23ec7596'/%3E%3Cpath d='M200 77l5 7 5-7zM270 77l5 7 5-7z' fill='%23f6a9bd'/%3E%3Cpath d='M235 63l5 7 5-7z' fill='%23ec7596'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' opacity='.75'%3E%3Cpath d='M192 40c2-6 6-10 11-11M262 40c2-6 6-10 11-11M227 26c2-6 6-10 11-11'/%3E%3C/g%3E%3Cpath d='M240 138c-16-14-26-4-18 4 8 6 18-2 18-4zM240 138c16-14 26-4 18 4-8 6-18-2-18-4z' fill='%23ee7d9c'/%3E%3Ccircle cx='240' cy='138' r='4' fill='%23c5496f'/%3E%3Cuse href='%23h' transform='translate(80 70) rotate(-14) scale(1.6)' fill='%23f6a9bd'/%3E%3Cuse href='%23h' transform='translate(130 110) rotate(10)' fill='%23ec7596'/%3E%3Cuse href='%23h' transform='translate(46 128) scale(.9) rotate(-10)' fill='%23ffd0da'/%3E%3Cuse href='%23h' transform='translate(400 66) rotate(12) scale(1.6)' fill='%23ec7596'/%3E%3Cuse href='%23h' transform='translate(350 114) rotate(-10)' fill='%23f6a9bd'/%3E%3Cuse href='%23h' transform='translate(438 120) scale(.9) rotate(12)' fill='%23ffd0da'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cpath id='h' d='M0 6C-15-5-9-17 0-8 9-17 15-5 0 6z'/%3E%3C/defs%3E%3Cpath d='M-10 20Q240 84 490 20' fill='none' stroke='%23c9a0aa' stroke-width='1.4'/%3E%3Cuse href='%23h' transform='translate(30 36)' fill='%23ee7d9c'/%3E%3Cuse href='%23h' transform='translate(90 52) scale(1.1)' fill='%23ffc2d0'/%3E%3Cuse href='%23h' transform='translate(150 62)' fill='%23ee7d9c'/%3E%3Cuse href='%23h' transform='translate(210 66) scale(1.1)' fill='%23ffc2d0'/%3E%3Cuse href='%23h' transform='translate(270 66)' fill='%23ee7d9c'/%3E%3Cuse href='%23h' transform='translate(330 62) scale(1.1)' fill='%23ffc2d0'/%3E%3Cuse href='%23h' transform='translate(390 52)' fill='%23ee7d9c'/%3E%3Cuse href='%23h' transform='translate(450 36) scale(1.1)' fill='%23ffc2d0'/%3E%3C/svg%3E");
}
[data-theme="bebe-rosa"] .inv-title { line-height: 1.25; }
[data-theme="bebe-rosa"] .inv-msg { font-size: 1.1rem; line-height: 1.6; }
[data-theme="bebe-rosa"] .inv-guest { background: #fff; }
[data-theme="bebe-rosa"] .inv-guest-name { font-size: clamp(1.3rem, 6.5vw, 1.7rem); line-height: 1.4; }
[data-theme="bebe-rosa"] .inv-btn--primary { box-shadow: 0 8px 18px -8px #c5496f; }
.inv[data-theme="bebe-rosa"] { background: linear-gradient(#ffe5ea 0, var(--bg) 38%); }
body.inv-page:has([data-theme="bebe-rosa"]) { --page: #fbd8df; }

/* ---------- 11 · Noche (premium): cielo estrellado y luna ---------- */
[data-theme="noche"] {
  --bg: #0d1233; --ink: #ecebfa; --muted: #aeb2d6;
  --accent: #f2d388; --accent-d: #f2d388; --btn: #f2d388; --on-accent: #1a1740; --line: rgba(242,211,136,.35);
  --f-display: 'Fraunces', Georgia, serif; --f-body: 'Outfit', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.6rem, 12.5vw, 3.6rem);
  --cell-r: 12px; --cell-bg: rgba(255,255,255,.06); --cell-bd: rgba(242,211,136,.3);
  --title-color: #fbe9b5; --env-flap: #1a2058;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cpath id='s' d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z'/%3E%3CradialGradient id='gl'%3E%3Cstop offset='0' stop-color='%23f2d388' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%23f2d388' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='392' cy='62' r='78' fill='url(%23gl)'/%3E%3Cpath d='M404 28a38 38 0 1 0 22 66 31 31 0 1 1-22-66z' fill='%23f6dc9a'/%3E%3Cg fill='none' stroke='%238f95d6' stroke-width='1' stroke-dasharray='2 4' opacity='.8'%3E%3Cpath d='M60 40L112 78 170 52 214 100'/%3E%3C/g%3E%3Cg fill='%23f6e6bb'%3E%3Cuse href='%23s' transform='translate(60 40) scale(1.1)'/%3E%3Cuse href='%23s' transform='translate(112 78) scale(.8)'/%3E%3Cuse href='%23s' transform='translate(170 52) scale(1.3)'/%3E%3Cuse href='%23s' transform='translate(214 100) scale(.9)'/%3E%3Cuse href='%23s' transform='translate(300 30) scale(.7)'/%3E%3Cuse href='%23s' transform='translate(26 112) scale(.7)'/%3E%3Cuse href='%23s' transform='translate(310 120) scale(.9)'/%3E%3Cuse href='%23s' transform='translate(450 130) scale(.6)'/%3E%3C/g%3E%3Cg fill='%23cfd3f5'%3E%3Ccircle cx='90' cy='20' r='1.6'/%3E%3Ccircle cx='140' cy='24' r='1.2'/%3E%3Ccircle cx='250' cy='50' r='1.6'/%3E%3Ccircle cx='350' cy='84' r='1.3'/%3E%3Ccircle cx='260' cy='130' r='1.5'/%3E%3Ccircle cx='170' cy='130' r='1.2'/%3E%3Ccircle cx='24' cy='70' r='1.4'/%3E%3Ccircle cx='460' cy='20' r='1.5'/%3E%3Ccircle cx='330' cy='62' r='1.1'/%3E%3Ccircle cx='60' cy='140' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cpath id='s' d='M0-8C1-2 2-1 8 0 2 1 1 2 0 8-1 2-2 1-8 0-2-1-1-2 0-8z'/%3E%3C/defs%3E%3Cg fill='%23f6e6bb'%3E%3Cuse href='%23s' transform='translate(70 24) scale(.9)'/%3E%3Cuse href='%23s' transform='translate(250 14) scale(.7)'/%3E%3Cuse href='%23s' transform='translate(410 30)'/%3E%3C/g%3E%3Cpath d='M0 120V74C50 52 90 60 140 72S230 90 290 66 400 48 480 70V120z' fill='%23161b4a'/%3E%3Cpath d='M0 120V96C60 80 120 92 180 100S320 94 380 84 450 86 480 94V120z' fill='%23090d27'/%3E%3Cg fill='%23090d27'%3E%3Cpath d='M60 98l8-26 8 26zM78 98l6-18 6 18z'/%3E%3Cpath d='M404 90l8-26 8 26zM420 90l6-18 6 18z'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="noche"] { background: radial-gradient(90% 40% at 80% 0, #2a2f7a 0, transparent 70%), linear-gradient(#0d1233, #131846 60%, #0d1233); }
[data-theme="noche"] .inv-title { font-style: italic; }
[data-theme="noche"] .inv-guest { background: rgba(255,255,255,.06); }
[data-theme="noche"] .inv-guest-name { font-style: italic; }
[data-theme="noche"] .inv-btn:hover { color: #1a1740; }
@keyframes inv-twinkle { 50% { opacity: .55; } }
.inv[data-theme="noche"] .inv-deco--top { animation: inv-twinkle 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .inv[data-theme="noche"] .inv-deco--top { animation: none; } }
body.inv-page:has([data-theme="noche"]) { --page: #04061a; }

/* ---------- 12 · Tropical (premium): palmas, hibiscos y verano ---------- */
[data-theme="tropical"] {
  --bg: #fffbe9; --ink: #0f4a39; --muted: #3f6c5c;
  --accent: #ff4f8b; --accent-d: #c4235f; --btn: #d92a6a;
  --f-msg: var(--f-body); --msg-style: normal; --on-accent: #fff; --line: rgba(15,107,79,.3);
  --f-display: 'Lilita One', system-ui, sans-serif; --f-body: 'Poppins', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.6rem, 12.5vw, 3.5rem);
  --cell-r: 14px; --cell-bg: #fff; --cell-bd: rgba(15,107,79,.3);
  --title-color: #0f7a58; --day-color: #d92a6a; --env-flap: #a6dcb8;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='lf'%3E%3Cpath d='M0 0C24-16 84-16 128 0 84 16 24 16 0 0z'/%3E%3Cpath d='M6 0H120' stroke='%23fffbe9' stroke-opacity='.45' stroke-width='1.4' fill='none'/%3E%3C/g%3E%3Cg id='fan'%3E%3Cuse href='%23lf' transform='rotate(4) scale(1.1)' fill='%230f7a58'/%3E%3Cuse href='%23lf' transform='rotate(28) scale(1.25)' fill='%2312916a'/%3E%3Cuse href='%23lf' transform='rotate(52) scale(1.2)' fill='%230f7a58'/%3E%3Cuse href='%23lf' transform='rotate(76) scale(1)' fill='%2312916a'/%3E%3Cuse href='%23lf' transform='rotate(98) scale(.8)' fill='%230f7a58'/%3E%3C/g%3E%3Cg id='hb'%3E%3Cg fill='%23ff4f8b'%3E%3Cpath d='M0 0C-14-8-16-28 0-36 16-28 14-8 0 0z'/%3E%3Cpath d='M0 0C-14-8-16-28 0-36 16-28 14-8 0 0z' transform='rotate(72)'/%3E%3Cpath d='M0 0C-14-8-16-28 0-36 16-28 14-8 0 0z' transform='rotate(144)'/%3E%3Cpath d='M0 0C-14-8-16-28 0-36 16-28 14-8 0 0z' transform='rotate(216)'/%3E%3Cpath d='M0 0C-14-8-16-28 0-36 16-28 14-8 0 0z' transform='rotate(288)'/%3E%3C/g%3E%3Ccircle r='7' fill='%23c2185b'/%3E%3Cpath d='M0 0L4-26' stroke='%23ffc93c' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='4' cy='-27' r='3' fill='%23ffc93c'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23fan' transform='translate(-6 -6)'/%3E%3Cuse href='%23fan' transform='translate(486 -6) scale(-1 1)'/%3E%3Cuse href='%23hb' transform='translate(70 96) scale(.95) rotate(-12)'/%3E%3Cuse href='%23hb' transform='translate(420 84) scale(.75) rotate(14)'/%3E%3Cg fill='%23ffc93c'%3E%3Ccircle cx='236' cy='20' r='4'/%3E%3Ccircle cx='254' cy='36' r='3'/%3E%3Ccircle cx='222' cy='42' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='lf'%3E%3Cpath d='M0 0C24-16 84-16 128 0 84 16 24 16 0 0z'/%3E%3Cpath d='M6 0H120' stroke='%23fffbe9' stroke-opacity='.45' stroke-width='1.4' fill='none'/%3E%3C/g%3E%3Cg id='fan'%3E%3Cuse href='%23lf' transform='rotate(4) scale(1.1)' fill='%230f7a58'/%3E%3Cuse href='%23lf' transform='rotate(28) scale(1.25)' fill='%2312916a'/%3E%3Cuse href='%23lf' transform='rotate(52) scale(1.2)' fill='%230f7a58'/%3E%3Cuse href='%23lf' transform='rotate(76) scale(1)' fill='%2312916a'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='translate(0 126) scale(1 -1)'%3E%3Cuse href='%23fan' transform='translate(-6 0) scale(.9)'/%3E%3Cuse href='%23fan' transform='translate(486 0) scale(-.9 .9)'/%3E%3C/g%3E%3Cg fill='%23ffc93c'%3E%3Ccircle cx='240' cy='80' r='5'/%3E%3Ccircle cx='222' cy='92' r='3'/%3E%3Ccircle cx='258' cy='92' r='3'/%3E%3C/g%3E%3Cpath d='M170 90q18-12 36 0M274 90q18-12 36 0' stroke='%23ff4f8b' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.inv[data-theme="tropical"] .inv-title { text-shadow: 2px 2px 0 #ffc93c; letter-spacing: .01em; }
[data-theme="tropical"] .inv-date { border: 2px solid #0f7a58; border-radius: 18px; }
[data-theme="tropical"] .inv-btn { font-weight: 600; border-width: 2px; }
[data-theme="tropical"] .inv-guest { background: #fff; border: 2px solid #0f7a58; border-radius: 18px; }
[data-theme="tropical"] .inv-guest-passes { border-top: 2px dashed #ff4f8b; color: #c4235f; }
[data-theme="tropical"] .inv-msg { font-size: 1.1rem; line-height: 1.6; }
[data-theme="tropical"] .inv-btn--primary { box-shadow: 0 4px 0 #b01c55; }
.inv[data-theme="tropical"] { background: linear-gradient(#fff2c4 0, var(--bg) 35%); }
body.inv-page:has([data-theme="tropical"]) { --page: #bfe6cf; }

/* ---------- 13 · Globos (gratis): globos de colores y confeti, cumpleaños infantil ---------- */
[data-theme="globos"] {
  --bg: #fffaf0; --ink: #2b2f4f; --muted: #5a5f80; --msg-style: normal;
  --accent: #ef476f; --accent-d: #c21f4b; --btn: #d4335c; --on-accent: #fff; --line: rgba(239,71,111,.4);
  --f-msg: var(--f-body); --f-display: 'Chewy', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.7rem, 13vw, 3.6rem); --cell-r: 16px; --cell-bg: #fff; --cell-bd: rgba(239,71,111,.3);
  --title-color: #d4335c; --day-color: #1c8fa3; --env-flap: #ffe1a8;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M58 88Q74 116 76 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='58' cy='52' rx='27' ry='32' fill='%23ef476f'/%3E%3Cpath d='M58 83l-4 8h8z' fill='%23ef476f'/%3E%3Cpath d='M41.8 50.4a14.9 22.4 0 0 1 9.5 -16' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M108 69Q99 106.5 76 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='108' cy='36' rx='24' ry='29' fill='%23ffc93c'/%3E%3Cpath d='M108 64l-4 8h8z' fill='%23ffc93c'/%3E%3Cpath d='M93.6 34.6a13.2 20.3 0 0 1 8.4 -14.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M26 123Q58 133.5 76 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='26' cy='92' rx='22' ry='27' fill='%232bb6c9'/%3E%3Cpath d='M26 118l-4 8h8z' fill='%232bb6c9'/%3E%3Cpath d='M12.8 90.7a12.1 18.9 0 0 1 7.7 -13.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M88 129Q89 136.5 76 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='88' cy='98' rx='22' ry='27' fill='%235b8def'/%3E%3Cpath d='M88 124l-4 8h8z' fill='%235b8def'/%3E%3Cpath d='M74.8 96.7a12.1 18.9 0 0 1 7.7 -13.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M136 106Q113 125 76 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='136' cy='80' rx='18' ry='22' fill='%239b6bd6'/%3E%3Cpath d='M136 101l-4 8h8z' fill='%239b6bd6'/%3E%3Cpath d='M125.2 78.9a9.9 15.4 0 0 1 6.3 -11' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M422 88Q420 116 404 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='422' cy='52' rx='27' ry='32' fill='%235b8def'/%3E%3Cpath d='M422 83l-4 8h8z' fill='%235b8def'/%3E%3Cpath d='M405.8 50.4a14.9 22.4 0 0 1 9.5 -16' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M372 69Q395 106.5 404 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='372' cy='36' rx='24' ry='29' fill='%239b6bd6'/%3E%3Cpath d='M372 64l-4 8h8z' fill='%239b6bd6'/%3E%3Cpath d='M357.6 34.6a13.2 20.3 0 0 1 8.4 -14.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M454 123Q436 133.5 404 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='454' cy='92' rx='22' ry='27' fill='%2345c08a'/%3E%3Cpath d='M454 118l-4 8h8z' fill='%2345c08a'/%3E%3Cpath d='M440.8 90.7a12.1 18.9 0 0 1 7.7 -13.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M392 129Q405 136.5 404 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='392' cy='98' rx='22' ry='27' fill='%23ef476f'/%3E%3Cpath d='M392 124l-4 8h8z' fill='%23ef476f'/%3E%3Cpath d='M378.8 96.7a12.1 18.9 0 0 1 7.7 -13.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M344 106Q381 125 404 148' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='344' cy='80' rx='18' ry='22' fill='%23ffc93c'/%3E%3Cpath d='M344 101l-4 8h8z' fill='%23ffc93c'/%3E%3Cpath d='M333.2 78.9a9.9 15.4 0 0 1 6.3 -11' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Crect x='170' y='30' width='9' height='5' rx='2' fill='%23ffc93c' transform='rotate(-40 170 30)'/%3E%3Crect x='200' y='60' width='9' height='5' rx='2' fill='%232bb6c9' transform='rotate(-3 200 60)'/%3E%3Crect x='250' y='36' width='9' height='5' rx='2' fill='%23ef476f' transform='rotate(34 250 36)'/%3E%3Crect x='286' y='70' width='9' height='5' rx='2' fill='%239b6bd6' transform='rotate(-19 286 70)'/%3E%3Crect x='320' y='28' width='9' height='5' rx='2' fill='%2345c08a' transform='rotate(18 320 28)'/%3E%3Crect x='226' y='110' width='9' height='5' rx='2' fill='%235b8def' transform='rotate(-35 226 110)'/%3E%3Crect x='262' y='126' width='9' height='5' rx='2' fill='%23ffc93c' transform='rotate(2 262 126)'/%3E%3Crect x='190' y='132' width='9' height='5' rx='2' fill='%23ef476f' transform='rotate(39 190 132)'/%3E%3Crect x='300' y='114' width='9' height='5' rx='2' fill='%232bb6c9' transform='rotate(-14 300 114)'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M30 36c30 20 50-14 80 8M370 44c30-22 50 14 80-8' fill='none' stroke='%232bb6c9' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M222 55Q238 75.5 240 100' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='222' cy='34' rx='14' ry='17' fill='%23ef476f'/%3E%3Cpath d='M222 50l-4 8h8z' fill='%23ef476f'/%3E%3Cpath d='M213.6 33.2a7.7 11.9 0 0 1 4.9 -8.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M240 45Q247 70.5 240 100' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='240' cy='24' rx='14' ry='17' fill='%23ffc93c'/%3E%3Cpath d='M240 40l-4 8h8z' fill='%23ffc93c'/%3E%3Cpath d='M231.6 23.2a7.7 11.9 0 0 1 4.9 -8.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M258 55Q256 75.5 240 100' fill='none' stroke='%238a7f93' stroke-width='1.2'/%3E%3Cellipse cx='258' cy='34' rx='14' ry='17' fill='%235b8def'/%3E%3Cpath d='M258 50l-4 8h8z' fill='%235b8def'/%3E%3Cpath d='M249.6 33.2a7.7 11.9 0 0 1 4.9 -8.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='3' stroke-linecap='round'/%3E%3Crect x='170' y='30' width='9' height='5' rx='2' fill='%23ffc93c' transform='rotate(-40 170 30)'/%3E%3Crect x='200' y='60' width='9' height='5' rx='2' fill='%232bb6c9' transform='rotate(-3 200 60)'/%3E%3Crect x='250' y='36' width='9' height='5' rx='2' fill='%23ef476f' transform='rotate(34 250 36)'/%3E%3Crect x='286' y='70' width='9' height='5' rx='2' fill='%239b6bd6' transform='rotate(-19 286 70)'/%3E%3Crect x='320' y='28' width='9' height='5' rx='2' fill='%2345c08a' transform='rotate(18 320 28)'/%3E%3Crect x='226' y='110' width='9' height='5' rx='2' fill='%235b8def' transform='rotate(-35 226 110)'/%3E%3Crect x='262' y='126' width='9' height='5' rx='2' fill='%23ffc93c' transform='rotate(2 262 126)'/%3E%3Crect x='190' y='132' width='9' height='5' rx='2' fill='%23ef476f' transform='rotate(39 190 132)'/%3E%3Crect x='300' y='114' width='9' height='5' rx='2' fill='%232bb6c9' transform='rotate(-14 300 114)'/%3E%3C/svg%3E");
}
.inv[data-theme="globos"] .inv-title { text-shadow: 3px 3px 0 #ffd6a0; letter-spacing: .01em; }
[data-theme="globos"] .inv-btn { border-width: 2.5px; font-weight: 800; box-shadow: 0 4px 0 rgba(212,51,92,.25); }
[data-theme="globos"] .inv-btn--primary { box-shadow: 0 4px 0 #a82447; }
[data-theme="globos"] .inv-date { border-style: dashed; border-width: 2px; border-color: #ffc93c; }
[data-theme="globos"] .inv-kicker, [data-theme="globos"] .inv-block-title { color: #17758a; }
[data-theme="globos"] .inv-guest { border: 2px dashed #ffc93c; background: #fff; }
[data-theme="globos"] .inv-guest-passes { border-top-color: #ffc93c; color: #17758a; }
body.inv-page:has([data-theme="globos"]) { --page: #ffe9c4; }

/* ---------- 14 · Deportivo (gratis): banderines, estadio y balón; verde, blanco y azul marino ---------- */
[data-theme="deportivo"] {
  --bg: #f6fbf4; --ink: #0f2547; --muted: #4a5d78; --msg-style: normal;
  --accent: #1f9d55; --accent-d: #11713b; --btn: #17803f; --on-accent: #fff; --line: rgba(20,48,92,.35);
  --f-msg: var(--f-body); --f-display: 'Bebas Neue', Impact, sans-serif; --f-body: 'Barlow', system-ui, sans-serif;
  --r-btn: 6px; --tw: 400; --ts: clamp(3rem, 15vw, 4.2rem); --day-size: clamp(4.6rem, 21vw, 5.8rem);
  --cell-r: 8px; --cell-bg: #fff; --cell-bd: rgba(20,48,92,.3);
  --title-color: #14305c; --day-color: #14305c; --env-flap: #d4ecd9;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M-10 14Q240 74 490 14' fill='none' stroke='%2314305c' stroke-width='2'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(10.8 18.8) rotate(12.4)' fill='%2314305c' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(52.5 27.1) rotate(10.2)' fill='%231f9d55' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(94.2 33.8) rotate(8)' fill='%23fff' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(135.8 38.8) rotate(5.7)' fill='%2314305c' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(177.5 42.1) rotate(3.4)' fill='%231f9d55' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(219.2 43.8) rotate(1.1)' fill='%23fff' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(260.8 43.8) rotate(-1.1)' fill='%2314305c' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(302.5 42.1) rotate(-3.4)' fill='%231f9d55' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(344.2 38.8) rotate(-5.7)' fill='%23fff' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(385.8 33.8) rotate(-8)' fill='%2314305c' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(427.5 27.1) rotate(-10.2)' fill='%231f9d55' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-19 0H19L0 44z' transform='translate(469.2 18.8) rotate(-12.4)' fill='%23fff' stroke='%2314305c' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M70 107L73.2 115.6L82.4 116L75.2 121.7L77.6 130.5L70 125.5L62.4 130.5L64.8 121.7L57.6 116L66.8 115.6z' fill='%231f9d55'/%3E%3Cpath d='M410 107L413.2 115.6L422.4 116L415.2 121.7L417.6 130.5L410 125.5L402.4 130.5L404.8 121.7L397.6 116L406.8 115.6z' fill='%231f9d55'/%3E%3Cpath d='M112 130L114 135.3L119.6 135.5L115.2 139L116.7 144.5L112 141.4L107.3 144.5L108.8 139L104.4 135.5L110 135.3z' fill='%2314305c'/%3E%3Cpath d='M368 130L370 135.3L375.6 135.5L371.2 139L372.7 144.5L368 141.4L363.3 144.5L364.8 139L360.4 135.5L366 135.3z' fill='%2314305c'/%3E%3Ccircle cx='240' cy='122' r='21' fill='%23fff' stroke='%2314305c' stroke-width='2.4'/%3E%3Cpath d='M240 114L240 101M247.6 119.5L260 115.5M244.7 128.5L252.3 139M235.3 128.5L227.7 139M232.4 119.5L220 115.5' stroke='%2314305c' stroke-width='2' fill='none'/%3E%3Cpath d='M240 114L247.6 119.5L244.7 128.5L235.3 128.5L232.4 119.5z' fill='%2314305c' stroke='%2314305c' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M24 60H196M284 60H456' stroke='%2314305c' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='240' cy='60' r='34' fill='none' stroke='%2314305c' stroke-width='2.2'/%3E%3Ccircle cx='240' cy='60' r='17' fill='%23fff' stroke='%2314305c' stroke-width='2.4'/%3E%3Cpath d='M240 53.5L240 43M246.1 58L256.2 54.7M243.8 65.2L250 73.8M236.2 65.2L230 73.8M233.9 58L223.8 54.7' stroke='%2314305c' stroke-width='2' fill='none'/%3E%3Cpath d='M240 53.5L246.1 58L243.8 65.2L236.2 65.2L233.9 58z' fill='%2314305c' stroke='%2314305c' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M60 51L62.2 56.9L68.6 57.2L63.6 61.2L65.3 67.3L60 63.8L54.7 67.3L56.4 61.2L51.4 57.2L57.8 56.9z' fill='%231f9d55'/%3E%3Cpath d='M420 51L422.2 56.9L428.6 57.2L423.6 61.2L425.3 67.3L420 63.8L414.7 67.3L416.4 61.2L411.4 57.2L417.8 56.9z' fill='%231f9d55'/%3E%3Cpath d='M100 55L101.2 58.3L104.8 58.5L102 60.6L102.9 64L100 62.1L97.1 64L98 60.6L95.2 58.5L98.8 58.3z' fill='%2314305c'/%3E%3Cpath d='M380 55L381.2 58.3L384.8 58.5L382 60.6L382.9 64L380 62.1L377.1 64L378 60.6L375.2 58.5L378.8 58.3z' fill='%2314305c'/%3E%3C/svg%3E");
}
.inv[data-theme="deportivo"] .inv-title { text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.inv[data-theme="deportivo"] .inv-title, .inv[data-theme="deportivo"] .inv-guest-name { text-shadow: 3px 3px 0 #bfe6cb; }
[data-theme="deportivo"] .inv-kicker, [data-theme="deportivo"] .inv-block-title { font-weight: 700; color: var(--accent-d); }
[data-theme="deportivo"] .inv-date { border-block: 3px solid #14305c; }
[data-theme="deportivo"] .inv-btn { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; border-width: 2px; }
[data-theme="deportivo"] .inv-msg { font-size: 1.15rem; }
[data-theme="deportivo"] .inv-guest { background: #fff; border: 2px solid #14305c; border-radius: 8px; }
[data-theme="deportivo"] .inv-guest-name { text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.6rem, 8vw, 2.1rem); }
[data-theme="deportivo"] .inv-guest-passes { border-top: 2px dashed #1f9d55; text-transform: uppercase; letter-spacing: .14em; }
body.inv-page:has([data-theme="deportivo"]) { --page: #d9ecdc; }

/* ---------- 15 · Rústico (premium): papel kraft, cordel, madera y eucalipto ---------- */
[data-theme="rustico"] {
  --bg: #f1e4cf; --ink: #3a2a1b; --muted: #664d33; --msg-style: normal;
  --accent: #8a5a33; --accent-d: #6b4423; --btn: #7a4f2a; --on-accent: #fff; --line: rgba(122,79,42,.45);
  --f-msg: var(--f-body); --f-display: 'Amatic SC', 'Segoe Print', cursive; --f-body: 'Lato', system-ui, sans-serif;
  --r-btn: 4px; --tw: 700; --ts: clamp(3.4rem, 17vw, 4.8rem); --day-size: clamp(4.8rem, 22vw, 6rem);
  --cell-r: 6px; --cell-bg: rgba(255,248,235,.6); --cell-bd: rgba(122,79,42,.45);
  --title-color: #5a3a1e; --env-flap: #d9bf94;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='sp'%3E%3Cpath d='M0 0Q60 -6 120 4' fill='none' stroke='%236b5a3c' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='14' cy='-8.594999999999999' rx='8.594999999999999' ry='6.2075' transform='rotate(-30 14 -8.594999999999999)' fill='%237e9a79'/%3E%3Cellipse cx='19' cy='10.594999999999999' rx='8.594999999999999' ry='6.2075' transform='rotate(30 19 10.594999999999999)' fill='%239db39a'/%3E%3Cellipse cx='28' cy='-8.19' rx='8.19' ry='5.915' transform='rotate(-30 28 -8.19)' fill='%239db39a'/%3E%3Cellipse cx='33' cy='10.19' rx='8.19' ry='5.915' transform='rotate(30 33 10.19)' fill='%237e9a79'/%3E%3Cellipse cx='42' cy='-7.785' rx='7.785' ry='5.6225' transform='rotate(-30 42 -7.785)' fill='%237e9a79'/%3E%3Cellipse cx='47' cy='9.785' rx='7.785' ry='5.6225' transform='rotate(30 47 9.785)' fill='%239db39a'/%3E%3Cellipse cx='56' cy='-7.380000000000001' rx='7.380000000000001' ry='5.33' transform='rotate(-30 56 -7.380000000000001)' fill='%239db39a'/%3E%3Cellipse cx='61' cy='9.38' rx='7.380000000000001' ry='5.33' transform='rotate(30 61 9.38)' fill='%237e9a79'/%3E%3Cellipse cx='70' cy='-6.9750000000000005' rx='6.9750000000000005' ry='5.0375000000000005' transform='rotate(-30 70 -6.9750000000000005)' fill='%237e9a79'/%3E%3Cellipse cx='75' cy='8.975000000000001' rx='6.9750000000000005' ry='5.0375000000000005' transform='rotate(30 75 8.975000000000001)' fill='%239db39a'/%3E%3Cellipse cx='84' cy='-6.57' rx='6.57' ry='4.745' transform='rotate(-30 84 -6.57)' fill='%239db39a'/%3E%3Cellipse cx='89' cy='8.57' rx='6.57' ry='4.745' transform='rotate(30 89 8.57)' fill='%237e9a79'/%3E%3Cellipse cx='98' cy='-6.165000000000001' rx='6.165000000000001' ry='4.452500000000001' transform='rotate(-30 98 -6.165000000000001)' fill='%237e9a79'/%3E%3Cellipse cx='103' cy='8.165000000000001' rx='6.165000000000001' ry='4.452500000000001' transform='rotate(30 103 8.165000000000001)' fill='%239db39a'/%3E%3Cellipse cx='112' cy='-5.76' rx='5.76' ry='4.16' transform='rotate(-30 112 -5.76)' fill='%239db39a'/%3E%3Cellipse cx='117' cy='7.76' rx='5.76' ry='4.16' transform='rotate(30 117 7.76)' fill='%237e9a79'/%3E%3Cellipse cx='128' cy='5' rx='8' ry='6' fill='%237e9a79'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M-10 10Q240 62 490 10' fill='none' stroke='%23a07a46' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M-14 0H14L0 34z' transform='translate(140 33.8) rotate(4.8)' fill='%23c9a97a' stroke='%237a4f2a' stroke-width='1.4' stroke-dasharray='3 2.5' stroke-linejoin='round'/%3E%3Cpath d='M-14 0H14L0 34z' transform='translate(190 37) rotate(2.4)' fill='%23d8bd92' stroke='%237a4f2a' stroke-width='1.4' stroke-dasharray='3 2.5' stroke-linejoin='round'/%3E%3Cpath d='M-14 0H14L0 34z' transform='translate(240 38)' fill='%23b98d5c' stroke='%237a4f2a' stroke-width='1.4' stroke-dasharray='3 2.5' stroke-linejoin='round'/%3E%3Cpath d='M-14 0H14L0 34z' transform='translate(290 37) rotate(-2.4)' fill='%23d8bd92' stroke='%237a4f2a' stroke-width='1.4' stroke-dasharray='3 2.5' stroke-linejoin='round'/%3E%3Cpath d='M-14 0H14L0 34z' transform='translate(340 33.8) rotate(-4.8)' fill='%23c9a97a' stroke='%237a4f2a' stroke-width='1.4' stroke-dasharray='3 2.5' stroke-linejoin='round'/%3E%3Cuse href='%23sp' transform='translate(-4 74) rotate(38)'/%3E%3Cuse href='%23sp' transform='translate(-6 124) rotate(8) scale(0.8)'/%3E%3Cuse href='%23sp' transform='translate(484 74) rotate(142)'/%3E%3Cuse href='%23sp' transform='translate(486 124) rotate(172) scale(0.8)'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='sp'%3E%3Cpath d='M0 0Q60 -6 120 4' fill='none' stroke='%236b5a3c' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='14' cy='-8.594999999999999' rx='8.594999999999999' ry='6.2075' transform='rotate(-30 14 -8.594999999999999)' fill='%237e9a79'/%3E%3Cellipse cx='19' cy='10.594999999999999' rx='8.594999999999999' ry='6.2075' transform='rotate(30 19 10.594999999999999)' fill='%239db39a'/%3E%3Cellipse cx='28' cy='-8.19' rx='8.19' ry='5.915' transform='rotate(-30 28 -8.19)' fill='%239db39a'/%3E%3Cellipse cx='33' cy='10.19' rx='8.19' ry='5.915' transform='rotate(30 33 10.19)' fill='%237e9a79'/%3E%3Cellipse cx='42' cy='-7.785' rx='7.785' ry='5.6225' transform='rotate(-30 42 -7.785)' fill='%237e9a79'/%3E%3Cellipse cx='47' cy='9.785' rx='7.785' ry='5.6225' transform='rotate(30 47 9.785)' fill='%239db39a'/%3E%3Cellipse cx='56' cy='-7.380000000000001' rx='7.380000000000001' ry='5.33' transform='rotate(-30 56 -7.380000000000001)' fill='%239db39a'/%3E%3Cellipse cx='61' cy='9.38' rx='7.380000000000001' ry='5.33' transform='rotate(30 61 9.38)' fill='%237e9a79'/%3E%3Cellipse cx='70' cy='-6.9750000000000005' rx='6.9750000000000005' ry='5.0375000000000005' transform='rotate(-30 70 -6.9750000000000005)' fill='%237e9a79'/%3E%3Cellipse cx='75' cy='8.975000000000001' rx='6.9750000000000005' ry='5.0375000000000005' transform='rotate(30 75 8.975000000000001)' fill='%239db39a'/%3E%3Cellipse cx='84' cy='-6.57' rx='6.57' ry='4.745' transform='rotate(-30 84 -6.57)' fill='%239db39a'/%3E%3Cellipse cx='89' cy='8.57' rx='6.57' ry='4.745' transform='rotate(30 89 8.57)' fill='%237e9a79'/%3E%3Cellipse cx='98' cy='-6.165000000000001' rx='6.165000000000001' ry='4.452500000000001' transform='rotate(-30 98 -6.165000000000001)' fill='%237e9a79'/%3E%3Cellipse cx='103' cy='8.165000000000001' rx='6.165000000000001' ry='4.452500000000001' transform='rotate(30 103 8.165000000000001)' fill='%239db39a'/%3E%3Cellipse cx='112' cy='-5.76' rx='5.76' ry='4.16' transform='rotate(-30 112 -5.76)' fill='%239db39a'/%3E%3Cellipse cx='117' cy='7.76' rx='5.76' ry='4.16' transform='rotate(30 117 7.76)' fill='%237e9a79'/%3E%3Cellipse cx='128' cy='5' rx='8' ry='6' fill='%237e9a79'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M30 62Q240 84 450 62' fill='none' stroke='%23a07a46' stroke-width='2.4' stroke-linecap='round'/%3E%3Cuse href='%23sp' transform='translate(120 76) rotate(-156) scale(0.7)'/%3E%3Cuse href='%23sp' transform='translate(360 76) rotate(-24) scale(0.7)'/%3E%3Cg fill='none' stroke='%23a07a46' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M240 72c-22-18-34 2-14 8s14-2 14-8zM240 72c22-18 34 2 14 8s-14-2-14-8zM236 78l-10 20M244 78l10 20'/%3E%3C/g%3E%3Ccircle cx='240' cy='74' r='4' fill='%23a07a46'/%3E%3C/svg%3E");
}
.inv[data-theme="rustico"]::before {   /* costura de papel kraft */
  content: ''; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
  border: 1.5px dashed rgba(122,79,42,.5); border-radius: 4px;
}
.inv[data-theme="rustico"] { --px: 34px; background: radial-gradient(120% 70% at 50% 0, #f8edda 0, transparent 70%), var(--bg); }
.inv[data-theme="rustico"] .inv-title { line-height: .95; }
[data-theme="rustico"] .inv-kicker, [data-theme="rustico"] .inv-block-title { font-weight: 700; }
[data-theme="rustico"] .inv-date { border-block: 2px dashed rgba(122,79,42,.55); }
[data-theme="rustico"] .inv-btn { font-weight: 700; border-width: 2px; }
[data-theme="rustico"] .inv-msg { font-size: 1.12rem; line-height: 1.6; }
[data-theme="rustico"] .inv-guest { background: #f8edda; border: 2px dashed rgba(122,79,42,.55); border-radius: 4px; }
[data-theme="rustico"] .inv-guest-name { font-size: clamp(1.8rem, 9vw, 2.3rem); line-height: 1; }
body.inv-page:has([data-theme="rustico"]) { --page: #d8c5a4; }

/* ---------- 16 · Boho (premium): arcos, pampa y terracota ---------- */
[data-theme="boho"] {
  --bg: #f6ebdd; --ink: #482c20; --muted: #75503f; --msg-style: normal;
  --accent: #c2693f; --accent-d: #964520; --btn: #a2502a; --on-accent: #fff; --line: rgba(194,105,63,.45);
  --f-msg: var(--f-body); --f-display: 'DM Serif Display', Georgia, serif; --f-body: 'DM Sans', system-ui, sans-serif;
  --r-btn: 999px 999px 8px 8px; --tw: 400; --ts: clamp(2.7rem, 13vw, 3.7rem);
  --cell-r: 999px 999px 8px 8px; --cell-bg: rgba(255,250,242,.6); --cell-bd: rgba(194,105,63,.4);
  --title-color: #a2502a; --env-flap: #ecd3b9;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='pp'%3E%3Cpath d='M0 0Q30 -10 100 0' fill='none' stroke='%23b08a5f' stroke-width='2'/%3E%3Cpath d='M55.00000000000001 0Q80 -15 119 -35' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -12 122 -28' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -9 125 -21' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -6 128 -14' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -3 131 -7' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 0 134 0' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 3 131 7' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 6 128 14' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 9 125 21' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 12 122 28' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 15 119 35' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M160 160V104a80 80 0 0 1 160 0V160z' fill='%23c2693f'/%3E%3Cpath d='M178 160V106a62 62 0 0 1 124 0V160z' fill='%23e4c9a8'/%3E%3Cpath d='M196 160V108a44 44 0 0 1 88 0V160z' fill='%23e9b9a1'/%3E%3Cpath d='M214 160V110a26 26 0 0 1 52 0V160z' fill='%23f6ebdd'/%3E%3Cuse href='%23pp' transform='translate(36 158) rotate(-58) scale(1.1)'/%3E%3Cuse href='%23pp' transform='translate(60 160) rotate(-78) scale(0.8)'/%3E%3Cuse href='%23pp' transform='translate(444 158) rotate(-122) scale(1.1)'/%3E%3Cuse href='%23pp' transform='translate(420 160) rotate(-102) scale(0.8)'/%3E%3Ccircle cx='130' cy='46' r='3' fill='%23c2693f'/%3E%3Ccircle cx='350' cy='46' r='3' fill='%23c2693f'/%3E%3Ccircle cx='112' cy='70' r='2.2' fill='%23c9a577'/%3E%3Ccircle cx='368' cy='70' r='2.2' fill='%23c9a577'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='pp'%3E%3Cpath d='M0 0Q30 -10 100 0' fill='none' stroke='%23b08a5f' stroke-width='2'/%3E%3Cpath d='M55.00000000000001 0Q80 -15 119 -35' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -12 122 -28' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -9 125 -21' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -6 128 -14' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 -3 131 -7' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 0 134 0' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 3 131 7' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 6 128 14' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 9 125 21' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 12 122 28' fill='none' stroke='%23c9a577' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55.00000000000001 0Q80 15 119 35' fill='none' stroke='%23d9bf9a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M200 120V82a40 40 0 0 1 80 0V120z' fill='%23c2693f'/%3E%3Cpath d='M214 120V84a26 26 0 0 1 52 0V120z' fill='%23e4c9a8'/%3E%3Cpath d='M228 120V86a12 12 0 0 1 24 0V120z' fill='%23f6ebdd'/%3E%3Cuse href='%23pp' transform='translate(60 124) rotate(-40) scale(0.6)'/%3E%3Cuse href='%23pp' transform='translate(420 124) rotate(-140) scale(0.6)'/%3E%3Cpath d='M118 100H176M304 100H362' stroke='%23c2693f' stroke-width='1.6' stroke-dasharray='1 7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.inv[data-theme="boho"] .inv-title { letter-spacing: .005em; }
.inv[data-theme="boho"] .inv-deco--top { margin-bottom: 14px; }
[data-theme="boho"] .inv-date { border-block-width: 0; border: 1.5px solid var(--line); border-radius: 999px 999px 10px 10px; padding-top: 1.6rem; }
[data-theme="boho"] .inv-btn { font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
[data-theme="boho"] .inv-guest { background: rgba(255,250,242,.7); border-radius: 80px 80px 10px 10px; }
[data-theme="boho"] .inv-guest-name { padding-top: 1.5rem; }
.inv[data-theme="boho"] { background: radial-gradient(90% 40% at 50% 100%, #f1ddc6, transparent 70%), var(--bg); }
body.inv-page:has([data-theme="boho"]) { --page: #e9d4bb; }

/* ---------- 17 · Vintage (premium): crema envejecido, tinta sepia y marco de postal antigua ---------- */
[data-theme="vintage"] {
  --bg: #f3e6cb; --ink: #3d2b1b; --muted: #664e32; --msg-style: italic;
  --accent: #8b5e34; --accent-d: #6b4423; --btn: #7a4f28; --on-accent: #fff; --line: rgba(107,68,35,.45);
  --f-display: 'IM Fell English', Georgia, serif; --f-body: 'Crimson Text', Georgia, serif; --f-msg: var(--f-display);
  --r-btn: 2px; --tw: 400; --ts: clamp(2.6rem, 12.5vw, 3.6rem);
  --cell-r: 2px; --cell-bg: rgba(255,247,228,.5); --cell-bd: rgba(107,68,35,.45);
  --title-color: #4d3219; --env-flap: #e3d0a8;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cg transform='translate(0 0) scale(1 1)' fill='none' stroke='%238b5e34' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M22 96V34Q22 22 34 22H96'/%3E%3Cpath d='M32 96V44Q32 32 44 32H96' stroke-opacity='.5'/%3E%3Cpath d='M34 40q-10 0-10 10t10 10 10-6'/%3E%3Cpath d='M22 22q-10-6-8-16M22 22q-6-10-16-8'/%3E%3Ccircle cx='22' cy='22' r='3' fill='%238b5e34'/%3E%3C/g%3E%3Cg transform='translate(480 0) scale(-1 1)' fill='none' stroke='%238b5e34' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M22 96V34Q22 22 34 22H96'/%3E%3Cpath d='M32 96V44Q32 32 44 32H96' stroke-opacity='.5'/%3E%3Cpath d='M34 40q-10 0-10 10t10 10 10-6'/%3E%3Cpath d='M22 22q-10-6-8-16M22 22q-6-10-16-8'/%3E%3Ccircle cx='22' cy='22' r='3' fill='%238b5e34'/%3E%3C/g%3E%3Cg fill='none' stroke='%238b5e34' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M96 138H214M266 138H384'/%3E%3Cpath d='M240 124l14 14-14 14-14-14z'/%3E%3Ccircle cx='240' cy='138' r='3.4' fill='%238b5e34'/%3E%3Cpath d='M214 138q-8-12-20-6M266 138q8-12 20-6'/%3E%3Crect x='342' y='38' width='64' height='78' stroke-dasharray='3 3.4' stroke-width='2.4' stroke-opacity='.75' transform='rotate(4 374 77)'/%3E%3Cg transform='rotate(4 374 77)'%3E%3Crect x='350' y='46' width='48' height='62' stroke-width='1.2'/%3E%3Ccircle cx='374' cy='68' r='9'/%3E%3Cpath d='M374 77v12M366 84q8 6 16 0M374 59l-4-6M374 59l4-6'/%3E%3C/g%3E%3Ccircle cx='292' cy='76' r='26' stroke-width='1.2'/%3E%3Ccircle cx='292' cy='76' r='20' stroke-width='.8' stroke-opacity='.6'/%3E%3Cpath d='M240 62h30M238 72h30M240 82h30M242 92h30' stroke-width='1.2' stroke-opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg fill='none' stroke='%238b5e34' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M60 60H196M284 60H420'/%3E%3Cpath d='M240 44l16 16-16 16-16-16z'/%3E%3Cpath d='M240 52l8 8-8 8-8-8z' stroke-opacity='.6'/%3E%3Cpath d='M196 60q-12-14-26-8M284 60q12-14 26-8M60 60q-8-10-6-18M420 60q8-10 6-18'/%3E%3C/g%3E%3Cg fill='%238b5e34'%3E%3Ccircle cx='56' cy='60' r='2.6'/%3E%3Ccircle cx='424' cy='60' r='2.6'/%3E%3Ccircle cx='240' cy='60' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="vintage"]::before {   /* marco de postal */
  content: ''; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
  border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 4px;
}
.inv[data-theme="vintage"] { --px: 36px; background: radial-gradient(130% 80% at 50% 45%, transparent 55%, rgba(139,94,52,.16)), var(--bg); }
[data-theme="vintage"] .inv-title { font-style: italic; }
[data-theme="vintage"] .inv-kicker, [data-theme="vintage"] .inv-block-title { font-weight: 600; }
[data-theme="vintage"] .inv-btn { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
[data-theme="vintage"] .inv-msg { font-size: 1.25rem; }
[data-theme="vintage"] .inv-guest { border-radius: 0; background: rgba(255,247,228,.5); border-style: double; border-width: 4px; }
[data-theme="vintage"] .inv-guest-name { font-style: italic; }
body.inv-page:has([data-theme="vintage"]) { --page: #dccaa4; }

/* ---------- 18 · Negro y oro (premium): art déco con chevrones y escalones geométricos ---------- */
[data-theme="negro-oro"] {
  --bg: #0b0b0d; --ink: #ffffff; --muted: #cfc8b6; --msg-style: normal;
  --accent: #d4af37; --accent-d: #e2c35a; --btn: #d4af37; --on-accent: #111111; --line: rgba(212,175,55,.55);
  --f-msg: var(--f-body); --f-display: 'Poiret One', 'Josefin Sans', sans-serif; --f-body: 'Josefin Sans', system-ui, sans-serif;
  --r-btn: 0; --tw: 400; --ts: clamp(1.8rem, 8.5vw, 2.7rem); --day-size: clamp(4.2rem, 19vw, 5.2rem);
  --cell-r: 0; --cell-bg: transparent; --cell-bd: rgba(212,175,55,.55);
  --title-color: #fff; --day-color: #f0d27a; --env-flap: #1a1a1e;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cg fill='none' stroke-linejoin='miter'%3E%3Cpath d='M180 0L240 40L300 0' stroke='%23f0d27a' stroke-width='1.8'/%3E%3Cpath d='M156 0L240 56L324 0' stroke='%23d4af37' stroke-width='1.2'/%3E%3Cpath d='M132 0L240 72L348 0' stroke='%23f0d27a' stroke-width='1.8'/%3E%3Cpath d='M108 0L240 88L372 0' stroke='%23d4af37' stroke-width='1.2'/%3E%3Cpath d='M240 100l12 14-12 14-12-14z' fill='%23d4af37'/%3E%3Cpath d='M240 92l20 22-20 22-20-22z' stroke='%23f0d27a' stroke-width='1'/%3E%3Cpath d='M-2 150h22v-22h22v-22h22v-22h22v-22' stroke='%23d4af37' stroke-width='1.4'/%3E%3Cpath d='M482 150h-22v-22h-22v-22h-22v-22h-22v-22' stroke='%23d4af37' stroke-width='1.4'/%3E%3Cpath d='M-2 138h14v-22h22v-22h22v-22' stroke='%23d4af37' stroke-width='.8' stroke-opacity='.5'/%3E%3Cpath d='M482 138h-14v-22h-22v-22h-22v-22' stroke='%23d4af37' stroke-width='.8' stroke-opacity='.5'/%3E%3Cpath d='M130 140H214M266 140H350' stroke='%23d4af37' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.3'%3E%3Cpath d='M30 60l14-14 14 14 14-14 14 14 14-14 14 14 14-14 14 14M450 60l-14-14-14 14-14-14-14 14-14-14-14 14-14-14-14 14' /%3E%3Cpath d='M30 74H196M284 74H450' stroke-width='.9'/%3E%3Cpath d='M240 40l22 24-22 24-22-24z'/%3E%3Cpath d='M240 50l12 14-12 14-12-14z' fill='%23d4af37'/%3E%3C/g%3E%3C/svg%3E");
}
.inv[data-theme="negro-oro"]::before {   /* marco doble con esquinas rectas */
  content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(212,175,55,.6); outline: 1px solid rgba(212,175,55,.3); outline-offset: 4px;
}
.inv[data-theme="negro-oro"] { --px: 34px; background: radial-gradient(90% 35% at 50% 0, #1d1a10 0, transparent 75%), var(--bg); }
[data-theme="negro-oro"] .inv-title { text-transform: uppercase; letter-spacing: .1em; line-height: 1.12; font-weight: 400; }
[data-theme="negro-oro"] .inv-kicker, [data-theme="negro-oro"] .inv-block-title { letter-spacing: .34em; font-weight: 400; }
[data-theme="negro-oro"] .inv-btn { text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; font-weight: 600; }
[data-theme="negro-oro"] .inv-btn:hover { color: #111; }
[data-theme="negro-oro"] .inv-msg { font-size: 1.08rem; line-height: 1.7; }
[data-theme="negro-oro"] .inv-guest { background: rgba(212,175,55,.07); border-radius: 0; border-color: rgba(212,175,55,.65); }
[data-theme="negro-oro"] .inv-guest-name { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.2rem, 6vw, 1.55rem); color: #fff; }
[data-theme="negro-oro"] .inv-guest-passes { text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; }
body.inv-page:has([data-theme="negro-oro"]) { --page: #000; }

/* ---------- 19 · Religioso (premium): bautizo y primera comunión; marfil, celeste y oro, paloma, rayos y cruz ---------- */
[data-theme="religioso"] {
  --bg: #fdfbf5; --ink: #2d3b52; --muted: #53627a; --msg-style: italic;
  --accent: #6f9cc0; --accent-d: #3a6b93; --btn: #3b6e98; --on-accent: #fff; --line: rgba(111,156,192,.5);
  --f-display: 'Marcellus', Georgia, serif; --f-body: 'Lato', system-ui, sans-serif; --f-msg: var(--f-display);
  --r-btn: 999px; --tw: 400; --ts: clamp(2.5rem, 12vw, 3.4rem);
  --cell-r: 999px; --cell-bg: #fff; --cell-bd: rgba(201,162,74,.5);
  --title-color: #3a6b93; --env-flap: #dbe9f4;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M240 -10L-62.5 160L-4.4 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cpath d='M240 -10L37.2 160L74 160z' fill='%23ecd9a0' fill-opacity='0.5'/%3E%3Cpath d='M240 -10L102.6 160L129.7 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cpath d='M240 -10L151.9 160L174.1 160z' fill='%23ecd9a0' fill-opacity='0.5'/%3E%3Cpath d='M240 -10L193.1 160L212.8 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cpath d='M240 -10L230.5 160L249.5 160z' fill='%23ecd9a0' fill-opacity='0.5'/%3E%3Cpath d='M240 -10L267.2 160L286.9 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cpath d='M240 -10L305.9 160L328.1 160z' fill='%23ecd9a0' fill-opacity='0.5'/%3E%3Cpath d='M240 -10L350.3 160L377.4 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cpath d='M240 -10L406 160L442.8 160z' fill='%23ecd9a0' fill-opacity='0.5'/%3E%3Cpath d='M240 -10L484.4 160L542.5 160z' fill='%23bcd7ea' fill-opacity='0.45'/%3E%3Cg transform='translate(250 112) scale(1 1) rotate(-4)'%3E%3Cpath d='M0 0Q50 -6 100 14' fill='none' stroke='%237f9c7a' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(-48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(-48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(-48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(-48) scale(0.7)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(48) scale(0.7)' fill='%238fae8a'/%3E%3C/g%3E%3Cg transform='translate(230 112) scale(-1 1) rotate(-4)'%3E%3Cpath d='M0 0Q50 -6 100 14' fill='none' stroke='%237f9c7a' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(-48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(-48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(-48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(-48) scale(0.7)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(48) scale(0.7)' fill='%238fae8a'/%3E%3C/g%3E%3Cg transform='translate(240 64) scale(1.3)'%3E%3Cpath d='M-34 10C-20 22 4 24 22 8L28 0C32-4 40-4 44 2L54 0 46 8C42 12 36 14 30 14 24 26 6 32-14 30-26 28-34 20-34 10z' fill='%23fff' stroke='%236f9cc0' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-6 6C-12-18-30-32-46-34-36-20-30-6-22 14z' fill='%23fff' stroke='%236f9cc0' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-6 6C0-14 14-26 30-30 22-18 20-6 14 10z' fill='%23eaf2f8' stroke='%236f9cc0' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-34 10L-56 4-52 14-58 22-30 18z' fill='%23fff' stroke='%236f9cc0' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='36' cy='4' r='1.5' fill='%236f9cc0'/%3E%3C/g%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(150 40) scale(0.8)' fill='%23c9a24a'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(330 40) scale(0.8)' fill='%23c9a24a'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(110 90) scale(0.55)' fill='%23c9a24a'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(370 90) scale(0.55)' fill='%23c9a24a'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg transform='translate(240 56)'%3E%3Cpath d='M-4 -30H4V-8H26V0H4V34H-4V0H-26V-8H-4z' fill='%23c9a24a'/%3E%3Cpath d='M0 -22V28M-18 -4H18' stroke='%23fff' stroke-opacity='.7' stroke-width='1.2'/%3E%3C/g%3E%3Cpath d='M120 62H196M284 62H360' stroke='%23c9a24a' stroke-width='1.2'/%3E%3Cg transform='translate(112 62) scale(-1 1) rotate(8)'%3E%3Cpath d='M0 0Q50 -6 100 14' fill='none' stroke='%237f9c7a' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(-48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(-48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(-48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(-48) scale(0.7)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(48) scale(0.7)' fill='%238fae8a'/%3E%3C/g%3E%3Cg transform='translate(368 62) scale(1 1) rotate(8)'%3E%3Cpath d='M0 0Q50 -6 100 14' fill='none' stroke='%237f9c7a' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(-48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(18 -0.8) rotate(48)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(-48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(40 1.8) rotate(48) scale(0.9)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(-48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(62 4.4) rotate(48) scale(0.8)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(-48) scale(0.7)' fill='%238fae8a'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(84 7.1) rotate(48) scale(0.7)' fill='%238fae8a'/%3E%3C/g%3E%3Ccircle cx='108' cy='62' r='2.4' fill='%23c9a24a'/%3E%3Ccircle cx='372' cy='62' r='2.4' fill='%23c9a24a'/%3E%3C/svg%3E");
}
.inv[data-theme="religioso"] { background: radial-gradient(100% 40% at 50% 0, #eaf3fa 0, transparent 75%), var(--bg); }
[data-theme="religioso"] .inv-title { letter-spacing: .02em; }
[data-theme="religioso"] .inv-kicker, [data-theme="religioso"] .inv-block-title { letter-spacing: .3em; }
[data-theme="religioso"] .inv-date { border-block-color: rgba(201,162,74,.6); }
[data-theme="religioso"] .inv-btn { font-weight: 700; }
[data-theme="religioso"] .inv-guest { background: #fff; border-color: rgba(201,162,74,.6); border-radius: 18px; }
[data-theme="religioso"] .inv-guest-passes { border-top-color: rgba(201,162,74,.7); }
[data-theme="religioso"] .inv-msg { font-size: 1.2rem; }
body.inv-page:has([data-theme="religioso"]) { --page: #dce9f3; }

/* ---------- 20 · Playa (premium): arena, mar turquesa, olas, conchas y estrellas de mar ---------- */
[data-theme="playa"] {
  --bg: #fff8ea; --ink: #0d4a5c; --muted: #3b6877; --msg-style: normal;
  --accent: #1fb5c4; --accent-d: #0b6f80; --btn: #0b7487; --on-accent: #fff; --line: rgba(31,181,196,.45);
  --f-msg: var(--f-body); --f-display: 'Lobster', cursive; --f-body: 'Mulish', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.7rem, 13vw, 3.7rem);
  --cell-r: 16px; --cell-bg: rgba(255,255,255,.7); --cell-bd: rgba(31,181,196,.4);
  --title-color: #0b7487; --day-color: #cf4a33; --env-flap: #bfe9ee;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M0 0H480V58Q40 67 80 58T160 58T240 58T320 58T400 58T480 58z' fill='%23bdeaee'/%3E%3Cpath d='M0 0H480V46Q40 54 80 46T160 46T240 46T320 46T400 46T480 46z' fill='%237fd6dd'/%3E%3Cpath d='M0 0H480V34Q40 41 80 34T160 34T240 34T320 34T400 34T480 34z' fill='%231fb5c4'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-opacity='.85'%3E%3Cpath d='M30 22q10-6 20 0M120 24q10-6 20 0M210 22q10-6 20 0M300 24q10-6 20 0M390 22q10-6 20 0'/%3E%3C/g%3E%3Cpath d='M66 80L74.2 96.7L92.6 99.3L79.3 112.3L82.5 130.7L66 122L49.5 130.7L52.7 112.3L39.4 99.3L57.8 96.7z' fill='%23f08a63' stroke='%23f08a63' stroke-width='6' stroke-linejoin='round'/%3E%3Cpath d='M66 82.8L74.2 96.7L90 100.2L79.3 112.3L80.8 128.4L66 122L51.2 128.4L52.7 112.3L42 100.2L57.8 96.7z' fill='none' stroke='%23fff' stroke-opacity='.5' stroke-width='1.4' stroke-dasharray='1 5' stroke-linecap='round'/%3E%3Cg transform='translate(410 124) rotate(12)'%3E%3Cpath d='M0 0L-26-26A36 36 0 0 1 26-26z' fill='%23f9d4cb' stroke='%23e29b8f' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M0 0L-13-30M0 0V-33M0 0L13-30' stroke='%23e29b8f' stroke-width='1.4'/%3E%3Cpath d='M-8 4h16l-3 6h-10z' fill='%23e29b8f'/%3E%3C/g%3E%3Cpath d='M444.4 57.8L445.4 66.4L453 70.5L445.1 74L443.6 82.5L437.8 76.1L429.2 77.3L433.5 69.8L429.8 62L438.2 63.8z' fill='%23f6a37f' stroke='%23f6a37f' stroke-width='6' stroke-linejoin='round'/%3E%3Cpath d='M444 59L445.4 66.4L451.7 70.4L445.1 74L443.2 81.2L437.8 76.1L430.3 76.5L433.5 69.8L430.8 62.8L438.2 63.8z' fill='none' stroke='%23fff' stroke-opacity='.5' stroke-width='1.4' stroke-dasharray='1 5' stroke-linecap='round'/%3E%3Cg transform='translate(122 138) rotate(-18) scale(0.55)'%3E%3Cpath d='M0 0L-26-26A36 36 0 0 1 26-26z' fill='%23fbe3dd' stroke='%23e29b8f' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M0 0L-13-30M0 0V-33M0 0L13-30' stroke='%23e29b8f' stroke-width='1.4'/%3E%3Cpath d='M-8 4h16l-3 6h-10z' fill='%23e29b8f'/%3E%3C/g%3E%3Ccircle cx='200' cy='92' r='4' fill='%23bdeaee'/%3E%3Ccircle cx='214' cy='80' r='2.6' fill='%23bdeaee'/%3E%3Ccircle cx='276' cy='100' r='3.6' fill='%23bdeaee'/%3E%3Ccircle cx='340' cy='84' r='2.4' fill='%23bdeaee'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M0 120V80Q120 56 240 80T480 80V120z' fill='%23f2d9a6'/%3E%3Cpath d='M0 80Q120 56 240 80T480 80' fill='none' stroke='%231fb5c4' stroke-width='3'/%3E%3Cpath d='M0 0H480V34Q440 44 400 34T320 34T240 34T160 34T80 34T0 34z' fill='%23bdeaee'/%3E%3Cpath d='M0 0H480V20Q440 28 400 20T320 20T240 20T160 20T80 20T0 20z' fill='%237fd6dd'/%3E%3Cpath d='M138.4 80.2L141 89.1L149.9 92.1L142.2 97.3L142.1 106.6L134.8 100.9L125.9 103.7L129.1 95L123.6 87.4L132.9 87.7z' fill='%23f08a63' stroke='%23f08a63' stroke-width='6' stroke-linejoin='round'/%3E%3Cpath d='M138.2 81.6L141 89.1L148.5 92.2L142.2 97.3L141.5 105.3L134.8 100.9L126.9 102.8L129.1 95L124.9 88.1L132.9 87.7z' fill='none' stroke='%23fff' stroke-opacity='.5' stroke-width='1.4' stroke-dasharray='1 5' stroke-linecap='round'/%3E%3Cg transform='translate(348 112) rotate(-10) scale(0.6)'%3E%3Cpath d='M0 0L-26-26A36 36 0 0 1 26-26z' fill='%23f9d4cb' stroke='%23e29b8f' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M0 0L-13-30M0 0V-33M0 0L13-30' stroke='%23e29b8f' stroke-width='1.4'/%3E%3Cpath d='M-8 4h16l-3 6h-10z' fill='%23e29b8f'/%3E%3C/g%3E%3Ccircle cx='244' cy='100' r='2.6' fill='%23e6c389'/%3E%3Ccircle cx='264' cy='104' r='2' fill='%23e6c389'/%3E%3Ccircle cx='60' cy='100' r='2.4' fill='%23e6c389'/%3E%3Ccircle cx='430' cy='98' r='2.4' fill='%23e6c389'/%3E%3C/svg%3E");
}
[data-theme="playa"] .inv-title { letter-spacing: .01em; text-shadow: 2px 2px 0 #bdeaee; }
.inv[data-theme="playa"] { background: linear-gradient(#e9f9fb 0, var(--bg) 28%, var(--bg) 82%, #f8ecd0); }
[data-theme="playa"] .inv-date { border-radius: 18px; border: 2px solid var(--line); }
[data-theme="playa"] .inv-btn { font-weight: 700; border-width: 2px; }
[data-theme="playa"] .inv-btn--primary { box-shadow: 0 8px 18px -8px #0b7487; }
[data-theme="playa"] .inv-guest { background: rgba(255,255,255,.85); border-radius: 16px; }
[data-theme="playa"] .inv-msg { font-size: 1.1rem; line-height: 1.6; }
body.inv-page:has([data-theme="playa"]) { --page: #bfe9ee; }

/* ---------- 21 · Mexicana (premium): papel picado, cempasúchil; magenta, naranja y turquesa ---------- */
[data-theme="mexicana"] {
  --bg: #fff7e6; --ink: #3b1a3a; --muted: #6a3f5e; --msg-style: normal;
  --accent: #e6007e; --accent-d: #b0005f; --btn: #c4006a; --on-accent: #fff; --line: rgba(0,165,154,.55);
  --f-msg: var(--f-body); --f-display: 'Chango', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif;
  --r-btn: 999px; --tw: 400; --ts: clamp(1.8rem, 8.5vw, 2.6rem); --day-size: clamp(4rem, 18vw, 5rem);
  --cell-r: 12px; --cell-bg: #fff; --cell-bd: rgba(230,0,126,.35);
  --title-color: #c4006a; --day-color: #00796f; --env-flap: #ffd9a0;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cg id='m'%3E%3Ccircle cx='15.8' cy='0' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='13.7' cy='7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='7.9' cy='13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='0' cy='15.8' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-7.9' cy='13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-13.7' cy='7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-15.8' cy='0' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-13.7' cy='-7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-7.9' cy='-13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='0' cy='-15.8' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='7.9' cy='-13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='13.7' cy='-7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='8.3' cy='2.2' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='4.3' cy='7.5' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-2.2' cy='8.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-7.5' cy='4.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-8.3' cy='-2.2' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-4.3' cy='-7.5' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='2.2' cy='-8.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='7.5' cy='-4.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='0' cy='0' r='5.3' fill='%23e65100'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M-4 14H484' stroke='%238a5a44' stroke-width='2'/%3E%3Cdefs%3E%3Cpath id='p' d='M0 14h52v52a6.5 6.5 0 0 1 -13 0a6.5 6.5 0 0 1 -13 0a6.5 6.5 0 0 1 -13 0a6.5 6.5 0 0 1 -13 0z'/%3E%3Cg id='k' fill='%23fff7e6'%3E%3Ccircle cx='26' cy='38' r='7'/%3E%3Cpath d='M26 22l5 6h-10zM9 36l5 5-5 5-5-5zM43 36l5 5-5 5-5-5z'/%3E%3Ccircle cx='14' cy='57' r='2.4'/%3E%3Ccircle cx='26' cy='57' r='2.4'/%3E%3Ccircle cx='38' cy='57' r='2.4'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' x='6' fill='%23e6007e'/%3E%3Cuse href='%23k' x='6'/%3E%3Cuse href='%23p' x='64.5' fill='%23ff8a00'/%3E%3Cuse href='%23k' x='64.5'/%3E%3Cuse href='%23p' x='123' fill='%2300a59a'/%3E%3Cuse href='%23k' x='123'/%3E%3Cuse href='%23p' x='181.5' fill='%23ffc400'/%3E%3Cuse href='%23k' x='181.5'/%3E%3Cuse href='%23p' x='240' fill='%237a2fa0'/%3E%3Cuse href='%23k' x='240'/%3E%3Cuse href='%23p' x='298.5' fill='%23e6007e'/%3E%3Cuse href='%23k' x='298.5'/%3E%3Cuse href='%23p' x='357' fill='%23ff8a00'/%3E%3Cuse href='%23k' x='357'/%3E%3Cuse href='%23p' x='415.5' fill='%2300a59a'/%3E%3Cuse href='%23k' x='415.5'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(30 150) rotate(-60)' fill='%232e8b57'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(66 150) rotate(-110)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(40 128)'/%3E%3Cuse href='%23m' transform='translate(92 142) scale(0.5)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(450 150) rotate(-120)' fill='%232e8b57'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(414 150) rotate(-70)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(440 128)'/%3E%3Cuse href='%23m' transform='translate(388 142) scale(0.5)'/%3E%3Ccircle cx='240' cy='116' r='3' fill='%23ff9a1f'/%3E%3Ccircle cx='226' cy='128' r='2.2' fill='%2300a59a'/%3E%3Ccircle cx='254' cy='128' r='2.2' fill='%23e6007e'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cg id='m'%3E%3Ccircle cx='15.8' cy='0' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='13.7' cy='7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='7.9' cy='13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='0' cy='15.8' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-7.9' cy='13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-13.7' cy='7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-15.8' cy='0' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-13.7' cy='-7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='-7.9' cy='-13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='0' cy='-15.8' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='7.9' cy='-13.7' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='13.7' cy='-7.9' r='8.2' fill='%23ff9a1f'/%3E%3Ccircle cx='8.3' cy='2.2' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='4.3' cy='7.5' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-2.2' cy='8.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-7.5' cy='4.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-8.3' cy='-2.2' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='-4.3' cy='-7.5' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='2.2' cy='-8.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='7.5' cy='-4.3' r='6.2' fill='%23ffc400'/%3E%3Ccircle cx='0' cy='0' r='5.3' fill='%23e65100'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M-10 40Q240 100 490 40' fill='none' stroke='%232e8b57' stroke-width='2.4'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(20 46.8) rotate(-18.1)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(20 48.8) scale(0.6)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(90 59.2) rotate(158.2)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(90 61.2) scale(0.4)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(160 66.9) rotate(-25.6)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(160 68.9) scale(0.6)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(240 70) rotate(150)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(240 72) scale(0.4)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(320 66.9) rotate(-34.4)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(320 68.9) scale(0.6)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(390 59.2) rotate(141.8)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(390 61.2) scale(0.4)'/%3E%3Cpath d='M0 0C6-9 18-11 26-5 18 5 6 7 0 0z' transform='translate(460 46.8) rotate(-41.9)' fill='%232e8b57'/%3E%3Cuse href='%23m' transform='translate(460 48.8) scale(0.6)'/%3E%3C/svg%3E");
}
.inv[data-theme="mexicana"] .inv-title { text-shadow: 2px 2px 0 #ffd98a; letter-spacing: .01em; }
[data-theme="mexicana"] .inv-btn { border-width: 2.5px; font-weight: 800; }
[data-theme="mexicana"] .inv-btn--primary { box-shadow: 0 4px 0 #8f004f; }
[data-theme="mexicana"] .inv-date { border-style: solid; border-width: 2px; border-color: #00a59a; border-radius: 14px; }
[data-theme="mexicana"] .inv-kicker, [data-theme="mexicana"] .inv-block-title { color: #00796f; }
[data-theme="mexicana"] .inv-guest { border: 2px solid #00a59a; background: #fff; border-radius: 14px; }
[data-theme="mexicana"] .inv-guest-passes { border-top: 2px dashed #ff8a00; color: #b0005f; }
.inv[data-theme="mexicana"] { background: linear-gradient(#fff0cf 0, var(--bg) 30%); }
body.inv-page:has([data-theme="mexicana"]) { --page: #ffe2a8; }

/* ---------- 22 · Princesa (premium): cuento de hadas genérico; lila, rosa y oro, corona, destellos y castillo ---------- */
[data-theme="princesa"] {
  --bg: #fcf4fb; --ink: #4a2a63; --muted: #6d4d86; --msg-style: normal;
  --accent: #b676d9; --accent-d: #82379f; --btn: #8a3fb0; --on-accent: #fff; --line: rgba(182,118,217,.45);
  --f-display: 'Playball', cursive; --f-body: 'Quicksand', system-ui, sans-serif; --f-msg: var(--f-body);
  --r-btn: 999px; --tw: 400; --ts: clamp(3rem, 15vw, 4.2rem); --day-size: clamp(4.4rem, 20vw, 5.6rem);
  --cell-r: 16px; --cell-bg: rgba(255,255,255,.75); --cell-bd: rgba(182,118,217,.4);
  --title-color: #82379f; --env-flap: #f1d9f6;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cpath d='M0 0H480V10H0z' fill='%23f3c4e4'/%3E%3Cg fill='%23f3c4e4'%3E%3Cpath d='M0 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M48 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M96 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M144 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M192 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M240 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M288 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M336 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M384 10a24 20 0 0 0 48 0z'/%3E%3Cpath d='M432 10a24 20 0 0 0 48 0z'/%3E%3C/g%3E%3Cg fill='%23e0a93b'%3E%3Ccircle cx='24' cy='22' r='2.6'/%3E%3Ccircle cx='72' cy='22' r='2.6'/%3E%3Ccircle cx='120' cy='22' r='2.6'/%3E%3Ccircle cx='168' cy='22' r='2.6'/%3E%3Ccircle cx='216' cy='22' r='2.6'/%3E%3Ccircle cx='264' cy='22' r='2.6'/%3E%3Ccircle cx='312' cy='22' r='2.6'/%3E%3Ccircle cx='360' cy='22' r='2.6'/%3E%3Ccircle cx='408' cy='22' r='2.6'/%3E%3Ccircle cx='456' cy='22' r='2.6'/%3E%3C/g%3E%3Cg transform='translate(240 70)'%3E%3Cpath d='M-48 24L-56-22-28 0-14-34 0-6 14-34 28 0 56-22 48 24z' fill='%23e0a93b' stroke='%23b8801f' stroke-width='1.8' stroke-linejoin='round'/%3E%3Crect x='-50' y='22' width='100' height='16' rx='4' fill='%23e0a93b' stroke='%23b8801f' stroke-width='1.8'/%3E%3Ccircle cx='-56' cy='-24' r='5' fill='%23f5b8d8' stroke='%23b8801f' stroke-width='1.4'/%3E%3Ccircle cx='-14' cy='-37' r='5' fill='%23f5b8d8' stroke='%23b8801f' stroke-width='1.4'/%3E%3Ccircle cx='14' cy='-37' r='5' fill='%23f5b8d8' stroke='%23b8801f' stroke-width='1.4'/%3E%3Ccircle cx='56' cy='-24' r='5' fill='%23f5b8d8' stroke='%23b8801f' stroke-width='1.4'/%3E%3Ccircle cx='0' cy='-9' r='6.5' fill='%23b676d9' stroke='%23b8801f' stroke-width='1.4'/%3E%3Ccircle cx='-30' cy='30' r='3' fill='%23fff'/%3E%3Ccircle cx='-10' cy='30' r='3' fill='%23f5b8d8'/%3E%3Ccircle cx='10' cy='30' r='3' fill='%23fff'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23f5b8d8'/%3E%3C/g%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(124 70) scale(1.3)' fill='%23b676d9'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(356 70) scale(1.3)' fill='%23e0a93b'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(80 112) scale(0.8)' fill='%23e0a93b'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(400 112) scale(0.8)' fill='%23b676d9'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(170 118) scale(0.6)' fill='%23f08cc2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(310 118) scale(0.6)' fill='%23f08cc2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(60 52) scale(0.6)' fill='%23f08cc2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(420 52) scale(0.6)' fill='%23f08cc2'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cg transform='translate(48 24) scale(.8)'%3E%3Cg fill='%23c8a3e6'%3E%3Crect x='150' y='70' width='180' height='50'/%3E%3Cpath d='M150 70v-8h14v8h14v-8h14v8h14v-8h14v8M276 70v-8h14v8h14v-8h14v8h14v-8h14v8' /%3E%3Crect x='214' y='30' width='52' height='90'/%3E%3Cpath d='M208 30L240-4 272 30z'/%3E%3Crect x='140' y='42' width='34' height='78'/%3E%3Cpath d='M136 42L157 10 178 42z'/%3E%3Crect x='306' y='42' width='34' height='78'/%3E%3Cpath d='M302 42L323 10 344 42z'/%3E%3C/g%3E%3Cg stroke='%23b8801f' stroke-width='1.6'%3E%3Cpath d='M240-4V-18M157 10V-2M323 10V-2'/%3E%3C/g%3E%3Cg fill='%23e0a93b'%3E%3Cpath d='M240-18l14 5-14 5zM157-2l11 4-11 4zM323-2l11 4-11 4z'/%3E%3C/g%3E%3Cpath d='M222 120v-22a18 18 0 0 1 36 0v22z' fill='%23fcf4fb'/%3E%3Cg fill='%23fcf4fb'%3E%3Cpath d='M232 56a8 8 0 0 1 16 0v14h-16z'/%3E%3Crect x='151' y='64' width='10' height='18' rx='5'/%3E%3Crect x='319' y='64' width='10' height='18' rx='5'/%3E%3Crect x='170' y='88' width='10' height='18' rx='5'/%3E%3Crect x='300' y='88' width='10' height='18' rx='5'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M0 120V108Q120 96 240 112T480 108V120z' fill='%23e4cdf2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(70 70)' fill='%23e0a93b'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(410 70)' fill='%23b676d9'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(110 44) scale(0.6)' fill='%23f08cc2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(370 44) scale(0.6)' fill='%23f08cc2'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(40 40) scale(0.5)' fill='%23b676d9'/%3E%3Cpath d='M0-9C1-2 2-1 9 0 2 1 1 2 0 9-1 2-2 1-9 0-2-1-1-2 0-9z' transform='translate(440 40) scale(0.5)' fill='%23e0a93b'/%3E%3C/svg%3E");
}
.inv[data-theme="princesa"] { background: radial-gradient(110% 50% at 50% 0, #f7e1f6 0, transparent 70%), var(--bg); }
[data-theme="princesa"] .inv-title { line-height: 1.1; text-shadow: 0 2px 0 rgba(255,255,255,.9); }
[data-theme="princesa"] .inv-kicker, [data-theme="princesa"] .inv-block-title { color: var(--accent-d); }
[data-theme="princesa"] .inv-msg { font-size: 1.12rem; line-height: 1.6; }
[data-theme="princesa"] .inv-btn--primary { background: linear-gradient(135deg, #a255c9, #7b2f9a); box-shadow: 0 10px 22px -10px #82379f; }
[data-theme="princesa"] .inv-guest { background: rgba(255,255,255,.8); border-color: rgba(224,169,59,.7); }
[data-theme="princesa"] .inv-guest-name { font-size: clamp(1.9rem, 9vw, 2.5rem); line-height: 1.1; }
[data-theme="princesa"] .inv-guest-passes { border-top-color: rgba(224,169,59,.8); }
body.inv-page:has([data-theme="princesa"]) { --page: #efd5f2; }

/* ---------- 23 · Graduación (premium): azul marino y oro, birrete, laurel y diploma ---------- */
[data-theme="graduacion"] {
  --bg: #faf7ee; --ink: #14284d; --muted: #4c5a78; --msg-style: italic;
  --accent: #b8892a; --accent-d: #80590f; --btn: #14284d; --on-accent: #fff; --line: rgba(184,137,42,.5);
  --f-display: 'Old Standard TT', Georgia, serif; --f-body: 'Source Sans 3', system-ui, sans-serif; --f-msg: var(--f-display);
  --r-btn: 2px; --tw: 700; --ts: clamp(2.4rem, 11.5vw, 3.3rem);
  --cell-r: 2px; --cell-bg: #fff; --cell-bd: rgba(20,40,77,.3);
  --title-color: #14284d; --day-color: #14284d; --env-flap: #e9e1c9;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Crect width='480' height='10' fill='%2314284d'/%3E%3Cpath d='M0 15H480' stroke='%23b8892a' stroke-width='1.6'/%3E%3Cpath d='M118,138 Q96,70 156,22' fill='none' stroke='%23b8892a' stroke-width='2'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113.8 121.3) rotate(-155.2)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113.8 121.3) rotate(-45.2)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(112.1 105.3) rotate(-146.4)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(112.1 105.3) rotate(-36.4)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113 89.8) rotate(-136.8)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113 89.8) rotate(-26.8)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(116.5 75) rotate(-126.9)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(116.5 75) rotate(-16.9)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(122.5 60.8) rotate(-117.2)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(122.5 60.8) rotate(-7.2)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(131.1 47.3) rotate(-108.3)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(131.1 47.3) rotate(1.7)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(142.3 34.3) rotate(-100.4)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(142.3 34.3) rotate(9.6)' fill='%23b8892a'/%3E%3Cg transform='translate(480 0) scale(-1 1)'%3E%3Cpath d='M118,138 Q96,70 156,22' fill='none' stroke='%23b8892a' stroke-width='2'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113.8 121.3) rotate(-155.2)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113.8 121.3) rotate(-45.2)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(112.1 105.3) rotate(-146.4)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(112.1 105.3) rotate(-36.4)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113 89.8) rotate(-136.8)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(113 89.8) rotate(-26.8)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(116.5 75) rotate(-126.9)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(116.5 75) rotate(-16.9)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(122.5 60.8) rotate(-117.2)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(122.5 60.8) rotate(-7.2)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(131.1 47.3) rotate(-108.3)' fill='%23b8892a'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(131.1 47.3) rotate(1.7)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(142.3 34.3) rotate(-100.4)' fill='%23d9ab3f'/%3E%3Cpath d='M0 0C6-8 18-10 24-4 17 5 6 7 0 0z' transform='translate(142.3 34.3) rotate(9.6)' fill='%23b8892a'/%3E%3C/g%3E%3Cpath d='M240 36L322 62 240 88 158 62z' fill='%2314284d' stroke='%23b8892a' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M200 76V98Q240 118 280 98V76L240 90z' fill='%2322396b' stroke='%23b8892a' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M240 62L308 70Q318 74 318 96' fill='none' stroke='%23d9ab3f' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='240' cy='62' r='4' fill='%23d9ab3f'/%3E%3Cpath d='M313 96h10l3 24h-16z' fill='%23d9ab3f'/%3E%3Cpath d='M240 132L241.5 136L245.7 136.1L242.4 138.8L243.5 142.9L240 140.5L236.5 142.9L237.6 138.8L234.3 136.1L238.5 136z' fill='%23d9ab3f'/%3E%3Cpath d='M200 126L201 128.6L203.8 128.8L201.6 130.5L202.4 133.2L200 131.7L197.6 133.2L198.4 130.5L196.2 128.8L199 128.6z' fill='%23b8892a'/%3E%3Cpath d='M280 126L281 128.6L283.8 128.8L281.6 130.5L282.4 133.2L280 131.7L277.6 133.2L278.4 130.5L276.2 128.8L279 128.6z' fill='%23b8892a'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cpath d='M60 60H146M334 60H420' stroke='%23b8892a' stroke-width='1.4'/%3E%3Cpath d='M60 66H126M354 66H420' stroke='%23b8892a' stroke-width='.8'/%3E%3Crect x='158' y='36' width='164' height='46' rx='6' fill='%23fff' stroke='%2314284d' stroke-width='2'/%3E%3Cellipse cx='158' cy='59' rx='9' ry='23' fill='%23f1ead4' stroke='%2314284d' stroke-width='2'/%3E%3Cellipse cx='322' cy='59' rx='9' ry='23' fill='%23f1ead4' stroke='%2314284d' stroke-width='2'/%3E%3Cpath d='M180 50H300M180 59H300M180 68H270' stroke='%2314284d' stroke-opacity='.25' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='232' y='36' width='16' height='46' fill='%23d9ab3f'/%3E%3Cpath d='M240 59l-18-12v24zM240 59l18-12v24z' fill='%23b8892a'/%3E%3Cpath d='M234 82l-6 22M246 82l6 22' stroke='%23b8892a' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M60 55L61.2 58.3L64.8 58.5L62 60.6L62.9 64L60 62.1L57.1 64L58 60.6L55.2 58.5L58.8 58.3z' fill='%23d9ab3f'/%3E%3Cpath d='M420 55L421.2 58.3L424.8 58.5L422 60.6L422.9 64L420 62.1L417.1 64L418 60.6L415.2 58.5L418.8 58.3z' fill='%23d9ab3f'/%3E%3C/svg%3E");
}
[data-theme="graduacion"] .inv-title { line-height: 1.08; }
[data-theme="graduacion"] .inv-kicker, [data-theme="graduacion"] .inv-block-title { font-weight: 600; letter-spacing: .3em; }
[data-theme="graduacion"] .inv-date { border-block: 2px solid #14284d; }
[data-theme="graduacion"] .inv-btn { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
[data-theme="graduacion"] .inv-btn--primary { border-color: #b8892a; box-shadow: 0 0 0 2px #faf7ee, 0 0 0 3px #b8892a; }
[data-theme="graduacion"] .inv-guest { background: #fff; border: 1.5px solid #14284d; border-radius: 2px; }
[data-theme="graduacion"] .inv-guest-passes { border-top-color: #b8892a; }
[data-theme="graduacion"] .inv-msg { font-size: 1.2rem; }
body.inv-page:has([data-theme="graduacion"]) { --page: #e2dcc6; }

/* ---------- 24 · Acuarela (premium): manchas suaves de rubor, durazno y salvia con flores sueltas ---------- */
[data-theme="acuarela"] {
  --bg: #fffaf5; --ink: #4a343c; --muted: #6f5560; --msg-style: normal;
  --accent: #d98a9a; --accent-d: #a04560; --btn: #a84a66; --on-accent: #fff; --line: rgba(217,138,154,.5);
  --f-display: 'Dancing Script', cursive; --f-body: 'Karla', system-ui, sans-serif; --f-msg: var(--f-body);
  --r-btn: 999px; --tw: 600; --ts: clamp(3rem, 15vw, 4.2rem);
  --cell-r: 18px; --cell-bg: rgba(255,255,255,.7); --cell-bd: rgba(217,138,154,.4);
  --title-color: #a04560; --env-flap: #f8e1dc;
  --deco-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 160'%3E%3Cdefs%3E%3Cfilter id='b' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3C/defs%3E%3Cdefs%3E%3Cg id='f'%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(0)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(72)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(144)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(216)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(288)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Ccircle r='3.6' fill='%23f3b24e' fill-opacity='.9'/%3E%3C/g%3E%3C/defs%3E%3Cg filter='url(%23b)'%3E%3Ccircle cx='70' cy='40' r='62' fill='%23f4a8b6' fill-opacity='0.55'/%3E%3Ccircle cx='138' cy='82' r='46' fill='%23f9c79a' fill-opacity='0.55'/%3E%3Ccircle cx='34' cy='122' r='40' fill='%23aac6a4' fill-opacity='0.55'/%3E%3Ccircle cx='420' cy='36' r='60' fill='%23f9c79a' fill-opacity='0.55'/%3E%3Ccircle cx='354' cy='80' r='44' fill='%23f4a8b6' fill-opacity='0.55'/%3E%3Ccircle cx='448' cy='120' r='38' fill='%23aac6a4' fill-opacity='0.55'/%3E%3Ccircle cx='240' cy='8' r='40' fill='%23f4a8b6' fill-opacity='0.3'/%3E%3C/g%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(40 92) rotate(-30)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(84 108) rotate(20) scale(1.1)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(130 40) rotate(-50) scale(0.9)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(440 92) rotate(210)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(396 108) rotate(160) scale(1.1)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(350 40) rotate(230) scale(0.9)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cuse href='%23f' transform='translate(66 52) rotate(10) scale(1.5)' color='%23f08fa4'/%3E%3Cuse href='%23f' transform='translate(120 90) rotate(-20)' color='%23f9b680'/%3E%3Cuse href='%23f' transform='translate(30 128) rotate(30) scale(0.9)' color='%23f6a0b4'/%3E%3Cuse href='%23f' transform='translate(414 48) rotate(-10) scale(1.5)' color='%23f9b680'/%3E%3Cuse href='%23f' transform='translate(360 92) rotate(25)' color='%23f08fa4'/%3E%3Cuse href='%23f' transform='translate(450 124) scale(0.9)' color='%23f9c79a'/%3E%3C/svg%3E");
  --deco-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 120'%3E%3Cdefs%3E%3Cfilter id='b' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3C/defs%3E%3Cdefs%3E%3Cg id='f'%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(0)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(72)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(144)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(216)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Cellipse cy='-11' rx='8.5' ry='12' transform='rotate(288)' fill='currentColor' fill-opacity='.62' stroke='%238a4a5a' stroke-opacity='.55' stroke-width='.9'/%3E%3Ccircle r='3.6' fill='%23f3b24e' fill-opacity='.9'/%3E%3C/g%3E%3C/defs%3E%3Cg filter='url(%23b)'%3E%3Ccircle cx='190' cy='64' r='38' fill='%23f9c79a' fill-opacity='0.55'/%3E%3Ccircle cx='240' cy='56' r='42' fill='%23f4a8b6' fill-opacity='0.55'/%3E%3Ccircle cx='292' cy='66' r='36' fill='%23aac6a4' fill-opacity='0.55'/%3E%3Ccircle cx='120' cy='70' r='26' fill='%23aac6a4' fill-opacity='0.4'/%3E%3Ccircle cx='360' cy='70' r='26' fill='%23f9c79a' fill-opacity='0.4'/%3E%3C/g%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(150 82) rotate(160) scale(0.8)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(330 82) rotate(20) scale(0.8)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(200 76) rotate(200) scale(0.8)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cpath d='M0 0C8-12 26-14 38-6 28 8 10 10 0 0z' transform='translate(280 76) rotate(-20) scale(0.8)' fill='%239db89a' fill-opacity='.7' stroke='%236f8f6c' stroke-opacity='.8' stroke-width='.9'/%3E%3Cuse href='%23f' transform='translate(240 58) rotate(8) scale(1.3)' color='%23f08fa4'/%3E%3Cuse href='%23f' transform='translate(190 70) rotate(-20) scale(0.8)' color='%23f9b680'/%3E%3Cuse href='%23f' transform='translate(292 70) rotate(20) scale(0.8)' color='%23f9b680'/%3E%3C/svg%3E");
}
[data-theme="acuarela"] .inv-title { line-height: 1.1; }
[data-theme="acuarela"] .inv-date { border-block-color: rgba(217,138,154,.55); }
[data-theme="acuarela"] .inv-btn { font-weight: 700; }
[data-theme="acuarela"] .inv-btn--primary { box-shadow: 0 8px 18px -8px #a84a66; }
[data-theme="acuarela"] .inv-msg { font-size: 1.12rem; line-height: 1.6; }
[data-theme="acuarela"] .inv-guest { background: rgba(255,255,255,.8); border-radius: 16px; }
[data-theme="acuarela"] .inv-guest-name { font-size: clamp(1.8rem, 9vw, 2.4rem); line-height: 1.1; }
.inv[data-theme="acuarela"] { background: radial-gradient(80% 30% at 20% 100%, #f9e3d2 0, transparent 70%), var(--bg); }
body.inv-page:has([data-theme="acuarela"]) { --page: #f4dcd7; }


/* ==========================================================================
   Tarjetas, ráfaga de partículas y excepciones por tema.
   --burst: confetti (por defecto) | petals | stars | hearts; render.js lo lee al abrir el sobre.
   ========================================================================== */
[data-theme="floral"], [data-theme="xv-rosa"], [data-theme="acuarela"], [data-theme="boho"] { --burst: petals; }
[data-theme="noche"], [data-theme="dorado"], [data-theme="negro-oro"], [data-theme="princesa"], [data-theme="religioso"], [data-theme="bebe-azul"] { --burst: stars; }
[data-theme="bebe-rosa"], [data-theme="boda-salvia"] { --burst: hearts; }

/* Temas sobrios: esquinas casi rectas, tarjetas planas con filete y sin ondita */
[data-theme="clasico"], [data-theme="dorado"], [data-theme="minimal"], [data-theme="negro-oro"], [data-theme="vintage"], [data-theme="graduacion"] {
  --r-card: 3px; --card-sh: none; --wave-h: 0px;
  --card-bd: var(--line);
}
[data-theme="minimal"] { --card-bg: transparent; --card-bd: rgba(20,20,20,.28); }
[data-theme="vintage"] { --card-bd: rgba(139,94,52,.4); }
[data-theme="graduacion"] { --card-bg: #fff; --card-bd: rgba(20,40,77,.25); }
[data-theme="deportivo"] { --r-card: 12px; }
[data-theme="boho"] { --r-card: 70px 70px 22px 22px; }
[data-theme="boho"] .inv-block { padding-top: 1.7rem; }
[data-theme="rustico"] { --r-card: 8px; }
[data-theme="mexicana"] { --card-bg: color-mix(in srgb, var(--accent) 4%, var(--bg)); }  /* AA del título verde sobre magenta */

/* Brillo en los títulos con degradado dorado */
@media (prefers-reduced-motion: no-preference) {
  .inv[data-theme="dorado"] .inv-title, .inv[data-theme="dorado"] .inv-day {
    background-image: linear-gradient(100deg, #f8e58b, #c79a2c 30%, #fff3b8 45%, #c79a2c 60%, #f6e27a);
    background-size: 260% 100%; animation: inv-shine 8s ease-in-out infinite;
  }
}

/* Editor (vista previa y miniaturas): todo estático y visible; editor.css solo apaga los hijos directos */
.ed-screen .inv, .ed-screen .inv *, .ed-screen .inv *::before, .ed-screen .inv *::after,
.ed-thumb .inv, .ed-thumb .inv *, .ed-thumb .inv *::before, .ed-thumb .inv *::after { animation: none !important; }


/* ==========================================================================
   Toque hecho a mano (todos los temas): papel con grano, el mensaje escrito
   a mano, títulos de tarjeta con la letra del tema y subrayado a mano,
   tarjetas como notas pegadas con cinta del color del tema.
   ========================================================================== */
.inv::after {
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.inv[data-theme] .inv-msg {
  font-family: 'Caveat', 'Segoe Print', cursive; font-style: normal; font-weight: 700;
  font-size: 1.7rem; line-height: 1.22; max-width: 26ch; rotate: -1.2deg;
}
.inv[data-theme] .inv-block-title {
  position: relative; display: inline-block; margin-bottom: .7rem;
  font-family: var(--f-display); font-weight: var(--tw); font-size: 1.55rem; line-height: 1.1;
  letter-spacing: 0; text-transform: none;
}
.inv[data-theme] .inv-block-title::after {
  content: ''; position: absolute; left: -6%; right: -6%; bottom: -.32em; height: .3em; background: var(--accent); opacity: .7;
  -webkit-mask: var(--scribble) center / 100% 100% no-repeat; mask: var(--scribble) center / 100% 100% no-repeat;
  --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 62-7 96-4 30 3 62 2 98-4' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.inv-block {
  position: relative;
  border-radius: calc(var(--r-card) * .3) var(--r-card) calc(var(--r-card) * .45) calc(var(--r-card) * .9);
  rotate: -.7deg;
}
.inv-block:nth-of-type(even) { rotate: .6deg; }
.inv-block::before {
  content: ''; position: absolute; top: -10px; left: 50%; width: 78px; height: 20px; translate: -50% 0; rotate: -3deg;
  background: color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 2px;
}
.inv-block:nth-of-type(even)::before { rotate: 4deg; left: 40%; }


/* ==========================================================================
   Diseños con ilustración (la imagen de arriba viene de img/deco, ver final)
   ========================================================================== */
/* ---------- Boda elegante: rosas blancas y oro ---------- */
[data-theme="boda-elegante"] {
  --bg: #fbf8f2; --ink: #3a3530; --muted: #7a7066;
  --accent: #b08d57; --accent-d: #8a6a3a; --btn: #8a6a3a; --on-accent: #fff; --line: rgba(176,141,87,.4);
  --f-display: 'Pinyon Script', cursive; --f-body: 'Cormorant Garamond', Georgia, serif; --f-msg: var(--f-body); --msg-style: italic;
  --r-btn: 2px; --tw: 400; --ts: clamp(3.2rem, 16vw, 4.6rem); --r-card: 6px; --cell-r: 2px; --env-flap: #efe6d6;
}
[data-theme="boda-elegante"] .inv-btn { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; }
/* ---------- Jardín: verde botánico ---------- */
[data-theme="boda-jardin"] {
  --bg: #f4f6f0; --ink: #2f3d2c; --muted: #5e6d58;
  --accent: #5f7d5a; --accent-d: #46603f; --btn: #4f6b4a; --on-accent: #fff; --line: rgba(95,125,90,.35);
  --f-display: 'Allura', cursive; --f-body: 'Lora', Georgia, serif; --f-msg: var(--f-body); --msg-style: italic;
  --r-btn: 999px; --tw: 400; --ts: clamp(3.3rem, 17vw, 4.8rem); --r-card: 18px; --cell-r: 12px; --env-flap: #e2e9dc;
}
/* ---------- Marino y oro (oscuro) ---------- */
[data-theme="boda-marino"] {
  --bg: #14213d; --ink: #f1ead8; --muted: #c3b89a;
  --accent: #c9a45c; --accent-d: #e0c27e; --btn: #c9a45c; --on-accent: #14213d; --line: rgba(201,164,92,.45);
  --f-display: 'Italiana', Georgia, serif; --f-body: 'Montserrat', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 0; --tw: 400; --ts: clamp(2.6rem, 12vw, 3.6rem); --r-card: 4px; --cell-r: 0; --cell-bg: rgba(201,164,92,.06);
  --env-flap: #1b2a4a; --title-color: #e0c27e;
}
[data-theme="boda-marino"] .inv-btn { text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; }
body.inv-page:has([data-theme="boda-marino"]) { --page: #0c1428; }
/* ---------- Superhéroe: cómic ---------- */
[data-theme="cumple-heroe"] {
  --bg: #fff4d6; --ink: #1b1b3a; --muted: #4a4a6a;
  --accent: #e63946; --accent-d: #b8202d; --btn: #1d4ed8; --on-accent: #fff; --line: #1b1b3a;
  --f-display: 'Bangers', Impact, sans-serif; --f-body: 'Nunito', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 6px; --tw: 400; --ts: clamp(3rem, 15vw, 4.4rem); --r-card: 8px; --cell-r: 6px; --cell-bg: #fff; --cell-bd: #1b1b3a;
  --card-bg: #fff; --card-bd: #1b1b3a; --card-sh: 5px 5px 0 #1b1b3a; --env-flap: #ffd23f;
  --title-color: #e63946;
}
.inv[data-theme="cumple-heroe"] { background-image: radial-gradient(rgba(29,78,216,.12) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.inv[data-theme="cumple-heroe"] .inv-title { letter-spacing: .04em; text-shadow: 3px 3px 0 #ffd23f, 5px 5px 0 #1b1b3a; }
[data-theme="cumple-heroe"] .inv-block { border-width: 3px; }
[data-theme="cumple-heroe"] .inv-btn { border-width: 3px; box-shadow: 3px 3px 0 #1b1b3a; font-weight: 800; }
/* ---------- Cumple elegante: esmeralda y oro ---------- */
[data-theme="cumple-elegante"] {
  --bg: #0e2a24; --ink: #f3ead2; --muted: #bfb592;
  --accent: #d8b46a; --accent-d: #e6c886; --btn: #d8b46a; --on-accent: #0e2a24; --line: rgba(216,180,106,.45);
  --f-display: 'Playfair Display SC', Georgia, serif; --f-body: 'Raleway', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 2px; --tw: 700; --ts: clamp(2.4rem, 11vw, 3.4rem); --r-card: 6px; --cell-r: 2px; --cell-bg: rgba(216,180,106,.07);
  --env-flap: #143a32; --title-color: #e6c886;
}
[data-theme="cumple-elegante"] .inv-btn { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
body.inv-page:has([data-theme="cumple-elegante"]) { --page: #071a16; }
/* ---------- Cute: kawaii pastel ---------- */
[data-theme="cumple-cute"] {
  --bg: #fff0f6; --ink: #5b3a52; --muted: #8a6680;
  --accent: #ff7eb6; --accent-d: #c93d7f; --btn: #c93d7f; --on-accent: #fff; --line: rgba(255,126,182,.4);
  --f-display: 'Sniglet', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 999px; --tw: 800; --ts: clamp(2.8rem, 14vw, 4rem); --r-card: 28px; --cell-r: 18px; --cell-bg: #fff; --env-flap: #ffd6e8;
}
/* ---------- Graduación formal: marfil, azul marino y oro ---------- */
[data-theme="grad-formal"] {
  --bg: #f7f4ec; --ink: #1d2a44; --muted: #55607a;
  --accent: #b8892a; --accent-d: #8c6a1e; --btn: #1d2a44; --on-accent: #fff; --line: rgba(184,137,42,.4);
  --f-display: 'Playfair Display', Georgia, serif; --f-body: 'Lato', system-ui, sans-serif; --f-msg: var(--f-display); --msg-style: italic;
  --r-btn: 2px; --tw: 600; --ts: clamp(2.5rem, 12vw, 3.5rem); --r-card: 4px; --cell-r: 2px; --env-flap: #ebe4d2;
}
[data-theme="grad-formal"] .inv-btn { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
/* ---------- Gala de graduación (oscuro) ---------- */
[data-theme="grad-noche"] {
  --bg: #13213c; --ink: #f2ecda; --muted: #c4bb9f;
  --accent: #e0c068; --accent-d: #ecd28a; --btn: #e0c068; --on-accent: #13213c; --line: rgba(224,192,104,.45);
  --f-display: 'Cormorant SC', Georgia, serif; --f-body: 'Lato', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 0; --tw: 700; --ts: clamp(2.6rem, 12vw, 3.6rem); --r-card: 4px; --cell-r: 0; --cell-bg: rgba(224,192,104,.06);
  --env-flap: #1a2c4e; --title-color: #ecd28a;
}
[data-theme="grad-noche"] .inv-btn { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
body.inv-page:has([data-theme="grad-noche"]) { --page: #0b1427; }
/* ---------- Sakura (otaku) ---------- */
[data-theme="otaku-sakura"] {
  --bg: #fff5f7; --ink: #3a2a3f; --muted: #6e5a72;
  --accent: #e86a92; --accent-d: #b83a6b; --btn: #b83a6b; --on-accent: #fff; --line: rgba(232,106,146,.35);
  --f-display: 'Mochiy Pop One', system-ui, sans-serif; --f-body: 'Zen Maru Gothic', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.4rem, 12vw, 3.4rem); --r-card: 22px; --cell-r: 14px; --cell-bg: #fff; --env-flap: #ffdfe8;
}
/* ---------- Manga (otaku): tinta negra y rojo ---------- */
[data-theme="otaku-manga"] {
  --bg: #ffffff; --ink: #111111; --muted: #444444;
  --accent: #ff3b3b; --accent-d: #d11f1f; --btn: #111111; --on-accent: #fff; --line: #111;
  --f-display: 'Dela Gothic One', Impact, sans-serif; --f-body: 'M PLUS Rounded 1c', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 0; --tw: 400; --ts: clamp(2.4rem, 12vw, 3.4rem); --r-card: 0; --cell-r: 0; --cell-bg: #fff; --cell-bd: #111;
  --card-bg: #fff; --card-bd: #111; --card-sh: 6px 6px 0 #111; --env-flap: #f2f2f2; --title-color: #111;
}
.inv[data-theme="otaku-manga"] { background-image: radial-gradient(rgba(0,0,0,.09) 1.3px, transparent 1.5px); background-size: 10px 10px; }
.inv[data-theme="otaku-manga"] .inv-title { text-shadow: 3px 3px 0 #ff3b3b; }
[data-theme="otaku-manga"] .inv-block { border-width: 3px; }
[data-theme="otaku-manga"] .inv-btn { border-width: 3px; font-weight: 800; }
/* ---------- Kawaii (otaku) ---------- */
[data-theme="otaku-kawaii"] {
  --bg: #f3f0ff; --ink: #3d3566; --muted: #6d6596;
  --accent: #8b6cff; --accent-d: #6a4be0; --btn: #6a4be0; --on-accent: #fff; --line: rgba(139,108,255,.35);
  --f-display: 'Mochiy Pop One', system-ui, sans-serif; --f-body: 'Zen Maru Gothic', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 999px; --tw: 400; --ts: clamp(2.4rem, 12vw, 3.4rem); --r-card: 26px; --cell-r: 16px; --cell-bg: #fff; --env-flap: #e4dcff;
}
/* ---------- Revelación: rosa y azul ---------- */
[data-theme="revelacion"] {
  --bg: #fbf7ff; --ink: #3b3550; --muted: #6b6580;
  --accent: #f28bb3; --accent-d: #c2457a; --btn: #4a6cc0; --on-accent: #fff; --line: rgba(111,179,232,.45);
  --f-display: 'Fredoka', system-ui, sans-serif; --f-body: 'Nunito', system-ui, sans-serif; --f-msg: var(--f-body); --msg-style: normal;
  --r-btn: 999px; --tw: 700; --ts: clamp(2.6rem, 13vw, 3.8rem); --r-card: 24px; --cell-r: 16px; --cell-bg: #fff; --env-flap: #f1e6fb;
}
.inv[data-theme="revelacion"] .inv-title { background: linear-gradient(90deg, #e5679c, #8a7bd6 50%, #4f95d6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* ---------- Aniversario: vino y oro ---------- */
[data-theme="aniversario"] {
  --bg: #fbf4f1; --ink: #4a1f2b; --muted: #7d5560;
  --accent: #8c1c3b; --accent-d: #8c1c3b; --btn: #8c1c3b; --on-accent: #fff; --line: rgba(140,28,59,.3);
  --f-display: 'Pinyon Script', cursive; --f-body: 'Cormorant Garamond', Georgia, serif; --f-msg: var(--f-body); --msg-style: italic;
  --r-btn: 2px; --tw: 400; --ts: clamp(3.2rem, 16vw, 4.6rem); --r-card: 6px; --cell-r: 2px; --env-flap: #f2e1db;
}
[data-theme="aniversario"] .inv-btn { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }

/* @deco:start (tools/gen_decos.py) */
.inv[data-theme] .inv-deco--top { background-size: contain; background-position: center top; }
.inv[data-theme="acuarela"] { --deco-top: url("../img/deco/acuarela.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="acuarela"] { --deco-top: url("../img/deco/sm/acuarela.webp"); }
.inv-envelope[data-theme="acuarela"] { --env-art: url("../img/deco/acuarela.webp"); }
.inv[data-theme="aniversario"] { --deco-top: url("../img/deco/aniversario.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="aniversario"] { --deco-top: url("../img/deco/sm/aniversario.webp"); }
.inv-envelope[data-theme="aniversario"] { --env-art: url("../img/deco/aniversario.webp"); }
.inv[data-theme="bebe-azul"] { --deco-top: url("../img/deco/bebe-azul.webp"); --deco-top-ratio: 2.526; }
.ed-thumb .inv[data-theme="bebe-azul"] { --deco-top: url("../img/deco/sm/bebe-azul.webp"); }
.inv-envelope[data-theme="bebe-azul"] { --env-art: url("../img/deco/bebe-azul.webp"); }
.inv[data-theme="bebe-rosa"] { --deco-top: url("../img/deco/bebe-rosa.webp"); --deco-top-ratio: 2.412; }
.ed-thumb .inv[data-theme="bebe-rosa"] { --deco-top: url("../img/deco/sm/bebe-rosa.webp"); }
.inv-envelope[data-theme="bebe-rosa"] { --env-art: url("../img/deco/bebe-rosa.webp"); }
.inv[data-theme="boda-elegante"] { --deco-top: url("../img/deco/boda-elegante.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="boda-elegante"] { --deco-top: url("../img/deco/sm/boda-elegante.webp"); }
.inv-envelope[data-theme="boda-elegante"] { --env-art: url("../img/deco/boda-elegante.webp"); }
.inv[data-theme="boda-jardin"] { --deco-top: url("../img/deco/boda-jardin.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="boda-jardin"] { --deco-top: url("../img/deco/sm/boda-jardin.webp"); }
.inv-envelope[data-theme="boda-jardin"] { --env-art: url("../img/deco/boda-jardin.webp"); }
.inv[data-theme="boda-marino"] { --deco-top: url("../img/deco/boda-marino.webp"); --deco-top-ratio: 2.682; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="boda-marino"] { --deco-top: url("../img/deco/sm/boda-marino.webp"); }
.inv-envelope[data-theme="boda-marino"] { --env-art: url("../img/deco/boda-marino.webp"); }
.inv[data-theme="boda-salvia"] { --deco-top: url("../img/deco/boda-salvia.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="boda-salvia"] { --deco-top: url("../img/deco/sm/boda-salvia.webp"); }
.inv-envelope[data-theme="boda-salvia"] { --env-art: url("../img/deco/boda-salvia.webp"); }
.inv[data-theme="boho"] { --deco-top: url("../img/deco/boho.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="boho"] { --deco-top: url("../img/deco/sm/boho.webp"); }
.inv-envelope[data-theme="boho"] { --env-art: url("../img/deco/boho.webp"); }
.inv[data-theme="cielo"] { --deco-top: url("../img/deco/cielo.webp"); --deco-top-ratio: 3.967; }
.ed-thumb .inv[data-theme="cielo"] { --deco-top: url("../img/deco/sm/cielo.webp"); }
.inv-envelope[data-theme="cielo"] { --env-art: url("../img/deco/cielo.webp"); }
.inv[data-theme="clasico"] { --deco-top: url("../img/deco/clasico.webp"); --deco-top-ratio: 2.313; }
.ed-thumb .inv[data-theme="clasico"] { --deco-top: url("../img/deco/sm/clasico.webp"); }
.inv-envelope[data-theme="clasico"] { --env-art: url("../img/deco/clasico.webp"); }
.inv[data-theme="cumple-cute"] { --deco-top: url("../img/deco/cumple-cute.webp"); --deco-top-ratio: 3.028; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="cumple-cute"] { --deco-top: url("../img/deco/sm/cumple-cute.webp"); }
.inv-envelope[data-theme="cumple-cute"] { --env-art: url("../img/deco/cumple-cute.webp"); }
.inv[data-theme="cumple-elegante"] { --deco-top: url("../img/deco/cumple-elegante.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="cumple-elegante"] { --deco-top: url("../img/deco/sm/cumple-elegante.webp"); }
.inv-envelope[data-theme="cumple-elegante"] { --env-art: url("../img/deco/cumple-elegante.webp"); }
.inv[data-theme="cumple-heroe"] { --deco-top: url("../img/deco/cumple-heroe.webp"); --deco-top-ratio: 2.382; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="cumple-heroe"] { --deco-top: url("../img/deco/sm/cumple-heroe.webp"); }
.inv-envelope[data-theme="cumple-heroe"] { --env-art: url("../img/deco/cumple-heroe.webp"); }
.inv[data-theme="deportivo"] { --deco-top: url("../img/deco/deportivo.webp"); --deco-top-ratio: 3.478; }
.ed-thumb .inv[data-theme="deportivo"] { --deco-top: url("../img/deco/sm/deportivo.webp"); }
.inv-envelope[data-theme="deportivo"] { --env-art: url("../img/deco/deportivo.webp"); }
.inv[data-theme="dorado"] { --deco-top: url("../img/deco/dorado.webp"); --deco-top-ratio: 2.727; }
.ed-thumb .inv[data-theme="dorado"] { --deco-top: url("../img/deco/sm/dorado.webp"); }
.inv-envelope[data-theme="dorado"] { --env-art: url("../img/deco/dorado.webp"); }
.inv[data-theme="fiesta"] { --deco-top: url("../img/deco/fiesta.webp"); --deco-top-ratio: 2.775; }
.ed-thumb .inv[data-theme="fiesta"] { --deco-top: url("../img/deco/sm/fiesta.webp"); }
.inv-envelope[data-theme="fiesta"] { --env-art: url("../img/deco/fiesta.webp"); }
.inv[data-theme="floral"] { --deco-top: url("../img/deco/floral.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="floral"] { --deco-top: url("../img/deco/sm/floral.webp"); }
.inv-envelope[data-theme="floral"] { --env-art: url("../img/deco/floral.webp"); }
.inv[data-theme="globos"] { --deco-top: url("../img/deco/globos.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="globos"] { --deco-top: url("../img/deco/sm/globos.webp"); }
.inv-envelope[data-theme="globos"] { --env-art: url("../img/deco/globos.webp"); }
.inv[data-theme="grad-formal"] { --deco-top: url("../img/deco/grad-formal.webp"); --deco-top-ratio: 3.404; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="grad-formal"] { --deco-top: url("../img/deco/sm/grad-formal.webp"); }
.inv-envelope[data-theme="grad-formal"] { --env-art: url("../img/deco/grad-formal.webp"); }
.inv[data-theme="grad-noche"] { --deco-top: url("../img/deco/grad-noche.webp"); --deco-top-ratio: 2.291; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="grad-noche"] { --deco-top: url("../img/deco/sm/grad-noche.webp"); }
.inv-envelope[data-theme="grad-noche"] { --env-art: url("../img/deco/grad-noche.webp"); }
.inv[data-theme="graduacion"] { --deco-top: url("../img/deco/graduacion.webp"); --deco-top-ratio: 2.743; }
.ed-thumb .inv[data-theme="graduacion"] { --deco-top: url("../img/deco/sm/graduacion.webp"); }
.inv-envelope[data-theme="graduacion"] { --env-art: url("../img/deco/graduacion.webp"); }
.inv[data-theme="mexicana"] { --deco-top: url("../img/deco/mexicana.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="mexicana"] { --deco-top: url("../img/deco/sm/mexicana.webp"); }
.inv-envelope[data-theme="mexicana"] { --env-art: url("../img/deco/mexicana.webp"); }
.inv[data-theme="minimal"] { --deco-top: url("../img/deco/minimal.webp"); --deco-top-ratio: 4.000; }
.ed-thumb .inv[data-theme="minimal"] { --deco-top: url("../img/deco/sm/minimal.webp"); }
.inv-envelope[data-theme="minimal"] { --env-art: url("../img/deco/minimal.webp"); }
.inv[data-theme="negro-oro"] { --deco-top: url("../img/deco/negro-oro.webp"); --deco-top-ratio: 2.602; }
.ed-thumb .inv[data-theme="negro-oro"] { --deco-top: url("../img/deco/sm/negro-oro.webp"); }
.inv-envelope[data-theme="negro-oro"] { --env-art: url("../img/deco/negro-oro.webp"); }
.inv[data-theme="noche"] { --deco-top: url("../img/deco/noche.webp"); --deco-top-ratio: 2.832; }
.ed-thumb .inv[data-theme="noche"] { --deco-top: url("../img/deco/sm/noche.webp"); }
.inv-envelope[data-theme="noche"] { --env-art: url("../img/deco/noche.webp"); }
.inv[data-theme="otaku-kawaii"] { --deco-top: url("../img/deco/otaku-kawaii.webp"); --deco-top-ratio: 3.189; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="otaku-kawaii"] { --deco-top: url("../img/deco/sm/otaku-kawaii.webp"); }
.inv-envelope[data-theme="otaku-kawaii"] { --env-art: url("../img/deco/otaku-kawaii.webp"); }
.inv[data-theme="otaku-manga"] { --deco-top: url("../img/deco/otaku-manga.webp"); --deco-top-ratio: 2.513; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="otaku-manga"] { --deco-top: url("../img/deco/sm/otaku-manga.webp"); }
.inv-envelope[data-theme="otaku-manga"] { --env-art: url("../img/deco/otaku-manga.webp"); }
.inv[data-theme="otaku-sakura"] { --deco-top: url("../img/deco/otaku-sakura.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="otaku-sakura"] { --deco-top: url("../img/deco/sm/otaku-sakura.webp"); }
.inv-envelope[data-theme="otaku-sakura"] { --env-art: url("../img/deco/otaku-sakura.webp"); }
.inv[data-theme="playa"] { --deco-top: url("../img/deco/playa.webp"); --deco-top-ratio: 2.874; }
.ed-thumb .inv[data-theme="playa"] { --deco-top: url("../img/deco/sm/playa.webp"); }
.inv-envelope[data-theme="playa"] { --env-art: url("../img/deco/playa.webp"); }
.inv[data-theme="princesa"] { --deco-top: url("../img/deco/princesa.webp"); --deco-top-ratio: 2.560; }
.ed-thumb .inv[data-theme="princesa"] { --deco-top: url("../img/deco/sm/princesa.webp"); }
.inv-envelope[data-theme="princesa"] { --env-art: url("../img/deco/princesa.webp"); }
.inv[data-theme="religioso"] { --deco-top: url("../img/deco/religioso.webp"); --deco-top-ratio: 2.815; }
.ed-thumb .inv[data-theme="religioso"] { --deco-top: url("../img/deco/sm/religioso.webp"); }
.inv-envelope[data-theme="religioso"] { --env-art: url("../img/deco/religioso.webp"); }
.inv[data-theme="revelacion"] { --deco-top: url("../img/deco/revelacion.webp"); --deco-top-ratio: 2.200; --deco-bottom: none; --deco-bottom-ratio: 12 / 1; }
.ed-thumb .inv[data-theme="revelacion"] { --deco-top: url("../img/deco/sm/revelacion.webp"); }
.inv-envelope[data-theme="revelacion"] { --env-art: url("../img/deco/revelacion.webp"); }
.inv[data-theme="rustico"] { --deco-top: url("../img/deco/rustico.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="rustico"] { --deco-top: url("../img/deco/sm/rustico.webp"); }
.inv-envelope[data-theme="rustico"] { --env-art: url("../img/deco/rustico.webp"); }
.inv[data-theme="tropical"] { --deco-top: url("../img/deco/tropical.webp"); --deco-top-ratio: 2.400; }
.ed-thumb .inv[data-theme="tropical"] { --deco-top: url("../img/deco/sm/tropical.webp"); }
.inv-envelope[data-theme="tropical"] { --env-art: url("../img/deco/tropical.webp"); }
.inv[data-theme="vintage"] { --deco-top: url("../img/deco/vintage.webp"); --deco-top-ratio: 2.280; }
.ed-thumb .inv[data-theme="vintage"] { --deco-top: url("../img/deco/sm/vintage.webp"); }
.inv-envelope[data-theme="vintage"] { --env-art: url("../img/deco/vintage.webp"); }
.inv[data-theme="xv-rosa"] { --deco-top: url("../img/deco/xv-rosa.webp"); --deco-top-ratio: 2.200; }
.ed-thumb .inv[data-theme="xv-rosa"] { --deco-top: url("../img/deco/sm/xv-rosa.webp"); }
.inv-envelope[data-theme="xv-rosa"] { --env-art: url("../img/deco/xv-rosa.webp"); }
.inv-envelope[data-theme]::before { background: var(--env-art, none) center 4% / 100% auto no-repeat, linear-gradient(180deg, var(--env-flap), color-mix(in srgb, var(--env-flap) 90%, #000)); }
.inv-envelope[data-theme="acuarela"] .inv-envelope-seal, .inv-envelope[data-theme="aniversario"] .inv-envelope-seal, .inv-envelope[data-theme="bebe-azul"] .inv-envelope-seal, .inv-envelope[data-theme="bebe-rosa"] .inv-envelope-seal, .inv-envelope[data-theme="boda-elegante"] .inv-envelope-seal, .inv-envelope[data-theme="boda-jardin"] .inv-envelope-seal, .inv-envelope[data-theme="boda-marino"] .inv-envelope-seal, .inv-envelope[data-theme="boda-salvia"] .inv-envelope-seal, .inv-envelope[data-theme="boho"] .inv-envelope-seal, .inv-envelope[data-theme="cielo"] .inv-envelope-seal, .inv-envelope[data-theme="clasico"] .inv-envelope-seal, .inv-envelope[data-theme="cumple-cute"] .inv-envelope-seal, .inv-envelope[data-theme="cumple-elegante"] .inv-envelope-seal, .inv-envelope[data-theme="cumple-heroe"] .inv-envelope-seal, .inv-envelope[data-theme="deportivo"] .inv-envelope-seal, .inv-envelope[data-theme="dorado"] .inv-envelope-seal, .inv-envelope[data-theme="fiesta"] .inv-envelope-seal, .inv-envelope[data-theme="floral"] .inv-envelope-seal, .inv-envelope[data-theme="globos"] .inv-envelope-seal, .inv-envelope[data-theme="grad-formal"] .inv-envelope-seal, .inv-envelope[data-theme="grad-noche"] .inv-envelope-seal, .inv-envelope[data-theme="graduacion"] .inv-envelope-seal, .inv-envelope[data-theme="mexicana"] .inv-envelope-seal, .inv-envelope[data-theme="minimal"] .inv-envelope-seal, .inv-envelope[data-theme="negro-oro"] .inv-envelope-seal, .inv-envelope[data-theme="noche"] .inv-envelope-seal, .inv-envelope[data-theme="otaku-kawaii"] .inv-envelope-seal, .inv-envelope[data-theme="otaku-manga"] .inv-envelope-seal, .inv-envelope[data-theme="otaku-sakura"] .inv-envelope-seal, .inv-envelope[data-theme="playa"] .inv-envelope-seal, .inv-envelope[data-theme="princesa"] .inv-envelope-seal, .inv-envelope[data-theme="religioso"] .inv-envelope-seal, .inv-envelope[data-theme="revelacion"] .inv-envelope-seal, .inv-envelope[data-theme="rustico"] .inv-envelope-seal, .inv-envelope[data-theme="tropical"] .inv-envelope-seal, .inv-envelope[data-theme="vintage"] .inv-envelope-seal, .inv-envelope[data-theme="xv-rosa"] .inv-envelope-seal { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; box-shadow: none; background: var(--seal) center / contain no-repeat; filter: drop-shadow(0 8px 12px rgba(0,0,0,.32)); }
.inv-envelope[data-theme="acuarela"] { --seal: url("../img/sello/acuarela.webp"); }
.inv-envelope[data-theme="aniversario"] { --seal: url("../img/sello/aniversario.webp"); }
.inv-envelope[data-theme="bebe-azul"] { --seal: url("../img/sello/bebe-azul.webp"); }
.inv-envelope[data-theme="bebe-rosa"] { --seal: url("../img/sello/bebe-rosa.webp"); }
.inv-envelope[data-theme="boda-elegante"] { --seal: url("../img/sello/boda-elegante.webp"); }
.inv-envelope[data-theme="boda-jardin"] { --seal: url("../img/sello/boda-jardin.webp"); }
.inv-envelope[data-theme="boda-marino"] { --seal: url("../img/sello/boda-marino.webp"); }
.inv-envelope[data-theme="boda-salvia"] { --seal: url("../img/sello/boda-salvia.webp"); }
.inv-envelope[data-theme="boho"] { --seal: url("../img/sello/boho.webp"); }
.inv-envelope[data-theme="cielo"] { --seal: url("../img/sello/cielo.webp"); }
.inv-envelope[data-theme="clasico"] { --seal: url("../img/sello/clasico.webp"); }
.inv-envelope[data-theme="cumple-cute"] { --seal: url("../img/sello/cumple-cute.webp"); }
.inv-envelope[data-theme="cumple-elegante"] { --seal: url("../img/sello/cumple-elegante.webp"); }
.inv-envelope[data-theme="cumple-heroe"] { --seal: url("../img/sello/cumple-heroe.webp"); }
.inv-envelope[data-theme="deportivo"] { --seal: url("../img/sello/deportivo.webp"); }
.inv-envelope[data-theme="dorado"] { --seal: url("../img/sello/dorado.webp"); }
.inv-envelope[data-theme="fiesta"] { --seal: url("../img/sello/fiesta.webp"); }
.inv-envelope[data-theme="floral"] { --seal: url("../img/sello/floral.webp"); }
.inv-envelope[data-theme="globos"] { --seal: url("../img/sello/globos.webp"); }
.inv-envelope[data-theme="grad-formal"] { --seal: url("../img/sello/grad-formal.webp"); }
.inv-envelope[data-theme="grad-noche"] { --seal: url("../img/sello/grad-noche.webp"); }
.inv-envelope[data-theme="graduacion"] { --seal: url("../img/sello/graduacion.webp"); }
.inv-envelope[data-theme="mexicana"] { --seal: url("../img/sello/mexicana.webp"); }
.inv-envelope[data-theme="minimal"] { --seal: url("../img/sello/minimal.webp"); }
.inv-envelope[data-theme="negro-oro"] { --seal: url("../img/sello/negro-oro.webp"); }
.inv-envelope[data-theme="noche"] { --seal: url("../img/sello/noche.webp"); }
.inv-envelope[data-theme="otaku-kawaii"] { --seal: url("../img/sello/otaku-kawaii.webp"); }
.inv-envelope[data-theme="otaku-manga"] { --seal: url("../img/sello/otaku-manga.webp"); }
.inv-envelope[data-theme="otaku-sakura"] { --seal: url("../img/sello/otaku-sakura.webp"); }
.inv-envelope[data-theme="playa"] { --seal: url("../img/sello/playa.webp"); }
.inv-envelope[data-theme="princesa"] { --seal: url("../img/sello/princesa.webp"); }
.inv-envelope[data-theme="religioso"] { --seal: url("../img/sello/religioso.webp"); }
.inv-envelope[data-theme="revelacion"] { --seal: url("../img/sello/revelacion.webp"); }
.inv-envelope[data-theme="rustico"] { --seal: url("../img/sello/rustico.webp"); }
.inv-envelope[data-theme="tropical"] { --seal: url("../img/sello/tropical.webp"); }
.inv-envelope[data-theme="vintage"] { --seal: url("../img/sello/vintage.webp"); }
.inv-envelope[data-theme="xv-rosa"] { --seal: url("../img/sello/xv-rosa.webp"); }
/* @deco:end */

/* ==========================================================================
   Personalizador, parte 2: adornos ilustrados (img/orn, tools/gen_orns.py) y fondos.
   Los adornos son máscaras: se pintan con --accent, así que respetan el color elegido.
   ========================================================================== */
.inv[data-orn="lazos"], .inv[data-orn="eucalipto"], .inv[data-orn="pampas"], .inv[data-orn="limones"], .inv[data-orn="olivo"], .inv[data-orn="silvestres"], .inv[data-orn="girasoles"], .inv[data-orn="rosas"], .inv[data-orn="cerezas"], .inv[data-orn="celestial"], .inv[data-orn="disco"], .inv[data-orn="laurel"] { --orn-size: contain; }
.inv[data-orn="lazos"] .inv-deco--top { --orn: url("../img/orn/lazos.webp"); }
.ed-orn[data-orn="lazos"] { --orn: url("../img/orn/sm/lazos.webp"); }
.inv[data-orn="lazos"] .inv-deco--bottom { --orn: url("../img/orn/lazos-b.webp"); }
.inv[data-orn="eucalipto"] .inv-deco--top { --orn: url("../img/orn/eucalipto.webp"); }
.ed-orn[data-orn="eucalipto"] { --orn: url("../img/orn/sm/eucalipto.webp"); }
.inv[data-orn="eucalipto"] .inv-deco--bottom { --orn: url("../img/orn/eucalipto-b.webp"); }
.inv[data-orn="pampas"] .inv-deco--top { --orn: url("../img/orn/pampas.webp"); }
.ed-orn[data-orn="pampas"] { --orn: url("../img/orn/sm/pampas.webp"); }
.inv[data-orn="pampas"] .inv-deco--bottom { --orn: url("../img/orn/pampas-b.webp"); }
.inv[data-orn="limones"] .inv-deco--top { --orn: url("../img/orn/limones.webp"); }
.ed-orn[data-orn="limones"] { --orn: url("../img/orn/sm/limones.webp"); }
.inv[data-orn="limones"] .inv-deco--bottom { --orn: url("../img/orn/limones-b.webp"); }
.inv[data-orn="olivo"] .inv-deco--top { --orn: url("../img/orn/olivo.webp"); }
.ed-orn[data-orn="olivo"] { --orn: url("../img/orn/sm/olivo.webp"); }
.inv[data-orn="olivo"] .inv-deco--bottom { --orn: url("../img/orn/olivo-b.webp"); }
.inv[data-orn="silvestres"] .inv-deco--top { --orn: url("../img/orn/silvestres.webp"); }
.ed-orn[data-orn="silvestres"] { --orn: url("../img/orn/sm/silvestres.webp"); }
.inv[data-orn="silvestres"] .inv-deco--bottom { --orn: url("../img/orn/silvestres-b.webp"); }
.inv[data-orn="girasoles"] .inv-deco--top { --orn: url("../img/orn/girasoles.webp"); }
.ed-orn[data-orn="girasoles"] { --orn: url("../img/orn/sm/girasoles.webp"); }
.inv[data-orn="girasoles"] .inv-deco--bottom { --orn: url("../img/orn/girasoles-b.webp"); }
.inv[data-orn="rosas"] .inv-deco--top { --orn: url("../img/orn/rosas.webp"); }
.ed-orn[data-orn="rosas"] { --orn: url("../img/orn/sm/rosas.webp"); }
.inv[data-orn="rosas"] .inv-deco--bottom { --orn: url("../img/orn/rosas-b.webp"); }
.inv[data-orn="cerezas"] .inv-deco--top { --orn: url("../img/orn/cerezas.webp"); }
.ed-orn[data-orn="cerezas"] { --orn: url("../img/orn/sm/cerezas.webp"); }
.inv[data-orn="cerezas"] .inv-deco--bottom { --orn: url("../img/orn/cerezas-b.webp"); }
.inv[data-orn="celestial"] .inv-deco--top { --orn: url("../img/orn/celestial.webp"); }
.ed-orn[data-orn="celestial"] { --orn: url("../img/orn/sm/celestial.webp"); }
.inv[data-orn="celestial"] .inv-deco--bottom { --orn: url("../img/orn/celestial-b.webp"); }
.inv[data-orn="disco"] .inv-deco--top { --orn: url("../img/orn/disco.webp"); }
.ed-orn[data-orn="disco"] { --orn: url("../img/orn/sm/disco.webp"); }
.inv[data-orn="disco"] .inv-deco--bottom { --orn: url("../img/orn/disco-b.webp"); }
.inv[data-orn="laurel"] .inv-deco--top { --orn: url("../img/orn/laurel.webp"); }
.ed-orn[data-orn="laurel"] { --orn: url("../img/orn/sm/laurel.webp"); }
.inv[data-orn="laurel"] .inv-deco--bottom { --orn: url("../img/orn/laurel-b.webp"); }
.inv.inv[data-bg] { background-color: var(--bg); }
.inv.inv[data-bg="papel"], .ed-bg[data-bg="papel"] { background-image: radial-gradient(130% 60% at 50% 0%, transparent 55%, color-mix(in srgb, var(--accent) 12%, transparent)), radial-gradient(130% 60% at 50% 100%, transparent 55%, color-mix(in srgb, var(--accent) 12%, transparent)); }
.inv.inv[data-bg="lino"], .ed-bg[data-bg="lino"] { background-image: repeating-linear-gradient(0deg, color-mix(in srgb, var(--accent) 7%, transparent) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent) 0 1px, transparent 1px 4px); }
.inv.inv[data-bg="vichy"], .ed-bg[data-bg="vichy"] { background-image: linear-gradient(90deg, color-mix(in srgb, var(--accent) 11%, transparent) 50%, transparent 0), linear-gradient(color-mix(in srgb, var(--accent) 11%, transparent) 50%, transparent 0); background-size: 28px 28px; }
.inv.inv[data-bg="rayas"], .ed-bg[data-bg="rayas"] { background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent) 0 16px, transparent 16px 32px); }
.inv.inv[data-bg="puntos"], .ed-bg[data-bg="puntos"] { background-image: radial-gradient(color-mix(in srgb, var(--accent) 24%, transparent) 1.6px, transparent 2.2px); background-size: 22px 22px; }
.inv.inv[data-bg="acuarela"], .ed-bg[data-bg="acuarela"] { background-image: radial-gradient(42% 26% at 8% 6%, color-mix(in srgb, var(--accent) 20%, transparent), transparent), radial-gradient(38% 22% at 96% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), radial-gradient(46% 24% at 4% 70%, color-mix(in srgb, var(--accent) 12%, transparent), transparent), radial-gradient(40% 24% at 94% 96%, color-mix(in srgb, var(--accent) 18%, transparent), transparent); }
.inv.inv[data-bg="arco"]::before, .ed-bg[data-bg="arco"]::before { content: ''; position: absolute; inset: 96px 16px 16px; z-index: 0; pointer-events: none; outline: none; border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); border-radius: 50% 50% 18px 18px / 190px 190px 18px 18px; }
.ed-orn { display: block; width: 100%; aspect-ratio: 3 / 1; background: currentColor; -webkit-mask: var(--orn) center / contain no-repeat; mask: var(--orn) center / contain no-repeat; }
.ed-bg { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 6px; --accent: currentColor; background-color: #fffdf8; position: relative; overflow: hidden; }
.ed-bg[data-bg="arco"]::before { inset: 14% 12% 6%; border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px; }
