/* =========================================================================
   Tiendas (Parqué y Agencia) con personalidad de consola 32-bit:
   escaparate con toldo, fichas de cartulina con chincheta y etiqueta de precio.
   ========================================================================= */
.esc-subview-overlay.is-shop {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, #2a1c12 0%, #1a120c 100%);
}
.esc-subview-overlay.is-shop .esc-subview-topbar {
  position: relative;
  background: #3a2416;
  border: 3px solid #0b0f1c;
  box-shadow: 0 4px 0 #000, inset 0 0 0 2px #6b4428;
  padding-top: 18px;
}
.esc-subview-overlay.is-shop .esc-subview-topbar::before {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  top: -3px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #c4303f 0 18px, #efe4c6 18px 36px);
  border-bottom: 3px solid #0b0f1c;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 97% 100%, 94% 70%, 91% 100%, 88% 70%, 85% 100%, 82% 70%, 79% 100%, 76% 70%, 73% 100%, 70% 70%, 67% 100%, 64% 70%, 61% 100%, 58% 70%, 55% 100%, 52% 70%, 49% 100%, 46% 70%, 43% 100%, 40% 70%, 37% 100%, 34% 70%, 31% 100%, 28% 70%, 25% 100%, 22% 70%, 19% 100%, 16% 70%, 13% 100%, 10% 70%, 7% 100%, 4% 70%, 0 100%);
}
.esc-subview-overlay.is-shop .esc-subview-title { color: #fde047; text-shadow: 2px 2px 0 #000; }
.esc-subview-overlay.is-shop .esc-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #0f1a14;
  border: 2px solid #0b0f1c;
  box-shadow: inset 0 0 0 1px #1f6b3a;
  color: #7dff9a;
  font-size: 9px;
  letter-spacing: 1px;
}
.esc-subview-overlay.is-shop .esc-shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  padding: 6px 4px 14px;
}
.esc-subview-overlay.is-shop .esc-shop-card {
  position: relative;
  background: #efe4c6;
  color: #2a2016;
  border: 3px solid #3a2416;
  box-shadow: 4px 4px 0 #000;
  padding: 16px 12px 10px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.12s steps(2, end);
}
.esc-subview-overlay.is-shop .esc-shop-card:hover { transform: rotate(0deg) translateY(-2px); }
.esc-subview-overlay.is-shop .esc-shop-card::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: #c4303f;
  box-shadow: 0 0 0 2px #0b0f1c, inset -2px -2px 0 #7a1a24;
}
.esc-subview-overlay.is-shop .esc-shop-card strong { color: #2a2016; font-size: 9px; }
.esc-subview-overlay.is-shop .esc-shop-card p,
.esc-subview-overlay.is-shop .esc-shop-desc { color: #4a3e2c; font-family: var(--font-body); font-size: 13px; line-height: 1.25; }
.esc-subview-overlay.is-shop .iso-bonus { color: #1f7a3e; font-family: var(--font-body); font-size: 12px; }
.esc-subview-overlay.is-shop .iso-bonus-state { color: #8a6a1a; font-family: var(--font-body); font-size: 11px; }
.esc-subview-overlay.is-shop .esc-shop-tag {
  align-self: flex-start;
  padding: 2px 6px;
  background: #3a2416;
  color: #fde047;
  font-size: 7px;
}
.esc-subview-overlay.is-shop .esc-shop-card.owned { background: #dfeedd; border-color: #1f6b3a; }
.esc-subview-overlay.is-shop .esc-shop-card.owned::after {
  content: attr(data-owned);
  position: absolute;
  right: 8px;
  top: 34px;
  padding: 2px 6px;
  border: 3px solid #1f7a3e;
  color: #1f7a3e;
  font-family: var(--font-pixel);
  font-size: 10px;
  transform: rotate(-12deg);
  opacity: 0.85;
}
/* Limpieza: qué limpia cada herramienta */
.ds-tool .ds-tool-for { display: block; font-size: 7px; opacity: 0.8; margin-top: 1px; }
.ds-tool.is-needed .ds-tool-for { color: #fde047; opacity: 1; }

/* Nevera minimalista: solo los post-its sobre la puerta oscurecida */
.rq-fridge-overlay.is-minimal { flex-direction: column; }
.rq-fridge-overlay.is-minimal .rq-postits {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 22px;
  max-width: 980px;
}
.rq-fridge-overlay.is-minimal .rq-postit.is-empty { max-width: 260px; padding: 26px 16px; }
.rq-fridge-x {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #c4303f;
  color: #fff;
  border: 3px solid #0b0f1c;
  box-shadow: 0 3px 0 #000, inset -3px -3px 0 #7a1a24;
  font-family: var(--font-pixel, monospace);
  font-size: 11px;
  cursor: pointer;
}
.esc-shop-art { display: flex; align-items: center; gap: 8px; }
.esc-shop-art canvas { width: 40px; height: 40px; image-rendering: pixelated; background: #fbf6e6; border: 2px solid #c9b48a; }
.esc-shop-price-tag {
  display: inline-block;
  padding: 3px 8px 3px 12px;
  background: #fde047;
  color: #2a2016;
  border: 2px solid #0b0f1c;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  font-family: var(--font-pixel);
  font-size: 9px;
}
