/* 日记「爆仓」专属排版：冷静克制 · 深夜复盘的低饱和灰蓝调 · 不花哨 */
/* 整体沿用主题默认字体，不设置突兀色块与装饰 */

.diary-post .content {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(90, 110, 140, 0.12) 0%, rgba(22, 24, 32, 0) 55%),
    linear-gradient(180deg, #16181f 0%, #101218 100%);
  color: #c9ccd6;
  padding: 7rem 1.6rem 9rem;
  text-align: center;
}

.diary-post .content h1 {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #d8dbe2;
  margin: 0 0 1.1rem;
  text-shadow: 0 0 26px rgba(120, 140, 170, 0.16);
}

.diary-post .content .diary-date {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: rgba(201, 204, 214, 0.4);
  margin-bottom: 4.4rem;
}

/* ---- 视频：竖屏居中，无冗余动效，克制阴影 ---- */
.diary-post .content .diary-video {
  display: block;
  width: min(74vw, 400px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 12px 12px 4px 4px;
  background: #05060a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* ---- 自定义时间轴播放器（冷静克制） ---- */
.diary-post .content .diary-video-player {
  width: min(74vw, 400px);
  margin: -4px auto 0;
  padding: 0.7rem 0.9rem 0.75rem;
  background: rgba(8, 9, 14, 0.85);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  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(140, 160, 190, 0.45);
}
.diary-post .content .dwp-progress-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  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(120, 140, 170, 0.8), rgba(180, 196, 220, 0.95));
}
.diary-post .content .dwp-progress-thumb {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d5dae2;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(160, 178, 205, 0.5);
  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(201, 204, 214, 0.62);
  font-variant-numeric: tabular-nums;
}
.diary-post .content .dwp-sep {
  color: rgba(201, 204, 214, 0.3);
}
.diary-post .content .dwp-duration {
  color: rgba(201, 204, 214, 0.4);
}
.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(216, 220, 230, 0.9);
  background: rgba(120, 140, 170, 0.15);
  border: 1px solid rgba(120, 140, 170, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.diary-post .content .dwp-mute:hover {
  background: rgba(120, 140, 170, 0.3);
  color: #eef1f6;
}

/* ---- 正文：逐字冷静陈述，居中宽松 ---- */
.diary-post .content .bc-body {
  margin-top: 3.4rem;
}
.diary-post .content .bc-line {
  display: block;
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.26rem;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: #cdd0da;
}

/* ---- 图片：依次居中竖排，克制留白 ---- */
.diary-post .content .bc-img {
  margin: 2rem auto 0;
  max-width: 420px;
  text-align: center;
}
.diary-post .content .bc-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* 移动端收窄 */
@media (max-width: 720px) {
  .diary-post .content {
    padding: 5.5rem 1rem 7rem;
  }
  .diary-post .content h1 {
    font-size: 2.1rem;
  }
  .diary-post .content .diary-video,
  .diary-post .content .diary-video-player {
    width: min(84vw, 380px);
  }
  .diary-post .content .diary-video {
    border-radius: 10px 10px 4px 4px;
  }
  .diary-post .content .diary-video-player {
    border-radius: 0 0 10px 10px;
  }
  .diary-post .content .dwp-progress {
    height: 26px;
  }
  .diary-post .content .bc-line {
    font-size: 1.16rem;
  }
  .diary-post .content .bc-img {
    max-width: 340px;
  }
}
