/* Hallmark: catalog-first, existing routes and brand retained. */
:root {
  --jfh-paper: #111216;
  --jfh-raised: #1b1d23;
  --jfh-line: #353840;
  --jfh-text: #f4f5f7;
  --jfh-muted: #b0b4c0;
  --jfh-accent: #ed4263;
  --jfh-mint: #76d9bf;
  --jfh-black: #090a0d;
  --jfh-font: var(--font-sans);
  --jfh-mono: var(--font-mono);
  --bg-base: var(--jfh-paper);
  --bg-surface: var(--jfh-raised);
  --bg-elevated: var(--jfh-raised);
  --bg-glass: var(--jfh-paper);
  --text-secondary: var(--jfh-muted);
  --text-muted: var(--jfh-muted);
  --neon-gradient: var(--jfh-accent);
}
html, body { overflow-x: clip; letter-spacing: 0; }
.tokyo-bokeh-bg { pointer-events: none; }
.content-container { max-width: 1440px; margin-inline: auto; width: 100%; }
.jfh-intro { padding: 28px 0 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.jfh-intro h1 { font: 700 30px/1.25 var(--jfh-font); color: var(--jfh-text); }
.jfh-intro p { font: 400 14px/1.6 var(--jfh-font); color: var(--jfh-muted); }
/* Hero Stage Framed Design */
.hero-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(135deg, rgba(18, 16, 32, 0.85) 0%, rgba(11, 10, 20, 0.92) 100%) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  margin-bottom: 30px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-stage:hover {
  border-color: rgba(237, 60, 136, 0.35) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 24px rgba(237, 60, 136, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}
.hero-backdrop {
  display: block !important;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(24px) saturate(1.2);
  transform: scale(1.08);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 360px) !important;
  gap: 28px !important;
  padding: 28px 32px !important;
  align-items: center;
  background: linear-gradient(90deg, rgba(7, 6, 15, 0.9) 0%, rgba(14, 11, 28, 0.62) 58%, rgba(7, 6, 15, 0.3) 100%) !important;
}
.hero-preview-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65) !important;
  background: #090a0d;
}
.hero-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}
.hero-headline {
  font-size: 22px !important;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
  margin: 10px 0 14px;
  overflow-wrap: anywhere;
}
.btn-play-hero {
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(237, 60, 136, 0.45) !important;
}
.hero-specs { flex-wrap: wrap; gap: 8px 16px; }
.section-tag { color: var(--jfh-muted); }
.jfh-category-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0 0 24px; border-bottom: 1px solid var(--jfh-line); }
.jfh-category-links a { color: var(--jfh-muted); font: 500 14px/1.6 var(--jfh-font); text-decoration: none; white-space: nowrap; }
.jfh-category-links a:hover { color: var(--jfh-text); }
.jfh-section { padding: 26px 0 10px; scroll-margin-top: 90px; }
.jfh-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.jfh-section-header h2 { color: var(--jfh-text); font: 600 21px/1.4 var(--jfh-font); min-width: 0; overflow-wrap: anywhere; }
.jfh-section-count { color: var(--jfh-muted); font: 400 13px/1.5 var(--jfh-font); white-space: nowrap; }
.jfh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 20px; }
.jfh-movie { display: block; min-width: 0; text-decoration: none; color: var(--jfh-text); }
.jfh-movie-media { position: relative; aspect-ratio: 16/10; background: var(--jfh-black); border-radius: 6px; overflow: hidden; border: 1px solid var(--jfh-line); }
.jfh-movie-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jfh-rank, .jfh-duration { position: absolute; background: var(--jfh-black); color: var(--jfh-text); border-radius: 3px; font: 500 12px/1.5 var(--jfh-mono); padding: 3px 6px; }
.jfh-rank { top: 8px; left: 8px; }
.jfh-duration { right: 8px; bottom: 8px; }
.jfh-movie-line { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.jfh-code { color: var(--jfh-mint); font: 500 13px/1.6 var(--jfh-mono); overflow-wrap: anywhere; min-width: 0; }
.jfh-quality { color: var(--jfh-muted); font: 400 12px/1.5 var(--jfh-font); white-space: nowrap; }
.jfh-title { margin-top: 5px; font: 500 15px/1.6 var(--jfh-font); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.jfh-cast { margin-top: 5px; color: var(--jfh-muted); font: 400 12px/1.6 var(--jfh-font); overflow-wrap: anywhere; }
.jfh-movie:hover .jfh-title { color: var(--jfh-accent); }
.jfh-movie:focus-visible, .jfh-category-links a:focus-visible { outline: 2px solid var(--jfh-mint); outline-offset: 5px; }
.jfh-grouped #paginationBar { display: none; }
[hidden] { display: none !important; }
.sort-wrapper select, .topbar .btn-surface, .m-chip { min-height: 40px; }
.seo-overview-section { border-top: 1px solid var(--jfh-line); }
.seo-card-container { background: none; border: 0; border-radius: 0; box-shadow: none; }
.jfh-grouped .filter-bar-right { margin-left: auto; }
.jfh-actor { flex-direction: column; align-items: flex-start; border-radius: 6px; padding: 10px 14px; min-width: 140px; }
.jfh-actor .actress-name { color: var(--jfh-text); font: 500 13px/1.5 var(--jfh-font); }
.jfh-actor-details { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--jfh-line); }
.jfh-actor-details summary { cursor: pointer; font: 500 14px/1.7 var(--jfh-font); color: var(--jfh-muted); }
.jfh-actor-details[open] summary { margin-bottom: 12px; }
.section-count { color: var(--jfh-mint); }
@media (max-width: 1100px) { .jfh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .jfh-managed .mobile-cat-strip { display: none; }
  .jfh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .jfh-intro { flex-direction: column; gap: 4px; padding-block: 10px; }
  .jfh-intro h1 { font-size: 28px; }
  .hero-stage {
    margin-bottom: 20px !important;
    border-radius: 14px !important;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 110px) !important;
    gap: 14px !important;
    padding: 14px 16px !important;
    background: rgba(7, 6, 15, 0.85) !important;
  }
  .hero-headline { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
  .hero-kicker-row { gap: 4px; margin-bottom: 8px; }
  .hero-specs { display: none; }
  .btn-play-hero { font-size: 12px; padding: 8px 12px; }
  .tag-spotlight { display: none; }
  .tag-spec-hero { display: none; }
  .hero-preview-overlay { padding: 4px; }
  .hero-preview-overlay .media-top-row, .hero-preview-overlay .media-bottom-row { display: none; }
  .hero-preview-frame { aspect-ratio: 16/10; }
  .play-circle-glass { width: 30px; height: 30px; }
  .jfh-section-header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .jfh-section-header h2 { font-size: 19px; }
  .jfh-title { font-size: 13px; min-height: 42px; }
  .jfh-code { font-size: 12px; }
  .jfh-duration, .jfh-rank { font-size: 10px; padding: 2px 4px; }
  .jfh-category-links { gap: 10px 18px; }
  .jfh-category-links { padding-bottom: 12px; }
  .jfh-category-links a { font-size: 13px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .jfh-grouped .filter-bar-right { margin-left: 0; }
  .jfh-grouped .section-head:has(#catalogTitle) { flex-direction: row; align-items: center; flex-wrap: nowrap; }
  .jfh-grouped .section-head:has(#catalogTitle) .section-title-group { align-items: flex-start; flex-direction: column; gap: 4px; }
  .jfh-grouped .section-head:has(#catalogTitle) .section-heading { font-size: 17px; }
  .jfh-grouped .sort-label { display: none; }
  .jfh-grouped .modern-select { max-width: 130px; }
  .jfh-section { padding-top: 18px; }
  .jfh-section-count { display: none; }
  .jfh-section-header { margin-bottom: 10px; }
  .jfh-actor-details { padding-bottom: 10px; margin-bottom: 10px; }
}
@media (max-width: 359px) { .jfh-intro p { display: none; } .jfh-intro h1 { font-size: 24px; } }


/* Mobile Quick Category Strip - Removed in mobile mode per user request */
.mobile-cat-strip,
#mobileCatStrip,
:where(.javfin-common-frame) .mobile-cat-strip,
.javfin-common-frame .mobile-cat-strip,
body[data-view="mobile"] .mobile-cat-strip,
body[data-view="mobile"] :where(.javfin-common-frame) .mobile-cat-strip,
body[data-view="mobile"] #mobileCatStrip {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

