/**
 * 一日女友 · Web 视频详情（Figma 2.2 / 2.3 · 24:27089 / 24:28186）
 */
body.dg-detail-page {
  background: #0a0a0a !important;
}
body.dg-detail-page:before {
  opacity: 0.45;
}
body.dg-detail-page .page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 101px 0 46px;
}
body.dg-detail-page .layout {
  grid-template-columns: 812px 375px;
  gap: 13px;
  align-items: start;
}
body.dg-detail-page .detail-main {
  min-width: 0;
}
body.dg-detail-page .panel {
  background: #1a1b1e;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
/* 主栏：标题/作者/数据/标签无卡片底，仅播放器有黑底（Figma 225:27142） */
body.dg-detail-page .detail-main > .panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  overflow: visible;
}

/* 面包屑：Figma 24:28567 · 视频社区 › 视频详情页
 * 注意：不要用 <nav>，否则会吃到全局顶栏 nav{position:sticky/fixed} 样式 */
body.dg-detail-page .crumb {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 21px !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 22px !important;
  color: #b0b1b3 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  z-index: auto !important;
  box-shadow: none !important;
}
body.dg-detail-page .crumb a,
body.dg-detail-page .crumb .crumb-back {
  color: #b0b1b3 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 22px !important;
}
body.dg-detail-page .crumb a:hover,
body.dg-detail-page .crumb .crumb-back:hover {
  color: #fff !important;
}
body.dg-detail-page .crumb .current {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 22px !important;
}
body.dg-detail-page .crumb .crumb-sep,
body.dg-detail-page .crumb img.crumb-sep {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  opacity: 1 !important;
  transform: none !important;
  object-fit: contain;
}

body.dg-detail-page .player {
  background: #000;
  border-radius: 8px;
  height: 458px;
  min-height: 458px;
  overflow: hidden;
}
body.dg-detail-page .player video,
body.dg-detail-page .player iframe,
body.dg-detail-page .player .no-video {
  width: 100% !important;
  height: 458px !important;
  max-height: 458px !important;
  aspect-ratio: auto !important;
  object-fit: contain;
  display: block;
  border: 0;
  background: #000;
}
body.dg-detail-page .main-body {
  padding: 20px 0 24px;
}
body.dg-detail-page .title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}
body.dg-detail-page .title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}
body.dg-detail-page .title-coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 10px;
  border: 1px solid #f5d79a;
  background: #322b2c;
  color: #ffc85c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  margin-top: 0;
}
body.dg-detail-page .title-coin img {
  width: 14px;
  height: 14px;
  display: block;
}

/* 作者行 + 收藏/分享（Figma 225:27745） */
body.dg-detail-page .main-body .author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
body.dg-detail-page .main-body .author-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  min-width: 0;
}
body.dg-detail-page .main-body .author-bar .author-inline {
  margin-top: 0;
  flex: 1;
}
body.dg-detail-page .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #27282d;
  border: 0;
  padding: 0;
}
body.dg-detail-page .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
body.dg-detail-page .avatar.avatar-emoji {
  background: linear-gradient(135deg, #ff43a7, #ef2df9);
  font-size: 22px;
  line-height: 1;
  color: #fff;
}
body.dg-detail-page .avatar.avatar-emoji span {
  display: block;
  transform: translateY(1px);
}
body.dg-detail-page .author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.dg-detail-page .main-body .author-inline .author-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
body.dg-detail-page .main-body .author-inline .author-date {
  font-size: 14px;
  color: #b3b3b3;
  margin-left: 0;
  line-height: 1.3;
}

body.dg-detail-page .meta-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
body.dg-detail-page .meta-tool {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}
body.dg-detail-page .meta-tool:hover {
  opacity: 0.85;
}
body.dg-detail-page .vd-stats {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 28px;
}
body.dg-detail-page .vd-stat,
body.dg-detail-page .vd-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}
body.dg-detail-page .vd-stat-btn {
  cursor: pointer;
}
body.dg-detail-page .act-ico {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}
body.dg-detail-page .act-ico img,
body.dg-detail-page .meta-tool img,
body.dg-detail-page .vd-stat img,
body.dg-detail-page .vd-stat-btn img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
body.dg-detail-page .action-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  min-height: 0;
}

