/* 短剧大赛 DJDS — 品牌皮肤（共享皮肤基线，供全站复用）
   出处：.docs/v0.1.0/T01。深色影视/短剧站风格，黄色强调色配合品牌 logo。
   本文件定义：品牌变量、顶部导航、英雄 banner、区块标题、大海报竖版卡、
   面包屑、子分类栏、页脚、age-gate 位。分类页/详情页直接复用这里的组件。 */

:root {
  --dj-bg: #0b0b0d;
  --dj-bg-2: #101014;
  --dj-surface: #16161c;
  --dj-surface-2: #1d1d25;
  --dj-line: #26262f;
  --dj-text: #f4f4f6;
  --dj-text-dim: #a6a6b2;
  --dj-text-mut: #6f6f7d;
  --dj-accent: #f7c948;        /* 品牌黄 */
  --dj-accent-2: #ffdf7e;
  --dj-accent-ink: #1a1400;    /* 黄底上的深色字 */
  --dj-danger: #ff5a4d;
  --dj-radius: 12px;
  --dj-radius-sm: 8px;
  --dj-shadow: 0 8px 28px rgba(0,0,0,.45);
  --dj-maxw: 1240px;
  --dj-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body.dj {
  margin: 0;
  background: var(--dj-bg);
  color: var(--dj-text);
  font-family: var(--dj-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.dj a { color: inherit; text-decoration: none; }
.dj img { max-width: 100%; display: block; }
.dj-shell { max-width: var(--dj-maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.dj-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,13,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dj-line);
}
.dj-header-inner {
  max-width: var(--dj-maxw); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 22px;
}
.dj-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.dj-brand img { width: 40px; height: 40px; border-radius: 10px; }
.dj-brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.dj-brand-name b { color: var(--dj-accent); }

.dj-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.dj-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px;
  color: var(--dj-text-dim); font-weight: 600; white-space: nowrap;
  transition: color .15s, background .15s;
}
.dj-nav a:hover { color: var(--dj-text); background: var(--dj-surface); }
.dj-nav a.is-active { color: var(--dj-accent-ink); background: var(--dj-accent); }

.dj-header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.dj-header-cta .dj-btn { padding: 8px 16px; }

@media (max-width: 900px) {
  .dj-header-inner { gap: 12px; flex-wrap: wrap; }
  .dj-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .dj-header-cta { margin-left: auto; }
}

/* ---------- 按钮 ---------- */
.dj-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 15px; cursor: pointer;
}
.dj-btn-primary { background: var(--dj-accent); color: var(--dj-accent-ink); }
.dj-btn-primary:hover { background: var(--dj-accent-2); }
.dj-btn-ghost { background: transparent; color: var(--dj-text); border: 1px solid var(--dj-line); }
.dj-btn-ghost:hover { border-color: var(--dj-text-mut); }

/* ---------- 英雄 banner ---------- */
.dj-hero {
  position: relative; margin: 20px 0 8px; border-radius: 18px; overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  box-shadow: var(--dj-shadow);
}
.dj-hero-bg { position: absolute; inset: 0; z-index: 0; }
.dj-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,7,9,.92) 0%, rgba(7,7,9,.55) 45%, rgba(7,7,9,.15) 100%),
              linear-gradient(0deg, rgba(7,7,9,.9) 0%, rgba(7,7,9,0) 55%);
}
.dj-hero-body { position: relative; z-index: 1; padding: 34px; max-width: 620px; }
.dj-hero-eyebrow { color: var(--dj-accent); font-weight: 800; font-size: 13px; letter-spacing: 2px; }
.dj-hero-title { margin: 8px 0 10px; font-size: 40px; font-weight: 900; line-height: 1.1; }
.dj-hero-desc { color: var(--dj-text-dim); font-size: 15px; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dj-hero-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--dj-text-mut); font-size: 13px; }
.dj-hero-badge { background: var(--dj-surface-2); border: 1px solid var(--dj-line); padding: 3px 9px; border-radius: 6px; color: var(--dj-text-dim); }
@media (max-width: 700px) {
  .dj-hero { min-height: 300px; }
  .dj-hero-title { font-size: 28px; }
  .dj-hero-body { padding: 22px; }
}

