/* =========================================================
   Posada 2026 · tema navideño final (octubre 2026)
   GENERADO por Extras/posada/dev/generar_tema_navidad.py — capa solo visual.
   Se carga al último; no cambia estructura, datos ni comportamiento.
   ========================================================= */
.posada {
  --nv-night: #04123a;
  --nv-deep: #08256e;
  --nv-royal: #1a55d6;
  --nv-glow: #5ea2ff;
  --nv-ice: #e8f2ff;
  --nv-snow: #f8fbff;
  --nv-line: #bcd3f5;
  --nv-gold: #e9c46a;
  --nv-gold-light: #ffe7ab;
  --nv-red: #c8102e;
  --nv-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 110'%3E%3Cdefs%3E %3CradialGradient id='l'%3E%3Cstop offset='0' stop-color='%23fffbe6'/%3E%3Cstop offset='.3' stop-color='%23ffd978' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23ffb53d' stop-opacity='0'/%3E%3C/radialGradient%3E %3CradialGradient id='b' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23b9d8ff'/%3E%3Cstop offset='.45' stop-color='%232466dc'/%3E%3Cstop offset='1' stop-color='%23071f6b'/%3E%3C/radialGradient%3E %3CradialGradient id='s' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.55' stop-color='%23cfdcf0'/%3E%3Cstop offset='1' stop-color='%238ea6c9'/%3E%3C/radialGradient%3E %3CradialGradient id='r' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ff9aa5'/%3E%3Cstop offset='.5' stop-color='%23c8102e'/%3E%3Cstop offset='1' stop-color='%236d0717'/%3E%3C/radialGradient%3E %3C/defs%3E %3Cpath d='M-6 4 Q70 10 158 56' stroke='%233b2a16' stroke-width='1.6' fill='none'/%3E%3Cpath d='M-3.8 4.2l8.1 -4.8M5.2 5.1l7.3 8.2M9.8 5.7l8.7 -5.3M18.9 7.0l6.9 9.6M23.5 7.8l9.3 -5.8M32.8 9.5l6.3 10.9M37.4 10.5l9.9 -6.4M46.8 12.6l6.1 7.1M51.5 13.8l10.5 -7.0M61.0 16.4l5.9 8.3M65.8 17.8l8.9 -3.0M75.4 20.8l5.5 9.5M80.3 22.4l9.6 -3.5M90.0 25.8l5.0 10.7M94.9 27.6l10.2 -4.0M104.8 31.4l4.3 11.9M109.8 33.4l10.9 -4.6M119.8 37.7l4.8 8.0M124.8 39.9l11.5 -5.2M134.9 44.5l4.5 9.1M140.0 47.0l9.2 -1.6M150.3 52.0l4.0 10.2M155.4 54.7l10.0 -2.0' stroke='%230b3a29' stroke-width='2.1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-3.8 4.2l7.6 9.1M0.7 4.6l8.9 -6.5M9.8 5.7l7.1 10.4M14.3 6.3l9.4 -7.1M23.5 7.8l6.6 6.7M28.1 8.6l10.0 -7.7M37.4 10.5l6.4 7.9M42.1 11.5l8.6 -3.6M51.5 13.8l6.1 9.2M56.2 15.1l9.3 -4.1M65.8 17.8l5.6 10.4M70.6 19.2l10.0 -4.6M80.3 22.4l4.9 11.6M85.1 24.0l10.6 -5.2M94.9 27.6l5.2 7.8M99.8 29.5l11.2 -5.8M109.8 33.4l4.9 8.9M114.8 35.5l9.1 -2.0M124.8 39.9l4.5 10.0M129.8 42.2l9.9 -2.5M140.0 47.0l3.9 11.2M145.1 49.5l10.6 -3.0M155.4 54.7l3.1 12.2' stroke='%2317694a' stroke-width='1.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M0.7 4.6l7.0 6.2M5.2 5.1l9.4 -8.4M14.3 6.3l6.9 7.4M18.9 7.0l8.4 -4.2M28.1 8.6l6.7 8.7M32.8 9.5l9.0 -4.7M42.1 11.5l6.2 10.0M46.8 12.6l9.7 -5.2M56.2 15.1l5.6 11.3M61.0 16.4l10.3 -5.8M70.6 19.2l5.7 7.5M75.4 20.8l10.9 -6.4M85.1 24.0l5.4 8.6M90.0 25.8l9.0 -2.5M99.8 29.5l5.0 9.8M104.8 31.4l9.7 -3.0M114.8 35.5l4.4 11.0M119.8 37.7l10.4 -3.5M129.8 42.2l3.7 12.1M134.9 44.5l11.1 -4.0M145.1 49.5l4.4 8.3M150.3 52.0l11.7 -4.6' stroke='%233fa678' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M4.7 0.7l4.9 -3.6M22.7 4.1l4.6 -2.3M41.9 6.6l5.5 -3.5M60.4 12.2l5.1 -2.2M80.3 16.9l6.0 -3.5M99.5 24.8l5.6 -2.2M118.9 33.6l5.0 -1.1M139.9 41.7l6.1 -2.2M159.9 52.8l5.5 -1.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-6 2 Q38 44 78 104' stroke='%233b2a16' stroke-width='1.6' fill='none'/%3E%3Cpath d='M-4.3 3.6l10.1 0.9M2.4 10.2l-0.0 11.8M5.8 13.6l11.0 0.7M12.4 20.6l-1.1 12.6M15.8 24.1l11.8 0.4M22.3 31.4l1.0 9.3M25.6 35.1l12.6 0.1M32.1 42.7l0.3 10.2M35.4 46.5l9.1 2.4M41.8 54.4l-0.6 11.0M45.0 58.5l9.9 2.3M51.4 66.7l-1.6 11.7M54.6 70.9l10.8 2.1M60.9 79.4l-2.7 12.3M64.0 83.8l11.7 1.9M70.3 92.6l-0.1 9.4M73.4 97.1l12.5 1.6' stroke='%230b3a29' stroke-width='2.1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-4.3 3.6l-0.5 12.6M-0.9 6.9l11.8 -0.1M5.8 13.6l1.4 9.2M9.1 17.1l12.6 -0.5M15.8 24.1l0.7 10.2M19.1 27.7l9.1 2.0M25.6 35.1l-0.1 11.0M28.9 38.9l10.0 1.9M35.4 46.5l-1.1 11.8M38.6 50.5l10.9 1.7M45.0 58.5l-2.2 12.4M48.2 62.6l11.7 1.4M54.6 70.9l0.2 9.4M57.8 75.1l12.6 1.1M64.0 83.8l-0.6 10.2M67.2 88.2l8.8 3.1M73.4 97.1l-1.5 10.9M76.5 101.7l9.7 3.0' stroke='%2317694a' stroke-width='1.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-0.9 6.9l1.2 10.1M2.4 10.2l9.2 1.6M9.1 17.1l0.4 11.0M12.4 20.6l10.1 1.4M19.1 27.7l-0.6 11.8M22.3 31.4l10.9 1.2M28.9 38.9l-1.7 12.5M32.1 42.7l11.8 1.0M38.6 50.5l0.6 9.3M41.8 54.4l12.6 0.6M48.2 62.6l-0.2 10.2M51.4 66.7l8.9 2.8M57.8 75.1l-1.1 10.9M60.9 79.4l9.8 2.7M67.2 88.2l-2.1 11.6M70.3 92.6l10.7 2.5M76.5 101.7l-3.2 12.2' stroke='%233fa678' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M4.4 5.8l6.5 -0.1M17.0 20.2l5.5 0.8M31.3 34.1l6.9 0.1M43.5 50.2l6.0 0.9M55.4 66.9l4.9 1.5M69.3 83.6l6.4 1.0M80.8 102.1l5.3 1.7' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-6 0 Q58 26 118 88' stroke='%233b2a16' stroke-width='1.6' fill='none'/%3E%3Cpath d='M-3.7 0.9l10.0 -4.1M5.4 4.9l4.3 7.4M9.9 7.1l10.7 -4.5M19.0 11.6l3.7 8.5M23.5 14.0l8.5 -1.0M32.5 19.1l3.0 9.6M37.0 21.8l9.3 -1.2M45.9 27.4l2.2 10.6M50.3 30.4l10.0 -1.4M59.2 36.6l1.2 11.5M63.6 39.8l10.7 -1.6M72.4 46.6l2.4 8.2M76.8 50.1l11.4 -1.9M85.6 57.4l1.7 9.2M89.9 61.2l8.5 0.9M98.6 69.0l0.9 10.0M102.9 73.1l9.3 0.8M111.6 81.5l-0.0 10.8M115.9 85.8l10.1 0.6' stroke='%230b3a29' stroke-width='2.1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M-3.7 0.9l4.5 8.2M0.8 2.9l8.4 -1.8M9.9 7.1l3.8 9.3M14.5 9.3l9.1 -2.0M23.5 14.0l3.0 10.4M28.0 16.5l9.8 -2.2M37.0 21.8l2.1 11.4M41.4 24.6l10.6 -2.4M50.3 30.4l3.0 8.0M54.8 33.4l11.3 -2.7M63.6 39.8l2.4 9.0M68.0 43.1l8.6 0.3M76.8 50.1l1.6 10.0M81.2 53.7l9.3 0.2M89.9 61.2l0.7 10.8M94.3 65.0l10.1 0.0M102.9 73.1l-0.4 11.6M107.3 77.2l10.8 -0.2M115.9 85.8l1.3 8.5' stroke='%2317694a' stroke-width='1.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M0.8 2.9l3.9 10.1M5.4 4.9l9.6 -3.0M14.5 9.3l3.0 11.2M19.0 11.6l10.3 -3.3M28.0 16.5l3.6 7.8M32.5 19.1l11.0 -3.6M41.4 24.6l3.0 8.8M45.9 27.4l8.6 -0.3M54.8 33.4l2.3 9.8M59.2 36.6l9.3 -0.5M68.0 43.1l1.4 10.7M72.4 46.6l10.1 -0.6M81.2 53.7l0.4 11.6M85.6 57.4l10.8 -0.9M94.3 65.0l1.8 8.4M98.6 69.0l11.5 -1.1M107.3 77.2l1.1 9.3M111.6 81.5l8.5 1.4' stroke='%233fa678' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M4.6 1.1l4.6 -1.0M23.6 9.1l5.7 -1.8M41.1 20.3l5.1 -0.7M59.8 31.2l6.2 -1.5M77.0 45.3l5.5 -0.4M93.8 60.5l4.7 0.5M112.1 76.1l6.0 -0.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E %3Cpath d='M58 38V47' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='55.6' y='44.4' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='58' cy='58' r='11' fill='url(%23b)'/%3E%3Ccircle cx='54.48' cy='54.26' r='2.42' fill='%23fff' opacity='.75'/%3E%3Cpath d='M104 33.5V42.5' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='101.6' y='39.9' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='104' cy='50' r='7.5' fill='url(%23s)'/%3E%3Ccircle cx='101.6' cy='47.45' r='1.65' fill='%23fff' opacity='.75'/%3E%3Cpath d='M30 59V68' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='27.6' y='65.4' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='30' cy='74' r='6' fill='url(%23r)'/%3E%3Ccircle cx='28.08' cy='71.96' r='1.32' fill='%23fff' opacity='.75'/%3E %3Ccircle cx='40' cy='18' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='40' cy='18' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='92' cy='30' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='92' cy='30' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='128' cy='62' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='128' cy='62' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='62' cy='88' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='62' cy='88' r='2.1' fill='%23fffdf0'/%3E %3C/svg%3E");

  --posada-ink: #081f52;
  --posada-blue: #081f52;
  --posada-navy: var(--nv-night);
  --posada-navy-soft: var(--nv-deep);
  --posada-sky: var(--nv-royal);
  --posada-gold: var(--nv-gold);
  --posada-gold-light: var(--nv-gold-light);
  --posada-berry: var(--nv-red);
  --posada-surface: #ffffff;
  --posada-surface-soft: #eef5ff;
  --posada-muted: #49618a;
  --posada-border: var(--nv-line);
  --posada-shadow: 0 16px 40px rgba(6, 28, 92, .16);
}

