/* video_detail.html から切り出したスタイル。
   元は <style> タグ 1 個。中身は変更していない。 */

.back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.82rem; }
.vd-header { margin-bottom: 1.5rem; }
.vd-header h2 { font-size: 1.3rem; line-height: 1.5; margin: 0 0 0.5rem; }
.vd-header .vd-date { font-size: 0.78rem; color: #9ca3af; }
.vd-desc {
  margin-top: 0.75rem; font-size: 0.88rem; line-height: 1.75; color: #374151;
  white-space: pre-line;
}
.video-block {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.video-block h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.85rem; color: #1f2937; }
.video-embed {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: #0d1117; border-radius: 12px; overflow: hidden; margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-placeholder {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); gap: 0.75rem; text-align: center; padding: 0 1rem;
}
.video-placeholder p { font-size: 0.85rem; margin: 0; }
.video-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.vd-btn {
  display: inline-flex; align-items: center; gap: 0.3rem; height: 2.3rem; padding: 0 1.1rem;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; text-decoration: none;
  border: 1px solid var(--primary); transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.vd-btn-primary { background: var(--primary); color: #fff; }
.vd-btn-primary:hover { opacity: 0.88; }
.vd-btn-outline { background: #fff; color: var(--primary); }
.vd-btn-outline:hover { background: var(--primary); color: #fff; }
.vd-footer { text-align: center; margin: 2rem 0 1rem; }
.vd-empty { color: #9ca3af; padding: 2rem 1rem; text-align: center; }
