/* Portada (2026-11-05): capítulos de color, de la invitación al álbum. Colores fijos: no cambia con el modo oscuro. */
.lp { --lp-cream: #faf7f2; --lp-ink: #1d1a17; --lp-wine: #4a1626; --lp-gold: #c9a25e; color: var(--lp-ink); background: var(--lp-cream); }
.lp h1, .lp h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; margin: 0; }
.lp h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 16em; }
.lp h3 { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.01em; margin: 0 0 8px; }
.lp p { font-size: 1.125rem; line-height: 1.55; margin: 0; }
.lp-text { max-width: 38em; margin-top: 20px !important; }
.lp .btn { border-radius: 999px; border: 0; box-shadow: none; background: var(--lp-ink); color: #fff; }
.lp .btn:hover { filter: none; opacity: .88; }
.lp .btn.lp-gold { background: var(--lp-gold); color: var(--lp-ink); }
.lp-wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 32px; }

/* Capítulos */
.lp-try { display: grid; gap: 10px; }
.lp-try label { font-weight: 600; }
.lp-try input { font-size: 1.1rem; padding: 14px 16px; border: 2px solid; border-radius: 12px; background: #fff; color: var(--lp-ink); }
.lp-go { justify-content: center; padding: 16px 24px; font-size: 1.1rem; }
.lp-note { font-size: 1rem !important; }
.lp-lead { font-size: 1.25rem !important; }
.lp-ch { padding: clamp(88px, 12vw, 160px) 0; }
.lp-ch .btn { margin-top: 36px; }
.lp-cream { background: var(--lp-cream); color: var(--lp-ink); }
.lp-wine { background: var(--lp-wine); color: #fbf3e6; }
.lp-ink { background: var(--lp-ink); color: #f6efe4; }
.lp-gold-field { background: var(--lp-gold); color: var(--lp-ink); }
.lp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }

.lp-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; margin: 48px 0 0; }
.lp-games dt { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.015em; }
.lp-games dd { margin: 6px 0 0; font-size: 1.125rem; line-height: 1.5; }

.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.lp-plan { padding: 36px; background: #f0e8da; }
.lp-plan-gala { background: var(--lp-ink); color: #f6efe4; }
.lp-price { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.2rem) !important; font-weight: 700; letter-spacing: -.02em; line-height: 1.1 !important; }
.lp-plan ul { margin: 18px 0 0; padding-left: 20px; font-size: 1.125rem; line-height: 1.7; }

.lp-faq { display: grid; gap: 10px; margin-top: 44px; max-width: 900px; }
.lp-faq details { padding: 20px 24px; background: #2b2622; }
.lp-faq summary { font-weight: 600; font-size: 1.2rem; cursor: pointer; }
.lp-faq details p { margin-top: 12px; }

.lp-create .quick-create { background: #fffdf8; color: var(--lp-ink); border: 0; box-shadow: none; }
.lp-create .quick-create .btn { margin-top: 0; }
.lp-create label, .lp-create .field span { color: var(--lp-ink); }
.lp-last { padding: 72px 0; }

@media (max-width: 900px) {
  .lp-wrap { padding: 0 20px; }
  .lp-two, .lp-plans, .lp-games { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-wall img { transition: none; }
}

/* La historia: un celular fijo, el fondo cambia de color y su pantalla cuenta la fiesta */
.lp-story { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); background: var(--st-bg); color: var(--st-fg); transition: background-color .8s ease, color .6s ease; --st-bg: #120d0b; --st-fg: #fbf3e6; --st-btn: #c9a25e; }
.lp-story[data-tone='wine'] { --st-bg: #4a1626; }
.lp-story[data-tone='cream'] { --st-bg: #f6efe2; --st-fg: #1d1a17; }
.lp-story[data-tone='sun'] { --st-bg: #e0b04c; --st-fg: #1d1a17; }
.lp-story[data-tone='blue'] { --st-bg: #0c1a4b; }
.lp-story[data-tone='rose'] { --st-bg: #b3183a; }
.lp-sky { position: sticky; top: 0; grid-column: 1 / -1; grid-row: 1; align-self: start; width: 100%; height: 100svh; pointer-events: none; }
.lp-stick { position: sticky; top: 61px; grid-column: 2; grid-row: 1; align-self: start; height: calc(100svh - 61px); display: grid; place-items: center; padding: 16px; z-index: 2; perspective: 1400px; }
.lp-chapters { grid-column: 1; grid-row: 1; z-index: 2; }
.lp-c { min-height: calc(100svh - 61px); display: flex; align-items: center; padding: 28px clamp(28px, 6vw, 96px); }
.lp-c > div { display: grid; gap: 18px; max-width: 620px; }
.lp-c:not(:first-child) { min-height: 100svh; }
.lp-c h1 { font-size: clamp(3.2rem, 5.9vw, 6.6rem); line-height: .98; letter-spacing: -.035em; }
.lp-c h2 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
.lp-c p { font-size: 1.2rem; }
.lp-c > div > .btn { justify-self: start; }
.lp-c > div > * { opacity: .12; transform: translateY(26px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-c.on > div > * { opacity: 1; transform: none; }
.lp-c.on > div > :nth-child(2) { transition-delay: .08s; }
.lp-c.on > div > :nth-child(3) { transition-delay: .16s; }
.lp-c.on > div > :nth-child(4) { transition-delay: .24s; }
.lp-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.lp-w > span { display: inline-block; animation: lp-up .95s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes lp-up { from { transform: translateY(110%) rotate(5deg); } }
.lp-story .lp-try { max-width: 520px; }
.lp-story .lp-try input { border-color: currentColor; }
.lp-code summary { cursor: pointer; font-size: 1rem; }
.lp-code .code-join { margin-top: 10px; }
.lp-code input { color: var(--lp-ink); }
.lp-recent .btn { background: none; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

/* El celular */
.lp-phone { --rx: 0deg; --ry: -8deg; width: min(330px, 34svh + 90px, 100%); padding: 10px; border-radius: 42px; background: #0b0807; box-shadow: 0 34px 90px rgb(0 0 0 / 55%); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); animation: lp-phone-in 1.2s cubic-bezier(.16, 1, .3, 1) both .1s, lp-float 6s ease-in-out infinite 1.4s; }
@keyframes lp-phone-in { from { opacity: 0; translate: 0 90px; rotate: 6deg; } }
@keyframes lp-float { 50% { translate: 0 -10px; } }
.lp-glass { position: relative; aspect-ratio: 9 / 18.5; max-height: calc(100svh - 120px); width: 100%; border-radius: 32px; overflow: hidden; background: #fbf6ee; color: #1d1a17; }
.lp-s { position: absolute; inset: 0; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .55s ease, transform .75s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.lp-s.on { opacity: 1; transform: none; pointer-events: auto; }
.lp-s > * { position: absolute; inset: 0; }
.lp-s b { font: 700 1.5rem/1.1 var(--serif); letter-spacing: -.01em; }
.lp-inv { max-width: none !important; height: 100% !important; margin: 0 !important; background: #fbf6ee; scrollbar-width: none; }
.lp-inv::-webkit-scrollbar { display: none; }
.lp-s-designs { overflow: hidden; background: #2a0d17; }
.lp-s-designs > div { display: grid; gap: 10px; padding: 10px; animation: lp-climb 22s linear infinite; }
.lp-s-designs img { width: 100%; height: auto; display: block; border-radius: 10px; }
@keyframes lp-climb { to { transform: translateY(-50%); } }
.lp-s-qr { display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; background: #fff; text-align: center; }
.lp-qr { position: relative; width: 200px; aspect-ratio: 1; overflow: hidden; }
.lp-qr span, .lp-qr svg { display: block; width: 100%; height: 100%; }
.lp-qr i { position: absolute; left: -6%; right: -6%; top: 0; height: 5px; background: #b3183a; animation: lp-scan 2.2s ease-in-out infinite alternate; }
@keyframes lp-scan { to { transform: translateY(196px); } }
.lp-s-album { display: flex; flex-direction: column; gap: 12px; padding: 20px 14px; background: #1d1a17; color: #fff; }
.lp-s-album > div { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; min-height: 0; }
.lp-s-album > div > span { min-height: 0; overflow: hidden; border-radius: 10px; transform: scale(.6); opacity: 0; }
.lp-s.on .lp-s-album > div > span { animation: lp-pop .6s cubic-bezier(.2, 1.5, .4, 1) forwards; animation-delay: calc(var(--i) * 190ms + 120ms); }
@keyframes lp-pop { to { transform: none; opacity: 1; } }
.lp-photo, .lp-photo svg { display: block; width: 100%; height: 100%; }
.lp-s-games { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px 18px; background: #0a1033; color: #fff; }
.lp-meter { display: grid; gap: 6px; font-weight: 600; }
.lp-meter i { display: block; height: 22px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 14%); }
.lp-meter em { display: block; height: 100%; width: 100%; border-radius: inherit; background: #f7c948; transform-origin: left; animation: lp-roar 1.1s ease-in-out infinite alternate; }
.lp-meter-b em { background: #ff5d8f; animation-duration: .8s; animation-delay: .2s; }
@keyframes lp-roar { from { transform: scaleX(.34); } to { transform: scaleX(.94); } }
.lp-s-reveal { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 20px; background: #16090d; color: #fff; }
.lp-pola { width: 100%; padding: 10px 10px 8px; background: #fffdf6; color: #1d1a17; text-align: center; transform: rotate(-3deg); }
.lp-pola .lp-photo { height: auto; aspect-ratio: 5 / 4; overflow: hidden; }
.lp-s.on .lp-pola svg { animation: lp-develop 4.6s ease-in-out infinite; }
@keyframes lp-develop { 0%, 12% { filter: blur(16px) brightness(1.4) sepia(.5); } 62%, 100% { filter: none; } }
.lp-pola small { display: block; margin-top: 8px; font-size: .95rem; font-weight: 600; }

/* Muro de diseños en movimiento */
.lp-wallsec { padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }
.lp-wallsec h2 { margin-bottom: 40px; }
.lp-wall { overflow: hidden; margin-top: 16px; }
.lp-wall > div { display: flex; gap: 16px; width: max-content; animation: lp-slide 46s linear infinite; }
.lp-wall-b > div { animation-direction: reverse; animation-duration: 54s; }
.lp-wall:hover > div { animation-play-state: paused; }
.lp-wall a { flex: none; width: clamp(240px, 30vw, 400px); display: grid; gap: 6px; color: inherit; text-decoration: none; font-weight: 600; }
.lp-wall img { width: 100%; height: auto; display: block; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.lp-wall a:hover img { transform: scale(1.03); }
@keyframes lp-slide { to { transform: translateX(calc(-50% - 8px)); } }
.lp-tight { padding-top: 40px; }

.lp-rise { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.lp-rise.in { opacity: 1; transform: none; }
.lp .btn { transition: transform .15s ease, opacity .15s ease; }
.lp .btn:active { transform: scale(.96); }

@media (max-width: 900px) {
  .lp-story { grid-template-columns: minmax(0, 1fr); }
  .lp-stick { grid-column: 1; top: 61px; height: 46svh; padding: 10px 0 8px; z-index: 3; background: var(--st-bg); transition: background-color .8s ease; }
  .lp-phone { width: auto; height: 100%; aspect-ratio: 9 / 17; padding: 7px; border-radius: 30px; --ry: 0deg; }
  .lp-glass { height: 100%; aspect-ratio: auto; max-height: none; border-radius: 24px; }
  .lp-chapters { grid-column: 1; grid-row: 2; }
  .lp-c, .lp-c:not(:first-child) { min-height: 54svh; padding: 24px 20px 40px; align-items: flex-start; }
  .lp-c:first-child { min-height: 0; }
  .lp-c h1 { font-size: clamp(2.8rem, 12.6vw, 5rem); }
  .lp-c h2 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .lp-c p { font-size: 1.0625rem; }
  .lp-sky { grid-row: 1 / span 2; }
  .lp-s b { font-size: 1.1rem; }
  .lp-s-qr { gap: 10px; padding: 14px; }
  .lp-qr { width: 120px; }
  @keyframes lp-scan { to { transform: translateY(116px); } }
}
@media (prefers-reduced-motion: reduce) {
  .lp-w > span, .lp-phone, .lp-s-designs > div, .lp-wall > div, .lp-qr i, .lp-meter em, .lp-s.on .lp-pola svg, .lp-s.on .lp-s-album > div > span { animation: none; }
  .lp-s.on .lp-s-album > div > span { transform: none; opacity: 1; }
  .lp-wall { overflow-x: auto; }
  .lp-rise, .lp-c > div > *, .lp-s { transition-duration: .01s; }
}

/* El título cambia según el evento */
.lp-turn { display: inline-block; color: #e7c27a; }
.lp-story[data-tone='cream'] .lp-turn, .lp-story[data-tone='sun'] .lp-turn { color: inherit; }
.lp-turn.go { animation: lp-turn .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes lp-turn { from { opacity: 0; transform: translateY(.35em) rotate(-2deg); } }
.lp-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-kind { padding: 8px 14px; border: 2px solid currentColor; border-radius: 999px; background: none; color: inherit; font: 600 .98rem var(--sans); cursor: pointer; transition: transform .15s ease; }
.lp-kind:active { transform: scale(.95); }
.lp-kind[aria-pressed='true'] { background: #e7c27a; border-color: #e7c27a; color: var(--lp-ink); }
@media (prefers-reduced-motion: reduce) { .lp-turn.go { animation: none; } }

/* La invitación entera dentro del celular, también en teléfonos */
.lp-story .lp-try label { color: inherit; font-size: 1rem; }

/* 🚀 Oferta de lanzamiento */
.lp-ribbon { overflow: hidden; background: #f7c948; color: #1d1a17; font-weight: 700; font-size: 1.05rem; }
.lp-ribbon[hidden], .lp-offer[hidden] { display: none; }
.lp-ribbon > div { display: flex; width: max-content; animation: lp-slide 42s linear infinite; }
.lp-ribbon span { flex: none; padding: 11px 26px; white-space: nowrap; }
.lp-ribbon span::after { content: ' ✦'; padding-left: 26px; }
.lp-offer { display: block; margin: 24px 0 0 !important; padding: 22px 28px; background: #b3183a; color: #fff; font: 700 clamp(1.4rem, 3vw, 2.2rem)/1.2 var(--serif); letter-spacing: -.01em; }
.lp .lp-price .price-tag { white-space: normal; }
.lp .lp-price .price-was { display: block; color: inherit; opacity: .65; font: 600 1.25rem var(--sans); margin: 0 0 2px; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .lp-ribbon > div { animation: none; } }

/* La invitación entera dentro del celular: se dibuja más grande y se achica, en cualquier pantalla */
.lp-inv.lp-inv > * { width: 125% !important; max-width: none !important; transform: scale(.8); transform-origin: top left; }
.lp-inv { --iv-h: 216cqw; }
.lp-inv .iv { --iv-h: 216cqw; }
@media (max-width: 900px) {
  .lp-inv { overflow: hidden !important; touch-action: pan-y; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-ribbon > div { width: auto; }
  .lp-ribbon span { white-space: normal; text-align: center; flex: 1 1 100%; }
  .lp-ribbon span:nth-child(n + 2) { display: none; }
  .lp-ribbon span::after { content: none; }
  .lp-wall { overflow-x: auto !important; }
  .lp-wall > div { width: max-content; }
}

/* === Portada 2 (2026-11-05): crear es lo primero. Barra oscura, formulario directo, QR en vivo, tarjetas por evento === */
.topbar.lp-topbar { background: #120d0b; border-bottom-color: transparent; backdrop-filter: none; }
.lp-topbar .brand { color: #fbf3e6; }
.lp-topbar .btn-line { color: #fbf3e6; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 34%); }
.lp-topbar .btn:not(.btn-line) { background: #e7c27a; color: #1d1a17; }

.lp-story > .lp-hero { grid-column: 1; grid-row: 1; min-height: calc(100svh - 101px); }
.lp-story > .lp-chapters { grid-column: 1; grid-row: 2; }
.lp-story > .lp-stick { grid-column: 2; grid-row: 1 / span 2; }
.lp-story > .lp-sky { grid-row: 1 / span 2; }
.lp-chapters .lp-c:first-child { min-height: 100svh; }
.lp-err { margin: 0; color: #ffb4a8; font-weight: 600; font-size: 1rem !important; }
.lp-err:empty { display: none; }
.lp-rules { font-size: .875rem !important; opacity: .78; }
.lp-rules a { color: inherit; }
.lp .btn.lp-line { background: none; color: inherit; box-shadow: inset 0 0 0 2px currentColor; justify-self: start; }

/* El QR de mesa, con el nombre que se va escribiendo */
.lp-qrcard { position: absolute; right: 5%; bottom: 13%; z-index: 3; width: 168px; padding: 14px 14px 12px; border-radius: 14px; background: #fffdf6; color: #1d1a17; text-align: center; pointer-events: none; box-shadow: 0 24px 60px rgb(0 0 0 / 45%); opacity: 0; transform: rotate(6deg) translateY(36px); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lp-qrcard.on { opacity: 1; transform: rotate(6deg); }
.lp-qrcard-qr { display: block; aspect-ratio: 1; }
.lp-qrcard-qr span, .lp-qrcard-qr svg { display: block; width: 100%; height: 100%; }
.lp-qrcard strong { display: block; margin-top: 8px; font: 700 1.05rem/1.15 var(--serif); overflow-wrap: anywhere; }
.lp-qrcard small { display: block; margin-top: 4px; font-size: .84rem; }

/* Tarjetas por tipo de evento: la invitación de verdad en miniatura */
.lp-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.lp-tile { display: grid; gap: 10px; align-content: start; padding: 0; border: 0; background: none; color: inherit; font: 600 1.05rem/1.2 var(--sans); text-align: left; cursor: pointer; }
.lp-tile .iv-thumb { border-radius: 14px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lp-tile:hover .iv-thumb { transform: translateY(-6px); }
.lp-tile:active .iv-thumb { transform: scale(.97); }
.lp-tile[aria-pressed='true'] .iv-thumb { outline: 4px solid #c9a25e; outline-offset: 3px; }
.lp-tile:focus-visible { outline: 3px solid #c9a25e; outline-offset: 4px; }
.lp-pick .lp-tile.lp-rise:nth-child(2) { transition-delay: .06s; } .lp-pick .lp-tile.lp-rise:nth-child(3) { transition-delay: .12s; }
.lp-pick .lp-tile.lp-rise:nth-child(4) { transition-delay: .18s; } .lp-pick .lp-tile.lp-rise:nth-child(5) { transition-delay: .24s; }
.lp-pick .lp-tile.lp-rise:nth-child(6) { transition-delay: .3s; }

/* La portada de la app instalada */
.lp-hero-app h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.lp-hero-app .lp-tiles { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-tiles-app .iv-thumb { aspect-ratio: 3 / 4; }
.lp-tiles-app .iv-thumb .iv { --iv-h: 480px; }
.lp-tiles-app .iv-thumb .iv-hero { min-height: var(--iv-h) !important; }
.lp-tiles-app .lp-tile { font-size: .95rem; gap: 6px; }
.lp-more { justify-self: start; padding: 4px 0; border: 0; background: none; color: inherit; font: 600 1rem var(--sans); text-decoration: underline; cursor: pointer; }
.lp-joinbox p { font-size: 1rem; margin-bottom: 8px; }
.lp-joinbox input { color: var(--lp-ink); }

/* Cierre: el nombre a todo lo ancho */
.lp-foot { background: #120d0b; color: #f6efe4; padding: 64px 0 40px; }
.lp-foot-name { margin: 0 0 28px; font: 700 clamp(3.2rem, 15.5vw, 14rem)/.9 var(--serif); letter-spacing: -.02em; color: #e7c27a; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 1.0625rem; }
.lp-foot a { color: inherit; text-decoration: none; }
.lp-foot a:hover { text-decoration: underline; }
.lp-copy { margin: 26px 0 0; font-size: .95rem; opacity: .7; }

/* 🎁 Campaña «Premium de regalo» en la primera pantalla (fondo oscuro): cupos y fecha a la vista. */
.lp-hero .campaign-banner { background: rgba(201, 162, 94, .16); border-color: var(--lp-gold); margin: 0; max-width: 620px; }
.lp-hero .campaign-banner strong { color: #f6dfb0; }
.lp-hero .campaign-banner p { color: #f1e9dc; }
.lp-hero .campaign-banner .welcome-deadline { color: #ffc08a; }
.lp-hero .campaign-banner .btn { background: var(--lp-gold); color: var(--lp-ink); margin: 0; }

.lp-dock { display: none; }
@media (max-width: 900px) {
  .lp-hero .campaign-banner { padding: 12px 14px; gap: 10px; }
  .lp-hero .campaign-banner .gift-ico { display: none; }
  .lp-hero .campaign-banner strong { font-size: 1rem; }
  .lp-hero .campaign-banner p:not(.welcome-deadline) { display: none; }
  .lp-story > .lp-hero { min-height: 0; padding: 22px 20px 26px; }
  .lp-story > .lp-stick { grid-column: 1; grid-row: 2; }
  .lp-story > .lp-chapters { padding-top: 46svh; }
  .lp-chapters .lp-c:first-child { min-height: 54svh; }
  .lp-hero > div { gap: 14px; }
  .lp-hero .lp-lead { order: 5; font-size: 1.0625rem !important; }
  .lp-hero .lp-recent { order: 6; }
  .lp-hero .lp-code { order: 7; }
  .lp-kinds { gap: 6px; }
  .lp-kind { padding: 7px 11px; font-size: .9rem; }
  .lp-qrcard { display: none; }
  .lp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .lp-tile { font-size: .95rem; gap: 6px; }
  .lp-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #120d0b; transition: transform .3s ease; }
  .lp-dock[hidden] { display: block; transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
  .lp-dock .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 1.05rem; margin: 0; }
  .lp-foot { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-qrcard, .lp-tile .iv-thumb, .lp-dock { transition: none; }
}

/* Celular: opciones y la invitación en vivo, lado a lado en la primera pantalla */
.lp-mini { display: none; }
@media (max-width: 900px) {
  .lp-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
  .lp-duo .lp-kinds { display: grid; gap: 6px; }
  .lp-duo .lp-kind { width: 100%; padding: 8px 14px; font-size: .98rem; text-align: left; }
  .lp-mini { display: block; width: 156px; height: 290px; padding: 5px; border-radius: 26px; background: #0b0807; transform: rotate(3deg); box-shadow: 0 18px 40px rgb(0 0 0 / 50%); }
  .lp-mini .lp-inv { border-radius: 21px; overflow: hidden !important; }
}
@media (max-width: 360px) {
  .lp-mini { width: 126px; height: 236px; }
  .lp-duo .lp-kind { padding: 6px 10px; font-size: .9rem; }
}

/* Un solo par de márgenes: barra, primera pantalla y secciones parten en la misma línea */
.lp-topbar .wrap { width: min(1240px, 100%); max-width: none; padding-inline: 32px; }
.lp-story > .lp-hero { position: relative; z-index: 2; }
@media (min-width: 901px) {
  .lp-story .lp-c { padding-inline-start: max(32px, calc((100vw - 1240px) / 2 + 32px)); }
  .lp-story > .lp-stick { padding-inline-end: max(16px, calc((100vw - 1240px) / 2)); }
}
@media (max-width: 900px) {
  .lp-topbar .wrap { padding-inline: 20px; }
}
/* El formulario completo del final: su título ya lo dice la sección */
.lp-create .qc-gift, .lp-create .qc-title { display: none; }
.lp-last .invite-banner { max-width: 860px; }

/* Pantallas angostas: nada partido ni fuera de la pantalla */
.lp-story { overflow-x: clip; }
.lp-w { padding-top: .14em; margin-top: -.14em; }
.lp-topbar .btn { white-space: nowrap; }
.lp .code-join .btn { white-space: nowrap; flex: none; }
.lp-tile { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 360px) {
  .lp-topbar .wrap { gap: 6px; padding-inline: 14px; }
  .lp-topbar .btn-small { padding-inline: 10px; font-size: .82rem; min-height: 38px; }
  .lp-tile, .lp-tiles-app .lp-tile { font-size: .82rem; }
}