/* Escena nocturna detrás de la tarjeta de Posada (header y footer globales intactos). */
@supports selector(body:has(*)) {
  body:has(.posada) {
    background:
      radial-gradient(circle at 12% 18%, rgba(255, 214, 120, .16) 0 60px, transparent 130px),
      radial-gradient(circle at 88% 8%, rgba(94, 162, 255, .26) 0 80px, transparent 190px),
      radial-gradient(circle at 78% 72%, rgba(255, 214, 120, .10) 0 50px, transparent 140px),
      linear-gradient(180deg, #030d2b 0%, #0a2a78 46%, #061a52 100%) fixed;
  }
}

.posada.posada {
  overflow: hidden;
  border: 1px solid rgba(160, 200, 255, .55);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--nv-snow) 0%, var(--nv-ice) 100%);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 26px 70px rgba(1, 8, 32, .55);
}

/* Nieve ambiental: se conserva la animación; copos blancos y azul hielo visibles en claro y oscuro. */
.posada.posada::before,
.posada.posada::after { --posada-decoration-opacity: .34; }
.posada.posada::before {
  background-image:
    radial-gradient(circle at 16px 18px, rgba(255, 255, 255, .95) 0 1.8px, transparent 2.7px),
    radial-gradient(circle at 62px 74px, rgba(143, 189, 245, .9) 0 1.3px, transparent 2.1px),
    radial-gradient(circle at 38px 118px, rgba(255, 255, 255, .75) 0 1.4px, transparent 2.2px);
}
.posada.posada::after {
  opacity: .26;
  background-image:
    radial-gradient(circle at 28px 32px, rgba(255, 255, 255, .9) 0 2.2px, transparent 3.1px),
    radial-gradient(circle at 88px 96px, rgba(143, 189, 245, .8) 0 1.6px, transparent 2.5px);
}

