/* ========== 51短剧 · 设计令牌 ========== */
:root {
  --dj-bg0: #0B111A;
  --dj-bg1: #0F172A;
  --dj-bg2: #141C2B;
  --dj-bg3: #1A2436;
  --dj-card: rgba(18, 26, 40, 0.92);
  --dj-line: rgba(255, 255, 255, 0.08);
  --dj-line-strong: rgba(46, 229, 109, 0.55);
  --dj-text: #FFFFFF;
  --dj-muted: #9AA4B2;
  --dj-muted2: #6B7585;
  --dj-accent: #2EE56D;
  --dj-accent-hover: #4AF085;
  --dj-accent-dim: rgba(46, 229, 109, 0.14);
  --dj-accent-ink: #052014;
  --dj-danger: #FF5A6A;
  --dj-radius: 14px;
  --dj-radius-sm: 10px;
  --dj-radius-xs: 8px;
  --dj-btn-radius: 999px;
  --dj-header-h: 64px;
  --dj-max: 1280px;
  --dj-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --dj-glow-a: rgba(46, 229, 109, 0.08);
  --dj-glow-b: rgba(56, 120, 255, 0.08);
  --dj-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 84px;
  font-family: var(--dj-font);
  color: var(--dj-text);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--dj-glow-a), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, var(--dj-glow-b), transparent 50%),
    linear-gradient(165deg, var(--dj-bg0) 0%, var(--dj-bg1) 48%, var(--dj-bg2) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--dj-accent); }
img { max-width: 100%; display: block; border: 0; }
button, input { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.dj-container {
  width: min(100% - 32px, var(--dj-max));
  margin: 0 auto;
}

.dj-main {
  padding: calc(var(--dj-header-h) + 18px) 0 28px;
}

.dj-card {
  background: var(--dj-card);
  border: 1px solid var(--dj-line);
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow);
  overflow: hidden;
}

.dj-muted { color: var(--dj-muted); }
.dj-hide { display: none !important; }

/* ========== Header ========== */
.dj-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--dj-header-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 17, 26, 0.82);
  border-bottom: 1px solid var(--dj-line);
}

.dj-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.dj-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.dj-logo__num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1;
}
.dj-logo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--dj-accent);
  color: #062014;
  font-size: 12px;
  font-weight: 800;
}

.dj-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dj-nav::-webkit-scrollbar { display: none; }
.dj-nav__item {
  position: relative;
  flex-shrink: 0;
  padding: 8px 12px;
  color: var(--dj-muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}
.dj-nav__item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.dj-nav__item.is-active { color: #fff; }
.dj-nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dj-accent);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(46, 229, 109, 0.8);
}

.dj-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.dj-search {
  display: flex;
  align-items: center;
  width: min(280px, 28vw);
  height: 38px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dj-line);
}
.dj-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}
.dj-search__input::placeholder { color: var(--dj-muted2); }
.dj-search__btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dj-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dj-search__btn:hover { color: var(--dj-accent); }

.dj-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  border-radius: 999px;
  color: var(--dj-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.dj-tool:hover { color: #fff; }
.dj-tool--plus {
  width: 36px;
  height: 36px;
  background: var(--dj-accent);
  color: #062014;
  font-weight: 800;
}
.dj-tool--plus:hover { color: #062014; background: var(--dj-accent-hover); }
.dj-tool--icon {
  width: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dj-line);
}
.dj-tool--app {
  padding: 0 12px 0 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dj-line);
}
.dj-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(46, 229, 109, 0.35);
  background: var(--dj-bg3);
}
.dj-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dj-menu-toggle,
.dj-search-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dj-line);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ========== Tip bar ========== */
.dj-tipbar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--dj-radius-sm);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--dj-line);
  color: var(--dj-muted);
  font-size: 13px;
  line-height: 1.45;
}
.dj-tipbar__ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dj-accent);
  box-shadow: 0 0 10px rgba(46, 229, 109, 0.55);
  position: relative;
}
.dj-tipbar__ico::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #062014;
  opacity: .35;
}

