@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════
   CARTAS A LOS REYES MAGOS · TurisOnRoad  (/cartasreyes/)
   Noche de Oriente (azul), oro, pergamino y lacre. Todo dibujado con CSS/SVG.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --noche: #0b1640; --noche2: #142a6b; --noche3: #06102e;
  --oro: #f3cf74; --oro2: #d4a032; --oro3: #8a5a10; --oro-txt: #ffe7a3;
  --perg: #f6e7c4; --perg2: #ecd6a2; --tinta: #2b1d10; --tinta2: #5a3d1e;
  --rojo: #a3122a; --verde: #1f9d55;
  --sombra: 0 18px 50px rgba(0, 0, 0, .45);
  --r: 18px;
}
* { box-sizing: border-box; }
.crb [hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body.crb { margin: 0; background: var(--noche3); color: #fff; font: 16px/1.55 'Open Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.crb img { max-width: 100%; }
.crb a:not([class]) { color: inherit; }
.cr-tus-l a, .cr-top-l { color: #fff; }
.cr-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr-previa { background: #ffd35a; color: #2b1d10; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; position: relative; z-index: 30; }

/* ── Botones ── */
.cr-btn { color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: 700 15px/1.2 'Open Sans', sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, filter .2s; white-space: nowrap; }
.cr-btn svg { width: 20px; height: 20px; flex: none; }
.cr-btn:active { transform: scale(.97); }
.cr-btn.oro { color: #3a2306; background: linear-gradient(180deg, #ffeeb5, #f0c75a 45%, #c8921f); box-shadow: 0 6px 22px rgba(240, 199, 90, .45), inset 0 1px 0 #fff8dc, inset 0 -2px 0 rgba(122, 78, 12, .35); }
.cr-btn.oro:hover { filter: brightness(1.06); box-shadow: 0 8px 30px rgba(240, 199, 90, .65), inset 0 1px 0 #fff8dc; }
.cr-btn.grande { font-size: 18px; padding: 16px 30px; }
.cr-btn.verde { background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.cr-btn.claro { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(243, 207, 116, .45); }
.cr-btn.claro:hover { background: rgba(243, 207, 116, .18); }

/* ── Barra superior ── */
.cr-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px clamp(14px, 3vw, 34px); }
.cr-logo { display: inline-flex; align-items: center; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 6px 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); transition: transform .2s; }
.cr-logo:hover { transform: translateY(-1px); }
.cr-logo img { display: block; height: 34px; width: auto; }
.cr-top-l { font-size: 14px; font-weight: 600; text-decoration: none; opacity: .85; margin-left: auto; padding: 6px 12px; border-radius: 99px; background: rgba(6, 16, 46, .35); backdrop-filter: blur(4px); }
.cr-top-l:hover { opacity: 1; }
.cr-musica { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(243, 207, 116, .55); background: rgba(6, 16, 46, .45); color: var(--oro-txt); border-radius: 99px; padding: 7px 13px; font: 600 13px 'Open Sans', sans-serif; cursor: pointer; backdrop-filter: blur(4px); }
.cr-musica svg { width: 16px; height: 16px; }
.cr-musica[aria-pressed="true"] { background: linear-gradient(180deg, #ffeeb5, #e2b54a); color: #3a2306; }
.cr-musica[aria-pressed="true"] svg { animation: crNota 1.1s ease-in-out infinite; }
@keyframes crNota { 50% { transform: translateY(-2px) rotate(-8deg); } }

/* ═══════════ PORTADA (escena) ═══════════ */
.cr-hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.cr-hero-f, .cr-hero-f img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -3; }
.cr-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6, 16, 46, .78) 0%, rgba(6, 16, 46, .45) 38%, rgba(6, 16, 46, 0) 62%), linear-gradient(0deg, var(--noche3) 0%, rgba(6, 16, 46, 0) 22%); }
.cr-estrellas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cr-estrellas i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 245, 210, .9); animation: crTitila 3s ease-in-out infinite; }
@keyframes crTitila { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.cr-fugaz { position: absolute; top: 12%; left: 70%; width: 140px; height: 2px; z-index: -1; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); border-radius: 2px; transform: rotate(-24deg); opacity: 0; animation: crFugaz 9s linear 3s infinite; }
@keyframes crFugaz { 0% { opacity: 0; transform: translate(0, 0) rotate(-24deg); } 2% { opacity: 1; } 8% { opacity: 0; transform: translate(-340px, 150px) rotate(-24deg); } 100% { opacity: 0; } }
.cr-hero-in { position: relative; width: min(1200px, 100%); margin: 0 auto; padding: 110px clamp(18px, 5vw, 60px) 70px; }
.cr-hero-in > * { max-width: 600px; }
.cr-ante { margin: 0 0 10px; font: 600 13px/1 'Cinzel', serif; letter-spacing: .22em; text-transform: uppercase; color: var(--oro-txt); }
.cr-ante span { border-bottom: 1px solid rgba(243, 207, 116, .6); padding-bottom: 3px; }
.cr-hero h1 { margin: 0 0 18px; font: 700 clamp(44px, 7.2vw, 92px)/.98 'Cinzel Decorative', 'Cinzel', serif; color: transparent; background: linear-gradient(180deg, #fff6d6 10%, #f3cf74 45%, #c8921f 80%, #ffe7a3); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(243, 207, 116, .25)); }
.cr-hero h1 small { display: block; font: 400 clamp(34px, 4.6vw, 58px)/1.1 'Great Vibes', cursive; color: #fff; -webkit-text-fill-color: #fff; margin-bottom: 4px; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.cr-hero-s { font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 26px; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); max-width: 520px !important; }
.cr-hero-s b { color: var(--oro-txt); }
.cr-hero-datos { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.cr-dato { background: rgba(6, 16, 46, .55); border: 1px solid rgba(243, 207, 116, .35); backdrop-filter: blur(6px); border-radius: 99px; padding: 7px 14px; font-size: 14px; }
.cr-dato b { color: var(--oro-txt); }
.cr-hero-buzon { position: absolute; right: clamp(12px, 6vw, 110px); bottom: 4%; width: clamp(120px, 14vw, 210px); z-index: 1; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); animation: crFlota 5s ease-in-out infinite; }
@keyframes crFlota { 50% { transform: translateY(-8px); } }
.cr-buzon { display: block; width: 100%; height: auto; overflow: visible; }
.cr-buzon .cr-ranura { animation: crRanura 2.6s ease-in-out infinite; }
@keyframes crRanura { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.cr-buzon .cr-buzon-halo { animation: crHalo 4s ease-in-out infinite; transform-origin: 110px 170px; }
@keyframes crHalo { 50% { opacity: .6; transform: scale(.94); } }
.cr-buzon .cr-corona { transform-origin: 110px 86px; }

/* ── Tus cartas (recordadas en este móvil) ── */
.cr-tus { width: min(1100px, calc(100% - 28px)); margin: -34px auto 20px; position: relative; z-index: 3; background: linear-gradient(135deg, rgba(243, 207, 116, .2), rgba(20, 42, 107, .8)); border: 1px solid rgba(243, 207, 116, .5); border-radius: var(--r); padding: 14px 18px; backdrop-filter: blur(8px); box-shadow: var(--sombra); }
.cr-tus-t { margin: 0 0 8px; font: 700 15px 'Cinzel', serif; color: var(--oro-txt); }
.cr-tus-t a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cr-tus-l { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tus-l a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: rgba(6, 16, 46, .6); border: 1px solid rgba(243, 207, 116, .4); border-radius: 99px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 600; }
.cr-tus-l a img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.cr-tus-l a.resp { background: linear-gradient(180deg, #ffeeb5, #e2b54a); color: #3a2306; animation: crLate 1.6s ease-in-out infinite; }
@keyframes crLate { 50% { box-shadow: 0 0 0 6px rgba(243, 207, 116, .25); } }

/* ═══════════ PASOS ═══════════ */
.cr-main { position: relative; width: min(1180px, 100%); margin: 0 auto; padding: 30px clamp(14px, 3vw, 30px) 40px; }
.cr-aviso-admin { background: #ffd35a; color: #2b1d10; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.cr-paso { padding: 34px 0 20px; scroll-margin-top: 10px; animation: crEntra .6s ease both; }
@keyframes crEntra { from { opacity: 0; transform: translateY(18px); } }
.cr-h { text-align: center; margin: 0 0 24px; font: 700 clamp(26px, 3.4vw, 40px)/1.15 'Cinzel', serif; color: var(--oro-txt); text-shadow: 0 0 24px rgba(243, 207, 116, .25); }
.cr-h span { display: block; font: 600 12px/1 'Open Sans', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.cr-h3 { font: 700 clamp(20px, 2.4vw, 28px)/1.2 'Cinzel', serif; color: var(--oro-txt); margin: 0 0 16px; }
.cr-h3 span { display: block; font: 400 15px/1.4 'Open Sans', sans-serif; color: rgba(255, 255, 255, .75); margin-top: 6px; }

/* ¿Quién escribe? */
.cr-vias { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin: 0 auto; }
.cr-via { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 22px 24px; border-radius: 22px; border: 1.5px solid rgba(243, 207, 116, .35); cursor: pointer; color: #fff; font-family: inherit;
  background: radial-gradient(120% 90% at 50% 0%, rgba(243, 207, 116, .18), rgba(20, 42, 107, .55) 55%, rgba(6, 16, 46, .8)); box-shadow: var(--sombra); transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
.cr-via::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); transform: translateX(-100%); transition: transform .8s; }
.cr-via:hover::before { transform: translateX(100%); }
.cr-via:hover, .cr-via.on { transform: translateY(-4px); border-color: var(--oro); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 4px rgba(243, 207, 116, .15); }
.cr-via.on { background: radial-gradient(120% 90% at 50% 0%, rgba(243, 207, 116, .35), rgba(20, 42, 107, .7) 60%, rgba(6, 16, 46, .9)); }
.cr-via.on::after { content: "✓"; position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--oro); color: #3a2306; font-weight: 800; display: grid; place-items: center; }
.cr-via-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff8e0, #f3dca0 60%, #c9a259); box-shadow: 0 0 0 4px rgba(243, 207, 116, .35), 0 8px 20px rgba(0, 0, 0, .4); }
.cr-via-ic svg { width: 56px; height: 56px; }
.cr-via b { font: 700 22px/1.2 'Cinzel', serif; color: var(--oro-txt); margin-top: 6px; }
.cr-via small { font-size: 15px; opacity: .85; max-width: 300px; }

/* Reyes */
.cr-reyes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; }
.cr-rey { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px 18px; border-radius: 22px; cursor: pointer; color: #fff; font-family: inherit; text-align: center;
  background: linear-gradient(180deg, rgba(20, 42, 107, .6), rgba(6, 16, 46, .85)); border: 1.5px solid rgba(243, 207, 116, .3); box-shadow: var(--sombra); transition: transform .2s, border-color .2s; }
.cr-rey-f { width: 100%; max-width: 210px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 0 0 5px #c8921f, 0 0 0 8px rgba(243, 207, 116, .35), 0 12px 30px rgba(0, 0, 0, .5); transition: box-shadow .3s; }
.cr-rey-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cr-rey:hover .cr-rey-f img { transform: scale(1.06); }
.cr-rey b { font: 700 22px 'Cinzel', serif; color: var(--oro-txt); margin-top: 10px; }
.cr-rey small { font-size: 14px; opacity: .8; }
.cr-rey:hover, .cr-rey.on { transform: translateY(-4px); border-color: var(--oro); }
.cr-rey.on .cr-rey-f { box-shadow: 0 0 0 5px #ffe7a3, 0 0 0 10px rgba(243, 207, 116, .55), 0 0 40px rgba(243, 207, 116, .6); }
.cr-reyes.elegido .cr-rey:not(.on) { opacity: .55; }

/* ═══════════ LA MESA: herramientas + pergamino ═══════════ */
.cr-mesa { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; }
.cr-herr { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 14px; }
.cr-herr-b { background: rgba(20, 42, 107, .55); border: 1px solid rgba(243, 207, 116, .25); border-radius: 16px; padding: 14px; }
.cr-herr-t { display: block; margin: 0 0 10px; font-weight: 700; font-size: 14px; color: var(--oro-txt); }
.cr-herr-n { display: block; font-size: 12px; opacity: .7; margin-top: 6px; }
.cr-ideas { display: flex; flex-direction: column; gap: 7px; }
.cr-idea { text-align: left; border: 1px dashed rgba(243, 207, 116, .45); background: rgba(6, 16, 46, .4); color: #fff; border-radius: 10px; padding: 8px 10px; font: 500 13.5px/1.35 'Open Sans', sans-serif; cursor: pointer; transition: background .2s, transform .15s; }
.cr-idea::before { content: "+ "; color: var(--oro); font-weight: 800; }
.cr-idea:hover { background: rgba(243, 207, 116, .15); }
.cr-idea.usada { opacity: .45; }
.cr-lacres { display: flex; gap: 10px; }
.cr-lac { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font-size: 12px; }
.cr-lac input { position: absolute; opacity: 0; pointer-events: none; }
.cr-lacre-op { width: 54px; height: 54px; transition: transform .2s; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45)); }
.cr-lac input:checked + .cr-lacre-op { transform: scale(1.15) rotate(-8deg); filter: drop-shadow(0 0 10px rgba(243, 207, 116, .8)); }
.cr-lac input:focus-visible + .cr-lacre-op { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 50%; }
.cr-sel { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(243, 207, 116, .4); background: rgba(6, 16, 46, .6); color: #fff; font: 600 14px 'Open Sans', sans-serif; }

/* Pergamino */
.cr-perg-w { perspective: 1600px; }
.cr-perg { position: relative; margin: 18px auto; max-width: 760px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }
.cr-perg-in { position: relative; padding: 34px clamp(20px, 5vw, 60px) 34px; color: var(--tinta);
  background:
    radial-gradient(ellipse at 15% 10%, rgba(160, 110, 40, .18), transparent 45%),
    radial-gradient(ellipse at 90% 85%, rgba(160, 110, 40, .2), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 250, 230, .7), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--perg), var(--perg2));
  box-shadow: inset 0 0 60px rgba(139, 90, 30, .45), inset 0 0 12px rgba(139, 90, 30, .35); }
.cr-rod { display: block; position: relative; height: 26px; margin: 0 -22px; border-radius: 14px; z-index: 2;
  background: linear-gradient(180deg, #5a3510 0%, #c98d3c 30%, #f4cd84 48%, #a8691f 70%, #4a2a0a 100%); box-shadow: 0 6px 12px rgba(0, 0, 0, .4); }
.cr-rod::before, .cr-rod::after { content: ""; position: absolute; top: -7px; width: 30px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff2c0, #e0a83c 45%, #7a4e0c 85%); box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.cr-rod::before { left: -16px; } .cr-rod::after { right: -16px; }
.cr-rod.arriba { margin-bottom: -8px; } .cr-rod.abajo { margin-top: -8px; }
.cr-perg-cab { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; min-height: 56px; }
.cr-perg-rey { width: 62px; height: 62px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 3px #c8921f, 0 0 0 5px rgba(200, 146, 31, .3); }
.cr-perg-rey:empty:not([style]) { visibility: hidden; }
.cr-perg-sello { margin-left: auto; transform: rotate(6deg); border: 2px dashed rgba(122, 30, 30, .55); color: rgba(122, 30, 30, .75); border-radius: 6px; padding: 5px 9px; text-align: center; font: 700 11px/1.15 'Cinzel', serif; letter-spacing: .08em; text-transform: uppercase; }
.cr-perg-sello small { display: block; font-size: 9px; letter-spacing: .2em; }
.cr-saludo { margin: 4px 0 6px; font: 700 clamp(30px, 4vw, 40px)/1.15 'Caveat', cursive; color: var(--tinta2); }
.cr-texto { --lh: 40px; display: block; width: 100%; min-height: calc(var(--lh) * 7 + 8px); resize: vertical; border: 0; outline: 0; background: transparent; color: var(--tinta);
  font: 500 clamp(24px, 3vw, 28px)/var(--lh) 'Caveat', cursive; padding: 0 2px; caret-color: #8a1c1c;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--lh) - 1px), rgba(122, 82, 40, .28) calc(var(--lh) - 1px), rgba(122, 82, 40, .28) var(--lh)); background-attachment: local; }
.cr-texto::placeholder { color: rgba(90, 61, 30, .45); }
.crb.via-nino .cr-texto { --lh: 46px; font-size: clamp(27px, 3.4vw, 33px); }
.cr-cuenta { text-align: right; font-size: 12px; color: rgba(90, 61, 30, .6); margin: 2px 0 0; }
.cr-desp { margin: 18px 0 0; font: 500 28px 'Caveat', cursive; color: var(--tinta2); }
.cr-firma { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cr-nombre { flex: 1 1 220px; min-width: 0; border: 0; border-bottom: 2px dashed rgba(122, 82, 40, .5); background: transparent; color: #7a1020; font: 700 clamp(32px, 4.4vw, 42px)/1.2 'Caveat', cursive; padding: 2px 4px; outline: 0; }
.cr-nombre::placeholder { color: rgba(122, 16, 32, .35); }
.cr-nombre:focus { border-bottom-color: #a3122a; }
.cr-edad.falta { border-color: #d0342c; box-shadow: 0 0 0 3px rgba(208, 52, 44, .25); }
.cr-edad { border: 1px solid rgba(122, 82, 40, .45); background: rgba(255, 255, 255, .45); border-radius: 10px; padding: 8px 10px; font: 600 15px 'Open Sans', sans-serif; color: var(--tinta2); }

/* Dibujo */
.cr-dib { margin-top: 20px; }
.cr-dib-t { margin: 0 0 8px; font: 700 26px 'Caveat', cursive; color: var(--tinta2); }
.cr-lienzo-w { position: relative; border-radius: 14px; background: rgba(255, 253, 244, .65); box-shadow: inset 0 0 0 2px rgba(122, 82, 40, .35), inset 0 2px 10px rgba(122, 82, 40, .2); overflow: hidden; touch-action: none; }
.cr-lienzo { display: block; width: 100%; height: auto; aspect-ratio: 900 / 560; cursor: crosshair; touch-action: none; }
.cr-lienzo-ayuda { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font: 600 26px 'Caveat', cursive; color: rgba(90, 61, 30, .45); pointer-events: none; transition: opacity .3s; }
.cr-lienzo-w.pintado .cr-lienzo-ayuda { opacity: 0; }
.cr-pega-viva { position: absolute; font-size: 44px; line-height: 1; cursor: grab; user-select: none; touch-action: none; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25)); animation: crPega .35s cubic-bezier(.3, 1.6, .5, 1); }
.cr-pega-viva:active { cursor: grabbing; }
@keyframes crPega { from { transform: translate(-50%, -50%) scale(0) rotate(-40deg); } }
.cr-dib-herr { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 10px; }
.cr-ceras { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-cera { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--c); cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); transition: transform .15s; }
.cr-cera.on { transform: scale(1.22); box-shadow: 0 0 0 3px var(--c), 0 3px 8px rgba(0, 0, 0, .3); }
.cr-dib-acc { display: flex; gap: 6px; }
.cr-mini { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(122, 82, 40, .4); background: rgba(255, 255, 255, .55); color: var(--tinta2); font-size: 16px; cursor: pointer; display: grid; place-items: center; }
.cr-mini big { font-size: 26px; line-height: 1; }
.cr-mini.on { background: #fff3cf; border-color: #a3122a; color: #a3122a; }
.cr-pegas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--tinta2); width: 100%; }
.cr-pegas span { margin-right: 4px; }
.cr-pega { width: 40px; height: 40px; border: 0; background: rgba(255, 255, 255, .5); border-radius: 10px; font-size: 23px; cursor: pointer; transition: transform .15s; }
.cr-pega:hover { transform: scale(1.18) rotate(-8deg); }

.cr-err { text-align: center; color: #ffb4b4; font-weight: 700; min-height: 1.5em; margin: 6px 0; }
.cr-enviar-w { text-align: center; }
.cr-enviar { font-size: 20px; padding: 18px 36px; animation: crBrilla 2.8s ease-in-out infinite; }
@keyframes crBrilla { 50% { box-shadow: 0 6px 34px rgba(240, 199, 90, .8), inset 0 1px 0 #fff8dc; } }
.cr-enviar[disabled] { opacity: .6; cursor: wait; animation: none; }
.cr-copia-w { margin: 16px auto 0; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cr-copia-w small { font-size: 13px; opacity: .75; }
.cr-copia[disabled] { opacity: .6; cursor: wait; }
.cr-priv { font-size: 13px; opacity: .7; max-width: 520px; margin: 12px auto 0; }

/* ═══════════ ENVÍO (la animación) ═══════════ */
.cr-envio { position: fixed; inset: 0; z-index: 100; background: radial-gradient(ellipse at 50% 30%, #1d3a8a 0%, #0b1640 55%, #040a20 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; opacity: 0; transition: opacity .5s; }
.cr-envio.on { opacity: 1; }
.cr-envio-estrellas { position: absolute; inset: 0; }
.cr-envio-estrellas i { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 245, 210, .9); animation: crTitila 3s ease-in-out infinite; }
.cr-escena { position: relative; perspective: 900px; width: min(620px, 94vw); height: min(640px, 70vh); }
.cr-sobre { position: absolute; left: 50%; top: 42%; width: 320px; height: 206px; margin: -103px 0 0 -160px; transform-style: preserve-3d; }
.cr-sobre-tras { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(180deg, #e9d29c, #d9b977); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); opacity: 0; }
.cr-sobre-del { position: absolute; inset: 0; border-radius: 6px; opacity: 0; z-index: 3;
  background: linear-gradient(32deg, #f1dca8 49.6%, transparent 50%) left bottom / 50.4% 100% no-repeat, linear-gradient(-32deg, #ecd49b 49.6%, transparent 50%) right bottom / 50.4% 100% no-repeat; }
.cr-sobre-sol { position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: 4; opacity: 0; transform-origin: 50% 0; transform: rotateX(180deg);
  background: linear-gradient(180deg, #f6e4b6, #e4c98b); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.cr-sobre-lacre { position: absolute; left: 50%; top: 62%; width: 80px; height: 80px; margin: -40px 0 0 -40px; z-index: 6; opacity: 0; }
.cr-sobre-lacre svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); }
.cr-carta-mini { position: absolute; left: 14px; right: 14px; top: -180px; height: 360px; z-index: 2; transform-style: preserve-3d; }
.cr-carta-mini i { position: absolute; left: 0; right: 0; height: 33.4%; background: linear-gradient(180deg, #fbf0d4, #eedcaf); box-shadow: inset 0 0 18px rgba(139, 90, 30, .35);
  background-image: repeating-linear-gradient(180deg, transparent 0 13px, rgba(90, 61, 30, .35) 13px 14px); background-size: 70% 100%; background-repeat: no-repeat; background-position: 50% 12px; background-color: #f6e7c4; }
.cr-carta-mini i:nth-child(1) { top: 0; transform-origin: 50% 100%; }
.cr-carta-mini i:nth-child(2) { top: 33.3%; }
.cr-carta-mini i:nth-child(3) { top: 66.6%; transform-origin: 50% 0; }
.cr-envio-buzon { position: absolute; left: 50%; bottom: 0; width: 200px; margin-left: -100px; opacity: 0; transform: translateY(60px); }
.cr-envio-buzon.vivo .cr-corona { animation: crCorona .7s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes crCorona { 40% { transform: translateY(-18px) rotate(-6deg); } }
.cr-envio-buzon.vivo .cr-ranura { animation: none; opacity: 1; filter: drop-shadow(0 0 8px #ffd35a); }
.cr-envio-msg { position: relative; margin: 26px 20px 0; min-height: 2.6em; text-align: center; font: 700 clamp(26px, 4.6vw, 44px)/1.15 'Cinzel', serif; color: var(--oro-txt); text-shadow: 0 0 30px rgba(243, 207, 116, .55); opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; }
.cr-envio-msg.on { opacity: 1; transform: none; }
.cr-envio-msg small { display: block; font: 600 16px 'Open Sans', sans-serif; color: #fff; opacity: .85; margin-top: 8px; text-shadow: none; }
.cr-polvo { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 10px 3px rgba(255, 215, 106, .9); pointer-events: none; z-index: 8; }

/* ═══════════ HECHA: compartir + seguimiento ═══════════ */
.cr-hecha-c { text-align: center; max-width: 760px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 40px); border-radius: 26px; border: 1px solid rgba(243, 207, 116, .45);
  background: radial-gradient(120% 100% at 50% 0%, rgba(243, 207, 116, .22), rgba(20, 42, 107, .75) 55%, rgba(6, 16, 46, .9)); box-shadow: var(--sombra); }
.cr-hecha-cor { font-size: 54px; margin: 0; line-height: 1; animation: crFlota 3s ease-in-out infinite; }
.cr-hecha-t { font: 700 clamp(26px, 3.6vw, 40px)/1.15 'Cinzel', serif; color: var(--oro-txt); margin: 10px 0 12px; }
.cr-hecha-s { font-size: 18px; margin: 0 auto 20px; max-width: 600px; }
.cr-hecha-s b { color: var(--oro-txt); }
.crb:not(.via-nino) .cr-segun[data-via="nino"], .crb.via-nino .cr-segun[data-via="adulto"] { display: none !important; }
.cr-acc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cr-hecha-n { font-size: 14px; opacity: .8; margin: 18px 0 0; }
.cr-hecha-sig { max-width: 600px; margin: 22px auto 0; padding: 14px 18px; border-radius: 16px; font-size: 16px; line-height: 1.5;
  background: rgba(243, 207, 116, .14); border: 1px dashed rgba(243, 207, 116, .6); }
.cr-hecha-sig b { color: var(--oro-txt); }

.cr-seg { max-width: 900px; margin: 30px auto 0; padding: 22px clamp(14px, 3vw, 30px); border-radius: 22px; background: rgba(6, 16, 46, .6); border: 1px solid rgba(243, 207, 116, .25); }
.cr-seg-t { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 18px; }
.cr-seg-t b { font: 700 20px 'Cinzel', serif; color: var(--oro-txt); }
.cr-seg-t small { opacity: .75; }
.cr-pasos-seg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.cr-pasos-seg::before { content: ""; position: absolute; top: 25px; left: 10%; right: 10%; height: 3px; background: rgba(255, 255, 255, .15); border-radius: 3px; }
.cr-pasos-seg::after { content: ""; position: absolute; top: 25px; left: 10%; height: 3px; width: calc(var(--avance, 0) * 80%); background: linear-gradient(90deg, #c8921f, #ffe7a3); border-radius: 3px; box-shadow: 0 0 10px rgba(243, 207, 116, .7); transition: width 1.2s ease; }
.cr-pasos-seg li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13px; padding: 0 4px; }
.cr-pasos-seg .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #142a6b; border: 2px solid rgba(255, 255, 255, .2); filter: grayscale(.8); opacity: .6; transition: all .4s; }
.cr-pasos-seg li.hecho .ic { filter: none; opacity: 1; border-color: var(--oro); background: radial-gradient(circle, #2b4ea8, #142a6b); }
.cr-pasos-seg li.ahora .ic { filter: none; opacity: 1; border-color: #ffe7a3; box-shadow: 0 0 0 6px rgba(243, 207, 116, .2), 0 0 24px rgba(243, 207, 116, .7); animation: crLate 1.6s ease-in-out infinite; }
.cr-pasos-seg li > span:last-child { display: flex; flex-direction: column; align-items: inherit; }
.cr-pasos-seg li b { font-weight: 700; }
.cr-pasos-seg li small { opacity: .65; font-size: 12px; }
.cr-cuenta-atras { display: flex; justify-content: center; gap: 10px; margin: 22px 0 4px; }
.cr-cuenta-atras span { min-width: 74px; padding: 10px 8px; border-radius: 14px; background: linear-gradient(180deg, rgba(243, 207, 116, .2), rgba(243, 207, 116, .05)); border: 1px solid rgba(243, 207, 116, .35); text-align: center; }
.cr-cuenta-atras b { display: block; font: 700 30px/1 'Cinzel', serif; color: var(--oro-txt); }
.cr-cuenta-atras small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.cr-abre-t { margin: 18px 0 0; font: 700 13px 'Cinzel', serif; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-txt); }
.cr-cuenta-abre { justify-content: flex-start; margin-top: 10px; }
.cr-cuenta-abre span { background: rgba(6, 16, 46, .55); backdrop-filter: blur(3px); }
.cr-cuenta-abre b { font-variant-numeric: tabular-nums; }
.cr-seg-pie { text-align: center; font-size: 14px; opacity: .8; margin: 8px 0 0; }

.cr-mientras { max-width: 1100px; margin: 40px auto 0; }
.cr-exps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cr-exp { display: flex; flex-direction: column; text-decoration: none; border-radius: 16px; overflow: hidden; background: #fff; color: #1d2433; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .2s; }
.cr-exp:hover { transform: translateY(-4px); }
.cr-exp-f { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 70% 30%, rgba(243, 207, 116, .45), transparent 45%), linear-gradient(135deg, #142a6b, #2b4ea8); overflow: hidden; }
.cr-exp-f::before { content: "🎁"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; opacity: .85; }
.cr-exp-f img { position: relative; }
.cr-exp-f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-exp-b { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.cr-exp-b b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-exp-b small { color: #5b6478; font-size: 13px; }
.cr-exp-p { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: #a3122a; font-size: 14px; }
.cr-exp-p em { font-style: normal; color: #142a6b; }
.cr-mientras-b { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.cr-otra-w { text-align: center; margin: 34px 0 0; }
.cr-otra { background: none; border: 0; color: var(--oro-txt); font: 700 16px 'Open Sans', sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cr-despues { padding-top: 40px; }

/* Banda y pie */
.cr-banda { display: flex; align-items: center; gap: 18px; width: min(1100px, calc(100% - 28px)); margin: 40px auto; padding: 20px clamp(16px, 3vw, 30px); border-radius: 22px; text-decoration: none; color: #3a2306;
  background: linear-gradient(110deg, #ffeeb5, #f0c75a 50%, #e2a93a); box-shadow: 0 14px 40px rgba(240, 199, 90, .3); transition: transform .2s; }
.cr-banda:hover { transform: translateY(-3px); }
.cr-banda-ic { font-size: 44px; line-height: 1; }
.cr-banda b { display: block; font: 700 clamp(19px, 2.4vw, 26px)/1.2 'Cinzel', serif; }
.cr-banda small { display: block; font-size: 14px; margin-top: 4px; }
.cr-banda em { margin-left: auto; font-style: normal; font-weight: 800; white-space: nowrap; background: #3a2306; color: #ffe7a3; border-radius: 99px; padding: 10px 18px; }
.cr-pie { text-align: center; padding: 10px 20px 40px; font-size: 13px; opacity: .75; }
.cr-pie p { margin: 4px 0; }
.cr-pie-lacre { width: 40px; height: 40px; }

/* ═══════════ MÓVIL ═══════════ */
@media (max-width: 900px) {
  .cr-mesa { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cr-herr { display: contents; }
  .cr-herr-b { order: 2; min-width: 0; }
  .cr-herr-b:first-child { order: 0; }
  .cr-perg-w { order: 1; min-width: 0; }
  .cr-ideas { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .cr-idea { flex: 0 0 auto; max-width: 250px; scroll-snap-align: start; }
}
@media (max-aspect-ratio: 3/4), (max-width: 640px) {
  .cr-hero { align-items: flex-start; min-height: 100svh; }
  .cr-hero::after { background: linear-gradient(180deg, rgba(6, 16, 46, .7) 0%, rgba(6, 16, 46, .25) 42%, rgba(6, 16, 46, 0) 60%, var(--noche3) 100%); }
  .cr-hero-in { padding-top: 84px; text-align: center; }
  .cr-cuenta-abre { justify-content: center; }
  .cr-hero-in > * { margin-left: auto !important; margin-right: auto !important; }
  .cr-hero-datos { justify-content: center; }
  .cr-hero-buzon { right: 10px; bottom: 1.5%; width: 92px; }
  .cr-hero-f img { object-position: 50% 100%; }
}
@media (max-width: 640px) {
  .cr-sobre { transform-origin: 50% 50%; scale: .82; }
  .cr-envio-buzon { width: 150px; margin-left: -75px; }
  .cr-top { padding: 10px 12px; gap: 8px; }
  .cr-logo { padding: 5px 9px; border-radius: 10px; }
  .cr-logo img { height: 26px; }
  .cr-top-l { display: none; }
  .cr-musica { margin-left: auto; }
  .cr-vias { grid-template-columns: 1fr; }
  .cr-via { flex-direction: row; text-align: left; padding: 16px; gap: 14px; }
  .cr-via-ic { width: 64px; height: 64px; flex: none; }
  .cr-via-ic svg { width: 42px; height: 42px; }
  .cr-via b { margin: 0; font-size: 19px; }
  .cr-via small { font-size: 14px; }
  .cr-via > b, .cr-via > small { display: block; }
  .cr-via { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-items: center; }
  .cr-via-ic { grid-row: 1 / 3; }
  .cr-reyes { gap: 8px; }
  .cr-rey { padding: 10px 4px 12px; border-radius: 16px; }
  .cr-rey b { font-size: 16px; margin-top: 6px; }
  .cr-rey small { font-size: 11.5px; line-height: 1.3; }
  .cr-rod { margin: 0 -8px; height: 20px; }
  .cr-rod::before, .cr-rod::after { width: 22px; height: 32px; top: -6px; }
  .cr-rod::before { left: -10px; } .cr-rod::after { right: -10px; }
  .cr-perg-in { padding: 24px 18px; }
  .cr-perg-rey { width: 48px; height: 48px; }
  .cr-pasos-seg { grid-template-columns: 1fr; gap: 12px; }
  .cr-pasos-seg::before, .cr-pasos-seg::after { display: none; }
  .cr-pasos-seg li { flex-direction: row; text-align: left; gap: 12px; }
  .cr-pasos-seg .ic { width: 44px; height: 44px; font-size: 20px; flex: none; }
  .cr-pasos-seg li span { display: flex; flex-direction: column; align-items: flex-start; }
  .cr-cuenta-atras span { min-width: 62px; }
  .cr-banda { flex-wrap: wrap; }
  .cr-banda em { margin-left: 0; }
  .cr-tus { margin-top: 10px; }
  .cr-acc .cr-btn { flex: 1 1 40%; }
  .cr-exps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 0 -4px; }
  .cr-exp { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ═══════════ PÁGINA DE UNA CARTA (/cartasreyes/CODIGO/) ═══════════ */
.cr-pag-ver { background: var(--noche3); }
.cr-ver-fondo { position: fixed; inset: 0; z-index: -2; background-size: cover; background-position: center 70%; filter: saturate(1.05) brightness(.62); }
.cr-ver-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 46, .55), rgba(6, 16, 46, .25) 40%, rgba(6, 16, 46, .9)); }
.cr-ver-estrellas { position: fixed; z-index: -1; }
.cr-ver { position: relative; width: min(980px, 100%); margin: 0 auto; padding: 96px clamp(14px, 3vw, 30px) 20px; }
.cr-ver-cab { text-align: center; margin-bottom: 26px; }
.cr-ver-h { margin: 0 0 10px; font: 700 clamp(28px, 4.6vw, 52px)/1.12 'Cinzel', serif; color: transparent; background: linear-gradient(180deg, #fff6d6 10%, #f3cf74 55%, #d9a73a); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .6)); }
.cr-ver-s { font-size: clamp(17px, 2vw, 21px); margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.cr-solo-mia { display: none; }
.cr-mia .cr-solo-mia { display: block; }
.cr-mia .cr-solo-otros { display: none; }
.cr-mia .cr-seg { margin: 0 auto 30px; }
/* Quien la escribió ya no la puede abrir (como en el correo de verdad) */
.cr-mia #crAbrir, .cr-mia #crCarta, .cr-mia .cr-tras, .cr-mia .cr-ver-sub, .cr-mia .cr-guardar { display: none !important; }
.cr-mia #crSobreCarta { display: none; }
.cr-abrir-w { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 10px 0 30px; }

/* Sobre grande, cerrado con lacre */
.cr-sg { position: relative; width: min(520px, 92vw); aspect-ratio: 1.6; perspective: 1200px; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); animation: crSgFlota 4s ease-in-out infinite; }
@keyframes crSgFlota { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.cr-sg-cuerpo { position: absolute; inset: 0; border-radius: 10px; background:
  linear-gradient(32deg, rgba(150, 110, 50, .22) 49.8%, transparent 50%) left bottom / 50.2% 100% no-repeat,
  linear-gradient(-32deg, rgba(150, 110, 50, .16) 49.8%, transparent 50%) right bottom / 50.2% 100% no-repeat,
  radial-gradient(ellipse at 30% 20%, rgba(255, 250, 230, .8), transparent 60%), linear-gradient(160deg, #f7e9c6, #e5c98f); box-shadow: inset 0 0 40px rgba(139, 90, 30, .35); }
.cr-sg-sello { z-index: 3; position: absolute; top: 7%; right: 5%; transform: rotate(6deg); border: 2px dashed rgba(122, 30, 30, .55); color: rgba(122, 30, 30, .8); border-radius: 6px; padding: 6px 10px; text-align: center; font: 700 12px/1.2 'Cinzel', serif; letter-spacing: .08em; text-transform: uppercase; }
.cr-sg-sello small { display: block; font-size: 9px; letter-spacing: .18em; }
.cr-sg-para { position: absolute; left: 0; right: 0; bottom: 9%; margin: 0; text-align: center; font: 700 clamp(30px, 6vw, 46px)/1.05 'Caveat', cursive; color: #5a2410; }
.cr-sg-para small { display: block; font: 600 clamp(11px, 2vw, 14px)/1.4 'Cinzel', serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(90, 36, 16, .7); }
.cr-sg-solapa { position: absolute; left: 0; right: 0; top: 0; height: 50%; transform-origin: 50% 0; transition: transform .8s cubic-bezier(.5, 0, .3, 1); z-index: 2;
  background: linear-gradient(180deg, #f9eccd, #e8cf98); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.cr-sg-lacre { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3; transition: transform .5s, opacity .5s; }
.cr-lacre-sg { width: 100%; height: 100%; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
.cr-sg.abierto { animation: none; }
.cr-sg.abierto .cr-sg-lacre { transform: translate(-50%, -50%) scale(1.25) rotate(25deg); opacity: 0; }
.cr-sg.abierto .cr-sg-solapa { transform: rotateX(178deg); transition-delay: .25s; }
.cr-sg.oro .cr-sg-cuerpo { background:
  linear-gradient(32deg, rgba(122, 78, 12, .25) 49.8%, transparent 50%) left bottom / 50.2% 100% no-repeat,
  linear-gradient(-32deg, rgba(122, 78, 12, .18) 49.8%, transparent 50%) right bottom / 50.2% 100% no-repeat,
  radial-gradient(ellipse at 30% 20%, rgba(255, 250, 230, .85), transparent 60%), linear-gradient(160deg, #fff3cf, #e9c46a); box-shadow: inset 0 0 0 6px rgba(200, 146, 31, .55), inset 0 0 40px rgba(139, 90, 30, .35); }
.cr-sg.oro .cr-sg-solapa { background: linear-gradient(180deg, #fff6d8, #ecd08a); }
.cr-sg.oro { filter: drop-shadow(0 0 40px rgba(243, 207, 116, .45)) drop-shadow(0 26px 40px rgba(0, 0, 0, .5)); }

/* Pergamino desplegado */
.cr-carta-ver, .cr-resp { transform-origin: 50% 0; }
.desplegar { animation: crDespliega 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes crDespliega { from { opacity: 0; transform: scaleY(.08) translateY(-30px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.cr-perg-ver .cr-perg-in { padding-bottom: 60px; }
.cr-texto-ver { min-height: 0; height: auto; resize: none; white-space: normal; overflow-wrap: anywhere; padding-bottom: 6px; }
.cr-dib-ver { margin: 16px 0 0; }
.cr-dib-ver img { display: block; width: 100%; border-radius: 12px; background: rgba(255, 253, 244, .55); box-shadow: inset 0 0 0 2px rgba(122, 82, 40, .3); }
.cr-firma-ver { margin: 0; font: 700 clamp(34px, 5vw, 46px)/1.1 'Caveat', cursive; color: #7a1020; }
.cr-firma-ver small { font: 600 24px 'Caveat', cursive; color: var(--tinta2); margin-left: 10px; }
.cr-lacre-carta { position: absolute; right: 7%; bottom: 18px; width: 88px; height: 88px; transform: rotate(-12deg); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .4)); }
.cr-perg-reyes { display: flex; }
.cr-perg-reyes i { width: 46px; height: 46px; border-radius: 50%; background-size: cover; box-shadow: 0 0 0 2.5px #c8921f; margin-right: -8px; }

/* La respuesta de los Reyes */
.cr-resp { max-width: 760px; margin: 0 auto 30px; }
.cr-resp-in { position: relative; padding: 40px clamp(22px, 6vw, 64px) 70px; color: var(--tinta); border-radius: 8px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 246, 214, .95), transparent 60%), radial-gradient(ellipse at 10% 90%, rgba(200, 146, 31, .22), transparent 50%), linear-gradient(180deg, #fbf1d6, #efd9a3);
  box-shadow: 0 0 0 3px #c8921f, 0 0 0 9px rgba(243, 207, 116, .25), 0 0 60px rgba(243, 207, 116, .45), 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 50px rgba(139, 90, 30, .35); }
.cr-resp-in::before, .cr-resp-in::after { content: "✦"; position: absolute; top: 14px; color: #c8921f; font-size: 20px; }
.cr-resp-in::before { left: 18px; } .cr-resp-in::after { right: 18px; }
.cr-resp-reyes { display: flex; justify-content: center; gap: 12px; margin-top: -84px; }
.cr-resp-reyes span { width: 104px; height: 104px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 4px #e9c46a, 0 0 0 8px rgba(243, 207, 116, .35), 0 10px 24px rgba(0, 0, 0, .45); }
.cr-resp-reyes span:only-child { width: 140px; height: 140px; }
.cr-resp-de { text-align: center; margin: 16px 0 18px; font: 700 14px 'Cinzel', serif; letter-spacing: .2em; text-transform: uppercase; color: #8a5a10; }
.cr-resp-tx { font: 500 clamp(24px, 3vw, 29px)/1.45 'Caveat', cursive; color: #2b1d10; }
.cr-resp-pd { font: 500 23px/1.4 'Caveat', cursive; color: var(--tinta2); margin: 16px 0 0; }
.cr-resp-firma { text-align: right; margin: 26px 0 0; font: 400 clamp(38px, 5.4vw, 54px)/1 'Great Vibes', cursive; color: #7a4e0c; }
.cr-lacre-resp { position: absolute; left: 7%; bottom: 20px; width: 84px; height: 84px; transform: rotate(10deg); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .35)); }

.cr-ver-sub { text-align: center; margin: 20px 0 0; }
.cr-guardar { text-align: center; margin: 22px 0 0; }
.cr-ver-nota { text-align: center; max-width: 560px; margin: 16px auto 0; font-size: 15px; opacity: .85; }
.cr-ayuda { margin-top: 34px; padding: 26px clamp(14px, 3vw, 28px); border-radius: 24px; background: radial-gradient(120% 100% at 50% 0%, rgba(243, 207, 116, .28), rgba(20, 42, 107, .8) 60%); border: 1px solid rgba(243, 207, 116, .5); box-shadow: var(--sombra); }
.cr-ayuda .cr-h3 { text-align: center; font-size: clamp(24px, 3vw, 32px); }
.cr-h3 .cr-ayuda-ic { display: block; font: 400 46px/1.1 sans-serif; margin: 0 0 6px; animation: crFlota 3s ease-in-out infinite; }
.cr-discreto { opacity: .95; }
.cr-ver-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 40px 0 10px; }
@media (max-width: 640px) {
  .cr-ver { padding-top: 76px; }
  .cr-resp-reyes span { width: 74px; height: 74px; }
  .cr-resp-reyes span:only-child { width: 110px; height: 110px; }
  .cr-resp-reyes { margin-top: -70px; }
  .cr-lacre-carta, .cr-lacre-resp { width: 64px; height: 64px; }
}

/* ═══ 5 de enero: la escena del seguimiento (llega a palacio · lo está leyendo · LEÍDA · ya han pasado) ═══ */
.cr-mia.cr-con-resp .cr-ver-cab, .cr-mia.cr-con-resp #crAbrirResp { display: none !important; }
.cr-con-resp .cr-seg { margin: 10px auto 26px; }
.cr-seg-escena { padding-top: 26px; }
.cr-esc5 { position: relative; text-align: center; padding: 6px 6px 22px; margin: 0 0 18px; animation: crEntra .8s ease both; }
.cr-seg-escena .cr-esc5:last-child { margin-bottom: 0; padding-bottom: 6px; }
.cr-esc5 + .cr-seg-t { border-top: 1px solid rgba(243, 207, 116, .2); padding-top: 18px; }
.cr-es-ante { margin: 14px 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-txt); opacity: .85; }
.cr-es-h { margin: 0 0 8px; font: 700 clamp(24px, 4.4vw, 36px)/1.15 'Cinzel', serif; color: #fff4d2; text-shadow: 0 2px 18px rgba(243, 207, 116, .45); }
.cr-es-p { margin: 0 auto 4px; max-width: 34em; font-size: 16px; opacity: .92; }
.cr-es-abrir { margin-top: 18px; animation: crBrilla 2s ease-in-out infinite; }
/* Retratos */
.cr-es-rey { display: block; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%; background: #142a6b center/cover; border: 3px solid var(--oro); box-shadow: 0 0 0 8px rgba(243, 207, 116, .12), 0 0 40px rgba(243, 207, 116, .45); }
.cr-es-reyes { display: flex; justify-content: center; }
.cr-es-reyes span { width: 92px; height: 92px; margin: 0 -10px; border-radius: 50%; background: #142a6b center/cover; border: 3px solid var(--oro); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.cr-es-reyes span:nth-child(2) { transform: translateY(-10px) scale(1.08); z-index: 1; }
/* El sobre de la carta */
.cr-es-sobre { position: relative; display: block; width: 150px; height: 96px; margin: -14px auto 0; border-radius: 6px; background: linear-gradient(160deg, #fbf1d9, #e9d4a6); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); overflow: visible; z-index: 2; }
.cr-es-solapa { position: absolute; inset: 0 0 auto; height: 58px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, #f3e3bd, #dcc08a); border-radius: 6px 6px 0 0; }
.cr-es-lacre { position: absolute; left: 50%; top: 44px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0473c, #9e1a14 70%); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.es-palacio .cr-es-sobre { animation: crSgFlota 3s ease-in-out infinite; }
/* Leyendo: vela y pergamino */
.es-leyendo { padding-top: 10px; }
.cr-es-vela { position: absolute; left: calc(50% + 78px); top: 70px; width: 14px; height: 46px; border-radius: 3px; background: linear-gradient(90deg, #f6ecd3, #fff, #e6d7b0); }
.cr-es-vela i { position: absolute; left: 50%; bottom: 100%; width: 12px; height: 22px; margin-left: -6px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 70%, #fff7c2, #ffb52e 55%, rgba(255, 120, 0, 0) 75%); box-shadow: 0 0 26px 10px rgba(255, 190, 80, .45); transform-origin: 50% 100%; animation: crLlama .9s ease-in-out infinite alternate; }
@keyframes crLlama { 0% { transform: scale(1, 1) rotate(-3deg); opacity: .9; } 50% { transform: scale(.92, 1.12) rotate(2deg); } 100% { transform: scale(1.05, .94) rotate(-1deg); opacity: 1; } }
.cr-es-perg { position: relative; display: block; width: 130px; height: 88px; margin: -18px auto 0; padding: 14px 16px; border-radius: 4px; background: linear-gradient(180deg, #fbf3dc, #ecd8a8); box-shadow: 0 10px 26px rgba(0, 0, 0, .45); z-index: 2; transform: rotate(-3deg); }
.cr-es-perg i { display: block; height: 5px; margin: 0 0 9px; border-radius: 3px; background: rgba(90, 61, 30, .35); width: 100%; transform-origin: left; animation: crLinea 4s ease-in-out infinite; }
.cr-es-perg i:nth-child(2) { width: 85%; animation-delay: 1s; } .cr-es-perg i:nth-child(3) { width: 92%; animation-delay: 2s; } .cr-es-perg i:nth-child(4) { width: 60%; animation-delay: 3s; }
@keyframes crLinea { 0%, 100% { background: rgba(90, 61, 30, .3); } 12% { background: #c8921f; box-shadow: 0 0 8px rgba(243, 207, 116, .9); } 25% { background: rgba(90, 61, 30, .3); } }
.cr-es-pts i { font-style: normal; animation: crPunto 1.4s infinite; opacity: 0; }
.cr-es-pts i:nth-child(2) { animation-delay: .2s; } .cr-es-pts i:nth-child(3) { animation-delay: .4s; }
@keyframes crPunto { 30%, 70% { opacity: 1; } }
/* LEÍDA: el sello dorado cae sobre el sobre */
.es-leida::before { content: ""; position: absolute; left: 50%; top: 10px; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 207, 116, .28), rgba(243, 207, 116, 0) 65%); animation: crHalo 3s ease-in-out infinite; pointer-events: none; }
.es-leida .cr-es-sobre { width: 190px; height: 122px; }
.es-leida .cr-es-solapa { height: 74px; } .es-leida .cr-es-lacre { top: 58px; }
.cr-es-sello { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e2b54a 45%, #a8741a 100%); color: #5a3a08; border: 3px double #fff4cf; box-shadow: 0 0 0 4px rgba(168, 116, 26, .5), 0 10px 30px rgba(0, 0, 0, .5), 0 0 50px rgba(243, 207, 116, .8);
  transform: rotate(-14deg); animation: crSello 1.3s cubic-bezier(.3, 1.4, .5, 1) both .3s; }
.cr-es-sello b { font: 700 24px/1 'Cinzel', serif; letter-spacing: .06em; }
.cr-es-sello small { font: 700 9px/1.2 'Cinzel', serif; max-width: 92px; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
@keyframes crSello { 0% { opacity: 0; transform: translateY(-120px) scale(3) rotate(-40deg); } 70% { opacity: 1; transform: translateY(0) scale(.92) rotate(-12deg); } 85% { transform: scale(1.06) rotate(-15deg); } 100% { opacity: 1; transform: rotate(-14deg); } }
.es-leida .cr-es-sobre.leida { animation: crGolpe .35s ease 1.2s; }
@keyframes crGolpe { 40% { transform: translateY(5px) scale(.98); } }
.es-leida .cr-es-ante, .es-leida .cr-es-h, .es-leida .cr-es-p, .es-leida .cr-es-abrir { animation: crEntra .7s ease both 1.6s; }
.es-leida .cr-es-abrir { animation: crEntra .7s ease both 1.9s, crBrilla 2s ease-in-out infinite 2.6s; }
/* 6 de enero */
.es-pasado { padding: 150px 16px 26px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(6, 16, 46, .15) 0, rgba(6, 16, 46, .82) 38%, rgba(6, 16, 46, .96)), var(--fondo) center 30%/cover; }
@media (max-width: 600px) {
  .cr-es-rey { width: 108px; height: 108px; }
  .cr-es-reyes span { width: 76px; height: 76px; }
  .cr-es-vela { left: calc(50% + 62px); top: 56px; }
  .es-leida::before { width: 280px; height: 280px; margin-left: -140px; }
}
@media (prefers-reduced-motion: reduce) { .cr-esc5 *, .cr-esc5, .cr-esc5::before { animation: none !important; } }

/* Los niños no ven nada comercial: en su propio móvil (cr-mia) y en una carta de niño. La familia sí. */
.cr-mia.via-nino .cr-comercial { display: none !important; }
.cr-aviso { display: inline-block; margin: 14px 0 0; padding: 10px 16px; border-radius: 14px; background: rgba(6, 16, 46, .6); border: 1px solid rgba(243, 207, 116, .4); font-size: 15px; }
.cr-fecha { margin: 0 0 2px; text-align: right; font: 500 clamp(20px, 2.6vw, 26px)/1.1 'Caveat', cursive; color: var(--tinta2, #5a3d1e); opacity: .9; }
.cr-resp-fecha { text-align: center; margin: -8px 0 16px; }
.cr-guardar-resp { text-align: center; margin: 22px auto 6px; }
.cr-guardar-resp small { display: block; margin-top: 8px; font-size: 13px; opacity: .75; }
/* Música encendida pero aún sin sonar (falta el primer toque): el botón late para que se vea */
.cr-musica.espera { animation: crMusEspera 1.6s ease-in-out infinite; }
@keyframes crMusEspera { 50% { box-shadow: 0 0 0 6px rgba(243, 207, 116, .25), 0 0 18px rgba(243, 207, 116, .55); } }

/* ═══ Barra superior fija: fondo amarillo anaranjado para que destaque; logo a la izquierda; «Especial Navidad» y «Música» a la derecha ═══ */
.cr-top { position: fixed; top: 0; background: linear-gradient(180deg, #ffd25e, #f6a72a); box-shadow: 0 4px 18px rgba(0, 0, 0, .3); padding-top: 9px; padding-bottom: 9px; transition: box-shadow .3s; }
.cr-top.fija { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.cr-top .cr-logo { background: #fff; box-shadow: 0 2px 8px rgba(120, 60, 0, .3); }
.cr-top .cr-logo img { height: 30px; }
.cr-top .cr-top-l { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #fff; opacity: 1; background: #10235c; backdrop-filter: none; box-shadow: 0 2px 8px rgba(80, 40, 0, .3); }
.cr-top .cr-top-l:hover { background: #1a3380; }
.cr-top .cr-musica { white-space: nowrap; background: rgba(255, 255, 255, .55); color: #10235c; border: 2px solid #10235c; backdrop-filter: none; }
.cr-top .cr-musica[aria-pressed="true"] { background: #10235c; color: #ffd25e; border-color: #10235c; }
.cr-top .cr-musica.espera { animation: crMusEspera2 1.6s ease-in-out infinite; }
@keyframes crMusEspera2 { 50% { box-shadow: 0 0 0 5px rgba(16, 35, 92, .25); } }
/* Hueco para que la barra no tape el principio de la página */
.crb { padding-top: 0; }
.cr-hero, .cr-ver-cab:first-of-type { scroll-margin-top: 70px; }
@media (max-width: 480px) {
  .cr-top { gap: 8px; padding: 7px 10px; }
  .cr-logo { padding: 5px 9px; } .cr-top .cr-logo img { height: 24px; }
  .cr-top-l span { display: none; }
  .cr-top .cr-top-l, .cr-top .cr-musica { padding: 6px 10px; font-size: 13px; }
}
@media (max-width: 400px) { .cr-mus-m { display: none; } }