/* Guirnalda superior y banco de nieve inferior (decorativos, sin interacción). */
.posada__garland,
.posada__snowdrift {
  position: relative;
  z-index: 2;
  display: block;
  pointer-events: none;
  user-select: none;
}
.posada__garland {
  height: 62px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 78'%3E%3Cdefs%3E %3CradialGradient id='l'%3E%3Cstop offset='0' stop-color='%23fffbe6'/%3E%3Cstop offset='.3' stop-color='%23ffd978' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23ffb53d' stop-opacity='0'/%3E%3C/radialGradient%3E %3CradialGradient id='b' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23b9d8ff'/%3E%3Cstop offset='.45' stop-color='%232466dc'/%3E%3Cstop offset='1' stop-color='%23071f6b'/%3E%3C/radialGradient%3E %3CradialGradient id='s' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.55' stop-color='%23cfdcf0'/%3E%3Cstop offset='1' stop-color='%238ea6c9'/%3E%3C/radialGradient%3E %3CradialGradient id='r' cx='.34' cy='.3' r='.8'%3E%3Cstop offset='0' stop-color='%23ff9aa5'/%3E%3Cstop offset='.5' stop-color='%23c8102e'/%3E%3Cstop offset='1' stop-color='%236d0717'/%3E%3C/radialGradient%3E %3C/defs%3E %3Cpath d='M0 9 Q80 62 160 9' stroke='%233b2a16' stroke-width='1.6' fill='none'/%3E%3Cpath d='M2.7 10.7l7.8 -0.4M13.3 17.1l3.0 8.7M18.7 19.9l8.3 -1.7M29.3 24.9l3.7 9.1M34.7 27.0l8.5 -3.3M45.3 30.5l4.5 9.5M50.7 31.9l8.4 -5.1M61.3 34.1l5.6 5.4M66.7 34.8l7.8 -7.0M77.3 35.5l6.5 5.5M82.7 35.5l6.2 -4.7M93.3 34.8l7.4 5.3M98.7 34.1l5.7 -6.3M109.3 31.9l8.4 5.1M114.7 30.5l4.9 -7.8M125.3 27.0l9.3 4.9M130.7 24.9l3.7 -9.1M141.3 19.9l7.7 1.2M146.7 17.1l2.3 -10.3M157.3 10.7l8.4 0.9' stroke='%230b3a29' stroke-width='2.1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M2.7 10.7l2.1 9.6M8.0 14.0l9.0 -1.8M18.7 19.9l2.7 10.2M24.0 22.5l9.2 -3.4M34.7 27.0l4.4 6.5M40.0 28.9l9.1 -5.3M50.7 31.9l5.2 6.7M56.0 33.1l7.1 -3.2M66.7 34.8l6.1 6.8M72.0 35.2l7.0 -4.9M82.7 35.5l7.1 6.8M88.0 35.2l6.4 -6.6M98.7 34.1l8.1 6.7M104.0 33.1l5.4 -8.2M114.7 30.5l7.4 2.6M120.0 28.9l4.2 -9.7M130.7 24.9l8.2 2.3M136.0 22.5l3.9 -6.8M146.7 17.1l8.9 2.1M152.0 14.0l3.0 -7.9' stroke='%2317694a' stroke-width='1.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M8.0 14.0l3.1 7.1M13.3 17.1l9.9 -3.5M24.0 22.5l3.8 7.6M29.3 24.9l7.6 -1.7M40.0 28.9l4.5 8.0M45.3 30.5l7.8 -3.3M56.0 33.1l5.4 8.2M61.3 34.1l7.7 -5.0M72.0 35.2l6.5 8.3M77.3 35.5l7.1 -6.8M88.0 35.2l6.6 4.1M93.3 34.8l6.1 -8.6M104.0 33.1l7.5 3.9M109.3 31.9l5.1 -5.9M120.0 28.9l8.4 3.7M125.3 27.0l4.3 -7.3M136.0 22.5l9.2 3.4M141.3 19.9l3.3 -8.5M152.0 14.0l10.0 3.2M157.3 10.7l2.1 -9.6' stroke='%233fa678' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12.0 12.2l4.9 -1.0M32.8 23.1l4.2 -0.9M54.4 28.6l4.6 -2.8M75.1 32.0l3.8 -2.7M96.1 29.9l3.3 -4.7M116.9 26.0l2.7 -4.3M137.7 18.5l2.1 -3.7M158.3 5.4l1.1 -5.3' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M160 9 Q240 62 320 9' stroke='%233b2a16' stroke-width='1.6' fill='none'/%3E%3Cpath d='M162.7 10.7l9.0 -1.5M173.3 17.1l2.3 10.3M178.7 19.9l9.3 -3.1M189.3 24.9l4.1 6.6M194.7 27.0l9.3 -4.9M205.3 30.5l4.9 6.9M210.7 31.9l7.2 -2.9M221.3 34.1l5.8 7.1M226.7 34.8l7.2 -4.5M237.3 35.5l6.8 7.1M242.7 35.5l6.7 -6.3M253.3 34.8l7.8 7.0M258.7 34.1l5.8 -8.0M269.3 31.9l7.2 2.9M274.7 30.5l4.5 -9.5M285.3 27.0l8.1 2.6M290.7 24.9l4.1 -6.6M301.3 19.9l8.8 2.4M306.7 17.1l3.2 -7.8M317.3 10.7l9.6 2.1' stroke='%230b3a29' stroke-width='2.1' stroke-linecap='round' fill='none'/%3E%3Cpath d='M162.7 10.7l2.9 7.2M168.0 14.0l10.0 -3.2M178.7 19.9l3.5 7.7M184.0 22.5l7.7 -1.4M194.7 27.0l4.2 8.1M200.0 28.9l7.9 -3.0M210.7 31.9l5.1 8.4M216.0 33.1l7.9 -4.7M226.7 34.8l6.1 8.6M232.0 35.2l7.4 -6.5M242.7 35.5l6.4 4.4M248.0 35.2l6.5 -8.3M258.7 34.1l7.3 4.2M264.0 33.1l5.3 -5.7M274.7 30.5l8.2 4.0M280.0 28.9l4.6 -7.1M290.7 24.9l9.1 3.7M296.0 22.5l3.6 -8.4M306.7 17.1l9.9 3.5M312.0 14.0l2.4 -9.5' stroke='%2317694a' stroke-width='1.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M168.0 14.0l2.7 8.7M173.3 17.1l8.4 -1.4M184.0 22.5l3.4 9.2M189.3 24.9l8.7 -3.0M200.0 28.9l4.2 9.7M205.3 30.5l8.6 -4.8M216.0 33.1l5.3 5.7M221.3 34.1l8.1 -6.7M232.0 35.2l6.2 5.7M237.3 35.5l6.4 -4.4M248.0 35.2l7.2 5.7M253.3 34.8l6.0 -6.0M264.0 33.1l8.2 5.5M269.3 31.9l5.2 -7.6M280.0 28.9l9.1 5.3M285.3 27.0l4.0 -9.0M296.0 22.5l7.7 1.4M301.3 19.9l2.7 -10.2M312.0 14.0l8.4 1.2M317.3 10.7l2.9 -7.2' stroke='%233fa678' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M172.5 11.6l5.5 -1.7M193.2 22.5l4.8 -1.7M213.9 29.6l4.0 -1.6M235.3 31.3l4.1 -3.6M256.0 31.1l3.3 -3.3M276.7 25.3l2.5 -5.2M297.6 17.7l2.0 -4.6M318.6 6.5l1.6 -4.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E %3Cpath d='M80 38V47' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='77.6' y='44.4' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='80' cy='56' r='9' fill='url(%23b)'/%3E%3Ccircle cx='77.12' cy='52.94' r='1.98' fill='%23fff' opacity='.75'/%3E%3Cpath d='M240 38V47' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='237.6' y='44.4' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='240' cy='54' r='7' fill='url(%23s)'/%3E%3Ccircle cx='237.76' cy='51.62' r='1.54' fill='%23fff' opacity='.75'/%3E%3Cpath d='M160 12.5V21.5' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='157.6' y='18.9' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='160' cy='27' r='5.5' fill='url(%23r)'/%3E%3Ccircle cx='158.24' cy='25.13' r='1.21' fill='%23fff' opacity='.75'/%3E%3Cpath d='M0 12.5V21.5' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='-2.4' y='18.9' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='0' cy='27' r='5.5' fill='url(%23b)'/%3E%3Ccircle cx='-1.76' cy='25.13' r='1.21' fill='%23fff' opacity='.75'/%3E%3Cpath d='M320 12.5V21.5' stroke='%23d9e6fb' stroke-width='1'/%3E%3Crect x='317.6' y='18.9' width='4.8' height='3.4' rx='1' fill='%23e9c46a'/%3E%3Ccircle cx='320' cy='27' r='5.5' fill='url(%23b)'/%3E%3Ccircle cx='318.24' cy='25.13' r='1.21' fill='%23fff' opacity='.75'/%3E %3Ccircle cx='24' cy='22' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='24' cy='22' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='56' cy='32' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='56' cy='32' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='104' cy='32' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='104' cy='32' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='136' cy='22' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='136' cy='22' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='184' cy='22' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='184' cy='22' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='216' cy='32' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='216' cy='32' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='264' cy='32' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='264' cy='32' r='2.1' fill='%23fffdf0'/%3E%3Ccircle cx='296' cy='22' r='8.5' fill='url(%23l)'/%3E%3Ccircle cx='296' cy='22' r='2.1' fill='%23fffdf0'/%3E %3C/svg%3E") repeat-x center top / 252px 62px,
    radial-gradient(circle at 20% 0, rgba(94, 162, 255, .35), transparent 55%),
    linear-gradient(180deg, #020a26 0%, var(--nv-night) 100%);
}
.posada__snowdrift {
  height: 70px;
  margin-top: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 90'%3E %3Cg fill='%230f4a36'%3E%3Cpath d='M38 70 52 30l14 40z'/%3E%3Cpath d='M42 52 52 22l10 30z'/%3E%3Cpath d='M398 66l16-46 16 46z'/%3E%3Cpath d='M403 44l11-32 11 32z'/%3E%3Cpath d='M446 72l10-30 10 30z'/%3E%3C/g%3E %3Cg fill='%23ffffff'%3E%3Cpath d='M47 36l5-14 5 14-5-3z'/%3E%3Cpath d='M409 26l5-14 5 14-5-3z'/%3E%3Cpath d='M452 50l4-8 4 8-4-2z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center bottom / 100% 100%,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 90' preserveAspectRatio='none'%3E %3Cpath fill='%23dbe9ff' d='M0 52C60 22 110 30 170 46S290 24 350 40s90 4 130-8v58H0Z'/%3E %3Cpath fill='%23ffffff' d='M0 66C70 38 130 50 200 62s130-22 190-10 60 6 90-4v42H0Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%,
    linear-gradient(180deg, var(--nv-deep) 0%, var(--nv-night) 100%);
}

/* ---------- Tipografía y títulos ---------- */
.posada.posada h2,
.posada.posada h3 { color: var(--posada-ink); }
.posada .posada__eyebrow {
  color: var(--nv-royal);
  letter-spacing: .2em;
}
.posada .posada__section-heading::before,
.posada .posada__schedule-heading::before {
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%232466dc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M24 4v40M6.7 14l34.6 20M6.7 34l34.6-20M24 4l-5 6m5-6 5 6M24 44l-5-6m5 6 5-6M6.7 14l7.6.9M6.7 14l3 7M41.3 34l-7.6-.9m7.6.9-3-7M6.7 34l3-7m-3 7 7.6-.9M41.3 14l-3 7m3-7-7.6.9'/%3E%3Ccircle cx='24' cy='24' r='4.2' fill='%23ffffff'/%3E%3C/svg%3E");
}
.posada .posada__section-heading::after,
.posada .posada__schedule-heading::after {
  background: linear-gradient(90deg, var(--nv-royal), var(--nv-glow) 60%, transparent);
}

/* ---------- Paneles oscuros: noche azul con nieve encima ---------- */
.posada .posada__hero,
.posada .posada__hero-media { background: var(--nv-night); }
.posada .posada__hero-media img { background: var(--nv-night); }
.posada .posada__hero-media::after { background: linear-gradient(180deg, transparent, rgba(4, 18, 58, .7)); }

.posada.posada .posada__hero .posada__hero-content,
.posada.posada > .posada__availability,
.posada.posada .posada__page-heading,
.posada.posada .posada__admin-heading,
.posada.posada .posada__mobile-hero,
.posada.posada .posada-rifa__stage {
  position: relative;
  border: 0;
  border-top: 0;
  color: #fff;
  background:
    var(--nv-sprig) no-repeat left -14px top -12px / 124px auto,
    radial-gradient(circle at 92% 12%, rgba(255, 214, 120, .20) 0 18px, transparent 90px),
    radial-gradient(circle at 78% 96%, rgba(94, 162, 255, .42), transparent 46%),
    linear-gradient(135deg, var(--nv-night) 0%, var(--nv-deep) 58%, #0b318f 100%);
}
.posada.posada .posada__hero .posada__hero-content,
.posada.posada .posada__page-heading,
.posada.posada .posada__admin-heading,
.posada.posada .posada__mobile-hero,
.posada.posada > .posada__availability { padding-top: clamp(4.1rem, 10vw, 4.6rem); }

/* Nieve acumulada en el borde superior de cada panel oscuro. */
.posada.posada > .posada__availability::before,
.posada.posada .posada__hero .posada__hero-content::before,
.posada.posada .posada-rifa__stage::before {
  position: absolute;
  inset: -1px 0 auto 0;
  z-index: 3;
  height: 16px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 18' preserveAspectRatio='none'%3E %3Cpath fill='%23ffffff' d='M0 0H96V7C91 6 89 14 83 14S76 6 70 7 63 17 55 14 49 6 42 7 36 15 29 14 22 6 15 7 7 13 0 7Z'/%3E %3Cpath fill='%23dbe9ff' opacity='.7' d='M0 7C7 13 9 7 15 7S22 14 29 14 37 7 42 7 49 13 55 14 64 7 70 7 77 14 83 14 91 6 96 7V8C91 8 89 16 83 16S76 8 70 9 63 19 55 16 49 8 42 9 36 17 29 16 22 8 15 9 7 15 0 9Z'/%3E %3C/svg%3E") repeat-x left top / 96px 16px;
  content: "";
}

.posada.posada .posada__hero .posada__eyebrow,
.posada.posada .posada__hero .posada__session-label,
.posada.posada > .posada__availability .posada__eyebrow,
.posada.posada .posada__page-heading .posada__eyebrow,
.posada.posada .posada__admin-heading .posada__eyebrow,
.posada.posada .posada__mobile-hero .posada__eyebrow { color: var(--nv-gold-light); }

.posada.posada .posada__hero-title,
.posada.posada > .posada__availability h2,
.posada.posada .posada__page-heading h2,
.posada.posada .posada__admin-heading h2,
.posada.posada .posada__mobile-hero h2 {
  color: #fff;
  text-shadow: 0 0 22px rgba(94, 162, 255, .65);
}
.posada.posada .posada__hero .posada__lead,
.posada.posada > .posada__availability p,
.posada.posada .posada__page-heading p,
.posada.posada .posada__admin-heading p,
.posada.posada .posada__mobile-hero p { color: rgba(232, 242, 255, .92); }
.posada.posada > .posada__availability .posada__text-link { color: var(--nv-gold-light); }

.posada.posada .posada__hero .posada__session {
  border: 1px solid rgba(160, 200, 255, .45);
  border-radius: 18px;
  background: rgba(3, 12, 44, .55);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 0 26px rgba(94, 162, 255, .22);
}

.posada.posada .posada__metrics div {
  border: 1px solid rgba(160, 200, 255, .4);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
}
.posada.posada .posada__metrics span { color: rgba(232, 242, 255, .82); }
.posada.posada .posada__metrics strong { color: #fff; text-shadow: 0 0 18px rgba(94, 162, 255, .8); }

/* ---------- Secciones claras: nieve y azul hielo ---------- */
.posada.posada > .posada__section {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%237fb2f5' stroke-width='2' stroke-linecap='round' opacity='.055'%3E %3Cpath d='M48 8v80M13.4 28l69.2 40M13.4 68l69.2-40M48 8l-6 9m6-9 6 9M48 88l-6-9m6 9 6-9M13.4 28l10 1m-10-1 3 10M82.6 68l-10-1m10 1-3-10M13.4 68l3-10m-3 10 10-1M82.6 28l-3 10m3-10-10 1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 132px 132px,
    linear-gradient(180deg, var(--nv-snow) 0%, var(--nv-ice) 100%);
}
.posada.posada > .posada__section + .posada__section { border-top: 1px solid var(--nv-line); }

/* Barra de datos del evento (fecha · lugar · costo), como en la referencia. */
.posada.posada .posada__info-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(160, 200, 255, .5);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--nv-night), var(--nv-deep));
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .16), var(--posada-shadow);
}
.posada.posada .posada__info-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}
.posada.posada .posada__info-card + .posada__info-card { border-top: 1px solid rgba(160, 200, 255, .28); }
.posada.posada .posada__info-card .posada__icon { color: #fff; stroke: #fff; filter: drop-shadow(0 0 8px rgba(94, 162, 255, .9)); }
.posada.posada .posada__info-card span { color: var(--nv-gold-light); letter-spacing: .14em; }
.posada.posada .posada__info-card strong { color: #fff; }
.posada.posada .posada__info-card small { color: rgba(232, 242, 255, .88); }
@media (min-width: 720px) {
  .posada.posada .posada__info-card + .posada__info-card { border-top: 0; border-left: 1px solid rgba(160, 200, 255, .28); }
}

/* Tarjetas claras. */
.posada.posada .posada__feature-card,
.posada.posada .posada__admin-card,
.posada.posada .posada__includes,
.posada.posada .posada__card,
.posada.posada .posada__empty-state,
.posada.posada .posada__setup-card,
.posada.posada .posada__payment-context,
.posada.posada .posada__payment-section,
.posada.posada .posada__qr-sheet,
.posada.posada .posada__qr-controls > div,
.posada.posada .posada__my-table,
.posada.posada .posada__mobile-link,
.posada.posada .posada__timeline-item article,
.posada.posada .posada__form fieldset,
.posada.posada .posada__tables-admin,
.posada.posada .posada-admin-rifa__bar,
.posada.posada .posada-admin-rifa__fieldset,
.posada.posada .posada-admin-rifa__list-actions {
  border: 1px solid var(--nv-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 28, 92, .10);
}
.posada.posada .posada__feature-card--link:hover,
.posada.posada .posada__admin-card:hover,
.posada.posada .posada__mobile-link:hover {
  border-color: var(--nv-glow);
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .22), 0 16px 34px rgba(6, 28, 92, .18);
}

/* Insignias circulares con nieve, como los iconos de la referencia. */
.posada.posada .posada__feature-icon {
  position: relative;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 32% 26%, #2f6fe6, var(--nv-deep) 62%, var(--nv-night));
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .28), 0 8px 18px rgba(6, 28, 92, .32);
}
.posada.posada .posada__feature-icon svg { stroke: #fff; color: #fff; }
.posada.posada .posada__feature-icon::before {
  position: absolute;
  inset: -4px 20% auto 20%;
  height: 8px;
  border-radius: 10px 10px 5px 5px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(188, 211, 245, .9);
  content: "";
}
.posada.posada .posada__status {
  border-radius: 999px;
  color: var(--nv-royal);
  background: var(--nv-ice);
  border: 1px solid var(--nv-line);
}

/* ---------- Botones píldora con halo azul ---------- */
.posada.posada .posada__button:not(.posada__button--secondary):not(.posada__button--ghost):not(.posada__button--danger):not(.posada__button--warning):not(.posada__button--success),
.posada.posada .posada__login-link,
.posada.posada .pm-button--primary,
.posada.posada .pm-nav a[aria-current="page"] {
  min-height: 46px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #2a6cf0 0%, #0d3aa8 100%);
  box-shadow: 0 0 0 2px rgba(94, 162, 255, .5), 0 0 20px rgba(60, 130, 255, .55);
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(3, 12, 44, .45);
}
.posada.posada .posada__button:not(.posada__button--secondary):not(.posada__button--ghost):not(.posada__button--danger):not(.posada__button--warning):not(.posada__button--success):hover,
.posada.posada .posada__login-link:hover,
.posada.posada .pm-button--primary:hover {
  background: linear-gradient(180deg, #3d7df8 0%, #1247c4 100%);
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .65), 0 0 28px rgba(60, 130, 255, .75);
}
.posada.posada .posada__button--secondary,
.posada.posada .posada__button--ghost,
.posada.posada .pm-button,
.posada.posada .pm-nav a {
  min-height: 46px;
  border: 2px solid var(--nv-royal);
  border-radius: 999px;
  color: var(--nv-deep);
  background: #fff;
  box-shadow: 0 4px 12px rgba(6, 28, 92, .10);
  text-shadow: none;
}
.posada.posada .posada__page-heading .posada__button--secondary,
.posada.posada .posada__admin-heading .posada__button--secondary,
.posada.posada .posada__admin-heading .posada__button--ghost,
.posada.posada .posada__page-heading .posada__button--ghost {
  border-color: rgba(255, 255, 255, .92);
  color: #fff;
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 0 18px rgba(94, 162, 255, .35);
}
.posada.posada .posada__button--danger {
  border-color: #fff;
  color: #fff;
  background: linear-gradient(180deg, #d9263f, #8d0c20);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, .35);
}
.posada.posada .posada__button:disabled,
.posada.posada .pm-button:disabled { box-shadow: none; filter: saturate(.6); }
.posada.posada :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--nv-gold);
  outline-offset: 3px;
}

