/* detail.css — styles for the film / série detail pages (film.ejs, serie.ejs).
   Film page: layout/spacing/typography parity with french-stream.net (fullfilm.css + release.css),
   adapted to the EVOLOAD base (styles.css): #player-container/#main-player backdrop treatment,
   .fmain header on a blurred backdrop, title line "Titre - année - cert - genres - durée",
   vote widget (+ / moyenne / -), BANDE ANNONCE modal, Signaler + Télécharger row, "— Autres releases —"
   rows with "Voir N releases de plus", actors rail, "Films similaires".
   The série rules further down are shared with serie.ejs (kept intact). */

/* ---- breadcrumb ------------------------------------------------------- */
.speedbar { padding: 6px 0 10px; font-size: 12px; color: #999; }
.speedbar a { color: #ccc; }
.speedbar a:hover { color: #f48625; }
.speedbar span { color: #f48625; }

/* ---- film : player container (reference #player-container / #main-player) --- */
#film-data[hidden] { display: none; }
#player-container { position: relative; max-width: 100%; margin: 0 auto; border-radius: 8px; overflow: hidden;
  background-color: #1d1d1d; box-shadow: 0 0 20px rgba(0,0,0,.8); }
#main-player { position: relative; width: 100%; height: 400px; background-color: #1d1d1d; background-size: cover;
  background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; }
#main-player #seriePlayers { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: transparent; }
#player-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 30px; padding: 1px 8px;
  background-color: rgba(0,0,0,.7); box-shadow: 0 0 20px rgba(0,0,0,.8); }
#player-options .player-option, #player-options button.player-option { position: relative; display: inline-block; padding: 10px 15px; margin: 0; min-width: 100px; border: 0; border-radius: 4px;
  background: transparent; box-shadow: none; color: #fff; font: 700 13px/1.4 inherit; font-family: inherit; text-align: center; cursor: pointer;
  white-space: nowrap; flex-shrink: 0; overflow: visible; transition: color .25s ease, text-shadow .25s ease; -webkit-user-select: none; user-select: none; }
#player-options .player-option .fa { margin-right: 5px; color: #f48625; }
#player-options .player-option.active { color: #ff8c00; text-shadow: 0 0 10px rgba(255,140,0,.35); }
#player-options .player-option::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; transform: translateX(-50%); border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,140,0,0) 8%, rgba(255,140,0,.55) 25%, #ff8c00 50%, rgba(255,140,0,.55) 75%, rgba(255,140,0,0) 92%, transparent 100%);
  transition: width .35s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, opacity .25s ease; pointer-events: none; opacity: 0; }
#player-options .player-option.active::after { width: 88%; opacity: 1; box-shadow: 0 0 10px rgba(255,140,0,.45); }
#player-options .player-option:hover:not(.active) { color: #ffb066; }
#player-options .player-option:hover:not(.active)::after { width: 58%; opacity: .85; }
#player-options .player-option:focus-visible { outline: 2px solid #f48625; outline-offset: -2px; }
#player-options .player-option.player-none { cursor: default; color: #999; font-weight: 400; }
.customDiv { height: 50px; width: auto; }
.customDiv + .overall_content { margin-top: -30px; }

