:root {
  --noche: #140A07;
  --chapa: #22130D;
  --chapa2: #2E1A12;
  --tomate: #EE4322;
  --brasa: #F59A3B;
  --crema: #F5E9D7;
  --hoja: #3CC4A4;
  --tinta: #140A07;
  --suave: rgba(245, 233, 215, .66);
  --linea: rgba(245, 233, 215, .16);
  --r: 22px;
  --barra: 74px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--noche); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Sora', system-ui, sans-serif; font-weight: 300; color: var(--crema);
  background: var(--noche); min-height: 100vh; overflow-x: clip;
  padding-bottom: calc(var(--barra) + 24px + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
b, strong { font-weight: 600; }

/* ---------- títulos con eco, como su carta impresa ---------- */
.eco { position: relative; display: inline-block; font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; font-size: 26px; margin-bottom: .55em; color: var(--crema); }
.eco span:first-child { position: relative; z-index: 2; }
.eco span + span { position: absolute; left: 0; top: 0; width: 100%; color: transparent; -webkit-text-stroke: 1px currentColor; z-index: 1; }
.eco span:nth-child(2) { transform: translateY(.2em); opacity: .55; }
.eco span:nth-child(3) { transform: translateY(.4em); opacity: .25; }
.eco.oscuro { color: var(--tinta); }

/* ---------- entrada ---------- */
#entrada { position: fixed; inset: 0; z-index: 100; background: var(--noche); display: grid; place-items: center; transition: transform .6s cubic-bezier(.7, 0, .3, 1); }
#entrada.sale { transform: translateY(-100%); }
.entrada-logo { width: min(78vw, 420px); color: var(--crema); }
.entrada-svg { width: 100%; height: auto; overflow: visible; }
.entrada-svg .logo-o { fill: var(--tomate); transform-box: fill-box; transform-origin: 50% 60%; }
#entrada.corre .logo-o { animation: caeTomate .9s cubic-bezier(.3, 1.4, .5, 1) both; }
#entrada.corre .entrada-svg path:not(.logo-o) { animation: letra .5s ease-out both; }
#entrada.corre .entrada-svg path:nth-child(2) { animation-delay: .35s; }
#entrada.corre .entrada-svg path:nth-child(3) { animation-delay: .42s; }
#entrada.corre .entrada-svg path:nth-child(4) { animation-delay: .49s; }
#entrada.corre .entrada-svg path:nth-child(5) { animation-delay: .56s; }
#entrada.corre .entrada-svg path:nth-child(6) { animation-delay: .63s; }
#entrada.corre .entrada-svg .logo-bajada { animation-delay: .85s; }
@keyframes caeTomate { 0% { transform: translateY(-140%) scale(2.4); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; } }
@keyframes letra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- tope ---------- */
.tope { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 18px 12px; background: linear-gradient(var(--noche) 70%, rgba(20, 10, 7, 0)); }
.tope-logo { width: 116px; color: var(--crema); display: block; }
.tope-svg { width: 100%; height: auto; display: block; }
.tope-svg .logo-o, .pie-logo .logo-o, .cred-svg .logo-o { fill: var(--tomate); }
.tope-puntos { background: var(--tomate); color: var(--tinta); font-weight: 600; padding: 8px 14px; border-radius: 99px; font-size: 14px; box-shadow: 0 3px 0 #9E2512; }
.tope-puntos b { font-weight: 800; }

main { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.vista[hidden] { display: none !important; }
.hola { font-size: 15px; color: var(--suave); margin: 4px 2px 12px; }
.mesa { display: flex; align-items: baseline; gap: 10px; background: var(--hoja); color: var(--tinta); font-weight: 700; padding: 10px 14px; border-radius: 14px; margin-bottom: 12px; }
.mesa span { font-weight: 400; font-size: 13px; }

/* ---------- botones ---------- */
.botones { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 48px; padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .12s; }
.btn:active { transform: translateY(2px); }
.btn.ancho { display: flex; width: 100%; margin-top: 14px; }
.btn-tomate { background: var(--tomate); color: var(--tinta); box-shadow: 0 4px 0 #9E2512; }
.btn-crema { background: var(--crema); color: var(--tinta); box-shadow: 0 4px 0 #B9A68E; }
.btn-negro { background: var(--tinta); color: var(--crema); box-shadow: 0 4px 0 #000; }
.btn-linea { border: 1.5px solid var(--linea); color: var(--crema); }
.btn-linea-oscuro { border: 1.5px solid rgba(20, 10, 7, .3); color: var(--tinta); }
.btn-apagado { background: var(--chapa2); color: var(--suave); }
.btn-chico { min-height: 38px; padding: 8px 14px; font-size: 13px; background: var(--crema); color: var(--tinta); }
.sello { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--brasa); color: var(--tinta); font-weight: 800; font-size: 15px; transform: rotate(-8deg); flex: none; }
.chip { display: inline-block; background: rgba(20, 10, 7, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 400; }

/* ---------- la pieza: el tomate de la racha sobre el patio ---------- */
.pieza { position: relative; border-radius: 28px; overflow: hidden; background: var(--chapa); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.pieza-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pieza-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 7, .1) 0%, rgba(20, 10, 7, .25) 30%, rgba(20, 10, 7, .92) 66%, var(--noche) 100%); }
.pieza-arriba { position: absolute; top: 14px; left: 14px; right: 14px; }
.pieza-tomate { display: flex; justify-content: center; margin: 0 auto -6px; width: 72%; max-width: 300px; }
.pieza-tomate .tomate { width: 100%; height: auto; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c) 55%, transparent)); animation: late 3.2s ease-in-out infinite; }
@keyframes late { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.tomate-n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 92px; fill: var(--crema); }
.tomate-chico .tomate-n { font-size: 110px; }
.pieza-texto { padding: 0 20px 22px; text-align: center; }
.pieza-rotulo { font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .08em; }
.pieza-bajada { color: var(--suave); font-size: 14px; margin: 10px auto 16px; max-width: 32ch; line-height: 1.45; }
.pieza .botones { justify-content: center; }
.semanas { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.semanas i { width: 34px; height: 8px; border-radius: 9px; background: rgba(245, 233, 215, .18); font-style: normal; }
.semanas i b { display: none; }
.semanas i.si { background: var(--c); }

/* ---------- bloques ---------- */
.bloque { margin-top: 28px; }
.bloque-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bloque-sub { color: var(--suave); font-size: 14px; margin: -2px 0 14px; max-width: calc(100% - 76px); }
.viernes .bloque-cab .sello { margin-top: -6px; }
.viernes-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.espacio { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; isolation: isolate; outline: 2px solid transparent; outline-offset: -2px; }
.espacio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.espacio::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 40%, rgba(20, 10, 7, .9)); }
.espacio.elegido { outline-color: var(--tomate); }
.espacio-n { font-weight: 700; font-size: 17px; line-height: 1.1; }
.espacio-g { font-size: 12px; color: var(--suave); margin-top: 4px; }

