/* 墙上电视：只收起缩略图那一排，日期 / 点赞 / 文案 / 来源照常显示 */
.tv-sheet .tv-grid {
  display: none !important;
}

/* 弹窗宽度由图片决定，但留下限保证文字排得开 */
.sheet.tv-sheet {
  width: fit-content;
  min-width: min(92vw, 520px);
  max-width: min(94vw, 820px);
  max-height: 94dvh;
}

.tv-sheet .tv-stage {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px 10px;
  background: #08060e;
}

.tv-sheet .tv-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
}

.tv-sheet .tv-photo {
  max-height: 58dvh;
  width: auto;
  max-width: 100%;
}

/* 收起缩略图后，文案仍然跟屏幕同宽、左右对齐 */
.tv-sheet .tv-caption,
.tv-sheet .tv-sub {
  padding-left: 16px;
  padding-right: 16px;
}

.tv-sheet .tv-sub .tv-text {
  font-size: 12.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv-sheet .tv-caption {
  border-bottom-width: 2px;
}

.tv-sheet .tv-sub {
  border-bottom: 0;
}

.tv-sheet .tv-arrow {
  width: 34px;
  height: 54px;
  line-height: 50px;
  font-size: 15px;
  opacity: 0.7;
  background: #08050fcc;
  border-color: #4a3f5e;
  color: #f3e3c8;
}

.tv-sheet .tv-arrow:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--gold2);
}

.tv-sheet .tv-bar {
  height: 2px;
}

@media (max-width: 640px) {
  .tv-sheet .tv-stage {
    padding: 10px 10px 8px;
  }

  .sheet.tv-sheet {
    min-width: 0;
    width: 94vw;
  }

  .tv-sheet .tv-photo {
    max-height: 48dvh;
  }

  .tv-sheet .tv-arrow {
    width: 30px;
    height: 46px;
    line-height: 42px;
    font-size: 13px;
    opacity: 0.62;
  }
}

/* 猫：轻轻眨眼，眼睛放大后更有生气 */
svg.room-svg .cat-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: lifeCatBlink 7.6s infinite;
}

@keyframes lifeCatBlink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }

  94%, 96% {
    transform: scaleY(0.14);
  }
}
