.tv-zone {
  display: grid;
  place-items: center;
  min-height: 600px;
  padding: clamp(22px, 5vw, 52px);
}

.tv {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 1.22;
  border-radius: 26px 26px 34px 34px;
  background:
    linear-gradient(135deg, #6d3a24, #2b1712 54%, #130c0b),
    #3b2118;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42), inset 0 0 0 8px rgba(255, 255, 255, 0.05);
  padding: 34px 132px 86px 34px;
}

.tv::before,
.tv::after {
  content: "";
  position: absolute;
  top: -62px;
  width: 5px;
  height: 92px;
  border-radius: 99px;
  background: #9b7a5f;
  transform-origin: bottom;
}

.tv::before {
  left: 42%;
  transform: rotate(-28deg);
}

.tv::after {
  left: 55%;
  transform: rotate(28deg);
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 10px solid #171112;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(135, 215, 255, 0.12), transparent 54%),
    linear-gradient(145deg, #202b2d, #08090a);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.tv.off .screen {
  background: #070707;
}

.tv.off .program,
.tv.off .scanline {
  opacity: 0;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 50%, rgba(0, 0, 0, 0.18) 51%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 255, 0.035));
  background-size: 100% 4px, 6px 100%;
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -22%;
  height: 20%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  to { top: 105%; }
}

.program {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
}

.program span {
  justify-self: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(216, 58, 50, 0.84);
  font-weight: 700;
}

.program strong {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 600;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.program p {
  max-width: 360px;
  margin: 0;
  color: #e8d6ca;
  line-height: 1.65;
}

.speaker {
  position: absolute;
  right: 38px;
  top: 78px;
  width: 64px;
  height: 210px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 5px, transparent 5px 14px);
  border-radius: 8px;
  opacity: 0.8;
}

.knobs {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  gap: 12px;
}

.knobs button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(180deg, #4a3430, #1f1514);
  cursor: pointer;
}

.knobs button:hover {
  filter: brightness(1.14);
}

.channel-item {
  cursor: pointer;
}

.channel-item.active strong {
  color: #f8e3b0;
}

@media (max-width: 620px) {
  .tv-zone {
    min-height: 480px;
    padding: 16px;
  }

  .tv {
    padding: 24px 88px 74px 22px;
  }

  .speaker {
    right: 26px;
    top: 60px;
    width: 42px;
    height: 160px;
  }

  .knobs {
    right: 18px;
    bottom: 20px;
    gap: 8px;
  }

  .knobs button {
    width: 40px;
    height: 40px;
  }
}
