/* Release quality is read from the post's dtquality taxonomy. */
.film24-quality,.film24-feature-quality{position:absolute;right:7px;top:7px;z-index:4;max-width:calc(100% - 62px);padding:5px 7px;border:1px solid #ffffff60;border-radius:8px;background:#248cb5ee;color:#fff;font-size:10px;font-weight:900;line-height:1.1;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 10px #0007;pointer-events:none}
.film24-poster:has(.film24-quality) .film24-year{top:35px}
.film24-feature-quality{top:44px;right:12px;max-width:42%;padding:5px 9px}
#playcontainer{position:relative}
#playcontainer:has(>.filmaon-preroll-preview){aspect-ratio:16/9;min-height:0;overflow:hidden}
.filmaon-preroll-preview{position:absolute;inset:0;z-index:99;display:grid;place-items:center;background-color:#101923;background-position:center;background-size:cover;border:1px solid #416279;border-radius:12px;overflow:hidden}
.filmaon-preroll-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.filmaon-preroll-preview::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0001,#0006);z-index:1}
.filmaon-preroll-preview[hidden],.filmaon-preroll[hidden]{display:none!important}
.filmaon-preroll{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#080d14;border:1px solid #416279;border-radius:12px;color:#fff}
.filmaon-preroll video{width:100%;height:100%;object-fit:contain;background:#080d14}
.filmaon-preroll video[hidden]{display:none}
.filmaon-preroll-controls{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 18px;background:linear-gradient(transparent,#080c16ef);font-size:12px;font-weight:800}
.filmaon-preroll-label{padding:5px 9px;border:1px solid #ffffff55;border-radius:6px;background:#141f31cc;letter-spacing:.1em}
.filmaon-preroll-start{position:relative;z-index:2;display:grid;place-items:center;width:76px;height:76px;border:2px solid #ffffffc9;border-radius:50%;padding:0;background:#0d1829b8;color:#fff;cursor:pointer;box-shadow:0 10px 36px #0008;transition:transform .18s,background .18s;touch-action:manipulation;pointer-events:auto!important;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.filmaon-preroll-start:hover,.filmaon-preroll-start:focus-visible{background:#42bde6;color:#09121a}
.filmaon-preroll-start:hover{transform:scale(1.08)}
.filmaon-preroll-play-icon{width:0;height:0;margin-left:6px;border-top:13px solid transparent;border-bottom:13px solid transparent;border-left:20px solid currentColor}
.filmaon-preroll-count{border-radius:6px;padding:6px 10px;background:#121d2bdc;color:#fff}
.filmaon-preroll-controls>.filmaon-preroll-cta{position:relative;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:55%;min-height:36px;padding:7px 13px;border:1px solid #68d4f4aa;border-radius:999px;background:linear-gradient(135deg,#174361ef,#102e4cef);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800;line-height:1.15;text-align:center;box-shadow:0 5px 16px #0009,inset 0 1px #ffffff24;cursor:pointer;touch-action:manipulation;pointer-events:auto!important;transition:background .18s,border-color .18s,transform .18s;-webkit-tap-highlight-color:transparent}
.filmaon-preroll-cta:hover,.filmaon-preroll-cta:focus-visible{background:linear-gradient(135deg,#23688b,#174363);border-color:#a5ebff;transform:translateY(-1px);outline:2px solid #54c8ef;outline-offset:2px}
.filmaon-preroll-cta img{width:18px;height:18px;object-fit:contain;flex:none}
.filmaon-preroll-cta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.film24-quality{font-size:9px;right:5px;top:5px;padding:4px 5px}.film24-poster:has(.film24-quality) .film24-year{top:30px}.filmaon-preroll-controls{padding:8px 10px;gap:5px;flex-wrap:wrap;font-size:10px}.filmaon-preroll-start{width:62px;height:62px}}
@media(max-width:600px){.filmaon-preroll-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:initial;gap:5px 6px;padding:7px 9px}.filmaon-preroll-controls>.filmaon-preroll-cta{grid-column:1/-1;grid-row:1;justify-self:center;width:auto;max-width:min(82%,240px);min-height:32px;padding:5px 12px;font-size:10px}.filmaon-preroll-cta img{width:16px;height:16px}.filmaon-preroll-label{grid-column:1;grid-row:2;justify-self:start}.filmaon-preroll-count{grid-column:2;grid-row:2;justify-self:end;margin-left:0}}
/* The native trailer option stays available to DooPlay's player events. */
body:is(.single-movies,.single-episodes) #playeroptionsul #player-option-trailer[hidden]{display:none!important}
body:is(.single-movies,.single-episodes) #playeroptions.player-options-modern #playeroptionsul:has(> #player-option-trailer){grid-template-columns:repeat(4,minmax(0,1fr))!important}
body:is(.single-movies,.single-episodes) .player-bar-modern .film24-trailer-open{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:32px;cursor:pointer;font-family:inherit;font-weight:800!important;line-height:1.2}
body:is(.single-movies,.single-episodes) .player-bar-modern .film24-trailer-open i{font-size:15px;color:#73d6f3}
body:is(.single-movies,.single-episodes) .player-bar-modern .film24-trailer-open:hover{border-color:#74d8f5!important;background:#315a70!important;color:#fff!important}
body.single-movies .film24-favorite-cta>a{min-height:33px;gap:5px;padding:5px 9px;border-radius:8px}
body.single-movies .film24-favorite-cta>a::after{content:"Ruaj";font-size:12px}
body.single-movies .film24-favorite-cta>a.in-list::after{content:"Ruajtur"}
@media(max-width:700px){
 body:is(.single-movies,.single-episodes) #playeroptions.player-options-modern #playeroptionsul:has(> #player-option-trailer){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.single-movies .film24-movie-head{padding-bottom:9px}
 body.single-movies .film24-movie-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px!important;margin-top:9px}
 body.single-movies .film24-favorite-cta>a{min-height:34px;padding:5px 8px}
 body.single-movies .film24-favorite-cta>a::after{font-size:11px}
 body.single-movies .player-bar-modern{gap:5px!important;padding:8px!important}
 body.single-movies .player-bar-modern .player-bar-title{font-size:12px!important;white-space:nowrap}
 body.single-movies .player-bar-modern .film24-trailer-open{padding:6px 8px!important;min-height:32px}
 body.single-movies .player-bar-modern .player-bar-report{margin-left:auto!important;padding:6px 8px!important}
}

/* V38 Android WebView pre-roll gate: the underlying embedded player must not
   receive pointer/touch events until the pre-roll gate has been dismissed. */
#playcontainer.filmaon-preroll-gated{isolation:isolate!important}
#playcontainer.filmaon-preroll-gated > :not(.filmaon-preroll-preview):not(.filmaon-preroll),
#playcontainer.filmaon-preroll-gated iframe,
#playcontainer.filmaon-preroll-gated object,
#playcontainer.filmaon-preroll-gated embed{
  pointer-events:none!important;
}
#playcontainer.filmaon-preroll-gated > .filmaon-preroll-preview{
  pointer-events:auto!important;
  z-index:2147483646!important;
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
  isolation:isolate!important;
}
#playcontainer.filmaon-preroll-gated > .filmaon-preroll{
  pointer-events:auto!important;
  z-index:2147483646!important;
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
}
#playcontainer.filmaon-preroll-gated .filmaon-preroll-start{
  pointer-events:auto!important;
  touch-action:none!important;
  z-index:2147483647!important;
}
