@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/fraunces-italic.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/fraunces-bold.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/caveat.woff2) format("woff2"); }

:root {
  --px: 0; /* parallax -1..1, lo escribe app.js */
  --py: 0;
  --crema: #fbe9c9;
  --oro: #f3b75c;
  --funda: min(62vw, 34svh, 340px);
  --tt: min(86vw, 50svh, 480px);
  --c1: #1d2b63;
  --c2: #f0b45a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #120a06;
  color: var(--crema);
  font-family: "Fraunces", Georgia, serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; }

/* ---------- Capas de ambiente ---------- */
.fondo { position: fixed; inset: 0; overflow: hidden; }
.fondo-img {
  position: absolute; inset: -6%;
  background: #120a06 url(../img/cabana-sm.webp) 60% 50% / cover no-repeat;
  transform: translate3d(calc(var(--px) * -16px), calc(var(--py) * -12px), 0) scale(1.04);
  filter: brightness(.58) saturate(1.1) blur(1.5px);
  will-change: transform;
}
@media (min-width: 901px) { .fondo-img { background-image: url(../img/cabana.webp); background-position: 50% 50%; } }
.fondo::after { /* viñeta */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 40%, transparent 35%, rgba(10,5,2,.75) 100%),
    linear-gradient(to bottom, rgba(10,5,2,.45), transparent 25%, transparent 70%, rgba(10,5,2,.7));
}
.calidez { /* luz de chimenea que titila */
  position: fixed; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 55% at 20% 75%, rgba(255,140,40,.55), transparent 70%);
  animation: titilar 3.2s ease-in-out infinite alternate;
}
@keyframes titilar {
  0% { opacity: .55; } 30% { opacity: .8; } 45% { opacity: .62; } 70% { opacity: .9; } 100% { opacity: .7; }
}
.lluvia { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.relampago {
  position: fixed; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(90% 70% at 75% 15%, rgba(190,210,255,.55), rgba(120,150,255,.12) 60%, transparent);
  mix-blend-mode: screen;
}
.relampago.on { animation: relampago 1.1s ease-out; }
@keyframes relampago {
  0% { opacity: 0; } 4% { opacity: .9; } 10% { opacity: .1; } 16% { opacity: .7; } 40% { opacity: .15; } 100% { opacity: 0; }
}

/* ---------- Escena ---------- */
.escena {
  position: relative; z-index: 2;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(10px, env(safe-area-inset-bottom));
  transform: translate3d(calc(var(--px) * 7px), calc(var(--py) * 5px), 0);
}
.saludo { text-align: center; padding-top: 2svh; }
.hola {
  margin: 0;
  font-family: "Caveat", cursive; font-weight: 600;
  font-size: clamp(42px, 12vw, 76px); line-height: 1;
  color: #ffd99a;
  text-shadow: 0 0 18px rgba(255,170,60,.55), 0 0 42px rgba(255,140,40,.35), 0 2px 0 rgba(60,25,5,.6);
  animation: aparecer 1.6s .2s both cubic-bezier(.2,.8,.2,1);
}
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* ---------- Pared con viniles ---------- */
.pared {
  width: 100%;
  display: flex; align-items: center; justify-content: safe center;
  gap: 12vw;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 calc((100% - var(--funda)) / 2) 64px;
}
.pared::-webkit-scrollbar { display: none; }

.vinil {
  position: relative; flex: 0 0 auto;
  width: var(--funda);
  scroll-snap-align: center;
  padding-top: calc(var(--funda) * .3);
  animation: colgar 1.1s both cubic-bezier(.3,1.3,.5,1);
}
@keyframes colgar { from { transform: translateY(-18px) rotate(-3deg); } } /* sin transparencia: la funda se ve desde el primer cuadro */
/* lámpara de cuadro de latón con su cono de luz */
.lamparita {
  position: absolute; left: 50%; top: 0; width: 44%; height: 9px; translate: -50% 0;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(#e9c27a, #8a5b22 60%, #3d2509);
  box-shadow: 0 2px 6px rgba(0,0,0,.6);
  z-index: 3;
}
.lamparita::before { /* brazo a la pared */
  content: ""; position: absolute; left: 50%; top: -14px; width: 4px; height: 16px; translate: -50% 0;
  background: linear-gradient(90deg, #5a3a12, #d6aa5e, #5a3a12); border-radius: 2px;
}
.lamparita::after { /* cono de luz */
  content: ""; position: absolute; left: 50%; top: 6px; translate: -50% 0;
  width: calc(var(--funda) * 1.5); height: calc(var(--funda) * 1.45);
  background: radial-gradient(60% 75% at 50% 0%, rgba(255,205,130,.38), rgba(255,170,80,.12) 55%, transparent 75%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  pointer-events: none; mix-blend-mode: screen;
  animation: titilar 4.5s ease-in-out infinite alternate;
}
.cuelga {
  position: relative;
  transform-origin: 50% calc(var(--funda) * -.18);
  animation: mecer 6s ease-in-out infinite;
}
@keyframes mecer { 0%, 100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }
.vinil.activo .cuelga { animation-play-state: paused; }
.hilo {
  position: absolute; left: 0; width: 100%;
  top: calc(var(--funda) * -.2); height: calc(var(--funda) * .2 + 4px);
  overflow: visible; pointer-events: none;
}
.hilo line { stroke: #d9c6a3; stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .85; }
.clavo {
  position: absolute; left: 50%; top: calc(var(--funda) * -.2 - 5px); translate: -50% 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f2e1b9, #8d6a33 55%, #3a2408);
  box-shadow: 0 2px 3px rgba(0,0,0,.7);
}

.funda-wrap {
  position: relative; display: block;
  width: var(--funda); aspect-ratio: 1;
  padding: 0; border: 0; background: none; cursor: pointer;
  outline-offset: 6px;
}
.funda-wrap:focus-visible { outline: 2px solid var(--oro); }

/* el disco vive detrás de la funda y se asoma */
.funda-wrap > .disco {
  position: absolute; left: 4%; top: 4%; width: 92%;
  transform: translateX(13%);
  transition: transform .5s cubic-bezier(.3,1.4,.5,1);
}
@media (hover: hover) { .funda-wrap:hover > .disco { transform: translateX(22%) rotate(25deg); } }

.funda {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 2px;
  background: var(--c1);
  box-shadow:
    0 1px 1px rgba(0,0,0,.5),
    0 8px 14px rgba(0,0,0,.45),
    0 26px 44px rgba(0,0,0,.55);
  transition: transform .4s cubic-bezier(.3,1.4,.5,1);
}
@media (hover: hover) { .funda-wrap:hover .funda { transform: translateY(-3px); } }
.funda > * { position: absolute; }
.arte, .funda-img { inset: 0; width: 100%; height: 100%; }
.funda-img { object-fit: cover; display: block; filter: saturate(1.06) contrast(1.05); }
.funda-lluvia {
  inset: 0; opacity: .5;
  background: repeating-linear-gradient(103deg, transparent 0 11px, rgba(220,232,255,.2) 11px 12px, transparent 12px 23px);
  background-size: 100% 140px;
  -webkit-mask: linear-gradient(to bottom, #000 20%, transparent 70%); mask: linear-gradient(to bottom, #000 20%, transparent 70%);
  animation: llover-funda 1.1s linear infinite;
}
.funda:not(.con-portada) .funda-lluvia { opacity: 1; -webkit-mask: linear-gradient(to bottom, #000 30%, transparent 85%); mask: linear-gradient(to bottom, #000 30%, transparent 85%); }
@keyframes llover-funda { to { background-position: -30px 140px; } }
.funda-tinta { /* sombra para que la tipografía se lea sobre la ilustración */
  inset: 0;
  background:
    radial-gradient(90% 55% at 0% 0%, rgba(4,8,26,.72), transparent 70%),
    linear-gradient(0deg, rgba(4,6,16,.82), rgba(4,6,16,.3) 12%, transparent 22%);
}
.funda-anillo { /* marca circular del disco que se gastó con los años */
  inset: 3%; border-radius: 50%;
  background: radial-gradient(circle, transparent 45.5%, rgba(255,240,215,.13) 47.5%, rgba(255,240,215,.05) 49%, transparent 50%),
              radial-gradient(circle, transparent 15.5%, rgba(255,240,215,.08) 16.5%, transparent 18%);
  -webkit-mask: conic-gradient(from 30deg, #000 0 22%, transparent 34% 48%, #000 60% 82%, transparent 92%);
  mask: conic-gradient(from 30deg, #000 0 22%, transparent 34% 48%, #000 60% 82%, transparent 92%);
  mix-blend-mode: screen;
}
.funda-textura { /* cartón */
  inset: 0; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 1.2 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.funda-desgaste { /* orillas y esquinas blanqueadas por el uso */
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,240,220,.16), inset 0 0 4px 1px rgba(255,236,210,.14), inset 0 0 22px rgba(0,0,0,.4);
  background:
    radial-gradient(circle at 0 0, rgba(255,238,210,.35), transparent 3.5%),
    radial-gradient(circle at 100% 0, rgba(255,238,210,.22), transparent 3%),
    radial-gradient(circle at 100% 100%, rgba(255,238,210,.3), transparent 4%),
    radial-gradient(circle at 0 100%, rgba(255,238,210,.18), transparent 2.5%),
    linear-gradient(90deg, transparent 99.2%, rgba(255,240,220,.18));
}
.funda-mes {
  left: 7.5%; top: 6.5%;
  font-weight: 700; font-size: calc(var(--funda) * .04); letter-spacing: .42em;
  color: #f3c77a;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.funda-mes b { font-size: 2.4em; letter-spacing: 0; display: inline-block; vertical-align: -.28em; margin-left: .1em; }
.funda-titulo {
  left: 7%; top: 15.5%; width: 58%;
  font-style: italic; font-weight: 500;
  font-size: calc(var(--funda) * .112); line-height: .93; letter-spacing: -.01em;
  color: #fbecd2; text-align: left;
  text-shadow: 0 2px 2px rgba(0,0,0,.35), 0 0 22px rgba(10,15,40,.6);
}
.funda:not(.con-portada) .funda-titulo { top: auto; bottom: 7%; }
.funda-sello { /* sello discográfico: una gota en un círculo */
  right: 6%; top: 5.5%; width: calc(var(--funda) * .12); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid rgba(243,199,122,.85);
  color: #f3c77a;
}
.funda-sello svg { width: 46%; height: 46%; }
.funda-sello span {
  position: absolute; top: 108%; left: 50%; translate: -50% 0; white-space: nowrap;
  font-weight: 700; font-size: calc(var(--funda) * .022); letter-spacing: .2em; color: rgba(251,233,201,.75);
}
.funda-creditos {
  left: 7%; right: 7%; bottom: 4.2%;
  display: flex; justify-content: space-between; gap: 8px;
  font-weight: 700; font-size: calc(var(--funda) * .024); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(251,233,201,.72);
}
.funda-rpm { /* sticker sobre el celofán */
  right: 7%; bottom: 10%;
  width: calc(var(--funda) * .15); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1;
  background: radial-gradient(circle at 35% 30%, #ffe1a6, #f0b45a 55%, #c98a33);
  color: #2b1806;
  font-weight: 700; font-size: calc(var(--funda) * .036);
  rotate: -12deg;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 2px 4px rgba(0,0,0,.45);
}
.funda-rpm small { display: block; font-size: .5em; letter-spacing: .15em; margin-top: .25em; }
.celofan { /* plástico brillante: el reflejo se mueve con el parallax */
  inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 18% 9% at 90% 6%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(ellipse 30% 4% at 22% 96%, rgba(255,255,255,.12), transparent 70%),
    linear-gradient(118deg, transparent 22%, rgba(255,255,255,.16) 30%, rgba(255,255,255,.04) 34%, transparent 38%, transparent 58%, rgba(255,255,255,.08) 64%, transparent 69%);
  background-size: 100% 100%, 100% 100%, 220% 100%;
  background-position: 0 0, 0 0, calc(40% + var(--px) * 30%) 0;
}
.celofan::after { /* pliegues del plástico */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(32deg, transparent 48.6%, rgba(255,255,255,.1) 49.5%, transparent 50.4%),
    linear-gradient(-58deg, transparent 71%, rgba(255,255,255,.07) 71.6%, transparent 72.3%);
}
.funda::after { /* destello que recorre el celofán */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 47%, transparent 58%);
  background-size: 250% 100%;
  animation: brillar 7s ease-in-out infinite;
}
@keyframes brillar { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

.pista {
  position: absolute; left: 62%; top: 100%;
  margin: 0; white-space: nowrap;
  font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(22px, 6vw, 30px);
  color: #ffd99a; text-shadow: 0 0 12px rgba(255,170,60,.6);
  margin-top: 4px; rotate: -6deg;
  pointer-events: none;
  animation: pista 2.4s ease-in-out infinite, aparecer 1s 2.2s both;
}
.pista svg { display: block; width: 46px; height: 34px; margin: -4px 0 0 -6px; }
@keyframes pista { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -4px); } }
.pista.fuera { opacity: 0; transition: opacity .4s; }

/* ---------- Disco (compartido) ---------- */
.disco { aspect-ratio: 1; border-radius: 50%; container-type: inline-size; }
.disco-giro, .surcos, .brillo { position: absolute; inset: 0; border-radius: 50%; }
.surcos {
  background:
    radial-gradient(circle, transparent 33%, rgba(0,0,0,.0) 33.5%),
    repeating-radial-gradient(circle, #121212 0 1.2px, #1d1d1d 1.6px 2.6px),
    #151515;
  box-shadow: 0 10px 22px rgba(0,0,0,.55), inset 0 0 0 2px #0a0a0a, inset 0 0 0 4px #222;
}
.etiqueta {
  position: absolute; inset: 33%; border-radius: 50%;
  background:
    radial-gradient(circle, #0d0d0d 0 6%, rgba(0,0,0,.25) 6.5%, transparent 9%),
    radial-gradient(circle, transparent 62%, rgba(0,0,0,.35) 100%),
    var(--portada, none) center / cover,
    var(--c2);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25);
}
.etiqueta::before { /* arco de texto simple */
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(255,235,200,.35);
}
.etiqueta-mes {
  translate: 0 -150%;
  font-weight: 700; font-size: 3.2cqi; letter-spacing: .25em; white-space: nowrap;
  color: #fbecd2; text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.brillo {
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.16) 12%, transparent 18% 50%, rgba(255,255,255,.12) 62%, transparent 68%);
  pointer-events: none;
}
.disco.vuelo {
  position: fixed; z-index: 30; margin: 0; pointer-events: none;
  will-change: transform;
}
.disco.vuelo .surcos { box-shadow: 0 30px 50px rgba(0,0,0,.6), inset 0 0 0 2px #0a0a0a; }

/* ---------- Mueble y tornamesa ---------- */
.mueble {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  animation: aparecer 1s .35s both cubic-bezier(.2,.8,.2,1);
}
.tornamesa { /* foto del plinto generada; plato, disco y brazo se animan en código */
  position: relative; z-index: 1;
  container-type: inline-size;
  width: var(--tt); aspect-ratio: 1376 / 1004;
  border-radius: 2.6% / 3.6%;
  background: #2a1408 url(../img/tornamesa.webp) center / 100% 100% no-repeat;
  box-shadow: 0 6px 10px rgba(0,0,0,.5), 0 26px 44px rgba(0,0,0,.6);
}
.tornamesa::after { /* reflejo cálido de la lámpara */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 0%, rgba(255,190,110,.18), transparent 70%);
  mix-blend-mode: screen;
}
.plato-slot { position: absolute; left: 7.17%; top: 5.35%; width: 59.2%; aspect-ratio: 1; }
.plato-slot .disco { position: absolute; inset: 0; opacity: 0; }
.plato-slot .disco.visible { opacity: 1; }
.girando .disco-giro { animation: girar 1.8s linear infinite; }
@keyframes girar { to { rotate: 360deg; } }
.eje {
  position: absolute; left: 36.77%; top: 45.9%; width: 1.5%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9a9a9a 55%, #3d3d3d);
  box-shadow: 0 1px 2px rgba(0,0,0,.6);
  z-index: 2;
}
.brazo {
  position: absolute; left: 84.96%; top: 19.72%; width: 0; height: 0; z-index: 3;
  rotate: 15deg;
  transition: rotate 1s cubic-bezier(.45,0,.2,1);
}
.tornamesa.aguja .brazo { rotate: calc(37deg + var(--avance, 0) * 15deg); }
.brazo svg {
  position: absolute; left: -6cqi; top: -8cqi; width: 12cqi; height: 56cqi; overflow: visible;
  filter: drop-shadow(1.1cqi 1.5cqi .9cqi rgba(0,0,0,.55));
}
.led {
  position: absolute; left: 92%; top: 81.7%; width: 1.5%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; opacity: 0; transition: opacity .4s;
  background: #ffcf7a; box-shadow: 0 0 1.2cqi #ffb347, 0 0 3cqi rgba(255,160,60,.8);
}
.tornamesa.girando .led { opacity: 1; }
.repisa {
  width: min(100%, calc(var(--tt) * 1.35)); height: 16px; margin-top: -4px;
  border-radius: 3px;
  background: linear-gradient(#8a4f26, #5b2e13 60%, #3a1b0a);
  box-shadow: 0 10px 22px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,210,160,.4);
}

/* ---------- Invitación a entrar (el primer toque prende el sonido) ---------- */
.entrar {
  position: fixed; z-index: 12; left: 50%; translate: -50% 0;
  top: calc(max(18px, env(safe-area-inset-top)) + clamp(64px, 15vw, 96px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px 11px 14px; border-radius: 999px;
  border: 1px solid rgba(255,217,154,.5);
  background: rgba(40,20,8,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #ffe2ad; font-style: italic; font-weight: 500; font-size: 17px; white-space: nowrap;
  box-shadow: 0 0 24px rgba(255,160,60,.25);
  cursor: pointer;
  animation: aparecer 1s .6s both, latir 2.6s 1.6s ease-in-out infinite;
  transition: opacity .6s, scale .6s;
}
.entrar-anillo {
  width: 12px; height: 12px; border-radius: 50%; background: #ffc46b;
  box-shadow: 0 0 0 0 rgba(255,196,107,.7); animation: onda 1.8s ease-out infinite;
}
@keyframes onda { to { box-shadow: 0 0 0 12px rgba(255,196,107,0); } }
@keyframes latir { 0%, 100% { box-shadow: 0 0 24px rgba(255,160,60,.25); } 50% { box-shadow: 0 0 36px rgba(255,160,60,.5); } }
body.adentro .entrar { opacity: 0; scale: .9; pointer-events: none; }
body:not(.adentro) .pista { display: none; }
body:not(.adentro) .fondo-img { filter: brightness(.45) saturate(1) blur(1.5px); }
.fondo-img { transition: filter 1.6s ease; }
body.adentro .calidez { animation-duration: 2.6s; }

/* ---------- Botón de sonido ---------- */
.sonido {
  position: fixed; z-index: 10;
  top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right));
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,217,154,.35);
  background: rgba(30,15,6,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #ffd99a; cursor: pointer; display: grid; place-items: center;
  transition: background .3s, box-shadow .3s;
}
.sonido svg { width: 22px; height: 22px; }
.sonido .ondas { display: none; }
.sonido[aria-pressed="true"] { box-shadow: 0 0 16px rgba(255,170,60,.45); }
.sonido[aria-pressed="true"] .ondas { display: inline; }
.sonido[aria-pressed="true"] .mute { display: none; }

/* ---------- Sala de video ---------- */
.sala {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 64px 0 24px;
  background: radial-gradient(110% 80% at 50% 50%, #2a1408, #0b0503 70%);
  clip-path: circle(0 at var(--cx, 50%) var(--cy, 80%));
  transition: clip-path .9s cubic-bezier(.65,0,.35,1);
}
.sala[hidden] { display: none; }
.sala.abierta { clip-path: circle(150% at var(--cx, 50%) var(--cy, 80%)); }
.pantalla {
  position: relative;
  width: min(100vw, calc((100svh - 150px) * 16 / 9));
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 60px rgba(255,150,50,.18), 0 20px 60px rgba(0,0,0,.8);
}
@media (min-width: 700px) { .pantalla { width: min(92vw, calc((100svh - 150px) * 16 / 9)); border-radius: 10px; overflow: hidden; } }
.pantalla video { display: block; width: 100%; height: 100%; background: #000; }
.play-grande {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 0; background: rgba(243,183,92,.92); color: #2a1408; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 0 30px rgba(243,183,92,.6);
}
.play-grande[hidden] { display: none; }
.play-grande svg { width: 34px; height: 34px; margin-left: 4px; }
.volver {
  position: absolute; top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  border: 1px solid rgba(255,217,154,.35); background: rgba(40,20,8,.6);
  color: #ffd99a; font-style: italic; font-weight: 500; font-size: 16px; cursor: pointer;
}
.volver svg { width: 20px; height: 20px; }
.sala-titulo {
  margin: 0; text-align: center;
  font-style: italic; font-weight: 500; font-size: clamp(20px, 5.5vw, 30px);
  color: #ffd99a; text-shadow: 0 0 16px rgba(255,170,60,.5);
}
.sala-titulo small { display: block; font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .32em; color: var(--oro); margin-bottom: 4px; }

/* ---------- Desktop: pared a la izquierda, tornamesa a la derecha ---------- */
@media (min-width: 901px) and (min-aspect-ratio: 5/4) {
  :root { --funda: min(30vw, 46svh, 400px); --tt: min(36vw, 60svh, 540px); }
  .escena {
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: center;
    padding: 28px 4vw 0;
  }
  .saludo { grid-column: 1 / -1; padding-top: 0; }
  .mueble { align-self: end; padding-bottom: 7svh; }
  .pista { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .cuelga, .funda-lluvia, .funda::after, .calidez, .pista { animation: none; }
}
