/* ============================================================
   轻停时刻 · 轻松一笑（随机搞笑视频）
   ============================================================ */

.home-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- 播放视图 ---------- */

#view-smile {
  background: #101422;
  color: #E6E4F0;
}

#view-smile .btn-back {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #C7CBE0;
}

.smile-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 58px 14px 8px;
  position: relative;
}

#smile-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: #000;
  object-fit: contain;
}

.smile-play {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(16, 20, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 关键修复：display:flex 会覆盖 hidden 属性，必须显式还原 */
.smile-play[hidden] {
  display: none !important;
}

.smile-play:active { transform: scale(0.92); }

.smile-info {
  padding: 12px 22px 4px;
  text-align: center;
}

.smile-script {
  font-size: 14px;
  line-height: 1.8;
  color: #D9DCEC;
  letter-spacing: 0.5px;
}

.smile-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #9aa1bd;
  letter-spacing: 1px;
}

.smile-controls {
  padding: 10px 22px max(18px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
}

.smile-controls .ov-btn {
  width: auto;
  padding: 13px 36px;
  color: #1B2030;
  background: #A9B8D8;
}
