/* 沉浸式播放页 */
body.video-page {
  background: var(--app-bg);
  color: var(--app-text);
}

.video-page .site-header.compact .header-shell {
  padding: 10px 14px;
  max-width: var(--app-content-max);
  margin: 0 auto;
}

.video-page .brand-text strong {
  font-family: var(--app-font-display);
  font-weight: 700;
}

.video-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 12px calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .video-main {
    padding: 18px 20px 48px;
  }
}

.player-wrap {
  background: #000;
  border-radius: var(--app-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--app-shadow-lg);
  border: 1px solid var(--app-border);
}

.player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

#vodCoverSeo {
  float: left;
  width: 112px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 12px !important;
  margin: 0 12px 10px 0 !important;
  border: 1px solid var(--app-border);
}

.card-block {
  background: var(--app-surface);
  border-radius: var(--app-radius-lg);
  padding: 16px 16px 18px;
  margin-top: 14px;
  border: 1px solid var(--app-border);
  box-shadow: var(--app-shadow-sm);
}

.video-info h1 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--app-text);
  font-family: var(--app-font-display);
}

.meta-line {
  margin: 0 0 14px;
  color: var(--app-text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.line-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.line-tabs button {
  border: 1px solid var(--app-border);
  background: var(--app-surface-2);
  color: var(--app-text-secondary);
  border-radius: var(--app-radius-pill);
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.line-tabs button.active {
  border-color: rgba(255, 45, 120, 0.45);
  color: #fff;
  background: linear-gradient(135deg, #ff2d78, #e11d64);
  box-shadow: var(--app-glow-accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags .tag-chip,
.tags a.tag-chip {
  background: var(--app-surface-2);
  color: var(--app-text-secondary);
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: var(--app-radius-pill);
  text-decoration: none;
  border: 1px solid var(--app-border);
  cursor: pointer;
  transition:
    background var(--app-dur-fast) var(--app-ease),
    color var(--app-dur-fast) var(--app-ease),
    border-color var(--app-dur-fast) var(--app-ease);
}

.tags a.tag-chip:hover {
  background: var(--app-accent-soft);
  color: var(--app-accent);
  border-color: rgba(255, 45, 120, 0.35);
}

.meta-line .type-link {
  color: var(--app-accent);
  text-decoration: none;
  font-weight: 700;
}

.meta-line .type-link:hover {
  text-decoration: underline;
}

.comments-block h2,
.related-block h2 {
  margin: 0 0 14px;
  font-size: 1.02rem;
  color: var(--app-text);
  font-family: var(--app-font-display);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.comment-form input,
.comment-form textarea {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.9rem;
  background: var(--app-surface-2);
  color: var(--app-text);
  outline: none;
  transition:
    border-color var(--app-dur-fast) var(--app-ease),
    box-shadow var(--app-dur-fast) var(--app-ease);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(255, 45, 120, 0.5);
  box-shadow: 0 0 0 3px var(--app-accent-soft);
}

.comment-form textarea {
  resize: vertical;
  min-height: 72px;
}

.btn-post {
  align-self: flex-end;
  background: linear-gradient(135deg, #ff2d78, #e11d64);
  color: #fff;
  border: none;
  border-radius: var(--app-radius-pill);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--app-glow-accent);
}

.btn-post:hover {
  filter: brightness(1.06);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  border-top: 1px solid var(--app-border);
  padding: 12px 0;
}

.comment-list .nick {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--app-text);
}

.comment-list .time {
  color: var(--app-text-muted);
  font-size: 0.75rem;
  margin-left: 8px;
}

.comment-list .text {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--app-text-secondary);
  line-height: 1.55;
}

.empty-comments {
  color: var(--app-text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin: 8px 0 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.related-grid .card {
  background: var(--app-surface-2);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  overflow: hidden;
  cursor: pointer;
}

.related-grid .card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--app-bg);
  overflow: hidden;
}

.related-grid .card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-grid .card .body {
  padding: 8px 10px 10px;
}

.related-grid .card h3 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--app-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-grid .card .sub {
  font-size: 0.7rem;
  color: var(--app-text-muted);
}