/* Superficies heredadas en crema → nieve / azul hielo. */
.posada.posada .posada__admin-grid,
.posada.posada .posada__admin-split,
.posada.posada .posada__qr-admin,
.posada.posada .posada__event-tabs,
.posada.posada .posada__mobile-menu,
.posada.posada .posada__mobile-session,
.posada.posada .posada-rifa,
.posada.posada .posada__table-dialog { background: var(--nv-snow); }
.posada.posada .posada__check {
  border: 1px solid var(--nv-line);
  border-radius: 14px;
  background: var(--nv-ice);
}
.posada.posada .posada__mobile-link-icon { border-color: var(--nv-line); border-radius: 50%; background: var(--nv-ice); color: var(--nv-royal); }
.posada.posada .posada__mobile-link-status { color: var(--nv-royal); background: var(--nv-ice); }
.posada.posada .posada__button--warning {
  border: 2px solid #fff;
  border-radius: 999px;
  color: #3b2a00;
  background: linear-gradient(180deg, var(--nv-gold-light), var(--nv-gold));
  box-shadow: 0 0 0 2px rgba(233, 196, 106, .45);
}

/* ---------- Formularios y tablas ---------- */
.posada.posada :is(input[type="text"], input[type="search"], input[type="number"], input[type="url"], input[type="email"], input[type="date"], input[type="time"], select, textarea) {
  border: 1.5px solid var(--nv-line);
  border-radius: 12px;
  background: #fff;
  color: var(--posada-ink);
}
.posada.posada select { min-height: 44px; max-width: 100%; padding: .5rem .75rem; font: inherit; }
.posada.posada :is(input, select, textarea):focus {
  border-color: var(--nv-royal);
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .3);
}
.posada.posada .posada__notice {
  border: 1px solid var(--nv-line);
  border-left: 4px solid var(--nv-royal);
  border-radius: 14px;
  background: var(--nv-ice);
}
.posada.posada .posada__table-wrapper {
  border: 1px solid var(--nv-line);
  border-radius: 16px;
  background: #fff;
}
.posada.posada .posada__table th {
  color: #fff;
  background: linear-gradient(180deg, var(--nv-deep), var(--nv-night));
}
.posada.posada .posada__table td { border-color: #dbe7fa; }
.posada.posada .posada__payment-metrics > div,
.posada.posada .posada__map-metrics > div {
  border: 1px solid var(--nv-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--nv-ice));
}
.posada.posada .posada__map-metrics > div { min-width: 0; padding-inline: .5rem; text-align: center; }
.posada.posada .posada__map-metrics strong { display: block; font-size: clamp(1.35rem, 6.4vw, 2rem); color: var(--nv-deep); }
.posada.posada .posada__event-tabs a {
  border: 1.5px solid var(--nv-line);
  border-radius: 999px;
  color: var(--nv-deep);
  background: #fff;
}
.posada.posada .posada__event-tabs a[aria-current="page"] {
  border-color: #fff;
  color: #fff;
  background: linear-gradient(180deg, #2a6cf0, #0d3aa8);
  box-shadow: 0 0 0 2px rgba(94, 162, 255, .45);
}

/* ---------- Programa ---------- */
.posada.posada .posada__timeline {
  border: 1px solid rgba(160, 200, 255, .5);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 214, 120, .16), transparent 32%),
    linear-gradient(160deg, var(--nv-night), var(--nv-deep));
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .16), var(--posada-shadow);
}
.posada.posada .posada__timeline-time span { color: rgba(232, 242, 255, .85); }
.posada.posada .posada__timeline-item::before {
  border: 3px solid #fff;
  background: radial-gradient(circle at 34% 30%, #b9d8ff, #2466dc 50%, #071f6b);
  box-shadow: 0 0 0 3px rgba(94, 162, 255, .35), 0 0 14px rgba(255, 214, 120, .7);
}
.posada.posada .posada__timeline-time { color: var(--nv-gold-light); }

/* ---------- Croquis: marco de noche; los colores de mesa y sillas no se tocan ---------- */
.posada.posada .posada__map-app {
  border: 1px solid var(--nv-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, var(--nv-ice));
}
.posada.posada .posada__room {
  border: 2px solid rgba(160, 200, 255, .6);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 4%, rgba(255, 214, 120, .16), transparent 30%),
    linear-gradient(180deg, var(--nv-night), var(--nv-deep));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .05), 0 14px 34px rgba(6, 28, 92, .28);
}
.posada.posada .posada__room-zone {
  border: 1px dashed rgba(255, 231, 171, .7);
  border-radius: 12px;
  color: var(--nv-gold-light);
  background: rgba(255, 255, 255, .07);
}
.posada.posada .posada__table-dialog { border: 1px solid var(--nv-line); border-radius: 20px; }
.posada.posada .posada__table-dialog > header {
  color: #fff;
  background: linear-gradient(135deg, var(--nv-night), var(--nv-deep));
}
.posada.posada .posada__table-dialog > header :is(h2, h3, p, span) { color: #fff; }

/* ---------- Rifa y proyector ---------- */
.posada.posada .posada-rifa__stage { border-radius: 22px; box-shadow: 0 0 0 3px rgba(94, 162, 255, .25), 0 18px 44px rgba(1, 8, 32, .45); }
.posada.posada .posada-rifa__winner-podium {
  border: 2px solid rgba(255, 231, 171, .8);
  border-radius: 20px;
  background: rgba(3, 12, 44, .6);
  box-shadow: 0 0 34px rgba(255, 214, 120, .45);
}
.posada.posada .posada-rifa__meta-count strong { color: var(--nv-royal); }
.posada.posada.posada-rifa--pantalla,
.posada .posada-rifa--pantalla {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 214, 120, .18), transparent 30%),
    radial-gradient(circle at 86% 90%, rgba(94, 162, 255, .35), transparent 42%),
    linear-gradient(160deg, #020a26, var(--nv-deep));
}