/* ========== Hero ========== */
.dj-hero {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--dj-radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--dj-line);
  box-shadow: var(--dj-shadow);
  background: #0A1018;
}
.dj-hero--art { min-height: 520px; }
.dj-hero__slide { display: none; position: relative; min-height: inherit; }
.dj-hero__slide.is-active { display: block; }
.dj-hero__body--art {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}
.dj-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.dj-hero__content {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.08);
  max-height: 220px;
  overflow: auto;
}
.dj-hero__content-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--dj-accent);
  margin-bottom: 8px;
}
.dj-hero__content-body {
  color: #C9D3E0;
  font-size: 13px;
  line-height: 1.75;
  word-break: break-word;
}
.dj-hero__content-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0;
}
.dj-hero__content-body p { margin: 0 0 .75em; }
.dj-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
}
.dj-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}
.dj-hero__dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--dj-accent);
}

.dj-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .6s ease;
}
.dj-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,12,20,0.96) 0%, rgba(8,12,20,0.78) 38%, rgba(8,12,20,0.28) 68%, rgba(8,12,20,0.55) 100%),
    linear-gradient(0deg, rgba(8,12,20,0.88) 0%, transparent 42%);
}

.dj-hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  min-height: 420px;
  padding: 36px 36px 28px;
}

.dj-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--dj-accent-dim);
  border: 1px solid rgba(46, 229, 109, 0.35);
  color: var(--dj-accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.dj-hero__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dj-accent);
  box-shadow: 0 0 8px var(--dj-accent);
}

.dj-hero__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 860;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}