/* ---- legacy player box (série page) ----------------------------------- */
.ftabs.tabs-box { background-color: #1e1e1e; margin-bottom: 20px; box-shadow: 0 3px 3px 0 rgba(0,0,0,.5); }
.ftabs .iframe-area { display: none; }
.ftabs #seriePlayers { display: block; background-color: #000; min-height: 400px; }
.movie-players .iframe { background-color: #000; }
.fctrl#player-options { padding-right: 8px; }

/* ---- série : current-episode header + server tabs --------------------- */
#fsElementsContainer .series-center { margin: 0; width: auto; }
.selink { text-align: center; padding: 10px 10px 0; }
.selink-title { display: inline-block; margin: 8px 6px; font-size: 14px; font-weight: 700; color: #fff; }
.ep-counter { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 3px; background: #333;
  color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.ep-new { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 1px 6px; border-radius: 3px;
  background: #f48625; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 16px; }
.btnss { text-align: center; padding: 0 0 6px; }
.ftabs .btnss .tabs-sel { width: auto; white-space: normal; overflow: visible; }
.btnss li { display: inline-block; margin: 0 4px 6px; }
.fsctab { display: inline-block; padding: 0 14px; line-height: 30px; border-radius: 2px; background-color: #333;
  color: #ccc; font-weight: 700; font-size: 13px; cursor: pointer; }
.fsctab:hover { background-color: #000; color: #fff; }
.fsctab.fscactive { background-color: #f48625; color: #fff; }
.fsctab.fsc-none { cursor: default; background: none; color: #999; font-weight: 400; }

/* ---- série : prev / next episode -------------------------------------- */
.ep-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 15px 0; }
.ep-nav-btn { display: inline-block; padding: 0 16px; line-height: 34px; border-radius: 3px; background: #333;
  color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ep-nav-btn:hover { background: #000; color: #fff; }
.ep-nav-btn.ep-next { margin-left: auto; background: #f48625; }
.ep-nav-btn.ep-next:hover { background: #d9731a; }
.ep-nav-btn .fa { margin: 0 4px; }

/* ---- série : seasons + episode lists ---------------------------------- */
.seasons-nav { padding: 8px 15px 0; text-align: center; }
.seasons-label { display: inline-block; margin: 3px 8px 3px 0; font-weight: 700; color: #fff; }
.seasons-nav a { display: inline-block; padding: 0 12px; line-height: 28px; margin: 3px; border-radius: 2px;
  background-color: #333; color: #ccc; font-size: 12px; font-weight: 700; }
.seasons-nav a:hover { background-color: #000; color: #fff; }
.seasons-nav a.active { background-color: #f48625; color: #fff; }
.ep-cols { padding: 0 15px 10px; }
.ep-col { float: left; overflow: hidden; margin: 10px 0 0; width: 50%; padding: 0 5px; text-align: center; }
.ep-col-left { padding-left: 0; }
.ep-col-right { float: right; padding-right: 0; }
.ep-col .elink a { padding: 7px 10px; font-size: 13px; color: #ccc; border-bottom: 1px solid #2a2a2a; }
.ep-col .elink a:hover { color: #fff; background-color: #2a2a2a; }
.ep-col .elink a.active { color: #fff; background-color: #f48625; }
.ep-col .elink a .fa { margin-right: 4px; color: #f48625; }
.ep-col .elink a.active .fa { color: #fff; }
.ep-col .elink a.is-new { color: #fff; }
.ep-col .elink a.active .ep-new { background: #fff; color: #f48625; }
.ep-empty { padding: 15px; text-align: center; color: #999; }
.od2 { display: block; height: 1px; }
@media screen and (max-width: 760px) {
  .ep-col, .ep-col-right { float: none; width: 100%; padding: 0; }
  .ep-nav { flex-wrap: wrap; }
  .ep-nav-btn { flex: 1 1 auto; text-align: center; }
}

/* ---- actors rail (reference .actors-container > ul#actorList > li.actor) --- */
.actors-block { position: relative; margin: 0 0 20px; padding: 12px 0 8px; background: #1e1e1e; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,.8); }
.actors-head { padding: 0 15px 10px; font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.actors-head .fa { color: #f48625; margin-right: 6px; }
.actors-wrap { position: relative; }
.actors-rail { display: flex; gap: 10px; padding: 5px 15px 10px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding: 0 15px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.actors-rail::-webkit-scrollbar { display: none; }
.actors-wrap:not(.has-overflow) .actors-rail { justify-content: center; }
.actor-card { position: relative; flex: 0 0 auto; width: 134px; height: 200px; overflow: hidden; border: 3px solid #333; border-radius: 3px;
  background: #2a2a2a; scroll-snap-align: start; color: #fff; text-decoration: none; transition: transform .3s, border-color .3s; }
.actor-card .actor-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s ease; }
.actor-card .actor-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 6px 6px; line-height: 1.25; text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 55%, rgba(0,0,0,0) 100%); }
.actor-card .actor-name { display: block; font-size: 11px; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actor-card .actor-role { display: block; margin-top: 2px; font-size: 10px; color: #ccc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.actor-card.is-director .actor-role { color: #f48625; }
a.actor-card:hover { transform: scale(1.06); border-color: #f48625; z-index: 2; }
a.actor-card:hover .actor-name { color: #f48625; }
.actors-wrap button.actors-nav, .actors-wrap .actors-nav { position: absolute; height: auto; line-height: normal; top: 0; bottom: 0; z-index: 3; width: 10%; min-width: 48px; max-width: 96px; border: 0; padding: 0; margin: 0;
  background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.96) 100%); color: #f48625; font-size: 26px; cursor: pointer;
  display: none; align-items: center; justify-content: center; transition: background .25s ease, color .2s ease; }
.actors-wrap button.actors-nav.l { left: 0; background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.96) 100%); }
.actors-wrap button.actors-nav.r { right: 0; }
.actors-wrap button.actors-nav:hover { background: linear-gradient(to right, rgba(0,0,0,.2) 0%, rgba(0,0,0,.62) 50%, rgba(0,0,0,1) 100%); color: #fff; }
.actors-nav .fa { text-shadow: 0 2px 6px rgba(0,0,0,.55); transition: transform .2s ease; }
.actors-nav:hover .fa { transform: scale(1.14); }
.actors-wrap.has-overflow .actors-nav { display: flex; }
.actors-wrap.at-start .actors-nav.l { display: none; }
.actors-wrap.at-end .actors-nav.r { display: none; }
@media (hover: none), (max-width: 760px) { .actors-nav { display: none !important; } }

/* ---- header block (.fmain) with backdrop ------------------------------ */
.fmain { padding: 12px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,.8); animation: fadeInBackground .8s ease-in-out; }
@keyframes fadeInBackground { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .fmain { animation: none; } }
.fmain.fmain-bd { position: relative; z-index: 0; overflow: hidden; background-color: #1d1d1d;
  background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 300px; }
/* the blurred copy of the inline background (gradient + backdrop) sits behind the content */
.fmain.fmain-bd::before { content: ""; position: absolute; top: -20px; right: -20px; bottom: -20px; left: -20px; z-index: -1;
  background: inherit; background-size: cover; background-position: center; filter: blur(6px); }
.fmain.fmain-bd::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.4) 100%); }
.fmain > * { position: relative; }
.fmain .fcols { align-items: flex-start; }
.fmain h1 { font-size: 28px; line-height: 1.2; font-weight: 700; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,.8); margin-bottom: 10px; }
.fmain h1 .tag, .fmain h1 .release_date { font-weight: 400; opacity: .8; font-size: 22px; }
.fmain h1 .release_date a { color: #fff; }
.fmain h1 .release_date a:hover { color: #f48625; }
.fav-btn { display: inline-block; vertical-align: middle; margin-left: 8px; width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #999; font-size: 16px; cursor: pointer;
  -webkit-user-select: none; user-select: none; transition: color .15s, background .15s, transform .15s; }
.fav-btn:hover { color: #f48625; background: rgba(255,255,255,.14); transform: scale(1.1); }
.fav-btn.is-fav, .fav-btn.active { color: #f48625; }
.fmain h1 .fav-btn { position: static; top: auto; right: auto; font-size: 14px; text-shadow: none; opacity: 1; }
.facts { margin: 15px 0; font-size: 13px; line-height: 22px; color: #ccc; }
.facts .genres a { color: #f48625; }
.facts .genres a:hover { text-decoration: underline; }
.facts .runtime { color: #ddd; }
.certification { display: inline-block; position: relative; margin: 1px 2px 1px 0; padding: 1px 5px; min-width: 24px; border: 1px solid #fff; border-radius: 4px;
  background: linear-gradient(135deg, rgba(30,58,138,0), rgba(244,134,37,.25)); color: #fff; font-weight: 700; font-size: 10px; line-height: 14px;
  letter-spacing: .5px; text-align: center; text-shadow: 0 1px 1px rgba(0,0,0,.5); box-shadow: 0 2px 4px rgba(0,0,0,.3); vertical-align: 1px; }
.certification::before { content: ''; position: absolute; top: 1px; left: 1px; right: 1px; height: 40%; border-radius: 2px 2px 0 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), rgba(255,255,255,.1)); }
.certification.tout-public { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: #dcfce7; }
.certification.jeune { background: linear-gradient(135deg, #eab308, #ca8a04); border-color: #fef3c7; }
.certification.adolescent { background: linear-gradient(135deg, #f97316, #ea580c); border-color: #fed7aa; }
.certification.adulte { background: linear-gradient(135deg, #dc2626, #b91c1c); border-color: #fecaca; }
.certification.interdit { background: linear-gradient(135deg, #7c2d12, #991b1b); border-color: #fca5a5; }
.certification.non-classe { background: linear-gradient(135deg, #6b7280, #4b5563); border-color: #e5e7eb; font-style: italic; }
.facts .version-pill { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 3px; background: #444; color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; vertical-align: 1px; }
.facts .fs-pills { display: block; margin-top: 8px; }
.fs-pill { display: inline-block; margin: 0 4px 2px 0; padding: 0 8px; border-radius: 3px; background: #444; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-transform: uppercase; }
.fs-pill.fs-status.is-live { background: #2e7d32; }
.fs-pill.fs-eps { background: #f48625; }
.fmain .fdesc { max-height: none; margin: 15px 0; font-style: normal; font-size: 18px; line-height: 27px; color: #fff; text-align: justify;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; font-weight: 400; letter-spacing: .3px;
  text-shadow: 1px 1px 3px rgba(0,0,0,.7); -webkit-font-smoothing: antialiased; }
.fmain .fdesc .desc-text { display: block; margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 400; color: #bbb; text-align: left;
  text-transform: none; letter-spacing: 0; text-shadow: none; }
.fmain .flist-col li { padding: 3px 0; font-size: 12px; line-height: 18px; color: #ccc; }
.fmain .flist-col li > span:first-child { font-weight: 700; color: #fff; }
.fmain .flist-col a { color: #d9a27c; font-size: 12px; }
.fmain .flist-col a:hover { color: #f48625; }
#film_quality { display: inline-block; font-size: 11px; text-transform: uppercase; background: #333; color: #fff; margin-left: 2px; padding: 2px 5px; border-radius: 3px; line-height: 1; }
.fmain .db-rates b { color: #f8aa0c; }
.fposter img, .fposter a { box-shadow: 5px 10px 20px 3px rgba(1,1,1,.9); }
.fposter img { border-radius: 4px; transition: transform .2s ease; }
.fposter:hover img { transform: scale(1.03); }
.fposter .short-meta a { color: #000; }
.fleft { text-align: center; }
.frkl { clear: both; }

/* ---- vote widget (+ / moyenne / -) ------------------------------------ */
.frate { justify-content: center; align-items: flex-start; gap: 6px; padding: 10px 0 0; }
.frate .fr-box22 { margin: 0; }
.fr-count { box-shadow: inset 0 0 0 1px rgba(255,255,255,.11); }
.fr-count.fr-common { position: relative; box-shadow: none; background: conic-gradient(#f48625 var(--pct, 0%), #444 0); }
.fr-count.fr-common::before { content: ""; position: absolute; top: 6px; right: 6px; bottom: 6px; left: 6px; border-radius: 50%; background: #1e1e1e; }
.fr-count.fr-common > div { color: #fff; font-size: 22px; padding-top: 18px; }
.fr-count.fr-common > div div { font-size: 11px; }
.rate-plus, .rate-minus { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 16px; font-weight: 700;
  transition: background .2s, transform .15s; outline: none; }
.rate-plus .fa { color: #33a42d; margin: 0; font-size: 24px; }
.rate-minus .fa { color: #dd4d1b; margin: 0; font-size: 24px; }
.rate-plus:hover, .rate-plus:focus-visible, .rate-plus.voted { background-color: #33a42d; color: #fff; }
.rate-minus:hover, .rate-minus:focus-visible, .rate-minus.voted { background-color: #dd4d1b; color: #fff; }
.rate-plus:hover .fa, .rate-plus.voted .fa, .rate-minus:hover .fa, .rate-minus.voted .fa { color: #fff; }
.rate-plus:active, .rate-minus:active { transform: scale(.94); }
.rate-plus.bump, .rate-minus.bump { animation: votebump .3s ease; }
@keyframes votebump { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
.fr-votes { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: #999; }
.fr-votes .vote-net { font-weight: 700; padding: 1px 8px; border-radius: 10px; background: rgba(255,255,255,.06); }
.fr-votes .ratingplus { color: #33a42d; }
.fr-votes .ratingminus { color: #dd4d1b; }
.fr-votes .ratingzero { color: #999; }
.fr-votes .vote-up::before { content: "\f164"; font-family: FontAwesome; margin-right: 4px; color: #33a42d; font-size: 11px; }
.fr-votes .vote-down::before { content: "\f165"; font-family: FontAwesome; margin-right: 4px; color: #dd4d1b; font-size: 11px; }
.vote-hint { width: 100%; text-align: center; font-size: 11px; color: #777; margin-top: 4px; min-height: 14px; }

/* ---- BANDE ANNONCE button + modal (reference #openModalBtnCustom / .modal-custom) --- */
.trailer-btn { position: relative; display: flex; align-items: center; justify-content: flex-start; margin: 10px 0 6px; padding: 8px 10px; overflow: hidden;
  border: 1px solid rgba(244,134,37,.23); border-radius: 1px; background: transparent; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none; cursor: pointer; transition: transform .3s ease; }
.trailer-btn::before { content: '\25B6'; position: relative; z-index: 1; font-size: 18px; margin-right: 10px; color: #f48625; transition: color .3s ease; }
.trailer-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background-color: #f48625; transition: left .7s ease; z-index: 0; }
.trailer-btn span { position: relative; z-index: 1; }
.trailer-btn:hover { transform: scale(1.06); color: #fff; }
.trailer-btn:hover::after { left: 0; }
.trailer-btn:hover::before { color: #fff; }
.trailer-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.trailer-modal[hidden] { display: none; }
.trailer-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.9); }
.trailer-box { position: relative; z-index: 1; width: 90%; max-width: 1100px; background: #000; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.8); }
.trailer-frame { position: relative; width: 100%; height: 70vh; max-height: calc(90vw * .5625); background: #000; }
.trailer-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
.trailer-modal button.trailer-close { position: absolute; top: -15px; right: -15px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: #f48625; color: #fff; font-size: 28px; font-weight: 700; line-height: 30px; text-align: center; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; }
.trailer-modal button.trailer-close:hover { background: #ff7043; }
body.has-modal { overflow: hidden; }

/* ---- Signaler + Télécharger row (reference .button-container) --------- */
.button-container.dl-block { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px; padding: 0; border: 0; }
.report-btn-container { display: inline-block; }
.report-btn-modern { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; font-size: 10px; font-weight: 500; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, rgba(255,133,51,.12) 0%, transparent 100%); border: 1px solid #450000; border-radius: 1px; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; transition: all .3s ease; }
.report-btn-modern:hover { color: #fff; background: linear-gradient(135deg, #9d3f00 0%, #ee5a5a 100%); border-color: #ff6b6b; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,107,107,.4); }
.report-icon { width: 14px; height: 12px; flex-shrink: 0; }
.button-container button.downloadContainer, .downloadContainer { position: relative; height: auto; line-height: 1.3; overflow: hidden; padding: 10px 14px; border: 0; border-radius: 5px; background: transparent; color: #fff;
  font-family: Arial, sans-serif; font-size: 19px; text-align: right; cursor: pointer; -webkit-user-select: none; user-select: none; }
.button-container .downloadContainer::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background-color: #f48625; transition: left 1.7s ease; z-index: 0; }
.button-container .downloadContainer:hover::before, .button-container .downloadContainer[aria-expanded="true"]::before { left: 0; }
.downloadContainer > * { position: relative; z-index: 1; }
.downloadContainer .fa { position: relative; z-index: 1; margin-right: 6px; }
.dl-options { margin: 0 16px 20px; }
.dl-options[hidden] { display: none; }
.dl-options .option { display: block; position: relative; overflow: hidden; margin: 10px 0; padding: 10px; border: 1px solid #f48625; border-radius: 5px;
  color: #fff; text-align: center; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.dl-options .option::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background-color: #f48625; transition: left 1.7s ease; z-index: 0; }
.dl-options .option:hover::before { left: 0; }
.dl-options .option > span { position: relative; z-index: 1; }
.dl-options .option .fa { color: #f48625; margin-right: 6px; }
.dl-options .option:hover .fa { color: #fff; }

/* ---- "— Autres releases —" (reference release.css) ------------------ */
.commu-rel-block { margin: 0 16px; padding: 25px 1px; background: rgba(0,0,0,.02); border-radius: 0 0 6px 6px; }
.commu-rel-divider { text-align: center; color: #ffe0ba; font-size: 13px; letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase; }
.commu-rel-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.commu-rel-visible, .commu-rel-hidden { display: flex; flex-direction: column; gap: 4px; position: relative; }
.commu-rel-item { background: rgba(255,255,255,.03); border: 1px solid rgba(244,134,37,.46); border-radius: 3px; padding: 1px 5px; transition: border-color .15s; }
.commu-rel-item:hover { border-color: #f48625; }
.commu-rel-item.is-mine { border-color: rgba(244,134,37,.3); background: rgba(244,134,37,.04); }
.commu-rel-main { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; min-width: 0; min-height: 38px; }
.commu-rel-by { flex: 0 0 auto; font-size: 10px; color: #888; padding-left: 4px; white-space: nowrap; }
.commu-rel-team-badge { background: #9b59b6; color: #fff; padding: 1px 7px; border-radius: 3px; font-size: 9px; font-weight: 800; letter-spacing: .5px; vertical-align: middle; }
.commu-rel-name { flex: 1 1 auto; min-width: 0; font-family: 'Courier New', monospace; font-size: 12px; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.commu-rel-v { flex: 0 0 auto; color: #fff; padding: 3px 8px; border-radius: 3px; font-weight: 800; font-size: 10px; letter-spacing: .5px; background: #444; }
.commu-rel-q { flex: 0 0 auto; color: #fff; padding: 3px 8px; border-radius: 3px; font-weight: 800; font-size: 10px; letter-spacing: .5px; border: 1px solid rgba(244,134,37,.4); }
.commu-rel-host { flex: 0 0 auto; background: #ff6300; color: #fff; padding: 2px 7px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: .3px; border: 1px solid #eaaf54; text-transform: lowercase; }
.commu-rel-dl { flex: 0 0 auto; background: transparent; color: #fff !important; padding: 6px 12px; border-radius: 1px; text-decoration: none !important; font-weight: 700; font-size: 11px;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; border: 1px solid rgba(244,134,37,.35); transition: color .15s, background .15s; }
.commu-rel-dl:hover { background: rgba(244,134,37,.15); border-color: #ff8c00; }
.commu-rel-dl .fa { color: #f48625; }
.commu-rel-hidden { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .45s cubic-bezier(.22,1,.36,1), opacity .35s ease-out, margin .35s ease; }
.commu-rel-hidden.is-shown { max-height: 2400px; opacity: 1; margin-top: 2px; transition: max-height .55s cubic-bezier(.22,1,.36,1), opacity .4s ease-in .1s, margin .4s ease; }
.commu-rel-visible.is-faded::after { content: ''; position: absolute; left: -10px; right: -10px; bottom: -4px; height: 60px; pointer-events: none; z-index: 2; border-radius: 0 0 8px 8px;
  background: linear-gradient(to bottom, rgba(30,30,30,0) 0%, rgba(30,30,30,.35) 25%, rgba(30,30,30,.72) 55%, rgba(30,30,30,.95) 80%, rgba(30,30,30,1) 100%); transition: opacity .4s ease-out; }
.commu-rel-block .commu-rel-list button.commu-rel-show-more { position: relative; height: auto; line-height: 1.3; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: -4px; padding: 10px 14px; z-index: 3;
  background: linear-gradient(180deg, rgba(244,134,37,.12) 0%, rgba(244,134,37,.04) 100%); color: #ff8c00; border: 1px solid rgba(244,134,37,.28); border-radius: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.3); transition: all .2s ease; font-family: inherit; }
.commu-rel-block .commu-rel-list button.commu-rel-show-more:hover { background: linear-gradient(180deg, rgba(244,134,37,.22) 0%, rgba(244,134,37,.10) 100%); border-color: rgba(244,134,37,.55); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(244,134,37,.18); }
.commu-rel-block button.commu-rel-show-more i { margin: 0; font-size: 11px; animation: commu-bounce 1.8s ease-in-out infinite; transition: transform .25s ease; }
.commu-rel-block .commu-rel-list button.commu-rel-show-more.is-open { color: #ccc; border-color: rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(244,134,37,.06) 0%, rgba(244,134,37,.02) 100%); }
.commu-rel-block button.commu-rel-show-more.is-open i { animation: none; }
@keyframes commu-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (max-width: 700px) {
  .commu-rel-name, .commu-rel-by { display: none; }
  .commu-rel-main { gap: 6px; }
  .commu-rel-v { margin-left: auto; }
}

/* ---- "similaires" section --------------------------------------------- */
.pages.related-films { padding: 20px; margin: 20px 0 0; background-color: rgba(30,30,30,.42); box-shadow: 0 0 20px rgba(0,0,0,.8); border-radius: 8px; }
.sect-t .st-capt { color: #fff; }

/* ---- responsive ------------------------------------------------------- */
@media screen and (max-width: 768px) {
  #player-container { border-radius: 6px; }
  #main-player { height: auto; aspect-ratio: 16 / 9; min-height: 200px; }
  #main-player #seriePlayers { position: absolute; top: 0; left: 0; height: 100%; }
  #player-options { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 0; padding: 5px; -webkit-overflow-scrolling: touch; }
  .player-option { padding: 8px 12px; min-width: 0; }
  .customDiv { height: 20px; }
  .customDiv + .overall_content { margin-top: 0; }
  .fmain { padding: 16px; }
  .fmain.fmain-bd { min-height: 0; background-position: center top; }
  .fmain.fmain-bd::before { box-shadow: inset 0 0 0 9999px rgba(29,29,29,.6); filter: blur(4px); }
  .fmain h1 { font-size: 24px; }
  .fmain h1 .tag { font-size: 18px; }
  .fmain .fdesc { font-size: 16px; line-height: 24px; }
  .fright { width: 100%; }
  .frate { padding-top: 0; }
  .button-container.dl-block { margin: 12px 0; flex-direction: column-reverse; align-items: stretch; }
  .button-container button.downloadContainer, .downloadContainer { text-align: center; font-size: 17px; }
  .report-btn-container { text-align: center; }
  .dl-options, .commu-rel-block { margin-left: 0; margin-right: 0; }
  .actor-card { width: 96px; height: 144px; }
  .trailer-btn { justify-content: center; }
  .trailer-box { width: 100%; }
  .trailer-frame { height: auto; padding-top: 56.25%; max-height: none; }
}
@media screen and (max-width: 480px) {
  .fmain .fdesc { font-size: 15px; line-height: 23px; margin: 12px 0; }
  .fmain h1 { font-size: 21px; }
}

/* the global EVOLOAD button:hover rule would paint the download button; keep the sweep (::before) instead */
.button-container button.downloadContainer:hover { background: transparent; color: #fff; }