/* Texto siempre claro dentro de superficies de noche. */
.posada.posada .posada-rifa--pantalla :is(h1, h2, h3, h4),
.posada.posada .posada-rifa__stage :is(h1, h2, h3, h4),
.posada.posada .posada__timeline > :is(h2, h3),
.posada.posada .posada__room :is(h2, h3) { color: #fff; }
.posada.posada .posada-rifa--pantalla { color: rgba(232, 242, 255, .92); }
.posada.posada .posada-rifa--pantalla > header { flex-wrap: wrap; gap: .75rem; }

/* ---------- Media (galería, subida, detalle y administración) dentro del mismo lenguaje ---------- */
.posada .posada-media {
  --pm-blue: var(--nv-deep);
  --pm-main: var(--nv-royal);
  --pm-ink: #081f52;
  --pm-muted: #49618a;
  --pm-line: var(--nv-line);
  max-width: none;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--posada-body-font);
}
.posada .posada-media::before,
.posada .posada-media::after { content: none; }
.posada .posada-media .pm-nav {
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2.5rem)) 1.5rem;
  padding: 4.1rem clamp(1rem, 4vw, 2.5rem) 1.25rem;
  border-radius: 0;
  background:
    var(--nv-sprig) no-repeat left -14px top -12px / 124px auto,
    radial-gradient(circle at 80% 110%, rgba(94, 162, 255, .42), transparent 46%),
    linear-gradient(135deg, var(--nv-night) 0%, var(--nv-deep) 62%, #0b318f 100%);
}
.posada.posada .posada-media .pm-nav a {
  border-color: rgba(255, 255, 255, .85);
  color: #fff;
  background: rgba(255, 255, 255, .10);
  box-shadow: none;
}
.posada.posada .posada-media .pm-nav a[aria-current="page"] {
  background: linear-gradient(180deg, #2a6cf0, #0d3aa8);
  box-shadow: 0 0 0 2px rgba(94, 162, 255, .5), 0 0 18px rgba(60, 130, 255, .55);
}
.posada .posada-media h1 {
  color: var(--posada-ink);
  font-family: var(--posada-heading-font);
}
.posada .posada-media h1::before {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: .5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%232466dc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M24 4v40M6.7 14l34.6 20M6.7 34l34.6-20M24 4l-5 6m5-6 5 6M24 44l-5-6m5 6 5-6M6.7 14l7.6.9M6.7 14l3 7M41.3 34l-7.6-.9m7.6.9-3-7M6.7 34l3-7m-3 7 7.6-.9M41.3 14l-3 7m3-7-7.6.9'/%3E%3Ccircle cx='24' cy='24' r='4.2' fill='%23ffffff'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}
.posada .posada-media .pm-lead,
.posada .posada-media .pm-help { color: var(--posada-muted); }
.posada .posada-media .pm-upload,
.posada .posada-media .pm-upload-row {
  border: 1px solid var(--nv-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 28, 92, .10);
}
.posada .posada-media .pm-upload-row { border-radius: 14px; box-shadow: none; background: var(--nv-snow); }
.posada .posada-media progress { accent-color: var(--nv-royal); }
/* Fotos como recuerdos enmarcados en blanco, igual que la tira de la referencia. */
.posada .posada-media .pm-card {
  padding: 6px 6px 0;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 28, 92, .22);
}
.posada .posada-media .pm-card img { border-radius: 3px; }
.posada .posada-media .pm-card__type {
  border: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
  background: linear-gradient(180deg, #2a6cf0, #0d3aa8);
}
.posada .posada-media.pm-view > img {
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(6, 28, 92, .28);
}
.posada .posada-media .pm-admin-table th {
  color: #fff;
  background: linear-gradient(180deg, var(--nv-deep), var(--nv-night));
}
.posada .posada-media .pm-admin-table td { border-color: #dbe7fa; background: #fff; }
.posada .posada-media .pm-admin-table button {
  min-height: 40px;
  margin: 2px;
  padding: 6px 12px;
  border: 1.5px solid var(--nv-royal);
  border-radius: 999px;
  color: var(--nv-deep);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Administración de media: formulario cómodo y tabla desplazable sin desbordar la página. */
.posada .posada-media #pm-access-form { display: grid; gap: .85rem; margin-top: .75rem; }
.posada .posada-media #pm-access-form label { display: grid; gap: .3rem; font-weight: 700; color: var(--posada-ink); }
.posada .posada-media #pm-access-form :is(input, select) {
  width: 100%;
  min-height: 46px;
  padding: .55rem .8rem;
  border: 1.5px solid var(--nv-line);
  border-radius: 12px;
  background: #fff;
  color: var(--posada-ink);
  font: inherit;
  font-weight: 500;
}
.posada .posada-media .pm-admin-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--nv-line);
  border-radius: 16px;
  background: #fff;
}
.posada .posada-media section > h2 { margin: 1.5rem 0 .6rem; color: var(--posada-ink); font-family: var(--posada-heading-font); }
.posada .posada-media input[type="file"] { max-width: 100%; min-height: 46px; font: inherit; }
.posada .posada-media input[type="file"]::file-selector-button {
  min-height: 44px;
  margin-right: .7rem;
  padding: .5rem 1rem;
  border: 2px solid var(--nv-royal);
  border-radius: 999px;
  color: var(--nv-deep);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Administración de mesas: resumen (Mesas · Lugares · Ocupados · Disponibles).
   Cuatro tarjetas de la misma altura con una estructura única: rótulo arriba y
   cifra abajo, ambos centrados. Se anulan los márgenes por defecto de dt/dd
   (el dd trae 40px a la izquierda), que eran la causa del desajuste. */
.posada.posada .posada__map-metrics--admin {
  display: grid;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: .6rem;
}
.posada.posada .posada__map-metrics--admin > div {
  display: grid;
  grid-template-rows: 1.1rem auto;
  row-gap: .3rem;
  align-content: center;
  justify-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 5.25rem;
  padding: .85rem .5rem;
  text-align: center;
}
.posada.posada .posada__map-metrics--admin :is(dt, dd) {
  margin: 0;
  padding: 0;
  max-width: 100%;
  text-align: center;
}
.posada.posada .posada__map-metrics--admin dt { align-self: end; line-height: 1.1rem; white-space: nowrap; }
.posada.posada .posada__map-metrics--admin dd {
  align-self: start;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--nv-deep);
}

/* Croquis: un solo juego de columnas para todo el salón — columna izquierda | pasillo | columna
   derecha — compartido por las filas de mesas, la franja superior (DJ + estación) y la inferior
   (Entrada + estación). El pasillo central (pista de baile) tiene un ancho fijo por tamaño de
   pantalla (--croquis-pasillo) y las dos columnas de mesas se reparten el resto por igual, así
   las mesas 1–2 y 25–24 siguen alineadas. */
.posada.posada .posada__room {
  --croquis-pasillo: clamp(3.25rem, 17vw, 5rem);
  --croquis-gap: .3rem;
  --croquis-pad-y: .75rem;
  padding: var(--croquis-pad-y) .3rem;
}
@media (max-width: 639px) {
  /* Se recupera ancho del contenedor para que el pasillo crezca sin encoger tanto las mesas. */
  .posada.posada .posada__map-app { padding-inline: .3rem; }
  /* Tarjetas compactas: centro de mesa un poco más chico y círculos 5 + 5. */
  .posada.posada .posada__map-table .posada__map-table-flor { right: .3rem; bottom: .3rem; width: 20px; height: 20px; }
  .posada.posada .posada__map-table .posada__map-table-seats { padding-right: 22px; }
}
@media (max-width: 359px) {
  .posada.posada .posada__map-table .posada__map-table-flor { width: 16px; height: 16px; right: .25rem; bottom: .25rem; }
  .posada.posada .posada__map-table .posada__map-table-seats { grid-template-columns: repeat(5, 10px); gap: 3px; padding-right: 17px; }
  .posada.posada .posada__map-table .posada__map-table-seats i { width: 10px; height: 10px; }
}
@media (min-width: 640px) {
  .posada.posada .posada__room {
    --croquis-pasillo: clamp(7rem, 20vw, 16rem);
    --croquis-gap: .75rem;
    --croquis-pad-y: 1.5rem;
    padding: var(--croquis-pad-y) 1.5rem;
  }
}
.posada.posada :is(.posada__map-row, .posada__room-top, .posada__room-bottom) {
  grid-template-columns: minmax(0, 1fr) var(--croquis-pasillo) minmax(0, 1fr);
  gap: var(--croquis-gap);
}
.posada.posada :is(.posada__room-top, .posada__room-bottom) { align-items: stretch; }
/* Pista de baile: franja continua del ancho del pasillo detrás de todas las filas de mesas. */
.posada.posada .posada__table-grid {
  --croquis-pista-a: calc(50% - var(--croquis-pasillo) / 2);
  --croquis-pista-b: calc(50% + var(--croquis-pasillo) / 2);
  background:
    linear-gradient(90deg,
      transparent var(--croquis-pista-a),
      rgba(255, 231, 171, .32) var(--croquis-pista-a), rgba(255, 231, 171, .32) calc(var(--croquis-pista-a) + 1px),
      rgba(255, 231, 171, .07) calc(var(--croquis-pista-a) + 1px), rgba(255, 231, 171, .07) calc(var(--croquis-pista-b) - 1px),
      rgba(255, 231, 171, .32) calc(var(--croquis-pista-b) - 1px), rgba(255, 231, 171, .32) var(--croquis-pista-b),
      transparent var(--croquis-pista-b));
}
.posada.posada .posada__map-aisle { color: rgba(255, 231, 171, .55); }
/* DJ: arriba del pasillo, centrado y del mismo ancho que el pasillo. */
.posada.posada .posada__room-zone--dj {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding-inline: .2rem;
  font-size: clamp(.7rem, 2.6vw, .95rem);
}
/* Entrada: abajo a la izquierda, pegada al borde izquierdo de la columna y casi al borde inferior. */
.posada.posada .posada__room-zone--entrance {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  width: min(100%, 11rem);
  min-height: 40px;
  margin-bottom: calc(.4rem - var(--croquis-pad-y));
}
.posada.posada :is(.posada__room-zone--kitchen, .posada__room-zone--food-bottom) { grid-column: 3; grid-row: 1; }
.posada.posada .posada__room-zone--food {
  flex-direction: column;
  gap: .35rem;
  width: 100%;
  min-width: 0;
  min-height: var(--posada-mesa-alto, 86px);
  padding: .6rem .5rem;
  border: 2px dashed rgba(255, 231, 171, .85);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 214, 120, .2), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 18px rgba(255, 214, 120, .14);
  color: var(--nv-gold-light);
  font-size: .8rem;
  letter-spacing: .06em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
/* La intermedia se estira con su fila (misma altura que la mesa 13); de ella se mide la altura. */
.posada.posada .posada__room-zone--food-middle { min-height: 0; }
.posada.posada .posada__room-zone--food::before {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23ffe7ab' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='7.5'/%3E%3Ccircle cx='16' cy='16' r='4' opacity='.55'/%3E%3Cpath d='M4 5v6a2 2 0 0 0 2 2v14M6 5v5M8 5v6a2 2 0 0 1-2 2'/%3E%3Cpath d='M27 27V5c-2 1.5-3 4-3 8h3'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 639px) {
  .posada.posada .posada__room-zone--food { font-size: .66rem; letter-spacing: .04em; padding: .5rem .3rem; }
  .posada.posada .posada__room-zone--food::before { width: 26px; height: 26px; }
}

/* Croquis: centro de mesa decorativo (nochebuena) abajo a la derecha de cada mesa.
   Los círculos de lugares le reservan su espacio; el punto de «mesa llena» sigue arriba. */
.posada.posada .posada__map-table { position: relative; }
.posada.posada .posada__map-table-flor {
  position: absolute;
  right: .4rem;
  bottom: .35rem;
  width: 24px;
  height: 24px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 20 Q26 11 20 4 Q14 11 20 20Z' fill='%231d6b4a' transform='rotate(30 20 20)'/%3E%3Cpath d='M20 20 Q26 11 20 4 Q14 11 20 20Z' fill='%231d6b4a' transform='rotate(150 20 20)'/%3E%3Cpath d='M20 20 Q26 11 20 4 Q14 11 20 20Z' fill='%231d6b4a' transform='rotate(270 20 20)'/%3E%3Cpath d='M20 20 Q26.5 10.649999999999999 20 3 Q13.5 10.649999999999999 20 20Z' fill='%23b5122b' transform='rotate(0 20 20)'/%3E%3Cpath d='M20 20 Q26.5 10.649999999999999 20 3 Q13.5 10.649999999999999 20 20Z' fill='%23b5122b' transform='rotate(72 20 20)'/%3E%3Cpath d='M20 20 Q26.5 10.649999999999999 20 3 Q13.5 10.649999999999999 20 20Z' fill='%23b5122b' transform='rotate(144 20 20)'/%3E%3Cpath d='M20 20 Q26.5 10.649999999999999 20 3 Q13.5 10.649999999999999 20 20Z' fill='%23b5122b' transform='rotate(216 20 20)'/%3E%3Cpath d='M20 20 Q26.5 10.649999999999999 20 3 Q13.5 10.649999999999999 20 20Z' fill='%23b5122b' transform='rotate(288 20 20)'/%3E%3Cpath d='M20 20 Q25 13.399999999999999 20 8 Q15 13.399999999999999 20 20Z' fill='%23e0283f' transform='rotate(36 20 20)'/%3E%3Cpath d='M20 20 Q25 13.399999999999999 20 8 Q15 13.399999999999999 20 20Z' fill='%23e0283f' transform='rotate(108 20 20)'/%3E%3Cpath d='M20 20 Q25 13.399999999999999 20 8 Q15 13.399999999999999 20 20Z' fill='%23e0283f' transform='rotate(180 20 20)'/%3E%3Cpath d='M20 20 Q25 13.399999999999999 20 8 Q15 13.399999999999999 20 20Z' fill='%23e0283f' transform='rotate(252 20 20)'/%3E%3Cpath d='M20 20 Q25 13.399999999999999 20 8 Q15 13.399999999999999 20 20Z' fill='%23e0283f' transform='rotate(324 20 20)'/%3E%3Ccircle cx='20' cy='20' r='3.2' fill='%232f7d4f'/%3E%3Ccircle cx='20' cy='18.2' r='1.3' fill='%23f6cf52'/%3E%3Ccircle cx='18.3' cy='20.8' r='1.3' fill='%23f6cf52'/%3E%3Ccircle cx='21.7' cy='20.8' r='1.3' fill='%23f6cf52'/%3E%3Ccircle cx='20' cy='21.5' r='1.3' fill='%23f6cf52'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(6, 28, 92, .25));
}
.posada.posada .posada__map-table-seats { padding-right: 28px; }

/* Croquis: indicador de lugares por mesa (mismos colores que la leyenda). */
.posada.posada .posada__map-table-seats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  margin-top: .4rem;
}
.posada.posada .posada__map-table-seats i {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border: 2px solid #9db5c0;
  border-radius: 50%;
  background: #fff;
}
.posada.posada .posada__map-table-seats i.is-occupied {
  border-color: var(--posada-berry);
  background: var(--posada-berry);
}