.dj-hero__desc {
  max-width: 520px;
  color: var(--dj-muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.dj-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dj-line);
  color: var(--dj-muted);
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.dj-chip--accent {
  color: var(--dj-accent);
  border-color: rgba(46, 229, 109, 0.35);
  background: var(--dj-accent-dim);
}

.dj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.dj-btn:active { transform: scale(0.98); }
.dj-btn--play {
  margin-top: 18px;
  background: var(--dj-accent);
  color: #052014;
  box-shadow: 0 10px 28px rgba(46, 229, 109, 0.28);
}
.dj-btn--play:hover {
  background: var(--dj-accent-hover);
  color: #052014;
}
.dj-detail__actions .dj-btn--play,
.dj-player-meta .dj-btn--play { margin-top: 0; }
.dj-btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dj-line);
  color: #fff;
}
.dj-btn--ghost:hover { border-color: var(--dj-line-strong); color: var(--dj-accent); }
.dj-btn--app {
  background: linear-gradient(135deg, #1BE068 0%, #0BC45A 100%);
  color: #042012;
  box-shadow: 0 8px 22px rgba(46, 229, 109, 0.35);
  border: 1px solid rgba(255,255,255,0.18);
}
.dj-btn--app:hover {
  color: #042012;
  background: linear-gradient(135deg, #3EF087 0%, #18D468 100%);
}
.dj-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* ========== App download CTA ========== */
.dj-app-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background:
    radial-gradient(420px 120px at 0% 50%, rgba(46,229,109,.28), transparent 60%),
    linear-gradient(90deg, #12261A 0%, #16301F 45%, #102018 100%);
  border: 1px solid rgba(46, 229, 109, 0.45);
  box-shadow: 0 10px 28px rgba(46, 229, 109, 0.16), inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.dj-app-cta:hover {
  color: inherit;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(46, 229, 109, 0.24), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.dj-app-cta__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 229, 109, 0.18);
  color: var(--dj-accent);
  border: 1px solid rgba(46, 229, 109, 0.35);
}
.dj-app-cta__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dj-app-cta__text strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.dj-app-cta__text em {
  font-style: normal;
  font-size: 12px;
  color: #A7F3C4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dj-app-cta__btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dj-accent);
  color: #052014;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(46, 229, 109, 0.35);
}

.dj-app-float {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1200;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  animation: djAppFloatIn .35s ease both;
}
@keyframes djAppFloatIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.dj-app-float.is-hidden { display: none; }
.dj-app-float__inner {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px 0 0 16px;
  background:
    radial-gradient(280px 90px at 10% 50%, rgba(46,229,109,.35), transparent 65%),
    linear-gradient(90deg, #0E1A14 0%, #12301F 55%, #0D2218 100%);
  border: 1px solid rgba(46, 229, 109, 0.5);
  border-right: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 24px rgba(46,229,109,.18);
}
.dj-app-float__inner:hover { color: inherit; }
.dj-app-float__badge {
  flex-shrink: 0;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--dj-accent);
  color: #052014;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
}
.dj-app-float__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dj-app-float__copy strong {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dj-app-float__copy em {
  font-style: normal;
  font-size: 12px;
  color: #A7F3C4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dj-app-float__action {
  flex-shrink: 0;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #052014;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.dj-app-float__close {
  width: 42px;
  border: 1px solid rgba(46, 229, 109, 0.5);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: #10261A;
  color: #A7F3C4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.dj-app-float__close:hover { color: #fff; background: #163525; }

.dj-hero__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 280px;
}
.dj-hero__poster {
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  position: relative;
  background: #111;
}
.dj-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dj-hero__poster-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 6px 18px rgba(0,0,0,.75);
  letter-spacing: 1px;
}
.dj-hero__stickers {
  position: absolute;
  top: 18px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}
.dj-sticker {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ========== Recommend strip ========== */
.dj-rail {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--dj-radius);
  background: rgba(12, 18, 30, 0.75);
  border: 1px solid var(--dj-line);
}
.dj-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dj-rail__title {
  font-size: 16px;
  font-weight: 800;
}
.dj-rail__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(46,229,109,.35) transparent;
}
.dj-rail__track::-webkit-scrollbar { height: 6px; }
.dj-rail__track::-webkit-scrollbar-thumb {
  background: rgba(46,229,109,.35);
  border-radius: 999px;
}

.dj-thumb {
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 140px;
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--dj-bg3);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.dj-thumb:hover { transform: translateY(-2px); }
.dj-thumb.is-active {
  border-color: var(--dj-accent);
  box-shadow: 0 0 0 1px rgba(46, 229, 109, 0.25), 0 10px 24px rgba(46, 229, 109, 0.12);
}
.dj-thumb__cover {
  aspect-ratio: 16 / 10;
  background: #101826;
  overflow: hidden;
}
.dj-thumb__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dj-thumb__name {
  padding: 8px 10px 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Sections / grids ========== */
.dj-section {
  margin-top: 22px;
}
.dj-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.dj-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}
.dj-section__title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: var(--dj-accent);
  box-shadow: 0 0 10px rgba(46,229,109,.6);
}
.dj-section__more {
  color: var(--dj-muted);
  font-size: 13px;
}
.dj-section__more:hover { color: var(--dj-accent); }

