/* Szinkronos: own layer on top of the Movflx template (static/vendor/movflx). */

:root {
  --bg: #12111a;
  --bg-soft: #1b1a26;
  --surface: #1f1e2b;
  --border: #2d2c3c;
  --text: #d8d8de;
  --muted: #9a9aa8;
  --accent: #e4d804;
  --yes: #2fbf71;
  --no: #e5534b;
  --unknown: #6b6b7b;
  --radius: 8px;
}

body {
  background: var(--bg) url("../vendor/movflx/img/bg/movie_bg.da21b5c571a2.webp") top center / 100% auto no-repeat;
  color: var(--text);
}
a { color: var(--accent); }
a:hover { color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.empty { color: var(--muted); font-style: italic; padding: 20px 0; }

/* ---------- Header ---------- */
.text-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1;
}
.text-logo span { color: var(--accent); }
.text-logo:hover { color: #fff; }
.menu-area .logo { margin-right: 20px; }
.navbar-wrap > ul > li > a { padding: 32px 18px; }
.navbar-wrap > ul > li.active > a,
.navbar-wrap > ul > li > a:hover { color: var(--accent); }
.main-menu .dropdown-btn { display: none; }
.sticky-menu { background: rgba(18, 17, 26, 0.96); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }

.header-search-form form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 2px 4px 2px 16px;
}
.header-search-form input {
  background: transparent;
  border: 0;
  color: #fff;
  width: 190px;
  font-size: 13px;
  padding: 8px 0;
}
.header-search-form input::placeholder { color: var(--muted); }
.header-search-form input:focus { outline: none; }
.header-search-form button {
  background: none; border: 0; color: var(--accent); padding: 8px 12px; cursor: pointer;
}
.header-action > ul { align-items: center; }
.header-action .header-btn form { margin: 0; }
.mobile-nav-toggler { background: none; border: 0; }

