:root {
  /* Paleta pastel (referencias: Spun Sugar, Prism Pink, Taffy, Lemon Sorbet, Seafair) */
  --ink: #5a4a6b;          /* ciruela suave para texto */
  --ink-soft: #8d7ea0;
  --cream: #fffaf3;
  --card: #fffdf9;
  --line: #efe3ec;
  --girl: #f4adcf;
  --boy: #a9d3ea;
  --lilac: #cdb8e6;
  --lemon: #fbf1b3;
  --mint: #bfe8dc;
  --peach: #f7d3bd;
  --beige: #eadccb;
  --radius: 28px;
  --shadow: 0 14px 40px rgba(122, 96, 150, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #f3eefa;
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
/* Fondo: degradado pastel + cuadritos gingham muy suaves */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(244, 173, 207, .13) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, rgba(169, 211, 234, .16) 0 22px, transparent 22px 44px),
    linear-gradient(165deg, #e8e1fa 0%, #e2f3f0 34%, #fdf7dc 64%, #fbe1ee 100%);
}
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
h2 { font: 600 1.75rem 'Lora', serif; text-align: center; }
h3 { font: 600 1.15rem 'Lora', serif; margin-top: 1.2em; }
[hidden] { display: none !important; }

/* Guirnalda de globos */
.garland { height: 120px; overflow: hidden; pointer-events: none; }
.garland svg { display: block; width: 100%; height: 100%; }
.garland .b { transform-box: fill-box; transform-origin: center bottom; animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(5px) rotate(1.5deg); } }

.lang-btn {
  position: fixed; top: 12px; right: 12px; z-index: 900;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--ink);
  border-radius: 999px; padding: 6px 15px; font: 700 .9rem 'Quicksand', sans-serif; cursor: pointer;
  box-shadow: 0 4px 14px rgba(122, 96, 150, .18);
}

main { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; }

