/* Banitos · app del cliente. Paleta de su marca: azul cobalto del logo, naranja pleno de las remeras, crema de su Fudo. */
:root {
  --azul: #0F4C81;
  --azul-osc: #0A3556;
  --azul-claro: #DCE7F2;
  --naranja: #FF5A1F;
  --naranja-osc: #D9441006;
  --naranja-canto: #C23D0C;
  --crema: #F3EFE6;
  --crema-2: #FFF8EC;
  --tinta: #153246;
  --gris: #6B7A86;
  --linea: #E3DCCD;
  --barquillo: #EBA85E;
  --barquillo-osc: #C47A33;
  --r: 26px;
  --sombra-dura: 0 5px 0 var(--azul-osc);
  --seguro-abajo: env(safe-area-inset-bottom, 0px);
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--tinta);
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--crema); min-height: 100vh; overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { display: block; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 900; font-size: 16px; letter-spacing: .01em; transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:active { transform: translateY(3px); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 5px 0 var(--azul-osc); }
.btn-azul:active { box-shadow: 0 2px 0 var(--azul-osc); }
.btn-naranja { background: var(--naranja); color: #fff; box-shadow: 0 5px 0 var(--naranja-canto); }
.btn-naranja:active { box-shadow: 0 2px 0 var(--naranja-canto); }
.btn-blanco { background: #fff; color: var(--azul); box-shadow: 0 5px 0 var(--azul-osc); }
.btn-linea { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2.5px var(--azul); }
.btn-ancho { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { white-space: nowrap; font-weight: 800; color: var(--azul); font-size: 15px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 16px; padding-top: env(safe-area-inset-top, 0px); background: var(--crema); box-shadow: 0 1px 0 var(--linea); }
.cab-logo { display: inline-flex; align-items: center; gap: 8px; }
.cab-logo img { height: 22px; width: auto; }
.cab-logo .cab-mascota { height: 38px; margin: -4px 0; }
.cab-der { display: flex; align-items: center; gap: 8px; min-width: 0; }
.estado { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--azul); background: #fff; border-radius: 999px; padding: 6px 11px; box-shadow: inset 0 0 0 1.5px var(--linea); white-space: nowrap; }
.estado i { width: 8px; height: 8px; border-radius: 50%; background: #2FA866; box-shadow: 0 0 0 3px #2fa86626; }
.estado.cerrado i { background: var(--naranja); box-shadow: 0 0 0 3px #ff5a1f26; }
.mesa-demo { font-size: 13px; font-weight: 900; color: #fff; background: var(--azul); border-radius: 999px; padding: 7px 12px; box-shadow: 0 3px 0 var(--azul-osc); white-space: nowrap; }

/* barra de la mesa (solo con ?mesa=) */
.mesa-barra { position: sticky; top: 60px; z-index: 29; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px 16px 10px; background: var(--azul); }
.mesa-barra > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; background: #ffffff1a; color: #fff; font-weight: 800; font-size: 13px; line-height: 1.1; }
.mesa-barra .mesa-n { background: #fff; color: var(--azul); }
.mesa-barra .mesa-n b { font-size: 22px; font-weight: 900; font-style: italic; }
.mesa-barra .mesa-n small { font-size: 11px; font-weight: 800; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.mesa-barra button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.mesa-barra button.hecho { background: var(--naranja); }

/* ---------- héroe: el Banito real, recto, con el precio alineado ---------- */
.heroe { background: var(--naranja); color: #fff; padding: 18px 16px 24px; display: grid; gap: 16px; }
.heroe-cab { display: grid; gap: 4px; justify-items: start; }
.heroe-cab .estado { margin-bottom: 8px; }
.heroe-kicker { margin: 0; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.heroe-titulo { margin: 0; font-weight: 900; font-style: italic; font-size: clamp(36px, 10.6vw, 52px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.heroe-titulo.entra { animation: entraTit .32s ease-out; }
@keyframes entraTit { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.heroe-foto { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--naranja-canto); box-shadow: 0 6px 0 var(--naranja-canto); }
.heroe-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.heroe-elegir { display: grid; gap: 14px; }
.rellenos { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; margin: 0 -16px; scrollbar-width: none; scroll-padding: 0 16px; }
.rellenos::-webkit-scrollbar { display: none; }
.relleno { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: 999px; background: #ffffff24; color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.relleno i { width: 26px; height: 26px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px #ffffffb3; }
.relleno[aria-selected="true"] { background: #fff; color: var(--azul); }
.relleno[aria-selected="true"] i { box-shadow: 0 0 0 2px var(--azul); }
.heroe-compra { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.heroe-precio { display: grid; justify-items: end; line-height: 1; }
.heroe-precio b { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.heroe-precio small { font-size: 12px; font-weight: 800; opacity: .85; margin-top: 4px; }
.segm { display: inline-flex; background: #00000022; border-radius: 999px; padding: 4px; gap: 2px; }
.segm button { border-radius: 999px; padding: 9px 14px; font-weight: 900; font-size: 14px; color: #fff; white-space: nowrap; }
.segm button[aria-checked="true"] { background: #fff; color: var(--azul); }

/* ---------- cinta ---------- */
.cinta { background: var(--azul); color: #fff; padding: 11px 16px; }
.cinta-pista { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.cinta-pista span { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; }
.cinta-pista span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--naranja); margin-right: 8px; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- bloques del inicio ---------- */
.bloque { padding: 26px 16px 4px; }
.bloque-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bloque-cab h2, .vista-titulo { margin: 0; font-weight: 900; font-style: italic; font-size: 28px; letter-spacing: -.025em; line-height: 1; color: var(--azul); text-transform: uppercase; }

.riel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.riel::-webkit-scrollbar { display: none; }
.tarjeta { flex: 0 0 82%; max-width: 360px; scroll-snap-align: start; scroll-margin-left: 16px; background: #fff; border-radius: var(--r); overflow: hidden; position: relative; box-shadow: 0 0 0 2px var(--azul), 0 6px 0 2px var(--azul); display: flex; flex-direction: column; text-align: left; }
.tarjeta-foto { position: relative; aspect-ratio: 4 / 3; background: var(--crema-2); }
.tarjeta-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tarjeta-foto .tarjeta-tag { z-index: 1; }
.tarjeta-tag { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--azul); font-weight: 900; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.tarjeta-tit { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tarjeta-precio { flex: none; font-weight: 900; font-size: 18px; color: var(--naranja); letter-spacing: -.01em; }
.tarjeta-cuerpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tarjeta-cuerpo h3 { margin: 0; font-weight: 900; font-size: 20px; line-height: 1.05; letter-spacing: -.01em; color: var(--azul); }
.tarjeta-cuerpo p { margin: 0; color: var(--gris); font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta-cuerpo .btn { margin-top: auto; align-self: flex-start; min-height: 42px; padding: 0 18px; font-size: 15px; }
.tarjeta-cuerpo .fila-bot { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.puntos-riel { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.puntos-riel i { width: 7px; height: 7px; border-radius: 50%; background: #0f4c8133; transition: width .2s, background .2s; }
.puntos-riel i.activo { width: 20px; border-radius: 4px; background: var(--azul); }

/* juego */
.juego-card { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px; width: 100%; text-align: left; background: var(--azul); color: #fff; border-radius: var(--r); padding: 20px 18px 20px; overflow: hidden; box-shadow: 0 6px 0 var(--azul-osc); min-height: 210px; }
.juego-num { font-weight: 900; font-size: 14px; letter-spacing: .5em; color: var(--naranja); }
.juego-tit { font-weight: 900; font-style: italic; font-size: 32px; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.juego-sub { font-weight: 700; font-size: 14px; line-height: 1.3; opacity: .9; }
.juego-btn { justify-self: start; margin-top: 8px; }
.juego-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.juego-fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }

/* club en el inicio */
.club-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: #fff; border-radius: var(--r); padding: 18px; box-shadow: 0 0 0 2px var(--azul), 0 6px 0 2px var(--azul); position: relative; overflow: hidden; }
.club-card h3 { margin: 0 0 4px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--azul); letter-spacing: -.02em; }
.club-card p { margin: 0; font-weight: 700; font-size: 14px; color: var(--gris); line-height: 1.3; }
.club-card .pts { font-weight: 900; color: var(--naranja); font-size: 30px; font-style: italic; letter-spacing: -.03em; line-height: 1; margin-top: 8px; }
.club-card .pts small { font-size: 13px; font-style: normal; color: var(--azul); letter-spacing: 0; }
.club-card img { width: 84px; }
.barra-prog { height: 10px; border-radius: 99px; background: var(--azul-claro); overflow: hidden; margin-top: 8px; }
.barra-prog i { display: block; height: 100%; background: var(--naranja); border-radius: 99px; transition: width .6s cubic-bezier(.2, .9, .3, 1); }

/* el local */
.local { padding-bottom: 140px; }
.local-card { background: var(--azul); color: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 0 var(--azul-osc); }
.local-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.local-cuerpo { padding: 16px 18px 20px; display: grid; gap: 12px; }
.local-cuerpo h3 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1; letter-spacing: -.02em; }
.horario { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.horario div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 10px; }
.horario div.hoy { background: #ffffff22; font-weight: 900; }
.local-datos { display: flex; flex-wrap: wrap; gap: 8px; }
.local-datos span { background: #ffffff1c; border-radius: 999px; padding: 6px 11px; font-weight: 800; font-size: 13px; }
.local-cuerpo .btn { justify-self: start; }

/* ---------- carta ---------- */
.vista { min-height: calc(100vh - 60px); }
#v-inicio { overflow-x: clip; }
#v-carta, #v-club, #v-pedido { padding-bottom: 130px; }
.carta-cab { padding: 18px 16px 10px; display: grid; gap: 12px; }
.buscar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 0 16px; height: 48px; box-shadow: inset 0 0 0 2px var(--linea); }
.buscar svg { width: 20px; height: 20px; fill: none; stroke: var(--azul); stroke-width: 2.2; flex: none; }
.buscar input { flex: 1; border: 0; outline: 0; background: transparent; font-weight: 700; font-size: 16px; min-width: 0; }
.rubros { position: sticky; top: 60px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--crema); scrollbar-width: none; box-shadow: 0 1px 0 var(--linea); }
.con-mesa .rubros { top: 130px; }
.rubros::-webkit-scrollbar { display: none; }
.rubros button { flex: none; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--azul); font-weight: 900; font-size: 14px; box-shadow: inset 0 0 0 2px var(--azul-claro); white-space: nowrap; }
.rubros button.activo { background: var(--azul); color: #fff; box-shadow: 0 3px 0 var(--azul-osc); }
.aviso-carta { margin: 12px 16px 0; padding: 10px 14px; border-radius: 14px; background: var(--azul-claro); color: var(--azul); font-weight: 800; font-size: 13px; line-height: 1.3; }
.aviso-carta:empty { display: none; }
.rubro { padding: 20px 16px 6px; scroll-margin-top: 120px; }
.con-mesa .rubro { scroll-margin-top: 190px; }
.rubro-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rubro-cab h2 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--azul); font-size: 24px; letter-spacing: -.02em; line-height: 1; }
.rubro-cab span { font-weight: 800; color: var(--gris); font-size: 13px; }
.subrubro { margin: 16px 0 6px; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); }
.filas { display: grid; gap: 10px; }
.fila { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 10px; text-align: left; width: 100%; box-shadow: inset 0 0 0 1.5px var(--linea); }
.fila.sin-foto { grid-template-columns: 1fr auto; padding-left: 16px; }
.fila-foto { width: 84px; height: 84px; border-radius: 15px; overflow: hidden; background: var(--crema-2); }
.fila-foto img { width: 100%; height: 100%; object-fit: cover; }
.fila-txt { min-width: 0; display: grid; gap: 3px; }
.fila-txt b { font-weight: 900; font-size: 16px; line-height: 1.15; color: var(--tinta); }
.fila-txt small { color: var(--gris); font-weight: 600; font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fila-txt em { font-style: normal; font-weight: 900; color: var(--azul); font-size: 15px; }
.mas { width: 42px; height: 42px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 var(--naranja-canto); flex: none; }
.mas svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.mas.tiene { background: var(--azul); box-shadow: 0 3px 0 var(--azul-osc); font-weight: 900; font-size: 16px; }
.vacio { padding: 40px 20px; text-align: center; color: var(--gris); font-weight: 700; }

/* ---------- hoja que sube ---------- */
.velo { position: fixed; inset: 0; background: #0a355666; z-index: 60; animation: aparece .2s; }
@keyframes aparece { from { opacity: 0; } }
.hoja { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92vh; background: var(--crema); border-radius: 28px 28px 0 0; display: flex; flex-direction: column; animation: sube .34s cubic-bezier(.2, .9, .25, 1); box-shadow: 0 -10px 40px #0a355633; }
@keyframes sube { from { transform: translateY(100%); } }
.hoja-asa { width: 44px; height: 5px; border-radius: 9px; background: #0f4c8140; margin: 9px auto 0; position: absolute; left: 0; right: 0; top: 0; z-index: 3; }
.hoja-cerrar { position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 0 #0a355626; }
.hoja-cerrar svg { width: 20px; height: 20px; fill: none; stroke: var(--azul); stroke-width: 2.6; stroke-linecap: round; }
.hoja-cuerpo { overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(110px + var(--seguro-abajo)); }
.ficha-foto { background: #fff; }
.ficha-foto img { width: 100%; max-height: 46vh; object-fit: contain; background: #fff; }
.ficha-foto.textura { padding: 26px 0 8px; background: var(--naranja); }
.ficha-foto.textura .aro-ficha { width: 220px; margin: 0 auto; }
.ficha-cuerpo { padding: 18px 18px 0; display: grid; gap: 10px; }
.ficha-cuerpo h2 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; letter-spacing: -.03em; line-height: .95; color: var(--azul); padding-right: 30px; }
.ficha-cuerpo p { margin: 0; color: var(--gris); font-weight: 600; font-size: 15px; line-height: 1.4; }
.ficha-precio { font-weight: 900; font-size: 22px; color: var(--naranja); font-style: italic; }
.grupo { background: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 8px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.grupo h3 { margin: 0; font-size: 15px; font-weight: 900; color: var(--azul); display: flex; justify-content: space-between; gap: 8px; }
.grupo h3 small { font-weight: 800; color: var(--gris); font-size: 12px; }
.opcs { display: flex; flex-wrap: wrap; gap: 8px; }
.opc { padding: 10px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--crema); box-shadow: inset 0 0 0 2px var(--linea); }
.opc[aria-pressed="true"] { background: var(--azul); color: #fff; box-shadow: 0 3px 0 var(--azul-osc); }
.opc b { font-size: 12px; margin-left: 4px; opacity: .8; }
.nota { width: 100%; border: 0; border-radius: 16px; padding: 12px 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea); font-weight: 600; resize: none; }
.pie-fijo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 62; padding: 12px 16px calc(14px + var(--seguro-abajo)); background: linear-gradient(to top, var(--crema) 70%, #f3efe600); display: flex; gap: 10px; align-items: center; }
.cant { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--linea); height: 52px; }
.cant button { width: 46px; height: 52px; font-size: 24px; font-weight: 900; color: var(--azul); }
.cant b { min-width: 24px; text-align: center; font-weight: 900; font-size: 18px; }
.pie-fijo .btn { flex: 1; min-height: 52px; font-size: 17px; }

/* ---------- pedido ---------- */
.ped { padding: 18px 16px; display: grid; gap: 14px; }
.ped-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 10px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.ped-item.sin-foto { grid-template-columns: 1fr auto; padding-left: 16px; }
.ped-item img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.ped-item .txt { min-width: 0; display: grid; gap: 2px; }
.ped-item .txt b { font-weight: 900; font-size: 15px; line-height: 1.15; }
.ped-item .txt small { color: var(--gris); font-weight: 700; font-size: 12px; }
.ped-item .txt em { font-style: normal; font-weight: 900; color: var(--azul); }
.ped-item .cant { height: 40px; }
.ped-item .cant button { width: 36px; height: 40px; font-size: 20px; }
.ped-item .cant b { font-size: 15px; }
.caja { background: #fff; border-radius: 22px; padding: 16px; display: grid; gap: 12px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.caja h3 { margin: 0; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); }
.canales { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.canal { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px; border-radius: 18px; background: var(--crema); box-shadow: inset 0 0 0 2px var(--linea); }
.canal svg { width: 26px; height: 26px; fill: none; stroke: var(--azul); stroke-width: 2; }
.canal b { font-weight: 900; font-size: 16px; color: var(--azul); }
.canal small { font-weight: 700; font-size: 12px; color: var(--gris); }
.canal[aria-pressed="true"] { background: var(--azul); box-shadow: 0 4px 0 var(--azul-osc); }
.canal[aria-pressed="true"] svg { stroke: #fff; }
.canal[aria-pressed="true"] b, .canal[aria-pressed="true"] small { color: #fff; }
.campo { display: grid; gap: 6px; font-weight: 800; font-size: 13px; color: var(--azul); }
.campo input, .campo select { height: 48px; border-radius: 14px; border: 0; padding: 0 14px; background: var(--crema); box-shadow: inset 0 0 0 2px var(--linea); font-weight: 700; font-size: 16px; color: var(--tinta); width: 100%; }
.campo input:focus, .campo select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--azul); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.horas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.horas::-webkit-scrollbar { display: none; }
.totales { display: grid; gap: 6px; font-weight: 700; }
.totales div { display: flex; justify-content: space-between; }
.totales .total { font-weight: 900; font-size: 22px; color: var(--azul); font-style: italic; padding-top: 6px; border-top: 2px dashed var(--linea); }
.suma-puntos { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #ff5a1f14; color: var(--naranja-canto); font-weight: 800; font-size: 14px; }
.suma-puntos b { color: var(--naranja); font-size: 18px; font-style: italic; }
.ped-vacio { text-align: center; padding: 30px 16px; display: grid; gap: 14px; justify-items: center; }
.ped-vacio img { width: 160px; }
.ped-vacio h2 { margin: 0; color: var(--azul); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; }
.ped-vacio p { margin: 0; color: var(--gris); font-weight: 700; }

/* seguimiento */
.seg { margin: 18px 16px 0; border-radius: var(--r); background: var(--azul); color: #fff; padding: 20px 18px; display: grid; gap: 14px; box-shadow: 0 6px 0 var(--azul-osc); position: relative; overflow: hidden; }
.seg-num { font-weight: 900; font-style: italic; font-size: 70px; line-height: .85; letter-spacing: -.04em; }
.seg-num small { display: block; font-size: 14px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.seg-estado { font-weight: 900; font-size: 22px; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.pasos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.pasos div { display: grid; gap: 6px; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .55; }
.pasos div::before { content: ''; height: 8px; border-radius: 9px; background: #ffffff40; }
.pasos div.hecho { opacity: 1; }
.pasos div.hecho::before { background: var(--naranja); }
.pasos div.ahora::before { background: linear-gradient(90deg, var(--naranja) 50%, #ffffff40 50%); background-size: 200% 100%; animation: carga 1.2s linear infinite; }
@keyframes carga { from { background-position: 100% 0; } to { background-position: 0 0; } }
.seg img { position: absolute; right: -8px; top: 8px; width: 110px; transform: rotate(8deg); }
.seg-pie { font-weight: 700; font-size: 14px; opacity: .9; }

/* ---------- club ---------- */
.club { padding: 18px 16px; display: grid; gap: 16px; }
.socio { position: relative; border-radius: 28px; background: var(--azul); color: #fff; padding: 20px; overflow: hidden; box-shadow: 0 6px 0 var(--azul-osc); min-height: 220px; display: grid; align-content: space-between; gap: 18px; }
.socio > * { position: relative; }
.socio-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.socio-cab img.logo { height: 18px; width: auto; }
.socio-cab span { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.socio-pts { font-weight: 900; font-style: italic; font-size: 56px; line-height: .85; letter-spacing: -.04em; }
.socio-pts small { display: block; font-size: 14px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.socio-nom { font-weight: 800; font-size: 15px; }
.socio-mascota { position: absolute !important; right: 16px; bottom: 16px; width: 72px; }
.prox { background: #fff; border-radius: 22px; padding: 16px; box-shadow: inset 0 0 0 1.5px var(--linea); display: grid; gap: 6px; }
.prox b { font-weight: 900; color: var(--azul); font-size: 16px; }
.prox small { font-weight: 700; color: var(--gris); font-size: 13px; }
.regalo { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; background: var(--naranja); color: #fff; border-radius: 24px; padding: 14px; box-shadow: 0 5px 0 var(--naranja-canto); }
.regalo-foto { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; display: block; }
.regalo b { display: block; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 20px; line-height: 1; letter-spacing: -.02em; }
.regalo small { display: block; font-weight: 700; font-size: 13px; margin: 4px 0 8px; opacity: .95; }
.regalo .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.codigo { display: inline-block; font-weight: 900; font-size: 20px; letter-spacing: .14em; background: #fff; color: var(--azul); border-radius: 12px; padding: 6px 12px; }
.premios { display: grid; gap: 10px; }
.premio { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 10px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.premio img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.premio .txt { display: grid; gap: 2px; min-width: 0; }
.premio .txt b { font-weight: 900; font-size: 15px; line-height: 1.15; }
.premio .txt small { font-weight: 800; font-size: 13px; color: var(--naranja); }
.premio .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.premio .falta { font-weight: 800; font-size: 12px; color: var(--gris); text-align: right; max-width: 84px; line-height: 1.2; }
.mejoras { display: grid; gap: 10px; }
.mejora { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 12px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.mejora i { width: 44px; height: 44px; border-radius: 50%; background: var(--azul-claro); display: grid; place-items: center; }
.mejora i svg { width: 22px; height: 22px; fill: none; stroke: var(--azul); stroke-width: 2; }
.mejora b { display: block; font-weight: 900; color: var(--azul); font-size: 15px; }
.mejora small { display: block; font-weight: 600; color: var(--gris); font-size: 13px; line-height: 1.3; }
.movs { display: grid; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--linea); overflow: hidden; }
.movs div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; font-weight: 700; font-size: 14px; border-top: 1px solid var(--linea); }
.movs div:first-child { border-top: 0; }
.movs b { font-weight: 900; color: #2FA866; white-space: nowrap; }
.movs b.menos { color: var(--naranja); }
.qr { width: 74px; height: 74px; background: #fff; border-radius: 12px; padding: 6px; }
.qr svg { width: 100%; height: 100%; }
.titulo-sec { margin: 6px 0 -4px; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); }

/* ---------- quiz ---------- */
.quiz { padding: 28px 18px 0; display: grid; gap: 16px; }
.quiz-paso { font-weight: 900; font-size: 13px; letter-spacing: .14em; color: var(--naranja); text-transform: uppercase; }
.quiz h2 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--azul); font-size: 30px; line-height: .98; letter-spacing: -.03em; padding-right: 36px; }
.resps { display: grid; gap: 10px; }
.resp { text-align: left; padding: 16px 18px; border-radius: 18px; background: #fff; font-weight: 800; font-size: 16px; color: var(--tinta); box-shadow: inset 0 0 0 2px var(--linea), 0 4px 0 var(--linea); transition: transform .12s; }
.resp:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--azul); }
.resultado { border-radius: var(--r); overflow: hidden; background: var(--azul); color: #fff; box-shadow: 0 6px 0 var(--azul-osc); }
.resultado img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.resultado .sin { aspect-ratio: auto; padding: 26px 18px 0; }
.resultado .num { font-weight: 900; font-style: italic; font-size: 64px; color: var(--naranja); line-height: .8; }
.resultado-cuerpo { padding: 16px 18px 20px; display: grid; gap: 8px; }
.resultado-cuerpo h3 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 32px; line-height: .95; letter-spacing: -.03em; }
.resultado-cuerpo p { margin: 0; font-weight: 700; font-size: 15px; opacity: .92; }
.confeti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confeti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: cae 1.6s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes cae { to { transform: translateY(105vh) rotate(540deg); } }

/* ---------- barra flotante ---------- */
.barra { position: fixed; z-index: 40; left: 50%; bottom: calc(14px + var(--seguro-abajo)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 28px), 420px); background: var(--azul); border-radius: 999px; padding: 6px; box-shadow: 0 6px 0 var(--azul-osc), 0 14px 30px #0a355640; }
.barra a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 11.5px; position: relative; opacity: .82; }
.barra a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.barra a.activo { background: #fff; color: var(--azul); opacity: 1; }
.barra-pedido.lleno { background: var(--naranja); opacity: 1; }
.barra-pedido.lleno.activo { background: #fff; }
.barra-n { position: absolute; top: 3px; right: calc(50% - 26px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--naranja); font-size: 12px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--naranja); }
.barra-pedido.activo .barra-n { background: var(--naranja); color: #fff; box-shadow: none; }
.barra.late { animation: late .5s; }
@keyframes late { 40% { transform: translateX(-50%) scale(1.06); } }
.vuela { position: fixed; z-index: 80; width: 70px; height: 70px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 0 0 3px #fff; transition: transform .62s cubic-bezier(.5, -0.3, .7, 1), opacity .62s; }

.tostada { position: fixed; z-index: 95; left: 50%; bottom: calc(96px + var(--seguro-abajo)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--tinta); color: #fff; font-weight: 800; font-size: 14px; padding: 12px 18px; border-radius: 999px; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.tostada.ver { opacity: 1; transform: translate(-50%, 0); }

/* ---------- entrada ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background-color: var(--naranja); display: grid; place-items: center; overflow: hidden; }
.intro-saltar { position: absolute; right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 3; color: #fff; font-weight: 900; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: #00000026; }
.intro-escena { position: relative; width: min(74vw, 330px); display: grid; justify-items: center; }
.intro-aro { position: relative; width: 100%; aspect-ratio: 1; z-index: 2; transform-origin: 50% 50%; }
.intro-aro svg { width: 100%; height: 100%; overflow: visible; }
.intro-mascota { position: absolute; z-index: 1; width: 62%; top: 0; left: 50%; transform: translate(-50%, 30%) scale(.4); opacity: 0; will-change: transform; }
.intro-logo { width: 92%; margin-top: 26px; opacity: 0; transform: translateY(30px) scale(1.3); filter: drop-shadow(0 4px 0 var(--azul)); }
@keyframes mascotaSale { to { opacity: 1; transform: translate(-50%, -62%) rotate(-6deg) scale(1); } }
@keyframes logoCae { to { opacity: 1; transform: none; } }
body.con-intro { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- pantallas anchas (el teléfono queda igual) ---------- */
@media (min-width: 760px) {
  .cab { padding: 0 28px; }
  .cab-logo img { height: 26px; }
  .heroe { padding: 30px 40px 36px; }
  .heroe > * { width: 100%; max-width: 640px; justify-self: center; }
  .heroe-titulo { font-size: clamp(44px, 6vw, 72px); }
  .rellenos { margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
  .juego-fotos { max-width: 460px; }
  .bloque, .carta-cab, .ped, .club { padding-left: 28px; padding-right: 28px; }
  .riel { margin: 0 -28px; padding: 2px 28px 14px; }
  .tarjeta { flex-basis: 44%; }
  .juego-card { min-height: 240px; padding: 28px; }
  .juego-tit { font-size: 46px; }
  .filas { grid-template-columns: 1fr 1fr; }
  .rubro { padding-left: 28px; padding-right: 28px; }
  .rubros { padding-left: 28px; padding-right: 28px; }
  .hoja { left: 50%; right: auto; width: min(620px, 100%); transform: translateX(-50%); border-radius: 28px 28px 0 0; animation: subeAncho .34s cubic-bezier(.2, .9, .25, 1); }
  @keyframes subeAncho { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
  .pie-fijo { left: 50%; right: auto; width: min(620px, 100%); transform: translateX(-50%); }
  .local-card { display: grid; grid-template-columns: 1.1fr 1fr; }
  .local-card img { height: 100%; aspect-ratio: auto; }
  .ped, .club { max-width: 760px; margin: 0 auto; }
  .seg { max-width: 712px; margin: 18px auto 0; }
  .mesa-barra { padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1100px) {
  #vistas { max-width: 1240px; margin: 0 auto; }
  .heroe { border-radius: 0 0 36px 36px; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 18px; padding: 40px 48px 44px; align-items: start; }
  .heroe > * { max-width: none; }
  .heroe-foto { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .heroe-cab { grid-column: 2; grid-row: 1; }
  .heroe-elegir { grid-column: 2; grid-row: 2; align-self: start; }
  .cinta { border-radius: 0; }
  .tarjeta { flex-basis: 30%; }
  .filas { grid-template-columns: 1fr 1fr 1fr; }
  .bloque-juego-club { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