/* ---------- 英雄轮播（跑马灯 + 右下角小封面切换） ---------- */
.dj-carousel {
  position: relative; margin: 20px 0 8px; border-radius: 18px; overflow: hidden;
  height: 420px; box-shadow: var(--dj-shadow); background: var(--dj-surface);
}
.dj-carousel-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity .6s ease; z-index: 1;
}
.dj-carousel-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.dj-carousel .dj-hero-bg { position: absolute; inset: 0; z-index: 0; }
.dj-carousel .dj-hero-body { position: relative; z-index: 1; padding: 34px; max-width: 620px; }
.dj-carousel-thumbs {
  position: absolute; right: 22px; bottom: 20px; z-index: 6;
  display: flex; gap: 10px; align-items: flex-end;
}
.dj-carousel-thumb {
  width: 56px; height: 78px; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .55; transition: opacity .15s, border-color .15s, transform .15s;
  background: var(--dj-surface-2); position: relative; flex: none;
}
.dj-carousel-thumb .dj-poster-ph { font-size: 12px; padding: 4px; }
.dj-carousel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dj-carousel-thumb:hover { opacity: .85; }
.dj-carousel-thumb.is-active { opacity: 1; border-color: var(--dj-accent); transform: translateY(-4px); }
@media (max-width: 700px) {
  .dj-carousel { height: 340px; }
  .dj-carousel-thumbs { right: 12px; bottom: 12px; }
  .dj-carousel-thumb { width: 42px; height: 60px; }
}

/* ---------- 区块标题 ---------- */
.dj-section { margin: 30px 0; }
.dj-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dj-section-head::before { content: ""; width: 4px; height: 20px; border-radius: 3px; background: var(--dj-accent); }
.dj-section-title { margin: 0; font-size: 21px; font-weight: 800; }
.dj-section-more { margin-left: auto; color: var(--dj-text-mut); font-size: 14px; }
.dj-section-more:hover { color: var(--dj-accent); }

/* ---------- 大海报竖版卡（复用组件） ---------- */
.dj-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.dj-card { display: block; }
.dj-poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--dj-radius); overflow: hidden;
  background: var(--dj-surface); box-shadow: var(--dj-shadow);
  transition: transform .18s ease;
}
.dj-card:hover .dj-poster { transform: translateY(-4px); }
.dj-poster img { width: 100%; height: 100%; object-fit: cover; }
/* 无图时的占位海报（样张用） */
.dj-poster-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center; font-size: 26px; font-weight: 900; color: #fff;
  letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.dj-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 42%);
}
.dj-badge-rate {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: rgba(0,0,0,.55); color: var(--dj-accent); font-weight: 800; font-size: 13px;
  padding: 2px 8px; border-radius: 6px; backdrop-filter: blur(2px);
}
.dj-badge-tags { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.dj-tag {
  font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 5px; line-height: 1.5;
}
.dj-tag--new { background: var(--dj-danger); color: #fff; }
.dj-tag--orig { background: var(--dj-accent); color: var(--dj-accent-ink); }
.dj-poster-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px 10px;
  color: #e9e9ee; font-size: 12px; font-weight: 600;
}
.dj-card-title {
  margin: 9px 2px 2px; font-size: 15px; font-weight: 700; color: var(--dj-text);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.dj-card-sub { margin: 0 2px; font-size: 12px; color: var(--dj-text-mut);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 640px) {
  .dj-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dj-card-title { font-size: 14px; }
}

/* ---------- 面包屑（分类页/详情页复用） ---------- */
.dj-crumb { display: flex; gap: 8px; align-items: center; color: var(--dj-text-mut); font-size: 14px; padding: 18px 0 6px; }
.dj-crumb a:hover { color: var(--dj-accent); }
.dj-crumb .sep { opacity: .5; }
.dj-crumb .cur { color: var(--dj-text-dim); }

/* ---------- 子分类栏（分类页复用：最新更新/当前热播/独家原创/随机推荐） ---------- */
.dj-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 20px; }
.dj-subtab {
  padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--dj-text-dim); background: var(--dj-surface); border: 1px solid transparent; cursor: pointer;
}
.dj-subtab:hover { color: var(--dj-text); }
.dj-subtab.is-active { color: var(--dj-accent-ink); background: var(--dj-accent); }

/* 分类页介绍段 */
.dj-cat-intro { margin: 6px 0 4px; }
.dj-cat-intro h1 { font-size: 26px; font-weight: 900; margin: 0 0 10px; }
.dj-cat-intro p { color: var(--dj-text-dim); font-size: 14px; max-width: 900px; margin: 0; }

