/* Homepage category variants follow the supplied demo. */
.jgdj-home .bottom-app-copy h2 { font-weight: 700; }
.jgdj-home .home-category .category-normal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-collection-rows { display: grid; gap: 32px; }
.home-category .editorial-copy { min-width: 0; }
.home-category .editorial-copy h3, .home-category .editorial-copy small { overflow-wrap: anywhere; }
.home-category .editorial-copy > p { overflow-wrap: anywhere; max-width: 100%; }
.home-category .category-more { margin-top: 36px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); font-size: 11px; }
.home-category .category-more span { margin-left: 14px; }
.category-playlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.category-playlist-card { display: grid; grid-template-columns: 43% minmax(0, 1fr); gap: 16px; padding: 14px; background: #20271f; border: 1px solid #ffffff08; border-radius: 8px; min-width: 0; align-items: center; }
.category-playlist-card:nth-child(2) { background: #26221e; }
.category-playlist-card:nth-child(3), .category-playlist-card:nth-child(6) { background: #261f22; }
.category-playlist-card:nth-child(4) { background: #211f24; }
.category-playlist-card:nth-child(5) { background: #1e2226; }
.category-playlist-card .media { display: block; position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 640 / 914; }
.category-playlist-copy { min-width: 0; }
.category-playlist-copy .pick { display: block; font-size: 10px; color: #a9aca4; letter-spacing: 2px; margin-bottom: 18px; }
.category-playlist-copy h3 { font: 500 20px/1.5 "Songti SC", "STSong", serif; margin: 0 0 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.category-playlist-copy .drama-description { -webkit-line-clamp: 2; white-space: normal; }
.category-playlist-copy .drama-meta { flex-wrap: wrap; gap: 4px; }
.category-playlist-copy .watch-link { display: inline-flex; align-items: center; gap: 16px; border: 1px solid #ffffff20; padding: 9px 12px; margin-top: 16px; font-size: 11px; }
.category-playlist-card:hover .watch-link { color: var(--accent); border-color: var(--accent); }
.jgdj-home .category-playlist-card:hover .category-playlist-copy h3 { color: var(--text); }
.category-empty { color: #a9aca4; padding: 20px 0; }
@media (max-width: 1180px) and (min-width: 761px) {
  .category-playlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jgdj-home .home-category .category-normal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .jgdj-home .home-category .category-normal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-playlist { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .category-playlist-card { grid-template-columns: 40% minmax(0, 1fr); padding: 12px; gap: 14px; }
  .category-playlist-copy h3 { font-size: 20px; }
  .category-collection-rows { gap: 24px; }
  .home-category .editorial-copy .editorial-no { font-size: 44px; }
}

/* Configured home banner placements retain the demo two-column ad layout. */
.jgdj-home .home-content>.topic-banner-ads {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;min-width:0}
.jgdj-home .topic-banner-ads a {display:block;min-width:0;aspect-ratio:766/94;border-radius:10px;overflow:hidden}
.jgdj-home .topic-banner-ads img {display:block;width:100%;height:100%;object-fit:fill}
@media(max-width:760px){.jgdj-home .home-content>.topic-banner-ads{grid-template-columns:minmax(0,1fr);gap:12px}}

.jgdj-home .drama-heat {display:inline-flex;align-items:center;gap:3px}
.jgdj-home .drama-heat img {width:12px;height:12px;flex:0 0 12px;object-fit:contain}
@media(max-width:760px){.jgdj-home .bottom-app-download{font-size:18px}}

@media(max-width:1000px){.home-category .editorial-copy h3{font-size:36px}}
@media(max-width:760px){.home-category .editorial-copy h3{font-size:24px}.home-category .editorial-copy{padding:4px 0}}

@media(max-width:760px){.jgdj-home .drama-heat img{width:10px;height:10px;flex-basis:10px}}
