/* 《我没喝多》微醺倔强夜感专属排版：酒后深夜、嘴硬不认的夜色氛围 */
.diary-post .content {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(120, 130, 170, 0.16) 0%, rgba(24, 26, 38, 0) 58%),
    radial-gradient(ellipse at 50% 100%, rgba(190, 140, 90, 0.10) 0%, rgba(24, 26, 38, 0) 42%),
    linear-gradient(180deg, #14161f 0%, #0e0f16 100%);
  color: #cdd0dd;
  padding: 8.5rem 1.6rem 10.5rem;
  text-align: center;
  overflow: hidden;
}

.diary-post .content h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: #e8e2d2;
  margin: 0 0 1.2rem;
  /* 醉眼重影：琥珀与夜色双影轻微错位，嘴硬不认的微醺感 */
  text-shadow:
    1.6px 1.2px 0 rgba(214, 148, 92, 0.42),
    -1.2px -1px 0 rgba(76, 94, 140, 0.35),
    0 0 34px rgba(224, 176, 120, 0.18);
}

.diary-post .content .diary-date {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: rgba(205, 208, 221, 0.42);
  margin-bottom: 5.2rem;
}

.diary-post .content .diary-video {
  display: block;
  width: min(78vw, 420px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 18px 18px 4px 4px;
  background: #05060a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(210, 158, 104, 0.10);
  cursor: pointer;
  /* 轻微摇曳：像站不太稳的人，嘴上却说我没喝多 */
  animation: woheduo-sway 9s ease-in-out infinite;
  transform-origin: 50% 100%;
}

/* ---- 自定义时间轴播放器（微醺夜感，克制） ---- */
.diary-post .content .diary-video-player {
  width: min(78vw, 420px);
  margin: -4px auto 0;
  padding: 0.7rem 0.9rem 0.75rem;
  background: rgba(10, 11, 18, 0.82);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.diary-post .content .dwp-progress {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.diary-post .content .dwp-progress:focus-visible .dwp-progress-track {
  box-shadow: 0 0 0 2px rgba(224, 176, 120, 0.5);
}
.diary-post .content .dwp-progress-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: visible;
}
.diary-post .content .dwp-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(214, 148, 92, 0.85), rgba(232, 198, 150, 0.95));
}
.diary-post .content .dwp-progress-thumb {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ead9bd;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(224, 176, 120, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.diary-post .content .dwp-progress:hover .dwp-progress-thumb,
.diary-post .content .dwp-progress:active .dwp-progress-thumb {
  opacity: 1;
}

.diary-post .content .dwp-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(205, 208, 221, 0.66);
  font-variant-numeric: tabular-nums;
}
.diary-post .content .dwp-sep {
  color: rgba(205, 208, 221, 0.32);
}
.diary-post .content .dwp-duration {
  color: rgba(205, 208, 221, 0.42);
}
.diary-post .content .dwp-mute {
  margin-left: auto;
  padding: 0.34rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: rgba(232, 216, 190, 0.9);
  background: rgba(214, 148, 92, 0.16);
  border: 1px solid rgba(214, 148, 92, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.diary-post .content .dwp-mute:hover {
  background: rgba(214, 148, 92, 0.3);
  color: #f3e9d4;
}

@keyframes woheduo-sway {
  0%, 100% { transform: rotate(0.55deg) translateY(0); }
  25%      { transform: rotate(-0.55deg) translateY(3px); }
  50%      { transform: rotate(0.3deg) translateY(0); }
  75%      { transform: rotate(-0.3deg) translateY(2px); }
}

@media (max-width: 720px) {
  .diary-post .content {
    padding: 6.5rem 1rem 8rem;
  }
  .diary-post .content h1 {
    font-size: 2.3rem;
  }
  .diary-post .content .diary-video,
  .diary-post .content .diary-video-player {
    width: min(86vw, 400px);
  }
  .diary-post .content .diary-video {
    border-radius: 14px 14px 4px 4px;
  }
  .diary-post .content .diary-video-player {
    border-radius: 0 0 14px 14px;
  }
  .diary-post .content .dwp-progress {
    height: 26px; /* 移动端更大触控区 */
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-post .content .diary-video {
    animation: none;
  }
}
