/* =========================================================================
   NEVERA DE CURROS Y TRABAJOS — estilos.
   Lenguaje visual de las referencias: terminal de la Agencia isometrica
   (paneles oscuros, borde #05070a, luz interior, Silkscreen bold, LEDs) y el
   tema DS (paneles azul noche, borde claro, pildoras doradas).
   ========================================================================= */
:root {
  --rq-void: #080b0f;
  --rq-panel: rgba(14, 20, 26, 0.94);
  --rq-panel-border: #334652;
  --rq-ink: #05070a;
  --rq-gold: #e6b83a;
  --rq-gold-hi: #ffec94;
  --rq-green: #4ce668;
  --rq-red: #e0463c;
  --rq-cyan: #6ce8e8;
  --ds-bg: #172547;
  --ds-card: #1e305c;
  --ds-border: #e8f0ff;
  --ds-muted: #46619c;
  --ds-sub: #a9bee6;
}
@keyframes rqGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(253, 224, 71, 0)); } 50% { filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.9)); } }
@keyframes rqPulse { 0%, 100% { box-shadow: 0 0 0 2px var(--rq-ink), 0 0 0 4px rgba(253, 224, 71, 0.2); } 50% { box-shadow: 0 0 0 2px var(--rq-ink), 0 0 0 6px rgba(253, 224, 71, 0.85); } }
@keyframes rqBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -3px); } }
@keyframes rqFloat { 0%, 100% { transform: translateY(0) rotate(var(--pi-tilt, 0deg)); } 50% { transform: translateY(-3px) rotate(var(--pi-tilt, 0deg)); } }
@keyframes rqLed { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.45; } }

