/* ==========================================================================
   VCD7 Tokyo Minimalist Cinema - Category & List Design System
   Version: 2026.10.CategoryFix
   ========================================================================== */

.vcd7-category-wide-page {
  padding-top: 24px;
}

/* ==========================================================================
   Secondary Category Filter Board
   ========================================================================== */
.pc-subcat-box {
  margin: 0 0 22px;
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.20));
  background: rgba(18, 20, 26, 0.78);
  backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pc-subcat-box:hover {
  border-color: rgba(223, 196, 127, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.pc-subcat-head {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-subcat-head strong {
  display: block;
  color: var(--gold-bright, #f5dc98);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pc-subcat-head span {
  display: block;
  color: var(--text-muted, #8c8577);
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-top: 2px;
  text-transform: uppercase;
}

.pc-subcat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: rgba(223, 196, 127, 0.08);
  border: 1px solid rgba(223, 196, 127, 0.20);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.pc-subcat-grid {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.pc-subcat-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.028);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(223, 196, 127, 0.16);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.pc-subcat-grid a:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(223, 196, 127, 0.14);
  box-shadow: 0 2px 10px rgba(223, 196, 127, 0.18);
  transform: translateY(-1px);
}

.pc-subcat-grid a.active {
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(223, 196, 127, 0.35);
}

.pc-subcat-grid a.pc-subcat-special {
  border-color: rgba(223, 196, 127, 0.35);
  background: rgba(223, 196, 127, 0.08);
  color: var(--gold-bright);
}

.pc-subcat-grid a.pc-subcat-special:hover {
  background: rgba(223, 196, 127, 0.20);
  border-color: var(--gold-bright);
}

/* ==========================================================================
   Sort Toolbar
   ========================================================================== */
.pc-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 20px;
  background: rgba(18, 20, 26, 0.60);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
}

.pc-sortbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pc-sortbar-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.pc-sortbar-title strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.pc-sortbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-sortbar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pc-sortbar-actions a:hover {
  color: var(--text-main);
  border-color: var(--gold-border);
  background: rgba(223, 196, 127, 0.08);
}

.pc-sortbar-actions a.active {
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(223, 196, 127, 0.30);
}

/* ==========================================================================
   Video Shelf & Universal 16:9 Grid
   ========================================================================== */
.vcd-cat-shelf {
  padding: 0 0 40px;
}

.vod-grid, .pc-vod-grid, .pc-wide-vod-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.vod-card, .pc-wide-vod-card {
  display: block !important;
  background: linear-gradient(145deg, rgba(18, 18, 18, .96), rgba(25, 12, 9, .72)) !important;
  border: 1px solid rgba(212, 175, 112, .15) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.vod-card:hover, .pc-wide-vod-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(212, 175, 112, .45) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .40) !important;
}

.vod-pic, .pc-wide-vod-pic, .pc-board-latest-pic, .related-list .vod-pic, .search-list .vod-pic, .rank-list .vod-pic, .video-list .vod-pic, .vod-list .vod-pic, .pc-vod-grid .vod-pic {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #0d0d0d !important;
}

.vod-pic img, .pc-wide-vod-pic img, .pc-board-latest-pic img, .related-list .vod-pic img, .search-list .vod-pic img, .rank-list .vod-pic img, .video-list .vod-pic img, .vod-list .vod-pic img, .pc-vod-grid .vod-pic img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: 16 / 9 !important;
  transform: none !important;
  transition: transform .3s ease !important;
}

.vod-card:hover .vod-pic img, .pc-wide-vod-card:hover .pc-wide-vod-pic img {
  transform: scale(1.04) !important;
}

/* ==========================================================================
   Channel Board Section Grid (Fallback if used)
   ========================================================================== */
.pc-board-latest {
  margin-top: 36px;
}

.pc-board-latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.pc-board-latest-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-board-latest-title em {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  font-style: normal;
}

.pc-board-latest-title h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-bright);
}

.pc-board-latest-title p {
  font-size: 12px;
  color: var(--text-muted);
}

.pc-board-more {
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
}

.pc-board-latest-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.pc-board-latest-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  transition: all 0.2s ease;
}

.pc-board-latest-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.pc-board-latest-info {
  padding: 10px 12px;
}

.pc-board-latest-info h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   Search Page - Actress Spotlight Banner
   ========================================================================== */
.vcd7-search-actress-banner {
  background: linear-gradient(135deg, rgba(223, 196, 127, 0.12) 0%, rgba(20, 18, 22, 0.85) 100%);
  border: 1px solid rgba(223, 196, 127, 0.30);
  border-radius: var(--radius-md, 12px);
  padding: 20px 24px;
  margin: 20px 0 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vcd7-search-actress-avatar {
  flex-shrink: 0;
}

.vcd7-search-actress-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold, #dfc47f);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.vcd7-search-actress-meta {
  flex-grow: 1;
  min-width: 0;
}

.vcd7-search-actress-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.vcd7-search-actress-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.vcd7-search-actress-tag {
  background: rgba(223, 196, 127, 0.20);
  color: var(--gold, #dfc47f);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(223, 196, 127, 0.40);
  font-weight: 600;
}

.vcd7-search-actress-remarks {
  color: #888;
  font-size: 0.85rem;
}

.vcd7-search-actress-desc {
  color: #aaa;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
  max-width: 800px;
}

.vcd7-search-actress-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #dfc47f, #c7a452);
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(223, 196, 127, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vcd7-search-actress-btn:hover {
  background: linear-gradient(135deg, #f5dc98, #dfc47f);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(223, 196, 127, 0.45);
}

/* ==========================================================================
   Search Page - Empty State
   ========================================================================== */
.vcd-search-empty-box {
  text-align: center;
  padding: 48px 24px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--gold-border, rgba(223, 196, 127, 0.25));
  border-radius: var(--radius-lg, 18px);
  margin: 16px 0 28px;
}

.vcd-empty-icon {
  color: var(--gold-warm, #c9a858);
  margin-bottom: 16px;
  display: inline-flex;
}

.vcd-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main, #f5f2eb);
  margin-bottom: 10px;
}

.vcd-empty-kw {
  color: var(--gold-bright, #f5dc98);
}

.vcd-empty-desc {
  font-size: 14px;
  color: var(--text-muted, #8c8577);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.vcd-empty-hot-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vcd-hot-label {
  font-size: 13px;
  color: var(--gold-muted, rgba(223, 196, 127, 0.65));
  font-weight: 500;
}

.vcd-empty-hot-tags a {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-sub, #c8c0b0);
  background: rgba(223, 196, 127, 0.08);
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.20));
  border-radius: var(--radius-pill, 9999px);
  transition: all 0.2s ease;
  text-decoration: none;
}

.vcd-empty-hot-tags a:hover {
  color: var(--text-dark, #0a0b0e);
  background: linear-gradient(135deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%);
  border-color: var(--gold-bright, #f5dc98);
  box-shadow: 0 4px 12px rgba(223, 196, 127, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1280px) {
  .vod-grid, .pc-vod-grid, .pc-wide-vod-grid, .pc-board-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .vod-grid, .pc-vod-grid, .pc-wide-vod-grid, .pc-board-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .pc-sortbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .vcd7-search-actress-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
}