/* ============ Probá ser DJ · Pura Fiesta ============ */
:root {
  --bg: #07040e; --pink: #ff2bd6; --violet: #7b5cff; --cyan: #00e5ff; --yellow: #ffd23f; --green: #5dff7a;
  --text: #f4eefe; --muted: #b9add0; --glass: rgba(255, 255, 255, .06); --border: rgba(255, 255, 255, .12);
  --grad: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan));
  --beat: .625s; /* 96 BPM */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: "Poppins", system-ui, sans-serif; color: var(--text); line-height: 1.5;
  background: radial-gradient(ellipse at 50% 0%, #2a0a3d 0%, var(--bg) 60%) fixed, var(--bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }

/* Cabecera */
.top { display: flex; align-items: center; justify-content: space-between; padding: .8rem 5vw; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: "Bungee", sans-serif; font-size: 1.1rem; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.back { font-size: .9rem; padding: .45rem 1rem; border: 1px solid var(--border); border-radius: 999px; }
.back:hover { border-color: var(--cyan); }

.game { max-width: 1100px; margin: 0 auto; padding: .5rem 4vw 3rem; }
.game__head { text-align: center; margin-bottom: 1rem; }
.game__head h1 { font-family: "Bungee", sans-serif; font-weight: 400; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; }
.game__head h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step {
  display: inline-block; margin-top: .6rem; padding: .45rem 1.1rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border); font-size: .95rem;
}
.step b { color: var(--yellow); }

/* ============ Escena ============ */
.scene {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid var(--border); box-shadow: 0 0 60px rgba(123, 92, 255, .35);
  background: #05030a;
}
.scene svg { display: block; width: 100%; height: 100%; }
.booth__name { font-family: "Bungee", sans-serif; font-size: 24px; fill: url(#neon); letter-spacing: 2px; }

/* Luces apagadas por defecto */
#beams, #lasers { opacity: 0; transition: opacity .6s; }
.par circle { fill: #2a2a33; transition: fill .3s; }
#fog { opacity: 0; transition: opacity 2.5s; }
.led { opacity: .35; }

/* Música sonando */
.scene.playing .led { opacity: 1; animation: hue 4s linear infinite; }
.scene.playing .woofer { animation: thump var(--beat) ease-out infinite; }
.scene.playing .dj { animation: bob var(--beat) ease-in-out infinite; }
.scene.deck-a .jog--a, .scene.deck-b .jog--b { animation: spin 1.8s linear infinite; }
.scene.playing .laptop { fill: #2b4a7a; }
@keyframes hue { to { filter: url(#glow) hue-rotate(360deg); } }
@keyframes thump { 0% { transform: scale(1.12); } 60%, 100% { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Luces de baile: sin humo se ven opacas, con humo se ven los haces */
.scene.fx-lights #beams { opacity: .16; }
.scene.fx-lights .par circle { fill: var(--c); filter: url(#glow); }
.scene.fx-lights .beam { animation: sway var(--dur) ease-in-out infinite alternate; }
.scene.fx-lights.beat-on .par circle { fill: #fff; }
@keyframes sway { from { transform: rotate(calc(var(--sway) * -1)); } to { transform: rotate(var(--sway)); } }

/* Láser */
#lasers line { stroke-width: 2; }
.scene.fx-lasers #lasers { opacity: .22; animation: laserSweep 3.6s ease-in-out infinite alternate; }
@keyframes laserSweep { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }

/* Humo: todo se ve mucho mejor */
.scene.fx-fog #fog { opacity: .55; }
.scene.fx-fog .puff { animation: drift 12s ease-in-out infinite alternate; }
.scene.fx-fog .puff--high { opacity: .55; }
.scene.fx-fog.fx-lights #beams { opacity: .82; filter: url(#glow); }
.scene.fx-fog.fx-lasers #lasers { opacity: 1; filter: url(#glow); }
.scene.fx-fog.fx-lasers #lasers line { stroke-width: 3; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(60px); } }

/* Tinte de color del salón */
#tint { transition: opacity .4s, fill .4s; }
.scene.fx-lights #tint { opacity: .05; }
.scene.fx-lights.fx-fog #tint { opacity: .1; }

/* Gente */
.person { transform-box: fill-box; transform-origin: bottom center; }
.scene.playing .person { animation: dance var(--beat) ease-in-out infinite; animation-delay: var(--d); }
.scene.hype .person { animation-name: danceHigh; }
.person .arms { opacity: 0; transition: opacity .4s; }
.scene.hype .person .arms { opacity: 1; }
@keyframes dance { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes danceHigh { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* Contador de tiempos */
.beatbar {
  position: absolute; top: 12px; left: 50%; translate: -50% 0; display: flex; gap: 8px;
  padding: 6px 10px; border-radius: 999px; background: rgba(7, 4, 14, .7); border: 1px solid var(--border);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s;
}
.scene.playing .beatbar { opacity: 1; }
.beatbar span {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  font-family: "Bungee", sans-serif; font-size: .85rem; color: var(--muted); background: rgba(255, 255, 255, .06);
  transition: background .08s, color .08s, transform .08s;
}
.beatbar span.on { background: var(--cyan); color: #07040e; transform: scale(1.12); }
.beatbar span:first-child.on { background: var(--pink); color: #fff; transform: scale(1.3); box-shadow: 0 0 18px var(--pink); }

.toast {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; max-width: 92%; text-align: center;
  padding: .55rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: .95rem;
  background: rgba(7, 4, 14, .85); border: 1px solid var(--border); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s, translate .3s; pointer-events: none;
}
.toast.show { opacity: 1; translate: -50% -4px; }
.toast.ok { border-color: var(--green); color: var(--green); }
.toast.bad { border-color: var(--yellow); color: var(--yellow); }

/* ============ Mixer ============ */
.mixer {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1rem; margin-top: 1rem; align-items: stretch;
}
.deck, .center, .fx, .final {
  background: var(--glass); border: 1px solid var(--border); border-radius: 18px; padding: 1rem;
  backdrop-filter: blur(10px);
}
.deck { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; transition: border-color .3s, box-shadow .3s, opacity .3s; }
.deck--a { --c: var(--cyan); }
.deck--b { --c: var(--pink); }
.deck.is-live { border-color: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 35%, transparent); }
.deck.is-locked { opacity: .55; }
.deck__label { font-family: "Bungee", sans-serif; font-size: 1.15rem; line-height: 1.1; color: var(--c); }
.deck__label small { display: block; font-family: "Poppins", sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.deck__play {
  width: 74px; height: 74px; border-radius: 50%; font-size: 1.7rem; border: 0;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 90%, #fff), var(--c));
  color: #07040e; box-shadow: 0 0 24px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .1s;
}
.deck__play:active:not(:disabled) { transform: scale(.92); }
.deck__play:disabled { background: #2a2438; color: #6f6585; box-shadow: none; }
.deck__play.flash { box-shadow: 0 0 0 6px rgba(255, 255, 255, .85), 0 0 36px var(--c); }
.deck__info { font-size: .82rem; color: var(--muted); min-height: 2.4em; }

.center { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.center label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .3rem; }
input[type="range"] { width: 100%; accent-color: var(--pink); height: 28px; }
.cross { padding: .6rem; border-radius: 12px; border: 1px dashed var(--border); }
.cross.pulse { animation: pulseBorder 1s ease-in-out infinite; }
@keyframes pulseBorder { 50% { border-color: var(--pink); box-shadow: 0 0 20px rgba(255, 43, 214, .35); } }
.cross__ends { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }

/* Efectos */
.fx { margin-top: 1rem; text-align: center; transition: opacity .3s; }
.fx.is-locked { opacity: .55; }
.fx__title { font-weight: 600; margin-bottom: .7rem; }
.fx__title span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.fx__buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.fx__btn {
  display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .9rem .5rem;
  border-radius: 14px; border: 1px solid var(--border); background: rgba(0, 0, 0, .25); font-weight: 600; font-size: .9rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.fx__btn span { font-size: 1.6rem; }
.fx__btn:not(:disabled):hover { border-color: var(--cyan); }
.fx__btn.on { border-color: var(--green); background: rgba(93, 255, 122, .12); box-shadow: 0 0 24px rgba(93, 255, 122, .3); }
.fx__btn.hint { animation: pulseBorder 1s ease-in-out infinite; }

/* Final */
.final { margin-top: 1rem; text-align: center; border-color: var(--pink); box-shadow: 0 0 40px rgba(255, 43, 214, .35); }
.final h2 { font-family: "Bungee", sans-serif; font-weight: 400; font-size: clamp(1.3rem, 4vw, 2rem); }
.final h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { color: var(--muted); margin: .5rem 0 1rem; }
.final__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; border: 0; color: #fff;
  background: var(--grad); box-shadow: 0 0 25px rgba(255, 43, 214, .45);
}
.btn--ghost { background: transparent; border: 2px solid var(--border); box-shadow: none; }
.note { margin-top: 1.2rem; text-align: center; font-size: .78rem; color: var(--muted); }

/* ============ Mixer con ondas (versión simple) ============ */
.mixer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  margin-top: 1rem; padding: 1rem; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.mixer .deck__play { --c: var(--cyan); }
.mixer .deck__play.is-on { --c: var(--green); }
.waves { position: relative; min-width: 0; }
.waves__labels { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; margin-bottom: .3rem; }
.lab--a { color: var(--cyan); }
.lab--b { color: var(--pink); opacity: .35; transition: opacity .3s; }
.lab--b em { font-style: normal; color: var(--yellow); margin-left: .3rem; }
.waves.has-b .lab--b { opacity: 1; }
.waves.locked .lab--b em { display: none; }
#wave {
  display: block; width: 100%; height: 120px; border-radius: 12px; touch-action: none;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--border); cursor: default;
  transition: border-color .3s, box-shadow .3s;
}
.waves.has-b #wave { border-color: rgba(255, 43, 214, .35); }
.waves.locked #wave { border-color: var(--green); box-shadow: 0 0 24px rgba(93, 255, 122, .35); }
.waves__nudge { display: none; justify-content: center; gap: .6rem; margin-top: .5rem; }
.waves.has-b:not(.locked) .waves__nudge { display: flex; }
.nudge {
  width: 46px; height: 36px; border-radius: 10px; border: 1px solid var(--pink); background: rgba(255, 43, 214, .12);
  color: var(--pink); font-size: 1rem;
}
.mixer { grid-template-columns: auto 1fr auto auto; }
/* Faders verticales (como en una consola) */
.faders { display: flex; gap: .9rem; padding: .4rem .8rem; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--border); }
.fader { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.fader span { font-family: "Bungee", sans-serif; font-size: .85rem; }
.fader--a { --c: var(--cyan); } .fader--b { --c: var(--pink); }
.fader span { color: var(--c); }
.fader input {
  writing-mode: vertical-lr; direction: rtl; /* vertical: arriba = más volumen */
  -webkit-appearance: slider-vertical;
  width: 34px; height: 110px; accent-color: var(--c); cursor: pointer; touch-action: none;
}
.fader input:disabled { opacity: .35; cursor: not-allowed; }
.fader.hint { animation: pulseFader 1s ease-in-out infinite; border-radius: 10px; }
@keyframes pulseFader { 50% { box-shadow: 0 0 0 3px var(--c), 0 0 22px var(--c); } }
.vol { display: flex; flex-direction: column; align-items: center; gap: .3rem; width: 110px; }
.vol label { font-size: 1.1rem; }

/* Lugares para tocar dentro de la escena */
.hot { display: none; cursor: pointer; outline: none; }
.hot.is-active { display: inline; }
.hot__area { fill: transparent; }
.hot__ring {
  fill: rgba(255, 210, 63, .14); stroke: var(--yellow); stroke-width: 3;
  transform-box: fill-box; transform-origin: center; animation: ring 1.2s ease-in-out infinite;
}
.hot__label {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 24px; fill: var(--yellow);
  paint-order: stroke; stroke: #07040e; stroke-width: 6px; stroke-linejoin: round;
}
.hot:hover .hot__ring, .hot:focus .hot__ring { fill: rgba(255, 210, 63, .3); }
@keyframes ring { 50% { transform: scale(1.3); opacity: .55; } }

/* ============ Celular ============ */
@media (max-width: 700px) {
  .brand { white-space: nowrap; font-size: 1rem; }
  .back { font-size: .8rem; padding: .4rem .8rem; white-space: nowrap; }
  .scene { aspect-ratio: 4 / 3; border-radius: 16px; }
  .mixer { grid-template-columns: auto auto 1fr; padding: .8rem; gap: .8rem; }
  .waves { grid-column: 1 / -1; grid-row: 1; }
  .fader input { height: 96px; }
  .vol { width: auto; flex-direction: column; justify-self: stretch; }
  .vol input { flex: 1; }
  #wave { height: 110px; }
  .hot__label { font-size: 30px; }
  .deck__play { width: 64px; height: 64px; font-size: 1.5rem; }
  .deck__label { font-size: 1rem; }
  .fx__btn { font-size: .78rem; padding: .7rem .3rem; }
  .beatbar span { width: 26px; height: 26px; }
  .toast { font-size: .82rem; }
}

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

/* ============ Todo junto en una pantalla ============ */
.top { padding: .5rem 4vw; }
.game { padding-top: 0; padding-bottom: 1rem; }
.game__head { margin-bottom: .6rem; }
.game__head h1 { font-size: clamp(1.4rem, 3.4vw, 2.2rem); }
.step { margin-top: .35rem; padding: .35rem 1rem; font-size: .9rem; }

/* La escena + las ondas forman un solo bloque que entra en la pantalla */
.stage {
  position: relative; margin: 0 auto; border-radius: 22px; overflow: hidden;
  width: min(100%, calc((100vh - 240px) * 16 / 9 * .86));
  border: 1px solid var(--border); box-shadow: 0 0 60px rgba(123, 92, 255, .35); background: #05030a;
}
.stage .scene { border: 0; border-radius: 0; box-shadow: none; }
.stage .waves { padding: .45rem .8rem .5rem; background: rgba(7, 4, 14, .92); border-bottom: 1px solid var(--border); }
.stage .waves__labels { margin-bottom: .2rem; font-size: .72rem; }
.stage #wave { height: 76px; border-radius: 10px; }

/* Play grande en el centro */
.bigplay {
  position: absolute; inset: 0; z-index: 6; border: 0; background: rgba(7, 4, 14, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
}
.bigplay__btn {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: #07040e;
  background: radial-gradient(circle at 35% 30%, #9ff6ff, var(--cyan)); box-shadow: 0 0 40px rgba(0, 229, 255, .7);
  animation: pulsePlay 1.4s ease-in-out infinite;
}
.bigplay__txt { font-family: "Bungee", sans-serif; font-size: 1.1rem; color: var(--yellow); text-shadow: 0 0 14px rgba(0, 0, 0, .9); }
.bigplay:hover .bigplay__btn { transform: scale(1.06); }
.bigplay.is-on { display: none; }
@keyframes pulsePlay { 50% { box-shadow: 0 0 0 10px rgba(0, 229, 255, .18), 0 0 50px rgba(0, 229, 255, .8); } }

/* Faders al lado de los parlantes */
.scene .fader {
  position: absolute; top: 38%; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .45rem .35rem .4rem; border-radius: 12px;
  background: rgba(7, 4, 14, .7); border: 1px solid var(--border); backdrop-filter: blur(4px);
}
.scene .fader--a { left: 2.5%; }
.scene .fader--b { right: 2.5%; }
.scene .fader input { height: clamp(70px, 14vh, 120px); width: 30px; }
.scene .fader span { font-size: .8rem; line-height: 1; }
.scene .fader small { font-size: .55rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

/* Volumen chiquito en una esquina */
.scene .vol {
  position: absolute; top: 10px; right: 10px; z-index: 4; width: auto;
  flex-direction: row; gap: .35rem; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(7, 4, 14, .7); border: 1px solid var(--border);
}
.scene .vol input { width: 80px; height: 20px; }
.scene .vol label { font-size: .9rem; }

/* Mensaje final arriba de la escena */
.scene .final {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 7; width: min(90%, 470px);
  margin: 0; background: rgba(12, 6, 24, .92);
}
.scene .final p { margin: .3rem 0 .8rem; }

.note { margin-top: .6rem; }

@media (max-width: 700px) {
  .stage { width: 100%; border-radius: 16px; }
  .stage #wave { height: 70px; }
  .scene .fader { top: 30%; padding: .35rem .25rem; }
  .scene .fader input { height: 78px; width: 26px; }
  .scene .fader small { display: none; }
  .scene .vol { top: 6px; right: 6px; }
  .scene .vol input { width: 60px; }
  .bigplay__btn { width: 72px; height: 72px; font-size: 1.8rem; }
  .bigplay__txt { font-size: .95rem; }
  .scene .final { width: 94%; padding: .8rem; }
  .scene .final h2 { font-size: 1.1rem; }
  .scene .final p { font-size: .8rem; }
  .scene .final .btn { padding: .6rem 1.1rem; font-size: .85rem; }
}

/* Celular: escena un poco más ancha para que los faders queden al costado de los parlantes */
@media (max-width: 700px) {
  .stage .scene { aspect-ratio: 3 / 2; }
  .scene .fader { top: 26%; padding: .3rem .15rem; border-radius: 10px; }
  .scene .fader--a { left: 1.2%; }
  .scene .fader--b { right: 1.2%; }
  .scene .fader input { width: 22px; height: 70px; }
  .scene .fader span { font-size: .7rem; }
}

/* ============ Guía de pasos: globo grande + flecha ============ */
.hot__label { display: none; } /* el globo de la guía reemplaza a los textitos */
.guide { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.guide__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#guidePath {
  fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 14 10; animation: dashFlow .6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 210, 63, .8));
  transition: opacity .25s;
}
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
.guide__bubble {
  position: absolute; display: flex; align-items: center; gap: .7rem; max-width: min(34%, 300px);
  padding: .75rem 1.1rem .75rem .75rem; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 43, 214, .95), rgba(123, 92, 255, .95));
  border: 2px solid var(--yellow); box-shadow: 0 0 30px rgba(255, 43, 214, .6), 0 10px 30px rgba(0, 0, 0, .5);
  color: #fff; font-weight: 700; font-size: 1.12rem; line-height: 1.25;
  transition: top .45s cubic-bezier(.2, .9, .3, 1.2), opacity .25s;
  animation: bob 1.6s ease-in-out infinite;
}
.guide__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: #07040e; font-family: "Bungee", sans-serif; font-size: 1.15rem;
  box-shadow: 0 0 14px rgba(255, 210, 63, .8);
}
.guide__num:empty { display: none; }
.guide.is-hidden .guide__bubble, .guide.is-hidden #guidePath { opacity: 0; }
.guide.pop .guide__bubble { animation: popIn .45s cubic-bezier(.2, .9, .3, 1.4), bob 1.6s ease-in-out .45s infinite; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Lo que hay que tocar también brilla */
.bigplay.hint .bigplay__btn { box-shadow: 0 0 0 6px rgba(255, 210, 63, .7), 0 0 50px rgba(0, 229, 255, .8); }
.scene .fader.hint { box-shadow: 0 0 0 3px var(--yellow), 0 0 26px var(--yellow); }

@media (max-width: 700px) {
  .guide__bubble { max-width: 46%; padding: .45rem .7rem .45rem .45rem; gap: .45rem; font-size: .8rem; border-radius: 14px; }
  .guide__num { width: 26px; height: 26px; font-size: .8rem; }
  #guidePath { stroke-width: 3.5; }
}

/* Volumen abajo a la derecha para que no lo tape la guía */
.scene .vol { top: auto; bottom: 10px; right: 10px; }
@media (max-width: 700px) { .scene .vol { top: auto; bottom: 6px; right: 6px; } }

/* ============ Contenedor de escena + guía ============ */
/* El ancho lo define el contenedor, así la guía y la escena comparten las mismas medidas */
.stage-wrap { position: relative; margin: 0 auto; width: min(100%, calc((100vh - 240px) * 16 / 9 * .86)); }
.stage-wrap .stage { width: 100%; }
.stage-wrap > .guide { z-index: 9; }

/* Celular: el cartel va DEBAJO de la escena y la flecha sube hasta lo que hay que tocar */
@media (max-width: 700px) {
  .stage-wrap { width: 100%; padding-bottom: 92px; }
  .stage-wrap .guide__bubble {
    max-width: none; justify-content: center; text-align: left;
    font-size: .9rem; padding: .6rem .9rem; border-radius: 16px;
  }
  .stage-wrap .guide__num { width: 30px; height: 30px; font-size: .9rem; }
  #guidePath { stroke-width: 4; }
}

/* Celular: volumen arriba a la derecha (la guía ya no está sobre la escena) */
@media (max-width: 700px) { .scene .vol { top: 6px; bottom: auto; right: 6px; } }

/* Celular: se usa el volumen del teléfono; el control no estorba a las flechas */
@media (max-width: 700px) { .scene .vol { display: none; } }