/* ---------------- Botones y LEDs de la terminal ---------------- */
.rq-pxbtn {
  font-family: 'Silkscreen', monospace;
  font-weight: 700;
  font-size: 11px;
  color: #dce6ed;
  background: #1c2933;
  border: 2px solid var(--rq-ink);
  box-shadow: inset 1px 1px 0 #415969, inset -1px -1px 0 #0d141a;
  padding: 5px 9px;
  cursor: pointer;
  line-height: 1;
  text-shadow: 1px 1px 0 var(--rq-ink);
  white-space: nowrap;
}
.rq-pxbtn:hover { background: #283a47; color: #fff; }
.rq-pxbtn:active { box-shadow: inset 1px 1px 0 #0d141a, inset -1px -1px 0 #415969; transform: translateY(1px); }
.rq-pxbtn:disabled { opacity: 0.5; cursor: not-allowed; }
.rq-pxbtn-gold { background: #362810; color: var(--rq-gold-hi); box-shadow: inset 1px 1px 0 #8a6418, inset -1px -1px 0 #1a1205; }
.rq-pxbtn-gold:hover { background: #4d3916; }
.rq-pxbtn-green { background: #13361e; color: #88ffa0; box-shadow: inset 1px 1px 0 #2d8046, inset -1px -1px 0 #091c0f; }
.rq-pxbtn-green:hover { background: #1b4d2b; }
.rq-pxbtn-red { background: #3a1210; color: #ffb3ab; box-shadow: inset 1px 1px 0 #8a2a22, inset -1px -1px 0 #1a0605; }
.rq-pxbtn-red:hover { background: #521a16; }
.rq-led { width: 8px; height: 8px; flex-shrink: 0; background: var(--rq-green); border: 1px solid var(--rq-ink); display: inline-block; animation: rqLed 1.6s steps(1, end) infinite; }
.rq-led.gold { background: var(--rq-gold); }
.rq-led.red { background: var(--rq-red); }
.rq-led.cyan { background: var(--rq-cyan); }

/* ---------------- Trabajo a pantalla completa ---------------- */
.rq-game-overlay {
  position: fixed;
  inset: 0;
  z-index: 1280;
  background: #050608;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rq-game-canvas { display: block; image-rendering: pixelated; image-rendering: crisp-edges; background: #050608; }
.rq-layer { position: absolute; inset: 0; pointer-events: none; z-index: 12; }
.rq-cam { position: absolute; top: 10px; right: 12px; display: flex; gap: 6px; z-index: 15; align-items: center; }
.rq-cam-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--rq-panel);
  border: 2px solid var(--rq-ink);
  box-shadow: inset 0 2px 0 var(--rq-panel-border), 0 3px 0 rgba(0, 0, 0, 0.7);
  padding: 4px 6px;
}
.rq-timer { font-family: 'Press Start 2P', monospace; font-size: 10px; color: var(--rq-gold-hi); padding: 0 6px; min-width: 52px; text-align: center; }
.rq-timer.is-low { color: #ff8a80; animation: rqLed 0.6s steps(1, end) infinite; }
.rq-dock { position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 16; flex-wrap: wrap; justify-content: center; max-width: 96vw; }
.rq-dock:empty { display: none; }
.rq-term {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 32px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  background: var(--rq-panel);
  border: 2px solid var(--rq-ink);
  box-shadow: inset 0 2px 0 var(--rq-panel-border), inset 0 -2px 0 #080b0e, 0 4px 0 rgba(0, 0, 0, 0.75);
}
.rq-term-left { display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; }
.rq-term-text { font-family: 'Silkscreen', monospace; font-weight: 700; font-size: clamp(10px, 1.05vw, 12px); color: #e2ede6; letter-spacing: 0.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 2px 2px 0 var(--rq-ink); }
.rq-term-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rq-term-hint { font-family: 'Silkscreen', monospace; font-size: 10px; color: #7c95a3; white-space: nowrap; }
.rq-term-badge { font-family: 'Press Start 2P', monospace; font-size: 9px; color: var(--rq-gold-hi); background: #1a1409; border: 2px solid #8c6214; padding: 3px 7px; white-space: nowrap; }
@media (max-width: 900px) { .rq-term-hint { display: none; } }

/* Pasos de la granja */
.rq-steps { display: flex; align-items: center; gap: 6px; background: var(--rq-panel); border: 2px solid var(--rq-ink); box-shadow: inset 0 2px 0 var(--rq-panel-border), 0 3px 0 rgba(0, 0, 0, 0.7); padding: 5px 8px; }
.rq-step { font-family: 'Silkscreen', monospace; font-weight: 700; font-size: 11px; color: #6c8291; padding: 2px 6px; border: 2px solid transparent; }
.rq-step.is-past { color: #4c8a5a; }
.rq-step.is-now { color: var(--rq-gold-hi); background: #362810; border-color: var(--rq-ink); box-shadow: inset 1px 1px 0 #8a6418; animation: rqPulse 1.2s steps(2, end) infinite; }
.rq-step-arrow { font-family: 'Silkscreen', monospace; color: #415969; font-size: 11px; }

/* HUD de limpieza estilo DS */
.ds-hud {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: calc(100vw - 260px);
  background: rgba(14, 25, 51, 0.94);
  border: 2px solid var(--rq-green);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 4px 0 #080d1a;
}
.ds-room-pill { font-family: 'Silkscreen', monospace; font-size: 13px; color: #f5c842; background: #0d162c; border: 2px solid #f5c842; border-radius: 8px; padding: 4px 10px; }
.ds-room-desc { font-family: 'Silkscreen', monospace; font-size: 11px; color: var(--ds-sub); }
.ds-meter { display: flex; align-items: center; gap: 8px; }
.ds-bar { width: clamp(120px, 18vw, 220px); height: 16px; background: #091022; border: 2px solid var(--ds-border); border-radius: 6px; overflow: hidden; padding: 2px; }
.ds-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #38d97c, #9affb9); border-radius: 2px; transition: width 0.12s linear; }
.ds-pct { font-family: 'Silkscreen', monospace; font-size: 12px; color: #f5c842; min-width: 88px; }
.ds-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 6px;
  border-radius: 9px;
  border: 2px solid var(--ds-muted);
  background: var(--ds-card);
  color: #f1f6ff;
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 3px 0 #090f20;
  transition: transform 0.08s ease, background 0.12s ease, border-color 0.12s ease;
}
.ds-tool canvas { width: 32px; height: 32px; image-rendering: pixelated; }
.ds-tool:hover { background: #273e75; border-color: var(--ds-border); transform: translateY(-1px); }
.ds-tool.is-needed { border-color: #38d97c; }
.ds-tool.is-idle { opacity: 0.6; }
.ds-tool.is-on { background: linear-gradient(180deg, #43e089 0%, #239b56 100%); border-color: #d6ffe6; color: #062111; box-shadow: 0 3px 0 #0f4d29; transform: translateY(-3px); opacity: 1; }

/* Ventanas de resultado / abandonar */
.rq-modal { position: absolute; inset: 0; z-index: 40; background: rgba(5, 7, 10, 0.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rq-modal-box {
  width: min(500px, 94vw);
  background: var(--rq-panel);
  border: 2px solid var(--rq-ink);
  box-shadow: inset 0 2px 0 var(--rq-panel-border), inset 0 -2px 0 #080b0e, 0 6px 0 rgba(0, 0, 0, 0.8);
  padding: 16px 18px;
  font-family: 'Silkscreen', monospace;
  color: #e2ede6;
  text-align: center;
}
.rq-modal.is-win .rq-modal-box { box-shadow: inset 0 2px 0 #2d8046, inset 0 0 0 2px #13361e, 0 6px 0 rgba(0, 0, 0, 0.8); }
.rq-modal.is-fail .rq-modal-box { box-shadow: inset 0 2px 0 #8a2a22, inset 0 0 0 2px #3a1210, 0 6px 0 rgba(0, 0, 0, 0.8); }
.rq-modal-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Press Start 2P', monospace; font-size: 13px; color: var(--rq-gold-hi); margin-bottom: 12px; text-shadow: 2px 2px 0 var(--rq-ink); }
.rq-modal-detail { font-size: 12px; color: #cbd7de; line-height: 1.4; margin-bottom: 10px; }
.rq-modal-pay { font-family: 'Press Start 2P', monospace; font-size: 16px; color: #88ffa0; margin-bottom: 14px; text-shadow: 2px 2px 0 var(--rq-ink); }
.rq-modal.is-fail .rq-modal-pay { font-family: 'Silkscreen', monospace; font-size: 11px; color: #ffb3ab; }
.rq-modal-actions { display: flex; justify-content: center; gap: 10px; }
.rq-modal-actions .rq-pxbtn { font-size: 12px; padding: 7px 12px; }

/* ---------------- Nevera en la Agencia ---------------- */
.hq-fridge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 30;
  width: 96px;
  height: 196px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hq-fridge canvas { width: 96px; height: 176px; image-rendering: pixelated; transition: transform 0.08s steps(2, end); }
.hq-fridge:hover canvas { transform: translateY(-3px); }
.hq-fridge.is-lit canvas { animation: rqGlow 1.2s steps(3, end) infinite; }
.hq-fridge-tag { margin-top: 2px; font-family: 'Silkscreen', monospace; font-weight: 700; font-size: 10px; color: #dce6ed; background: var(--rq-panel); border: 2px solid var(--rq-ink); box-shadow: inset 0 1px 0 var(--rq-panel-border); padding: 2px 6px; }
.hq-fridge.is-lit .hq-fridge-tag { color: var(--rq-gold-hi); background: #362810; animation: rqPulse 1s steps(2, end) infinite; }

/* ---------------- Monitor AGENCIA del Hub con curro ---------------- */
#btn-esc-crt-agencia.has-curro { animation: rqPulse 1s steps(2, end) infinite; outline: 3px solid #fde047; outline-offset: -3px; }
.esc-curro-badge {
  position: absolute; left: 50%; top: -16px; transform: translate(-50%, 0); white-space: nowrap;
  font-family: 'Silkscreen', monospace; font-weight: 700; font-size: 10px; color: var(--rq-gold-hi); background: #362810;
  border: 2px solid var(--rq-ink); box-shadow: inset 1px 1px 0 #8a6418, 0 2px 0 #05070a; padding: 1px 6px; pointer-events: none; animation: rqBob 1.2s steps(4, end) infinite; z-index: 5;
}

/* ---------------- Primer plano de la Nevera (tema DS) ---------------- */
.rq-fridge-overlay { position: fixed; inset: 0; z-index: 1250; background: radial-gradient(circle at 18% 8%, rgba(76, 128, 255, 0.16), transparent 42%), rgba(8, 12, 24, 0.9); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rq-fridge-door {
  width: min(1040px, 96vw);
  max-height: 94vh;
  overflow: auto;
  background: var(--ds-bg);
  border: 2px solid var(--ds-border);
  border-radius: 14px;
  box-shadow: 0 8px 0 #070c18, 0 18px 34px rgba(0, 0, 0, 0.5);
  padding: 16px 18px;
}
.rq-fridge-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rq-fridge-title { font-family: 'Silkscreen', monospace; font-size: 18px; color: #f5c842; }
.rq-fridge-deficit { font-family: 'Silkscreen', monospace; font-size: 11px; color: #ffb3ab; background: #0f1a33; border: 2px solid #e0463c; border-radius: 999px; padding: 4px 12px; }
.rq-fridge-sub { font-family: 'Silkscreen', monospace; font-size: 12px; color: var(--ds-sub); margin: 8px 0 16px; }
.rq-postits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 4px 4px; background: #e6e0c8; border: 3px solid #0b0f1c; border-radius: 10px; box-shadow: inset 4px 4px 0 #fbf6e6, inset -6px -6px 0 #b8b098; padding: 18px 16px; }
@media (max-width: 860px) { .rq-postits { grid-template-columns: repeat(2, 1fr); } }
.rq-postit {
  --pi-col: #f5e070;
  position: relative;
  background: var(--pi-col);
  border: 3px solid #0b0f1c;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.45), inset 0 -4px 0 rgba(0,0,0,0.12), 5px 6px 0 rgba(11, 15, 28, 0.55);
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: 'Silkscreen', monospace;
  color: #1a1408;
  transform: rotate(var(--pi-tilt, 0deg));
  transition: transform 0.1s steps(2, end), box-shadow 0.1s steps(2, end);
}
.rq-postit.is-go { animation: rqFloat 2.4s steps(4, end) infinite; }
.rq-postit:hover { transform: translateY(-6px) rotate(0deg); box-shadow: inset 0 3px 0 rgba(255,255,255,0.45), inset 0 -4px 0 rgba(0,0,0,0.12), 8px 12px 0 rgba(11, 15, 28, 0.55); animation: none; }
.rq-postit.is-casino { background: #141018; color: #fde68a; box-shadow: inset 0 0 0 2px #c9971a, 5px 6px 0 rgba(11, 15, 28, 0.55); }
.rq-postit.is-done { filter: saturate(0.5); }
.rq-pin { position: absolute; top: -8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: #d93848; border: 2px solid #0b0f1c; box-shadow: inset 2px 2px 0 #ff9aa3; }
.rq-postit-art canvas { width: 64px; height: 64px; image-rendering: pixelated; }
.rq-postit-title { font-size: 12px; text-align: center; line-height: 1.2; min-height: 28px; }
.rq-genre { font-size: 10px; color: #fff; background: #1e3a8a; border: 2px solid #0b0f1c; padding: 0 5px; }
.rq-genre.is-terror { background: #7f1d1d; }
.rq-stars { display: flex; gap: 2px; }
.rq-stars .rq-star { width: 18px; height: 18px; image-rendering: pixelated; }
.rq-meta { display: flex; justify-content: space-between; width: 100%; font-size: 10px; gap: 4px; }
.rq-pay { font-size: 12px; color: #14532d; background: rgba(255,255,255,0.55); border: 2px solid #0b0f1c; padding: 1px 6px; }
.rq-postit.is-casino .rq-pay { color: #fde047; background: #2a1f0a; }
.rq-stamp { position: absolute; top: 46px; left: 50%; transform: translateX(-50%) rotate(-12deg); font-size: 14px; color: #b91c1c; border: 3px solid #b91c1c; padding: 2px 8px; background: rgba(255,255,255,0.4); }
.rq-go {
  width: 100%;
  margin-top: 2px;
  font-family: 'Silkscreen', monospace;
  font-weight: 700;
  font-size: 12px;
  color: #88ffa0;
  background: #13361e;
  border: 2px solid #0b0f1c;
  box-shadow: inset 1px 1px 0 #2d8046, inset -1px -1px 0 #091c0f, 0 3px 0 #0b0f1c;
  padding: 6px 10px;
  cursor: pointer;
}
.rq-postit.is-go .rq-go { animation: rqPulse 1.2s steps(2, end) infinite; }
.rq-go:hover:not(:disabled) { background: #1b4d2b; }
.rq-go:disabled { color: #9fb0bd; background: #1c2933; box-shadow: inset 1px 1px 0 #415969, 0 3px 0 #0b0f1c; cursor: not-allowed; font-size: 10px; }
.rq-btn { font-family: 'Silkscreen', monospace; font-size: 11px; padding: 8px 12px; border-radius: 9px; border: 2px solid var(--ds-muted); background: var(--ds-card); color: #f1f6ff; cursor: pointer; box-shadow: 0 3px 0 #090f20; }
.rq-btn:hover { background: #273e75; border-color: var(--ds-border); }
.rq-btn.is-danger { background: linear-gradient(180deg, #e05a50 0%, #a32a22 100%); border-color: #ffd6d2; }
.rq-fridge-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-family: 'Silkscreen', monospace; font-size: 11px; color: var(--ds-sub); flex-wrap: wrap; }

/* ---------------- Aviso de terror ---------------- */
.rq-warn-overlay { position: fixed; inset: 0; z-index: 1300; background: rgba(0, 0, 0, 0.88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rq-warn-box { width: min(540px, 94vw); background: var(--rq-panel); border: 2px solid var(--rq-ink); box-shadow: inset 0 2px 0 #8a2a22, inset 0 0 0 2px #3a1210, 0 6px 0 #000; padding: 18px; font-family: 'Silkscreen', monospace; color: #ffd8d4; }
.rq-warn-head { display: flex; align-items: center; gap: 10px; font-family: 'Press Start 2P', monospace; font-size: 12px; color: #ff8a80; margin-bottom: 10px; }
.rq-warn-head .rq-warn-ico { width: 48px; height: 48px; image-rendering: pixelated; }
.rq-warn-box p { font-size: 12px; line-height: 1.45; margin: 8px 0; }
.rq-warn-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }

/* Herramientas siempre en una fila */
.rq-dock { flex-wrap: nowrap; }
.ds-tool { font-size: 10px; padding: 4px 10px 4px 5px; white-space: nowrap; }
.ds-tool canvas { width: 28px; height: 28px; }

/* Nevera con rotacion nueva: brillo extra */
.hq-fridge.is-fresh canvas { animation: rqGlowStrong 0.8s steps(3, end) infinite; }
@keyframes rqGlowStrong { 0%, 100% { filter: drop-shadow(0 0 3px rgba(253, 224, 71, 0.6)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 240, 140, 1)) brightness(1.15); } }
.hq-fridge.is-fresh .hq-fridge-tag { color: #0b0f1c; background: #ffec94; }
.rq-modal-pay.is-neg { color: #ff8a80 !important; }
/* 3-4 post-its al azar: la fila se centra y no deja huecos */
.rq-postits { display: flex; flex-wrap: wrap; justify-content: center; }
.rq-postits > .rq-postit { flex: 0 1 calc(25% - 12px); min-width: 170px; }
@media (max-width: 860px) { .rq-postits > .rq-postit { flex-basis: calc(50% - 8px); } }
/* Chat de bienvenida de cada trabajo */
.rq-intro { position: absolute; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 64px; background: rgba(3, 5, 9, 0.35); }
.rq-intro-box { display: flex; gap: 14px; width: min(720px, 100%); background: #0d141f; border: 3px solid #0b0f1c; box-shadow: inset 0 0 0 2px #415969, 0 6px 0 #05070a; padding: 12px 14px; animation: rq-intro-in 0.18s steps(3, end); }
@keyframes rq-intro-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.rq-intro-face { flex: 0 0 auto; width: 72px; height: 102px; background: #1a2533; border: 2px solid #0b0f1c; box-shadow: inset 0 0 0 1px #415969; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.rq-intro-face canvas { width: 72px; height: 102px; image-rendering: pixelated; }
.rq-intro-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rq-intro-name { font-family: 'Press Start 2P', monospace; font-size: 10px; color: #ffcf48; letter-spacing: 1px; }
.rq-intro-text { font-family: 'Silkscreen', monospace; font-size: 15px; line-height: 1.35; color: #e8f1fc; min-height: 62px; }
.rq-intro-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.rq-intro-step { margin-right: auto; font-family: 'Silkscreen', monospace; font-size: 11px; color: #7c95a3; }

/* ===== Pantalla completa real: todo dentro del rectangulo del juego ===== */
.rq-game-overlay { --sx: 0px; --sy: 0px; --sw: 100vw; --sh: 100vh; display: block; }
.rq-game-canvas { position: absolute; }
.rq-layer { inset: auto; left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh); }
.rq-cam { top: calc(var(--sy) + 8px); right: calc(100vw - var(--sx) - var(--sw) + 8px); }
.rq-dock { left: calc(var(--sx) + var(--sw) / 2); bottom: calc(100vh - var(--sy) - var(--sh) + 10px); max-width: var(--sw); }
.rq-term { left: var(--sx); right: auto; width: var(--sw); top: calc(var(--sy) + var(--sh) + 7px); bottom: auto; box-sizing: border-box; }
.rq-intro { left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh); inset: auto; }
.rq-modal { position: absolute; left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh); }
/* Transiciones entre trabajos: iris pixelado al entrar y al salir */
.rq-game-overlay.rq-enter { animation: rqIrisIn 0.5s steps(10, end) both; }
.rq-game-overlay.rq-leave { animation: rqIrisOut 0.32s steps(7, end) both; }
@keyframes rqIrisIn { from { clip-path: circle(0% at 50% 50%); filter: brightness(2.2); } 60% { filter: brightness(1.2); } to { clip-path: circle(75% at 50% 50%); filter: none; } }
@keyframes rqIrisOut { from { clip-path: circle(75% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); filter: brightness(0.3); } }
.rq-steps .rq-step { white-space: nowrap; }
/* Bordes sobrantes: escena ampliada y oscurecida detras del lienzo (sin franjas negras) */
.rq-ambient { position: absolute; display: none; image-rendering: pixelated; image-rendering: crisp-edges; filter: brightness(0.42) saturate(0.8); pointer-events: none; }