/* Mobile menu */
.mobile-menu .close-btn { background: none; border: 0; }
.mobile-menu .nav-logo { padding: 30px 25px; }
.mobile-menu .menu-outer .navigation { display: block; }
.mobile-menu .menu-outer .navigation li { position: relative; display: block; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu .menu-outer .navigation li > a {
  display: block; padding: 12px 60px 12px 25px; color: #fff; font-weight: 600; text-transform: uppercase; font-size: 14px;
}
.mobile-menu .menu-outer .navigation li.active > a { color: var(--accent); }
.mobile-menu .menu-outer .submenu { display: none; padding: 0; margin: 0; list-style: none; }
.mobile-menu .menu-outer .submenu.is-open { display: block; }
.mobile-menu .menu-outer .submenu li > a { padding-left: 40px; text-transform: none; font-weight: 500; }
.mobile-menu .dropdown-btn {
  display: block; position: absolute; right: 6px; top: 6px; width: 34px; height: 32px;
  background: rgba(255, 255, 255, 0.08); border: 0; color: #fff; border-radius: 4px; cursor: pointer;
}
.mobile-menu .dropdown-btn.open span { transform: rotate(180deg); }
.mobile-search { display: flex; margin: 0 25px 20px; }
.mobile-search input {
  flex: 1; min-width: 0; background: #fff; border: 0; border-radius: 4px 0 0 4px; padding: 10px 12px; color: #12111a;
}
.mobile-search button { background: var(--accent); border: 0; border-radius: 0 4px 4px 0; padding: 0 14px; color: #12111a; }
.mobile-account { padding: 25px; }

/* ---------- Messages ---------- */
.site-messages { position: fixed; top: 100px; right: 20px; left: 20px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.site-message { pointer-events: auto; display: flex; align-items: flex-start; gap: 14px; max-width: 420px; padding: 12px 14px 12px 18px; border-radius: var(--radius); background: var(--surface); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: opacity 0.3s, transform 0.3s; }
.site-message.is-hiding { opacity: 0; transform: translateY(-8px); }
.site-message-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 16px; line-height: 1; padding: 2px; cursor: pointer; }
.site-message-close:hover { color: #fff; }
.site-message-success { border-left: 4px solid var(--yes); }
.site-message-error { border-left: 4px solid var(--no); }
.site-message-info { border-left: 4px solid var(--accent); }

/* ---------- Hero (home banner) ---------- */
.hero {
  position: relative;
  padding: 230px 0 150px;
  background-color: #000;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 16, 0.95) 0%, rgba(10, 10, 16, 0.7) 45%, rgba(10, 10, 16, 0.15) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero .container { position: relative; z-index: 1; }
.hero .banner-content .title { font-size: 52px; }
.hero .banner-content .sub-title { color: var(--accent); font-size: 20px; }
.hero-overview { color: #e6e6ea; max-width: 560px; margin-bottom: 20px; }
.hero-tags { margin-bottom: 30px; }
.banner-meta ul li.category > span { color: #fff; }

/* ---------- Search band ---------- */
.home-search { padding: 40px 0 10px; }
.big-search { display: flex; gap: 10px; max-width: 760px; margin: 0 auto 10px; }
.big-search input {
  flex: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 30px;
  color: #fff; padding: 14px 22px; font-size: 15px;
}
.big-search input:focus { outline: none; border-color: var(--accent); }
.big-search .btn { white-space: nowrap; }
.home-stats { text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Sections ---------- */
.movie-bg { padding: 50px 0 30px; background: none; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.section-head .section-title { margin: 0; }
.section-title .title { font-size: 34px; margin: 0; }
.section-more { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; white-space: nowrap; }
.provider-dot {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); margin-right: 12px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

/* ---------- Poster grid and cards (equal size, 2:3) ---------- */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (min-width: 576px) { .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1200px) { .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.poster-card { display: block; color: inherit; }
.poster-card:hover, .poster-card:focus { color: inherit; text-decoration: none; }
.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.poster-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center; font-weight: 700; color: #fff;
  background: linear-gradient(160deg, #2b2a3a, #15141d);
}
.poster-flag {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #12111a;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  padding: 3px 7px; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.poster-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(0deg, rgba(8, 8, 12, 0.96) 0%, rgba(8, 8, 12, 0.8) 55%, rgba(8, 8, 12, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.poster-title { font-size: 16px; line-height: 1.3; margin: 0 0 4px; color: #fff; }
.poster-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.poster-card:hover .poster-frame,
.poster-card:focus-visible .poster-frame { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6); }
.poster-card:hover .poster-overlay,
.poster-card:focus-visible .poster-overlay { opacity: 1; }
.poster-caption { display: none; padding: 8px 2px 0; }
.poster-caption-title { display: block; color: #fff; font-weight: 600; font-size: 13px; line-height: 1.3; }
.poster-caption-meta { display: block; color: var(--muted); font-size: 12px; }
/* Touch screens have no hover: show the title under the poster instead. */
@media (hover: none) {
  .poster-caption { display: block; }
}

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; line-height: 1;
  padding: 5px 8px; border-radius: 4px; color: #fff; white-space: nowrap;
}
.tag-dub { background: var(--accent); color: #12111a; }
.tag-provider {
  background: var(--brand, #3a3f4b);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.75;
}
.tag-provider.is-dubbed { opacity: 1; }
.tag-provider.is-dubbed::before { content: "HU"; font-size: 9px; font-weight: 800; background: rgba(0, 0, 0, 0.35); padding: 2px 3px; border-radius: 2px; }
.tag-muted { background: rgba(255, 255, 255, 0.1); color: var(--muted); }

/* ---------- Sub page head (breadcrumb) ---------- */
.page-head {
  position: relative;
  padding: 170px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}
.page-head .title { font-size: 42px; line-height: 1.25; margin-bottom: 10px; }
.page-head-sub { display: block; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-size: 13px; }
.page-head .breadcrumb-item a { color: #fff; }
.page-head .breadcrumb-item.active { color: var(--accent); }

/* Listing bar: tabs + provider chips */
.listing-bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a {
  padding: 9px 20px; border-radius: 30px; border: 2px solid var(--border);
  color: #fff; font-weight: 600; font-size: 13px; text-transform: uppercase;
}
.tabs a.active, .tabs a:hover { border-color: var(--accent); color: var(--accent); }
.provider-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
}
.chip::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand, var(--accent)); margin-right: 7px; vertical-align: 1px;
}
.chip.active, .chip:hover { background: var(--accent); color: #12111a; border-color: var(--accent); }
.listing-intro { color: var(--muted); margin-bottom: 24px; }
.results-title { font-size: 22px; margin: 30px 0 20px; }

/* Pagination */
.pagination-wrap { margin-top: 40px; }
.pagination-wrap ul { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination-wrap a, .pagination-wrap span {
  display: inline-block; padding: 10px 18px; border-radius: 30px; border: 2px solid var(--border); color: #fff; font-weight: 600;
}
.pagination-wrap a:hover { border-color: var(--accent); color: var(--accent); }
.pagination-wrap .active span { border-color: var(--accent); color: var(--accent); }

/* Filters (browse page) */
.filters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 20px;
}
@media (min-width: 992px) { .filters { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); } }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); margin: 0; }
.filters select,
.filters input[type="search"] {
  background: var(--bg-soft); color: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 10px;
  width: 100%;
}
.filters input[type="search"]:focus { outline: none; border-color: var(--accent); }
.filters .filter-search { grid-column: 1 / -1; }
@media (min-width: 992px) { .filters .filter-search { grid-column: auto; } }
#list-results { transition: opacity 0.15s; }
#list-results.htmx-request { opacity: 0.5; }
.filters .checkbox { flex-direction: row; align-items: center; gap: 8px; color: #fff; }
.filters .checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- Title detail ---------- */
.title-hero {
  position: relative;
  padding: 190px 0 80px;
  background-color: #000;
  background-size: cover;
  background-position: center top;
}
.title-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 16, 0.96) 0%, rgba(10, 10, 16, 0.82) 50%, rgba(10, 10, 16, 0.55) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 40%);
}
.title-hero .container { position: relative; z-index: 1; }
.title-hero .movie-details-img img,
.title-hero .movie-details-img .poster-fallback {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.title-hero .movie-details-content { padding-top: 20px; }
.title-hero .movie-details-content h5 { color: var(--accent); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.detail-title { font-size: 46px; line-height: 1.2; color: #fff; margin-bottom: 20px; }
.title-hero .movie-details-content p { color: #dcdce2; }
.dub-state { font-weight: 700; }
.banner-meta ul li.quality > span.dub-state-yes { background: var(--yes); color: #fff; }
.banner-meta ul li.quality > span.dub-state-no { background: var(--no); color: #fff; }
.banner-meta ul li.quality > span.dub-state-unknown { background: var(--unknown); color: #fff; }
.dubbed-on { font-size: 15px; }
.dubbed-on i { color: var(--accent); margin-right: 6px; }
.dubbed-on strong { color: #fff; }

.detail-section { padding-top: 40px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.offer-card {
  background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--brand, var(--accent));
  border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column;
}
.offer-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.offer-card-head h3 { font-size: 18px; margin: 0; color: #fff; }
.offer-type { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.offer-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 12px; }
.offer-facts dt { color: var(--muted); font-weight: 500; }
.offer-facts dd { margin: 0; }
.offer-card .source { list-style: none; padding: 0; color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
.offer-facts .conflict { color: #f0a020; }
.offer-card .offer-link { margin-top: auto; align-self: flex-start; max-width: 100%; padding: 12px 22px; font-size: 12px; letter-spacing: 1px; white-space: normal; line-height: 1.4; }
.verified { color: var(--yes); font-size: 12px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: 12px; font-weight: 700; color: #fff; }
.badge-yes { background: var(--yes); }
.badge-no { background: #c0392b; } /* darker than --no: white text needs 4.5:1 */
.badge-unknown { background: var(--unknown); }

.detail-lower { margin-top: 50px; row-gap: 30px; }
.detail-h2 { font-size: 22px; margin-bottom: 18px; }
.source-list { list-style: none; padding: 0; }
.source-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.source-list li span:first-child { color: #fff; min-width: 190px; }
.source-list small { color: var(--muted); }
.source-note { width: 100%; color: var(--muted); font-size: 13px; }
.submit-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 18px; margin-bottom: 12px;
}
.submit-box summary { cursor: pointer; color: #fff; font-weight: 600; }
.attribution-note { color: var(--muted); font-size: 13px; margin-top: 40px; }

/* ---------- Content pages and forms ---------- */
.content-section { padding-top: 30px; }
.narrow { max-width: 760px; }
.prose { color: var(--text); font-size: 15px; line-height: 1.8; }
.prose h2 { font-size: 26px; margin: 40px 0 16px; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; max-width: 460px; margin: 0 auto;
}
.stacked-form { display: grid; gap: 14px; margin: 14px 0; }
.stacked-form > div { display: flex; flex-direction: column; gap: 6px; }
.stacked-form label { color: #fff; font-weight: 600; margin: 0; }
.stacked-form input[type="text"],
.stacked-form input[type="password"],
.stacked-form input[type="email"],
.stacked-form textarea,
.stacked-form select {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; color: #fff; padding: 11px 12px; width: 100%;
}
.stacked-form input:focus, .stacked-form textarea:focus, .stacked-form select:focus { outline: none; border-color: var(--accent); }
.stacked-form .helptext, .stacked-form ul { color: var(--muted); font-size: 12px; }
.stacked-form div div { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
.stacked-form div div label { font-weight: 500; }
.stacked-form .btn { justify-self: start; }
.errorlist { color: var(--no); list-style: none; padding: 0; margin: 0; font-size: 13px; }

/* ---------- Footer ---------- */
.footer-logo .text-logo { font-size: 34px; }
.footer-search input { color: #fff; }
.footer-search form button { width: 32px; height: 32px; right: 12px; display: flex; align-items: center; justify-content: center; }
.footer-search form button::before { left: -6px; }
.footer-top-wrap { background-image: url("../vendor/movflx/img/bg/footer_bg.d4d44ce6e769.webp"); }
.footer-community { padding: 30px 0 40px; }
.footer-community-card {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: #fff; transition: border-color 0.2s;
}
.footer-community-card:hover { border-color: #1877f2; color: #fff; }
.footer-community-icon {
  flex: 0 0 48px; height: 48px; border-radius: 50%; background: #1877f2;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
}
.footer-community-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.footer-community-text span { color: var(--muted); font-size: 14px; }
.footer-community-btn { white-space: nowrap; }
@media (max-width: 767px) {
  .footer-community-card { flex-wrap: wrap; }
  .footer-community-btn { flex: 1 0 100%; text-align: center; }
}
.quick-link-list ul { flex-wrap: wrap; }
.site-footer .copyright-text p { margin-bottom: 6px; font-size: 13px; }
.tmdb-notice { color: var(--muted); }

/* ---------- Small screens ---------- */
@media (max-width: 991px) {
  .hero { padding: 150px 0 90px; }
  .hero .banner-content .title { font-size: 36px; }
  .page-head { padding: 130px 0 30px; }
  .page-head .title { font-size: 30px; }
  .title-hero { padding: 130px 0 50px; }
  .detail-title { font-size: 32px; }
  .section-title .title { font-size: 26px; }
  .site-messages { top: 80px; right: 12px; left: 12px; }
}
@media (max-width: 575px) {
  .text-logo { font-size: 24px; }
  .big-search { flex-direction: column; }
  .big-search .btn { width: 100%; }
  .hero .banner-content .title { font-size: 30px; }
  .poster-grid { gap: 12px; }
  .listing-bar { flex-direction: column; align-items: flex-start; }
}

/* Provider logos (dark theme images from the Streaming Availability API) */
.provider-logo { display: block; height: 28px; width: auto; max-width: 140px; object-fit: contain; }
.provider-logo-chip { display: inline-flex; align-items: center; padding: 4px 8px; background: #fff; border-radius: 6px; }
.provider-logo-chip .provider-logo { height: 22px; }
.provider-logo-text { font-weight: 700; color: #fff; }
.offer-provider { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.offer-link-host { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.provider-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.provider-strip-label { color: var(--muted); font-size: 14px; margin-right: 4px; }
.provider-strip-item { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(18, 21, 30, 0.75); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; }
.provider-strip-item:hover { border-color: var(--accent); }
.provider-strip-item.is-dubbed { border-color: rgba(228, 216, 4, 0.6); }
.provider-strip-dub { color: var(--accent); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.provider-strip-dub i { margin-right: 3px; }

/* Cast and crew */
.maker-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.maker-list span { color: var(--muted); }
.maker-list a { color: #fff; font-weight: 600; }
.maker-list a:hover { color: var(--accent); }
.cast-block { margin-top: 50px; }
.cast-list { list-style: none; padding: 0 0 10px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 130px; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; }
.cast-list li { scroll-snap-align: start; }
.cast-card { display: block; color: #fff; }
.cast-card img, .cast-card .cast-photo-fallback { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: #1b1e28; }
.cast-card strong { display: block; font-size: 14px; line-height: 1.3; }
.cast-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }
.cast-card:hover strong { color: var(--accent); }
.cast-photo-fallback { display: flex; align-items: center; justify-content: center; color: #3a3f4b; font-size: 40px; }

/* Live search dropdown (HTMX) */
.live-search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 320px; z-index: 1100; background: #171a23; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); overflow: hidden; text-align: left; }
.search-suggest:empty { display: none; }
.header-search-form .search-suggest { left: auto; width: 380px; }
.search-suggest-list { list-style: none; margin: 0; padding: 6px 0; max-height: 70vh; overflow-y: auto; }
.search-suggest-item { display: flex; align-items: center; gap: 12px; padding: 7px 14px; color: #fff; }
.search-suggest-item:hover, .search-suggest-item:focus { background: rgba(255, 255, 255, 0.06); color: #fff; outline: none; }
.search-suggest-item img, .search-suggest-noimg { flex: none; width: 36px; height: 54px; object-fit: cover; border-radius: 4px; background: #232733; }
.search-suggest-noimg { display: flex; align-items: center; justify-content: center; color: #4a5060; }
.search-suggest-text { min-width: 0; flex: 1; }
.search-suggest-text strong { display: block; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-text small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-dub { flex: none; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #12111a; background: var(--accent); border-radius: 4px; padding: 3px 6px; }
.search-suggest-all { display: block; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 600; }
.search-suggest-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 14px; }
.mobile-search.live-search .search-suggest { min-width: 0; }
.stacked-form input[type="checkbox"], .stacked-form input[type="radio"] { margin-right: 8px; accent-color: var(--accent); }
.stacked-form div[id$="providers"] { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.stacked-form div[id$="providers"] label { font-weight: 500; }

/* Cookie bar */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: rgba(18, 21, 30, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5); padding: 16px 0; }
.cookie-bar[hidden] { display: none; }
.cookie-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; }
.cookie-bar p { margin: 0; color: #ddd; font-size: 14px; flex: 1 1 320px; }
.cookie-bar-actions { display: flex; gap: 10px; }
.cookie-bar .btn { padding: 12px 22px; font-size: 12px; }
.cookie-bar .cookie-decline { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.link-button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 10px 0 30px; }
.not-found-lead { color: #dcdce2; font-size: 17px; margin-bottom: 20px; }
.not-found .big-search { position: relative; text-align: left; }
.not-found-links { margin-top: 18px; color: var(--muted); }
.not-found-links a { color: var(--accent); }

/* ---------- Hero backdrop: smaller image on phones (preloaded in home.html) ---------- */
.banner-area.hero { background-image: var(--hero-sm); }
@media (min-width: 800px) { .banner-area.hero { background-image: var(--hero-lg); } }
