/* El Coco Pirata · Commerce City — app del cliente.
   Colores y letra de sus placas de producto: amarillo, rojo y azul plenos, títulos redondos y gruesos. */
:root {
  --amarillo: #FFD21F; --amarillo-o: #E8B400;
  --rojo: #D9262E; --rojo-o: #A9161D;
  --azul: #1739D6; --azul-o: #0D249A;
  --naranja: #F06A1F; --verde: #5DB847; --verde-o: #3C8E2C;
  --tinta: #17130E; --arena: #FFF3D6; --arena-2: #FBE6B5; --blanco: #FFFFFF;
  --gris: #6B6256;
  --tit: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --txt: 'Nunito', system-ui, -apple-system, sans-serif;
  --r: 26px;
  --pie: calc(86px + env(safe-area-inset-bottom));
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--txt); color: var(--tinta); background: var(--arena);
  background-image: radial-gradient(circle at 12px 12px, rgba(240, 106, 31, .09) 2px, transparent 2.5px);
  background-size: 26px 26px; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--tit); font-weight: 400; margin: 0; letter-spacing: .2px; }
.oculto { display: none !important; }

/* ---------- entrada ---------- */
#entrada { position: fixed; inset: 0; z-index: 90; background: var(--amarillo); display: grid; place-items: center; overflow: hidden; pointer-events: none; }
#entrada.fuera { animation: entradaSale .55s cubic-bezier(.7, 0, .3, 1) forwards; }
.en-sol { position: absolute; width: 140vmax; height: 140vmax; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.22) 0 9deg, transparent 9deg 18deg); animation: gira 9s linear infinite; }
.en-coco { position: absolute; width: min(44vw, 210px); left: 50%; top: 50%; transform: translate(-50%, -64%);
  animation: cocoRueda 1s cubic-bezier(.2, .9, .3, 1.25) both; }
.en-cam { position: absolute; width: min(26vw, 120px); left: 50%; top: 50%; transform: translate(10%, -150%) rotate(-8deg);
  animation: camSalta .6s .7s cubic-bezier(.2, .9, .3, 1.4) both; }