/* Hero */
.hero {
  position: relative; text-align: center; margin-top: -26px;
  background: rgba(255, 253, 249, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 40px; padding: 34px 20px 30px; box-shadow: var(--shadow);
}
.photo {
  width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 0 0 6px var(--lemon), var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.parents { font: italic 500 1.05rem 'Lora', serif; color: var(--ink-soft); margin: 0; }
.hero h1 {
  font: 400 clamp(3.6rem, 15vw, 5.6rem) 'Great Vibes', cursive;
  color: var(--ink); margin: 0; line-height: 1.15;
}
.subtitle, .board-caps {
  font: 600 .95rem 'Lora', serif; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 16px;
}
.welcome { max-width: 540px; margin: 0 auto 10px; white-space: pre-line; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .74rem; color: var(--ink-soft); margin: 0 0 10px; }

.countdown-box { margin-top: 20px; }
.countdown { display: flex; justify-content: center; gap: 10px; }
.countdown div {
  border-radius: 22px; width: 80px; padding: 12px 0 8px;
  display: flex; flex-direction: column; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .04);
}
.countdown .c1 { background: var(--lilac); } .countdown .c2 { background: var(--boy); }
.countdown .c3 { background: var(--mint); } .countdown .c4 { background: var(--girl); }
.countdown b { font: 700 2rem 'Lora', serif; line-height: 1; color: #fff; text-shadow: 0 1px 6px rgba(90, 74, 107, .25); }
.countdown span { font-size: .74rem; font-weight: 700; color: rgba(90, 74, 107, .75); }
.when { font-weight: 700; margin: 14px 0 0; font-size: .95rem; }

.duck { position: absolute; right: -8px; bottom: -30px; width: 110px; pointer-events: none; }
.duck svg { width: 100%; display: block; animation: waddle 2.6s ease-in-out infinite; transform-origin: bottom center; }
@keyframes waddle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.result-banner {
  margin-top: 22px; padding: 26px 18px; border-radius: 30px;
  background: var(--res, #eee); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .7);
}
.result-text { font: 400 clamp(3.4rem, 14vw, 5rem) 'Great Vibes', cursive; margin: 0; line-height: 1.1; }
.winners { margin: 8px auto 14px; max-width: 520px; font-weight: 700; }

/* Tarjetas con borde de betún (scallop) */
.card, .board {
  position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 20px 26px; margin-top: 38px;
}
.card::before, .board::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: -11px; height: 12px;
  background: radial-gradient(circle at 11px 12px, var(--card) 10.5px, transparent 11px) 0 0 / 22px 12px repeat-x;
}
.hint { color: var(--ink-soft); font-size: .9rem; }
.center { text-align: center; }
.error { color: #d0587f; font-weight: 700; min-height: 1em; margin: 6px 0 0; }

label { display: block; margin-top: 14px; font-weight: 700; }
label > span { display: block; font-size: .92rem; margin-bottom: 5px; }
input, textarea, select {
  width: 100%; font: 600 1rem 'Quicksand', sans-serif; color: var(--ink);
  border: 2px solid var(--line); border-radius: 18px; padding: 12px 15px; background: var(--cream);
}
input::placeholder, textarea::placeholder { color: #b9adc4; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(205, 184, 230, .3); }
input[type=color] { height: 48px; padding: 4px; }
input[type=file] { padding: 9px; }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--lilac); color: var(--ink); font: 700 1rem 'Quicksand', sans-serif;
  padding: 13px 24px; border-radius: 999px; margin-top: 16px;
  box-shadow: 0 6px 0 #b39ad3, 0 10px 20px rgba(122, 96, 150, .18);
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b39ad3; }
.btn-big { width: 100%; font-size: 1.15rem; padding: 16px; }
.btn-gold { background: var(--lemon); box-shadow: 0 6px 0 #e6d77f; }
.btn-ghost { background: #fff; box-shadow: 0 4px 0 var(--line); }
.btn-small { padding: 6px 14px; margin: 0; font-size: .85rem; box-shadow: none; }
.btn:disabled { opacity: .5; cursor: default; }
.link-btn { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 4px 0; }

/* Moños */
.bow { display: inline-block; width: 64px; height: 44px; }
.bow svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Votar */
.teams-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-pick { margin: 0; cursor: pointer; }
.team-pick { position: relative; }
.team-pick input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.team-pick > span {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 3px dashed var(--line); border-radius: 24px; padding: 18px 8px 14px; background: var(--cream);
  transition: transform .15s, border-color .15s, background .15s;
}
.team-pick .bow { width: 78px; height: 54px; transition: transform .2s; }
.team-pick:hover .bow { transform: rotate(-6deg) scale(1.05); }
.team-pick b { font: 600 1.15rem 'Lora', serif; }
.team-pick.girl input:checked + span { border: 3px solid var(--girl); background: color-mix(in srgb, var(--girl) 22%, #fff); transform: scale(1.03); }
.team-pick.boy input:checked + span { border: 3px solid var(--boy); background: color-mix(in srgb, var(--boy) 24%, #fff); transform: scale(1.03); }
.team-pick input:focus-visible + span { outline: 3px solid var(--lilac); }

.place-wrap { position: relative; }
.place-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20; list-style: none; margin: 4px 0 0; padding: 6px;
  background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(90, 74, 107, .2); max-height: 260px; overflow: auto;
}
.place-list li { padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 700; }
.place-list li small { color: var(--ink-soft); font-weight: 600; }
.place-list li:hover, .place-list li.active { background: #f6f0fb; }

.voted { text-align: center; padding: 6px 0; }
.voted .bow { width: 96px; height: 66px; animation: pop .7s ease both; }

/* Tablero "Él o Ella" (como el letrero con moños) */
.board {
  --card: #f4e9e3;
  background: linear-gradient(180deg, #f4e9e3, #efe1da);
  text-align: center;
}
.board-script { font: 400 clamp(2.8rem, 11vw, 3.8rem) 'Great Vibes', cursive; margin: 0; line-height: 1.1; }
.board-caps { margin-bottom: 18px; }
.score-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .6); max-width: 460px; margin: 0 auto; }
.bar { transition: width .6s ease; width: 50%; }
.bar.girl { background: var(--girl); }
.bar.boy { background: var(--boy); }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.teams > div:first-child { border-right: 2px dashed rgba(90, 74, 107, .15); }
.team-head { font: 600 1.3rem 'Lora', serif; letter-spacing: .12em; margin: 4px 0 10px; }
.team-head b { font: 700 .9rem 'Quicksand', sans-serif; letter-spacing: 0; background: #fff; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.team-list { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.team-list li { width: 92px; display: flex; flex-direction: column; align-items: center; font-size: .8rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.team-list li .bow { width: 58px; height: 40px; margin-bottom: 2px; }
.team-list li:nth-child(odd) .bow { transform: rotate(-7deg); }
.team-list li:nth-child(3n) .bow { transform: rotate(6deg); }
.team-list li small { display: block; color: var(--ink-soft); font-weight: 600; font-size: .7rem; }
.team-list li.win .bow { animation: wiggle 1.4s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(10deg) scale(1.12); } }

/* Mapa */
.map { height: 380px; border-radius: 22px; overflow: hidden; margin-top: 8px; z-index: 0; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.map .leaflet-tile-pane { filter: saturate(.45) brightness(1.08) sepia(.08) hue-rotate(-12deg); }
.map-bow { filter: drop-shadow(0 2px 3px rgba(90, 74, 107, .35)); }
.leaflet-popup-content-wrapper { border-radius: 16px; font-family: 'Quicksand', sans-serif; font-weight: 600; color: var(--ink); }

/* Mensajes: tarjetitas tipo Pantone */
.wall { columns: 2 200px; column-gap: 14px; }
.note {
  break-inside: avoid; margin: 0 0 14px; background: #fff; border-radius: 6px;
  padding: 8px 8px 12px; box-shadow: 0 6px 18px rgba(90, 74, 107, .12);
  transform: rotate(var(--rot, 0deg));
}
.note .swatch { background: var(--sw); border-radius: 3px; padding: 16px 14px; min-height: 70px; }
.note .swatch p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: .98rem; }
.note .label { padding: 8px 6px 0; }
.note .label b { display: block; font: 700 .82rem 'Quicksand', sans-serif; letter-spacing: .04em; }
.note .label small { color: var(--ink-soft); font-size: .72rem; font-weight: 600; }

.foot { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 34px; }

/* Revelación */
.overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: #e8e1fa linear-gradient(165deg, #e8e1fa 0%, #e2f3f0 40%, #fdf7dc 70%, #fbe1ee 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink); text-align: center; padding: 20px; transition: background-color .8s;
}
.overlay.res { background: var(--res); }
.stage { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; }
.stage-hint { font: 600 1.35rem 'Lora', serif; min-height: 2em; margin: 10px 0 0; }
.big-num { font: 700 9rem 'Lora', serif; line-height: 1; animation: pop .9s ease both; color: #fff; text-shadow: 0 4px 24px rgba(90, 74, 107, .3); }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 40% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } }
.reveal-text { font: 400 clamp(4.4rem, 20vw, 8rem) 'Great Vibes', cursive; line-height: 1.1; animation: pop .9s ease both; }
.reveal-sub { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin: 10px 0 0; }
.reveal-sub .bow { width: 120px; height: 84px; animation: pop 1.2s ease both; filter: drop-shadow(0 4px 10px rgba(90, 74, 107, .2)); }
.reveal-duck { width: 96px; animation: pop 1.5s ease both; }
.reveal-duck svg { width: 100%; display: block; animation: waddle 2.6s ease-in-out infinite; transform-origin: bottom center; }

.balloon-wrap { cursor: pointer; animation: float 3s ease-in-out infinite; }
.balloon {
  width: 200px; height: 245px; border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 32% 26%, #fff 0 7%, #fbe6d6 20%, #f2c6a8 72%);
  display: flex; align-items: center; justify-content: center;
  font: 700 5.5rem 'Lora', serif; color: rgba(255, 255, 255, .95); position: relative;
  box-shadow: inset -14px -18px 30px rgba(200, 140, 110, .25);
}
.balloon::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border: 10px solid transparent; border-bottom-color: #f2c6a8; }
.string { width: 2px; height: 90px; background: rgba(90, 74, 107, .35); margin: 8px auto 0; }
.balloon-wrap .balloon { transform: scale(var(--grow, 1)); transform-origin: 50% 100%; transition: transform .18s ease-out; }
.balloon-wrap.puff .balloon { animation: puff .25s ease-out; }
@keyframes puff { 40% { filter: brightness(1.06); } }
.popped { animation: burst .35s ease-out forwards; }
@keyframes burst { to { transform: scale(1.6); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-14px); } }

.pinata-wrap { cursor: pointer; }
.pinata { width: 280px; height: 280px; transition: transform .1s; }
.pinata.hit { animation: hit .35s ease; }
@keyframes hit { 25% { transform: rotate(-14deg) scale(.95); } 60% { transform: rotate(10deg); } 100% { transform: rotate(0); } }
.pinata .piece { transition: transform .9s cubic-bezier(.2, .7, .3, 1), opacity .9s; transform-box: fill-box; transform-origin: center; }
.pinata.broken .piece { opacity: 0; }
.rope { width: 3px; height: 60px; background: var(--beige); margin: 0 auto; }

/* Bienvenida (idioma → datos) */
body.no-scroll { overflow: hidden; }
.welcome-ov {
  position: fixed; inset: 0; z-index: 1500; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #e8e1fa linear-gradient(165deg, #e8e1fa 0%, #e2f3f0 40%, #fdf7dc 70%, #fbe1ee 100%);
  display: flex; justify-content: center; align-items: flex-start; padding: 24px 16px 40px;
}
.w-step { width: 100%; max-width: 460px; margin: auto; text-align: center; animation: pop .6s ease both; }
.w-duck { width: 120px; margin: 0 auto; }
.w-duck svg { width: 100%; display: block; animation: waddle 2.6s ease-in-out infinite; transform-origin: bottom center; }
.w-script { font: 400 clamp(3rem, 13vw, 4.2rem) 'Great Vibes', cursive; margin: 0; line-height: 1.05; }
.w-script-2 { color: var(--ink-soft); font-size: clamp(2.2rem, 10vw, 3rem); }
.w-caps { font: 600 .85rem 'Lora', serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 18px; }
.lang-pick { display: grid; gap: 14px; }
.lang-choice {
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  background: #fff; border: 3px solid transparent; border-radius: 24px; padding: 18px 16px;
  box-shadow: 0 6px 0 var(--line), var(--shadow); color: var(--ink); font-family: 'Quicksand', sans-serif;
  transition: transform .12s, border-color .15s;
}
.lang-choice b { font: 600 1.5rem 'Lora', serif; }
.lang-choice small { color: var(--ink-soft); font-weight: 600; }
.lang-choice:hover, .lang-choice:focus-visible { border-color: var(--lilac); transform: translateY(-2px); outline: none; }
.lang-choice:active { transform: translateY(3px); }
.w-card {
  background: var(--card); border-radius: 32px; box-shadow: var(--shadow); padding: 26px 20px 18px; text-align: left;
}
.w-card .parents, .w-title, .w-card .w-caps { text-align: center; }
.w-title { font: 400 clamp(2.8rem, 12vw, 3.6rem) 'Great Vibes', cursive; margin: 0; line-height: 1.1; }
.w-card .w-caps { margin: 4px 0 4px; }
.skip-btn { display: block; margin: 10px auto 0; }
.field-label { font-weight: 700; font-size: .92rem; margin: 18px 0 6px; }
.place-field { margin-top: 14px; }
.place-field > label { margin-top: 0; }
.place-field .hint { display: block; margin-top: 5px; font-size: .82rem; }
.geo-btn {
  margin-top: 8px; background: #fff; border: 2px dashed var(--lilac); color: var(--ink); border-radius: 999px;
  padding: 7px 14px; font: 700 .9rem 'Quicksand', sans-serif; cursor: pointer;
}
.geo-btn:disabled { opacity: .6; cursor: default; }

/* Inicio */
.landing-hero { padding-bottom: 70px; }
.landing-hero .row { margin-top: 10px; }
.btn-big-inline { font-size: 1.1rem; padding: 15px 28px; text-decoration: none; }
.page-landing .btn-ghost, .page-panel a.btn, .page-create a.btn { text-decoration: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { text-align: center; }
.feature h3 { margin: 6px 0 4px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.f-ico { font-size: 2rem; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--line); }
.how { list-style: none; padding: 0; margin: 10px auto 0; max-width: 440px; text-align: left; }
.how li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 700; }
.story { text-align: center; max-width: 560px; margin: 46px auto 0; padding: 0 8px; }
.story-text { font: italic 500 1.12rem/1.7 'Lora', serif; margin: 6px 0 0; }
.story-bows { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.story-bows .bow { width: 54px; height: 38px; }
.story-bows .heart { font-size: 1.4rem; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.cta p { margin: 0 0 6px; }
.not-found .duck, .not-found svg { width: 110px; margin: 0 auto; display: block; }

/* Crear */
.create-main { max-width: 620px; }
.create-card { margin-top: -10px; }
.create-card .dash-title { text-align: center; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 0 0 8px; }
.progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--boy), var(--lilac), var(--girl)); transition: width .4s ease; }
.c-step { border: 0; padding: 0; margin: 0; }
.c-step legend { font: 600 1.5rem 'Lora', serif; margin: 10px auto 4px; text-align: center; width: 100%; }
.c-step label .hint { display: block; margin-top: 5px; font-size: .84rem; }
.style-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.style-pick label { margin: 0; position: relative; cursor: pointer; }
.style-pick input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.style-pick span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border: 3px dashed var(--line); border-radius: 20px; background: var(--cream); text-align: center; }
.style-pick b { font-size: 1.8rem; }
.style-pick i { font-style: normal; font-size: .82rem; }
.style-pick input:checked + span { border: 3px solid var(--lilac); background: #f6f0fb; }
.style-pick input:focus-visible + span { outline: 3px solid var(--lilac); }
.check { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 2px dashed var(--line); border-radius: 20px; padding: 14px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; accent-color: #b39ad3; }
.check span { margin: 0; }
.check b { font-size: 1.05rem; }
.create-nav { justify-content: space-between; margin-top: 6px; }
.create-nav .btn { margin-top: 8px; }

/* Modo prueba y "Ya casi…" */
.test-banner {
  position: sticky; top: 0; z-index: 2500; text-align: center; padding: 8px 12px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .06em;
}
.almost { display: flex; flex-direction: column; align-items: center; }
.reveal-duck.big { width: 150px; }
.almost-title { font: 400 clamp(3.4rem, 14vw, 5rem) 'Great Vibes', cursive; margin: 6px 0 0; line-height: 1.1; }

/* Paneles privados (papás y organizadora) */
.dash-main { padding-top: 0; }
.dash-head {
  text-align: center; margin-top: -26px; padding: 26px 18px 22px; border-radius: 36px;
  background: rgba(255, 253, 249, .82); box-shadow: var(--shadow);
}
.role-chip {
  display: inline-block; margin: 0 0 6px; padding: 4px 14px; border-radius: 999px;
  background: var(--lemon); font-weight: 700; font-size: .85rem;
}
.dash-title { font: 400 clamp(2.6rem, 11vw, 3.6rem) 'Great Vibes', cursive; margin: 0; }
.dash-intro { max-width: 520px; margin: 6px auto 0; }
.step {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--lilac); color: #fff; font: 700 1rem 'Quicksand', sans-serif;
  vertical-align: 4px; margin-right: 4px;
}
.share { background: var(--cream); border: 2px dashed var(--line); border-radius: 20px; padding: 14px 16px; margin-top: 12px; }
.share-who { font: 600 1.1rem 'Lora', serif; margin: 0; }
.share .hint { margin: 2px 0 6px; }
.link-url { font-size: .85rem; word-break: break-all; background: #fff; border-radius: 12px; padding: 8px 10px; margin: 0; color: var(--ink-soft); }
.share .row { margin-top: 10px; gap: 8px; }
.btn-small { text-decoration: none; }
.btn-wa { background: var(--mint); box-shadow: none; }
.view-guest { display: block; text-align: center; margin-top: 14px; color: var(--ink); font-weight: 700; }
.center-row { justify-content: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  background: var(--cream); border-radius: 18px; padding: 12px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat b { font: 700 1.7rem 'Lora', serif; line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--ink-soft); }
.stat-teams { flex-direction: row; gap: 4px; flex-wrap: wrap; }
.stat-teams .bow { width: 30px; height: 21px; }
.stat-teams b { font-size: 1.2rem; }
.when-line { margin: 14px 0 0; }

.photo-preview img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; margin-top: 10px; border: 4px solid #fff; box-shadow: var(--shadow); }
.warn-text { display: block; color: #c0587f; font-weight: 700; }
.ok-text { color: #4f9a7d; font-weight: 700; }
.details-card summary { cursor: pointer; list-style: none; }
.details-card summary::-webkit-details-marker { display: none; }
.details-card summary h2 { margin: 0; }
.details-card summary h2::after { content: ' ▾'; color: var(--ink-soft); font-size: 1rem; }
.details-card[open] summary h2 { margin-bottom: .5em; }

.page-panel .mod-list { list-style: none; padding: 0; margin: 10px 0 0; }
.page-panel .mod-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.page-panel .mod-list li .bow { width: 34px; height: 24px; flex-shrink: 0; }
.page-panel .mod-list li span { flex: 1; overflow-wrap: anywhere; }
.page-panel .mod-list small { color: var(--ink-soft); }
.page-panel .mod-list .del {
  background: none; border: 2px solid var(--line); color: var(--ink-soft); border-radius: 999px;
  width: 32px; height: 32px; cursor: pointer; flex-shrink: 0; font-weight: 700;
}

/* Tarjeta del resultado */
.result-card .state { text-align: center; padding: 16px; border-radius: 22px; background: var(--cream); }
.result-card .state-title { font: 600 1.25rem 'Lora', serif; margin: 0 0 6px; }
.result-card .locked { background: #f1ecf8; }
.result-card .done { background: color-mix(in srgb, var(--mint) 50%, #fff); }
.result-card .confirm { background: var(--lemon); }
.result-card .row { justify-content: center; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pick {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  border: 3px dashed var(--line); border-radius: 22px; padding: 16px 8px; background: #fff;
  font: 600 1.1rem 'Lora', serif; color: var(--ink);
}
.pick .bow { width: 70px; height: 48px; }
.pick.girl:hover { border-color: var(--girl); }
.pick.boy:hover { border-color: var(--boy); }
.secret { font: 600 1.4rem 'Lora', serif; display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; transition: filter .2s; }
.secret .bow { width: 46px; height: 32px; }
.secret.masked { filter: blur(9px); }
.warn { background: #fde3ec; color: #a8436a; border-radius: 16px; padding: 12px 14px; font-weight: 700; margin: 0 0 12px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .two { grid-template-columns: 1fr; }
  .countdown { gap: 7px; }
  .countdown div { width: 68px; border-radius: 18px; }
  .countdown b { font-size: 1.65rem; }
  .map { height: 300px; }
  .card, .board { padding: 28px 14px 22px; }
  .hero { padding: 28px 14px 64px; border-radius: 32px; }
  .duck { width: 72px; right: -4px; bottom: -18px; }
  .team-list li { width: 72px; }
  .big-num { font-size: 7rem; }
  .garland { height: 96px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .style-pick { grid-template-columns: 1fr; }
  .style-pick span { flex-direction: row; justify-content: center; }
  .dash-head { border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .garland .b, .duck svg, .balloon-wrap, .team-list li.win .bow { animation: none; }
}

/* ---------- Libro de recuerdos ---------- */
.page-book { padding: 16px 16px 60px; }
.book-bar { max-width: 760px; margin: 50px auto 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.book-bar .hint { flex-basis: 100%; margin: 0; }
.book { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.book-page { background: #fffdf9; border-radius: 18px; box-shadow: var(--shadow); padding: 36px 34px; position: relative; }
.book-page h2 { font: 600 1.5rem 'Lora', serif; text-align: center; margin: 6px 0 16px; }
.book-page h2 + * { margin-top: 0; }
.book-cover { text-align: center; padding: 56px 30px; background: linear-gradient(180deg, #f6f0fb, #fffdf9 60%); }
.book-cover h1 { font: 400 clamp(3rem, 9vw, 4.6rem) 'Great Vibes', cursive; margin: 0; }
.book-cover .board-script { margin: 4px 0; }
.book-duck { width: 120px; margin: 0 auto 6px; }
.book-duck svg { width: 100%; display: block; }
.book-loved { font: italic 500 1.15rem 'Lora', serif; max-width: 460px; margin: 18px auto 0; }
.book-small { font-size: .9rem; color: var(--ink-soft); }
.book-result { background: var(--res); border-radius: 22px; padding: 22px; text-align: center; color: #fff; margin: 0 auto 8px; max-width: 420px; }
.book-result .bow { width: 70px; height: 48px; display: inline-block; }
.book-result p { font: 400 3.2rem 'Great Vibes', cursive; margin: 0; text-shadow: 0 2px 8px rgba(90, 74, 107, .2); }
.book-teams { display: flex; justify-content: center; gap: 40px; text-align: center; margin-top: 4px; }
.book-teams div { display: grid; justify-items: center; }
.book-teams .bow { width: 54px; height: 38px; }
.book-teams b { font: 700 2rem 'Lora', serif; }
.book-teams span { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.book-bar-votes { margin: 14px auto; max-width: 420px; }
.book-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 460px; margin: 0 auto; }
.book-two ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; text-align: center; }
.book-two li { padding: 2px 0; }
.book-map { height: 360px; }
.book-places { list-style: none; padding: 0; margin: 16px 0 0; font-size: .9rem; display: grid; gap: 6px; }
.book-places small { color: var(--ink-soft); }
.book-msgs .note { break-inside: avoid; }
.book-end { text-align: center; margin: 30px 0 4px; font-size: 2rem; }
@media (max-width: 560px) {
  .book-page { padding: 26px 18px; }
  .book-teams { gap: 24px; }
}
@media print {
  @page { size: A4; margin: 14mm; }
  body, .page-book { background: #fff !important; padding: 0; }
  body::before, .garland, .no-print, .lang-btn { display: none !important; }
  .book { display: block; max-width: none; }
  .book-page { background: none; box-shadow: none; border-radius: 0; padding: 0 0 10mm; break-after: page; }
  .book-page:last-child { break-after: auto; }
  .book-cover { min-height: 240mm; display: flex; flex-direction: column; justify-content: center; background: none; }
  .book-map { height: 110mm; border: 0; box-shadow: none; }
  .leaflet-control-container { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.book-bar-votes { background: #f1ecf6; }

/* ---------- Recuperar mis links ---------- */
.rec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rec-list li { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 14px 16px; }
.rec-list .role-chip { margin: 0 0 6px; }
.rec-title { font: 600 1.1rem 'Lora', serif; margin: 0; }
.rec-title span { font: italic 500 1rem 'Lora', serif; color: var(--ink-soft); }
.rec-list .hint { margin: 2px 0 8px; }
.rec-list .row { align-items: center; }
.page-recover .btn-ghost { text-decoration: none; }
.foot a { color: var(--ink-soft); }
.rec-list .btn-ghost { box-shadow: 0 0 0 2px var(--line); }

/* =====================================================================
   LAZOS · diseño nuevo (ciruela, crema, cuadritos y peluches)
   Va al final para ganarle a los estilos de arriba.
   ===================================================================== */
:root {
  --plum: #6d4f7b; --plum-2: #8a6a98; --plum-dark: #4a3454;
  --ink: #4a3454; --ink-soft: #85708f;
  --cream: #fffaf6; --card: #fffcf9; --line: #ecdfe4;
  --sand: #f3e4d6; --peach-soft: #f8e7da; --gold: #e0a35a; --lav: #f4ecf6;
  --radius: 28px; --shadow: 0 18px 44px rgba(109, 79, 123, .10);
  --check-c: rgba(222, 196, 170, .42); --check-bg: #fbf1e7;
}
body { background: #fbf6f2; font-weight: 600; }
body::before {
  background:
    radial-gradient(60% 40% at 10% 0%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(50% 35% at 90% 8%, rgba(255, 255, 255, .8), transparent 70%),
    linear-gradient(180deg, #f6eef0 0%, #fbf6f2 40%, #fbf6f2 100%);
}
h2 { color: var(--plum-dark); }
a { color: var(--plum); }

/* Títulos: adiós letra manuscrita, hola serif suave */
.hero h1, .w-title, .dash-title, .book-cover h1 { font: 600 clamp(2.4rem, 8vw, 3.6rem)/1.08 'Lora', serif; color: var(--plum-dark); }
.board-script, .w-script, .almost-title, .result-text, .book-end { font: 600 clamp(2rem, 7vw, 2.8rem)/1.15 'Lora', serif; color: var(--plum-dark); }
.w-script-2 { font-style: italic; font-size: clamp(1.5rem, 6vw, 2rem); color: var(--ink-soft); }
.reveal-text { font: 700 clamp(3rem, 14vw, 5.6rem)/1.05 'Lora', serif; }
.book-result p { font: 700 2.6rem 'Lora', serif; }
.subtitle, .board-caps { font-family: 'Quicksand', sans-serif; letter-spacing: .16em; }

/* Botones */
.btn {
  background: var(--plum); color: #fff; font: 700 1rem 'Quicksand', sans-serif;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 8px 18px rgba(109, 79, 123, .28);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .14), 0 3px 8px rgba(109, 79, 123, .25); }
.btn .ico { width: 20px; height: 20px; }
.btn-ghost, .btn-outline { background: #fff; color: var(--plum-dark); box-shadow: inset 0 0 0 2px var(--plum), 0 6px 14px rgba(109, 79, 123, .10); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-wa { background: #e5f5ec; color: #2f7a52; box-shadow: none; }
.btn-small { box-shadow: none; padding: 7px 14px; }
.btn-ghost.btn-small { box-shadow: inset 0 0 0 2px var(--line); }
.link-btn { color: var(--plum); }
input, textarea, select { background: #fff; border: 2px solid #e6d9e8; border-radius: 16px; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--plum-2); box-shadow: 0 0 0 4px rgba(138, 106, 152, .15); }
.ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Tarjetas: limpias, sin borde de betún */
.card, .board { background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); }
.card::before, .board::before { display: none; }
.board { background: linear-gradient(180deg, #fff8f3, #f8ece3); }
.step { background: var(--plum); }
.role-chip { background: #f6e6d4; color: var(--plum-dark); }

/* ---------- Encabezado ---------- */
.site-head {
  position: sticky; top: 0; z-index: 800; display: flex; align-items: center; gap: 18px;
  padding: 12px max(16px, 4vw); background: rgba(251, 246, 242, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(236, 223, 228, .8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum-dark); }
.brand .logo-bow { width: 64px; height: 34px; color: var(--plum); }
.brand span { font: 600 2rem/1 'Lora', serif; letter-spacing: -.01em; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a.on, .site-nav a:hover { border-bottom-color: var(--plum); }
.head-gap { margin-left: auto; }
.head-tools { display: flex; align-items: center; }
.lang-btn, .site-head .lang-btn {
  position: static; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink-soft);
  border: 1.5px solid var(--line); box-shadow: 0 4px 12px rgba(109, 79, 123, .08); padding: 8px 16px; font-weight: 600;
}
.lang-btn .ico { width: 20px; height: 20px; color: var(--plum-dark); }
.lang-btn b { font-weight: 600; } .lang-btn b.on { color: var(--plum-dark); font-weight: 700; }
.btn-head { margin: 0; padding: 11px 22px; }
body > .lang-btn { position: fixed; top: 12px; right: 12px; z-index: 900; }

/* ---------- Ondas de cuadritos ---------- */
.wave-band {
  position: relative; height: 66px;
  background:
    repeating-linear-gradient(0deg, var(--check-c) 0 11px, transparent 11px 22px),
    repeating-linear-gradient(90deg, var(--check-c) 0 11px, transparent 11px 22px), var(--check-bg);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 66' preserveAspectRatio='none'><path d='M0 16 C70 0 130 30 200 16 S330 0 400 16 V52 C330 66 270 38 200 52 S70 66 0 52Z'/></svg>") 0 0 / 400px 100% repeat-x;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 66' preserveAspectRatio='none'><path d='M0 16 C70 0 130 30 200 16 S330 0 400 16 V52 C330 66 270 38 200 52 S70 66 0 52Z'/></svg>") 0 0 / 400px 100% repeat-x;
}
.band-heart { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--gold); }
.band-heart .ico { width: 34px; height: 34px; }

/* Blob suave detrás de los íconos */
.blob {
  display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 78px; color: var(--plum);
  background: radial-gradient(circle at 50% 45%, #fbeee3 0 55%, #f6e3d3 100%);
  border-radius: 48% 52% 46% 54% / 55% 46% 54% 45%;
}
.blob .ico { width: 38px; height: 38px; }
.blob.big { width: 132px; height: 122px; background: radial-gradient(circle, #fff 0 52%, #f8ebe1 100%); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .5); }
.blob.big .ico { width: 58px; height: 58px; }
.blob.small { width: 52px; height: 48px; } .blob.small .ico { width: 26px; height: 26px; }

.with-sparks { display: inline-flex; align-items: center; gap: 14px; }
.sparks { width: 30px; height: 30px; color: var(--gold); transform: scaleX(-1); flex-shrink: 0; }
.sparks.flip { transform: none; }

/* ---------- Inicio ---------- */
.page-landing main { max-width: none; padding: 0; }
.l-hero { position: relative; background: radial-gradient(40% 50% at 8% 30%, #fff 0, transparent 70%), radial-gradient(30% 30% at 70% 10%, #fff 0, transparent 70%), linear-gradient(180deg, #efe6ea, #f6ede9 70%, #fbf6f2); }
.l-hero-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 10px; padding: 34px 24px 0; }
.l-hero-text { text-align: center; }
.l-logo .logo-bow { width: 230px; height: 120px; color: var(--plum-dark); }
.l-brand { font: 600 clamp(4rem, 10vw, 6.4rem)/.9 'Lora', serif; color: var(--plum-dark); margin: -8px 0 10px; letter-spacing: -.02em; }
.l-tagline { font: italic 500 clamp(1.5rem, 3.4vw, 2.3rem) 'Lora', serif; color: var(--plum-dark); margin: 0 0 18px; }
.l-sub { font-size: 1.15rem; font-weight: 500; max-width: 470px; margin: 0 auto 26px; color: var(--ink); }
.l-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.l-ctas .btn { margin: 0; padding: 16px 34px; font-size: 1.08rem; }
.l-hero-art { position: relative; }
.l-hero-art img { width: 100%; height: auto; display: block;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 48%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 48%, #000 62%, transparent 100%); }
.float-heart { position: absolute; top: 4%; right: 6%; color: var(--gold); animation: floaty 4s ease-in-out infinite; }
.float-heart .ico { width: 44px; height: 44px; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-8deg); } }
.l-hero .wave-band { margin-top: -26px; }

.l-feats { max-width: 1160px; margin: 0 auto; padding: 34px 24px 46px; display: grid; grid-template-columns: repeat(4, 1fr); }
.l-feat { text-align: center; padding: 0 18px; }
.l-feat + .l-feat { border-left: 1px solid var(--line); }
.l-feat h3 { font: 700 1.18rem 'Quicksand', sans-serif; color: var(--plum-dark); margin: 16px 0 8px; }
.l-feat p { margin: 0; font-weight: 500; }

.l-how { background: linear-gradient(180deg, #f8eeee, #fbf3ef); padding: 54px 24px 40px;
  border-radius: 50% 50% 0 0 / 46px 46px 0 0; }
.l-h2 { font: 600 clamp(2rem, 5vw, 3rem) 'Lora', serif; color: var(--plum-dark); text-align: center; margin: 0 0 30px; }
.l-h2.left { text-align: left; }
.l-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1060px; display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: start; text-align: center; }
.l-steps h3 { font: 700 1.3rem 'Quicksand', sans-serif; color: var(--plum-dark); margin: 20px 0 6px; }
.l-steps p { margin: 0; font-size: 1.08rem; font-weight: 500; }
.l-steps .arrow { color: var(--plum-2); padding-top: 52px; }
.l-steps .arrow .ico { width: 34px; height: 34px; }

.l-story { max-width: 1060px; margin: 0 auto; padding: 50px 24px 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.l-story-art { display: flex; justify-content: center; }
.l-story-art img { width: 48%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); }
.l-story-art img + img { margin-left: -6%; margin-top: 10%; }
.l-story-text { font: italic 500 1.18rem/1.7 'Lora', serif; margin: 0 0 18px; }
.l-more { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.l-more li { display: flex; gap: 14px; align-items: center; }
.l-more b { display: block; color: var(--plum-dark); }
.l-more small { font-weight: 500; font-size: .95rem; }

.l-cta { max-width: 860px; margin: 40px auto 0; background: var(--card); border-radius: 36px; box-shadow: var(--shadow); display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 20px; padding: 20px 34px 20px 10px; }
.l-cta img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.l-cta .l-h2 { text-align: left; margin-bottom: 8px; font-size: 2rem; }
.l-cta p { margin: 0 0 6px; font-weight: 500; }
.page-landing .foot { padding: 20px 16px 30px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .l-hero-in { grid-template-columns: 1fr; padding-top: 20px; }
  .l-hero-art { max-width: 460px; margin: 0 auto; }
  .l-feats { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .l-feat:nth-child(3) { border-left: 0; }
  .l-steps { grid-template-columns: 1fr; gap: 24px; }
  .l-steps .arrow { display: none; }
  .l-story { grid-template-columns: 1fr; gap: 10px; }
  .l-h2.left { text-align: center; }
}
@media (max-width: 560px) {
  .site-head { gap: 10px; padding: 10px 14px; }
  .brand .logo-bow { width: 46px; height: 26px; } .brand span { font-size: 1.6rem; }
  .btn-head span { display: none; } .btn-head { padding: 10px 14px; }
  .lang-btn, .site-head .lang-btn { padding: 7px 11px; font-size: .85rem; }
  .l-logo .logo-bow { width: 160px; height: 84px; }
  .l-ctas .btn { width: 100%; }
  .l-feat { padding: 0 8px; }
  .l-feat h3 { font-size: 1.02rem; }
  .l-feat p { font-size: .9rem; }
  .l-cta { grid-template-columns: 1fr; text-align: center; padding: 10px 20px 26px; margin: 30px 16px 0; }
  .l-cta img { width: 150px; margin: 0 auto; }
  .l-cta .l-h2 { text-align: center; }
}

/* ---------- Crear (3 pasos) ---------- */
.page-create { --check-c: rgba(205, 184, 230, .38); --check-bg: #f6eef9; }
.page-create::before, .page-create { background: #f8eff6; }
body.page-create::before {
  background:
    radial-gradient(28% 18% at 6% 22%, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(26% 16% at 92% 18%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(30% 14% at 80% 96%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #faf1f7 0%, #f4ebf7 60%, #f8eef6 100%);
}
.wiz-head { gap: 14px; }
.stepper { list-style: none; display: flex; align-items: flex-start; margin: 0 auto; padding: 0; gap: 0; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; position: relative; font-weight: 600; font-size: .95rem; color: var(--ink); }
.stepper li + li::before { content: ''; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--plum-2); opacity: .6; z-index: 0; margin-right: 18px; }
.stepper i { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 1rem 'Quicksand', sans-serif; font-style: normal; border: 2px solid var(--plum-2); color: var(--plum-dark); background: #fff; }
.stepper li.on i, .stepper li.done i { background: var(--plum); border-color: var(--plum); color: #fff; }
.stepper .ico { width: 18px; height: 18px; }
.btn-save { margin: 0; padding: 10px 22px; }
.wiz { max-width: 1100px; margin: 0 auto; padding: 30px 20px 50px; }
.wiz-title { text-align: center; font: 600 clamp(2.1rem, 5.4vw, 3.4rem)/1.1 'Lora', serif; color: var(--plum-dark); margin: 10px 0 8px; }
.wiz-title .sparks { color: #e9a3bd; }
.wiz-sub { text-align: center; font-size: 1.15rem; font-weight: 500; margin: 0 0 26px; }
.wiz-grid { display: grid; grid-template-columns: 330px 1fr; gap: 18px; align-items: center; }
.wiz-grid.three { grid-template-columns: 200px 1fr 200px; }
.wiz-art { position: relative; }
.wiz-art img { width: 100%; height: auto; display: block;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.art-heart { position: absolute; top: 2%; left: 30%; color: #e9a3bd; } .art-heart .ico { width: 42px; height: 42px; }
.wiz-card { background: rgba(255, 252, 249, .94); border-radius: 34px; box-shadow: var(--shadow); padding: 28px 32px 26px; }
.wiz-card label { margin-top: 16px; }
.wiz-card label > span, .field-label { font-weight: 700; color: var(--plum-dark); font-size: 1rem; }
.field-label { margin: 18px 0 8px; } .field-label.first { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ico-input { position: relative; display: block; }
.ico-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--plum-dark); pointer-events: none; }
.ico-input > i .ico { width: 22px; height: 22px; }
.ico-input input, .ico-input select { padding-left: 46px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3454' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.with-ico { display: flex; align-items: center; gap: 8px; } .with-ico .ico { width: 18px; height: 18px; }
.pill-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; }
.pill-pick.three { grid-template-columns: repeat(3, 1fr); max-width: none; }
.pill-pick label { margin: 0; position: relative; cursor: pointer; }
.pill-pick input, .theme-pick input, .pal-pick input, .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-pick span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 12px; border-radius: 999px; border: 2px solid var(--plum-2); background: #fff; font-weight: 600; text-align: center; font-size: .95rem; }
.pill-pick span i { display: none; } .pill-pick span .ico { width: 18px; height: 18px; }
.pill-pick input:checked + span { background: linear-gradient(180deg, #8a6a98, #74578a); color: #fff; border-color: transparent; }
.pill-pick input:checked + span i { display: inline-flex; }
.pill-pick input:focus-visible + span, .theme-pick input:focus-visible + span, .pal-pick input:focus-visible + span { outline: 3px solid var(--plum-2); outline-offset: 2px; }
.feat-strip { list-style: none; margin: 34px 0 0; padding: 22px 10px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 252, 249, .9); border-radius: 30px; box-shadow: var(--shadow); }
.feat-strip li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; color: var(--plum-dark); }
.feat-strip li + li { border-left: 1px solid var(--line); }
.feat-strip .ico { width: 46px; height: 46px; color: var(--plum-2); margin-bottom: 8px; stroke-width: 1.4; }
.feat-strip b { font-weight: 700; } .feat-strip span { font-weight: 500; }

.theme-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.theme-pick label { margin: 0; position: relative; cursor: pointer; }
.theme-pick span { display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 20px; background: #fff; border: 2px solid var(--line); overflow: hidden; padding-bottom: 10px; position: relative; }
.theme-pick b { margin-top: 8px; color: var(--plum-dark); } .theme-pick small { font-weight: 500; font-size: .85rem; }
.theme-pick em { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; display: none; align-items: center; justify-content: center; }
.theme-pick em .ico { width: 18px; height: 18px; }
.theme-pick input:checked + span { border: 3px solid var(--plum-2); }
.theme-pick input:checked + span em { display: inline-flex; }
.th { display: block; width: 100%; height: 86px; position: relative; }
.th-clasico { background: repeating-linear-gradient(0deg, rgba(205, 184, 230, .45) 0 9px, transparent 9px 18px), repeating-linear-gradient(90deg, rgba(205, 184, 230, .45) 0 9px, transparent 9px 18px), #faf3fb; }
.th-clasico::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 44' fill='none' stroke='%23b48fd0' stroke-width='3' stroke-linecap='round'><path d='M42 21 C33 7 12 2 7 12 C3 21 21 26 42 21Z'/><path d='M42 21 C51 7 72 2 77 12 C81 21 63 26 42 21Z'/><path d='M39 23 C35 30 31 35 26 40'/><path d='M45 23 C49 30 53 35 58 40'/></svg>") center / 90px no-repeat; }
.th-cielo { background: radial-gradient(30% 30% at 50% 70%, #fff8ec 0 40%, transparent 70%), radial-gradient(20% 20% at 38% 76%, #fff8ec 0 50%, transparent 70%), radial-gradient(22% 22% at 62% 76%, #fff8ec 0 50%, transparent 70%), linear-gradient(180deg, #d9d6f2, #ece3f6); }
.th-cielo::after { content: '★  ★    ★   ★'; position: absolute; inset: 14px 0 auto; text-align: center; color: #f2d58a; letter-spacing: 6px; font-size: 14px; }
.th-aventura { background: radial-gradient(18% 14% at 20% 78%, #fff 0 50%, transparent 70%), radial-gradient(22% 16% at 82% 70%, #fff 0 50%, transparent 70%), linear-gradient(180deg, #f9dde8, #fbeef0); }
.th-aventura::after { content: '🎈'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 46px; filter: saturate(.6) hue-rotate(-20deg); }

.soft-box { margin-top: 18px; background: #fff; border-radius: 24px; padding: 16px 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
.pal-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pal-pick label { margin: 0; position: relative; cursor: pointer; text-align: center; }
.pal-pick span { display: inline-flex; padding: 5px; border-radius: 999px; border: 2px solid transparent; }
.pal-pick span i { width: 46px; height: 46px; border-radius: 50%; display: block; }
.pal-pick span i + i { margin-left: -8px; }
.pal-pick input:checked + span { border-color: var(--plum); }
.pal-pick small { display: block; font-weight: 500; font-size: .9rem; }
.msgs textarea { resize: vertical; }
.opt { font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.count { display: block; text-align: right; color: var(--ink-soft); font-size: .8rem; margin-top: 4px; }
.music-row { display: grid; grid-template-columns: auto 1fr auto minmax(150px, 210px) auto; align-items: center; gap: 12px; margin-top: 18px; background: #fff; border-radius: 22px; padding: 10px 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.music-row b { color: var(--plum-dark); }
.music-row select { padding-top: 9px; padding-bottom: 9px; border-radius: 999px; }
.music-row .btn { margin: 0; } .music-row .btn .ico { width: 16px; height: 16px; }
.switch { margin: 0; position: relative; cursor: pointer; }
.switch span { display: block; width: 56px; height: 32px; border-radius: 999px; background: #ddd2e2; transition: background .2s; position: relative; }
.switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.switch input:checked + span { background: var(--plum-2); }
.switch input:checked + span::after { transform: translateX(24px); }
.page-create .check { background: #fff; border-color: var(--line); margin-top: 18px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.wiz-nav .btn { margin: 0; }
.btn-wide { padding: 17px 48px; font-size: 1.25rem; min-width: 300px; }
.btn-plum { background: linear-gradient(180deg, #9a76a8, #7a5a8a); }
.wiz-nav .btn-outline { padding: 14px 34px; }

/* Lista para compartir */
.c-done .wiz-card { align-self: center; }
.link-box { display: flex; align-items: center; gap: 12px; background: #f5eff7; border: 2px solid #e2d3ea; border-radius: 18px; padding: 8px 8px 8px 16px; font-size: 1.1rem; font-weight: 600; }
.link-box span { flex: 1; overflow-wrap: anywhere; }
.copy-ico { border: 0; background: #d9c6e2; color: var(--plum-dark); width: 52px; height: 46px; border-radius: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.share-title { margin: 26px 0 14px; font: 700 1.5rem 'Quicksand', sans-serif; color: var(--plum-dark); }
.share-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 960px; margin: 0 auto; }
.share-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--card); border-radius: 22px; padding: 22px 8px; box-shadow: var(--shadow); text-decoration: none; color: var(--plum-dark); font-weight: 600; transition: transform .15s; }
.share-tile:hover { transform: translateY(-3px); }
.share-tile .ico { width: 40px; height: 40px; }
.share-tile.wa .ico { color: #2fae5f; }
.summary { max-width: 1000px; margin: 26px auto 0; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; padding: 24px 28px; }
.summary > div { display: flex; align-items: center; gap: 16px; }
.summary > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.summary .big .ico, .summary i.big .ico { width: 40px; height: 40px; color: var(--plum-dark); }
.summary b { display: block; color: var(--plum-dark); font-size: 1.1rem; }
.summary > div > span { flex: 1; font-weight: 500; }
.summary .btn { margin: 0; }
.private-links { max-width: 760px; margin: 34px auto 0; background: rgba(255, 252, 249, .9); border-radius: 28px; box-shadow: var(--shadow); padding: 26px 24px; }
.private-links .share { background: #fff; border: 1.5px solid var(--line); }
.modal { position: fixed; inset: 0; z-index: 3000; background: rgba(74, 52, 84, .35); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: var(--card); border-radius: 28px; padding: 26px; max-width: 380px; width: 100%; box-shadow: var(--shadow); }
.qr-box { width: 240px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 10px; }
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-box svg path, .qr-box svg rect[fill="black"] { fill: var(--plum-dark); }

@media (max-width: 900px) {
  .stepper li { width: 96px; font-size: .82rem; }
  .wiz-grid, .wiz-grid.three { grid-template-columns: 1fr; }
  .wiz-art { max-width: 200px; margin: 0 auto -20px; }
  .wiz-art.side { display: none; }
  .feat-strip { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .feat-strip li:nth-child(4) { border-left: 0; }
  .share-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .wiz-head { flex-wrap: wrap; justify-content: space-between; }
  .wiz-head .brand span { display: none; }
  .stepper { order: 3; width: 100%; justify-content: center; }
  .btn-save { padding: 8px 14px; font-size: .85rem; }
  .wiz { padding: 18px 14px 40px; }
  .wiz-card { padding: 22px 16px 20px; border-radius: 28px; }
  .two, .date-row { grid-template-columns: 1fr; }
  .theme-pick { grid-template-columns: 1fr; }
  .th { height: 64px; }
  .pal-pick { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .pill-pick.three { grid-template-columns: 1fr; }
  .music-row { grid-template-columns: auto 1fr auto; }
  .music-row select, .music-row .btn { grid-column: 1 / -1; }
  .feat-strip { grid-template-columns: 1fr 1fr; }
  .feat-strip li { border-left: 0 !important; }
  .wiz-nav { flex-direction: column-reverse; }
  .btn-wide { min-width: 0; width: 100%; padding: 16px 20px; font-size: 1.1rem; }
  .share-grid { grid-template-columns: repeat(2, 1fr); }
  .summary { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .summary > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
}
.btn-outline.btn-small, .btn-ghost.btn-small { box-shadow: inset 0 0 0 1.5px var(--plum-2); background: #fff; color: var(--plum-dark); }
@media (max-width: 640px) {
  .theme-pick { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .theme-pick small { display: none; }
  .theme-pick b { font-size: .85rem; }
  .th { height: 54px; } .th-aventura::after { font-size: 30px; } .th-clasico::after { background-size: 56px; }
  .theme-pick em { width: 24px; height: 24px; top: 4px; right: 4px; }
}

/* ---------- Patito de peluche ---------- */
.duck-img { width: 100%; height: auto; display: block;
  -webkit-mask-image: radial-gradient(ellipse 48% 50% at 50% 52%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 48% 50% at 50% 52%, #000 60%, transparent 100%); }
.duck { width: 120px; right: -14px; bottom: -40px; }
.w-duck { width: 150px; } .reveal-duck { width: 120px; } .reveal-duck.big { width: 190px; }
.not-found .duck-img { width: 150px; margin: 0 auto; }
.book-duck { width: 150px; }

/* ---------- Página de invitados ---------- */
.page-guest main { padding-top: 26px; }
.hero { margin-top: 0; background: rgba(255, 252, 249, .9); border-radius: 36px; }
.hero h1 { margin: 4px 0 2px; }
.parents { color: var(--ink-soft); }
.countdown div { background: #fff !important; box-shadow: inset 0 0 0 2px var(--line), 0 6px 14px rgba(109, 79, 123, .08); }
.countdown b { color: var(--plum-dark); text-shadow: none; }
.countdown span { color: var(--ink-soft); }
.countdown .c1 { box-shadow: inset 0 -5px 0 var(--lilac), inset 0 0 0 2px var(--line); }
.countdown .c2 { box-shadow: inset 0 -5px 0 var(--boy), inset 0 0 0 2px var(--line); }
.countdown .c3 { box-shadow: inset 0 -5px 0 #f3d9c4, inset 0 0 0 2px var(--line); }
.countdown .c4 { box-shadow: inset 0 -5px 0 var(--girl), inset 0 0 0 2px var(--line); }
.team-pick > span { background: #fff; border-color: #e6d9e8; }
.baby-card { text-align: center; padding-top: 22px; }
.baby-card .blob { color: #e48aa9; margin-bottom: 4px; }
.baby-msg { font: italic 500 1.3rem/1.5 'Lora', serif; color: var(--plum-dark); margin: 4px auto 0; max-width: 520px; white-space: pre-line; }
.music-btn {
  position: fixed; left: 14px; bottom: 14px; z-index: 950; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--plum-dark); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 12px;
  font: 700 .9rem 'Quicksand', sans-serif; box-shadow: 0 6px 18px rgba(109, 79, 123, .18); cursor: pointer;
}
.music-btn .ico { width: 20px; height: 20px; }
.music-btn.on { background: var(--plum); color: #fff; border-color: var(--plum); }
.music-btn.on .ico { animation: beat 1.4s ease-in-out infinite; }
.welcome-ov, .overlay:not(.res) { background: #f8eef6 linear-gradient(180deg, #faf1f7, #f1e8f6); }
.lang-choice { box-shadow: 0 6px 18px rgba(109, 79, 123, .12); border-color: var(--line); }
.lang-choice:hover, .lang-choice:focus-visible { border-color: var(--plum-2); }
.w-card { background: var(--card); }

/* Temas */
body.page-guest[data-theme="clasico"]::before {
  background:
    repeating-linear-gradient(0deg, rgba(222, 196, 170, .22) 0 18px, transparent 18px 36px),
    repeating-linear-gradient(90deg, rgba(222, 196, 170, .22) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, #f8efe8, #fbf6f2);
}
body.page-guest[data-theme="cielo"]::before {
  background:
    radial-gradient(2px 2px at 12% 18%, #f2d58a 99%, transparent), radial-gradient(2px 2px at 78% 12%, #f2d58a 99%, transparent),
    radial-gradient(3px 3px at 60% 30%, #fff 99%, transparent), radial-gradient(2px 2px at 30% 42%, #f2d58a 99%, transparent),
    radial-gradient(3px 3px at 88% 48%, #fff 99%, transparent), radial-gradient(2px 2px at 8% 70%, #fff 99%, transparent),
    radial-gradient(28% 10% at 18% 92%, rgba(255, 250, 240, .95), transparent 70%), radial-gradient(30% 10% at 82% 86%, rgba(255, 250, 240, .9), transparent 70%),
    linear-gradient(180deg, #d9d6f2 0%, #e9e1f6 50%, #f6eef6 100%);
}
body.page-guest[data-theme="aventura"]::before {
  background:
    radial-gradient(18% 6% at 14% 22%, rgba(255, 255, 255, .95), transparent 70%), radial-gradient(22% 7% at 86% 34%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(20% 6% at 30% 78%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #f9d9e6 0%, #fbe9ee 50%, #fdf3ef 100%);
}
body.page-guest[data-theme="aventura"]::after {
  content: '🎈'; position: fixed; z-index: -1; top: 16%; right: 5%; font-size: 70px; opacity: .55;
  filter: saturate(.5) hue-rotate(-20deg); animation: floaty 6s ease-in-out infinite; pointer-events: none;
}
body.page-guest[data-theme="cielo"] .hero, body.page-guest[data-theme="cielo"] .card { background: rgba(255, 252, 249, .92); }
@media (max-width: 560px) {
  .duck { width: 86px; right: -6px; bottom: -26px; }
  .music-btn span:last-child { display: none; } .music-btn { padding: 10px; }
}

/* ---------- Paneles, libro y recuperar con Lazos ---------- */
.dash-main { padding-top: 26px; }
.dash-head { margin-top: 0; background: rgba(255, 252, 249, .92); }
.share { background: #fff; border: 1.5px solid var(--line); }
.stat { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.result-card .state { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.result-card .confirm { background: #fbf0dc; }
.pick { border-color: #e6d9e8; }
.book-baby { font: italic 500 1.2rem 'Lora', serif; color: var(--plum-dark); max-width: 480px; margin: 16px auto 0; }
.book-baby small { display: block; font: 600 .8rem 'Quicksand', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.page-book .lang-btn { position: fixed; top: 12px; right: 12px; z-index: 900; }
.reveal-sub { align-items: center; gap: 18px; }

/* Ilustraciones con fondo transparente: sin difuminado */
img[src$=".webp"], .duck-img { -webkit-mask-image: none !important; mask-image: none !important; }
.duck-img { filter: drop-shadow(0 10px 18px rgba(109, 79, 123, .12)); }
.reveal-duck { width: 170px; } .reveal-duck.wide { width: 300px; } .reveal-duck.big { width: 280px; }
.book-duck.wide { width: 300px; }
.l-story-art img { width: 100%; max-width: 520px; margin: 0 !important; }
.l-cta { grid-template-columns: 300px 1fr; }
.l-cta img { width: 100%; }
.rec-art { width: 170px; height: auto; display: block; margin: 0 auto 6px; }
.wiz-art img { filter: drop-shadow(0 14px 22px rgba(109, 79, 123, .12)); }
.th-aventura::after { content: ''; background: url("/img/globos.webp") center / contain no-repeat; width: 70px; height: 76px; filter: none; }
body.page-guest[data-theme="aventura"]::after { content: ''; width: 150px; height: 165px; background: url("/img/globos.webp") center / contain no-repeat; opacity: .8; filter: none; }
@media (max-width: 560px) {
  .l-cta { grid-template-columns: 1fr; } .l-cta img { width: 260px; }
  .reveal-duck.wide { width: 240px; }
  body.page-guest[data-theme="aventura"]::after { width: 90px; height: 100px; top: auto; bottom: 70px; right: 8px; }
}
.wiz-art:not(.side) img { transform: scale(1.3); transform-origin: 50% 50%; }
@media (max-width: 900px) { .wiz-art:not(.side) img { transform: none; } }

/* Piñata de estrella (ilustración) */
.pinata-img { position: relative; width: min(300px, 76vw); height: auto; aspect-ratio: 1306 / 1200; transform-origin: 50% 0; animation: swing 3s ease-in-out infinite; }
.pinata-img .piece { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(109, 79, 123, .15)); }
.pinata-img.hit { animation: hit .35s ease; }
.pinata-img.broken { animation: none; }
.pinata-img.broken .piece { opacity: 0; }
@keyframes swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.pinata-img .piece { transition: transform 1.2s cubic-bezier(.2, .7, .3, 1), opacity .5s ease .75s; }

/* Moños de fieltro */
.bow.felt img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 3px 4px rgba(109, 79, 123, .18)); }
.bow.felt { transform-origin: 50% 40%; }
.team-pick .bow.felt { width: 80px; height: 70px; }
.team-list li .bow.felt { width: 50px; height: 46px; }
.reveal-sub .bow.felt { width: 150px; height: 140px; }
.reveal-sub .bow.felt img { filter: drop-shadow(0 8px 16px rgba(74, 52, 84, .22)); }
.voted .bow.felt { width: 96px; height: 88px; }
.map-bow .bow.felt { width: 36px; height: 32px; }
.map-bow .bow.felt { width: 38px; height: 34px; }

/* ---------- Entrar con correo y código ---------- */
.login-card { max-width: 480px; margin-left: auto; margin-right: auto; text-align: center; }
.login-card .rec-art { width: 140px; }
.login-form { text-align: left; max-width: 360px; margin: 6px auto 0; }
.login-form .btn { width: 100%; margin-top: 12px; }
.login-form .link-btn { display: block; margin: 10px auto 0; }
.code-input { font: 700 1.6rem 'Quicksand', sans-serif; letter-spacing: .4em; text-align: center; }
.dev-code { background: #fbf0dc; border-radius: 12px; padding: 8px 10px; color: var(--plum-dark); }
.signed-as { margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); }
.signed-as .link-btn { font-size: .9rem; }
.role-box { margin-top: 18px; background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
.role-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.role-box li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.role-box li > span:first-child { color: var(--plum); flex-shrink: 0; margin-top: 1px; }
.role-box b { color: var(--plum-dark); }
.access-list .share-who { font-size: 1.15rem; }
#verifyModal .modal-card { text-align: center; }

/* Botón "Mi panel" en el encabezado */
.head-panel { display: inline-flex; align-items: center; gap: 6px; color: var(--plum-dark); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; white-space: nowrap; }
.head-panel .ico { width: 18px; height: 18px; color: var(--plum); }
.head-panel:hover { border-color: var(--plum-2); }
.site-head:not(.wiz-head) .head-gap + .head-panel { margin-left: auto; }
.page-landing .head-panel { margin-left: 0; }
@media (max-width: 560px) { .head-panel span { display: none; } .head-panel { padding: 8px 10px; } }

/* iPhone: los campos de fecha y hora de Safari ignoran el diseño; los igualamos a los demás campos */
input[type=date], input[type=time], input[type=datetime-local] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%;
  min-height: 50px; line-height: 1.25; text-align: left; background-color: #fff;
}
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value,
input[type=datetime-local]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 1.25em; }
.ico-input { min-width: 0; }
.date-row > label { min-width: 0; }
/* Cuenta regresiva: número en ciruela para que se vea sobre el fondo claro */
.overlay:not(.res) .big-num { color: var(--plum-dark); text-shadow: 0 6px 24px rgba(109, 79, 123, .18); }
.soft-box.first { margin-top: 0; }

/* Conteo por equipo: 3 – 5 */
.stat-teams .vs { font: 700 1.2rem 'Lora', serif; color: var(--ink-soft); margin: 0 2px; }
/* Que el nombre de los papás nunca se encime con el título (letras con colita como la "y") */
.hero h1, .dash-title, .w-title, .book-cover h1 { line-height: 1.2; padding-bottom: .08em; }
.dash-head .parents, .book-cover .parents { margin-top: 8px; }
.hero .parents { margin-bottom: 6px; }
.emails-form { margin-top: 10px; } .emails-form .row { align-items: center; margin-top: 8px; }

/* ---------- Libro de recuerdos v2: hojas A4 con marco ---------- */
.book { max-width: 794px; gap: 26px; }
.book-page {
  width: 100%; max-width: 794px; aspect-ratio: 210 / 297; margin: 0 auto; padding: 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(circle at 0 0, #fbe9f1 0, transparent 34%), radial-gradient(circle at 100% 100%, #e6f2f9 0, transparent 36%), #fffaf5;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(90, 74, 107, .12);
}
.book-page::before { content: ''; position: absolute; inset: 22px; border: 1.5px dashed #e3cbdc; border-radius: 26px; pointer-events: none; }
.book-page .sheet { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px 70px 20px; position: relative; }
.book-page .sheet > * { max-width: 100%; }
.sheet-foot { display: flex; justify-content: space-between; margin: 0; padding: 0 60px 40px; font: 600 .78rem 'Quicksand', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #b3a3bf; position: relative; }
.sheet-rule { display: block; width: 64px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--girl, #f4adcf), var(--boy, #a9d3ea)); margin: 4px auto 18px; }
.book-page h2 { font: 600 1.9rem/1.2 'Lora', serif; color: var(--plum-dark); margin: 0 0 6px; }
.book-page h2.mt { margin-top: 34px; }
.cover-kicker { font: 700 .85rem 'Quicksand', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin: 8px 0 6px; }
.book-cover h1 { font: 600 3.6rem/1.15 'Lora', serif; margin: 0; }
.book-cover .parents, .book-close .parents { font: italic 500 1.35rem 'Lora', serif; color: var(--ink-soft); margin: 10px 0 14px; }
.book-cover .book-duck.wide { width: 320px; margin-bottom: 10px; }
.book-baby { margin-top: 26px; font-size: 1.3rem; }
.book-loved { margin-top: 22px; color: var(--plum-dark); max-width: 500px; }
.book-page .story-bows { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.book-page .story-bows .bow { width: 58px; height: 42px; }
.book-page .story-bows .heart { font-size: 1.6rem; color: #e79bbd; }
.book-result { width: 100%; max-width: 440px; padding: 30px 22px; border-radius: 28px; box-shadow: 0 10px 26px rgba(90, 74, 107, .12); }
.book-result .bow { width: 84px; height: 58px; }
.book-result p { font: 700 3.2rem/1.1 'Lora', serif; }
.book-news .news-duck { width: 130px; margin: 18px auto 0; }
.book-teams { gap: 70px; }
.book-teams .bow { width: 64px; height: 46px; }
.book-teams b { font-size: 2.6rem; line-height: 1.1; }
.book-bar-votes { width: 100%; max-width: 440px; height: 14px; }
.book-two { width: 100%; max-width: 440px; gap: 10px 40px; margin-top: 6px; }
.book-two ul { font: 600 1rem 'Quicksand', sans-serif; color: var(--plum-dark); }
.book-two li { padding: 4px 0; border-bottom: 1px dotted #eadfea; }
.book-where .sheet { justify-content: flex-start; padding-top: 80px; }
.book-map { width: 100%; height: 440px; border-radius: 22px; margin: 14px 0 0; border: 6px solid #fff; box-shadow: 0 8px 22px rgba(90, 74, 107, .12); }
.book-places { width: 100%; text-align: left; font-size: .95rem; gap: 8px; margin-top: 22px; }
.book-places li { padding-bottom: 6px; border-bottom: 1px dotted #eadfea; }
.book-msgs .sheet { justify-content: flex-start; padding-top: 80px; }
.bnotes { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; text-align: left; }
.bnote { margin: 0; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 6px 16px rgba(90, 74, 107, .09); break-inside: avoid; }
.bnote blockquote { margin: 0; padding: 18px 18px 16px; border-radius: 12px; background: color-mix(in srgb, var(--sw) 45%, #fff); font: italic 500 1.02rem/1.5 'Lora', serif; color: var(--plum-dark); overflow-wrap: anywhere; }
.bnote figcaption { display: flex; align-items: center; gap: 10px; padding: 10px 8px 4px; }
.bnote figcaption .bow { width: 34px; height: 25px; flex: none; }
.bnote figcaption b { display: block; font: 700 .95rem 'Quicksand', sans-serif; color: var(--plum-dark); }
.bnote figcaption small { display: block; font-size: .8rem; color: var(--ink-soft); }
.book-close .book-duck.wide { width: 300px; margin-bottom: 18px; }
.book-close .book-end { font: 600 2.4rem/1.25 'Lora', serif; color: var(--plum-dark); max-width: 520px; margin: 0 0 8px; }
.book-close .brand-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; letter-spacing: .06em; }
.book-close .brand-line svg { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .book-page { aspect-ratio: auto; min-height: 0; }
  .book-page::before { inset: 10px; border-radius: 18px; }
  .book-page .sheet, .book-where .sheet, .book-msgs .sheet { padding: 44px 26px 14px; }
  .sheet-foot { padding: 0 30px 24px; }
  .book-cover h1 { font-size: 2.5rem; }
  .book-cover .book-duck.wide, .book-close .book-duck.wide { width: 220px; }
  .book-close .book-end { font-size: 1.8rem; }
  .book-map { height: 300px; }
  .bnotes { grid-template-columns: 1fr; }
  .book-teams { gap: 40px; }
}
@media print {
  @page { size: A4; margin: 0; }
  html, body, .page-book { margin: 0 !important; padding: 0 !important; background: #fffaf5 !important; }
  .book { display: block; max-width: none; gap: 0; margin: 0 !important; padding: 0 !important; }
  .book-page { width: 210mm; height: 296.6mm; margin: 0 !important; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; break-after: page; break-inside: avoid; }
  .book-page:last-child { break-after: auto; }
  .book-cover { min-height: 0; display: flex; }
  .book-map { height: 440px; border: 6px solid #fff; }
}
.book-voters .sheet { justify-content: flex-start; padding-top: 80px; }
.book-two.many { max-width: 100%; align-items: start; }
.book-names p { margin: 0; font: 600 .84rem/1.75 'Quicksand', sans-serif; color: var(--plum-dark); }
.book-names span { white-space: nowrap; }
.book-names .book-names-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; font-size: 1rem; }
.book-names-head .bow { width: 40px; height: 29px; }

/* ¿Ya votaste desde otro celular? */
.dup-box { background: #fff7e6; border: 1.5px solid #f6df86; border-radius: 16px; padding: 14px 16px; margin: 6px 0 12px; text-align: left; }
.dup-box p { margin: 0 0 10px; font-weight: 600; }
.dup-box .row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }

/* Título de la revelación: aire para las letras que bajan (y, g, p) antes de "¿Qué será el bebé?" */
.hero h1#title { margin-bottom: 14px; padding-bottom: .1em; }
.hero h1#title + .subtitle { margin-top: 0; }

/* Correos como fichas */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 52px; padding: 8px 10px; background: #fff; border: 2px solid var(--line, #e6dcea); border-radius: 18px; cursor: text; }
.chips:focus-within { border-color: var(--plum, #6b4f7a); box-shadow: 0 0 0 4px rgba(107, 79, 122, .12); }
.chips.bad { border-color: #e48a8a; }
.chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 6px 6px 6px 12px; border-radius: 999px; background: #f3ecf8; color: var(--plum-dark); font-weight: 600; font-size: .95rem; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; color: var(--plum-dark); font: 700 1rem/1 'Quicksand', sans-serif; cursor: pointer; padding: 0; }
.chip button:hover { background: #f4adcf; }
.chips .chips-entry { flex: 1 1 180px; min-width: 140px; border: 0 !important; box-shadow: none !important; outline: 0; padding: 6px 4px !important; min-height: 0 !important; background: transparent !important; font: inherit; }
.chips-note { display: block; color: #c0504d; font-weight: 600; margin-top: 4px; min-height: 0; }
.chips-note:empty { display: none; }

/* Revelación: texto e imágenes entran juntos (sin escalonado) */
.reveal-text { animation: pop .75s cubic-bezier(.2, .9, .3, 1.2) both; }
.reveal-sub .bow, .reveal-duck { animation: pop .75s cubic-bezier(.2, .9, .3, 1.2) .12s both; }

/* Etiqueta que agrega el alojamiento: no se muestra (ni en pantalla ni al imprimir) */
#nl-badge-frame, #nl-hud-frame, iframe[id^="nl-"] { display: none !important; }