.puntos-bloque { background: var(--tomate); color: var(--tinta); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; cursor: pointer; box-shadow: 0 6px 0 #9E2512; }
.pb-num b { display: block; font-size: 52px; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.pb-num span { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.pb-txt { font-size: 14px; line-height: 1.4; font-weight: 400; }
.pb-regla { font-size: 12px; opacity: .75; margin-top: 4px; }
.barrita { grid-column: 1 / -1; height: 10px; background: rgba(20, 10, 7, .2); border-radius: 9px; overflow: hidden; margin-top: 8px; }
.barrita i { display: block; height: 100%; background: var(--tinta); border-radius: 9px; }

.crew-bloque { background: var(--crema); color: var(--tinta); border-radius: var(--r); padding: 22px 20px; }
.crew-bloque > p { font-size: 15px; line-height: 1.45; font-weight: 400; margin-bottom: 14px; }
.crew-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.crew-meta span { width: 44px; flex: none; }
.crew-meta span .tomate { width: 100%; height: auto; display: block; }
.crew-meta span.si { animation: late 2.4s ease-in-out infinite; }
.crew-meta p { font-size: 13px; line-height: 1.35; margin-left: 6px; font-weight: 400; }
.crew-meta.grande span { width: 64px; }
.crew-meta.grande p { font-size: 14px; }

.riel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.riel::-webkit-scrollbar { display: none; }
.trago { flex: 0 0 76%; max-width: 300px; scroll-snap-align: start; border-radius: var(--r); padding: 20px; min-height: 230px; display: flex; flex-direction: column; color: var(--tinta); }
.trago.t0 { background: var(--tomate); }
.trago.t1 { background: var(--brasa); }
.trago.t2 { background: var(--hoja); }
.trago.t3 { background: var(--crema); }
.trago h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.02em; }
.trago p { font-size: 13px; line-height: 1.4; margin-top: 10px; font-weight: 400; flex: 1; }
.trago-pie { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.trago-pie b { font-size: 18px; font-weight: 800; }
.trago-pie span { background: var(--tinta); color: var(--crema); border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 600; }

.dedicados { border-radius: var(--r); overflow: hidden; }
.dedicados img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

.pie { margin-top: 30px; text-align: center; padding: 10px 0 0; color: var(--suave); font-size: 13px; line-height: 1.6; }
.pie-logo { width: 170px; height: auto; color: var(--crema); margin: 0 auto 12px; display: block; }
.pie .botones { justify-content: center; margin-top: 14px; }

/* ---------- carta ---------- */
.carta-cab { padding-top: 6px; }
.carta-cab .eco { font-size: 40px; }
.carta-cab p { color: var(--suave); font-size: 14px; }
.rubros { position: sticky; top: 64px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; margin: 14px -16px 0; padding: 10px 16px; background: var(--noche); scrollbar-width: none; }
.rubros::-webkit-scrollbar { display: none; }
.rubros button { flex: none; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--linea); font-size: 13px; font-weight: 400; white-space: nowrap; }
.rubros button:first-child { background: var(--tomate); color: var(--tinta); border-color: var(--tomate); font-weight: 600; }
.rubro { margin-top: 30px; scroll-margin-top: 130px; }
.rubro .eco { font-size: 24px; }
.rubro-nota { color: var(--suave); font-size: 12px; margin: -6px 0 6px; text-align: right; }
.rubro ul { list-style: none; }
.rubro li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.rubro h3 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.rubro li p { font-size: 13px; color: var(--suave); line-height: 1.4; margin-top: 4px; }
.precio { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.precio b { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.precio b.media { font-weight: 400; color: var(--suave); font-size: 13px; }
.precio span { font-size: 11px; color: var(--brasa); font-weight: 600; }
.carta-fuente { color: var(--suave); font-size: 12px; margin-top: 24px; }

/* ---------- mi QR ---------- */
.credencial { background: var(--tomate); color: var(--tinta); border-radius: 28px; padding: 24px 22px 20px; text-align: center; box-shadow: 0 8px 0 #9E2512; margin-top: 4px; }
.cred-logo { width: 190px; margin: 0 auto 18px; }
.cred-svg { width: 100%; height: auto; display: block; color: var(--tinta); }
.cred-svg .logo-o { fill: var(--crema); }
.cred-qr { background: var(--crema); border-radius: 20px; padding: 18px; width: min(240px, 70vw); margin: 0 auto; }
.cred-qr svg { width: 100%; height: auto; display: block; }
.cred-qr svg path, .pase-qr svg path { fill: var(--tinta); }
.cred-cod { font-weight: 800; font-size: 22px; letter-spacing: .12em; margin-top: 14px; }
.cred-nombre { font-size: 13px; font-weight: 400; }
.cred-datos { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.cred-datos span { background: var(--tinta); color: var(--crema); padding: 8px 12px; border-radius: 99px; font-size: 12px; }
.qr-ayuda { color: var(--suave); text-align: center; font-size: 14px; margin: 18px auto 0; max-width: 32ch; line-height: 1.45; }
.regalos .regalo { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--chapa); border-radius: 16px; padding: 14px 16px; margin-bottom: 8px; }
.regalo b { display: block; font-size: 15px; }
.regalo span { font-size: 12px; color: var(--suave); }
.probar { border: 1.5px dashed var(--linea); border-radius: var(--r); padding: 18px; }
.probar-t { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; color: var(--brasa); margin-bottom: 4px; }
.probar > p { font-size: 14px; color: var(--suave); margin-bottom: 12px; }
.probar-ops { display: grid; gap: 10px; }
.probar-ops .btn { justify-content: space-between; border-radius: 16px; text-align: left; }
.probar-ops small { font-weight: 400; font-size: 13px; }

/* ---------- puntos ---------- */
.club-cab { background: var(--tomate); color: var(--tinta); border-radius: 28px; padding: 24px 22px; box-shadow: 0 8px 0 #9E2512; }
.club-num b { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: .9; display: block; }
.club-num span { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.club-cab p { margin-top: 12px; font-size: 14px; font-weight: 400; line-height: 1.45; }
.canjes { list-style: none; display: grid; gap: 8px; }
.canjes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--chapa); border-radius: 18px; padding: 12px 12px 12px 16px; }
.canjes li.ok { background: var(--chapa2); }
.canjes h3 { font-size: 15px; font-weight: 600; }
.canjes span { font-size: 12px; color: var(--suave); }
.canjes .btn { min-height: 42px; padding: 8px 16px; min-width: 92px; }
.racha-linea { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 18px; }
.rl { text-align: center; font-size: 10px; color: var(--suave); }
.rl .tomate { width: 100%; height: auto; display: block; margin-bottom: 2px; }
.rl.esta span { color: var(--crema); font-weight: 600; }
.etapas { display: grid; gap: 8px; }
.etapa { display: flex; align-items: center; gap: 12px; background: var(--chapa); border-radius: 16px; padding: 10px 14px 10px 10px; border: 1.5px solid transparent; }
.etapa.actual { border-color: var(--c); }
.etapa .tomate { width: 54px; height: auto; flex: none; }
.etapa b { display: block; font-size: 14px; }
.etapa span { font-size: 13px; color: var(--suave); }
.nota { color: var(--suave); font-size: 12px; margin-top: 12px; line-height: 1.45; }
.historial { list-style: none; }
.historial li { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--linea); font-size: 14px; align-items: baseline; }
.historial span { color: var(--suave); font-size: 12px; }
.historial b { color: var(--brasa); }
.historial b.menos { color: var(--suave); }

/* ---------- referidos ---------- */
.crew-cab { background: var(--crema); color: var(--tinta); border-radius: 28px; padding: 24px 20px; }
.crew-cab .eco { font-size: 32px; }
.crew-cab > p { font-size: 15px; line-height: 1.45; font-weight: 400; }
.crew-link { display: flex; align-items: center; gap: 8px; background: rgba(20, 10, 7, .08); border-radius: 14px; padding: 8px 8px 8px 14px; margin: 16px 0 14px; }
.crew-link code { font-family: inherit; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.crew-link .btn-chico { background: var(--tinta); color: var(--crema); }
.referidos { list-style: none; }
.referidos li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.referidos h3 { font-size: 15px; font-weight: 600; }
.referidos span { font-size: 12px; color: var(--suave); }
.referidos .ok { color: var(--hoja); font-size: 13px; }

/* ---------- hoja ---------- */
#hoja { position: fixed; inset: 0; z-index: 60; }
.hoja-fondo { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.hoja-caja { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--chapa); border-radius: 26px 26px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); max-width: 560px; margin: 0 auto; }
#hoja.abierta .hoja-fondo { opacity: 1; }
#hoja.abierta .hoja-caja { transform: none; }
.hoja-x { position: sticky; top: 0; float: right; margin: -12px -8px 0 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--chapa2); box-shadow: 0 0 0 4px var(--chapa); }
.hoja-x::before, .hoja-x::after { content: ''; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--crema); transform: rotate(45deg); }
.hoja-x::after { transform: rotate(-45deg); }
.hoja-cuerpo > p { font-size: 15px; line-height: 1.45; color: var(--suave); margin-bottom: 14px; }
.hoja-cuerpo .etapas { margin-top: 8px; }
.lista-esp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lista-esp button { border-radius: 16px; overflow: hidden; background: var(--chapa2); text-align: left; padding-bottom: 10px; border: 2px solid transparent; }
.lista-esp button.si { border-color: var(--tomate); }
.lista-esp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
.lista-esp b, .lista-esp span { display: block; padding: 0 10px; }
.lista-esp span { font-size: 12px; color: var(--suave); }
.contador { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 20px 0 4px; }
.contador span { color: var(--suave); }
.contador button { width: 46px; height: 46px; border-radius: 50%; background: var(--crema); color: var(--tinta); font-size: 22px; font-weight: 600; }
.contador b { font-size: 30px; font-weight: 800; min-width: 1.6ch; text-align: center; font-variant-numeric: tabular-nums; }
.pase { background: var(--crema); color: var(--tinta); border-radius: 22px; overflow: hidden; margin-bottom: 16px; }
.pase > img { width: 100%; height: 130px; object-fit: cover; }
.pase-cuerpo { padding: 16px 18px 20px; text-align: center; }
.pase-rot { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; color: var(--tomate); }
.pase h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; margin: 4px 0; }
.pase-cuerpo > p { font-size: 14px; font-weight: 400; }
.pase-qr { width: 170px; margin: 14px auto 6px; }
.pase-qr svg { width: 100%; height: auto; display: block; }
.pase-cod { font-weight: 800; letter-spacing: .14em; }
.sumaste, .bienvenida { text-align: center; }
.sumaste .tomate, .bienvenida .tomate { width: 170px; height: auto; margin: 0 auto 8px; display: block; animation: late 2s ease-in-out infinite; }
.sumaste-pts { font-size: 54px; font-weight: 800; letter-spacing: -.03em; color: var(--crema); }
.sumaste-pts span { font-size: 16px; font-weight: 600; }
.sumaste > p { color: var(--suave); font-size: 14px; margin-top: 6px; }
.sumaste-racha { display: inline-block; background: var(--c); color: var(--tinta) !important; font-weight: 700; padding: 8px 14px; border-radius: 99px; margin-top: 14px !important; }
.sumaste-regalo { color: var(--crema) !important; font-weight: 600; margin-top: 10px !important; }
.codigo-grande { font-size: 40px; font-weight: 800; letter-spacing: .12em; text-align: center; color: var(--crema) !important; margin: 10px 0 !important; }

/* ---------- barra ---------- */
.barra { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; width: min(calc(100% - 24px), 460px); height: var(--barra); display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: center; background: rgba(34, 19, 13, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--linea); border-radius: 99px; padding: 0 6px; }
.barra button { height: 100%; font-size: 12px; font-weight: 400; color: var(--suave); }
.barra button.activo { color: var(--crema); font-weight: 600; }
.barra button.activo span { border-bottom: 2px solid var(--tomate); padding-bottom: 3px; }
.barra-qr i { display: block; width: 66px; height: 66px; margin: -26px auto 0; border-radius: 50%; background: var(--tomate); box-shadow: 0 5px 0 #9E2512, 0 0 0 5px var(--noche); position: relative; }
.barra-qr i::before { content: ''; position: absolute; inset: 19px; background:
  linear-gradient(var(--tinta) 0 0) 0 0 / 11px 11px no-repeat, linear-gradient(var(--tinta) 0 0) 100% 0 / 11px 11px no-repeat,
  linear-gradient(var(--tinta) 0 0) 0 100% / 11px 11px no-repeat, linear-gradient(var(--tinta) 0 0) 60% 60% / 6px 6px no-repeat,
  linear-gradient(var(--tinta) 0 0) 100% 100% / 6px 6px no-repeat; }

#aviso { position: fixed; left: 50%; bottom: calc(var(--barra) + 30px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--crema); color: var(--tinta); padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; max-width: calc(100% - 32px); text-align: center; }
#aviso.ver { opacity: 1; transform: translate(-50%, 0); }

/* ---------- iPad y compu: el teléfono queda igual ---------- */
@media (min-width: 760px) {
  main { max-width: 720px; }
  .pieza { min-height: 640px; }
  .viernes-fotos .espacio { aspect-ratio: 4 / 3; }
  .trago { flex-basis: 44%; }
}
@media (min-width: 1100px) {
  main { max-width: 1040px; }
  #v-inicio { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0 28px; align-items: start; }
  #v-inicio > .hola, #v-inicio > .mesa { grid-column: 1 / -1; }
  #v-inicio > .pieza { grid-row: span 3; position: sticky; top: 80px; min-height: calc(100vh - 200px); }
  #v-inicio > .pieza .pieza-tomate { max-width: 240px; }
  #v-inicio > .bloque:first-of-type { margin-top: 0; }
  #v-inicio > .bloque:nth-of-type(4), #v-inicio > .bloque:nth-of-type(5), #v-inicio > .pie { grid-column: 1 / -1; }
  .trago { flex-basis: 30%; }
  #v-club, #v-crew, #v-qr { max-width: 620px; margin: 0 auto; }
}