.en-palabra { position: absolute; width: min(62vw, 300px); left: 50%; top: 50%; transform: translate(-50%, 34%);
  animation: palabraSube .55s .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.en-ola { position: absolute; left: -10%; right: -10%; bottom: -30px; height: 90px; background: var(--azul);
  -webkit-mask: radial-gradient(40px 26px at 40px 0, transparent 98%, #000) 0 0 / 80px 100% repeat-x;
          mask: radial-gradient(40px 26px at 40px 0, transparent 98%, #000) 0 0 / 80px 100% repeat-x;
  animation: ola 2.2s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes cocoRueda { 0% { transform: translate(-260%, -64%) rotate(-540deg); } 100% { transform: translate(-50%, -64%) rotate(0); } }
@keyframes camSalta { 0% { opacity: 0; transform: translate(10%, -40%) rotate(40deg) scale(.4); } 100% { opacity: 1; transform: translate(10%, -150%) rotate(-8deg) scale(1); } }
@keyframes palabraSube { 0% { opacity: 0; transform: translate(-50%, 90%) scale(.7); } 100% { opacity: 1; transform: translate(-50%, 34%) scale(1); } }
@keyframes ola { to { background-position: 80px 0; transform: translateX(80px); } }
@keyframes entradaSale { to { clip-path: circle(0% at 50% 100%); } }
#entrada { clip-path: circle(150% at 50% 100%); }

/* ---------- cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px; background: var(--amarillo);
  box-shadow: 0 4px 0 var(--amarillo-o); }
.cab-logo img { width: 78px; height: auto; }
.cab-suc { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; flex: 1; }
.cab-suc b { font-family: var(--tit); font-weight: 400; font-size: 16px; white-space: nowrap; }
.cab-suc span { font-size: 11.5px; font-weight: 800; color: var(--rojo-o); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cab-demo { flex: none; background: var(--tinta); color: var(--amarillo); text-decoration: none; font-weight: 900; font-size: 12.5px;
  padding: 9px 13px; border-radius: 99px; box-shadow: 0 3px 0 #000; white-space: nowrap; }
.cab-demo.en-mesa { background: var(--blanco); color: var(--tinta); box-shadow: 0 3px 0 var(--amarillo-o); }

/* ---------- vistas ---------- */
main { overflow-x: clip; padding-bottom: calc(var(--pie) + 18px); max-width: 1180px; margin: 0 auto; }
.vista { display: none; }
.vista.activa { display: block; animation: vistaEntra .35s ease both; }
@keyframes vistaEntra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tit { font-size: 25px; margin: 22px 16px 12px; line-height: 1.05; }
.tit small { display: block; font-family: var(--txt); font-weight: 800; font-size: 13px; color: var(--gris); margin-top: 3px; }

/* ---------- mesa ---------- */
.mesa { margin: 14px 14px 0; background: var(--azul); color: #fff; border-radius: var(--r); padding: 14px; box-shadow: 0 6px 0 var(--azul-o); }
.mesa-arriba { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mesa-num { background: var(--amarillo); color: var(--tinta); border-radius: 18px; padding: 6px 14px 4px; text-align: center; box-shadow: 0 4px 0 var(--amarillo-o); }
.mesa-num small { display: block; font-weight: 900; font-size: 11px; letter-spacing: 1px; }
.mesa-num b { font-family: var(--tit); font-weight: 400; font-size: 38px; line-height: .95; }
.mesa-arriba p { margin: 0; font-weight: 800; font-size: 14px; line-height: 1.3; }
.mesa-arriba p b { display: block; font-family: var(--tit); font-weight: 400; font-size: 21px; }
.mesa-acc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mesa-acc button { background: #fff; color: var(--tinta); border-radius: 16px; min-height: 66px; padding: 8px 6px; font-weight: 900; font-size: 13px; line-height: 1.15;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 4px 0 var(--azul-o); transition: transform .12s; }
.mesa-acc button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--azul-o); }
.mesa-acc svg { width: 24px; height: 24px; fill: none; stroke: var(--rojo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mesa-acc button.pendiente { background: var(--amarillo); }
.mesa-acc button small { font-weight: 800; font-size: 11px; color: var(--azul); }

/* ---------- rubros ---------- */
.rubros { display: flex; gap: 8px; overflow-x: auto; padding: 14px 14px 4px; scrollbar-width: none; }
.rubros::-webkit-scrollbar { display: none; }
.rubros button { flex: none; padding: 9px 15px; border-radius: 99px; background: #fff; font-weight: 900; font-size: 14px;
  box-shadow: 0 3px 0 var(--arena-2), inset 0 0 0 2px var(--arena-2); white-space: nowrap; }
.rubros button[data-c="rojo"] { --c: var(--rojo); } .rubros button[data-c="azul"] { --c: var(--azul); } .rubros button[data-c="amarillo"] { --c: var(--amarillo-o); }
.rubros button::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }
.rubros button.activo { background: var(--tinta); color: #fff; box-shadow: 0 3px 0 #000; }

/* ---------- destacados: bloques de color como sus placas ---------- */
.destacados { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 12px; padding: 34px 14px 6px; }
.bloque { --c: var(--amarillo); --co: var(--amarillo-o); --t: var(--tinta);
  position: relative; background: var(--c); color: var(--t); border-radius: var(--r); padding: 112px 12px 12px; min-height: 206px;
  box-shadow: 0 6px 0 var(--co); display: flex; flex-direction: column; text-align: left; transition: transform .15s; }
.bloque.rojo { --c: var(--rojo); --co: var(--rojo-o); --t: #fff; }
.bloque.azul { --c: var(--azul); --co: var(--azul-o); --t: #fff; }
.bloque:active { transform: translateY(3px) scale(.99); }
.bloque .plato { position: absolute; left: 50%; top: -30px; width: auto; max-width: 94%; height: 136px; object-fit: contain; transform: translateX(-50%) rotate(-4deg); filter: drop-shadow(0 10px 10px rgba(0,0,0,.28));
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.3); pointer-events: none; }
.bloque:hover .plato { transform: translateX(-50%) rotate(0) scale(1.04); }
.bloque h3 { font-size: 19px; line-height: 1.02; color: var(--t); margin-top: auto; padding-right: 44px; }
.bloque.amarillo h3 { color: var(--rojo); }
.bloque .precio { font-weight: 900; font-size: 15px; margin-top: 4px; }
.bloque .sello { position: absolute; top: 10px; left: -6px; background: var(--tinta); color: var(--amarillo); font-weight: 900; font-size: 11px; padding: 5px 9px; border-radius: 8px; transform: rotate(-6deg); z-index: 2; }
.bloque .mas { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--tinta);
  display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0,0,0,.25); z-index: 2; }
.bloque.amarillo .mas { background: var(--tinta); color: var(--amarillo); }
.mas svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.bloque.ancho { grid-column: span 2; flex-direction: row; align-items: flex-end; min-height: 176px; padding: 16px; }
.bloque.ancho .plato { left: auto; right: -4px; top: -38px; width: 56%; height: auto; max-width: none; transform: rotate(6deg); }
.bloque.ancho .sello { top: -12px; left: 14px; }
.bloque.ancho:hover .plato { transform: rotate(0) scale(1.04); }
.bloque.ancho .txt { width: 50%; }
.bloque.ancho h3 { font-size: 30px; padding-right: 0; }
.bloque.ancho .d { font-size: 13px; font-weight: 700; opacity: .92; margin-top: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bloque.ancho .agregar { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; background: var(--amarillo); color: var(--tinta); font-weight: 900; font-size: 14px;
  padding: 10px 14px; border-radius: 99px; box-shadow: 0 3px 0 var(--amarillo-o); }
.bloque.agotado { filter: grayscale(.8); opacity: .7; }

/* ---------- banner del juego ---------- */
.jb { margin: 26px 14px 0; background: var(--rojo); color: #fff; border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  box-shadow: 0 6px 0 var(--rojo-o); position: relative; overflow: hidden; text-align: left; width: calc(100% - 28px); }
.jb::after { content: ''; position: absolute; inset: auto -20px -40px auto; width: 170px; height: 90px; border-radius: 50%; background: rgba(255,210,31,.22); }
.jb h3 { font-size: 23px; line-height: 1; }
.jb p { margin: 6px 0 10px; font-weight: 800; font-size: 13.5px; line-height: 1.3; }
.jb .btn-a { display: inline-block; }
.jb-cocos { display: flex; align-items: flex-end; position: relative; z-index: 1; }
.jb-cocos img { width: 48px; margin-left: -10px; filter: drop-shadow(0 4px 0 rgba(0,0,0,.2)); }
.jb-cocos img:nth-child(2) { width: 58px; animation: brinco 1.6s ease-in-out infinite; }
.jb-cocos img:nth-child(3) { animation: brinco 1.6s .3s ease-in-out infinite; }
@keyframes brinco { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px) rotate(-6deg); } }
.btn-a { background: var(--amarillo); color: var(--tinta); font-weight: 900; font-size: 15px; padding: 11px 18px; border-radius: 99px; box-shadow: 0 4px 0 var(--amarillo-o); text-align: center; }
.btn-t { background: var(--tinta); color: #fff; font-weight: 900; font-size: 15px; padding: 12px 18px; border-radius: 99px; box-shadow: 0 4px 0 #000; text-align: center; }
.btn-b { background: #fff; color: var(--tinta); font-weight: 900; font-size: 15px; padding: 11px 18px; border-radius: 99px; box-shadow: 0 4px 0 rgba(0,0,0,.18); text-align: center; }
.btn-a:active, .btn-t:active, .btn-b:active { transform: translateY(3px); box-shadow: none; }

/* ---------- tira del club ---------- */
.ct { margin: 22px 14px 0; background: var(--azul); color: #fff; border-radius: var(--r); padding: 14px 16px 16px; box-shadow: 0 6px 0 var(--azul-o); display: block; width: calc(100% - 28px); text-align: left; }
.ct-arriba { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ct h3 { font-size: 21px; }
.ct-arriba span { font-weight: 900; font-size: 13px; color: var(--amarillo); white-space: nowrap; }
.ct p { margin: 4px 0 0; font-weight: 800; font-size: 13px; }
.ruta { display: flex; align-items: center; margin: 14px 2px 4px; position: relative; }
.ruta::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 3px dashed rgba(255,255,255,.45); }
.isla { position: relative; flex: 1; display: grid; place-items: center; }
.isla i { width: 22px; height: 22px; border-radius: 50%; background: var(--azul-o); border: 3px solid rgba(255,255,255,.5); display: block; }
.isla.hecha i { background: var(--amarillo); border-color: var(--amarillo); }
.isla.cofre i { width: 24px; height: 24px; border-radius: 7px; }
.isla.aqui i { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(255,210,31,.5); }
.isla.tesoro b { position: absolute; font-family: var(--tit); color: var(--rojo); font-size: 22px; top: -4px; text-shadow: 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff; }

/* ---------- charolas ---------- */
.charolas { display: flex; gap: 14px; overflow-x: auto; padding: 40px 14px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.charolas::-webkit-scrollbar { display: none; }
.charolas .bloque { flex: none; width: min(68vw, 250px); scroll-snap-align: start; min-height: 220px; padding-top: 118px; }
.charolas .bloque .plato { width: 96%; height: auto; max-width: none; top: -34px; }
.charolas .bloque .gente { font-weight: 800; font-size: 12px; opacity: .9; }

/* ---------- info ---------- */
.info { margin: 22px 14px 0; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: 0 5px 0 var(--arena-2); display: grid; gap: 12px; }
.info-fila { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 14px; line-height: 1.3; }
.info-fila svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: var(--arena); fill: none; stroke: var(--rojo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.info-fila small { display: block; color: var(--gris); font-weight: 700; font-size: 12.5px; }
.info-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-acc a { text-decoration: none; }
.info .poli { font-size: 12px; color: var(--gris); font-weight: 700; line-height: 1.4; margin: 0; }

/* ---------- carta ---------- */
.carta-cab { position: sticky; top: var(--alto-cab, 64px); z-index: 20; background: var(--arena); padding-top: 12px; box-shadow: 0 8px 12px -10px rgba(0,0,0,.2); }
.buscar { display: flex; align-items: center; gap: 8px; margin: 0 14px; background: #fff; border-radius: 16px; padding: 0 14px; box-shadow: inset 0 0 0 2px var(--arena-2); }
.buscar svg { width: 20px; height: 20px; fill: none; stroke: var(--gris); stroke-width: 2.4; stroke-linecap: round; }
.buscar input { border: 0; outline: 0; background: none; flex: 1; padding: 13px 0; font-weight: 800; font-size: 16px; }
.rubros.fijo { padding-bottom: 12px; }
.seccion { padding: 4px 14px 8px; scroll-margin-top: calc(var(--alto-cab, 64px) + 130px); }
.seccion-cab { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; }
.seccion-cab h2 { font-size: 26px; }
.seccion-cab::after { content: ''; flex: 1; height: 6px; border-radius: 9px; background: var(--c, var(--amarillo)); }
.sub { font-weight: 900; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); margin: 14px 2px 6px; }
.renglones { display: grid; gap: 10px; }
.renglon { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 10px 10px 10px 12px;
  box-shadow: 0 4px 0 var(--arena-2); text-align: left; width: 100%; }
.renglon .mini { width: 74px; height: 74px; border-radius: 18px; background: var(--c, var(--amarillo)); display: grid; place-items: center; overflow: visible; }
.renglon .mini img { width: 92px; max-width: none; margin: -6px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); }
.renglon.sin-foto { grid-template-columns: 1fr auto; padding-left: 16px; }
.renglon h3 { font-family: var(--txt); font-weight: 900; font-size: 15.5px; line-height: 1.2; }
.renglon p { margin: 3px 0 0; font-size: 13px; font-weight: 700; color: var(--gris); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.renglon .pr { font-weight: 900; font-size: 15px; margin-top: 4px; color: var(--rojo); }
.renglon .mas { width: 40px; height: 40px; border-radius: 50%; background: var(--tinta); color: var(--amarillo); display: grid; place-items: center; box-shadow: 0 3px 0 #000; }
.renglon.agotado { opacity: .5; }
.renglon .ag { font-weight: 900; font-size: 11px; color: var(--gris); text-transform: uppercase; }
.vacio { text-align: center; padding: 40px 20px; font-weight: 800; color: var(--gris); }

/* ---------- ficha ---------- */
.velo { position: fixed; inset: 0; background: rgba(23, 19, 14, .55); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.velo.on { opacity: 1; pointer-events: auto; }
.hoja { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92vh; overflow-y: auto; background: var(--arena); border-radius: 30px 30px 0 0;
  transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .9, .3, 1); max-width: 620px; margin: 0 auto; overscroll-behavior: contain; }
.hoja.on { transform: none; }
.f-foto { --c: var(--amarillo); background: var(--c); border-radius: 30px 30px 0 0; padding: 22px 18px 10px; position: relative; display: grid; place-items: center; min-height: 120px; }
.f-foto.rojo { --c: var(--rojo); } .f-foto.azul { --c: var(--azul); }
.f-foto img { width: min(84%, 420px); filter: drop-shadow(0 14px 14px rgba(0,0,0,.3)); animation: platoCae .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.f-foto .sin { font-family: var(--tit); font-size: 34px; color: #fff; text-align: center; padding: 14px 10px 8px; line-height: 1; }
.f-foto.amarillo .sin { color: var(--rojo); }
@keyframes platoCae { from { transform: translateY(-30px) rotate(-8deg) scale(.85); opacity: 0; } }
.f-cerrar { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.f-cerrar svg { width: 18px; height: 18px; stroke: var(--tinta); stroke-width: 3; stroke-linecap: round; }
.f-cuerpo { padding: 18px 18px 8px; }
.f-cuerpo h2 { font-size: 30px; line-height: 1; }
.f-cuerpo .rub { font-weight: 900; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }
.f-cuerpo p { font-weight: 700; font-size: 15px; line-height: 1.45; margin: 10px 0 0; }
.f-cuerpo .pr { font-family: var(--tit); font-size: 26px; color: var(--rojo); margin-top: 10px; }
.f-nota { margin-top: 16px; }
.f-nota textarea { width: 100%; border: 0; border-radius: 16px; padding: 12px 14px; font-weight: 700; background: #fff; box-shadow: inset 0 0 0 2px var(--arena-2); resize: none; outline: 0; }
.f-pie { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--arena) 30%); }
.cant { display: flex; align-items: center; background: #fff; border-radius: 99px; box-shadow: 0 3px 0 var(--arena-2), inset 0 0 0 2px var(--arena-2); }
.cant button { width: 44px; height: 48px; font-weight: 900; font-size: 22px; }
.cant b { min-width: 26px; text-align: center; font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.f-pie .btn-t { flex: 1; font-size: 16px; padding: 15px 18px; }

/* ---------- pedido ---------- */
.ped { padding: 16px 14px 0; }
.ped h1 { font-size: 34px; line-height: 1; }
.ped .baj { font-weight: 800; color: var(--gris); margin: 6px 0 14px; }
.items { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 10px 12px; box-shadow: 0 4px 0 var(--arena-2); }
.item .mini { width: 56px; height: 56px; border-radius: 15px; background: var(--c, var(--amarillo)); display: grid; place-items: center; }
.item .mini img { width: 70px; max-width: none; }
.item .mini.vacio-m { background: var(--arena); }
.item h3 { font-family: var(--txt); font-weight: 900; font-size: 15px; line-height: 1.2; }
.item small { font-weight: 800; color: var(--gris); font-size: 13px; }
.item .cant { transform: scale(.86); transform-origin: right center; }
.item.premio { background: var(--amarillo); box-shadow: 0 4px 0 var(--amarillo-o); }
.caja { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: 0 5px 0 var(--arena-2); margin-top: 14px; }
.caja h3 { font-size: 20px; margin-bottom: 10px; }
.modo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modo button { border-radius: 16px; padding: 12px 8px; font-weight: 900; font-size: 14px; background: var(--arena); box-shadow: inset 0 0 0 2px var(--arena-2); }
.modo button.on { background: var(--tinta); color: #fff; box-shadow: 0 3px 0 #000; }
.campos { display: grid; gap: 10px; margin-top: 12px; }
.campos label { display: grid; gap: 4px; font-weight: 900; font-size: 12.5px; color: var(--gris); }
.campos input, .campos select { border: 0; border-radius: 14px; padding: 12px 14px; font-weight: 800; font-size: 16px; background: var(--arena); outline: 0; box-shadow: inset 0 0 0 2px var(--arena-2); width: 100%; }
.campos input:focus, .campos select:focus { box-shadow: inset 0 0 0 2px var(--azul); }
.campos .doble { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tot { display: flex; justify-content: space-between; font-weight: 800; padding: 4px 2px; }
.tot.grande { font-family: var(--tit); font-size: 26px; margin-top: 6px; }
.tirada { margin-top: 14px; background: var(--rojo); color: #fff; border-radius: var(--r); padding: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 5px 0 var(--rojo-o); width: 100%; text-align: left; }
.tirada img { width: 54px; flex: none; }
.tirada b { font-family: var(--tit); font-weight: 400; font-size: 19px; display: block; line-height: 1.05; }
.tirada span { font-weight: 800; font-size: 13px; }
.mandar { position: sticky; bottom: calc(var(--pie) + 6px); margin-top: 16px; z-index: 5; }
.mandar .btn-t { width: 100%; font-size: 17px; padding: 16px; }
.error { color: var(--rojo); font-weight: 900; font-size: 13px; margin-top: 8px; min-height: 1em; }
.vacia { text-align: center; padding: 30px 10px 10px; }
.vacia img { width: 150px; margin: 0 auto 10px; animation: brinco 2s ease-in-out infinite; }
.vacia h2 { font-size: 26px; }
.vacia p { font-weight: 800; color: var(--gris); }

/* seguimiento */
.seg { background: var(--azul); color: #fff; border-radius: var(--r); padding: 18px 16px; box-shadow: 0 6px 0 var(--azul-o); margin-top: 6px; }
.seg small { font-weight: 900; letter-spacing: 1px; font-size: 12px; color: var(--amarillo); }
.seg h2 { font-size: 40px; line-height: .95; margin-top: 2px; }
.seg .estado { font-weight: 900; font-size: 17px; margin-top: 8px; }
.pista { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; position: relative; }
.pista::before { content: ''; position: absolute; left: 12%; right: 12%; top: 17px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.25); }
.pista .barra-av { position: absolute; left: 12%; top: 17px; height: 5px; border-radius: 9px; background: var(--amarillo); transition: width .6s; }
.paso { text-align: center; font-weight: 900; font-size: 12px; position: relative; display: grid; justify-items: center; gap: 6px; }
.paso i { width: 38px; height: 38px; border-radius: 50%; background: var(--azul-o); border: 3px solid rgba(255,255,255,.35); display: block; }
.paso.hecho i { background: var(--amarillo); border-color: var(--amarillo); }
.paso.ahora i { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,210,31,.45); animation: late 1.2s ease-in-out infinite; }
@keyframes late { 50% { box-shadow: 0 0 0 10px rgba(255,210,31,.2); } }
.seg-items { margin-top: 18px; background: rgba(255,255,255,.12); border-radius: 18px; padding: 10px 12px; font-weight: 800; font-size: 14px; display: grid; gap: 4px; }
.seg-items div { display: flex; justify-content: space-between; gap: 8px; }

/* ---------- juego ---------- */
.juego { padding: 14px 14px 0; }
.juego-cab { text-align: center; }
.juego-cab h1 { font-size: 34px; color: var(--rojo); line-height: 1; }
.juego-cab p { font-weight: 800; margin: 8px 0 0; min-height: 2.6em; font-size: 15px; }
.juego-tiradas { display: inline-block; margin-top: 4px; background: var(--tinta); color: var(--amarillo); font-weight: 900; font-size: 13px; padding: 6px 12px; border-radius: 99px; }
.playa { position: relative; margin-top: 14px; height: 300px; border-radius: var(--r); overflow: hidden; background: linear-gradient(#7FD3FF, #BDEBFF 55%); box-shadow: 0 6px 0 var(--azul-o); }
.sol-playa { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--amarillo); top: 20px; right: 26px; box-shadow: 0 0 0 14px rgba(255,210,31,.3); }
.mar { position: absolute; left: 0; right: 0; top: 112px; height: 60px; background: var(--azul);
  -webkit-mask: radial-gradient(22px 14px at 22px 0, transparent 98%, #000) 0 0 / 44px 100% repeat-x; mask: radial-gradient(22px 14px at 22px 0, transparent 98%, #000) 0 0 / 44px 100% repeat-x; }
.arena { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: #F7D58A;
  -webkit-mask: radial-gradient(30px 16px at 30px 0, transparent 98%, #000) 0 0 / 60px 100% repeat-x; mask: radial-gradient(30px 16px at 30px 0, transparent 98%, #000) 0 0 / 60px 100% repeat-x; }
.cocos { position: absolute; left: 0; right: 0; bottom: 34px; height: 150px; }
.coco-j { position: absolute; bottom: 0; width: 31%; max-width: 150px; left: calc(var(--x) * 1%); transform: translateX(-50%); transition: left .34s cubic-bezier(.5, 0, .5, 1), transform .3s; z-index: 2; }
.coco-j img { width: 100%; filter: drop-shadow(0 8px 0 rgba(0,0,0,.15)); pointer-events: none; }
.coco-j.levanta { transform: translate(-50%, -70px) rotate(-10deg); }
.coco-j.elegible { animation: tiembla 1.4s ease-in-out infinite; }
.coco-j.elegible:nth-child(2) { animation-delay: .2s; } .coco-j.elegible:nth-child(3) { animation-delay: .4s; }
@keyframes tiembla { 0%, 70%, 100% { transform: translateX(-50%); } 80% { transform: translateX(-50%) rotate(-4deg); } 90% { transform: translateX(-50%) rotate(4deg); } }
.cam-j { position: absolute; bottom: 8px; width: 23%; max-width: 110px; left: calc(var(--x) * 1%); transform: translateX(-50%); z-index: 1; transition: opacity .2s; }
.juego-pie { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.juego-pie .btn-t, .juego-pie .btn-a { min-width: 200px; }
.premio-card { margin-top: 16px; background: var(--amarillo); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; box-shadow: 0 6px 0 var(--amarillo-o); animation: platoCae .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.premio-card img { width: 70px; }
.premio-card b { font-family: var(--tit); font-weight: 400; font-size: 22px; display: block; line-height: 1.05; }
.premio-card span { font-weight: 800; font-size: 13.5px; }
.juego-premios { margin: 20px 0 0; background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: 0 5px 0 var(--arena-2); font-weight: 800; font-size: 14px; line-height: 1.4; }
.juego-premios h3 { font-size: 19px; margin-bottom: 6px; }
.juego-premios ul { margin: 0; padding-left: 18px; }
.confeti { position: fixed; top: -20px; width: 10px; height: 16px; z-index: 80; pointer-events: none; animation: cae 1.6s ease-in forwards; }
@keyframes cae { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- club ---------- */
.club { padding: 14px 14px 0; }
.mapa { background: var(--azul); border-radius: var(--r); padding: 18px 16px 16px; color: #fff; box-shadow: 0 6px 0 var(--azul-o); position: relative; overflow: hidden; }
.mapa h1 { font-size: 32px; line-height: 1; }
.mapa > p { font-weight: 800; margin: 6px 0 0; font-size: 14px; }
.mapa svg.camino { display: block; width: 100%; height: auto; margin-top: 10px; }
.mapa .socio { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; background: rgba(255,255,255,.12); border-radius: 18px; padding: 10px 12px; }
.mapa .socio b { font-family: var(--tit); font-weight: 400; font-size: 18px; display: block; }
.mapa .socio span { font-weight: 800; font-size: 12.5px; opacity: .9; }
.qr { width: 74px; height: 74px; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.regalos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.regalo { background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 4px 0 var(--arena-2); position: relative; }
.regalo .n { font-family: var(--tit); font-size: 15px; color: var(--azul); }
.regalo h3 { font-family: var(--txt); font-weight: 900; font-size: 14.5px; line-height: 1.2; margin-top: 4px; }
.regalo small { font-weight: 800; color: var(--gris); font-size: 12px; }
.regalo.listo { background: var(--amarillo); box-shadow: 0 4px 0 var(--amarillo-o); }
.regalo.listo .n { color: var(--rojo); }
.regalo .ok { position: absolute; top: 10px; right: 10px; font-weight: 900; font-size: 11px; background: var(--tinta); color: var(--amarillo); padding: 3px 8px; border-radius: 99px; }
.alta { margin-top: 16px; }
.alta p { font-weight: 700; margin: 0 0 6px; line-height: 1.4; }

/* ---------- barra ---------- */
.barra { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; width: min(calc(100% - 20px), 460px);
  display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: center; background: var(--tinta); border-radius: 26px; padding: 6px; box-shadow: 0 6px 0 #000, 0 14px 30px rgba(0,0,0,.25); }
.barra button { position: relative; display: grid; justify-items: center; gap: 2px; color: rgba(255,255,255,.6); font-weight: 900; font-size: 11px; padding: 6px 0 4px; border-radius: 18px; }
.barra button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.barra button.activo { color: var(--amarillo); }
.barra .b-coco { width: 76px; height: 76px; margin: -30px auto 0; border-radius: 50%; background: var(--amarillo); box-shadow: 0 5px 0 var(--amarillo-o), 0 0 0 5px var(--tinta); display: grid; place-items: center; }
.barra .b-coco img { width: 60px; margin-top: -4px; transition: transform .3s; }
.barra .b-coco.activo img { transform: rotate(-12deg) scale(1.06); }
.barra i { position: absolute; top: 0; right: calc(50% - 22px); min-width: 19px; height: 19px; border-radius: 99px; background: var(--rojo); color: #fff; font-style: normal; font-size: 11px; font-weight: 900; display: grid; place-items: center; padding: 0 5px; }
.barra i:empty { display: none; }
.barra .b-coco i { top: 2px; right: 0; background: var(--rojo); }
.barra .salta { animation: salta .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes salta { 40% { transform: scale(1.25); } }

/* volador al pedido */
.vuela { position: fixed; z-index: 70; pointer-events: none; transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

/* aviso */
.aviso { position: fixed; left: 50%; bottom: calc(var(--pie) + 20px); transform: translate(-50%, 20px); z-index: 75; background: var(--tinta); color: #fff; font-weight: 900; font-size: 14px;
  padding: 12px 18px; border-radius: 99px; opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 4px 0 #000; white-space: nowrap; max-width: calc(100% - 30px); overflow: hidden; text-overflow: ellipsis; }
.aviso.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- pantallas anchas ---------- */
@media (min-width: 600px) {
  .destacados { grid-template-columns: repeat(3, 1fr); }
  .bloque.ancho { grid-column: span 3; }
  .bloque.ancho .plato { width: 44%; right: 2%; }
  .regalos { grid-template-columns: repeat(4, 1fr); }
  .renglones { grid-template-columns: 1fr 1fr; }
  .cab-logo img { width: 110px; }
  .playa { height: 340px; }
}
@media (min-width: 760px) {
  .destacados { grid-template-columns: repeat(4, 1fr); gap: 40px 16px; padding-left: 20px; padding-right: 20px; }
  .bloque.ancho { grid-column: span 2; grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .bloque.ancho .plato { width: 92%; right: 4%; top: -40px; }
  .bloque.ancho .txt { width: 100%; }
  .jb, .ct { display: inline-grid; width: calc(50% - 26px); vertical-align: top; margin-left: 20px; margin-right: 0; }
  .ct { display: inline-block; }
  .charolas .bloque { width: 260px; }
  .tit, .rubros, .charolas, .info, .ped, .club, .juego, .seccion, .mesa { margin-left: 6px; margin-right: 6px; }
  .info { grid-template-columns: 1fr 1fr 1fr; align-items: center; }
  .info .poli { grid-column: 1 / -1; }
  .juego, .ped, .club { max-width: 680px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1100px) {
  .destacados { grid-template-columns: repeat(5, 1fr); }
  .renglones { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* que la grilla de destacados no deje uno solo en la última fila */
@media (max-width: 599px), (min-width: 760px) { .destacados > .bloque:nth-child(10) { display: none; } }
@media (min-width: 1100px) { .destacados { grid-template-columns: repeat(6, 1fr); } }

/* =========================================================
   B · LA PLAYA (elegida el 26/11): arena, mar, sol y palmeras
   ========================================================= */
:root { --arena: #F7D58A; --arena-2: #E9BE63; --cielo: #9BDCFF; --sol: #F06A1F; }
body { background: var(--arena); background-image: radial-gradient(rgba(150, 100, 20, .16) 1.5px, transparent 2px); background-size: 14px 14px; }
.cab { box-shadow: none; }
body.en-inicio .cab-logo { display: none; }
body.en-inicio .cab-suc { flex: 0 1 auto; background: var(--tinta); color: var(--amarillo); padding: 7px 12px; border-radius: 99px; margin-right: auto; }
body.en-inicio .cab-suc b { font-size: 14px; }
body.en-inicio .cab-suc span { display: none; }
body.en-inicio .cab-demo { background: #fff; color: var(--tinta); box-shadow: 0 3px 0 rgba(0,0,0,.2); }

/* escena */
.escena { position: relative; height: 560px; overflow: hidden; background: linear-gradient(var(--amarillo) 0, #FFE37A 52%, var(--cielo) 52.1%, var(--cielo) 100%); }
.es-rayos { position: absolute; left: 50%; top: 200px; width: 1300px; height: 1300px; margin: -650px 0 0 -650px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.38) 0 7deg, transparent 7deg 14deg); animation: gira 50s linear infinite; }
.es-sol { position: absolute; left: 50%; top: 200px; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 18px rgba(240,106,31,.22); }
.es-palabra { position: relative; z-index: 4; width: min(62vw, 250px); margin: 4px auto 0;
  filter: drop-shadow(0 4px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff); animation: palabraCae .7s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes palabraCae { from { transform: translateY(-30px) scale(.85); opacity: 0; } }
.es-palma { position: absolute; z-index: 3; left: -46px; top: 70px; width: 160px; transform-origin: 55% 100%; animation: palma 5s ease-in-out infinite; }
.es-palma.dos { left: auto; right: -64px; top: 110px; width: 140px; transform: scaleX(-1); animation: none; }
@keyframes palma { 50% { transform: rotate(-3deg); } }
.es-ola { position: absolute; left: -60px; right: -60px; }
.es-ola.uno { top: 290px; height: 70px; z-index: 2; background: var(--azul);
  -webkit-mask: radial-gradient(28px 18px at 28px 0, transparent 98%, #000) 0 0/56px 100% repeat-x; mask: radial-gradient(28px 18px at 28px 0, transparent 98%, #000) 0 0/56px 100% repeat-x; animation: mar 4s ease-in-out infinite; }
.es-ola.dos { top: 336px; height: 260px; z-index: 3; background: var(--azul-o);
  -webkit-mask: radial-gradient(34px 20px at 34px 0, transparent 98%, #000) 0 0/68px 100% repeat-x; mask: radial-gradient(34px 20px at 34px 0, transparent 98%, #000) 0 0/68px 100% repeat-x; animation: mar 5s ease-in-out infinite reverse; }
@keyframes mar { 50% { transform: translateX(28px); } }
.es-plato { position: absolute; z-index: 4; left: 50%; top: 150px; width: min(80vw, 320px); transform: translateX(-50%); filter: drop-shadow(0 20px 18px rgba(0,0,0,.35));
  animation: boyaH 3.2s ease-in-out infinite; cursor: pointer; transition: transform .38s cubic-bezier(.5, 0, .7, .4), opacity .38s; }
@keyframes boyaH { 50% { margin-top: -10px; } }
.es-plato.se-hunde { transform: translateX(-50%) translateY(140px) rotate(8deg) scale(.8); opacity: 0; }
.es-plato.sale { animation: sale .7s cubic-bezier(.2, .9, .3, 1.35) both, boyaH 3.2s .7s ease-in-out infinite; }
@keyframes sale { from { transform: translateX(-50%) translateY(150px) rotate(-10deg) scale(.7); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.es-coco { position: absolute; z-index: 5; right: 6px; top: 280px; width: 96px; animation: asoma 3s ease-in-out infinite; pointer-events: none; }
@keyframes asoma { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-4deg) translateY(-6px); } }
.es-tarjeta { position: absolute; z-index: 6; left: 14px; right: 14px; top: 392px; background: #fff; border-radius: 26px; padding: 14px 14px 14px 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.es-tarjeta > div { cursor: pointer; min-width: 0; }
.es-tarjeta small { font-weight: 900; font-size: 11px; letter-spacing: 1.5px; color: var(--rojo); }
.es-tarjeta h1 { font-size: 28px; line-height: 1; }
.es-tarjeta p { font-weight: 800; font-size: 13px; color: var(--gris); margin: 3px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-r { background: var(--rojo); color: #fff; font-weight: 900; font-size: 15px; padding: 13px 15px; border-radius: 99px; box-shadow: 0 4px 0 var(--rojo-o); white-space: nowrap; }
.btn-r:active { transform: translateY(3px); box-shadow: none; }
.es-puntos { position: absolute; z-index: 6; left: 0; right: 0; top: 520px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.es-puntos button { width: 9px; height: 9px; border-radius: 9px; background: rgba(255,255,255,.45); transition: width .3s; }
.es-puntos button.on { width: 28px; background: var(--amarillo); }
.es-puntos span { color: #fff; font-weight: 900; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-left: 6px; }

/* arena con salvavidas */
.arena-sec .tit { margin-top: 18px; }
.arena-sec .tit small { color: #7a5a14; }
.boyas { display: flex; gap: 16px; overflow-x: auto; padding: 38px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.boyas::-webkit-scrollbar { display: none; }
.boya { --c: var(--rojo); flex: none; width: 148px; text-align: center; position: relative; scroll-snap-align: start; cursor: pointer; animation: boyaH 3.2s var(--d, 0s) ease-in-out infinite; }
.boya.azul { --c: var(--azul); } .boya.amarillo { --c: var(--naranja); }
.boya .aro { width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: 0 6px 0 rgba(0,0,0,.18);
  background: repeating-conic-gradient(var(--c) 0 45deg, #fff 45deg 90deg); }
.boya .aro::before { content: ''; position: absolute; inset: 19px; border-radius: 50%; background: var(--cielo); box-shadow: inset 0 4px 0 rgba(0,0,0,.12); }
.boya .aro img { position: relative; width: 150px; max-width: none; margin-top: -38px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.3)); transition: transform .3s; }
.boya:hover .aro img { transform: scale(1.06) rotate(-3deg); }
.boya b { font-family: var(--tit); font-weight: 400; font-size: 17px; display: block; margin-top: 10px; line-height: 1.05; }
.boya small { font-weight: 900; color: var(--rojo); font-size: 15px; }
.boya .mas { position: absolute; right: 2px; top: 100px; width: 40px; height: 40px; border-radius: 50%; background: var(--tinta); color: var(--amarillo); display: grid; place-items: center; box-shadow: 0 3px 0 #000; }
.boya.agotado { filter: grayscale(.8); opacity: .65; }
.arena-sec .rubros { padding-top: 16px; }

/* el resto de la app en el mismo mundo */
.rubros button { box-shadow: 0 3px 0 var(--arena-2); }
.mesa { position: relative; overflow: hidden; padding-bottom: 26px; }
.mesa::after { content: ''; position: absolute; left: -20px; right: -20px; bottom: 0; height: 16px; background: var(--azul-o);
  -webkit-mask: radial-gradient(14px 9px at 14px 0, transparent 98%, #000) 0 0/28px 100% repeat-x; mask: radial-gradient(14px 9px at 14px 0, transparent 98%, #000) 0 0/28px 100% repeat-x; }
body.en-inicio .mesa { margin-bottom: 14px; }
.carta-cab { background: var(--arena); }
.buscar { box-shadow: 0 3px 0 var(--arena-2); }
.seccion-cab::after { height: 12px; border-radius: 0; background: var(--c, var(--azul));
  -webkit-mask: radial-gradient(8px 6px at 8px 0, transparent 98%, #000) 0 0/16px 100% repeat-x; mask: radial-gradient(8px 6px at 8px 0, transparent 98%, #000) 0 0/16px 100% repeat-x; }
.renglon, .item, .caja, .info, .regalo, .juego-premios { box-shadow: 0 4px 0 var(--arena-2); }
.renglon .mini { border-radius: 50%; background: repeating-conic-gradient(var(--c, var(--rojo)) 0 45deg, #fff 45deg 90deg); position: relative; }
.renglon .mini::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--cielo); }
.renglon .mini img { position: relative; width: 84px; }
.item .mini { border-radius: 50%; background: repeating-conic-gradient(var(--c, var(--rojo)) 0 45deg, #fff 45deg 90deg); position: relative; }
.item .mini::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--cielo); }
.item .mini img { position: relative; }
.item .mini.vacio-m::before, .item.premio .mini::before { display: none; }
.item.premio .mini { background: none; }
.f-foto { background: linear-gradient(var(--c) 0 62%, var(--cielo) 62%); overflow: hidden; }
.f-foto::after { content: ''; position: absolute; left: -20px; right: -20px; bottom: 0; height: 38%; background: var(--azul);
  -webkit-mask: radial-gradient(22px 14px at 22px 0, transparent 98%, #000) 0 0/44px 100% repeat-x; mask: radial-gradient(22px 14px at 22px 0, transparent 98%, #000) 0 0/44px 100% repeat-x; }
.f-foto img, .f-foto .sin { position: relative; z-index: 1; }
.f-foto .f-cerrar { z-index: 2; }
.hoja { background: var(--arena); }

@media (min-width: 600px) {
  .escena { height: 640px; }
  .es-palabra { width: 300px; }
  .es-plato { width: 380px; top: 170px; }
  .es-ola.uno { top: 340px; } .es-ola.dos { top: 390px; }
  .es-coco { top: 330px; right: 12%; width: 120px; }
  .es-tarjeta { top: 470px; left: 50%; right: auto; width: 520px; margin-left: -260px; }
  .es-puntos { top: 596px; }
  .es-palma { width: 220px; left: -30px; } .es-palma.dos { width: 200px; right: -40px; }
}
@media (min-width: 1000px) {
  .escena { height: 600px; border-radius: 0 0 40px 40px; }
  .es-plato { width: 420px; top: 120px; left: 62%; }
  .es-palabra { position: absolute; left: 6%; top: 120px; width: 360px; margin: 0; }
  .es-ola.uno { top: 330px; } .es-ola.dos { top: 380px; }
  .es-tarjeta { left: 6%; margin-left: 0; top: 420px; width: 440px; }
  .es-coco { right: 6%; top: 300px; }
  .es-puntos { top: 548px; justify-content: flex-start; left: 6%; }
  .boyas { justify-content: center; }
}
/* ajustes de la escena (26/11) */
.es-palabra { width: min(56vw, 220px); }
.es-plato { top: 156px; width: min(72vw, 290px); }
.es-ola.uno { top: 300px; } .es-ola.dos { top: 346px; }
.es-coco { top: 300px; width: 88px; }
.es-tarjeta { top: 404px; }
.es-puntos { top: 528px; }
.boya .aro img { width: auto; max-width: 156px; height: 150px; object-fit: contain; object-position: center bottom; }
@media (min-width: 600px) {
  .escena { height: 660px; }
  .es-palabra { width: 270px; }
  .es-plato { top: 196px; width: 340px; }
  .es-ola.uno { top: 380px; } .es-ola.dos { top: 426px; }
  .es-coco { top: 370px; }
  .es-tarjeta { top: 500px; }
  .es-puntos { top: 622px; }
}
@media (min-width: 1000px) {
  .escena { height: 600px; }
  .es-palabra { width: 340px; top: 110px; }
  .es-plato { top: 110px; width: 420px; }
  .es-ola.uno { top: 330px; } .es-ola.dos { top: 380px; }
  .es-coco { top: 300px; }
  .es-tarjeta { top: 420px; }
  .es-puntos { top: 548px; }
}
/* tira del mapa: islas de arena, cofres y el coco donde vas */
.ruta { margin: 18px 2px 6px; height: 34px; }
.ruta::before { border-top-width: 3px; border-top-style: dotted; top: 60%; }
.isla i { width: 26px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); margin-top: 14px; }
.isla.hecha i { background: #F7D58A; }
.isla.cofre i { width: 18px; height: 15px; border-radius: 4px; margin-top: 8px; background: rgba(255,255,255,.35); border: 2px solid var(--tinta); }
.isla.cofre.hecha i { background: var(--amarillo); }
.isla.aqui i { box-shadow: none; }
.isla .yo { position: absolute; bottom: 12px; width: 34px; animation: brinco 1.6s ease-in-out infinite; }
.isla.tesoro b { top: 0; font-size: 24px; }
.isla.tesoro i { opacity: 0; }
/* riel centrado sin cortar el primero cuando no entra */
@media (min-width: 1000px) { .boyas { justify-content: flex-start; } .boyas > :first-child { margin-left: auto; } .boyas > :last-child { margin-right: auto; } }

/* juego y mapa del inicio: lado a lado en pantallas anchas, enteros en el teléfono */
#juegoBanner .jb, #clubTira .ct { display: block; width: auto; margin: 22px 14px 0; }
#juegoBanner .jb { display: grid; }
@media (min-width: 760px) {
  .dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 20px 0; }
  .dupla #juegoBanner .jb, .dupla #clubTira .ct { margin: 0; height: 100%; }
}
.charolas .bloque .plato { height: 150px; width: auto; max-width: 96%; object-fit: contain; left: 50%; transform: translateX(-50%) rotate(-4deg); }
#juegoBanner .jb, #clubTira .ct { width: calc(100% - 28px); }
@media (min-width: 760px) {
  .dupla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dupla #juegoBanner .jb, .dupla #clubTira .ct { width: 100%; }
}