body.dg-detail-page .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
body.dg-detail-page .tag {
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(255, 18, 144, 0.45);
  color: #ff1290;
  border-radius: 8px;
  padding: 6px 15px;
  font-size: 13px;
  line-height: 18px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
body.dg-detail-page a.tag:hover {
  background: rgba(255, 18, 144, 0.12);
}

body.dg-detail-page .subline,
body.dg-detail-page .related-meta,
body.dg-detail-page .tip,
body.dg-detail-page .comment-meta,
body.dg-detail-page .stat-label {
  color: rgba(255, 255, 255, 0.45);
}
body.dg-detail-page .btn {
  background: linear-gradient(101deg, #ff43a7 0%, #ef2df9 95%);
  border-radius: 10px;
}
body.dg-detail-page .textarea {
  background: #252632;
  border-color: #3a3c50;
  border-radius: 12px;
}
body.dg-detail-page .textarea:focus {
  border-color: #ff1290;
  box-shadow: 0 0 0 3px rgba(255, 18, 144, 0.15);
}
body.dg-detail-page .comment-head,
body.dg-detail-page .comment-form,
body.dg-detail-page .comment-list {
  background: #1a1b1e;
  border-color: rgba(255, 255, 255, 0.06);
}
body.dg-detail-page .side .panel {
  width: 100%;
}
body.dg-detail-page .related-title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  padding: 28px 16px 14px;
}
body.dg-detail-page .related {
  align-items: center;
  min-height: 92px;
  padding: 16px 14px;
  gap: 12px;
  box-sizing: border-box;
}
body.dg-detail-page .related-thumb {
  width: 96px !important;
  height: 60px !important;
  border-radius: 4px;
}
body.dg-detail-page .related-title-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
}
body.dg-detail-page .related-meta {
  font-size: 14px;
  line-height: 18px;
  color: #b3b3b3;
  margin-top: 6px;
}
body.dg-detail-page .related:hover {
  background: rgba(255, 18, 144, 0.08);
}
body.dg-detail-page .comment-form .btn {
  min-width: 120px;
}

/* 付费解锁（Figma 2.3 · 24:28550） */
body.dg-detail-page .unlock-mask {
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(4px);
}
body.dg-detail-page .unlock-card {
  box-sizing: border-box;
  width: 200px;
  min-height: 180px;
  max-width: calc(100% - 24px);
  border: 1px solid #35363c;
  border-radius: 8px;
  background: linear-gradient(141deg, #231d19 6%, #4f4d56 94%);
  padding: 28px 16px 18px;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body.dg-detail-page .unlock-card .unlock-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1;
}
body.dg-detail-page .unlock-card .unlock-title img {
  width: 20px;
  height: 20px;
  display: block;
}
body.dg-detail-page .unlock-card .coins {
  font-size: 16px;
  font-weight: 400;
  color: #b3b3b3;
  margin: 0 0 16px;
  line-height: 1.3;
}
body.dg-detail-page .unlock-card .hint {
  display: none;
}
body.dg-detail-page .unlock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 34px;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  background: linear-gradient(105deg, #ff43a7 0%, #ef2df9 95%);
  color: #fff;
  box-sizing: border-box;
}
body.dg-detail-page .unlock-btn.secondary {
  display: none !important;
}

body.dg-detail-page .nav-search-wrap {
  display: flex !important;
  margin-left: auto;
  min-width: 280px !important;
  max-width: 370px !important;
  flex: 0 1 370px !important;
  width: 370px !important;
}
body.dg-detail-page .nav-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  height: 38px !important;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #3a3c50;
  background: #252632;
}
body.dg-detail-page .nav-search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
}
body.dg-detail-page .nav-user-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 12px;
  display: block;
  background: #27282d;
}
body.dg-detail-page .nav-user-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 评论区（Figma 804×116 输入框 / 78×30 发送） */
body.dg-detail-page .dg-cmt {
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body.dg-detail-page .dg-cmt-head {
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
body.dg-detail-page .dg-cmt-form {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
}
body.dg-detail-page .dg-cmt-form textarea {
  min-height: 116px;
  border-radius: 10px;
  background: #27282d;
  border: 1px solid #35363c;
  color: #f4f4f5;
  padding: 14px 96px 44px 12px;
  font-size: 12px;
  line-height: 1.4;
}
body.dg-detail-page .dg-cmt-form textarea::placeholder {
  color: #7f8189;
}
body.dg-detail-page .dg-cmt-bar,
body.dg-detail-page .dg-cmt-tip {
  display: none;
}
body.dg-detail-page .dg-cmt-send {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 78px;
  min-width: 78px;
  height: 30px;
  padding: 0;
  border-radius: 12px;
  background: #ff1290;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
body.dg-detail-page .dg-cmt-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.dg-detail-page .dg-cmt-user {
  color: #fff;
}
body.dg-detail-page .dg-cmt-text {
  color: rgba(255, 255, 255, 0.86);
}
body.dg-detail-page .dg-cmt-meta,
body.dg-detail-page .dg-cmt-tip {
  color: rgba(255, 255, 255, 0.45);
}
body.dg-detail-page .dg-cmt-act {
  color: rgba(255, 255, 255, 0.45);
}
body.dg-detail-page .dg-cmt-act.on {
  color: #ff1290;
}

@media (max-width: 1280px) {
  body.dg-detail-page .page {
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
  body.dg-detail-page .layout {
    grid-template-columns: minmax(0, 1fr) 349px;
    gap: 24px;
  }
  body.dg-detail-page .player,
  body.dg-detail-page .player video,
  body.dg-detail-page .player iframe,
  body.dg-detail-page .player .no-video {
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
  }
}
@media (max-width: 900px) {
  body.dg-detail-page .page { padding-top: 70px; }
  body.dg-detail-page .layout { grid-template-columns: 1fr; }
  body.dg-detail-page .nav-search-wrap { display: none; }
}