/* ---------- 排行榜头部 + 榜单切换 ---------- */
.dj-rank-head { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(180deg,#17171e,#121218); border: 1px solid var(--dj-line); border-radius: 16px; padding: 24px 26px; margin: 8px 0 22px; }
.dj-rank-head-main { flex: 1; min-width: 0; }
.dj-rank-title-row { display: flex; align-items: center; gap: 12px; }
.dj-rank-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(180deg,#ff8a3c,#e0392b); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.dj-rank-h1 { margin: 0; font-size: 26px; font-weight: 900; }
.dj-rank-meta { color: var(--dj-accent); font-weight: 700; font-size: 13px; margin: 10px 0 8px; }
.dj-rank-intro { color: var(--dj-text-dim); font-size: 13.5px; line-height: 1.7; margin: 0; max-width: 900px; }
.dj-rank-tabs { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
@media (max-width: 760px){ .dj-rank-head{ flex-direction: column; } }

/* ---------- 排行榜列表（行式 + 排名序号） ---------- */
.dj-rank-list { display: grid; gap: 12px; }
.dj-rank-row { display: flex; gap: 18px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--dj-surface); border: 1px solid var(--dj-line); transition: border-color .15s, background .15s; }
.dj-rank-row:hover { border-color: var(--dj-text-mut); background: var(--dj-surface-2); }
.dj-rank-num { flex: none; width: 54px; text-align: center; font-size: 34px; font-weight: 900; font-style: italic; color: var(--dj-text-mut); }
.dj-rank-row.is-top .dj-rank-num { color: var(--dj-accent); text-shadow: 0 0 18px rgba(247,201,72,.35); }
.dj-rank-thumb { flex: none; width: 132px; aspect-ratio: 5 / 6; border-radius: 10px; overflow: hidden; background: var(--dj-bg-2); }
.dj-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dj-rank-body { flex: 1; min-width: 0; }
.dj-rank-name { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--dj-text); }
.dj-rank-tags { color: var(--dj-text-mut); font-size: 13px; margin: 0 0 8px; }
.dj-rank-tags .rate { color: var(--dj-accent); font-weight: 800; }
.dj-rank-desc { color: var(--dj-text-dim); font-size: 13px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dj-rank-side { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dj-rank-badge { background: var(--dj-accent); color: var(--dj-accent-ink); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.dj-rank-views { color: var(--dj-text-mut); font-size: 12px; }
@media (max-width: 640px){
  .dj-rank-thumb { width: 92px; }
  .dj-rank-num { width: 36px; font-size: 24px; }
  .dj-rank-desc { display: none; }
  .dj-rank-side { display: none; }
}

/* ---------- 主题大赛：一张大横版封面卡 ---------- */
.dj-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dj-theme-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--dj-surface); box-shadow: var(--dj-shadow); }
.dj-theme-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.dj-theme-card:hover img { transform: scale(1.04); }
.dj-theme-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%); }
.dj-theme-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.dj-theme-count { color: var(--dj-accent); font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.dj-theme-name { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,.6); }

/* ---------- 吃瓜大赛：三联封面 + 横向卡片 ---------- */
.dj-melon-list { display: grid; gap: 16px; }
.dj-melon-card {
  display: flex; gap: 18px; background: var(--dj-surface); border: 1px solid var(--dj-line);
  border-radius: 14px; padding: 14px; transition: border-color .15s, background .15s;
}
.dj-melon-card:hover { border-color: var(--dj-text-mut); background: var(--dj-surface-2); }
/* 三联封面：左 1 竖版（跨两行）+ 右 2 横版（上下） */
.dj-melon-cover {
  flex: none; width: 340px; aspect-ratio: 16 / 9; display: grid;
  grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px;
  border-radius: 10px; overflow: hidden; background: var(--dj-bg-2);
}
.dj-melon-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-melon-cover .dj-mc-portrait { grid-row: 1 / 3; }
.dj-melon-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dj-melon-author { color: var(--dj-text-mut); font-size: 12.5px; margin: 2px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dj-melon-author .dot { opacity: .5; }
.dj-melon-author .hot { color: var(--dj-accent); font-weight: 700; }
.dj-melon-name { margin: 0 0 8px; font-size: 18px; font-weight: 800; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dj-melon-excerpt { color: var(--dj-text-dim); font-size: 13px; line-height: 1.6; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dj-melon-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--dj-text-mut); font-size: 12.5px; }
.dj-melon-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dj-melon-tag { background: var(--dj-surface-2); border: 1px solid var(--dj-line); color: var(--dj-text-dim); font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.dj-melon-count { color: var(--dj-text-mut); font-size: 13px; }
@media (max-width: 680px){
  .dj-melon-card { flex-direction: column; }
  .dj-melon-cover { width: 100%; }
}

/* ---------- 翻页器（列表页复用） ---------- */
.dj-pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 28px 0 8px; flex-wrap: wrap; }
.dj-pager a, .dj-pager span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  background: var(--dj-surface); color: var(--dj-text-dim); border: 1px solid var(--dj-line);
}
.dj-pager a:hover { color: var(--dj-text); border-color: var(--dj-text-mut); }
.dj-pager .is-active { background: var(--dj-accent); color: var(--dj-accent-ink); border-color: var(--dj-accent); }
.dj-pager .dj-pager-dots { border: 0; background: transparent; }

/* ---------- 播放页 ---------- */
.dj-watch { display: flex; gap: 20px; align-items: flex-start; margin: 12px 0 8px; }
.dj-watch-main { flex: 1; min-width: 0; }
.dj-watch-title { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.dj-player-stage {
  position: relative; background: #000; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center;
}
.dj-player-poster { height: 100%; width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; opacity: .82; }
.dj-player-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #111; font-size: 30px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.5); padding-left: 4px;
}
.dj-player-play:hover { background: #fff; }
.dj-player-wm { position: absolute; z-index: 2; color: rgba(255,255,255,.28); font-weight: 800; font-size: 15px; pointer-events: none; }
.dj-player-wm.tl { top: 18px; left: 22px; }
.dj-player-wm.mid { top: 62%; left: 50%; transform: translateX(-50%); }
.dj-player-hint { position: absolute; bottom: 10px; left: 14px; z-index: 2; color: rgba(255,255,255,.55); font-size: 12px; }

.dj-watch-controls { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.dj-wc-btn {
  flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border-radius: 12px; background: var(--dj-surface); border: 1px solid var(--dj-line);
  color: var(--dj-text-dim); font-weight: 700; font-size: 14px; cursor: pointer;
}
.dj-wc-btn:hover:not(:disabled) { color: var(--dj-text); border-color: var(--dj-text-mut); }
.dj-wc-btn:disabled { opacity: .4; cursor: not-allowed; }
.dj-wc-btn.primary { background: var(--dj-accent); color: var(--dj-accent-ink); border-color: var(--dj-accent); }
.dj-wc-btn.active { color: var(--dj-accent); border-color: rgba(247,201,72,.5); }

.dj-watch-side { flex: none; width: 340px; background: var(--dj-surface); border: 1px solid var(--dj-line); border-radius: 14px; padding: 18px; }
.dj-watch-side-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.dj-watch-side-head h2 { margin: 0; font-size: 17px; font-weight: 800; }
.dj-watch-side-head .cur { margin-left: auto; color: var(--dj-accent); font-size: 12.5px; font-weight: 700; }
.dj-watch-side-sub { color: var(--dj-text-mut); font-size: 12.5px; margin: 0 0 14px; }
@media (max-width: 900px){ .dj-watch { flex-direction: column; } .dj-watch-side { width: 100%; } }

/* ---------- 短剧/漫剧 详情页 ---------- */
.dj-detail-top { display: flex; gap: 26px; background: linear-gradient(180deg,#17171e,#111116); border: 1px solid var(--dj-line); border-radius: 18px; padding: 24px; margin: 8px 0 24px; }
.dj-detail-poster { flex: none; width: 190px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; position: relative; box-shadow: var(--dj-shadow); }
.dj-detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.dj-detail-poster .dj-tag { position: absolute; top: 8px; left: 8px; z-index: 2; }
.dj-detail-poster .foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 6px 8px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }
.dj-detail-info { flex: 1; min-width: 0; }
.dj-detail-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dj-detail-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.dj-detail-author .name { color: var(--dj-text-dim); font-size: 14px; font-weight: 600; }
.dj-detail-follow { border: 1px solid var(--dj-accent); color: var(--dj-accent); background: transparent; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.dj-detail-title { font-size: 32px; font-weight: 900; margin: 0 0 12px; line-height: 1.15; }
.dj-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--dj-text-mut); font-size: 13px; margin-bottom: 18px; }
.dj-detail-meta .rate { color: var(--dj-accent); font-size: 22px; font-weight: 900; }
.dj-detail-syn-h { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.dj-detail-syn { color: var(--dj-text-dim); font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.dj-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.dj-dtag { background: var(--dj-surface-2); border: 1px solid var(--dj-line); color: var(--dj-text-dim); font-size: 12.5px; padding: 3px 12px; border-radius: 999px; }
.dj-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px){ .dj-detail-top { flex-direction: column; } .dj-detail-poster { width: 140px; } .dj-detail-title { font-size: 24px; } }

/* 选集 */
.dj-eps { margin: 24px 0; }
.dj-eps-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.dj-eps-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.dj-eps-head .sub { color: var(--dj-text-mut); font-size: 13px; }
.dj-eps-head .hint { margin-left: auto; color: var(--dj-accent); font-size: 13px; }
.dj-eps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 10px; }
.dj-ep { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 10px; background: var(--dj-surface); border: 1px solid var(--dj-line); color: var(--dj-text-dim); font-weight: 700; font-size: 15px; }
.dj-ep:hover { border-color: var(--dj-text-mut); color: var(--dj-text); }
.dj-ep.is-cur { background: var(--dj-accent); color: var(--dj-accent-ink); border-color: var(--dj-accent); }

/* ---------- 吃瓜文章详情（图文，对齐 旧站 文章详情） ---------- */
.dj-article { max-width: 860px; margin: 0 auto; }
.dj-article-hero h1 { font-size: 28px; font-weight: 900; line-height: 1.3; margin: 8px 0 12px; }
.dj-article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--dj-text-mut); font-size: 13px; margin-bottom: 22px; }
.dj-article-meta .hot { color: var(--dj-accent); font-weight: 700; }
.dj-article-meta .sep { opacity: .5; }
.dj-article-meta .dj-btn { margin-left: auto; padding: 7px 14px; font-size: 13px; }
.dj-article-content { color: var(--dj-text-dim); font-size: 15.5px; line-height: 1.95; }
.dj-article-content p { margin: 0 0 16px; }
.dj-article-content h2 { color: var(--dj-text); font-size: 19px; font-weight: 800; margin: 26px 0 12px; }
.dj-article-content img { width: 100%; border-radius: 12px; margin: 10px 0 18px; }
.dj-article-content figure { margin: 0 0 18px; }
.dj-article-content figcaption { color: var(--dj-text-mut); font-size: 12.5px; text-align: center; margin-top: 6px; }
.dj-article-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--dj-line); color: var(--dj-text-mut); font-size: 12.5px; line-height: 1.85; }
.dj-article-legal a { color: var(--dj-text-dim); text-decoration: underline; }
.dj-article-related { margin-top: 40px; }
.dj-article-related > h2 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }

