/* Ocasella · Plano dibujado (OcMapa). Toma los colores de la invitación; fuera de ella, unos por defecto. */
.mz { --mz-tinta: var(--tinta, #3b2b26); --mz-m1: var(--m-osc, #8a6a2f); --mz-m2: var(--m-bri, #f3dfa8); --mz-lacre: var(--lacre, #8f2f27); --mz-calle: #fbf7ef;
  display: block; width: 100%; height: auto; }
.mz-fondo { fill: rgba(255, 250, 240, .45); }
.mz-cultivo { fill: color-mix(in srgb, #cbb98a 20%, transparent); }
.mz-surco { stroke: color-mix(in srgb, var(--mz-tinta) 13%, transparent); stroke-width: .5; }
.mz-verde { fill: color-mix(in srgb, #9fae86 28%, transparent); }
.mz-punto, .mz-arbol { fill: color-mix(in srgb, #6c7d58 42%, transparent); }
.mz-agua { fill: color-mix(in srgb, #9cb9c2 40%, transparent); }
.mz-ola { fill: none; stroke: color-mix(in srgb, #5d8792 38%, transparent); stroke-width: .5; }
.mz-rio { fill: none; stroke: color-mix(in srgb, #9cb9c2 62%, transparent); stroke-linecap: round; stroke-linejoin: round; }
.mz-edif { fill: color-mix(in srgb, var(--mz-tinta) 11%, transparent); stroke: color-mix(in srgb, var(--mz-tinta) 30%, transparent); stroke-width: .35; stroke-linejoin: round; }
.mz-tren { fill: none; stroke: color-mix(in srgb, var(--mz-tinta) 45%, transparent); stroke-width: 1; stroke-dasharray: 3 2; }
.mz-men { fill: none; stroke: color-mix(in srgb, var(--mz-tinta) 30%, transparent); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.mz-med-b, .mz-may-b, .mz-med, .mz-may { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mz-med-b { stroke: color-mix(in srgb, var(--mz-tinta) 52%, transparent); stroke-width: 4.4; }
.mz-may-b { stroke: color-mix(in srgb, var(--mz-m1) 70%, var(--mz-tinta)); stroke-width: 7.2; }
.mz-med { stroke: var(--mz-calle); stroke-width: 3.1; }
.mz-may { stroke: var(--mz-calle); stroke-width: 5.5; }
.mz-nom { font: italic 500 7.2px 'Cormorant Garamond', Georgia, serif; letter-spacing: .05em; fill: color-mix(in srgb, var(--mz-tinta) 80%, transparent); paint-order: stroke; stroke: var(--mz-calle); stroke-width: 2.4px; stroke-linejoin: round; }
.mz-meta { stroke: var(--mz-m1); stroke-width: .9; stroke-linejoin: round; filter: drop-shadow(0 .6px .8px rgba(60, 35, 10, .35)); }
.mz-m1 { stop-color: var(--mz-m1); } .mz-m2 { stop-color: var(--mz-m2); }
.mz-onda { fill: none; stroke: var(--mz-lacre); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mzOnda 2.8s 1.2s ease-out infinite; }
@keyframes mzOnda { 0% { opacity: .7; transform: scale(.6); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
.mz-gota { fill: var(--mz-lacre); stroke: color-mix(in srgb, var(--mz-lacre) 70%, #000); stroke-width: .6; }
.mz-ojo { fill: var(--mz-m2); stroke: color-mix(in srgb, var(--mz-m1) 60%, transparent); stroke-width: .5; }
.mz-sombra { fill: rgba(40, 20, 10, .28); }
.mz-cae { transform-box: fill-box; transform-origin: 50% 100%; }
.vivo .mz-cae, .mz-ya .mz-cae { animation: mzCae .75s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes mzCae { 0% { transform: translateY(-26px) scale(.9); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.mz-etiqueta rect { fill: var(--mz-calle); stroke: var(--mz-m1); stroke-width: .8; filter: drop-shadow(0 1px 1.2px rgba(60, 35, 10, .22)); }
.mz-etiqueta text { font: 500 8.4px 'Jost', system-ui, sans-serif; letter-spacing: .03em; fill: var(--mz-tinta); }
.vivo .mz-etiqueta, .mz-ya .mz-etiqueta { animation: mzSube .6s .45s ease-out both; }
@keyframes mzSube { from { opacity: 0; transform: translateY(4px); } }
.mz-norte path { fill: color-mix(in srgb, var(--mz-tinta) 55%, transparent); }
.mz-norte .mz-norte-s { fill: color-mix(in srgb, var(--mz-m1) 45%, transparent); }
.mz-norte circle { stroke: color-mix(in srgb, var(--mz-tinta) 35%, transparent); stroke-width: .5; }
.mz-norte text { font: 600 6.5px 'Jost', system-ui, sans-serif; fill: color-mix(in srgb, var(--mz-tinta) 75%, transparent); }
.mz-escala path { fill: none; stroke: color-mix(in srgb, var(--mz-tinta) 60%, transparent); stroke-width: .8; }
.mz-escala text { font: 6px 'Jost', system-ui, sans-serif; fill: color-mix(in srgb, var(--mz-tinta) 70%, transparent); }
/* sin marco ni fondo: dibujado directamente sobre el papel */
.mz { overflow: visible; }
.mz-osm { font: 5.6px 'Jost', system-ui, sans-serif; fill: color-mix(in srgb, var(--mz-tinta) 55%, transparent); }
.mz-marco { fill: none; stroke: color-mix(in srgb, var(--mz-m1) 45%, transparent); stroke-width: 1; }
@media (prefers-reduced-motion: reduce) { .mz-onda, .vivo .mz-cae, .mz-ya .mz-cae, .vivo .mz-etiqueta, .mz-ya .mz-etiqueta { animation: none; } .mz-onda { opacity: .4; } }

/* Dibujando el plano (mientras el servidor lo prepara) */
.mz-dib { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 10px; text-align: center; }
.mz-dib svg { width: min(170px, 60%); height: auto; overflow: visible; }
.mz-dib-l { fill: none; stroke: color-mix(in srgb, var(--tinta, #3b2b26) 55%, transparent); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: mzDibL 3.6s calc(var(--i) * .45s) ease-in-out infinite; }
@keyframes mzDibL { 0% { stroke-dashoffset: 160; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.mz-dib-c { fill: color-mix(in srgb, var(--tinta, #3b2b26) 12%, transparent); stroke: color-mix(in srgb, var(--tinta, #3b2b26) 35%, transparent); stroke-width: .6; opacity: 0; animation: mzDibC 3.6s calc(var(--i) * .3s) ease infinite; }
@keyframes mzDibC { 0%, 30% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.mz-dib-pluma path { fill: var(--m-osc, #8a6a2f); }
.mz-dib-pluma .mz-dib-asta { fill: none; stroke: var(--tinta, #3b2b26); stroke-width: 1.4; stroke-linecap: round; }
.mz-dib p { position: relative; margin: 0; min-height: 2.6em; font: italic 500 15px/1.3 'Cormorant Garamond', Georgia, serif; color: var(--tinta, #3b2b26); max-width: 30ch; }
.mz-dib p span { display: block; transition: opacity .4s; }
.mz-dib-t2 { position: absolute; inset: 0; opacity: 0; animation: mzDibT2 .6s 14s forwards; }
.mz-dib-t1 { animation: mzDibT1 .6s 14s forwards; }
@keyframes mzDibT1 { to { opacity: 0; } } @keyframes mzDibT2 { to { opacity: 1; } }
.mz-dib--p p { font-size: 14px; }
/* El plano aparece como si se revelara la tinta */
.mz-entra .mz { animation: mzEntra 1s ease-out both; }
@keyframes mzEntra { from { opacity: 0; filter: blur(3px); transform: scale(.985); } to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mz-dib-l { animation: none; stroke-dashoffset: 0; } .mz-dib-c { animation: none; opacity: 1; } .mz-entra .mz { animation: none; } }