/* Croquis: todo control respeta el ancho de su contenedor. */
.posada.posada .posada__map-app,
.posada.posada .posada__map-app *,
.posada.posada .posada__map-app *::before,
.posada.posada .posada__map-app *::after { box-sizing: border-box; }
.posada.posada .posada__map-toolbar > *,
.posada.posada .posada__people-search :is(input, button, a) { min-width: 0; max-width: 100%; }

/* Check-in: aviso de la portada, tarjeta de /posada/checkin.php y registro manual. */
.posada.posada .posada__checkin-aviso-card {
  border: 2px solid var(--nv-gold);
  box-shadow: 0 0 0 4px rgba(233, 196, 106, .18), 0 12px 30px rgba(6, 28, 92, .12);
}
.posada.posada .posada__checkin-aviso-card h2 { margin: .1rem 0 .5rem; font-size: clamp(1.25rem, 4.6vw, 1.6rem); }
.posada.posada .posada__checkin-aviso-card .posada__prose p { margin: 0 0 .55rem; }
.posada.posada .posada__checkin-aviso-ok { margin: .4rem 0 0; font-weight: 800; color: #17694a; }
.posada.posada .posada__checkin-card {
  display: grid;
  gap: .8rem;
  justify-items: start;
  max-width: 36rem;
  padding: clamp(1.1rem, 4vw, 1.6rem);
  border: 1px solid var(--nv-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 28, 92, .10);
}
.posada.posada .posada__checkin-card h3 { margin: 0; font-size: clamp(1.2rem, 4.4vw, 1.5rem); color: var(--posada-ink); }
.posada.posada .posada__checkin-card p { margin: 0; }
.posada.posada .posada__checkin-card.is-done { border: 2px solid #2f9a68; }
.posada.posada .posada__checkin-card .posada__button { min-width: min(100%, 18rem); }
.posada.posada .posada__checkin-candidato {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
  border-bottom: 1px solid var(--nv-line);
}
.posada.posada .posada__checkin-candidato > span { min-width: 0; overflow-wrap: anywhere; }
.posada.posada .posada__checkin-status { display: grid; gap: .25rem; margin-bottom: 1rem; }

/* ---------- Móvil primero ---------- */
@media (max-width: 639px) {
  .posada.posada { border-radius: 18px; }
  .posada__garland { height: 50px; background-size: 204px 50px, auto, auto; }
  .posada__snowdrift { height: 52px; }
  .posada.posada .posada__button,
  .posada.posada .posada__login-link { width: 100%; justify-content: center; }

  /* Herramientas del croquis apiladas; el buscador comparte fila con «Buscar». */
  .posada.posada .posada__map-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; align-items: stretch; }
  .posada.posada .posada__map-toolbar > * { width: 100%; }
  .posada.posada .posada__people-search > div:first-of-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: stretch; }
  .posada.posada .posada__people-search input { width: 100%; min-height: 46px; }
  .posada.posada .posada__people-search .posada__button { width: auto; padding-inline: 1.15rem; }
  .posada.posada .posada__map-metrics :is(dt, dd) { margin: 0; text-align: center; }
  /* Filas de cinco: 10 lugares quedan en 5 + 5, sin círculos sueltos. */
  .posada.posada .posada__map-table-seats { display: grid; grid-template-columns: repeat(5, 11px); gap: 4px; justify-content: start; }
}
@media (max-width: 359px) {
  .posada.posada .posada__people-search > div:first-of-type { grid-template-columns: minmax(0, 1fr); }
  .posada.posada .posada__people-search .posada__button { width: 100%; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .posada__garland { height: 40px; background-size: 164px 40px, auto, auto; }
}
@media (prefers-reduced-motion: reduce) {
  .posada.posada::before,
  .posada.posada::after { animation: none; }
}
@media print {
  .posada__garland,
  .posada__snowdrift { display: none; }
}