/* ---------- 回家的路：发布页 + 地址卡 ---------- */
.dj-road-hero { text-align: center; padding: 56px 20px; border-radius: 18px; margin: 8px 0 30px; border: 1px solid var(--dj-line); background: radial-gradient(120% 120% at 50% 0%, #3a2e0e 0%, #14100a 55%, #0b0b0d 100%); }
.dj-road-badge { display: inline-block; border: 1px solid rgba(247,201,72,.4); color: var(--dj-accent); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.dj-road-logo { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 16px; display: block; }
.dj-road-title { font-size: 30px; font-weight: 900; margin: 0 0 12px; }
.dj-road-sub { color: var(--dj-text-dim); max-width: 640px; margin: 0 auto 24px; line-height: 1.7; }
.dj-road-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.dj-road-block { margin: 28px 0; }
.dj-road-block-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.dj-road-block-head h2 { margin: 0; font-size: 21px; font-weight: 800; }
.dj-road-block-head .tip { color: var(--dj-accent); font-size: 13px; font-weight: 700; }
.dj-road-block-desc { color: var(--dj-text-mut); font-size: 13px; margin: 0 0 16px; }

.dj-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dj-addr-card { background: var(--dj-surface); border: 1px solid var(--dj-line); border-radius: 14px; padding: 18px 20px; }
.dj-addr-head { display: flex; justify-content: space-between; align-items: center; color: var(--dj-text-mut); font-size: 13px; margin-bottom: 12px; }
.dj-addr-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.dj-addr-status.fast { color: #38d98a; }
.dj-addr-status.ok { color: var(--dj-accent); }
.dj-addr-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dj-addr-url { font-size: 20px; font-weight: 800; color: var(--dj-text); margin-bottom: 16px; word-break: break-all; }
.dj-addr-actions { display: flex; gap: 10px; }
.dj-addr-actions .dj-btn { padding: 9px 16px; font-size: 14px; }

.dj-perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
.dj-perm-row { display: flex; align-items: center; gap: 12px; background: var(--dj-surface); border: 1px solid var(--dj-line); border-radius: 12px; padding: 14px 18px; }
.dj-perm-label { color: var(--dj-text-mut); font-size: 13px; flex: none; }
.dj-perm-url { font-size: 17px; font-weight: 800; word-break: break-all; }
.dj-perm-row .dj-btn { margin-left: auto; padding: 8px 14px; font-size: 13px; white-space: nowrap; }
@media (max-width: 520px){ .dj-perm-row { flex-wrap: wrap; } .dj-perm-row .dj-btn { margin-left: 0; } }

/* ---------- 页脚 ---------- */
.dj-footer { margin-top: 48px; border-top: 1px solid var(--dj-line); background: var(--dj-bg-2); }
.dj-footer-inner { max-width: var(--dj-maxw); margin: 0 auto; padding: 28px 20px; color: var(--dj-text-mut); font-size: 13px; }
.dj-footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.dj-footer-links a:hover { color: var(--dj-accent); }
.dj-footer-legal { line-height: 1.8; }
.dj-rta { color: var(--dj-danger); font-weight: 700; }

/* ---------- 18+ age-gate（与 旧站 一致：首访弹窗 + 30 天 cookie + 锁滚动，确认后解锁） ---------- */
.dj-agegate {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(26,15,10,.72), rgba(3,3,5,.9));
  padding: 20px; backdrop-filter: blur(10px); overflow-y: auto;
}
.dj-agegate-box {
  background: linear-gradient(180deg, #20202b 0%, #14141a 100%);
  border: 1px solid rgba(247,201,72,.30);
  border-radius: 22px;
  padding: 30px 30px 26px; max-width: 460px; width: 100%; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.72), 0 0 60px rgba(247,201,72,.07);
}
.dj-agegate-logo { width: 54px; height: 54px; border-radius: 14px; margin: 0 auto 14px; display: block; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.dj-agegate-warn {
  display: inline-block; background: linear-gradient(180deg, #ff6a5a, #e0392b); color: #fff;
  font-weight: 900; font-size: 15px; padding: 5px 16px; border-radius: 999px; letter-spacing: 1px;
  margin-bottom: 14px; box-shadow: 0 6px 18px rgba(224,57,43,.4);
}
.dj-agegate-box h2 { margin: 0 0 8px; font-size: 23px; font-weight: 900; color: #fff; letter-spacing: .5px; }
.dj-agegate-lead { color: var(--dj-text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.dj-agegate-points {
  list-style: none; padding: 16px 18px; margin: 0 0 22px; text-align: left; display: grid; gap: 11px;
  background: rgba(255,255,255,.035); border: 1px solid var(--dj-line); border-radius: 14px;
}
.dj-agegate-points li { display: flex; gap: 10px; align-items: flex-start; color: #cfcfd8; font-size: 13.5px; line-height: 1.55; }
.dj-agegate-points .dj-chk { color: var(--dj-accent); font-weight: 900; flex: none; margin-top: 1px; }
.dj-agegate-points strong { color: var(--dj-accent); font-weight: 800; }
.dj-agegate-actions { display: flex; flex-direction: column; gap: 10px; }
.dj-agegate-actions .dj-btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
.dj-agegate-actions .dj-btn-primary { box-shadow: 0 8px 24px rgba(247,201,72,.28); }
.dj-agegate-actions .dj-btn-ghost { border-color: rgba(255,255,255,.16); color: var(--dj-text-dim); }
.dj-agegate-actions .dj-btn-ghost:hover { border-color: rgba(255,255,255,.3); color: var(--dj-text); }
.dj-agegate-foot { color: var(--dj-text-mut); font-size: 12px; line-height: 1.7; margin: 18px 0 0; }
.dj-agegate-foot a { color: var(--dj-text-dim); text-decoration: underline; }
.dj-agegate-foot a:hover { color: var(--dj-accent); }