.dj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.dj-vcard {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(18, 26, 40, 0.9);
  border: 1px solid var(--dj-line);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dj-vcard:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 229, 109, 0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.dj-vcard__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #121926;
  overflow: hidden;
}
.dj-vcard__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.dj-vcard:hover .dj-vcard__cover img { transform: scale(1.05); }
.dj-vcard__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  color: #fff;
}
.dj-vcard__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.28);
  opacity: 0;
  transition: opacity .2s;
}
.dj-vcard:hover .dj-vcard__play { opacity: 1; }
.dj-vcard__play span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dj-accent);
  color: #052014;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(46,229,109,.35);
}
.dj-vcard__meta { padding: 10px 10px 12px; }
.dj-vcard__name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dj-vcard__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--dj-muted2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Detail ========== */
.dj-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px;
}
.dj-detail__cover {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #121926;
  border: 1px solid var(--dj-line);
}
.dj-detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-detail__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 860;
  margin-bottom: 10px;
}
.dj-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--dj-muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.dj-detail__blurb {
  color: var(--dj-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 760px;
}
.dj-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.dj-playlist {
  margin-top: 18px;
  padding: 18px;
}
.dj-playlist__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.dj-tab {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--dj-line);
  background: transparent;
  color: var(--dj-muted);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.dj-tab.is-active,
.dj-tab:hover {
  color: #052014;
  background: var(--dj-accent);
  border-color: var(--dj-accent);
}
.dj-ep-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dj-ep {
  min-width: 72px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--dj-line);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dj-ep:hover,
.dj-ep.is-active {
  border-color: var(--dj-accent);
  color: var(--dj-accent);
  background: var(--dj-accent-dim);
}

/* ========== Play ========== */
.dj-play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}
.dj-player-wrap {
  background: #000;
  border-radius: var(--dj-radius);
  overflow: hidden;
  border: 1px solid var(--dj-line);
  box-shadow: var(--dj-shadow);
}
.dj-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.dj-player-box iframe,
.dj-player-box video,
.dj-player-box .MacPlayer,
.dj-player-box > div {
  width: 100% !important;
  height: 100% !important;
}
.dj-player-meta {
  padding: 14px 16px;
  background: rgba(12,18,30,0.95);
  border-top: 1px solid var(--dj-line);
}
.dj-player-meta h1 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.dj-side-panel {
  padding: 14px;
  max-height: calc(56.25vw * 0.7 + 120px);
  overflow: auto;
}
.dj-side-panel h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ========== Art detail ========== */
.dj-art {
  padding: 28px clamp(18px, 4vw, 48px);
}
.dj-art__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 860;
  margin-bottom: 12px;
}
.dj-art__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--dj-muted);
  font-size: 13px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dj-line);
}
.dj-art__cover {
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  max-height: 420px;
  border: 1px solid var(--dj-line);
}
.dj-art__cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.dj-art__content {
  color: #D7DEE8;
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}
.dj-art__content img {
  margin: 12px auto;
  border-radius: 10px;
}
.dj-art__content p { margin: 0 0 1em; }

/* ========== Search / list helpers ========== */
.dj-page-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.dj-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--dj-muted);
}
.dj-paging {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.dj-paging a,
.dj-paging span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--dj-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dj-muted);
  font-size: 13px;
  background: rgba(255,255,255,0.03);
}
.dj-paging .page-num,
.dj-paging span.current,
.dj-paging a.active,
.dj-paging .active {
  color: #052014;
  background: var(--dj-accent);
  border-color: var(--dj-accent);
  font-weight: 800;
}

.dj-rank-no {
  font-weight: 860;
  font-size: 18px;
  color: var(--dj-muted2);
  text-align: center;
}
.dj-rank-no.is-top { color: var(--dj-accent); }

/* ========== Home SEO: FAQ + Reviews ========== */
.dj-seo__intro {
  padding: 20px 22px;
  line-height: 1.8;
  color: #D5DCE6;
  font-size: 14px;
}
.dj-seo__intro p + p { margin-top: 12px; }
.dj-seo__intro strong { color: #fff; }
.dj-seo__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dj-seo__note {
  margin-top: 12px;
  color: var(--dj-muted2);
  font-size: 12px;
}

.dj-faq {
  padding: 6px 0;
}
.dj-faq__item {
  border-bottom: 1px solid var(--dj-line);
  padding: 0 18px;
}
.dj-faq__item:last-child { border-bottom: 0; }
.dj-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-size: 15px;
  font-weight: 750;
  color: #fff;
  position: relative;
}
.dj-faq__item summary::-webkit-details-marker { display: none; }
.dj-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(46,229,109,.4);
  color: var(--dj-accent);
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}
.dj-faq__item[open] summary::after { content: "–"; }
.dj-faq__a {
  padding: 0 0 16px;
  color: var(--dj-muted);
  font-size: 14px;
  line-height: 1.75;
}

