/* =====================
   TV HARDWARE (Mueble)
   ===================== */

.tv-wrapper:not(.sch-card) {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tv-body:not(.sch-card-thumb) {
  background: linear-gradient(145deg, var(--tv-bezel-light), var(--tv-bezel), var(--bg));
  border-radius: 36px 36px 28px 28px;
  padding: 60px 60px 25px;
  box-shadow: 
    0 0 0 2px var(--tv-bezel),
    0 0 0 4px var(--bg),
    0 50px 100px rgba(0,0,0,0.9),
    inset 0 2px 4px rgba(255,255,255,0.05);
  position: relative;
}

.screen-bezel {
  background: #000;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 
    inset 0 0 40px rgba(0,0,0,0.9),
    inset 0 0 2px rgba(255,255,255,0.05),
    0 0 60px var(--screen-glow);
  position: relative;
  /* Removed width: 100% */
}

.screen {
  width: min(90vw, 756px);
  aspect-ratio: 4/3;
  height: auto;
  background: #000;
  cursor: default;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* Forzar que el vídeo y el iframe llenen el 4:3 */
.screen video, 
.screen iframe, 
#yt-container,
#video-player {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover !important;
  z-index: 1;
}

.tv-stand {
  width: 160px;
  height: 20px;
  background: linear-gradient(to bottom, #1e1018, #120a0f);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  margin: 0 auto;
  position: relative;
}

.tv-stand::before, .tv-stand::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 30px;
  background: linear-gradient(to bottom, #1e1018, #0d0710);
  border-radius: 0 0 8px 8px;
}

.tv-stand::before { left: 20px; }
.tv-stand::after { right: 20px; }