.dj-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dj-review {
  padding: 16px;
}
.dj-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dj-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dj-accent-dim);
  border: 1px solid rgba(46,229,109,.35);
  color: var(--dj-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.dj-review__user {
  display: block;
  font-size: 14px;
}
.dj-review__score {
  font-size: 12px;
  color: var(--dj-accent);
  margin-top: 2px;
}
.dj-review__text {
  color: #C9D2DE;
  font-size: 13px;
  line-height: 1.7;
}

.dj-links {
  margin-top: 18px;
  padding: 18px 0 8px;
  border-top: 1px solid var(--dj-line);
}
.dj-links__head { margin-bottom: 12px; }
.dj-links__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--dj-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dj-links__title::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 3px;
  background: var(--dj-accent);
}
.dj-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.dj-links__item a {
  color: var(--dj-muted);
  font-size: 13px;
}
.dj-links__item a:hover { color: var(--dj-accent); }
.dj-links__logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
  vertical-align: middle;
}

.dj-footer {
  padding: 28px 0 40px;
  color: var(--dj-muted2);
  font-size: 12px;
  text-align: center;
}
.dj-footer a { color: var(--dj-muted); }
.dj-footer a:hover { color: var(--dj-accent); }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .dj-grid { grid-template-columns: repeat(4, 1fr); }
  .dj-thumb { flex-basis: calc((100% - 36px) / 4); }
  .dj-search { width: 200px; }
  .dj-tool--app span { display: none; }
  .dj-tool--app { width: 36px; padding: 0; }
  .dj-play-layout { grid-template-columns: 1fr; }
  .dj-side-panel { max-height: none; }
}

@media (max-width: 860px) {
  .dj-review-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --dj-header-h: 58px; }
  .dj-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .dj-nav-wrap {
    position: fixed;
    top: var(--dj-header-h);
    left: 0; right: 0;
    background: rgba(11,17,26,0.96);
    border-bottom: 1px solid var(--dj-line);
    padding: 8px 12px 12px;
    display: none;
  }
  .dj-nav-wrap.is-open { display: block; }
  .dj-nav { overflow-x: auto; }
  .dj-menu-toggle,
  .dj-search-toggle { display: inline-flex; }
  .dj-search { display: none; }
  .dj-header.is-search .dj-search {
    display: flex;
    position: absolute;
    left: 12px; right: 12px;
    top: calc(100% + 8px);
    width: auto;
    z-index: 20;
    background: #121A28;
  }
  .dj-hero__body,
  .dj-hero__body--art {
    grid-template-columns: 1fr;
    padding: 24px 18px 18px;
    min-height: 360px;
  }
  .dj-hero--art { min-height: 0; }
  .dj-hero__content { max-height: 180px; }
  .dj-hero__art { order: -1; justify-content: center; min-height: auto; }
  .dj-hero__poster { width: min(100%, 260px); aspect-ratio: 3/4; }
  .dj-hero__stickers { left: 12px; }
  .dj-detail { grid-template-columns: 1fr; }
  .dj-detail__cover { width: min(220px, 55%); margin: 0 auto; }
  .dj-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dj-thumb { flex-basis: calc((100% - 24px) / 3); min-width: 110px; }
  .dj-tool--plus, .dj-tool--history { display: none; }
}

@media (max-width: 560px) {
  .dj-grid { grid-template-columns: repeat(2, 1fr); }
  .dj-thumb { flex-basis: calc((100% - 12px) / 2); }
  .dj-tipbar { font-size: 12px; }
  .dj-player-box { aspect-ratio: 16 / 9; }
  .dj-app-cta { padding: 12px; gap: 10px; }
  .dj-app-cta__text em { display: none; }
  .dj-app-cta__btn { padding: 0 12px; }
  .dj-app-float__copy em { display: none; }
  .dj-app-float__action { padding: 0 10px; font-size: 12px; }
  .dj-review-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 76px; }
}
