/* Direct embeds and native DLE favorites; no click-to-load overlay. */
.lf-poster-img {position:relative;}
.lf-poster-favorite {position:absolute;top:10px;right:10px;z-index:20;}
.lf-poster-favorite > a,.lf-poster-favorite > button {display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;border-radius:6px;background:rgba(0,0,0,.74);color:#fff;font-size:20px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2);}
.lf-poster-favorite > a:hover,.lf-poster-favorite > button:hover {background:#57a928;color:#fff;}
.lf-poster-favorite .fav-added {color:#79c142;}
.lf-visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.lf-player-stack {position:relative;width:100%;max-width:100%;min-width:0;margin-top:18px;border-radius:6px;overflow:hidden;background:#000;}
.lf-player-toolbar {background:#202020;color:#fff;height:42px;min-height:42px;gap:10px;padding-right:16px;}
.lf-player-heading {display:flex;align-items:center;height:42px;padding:0 20px;background:#202020;color:#fff;font-size:14px;line-height:18px;font-weight:700;}
.lf-player-toolbar > .lf-player-heading {background:#79c142;margin-right:auto;align-self:stretch;display:flex;align-items:center;}
.lf-player-section {width:100%;min-width:0;}
.lf-direct-video {position:relative;width:100%;height:auto;min-height:0;aspect-ratio:16/9;overflow:hidden;background:#000;}
.lf-direct-video > .player,.lf-direct-video video-player,.lf-direct-video > iframe {position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:100%;border:0;}
.light-off .lf-player-stack {z-index:102;}
@media(max-width:760px){.lf-player-toolbar {padding-right:10px;gap:6px;}.lf-player-heading {padding:0 12px;}.lf-player-toolbar .urur__complaint {gap:8px;font-size:12px;}}

.lf-cast-all {border:0;background:none;padding:0;text-transform:none;height:auto;text-align:left;font-size:15px;line-height:1.4;}
.lf-cast-all[hidden] {display:none;}
.lf-cast-list--collapsed > a:nth-of-type(n+6) {display:none;}

/* Halve fullstory horizontal padding; keep both embeds aligned in one column. */
.glv:has(.lf-full-modern) {--indent:10px;--indent-negative:-10px;padding-left:10px;padding-right:10px;}
.lf-full-modern .lf-detail-wrap {padding-left:9px;padding-right:9px;}
@media(max-width:760px){.lf-full-modern .lf-detail-wrap {padding-left:6px;padding-right:6px;}}

/* Keep mobile embeds tall enough for player controls and series menus. */
@media(max-width:760px){.lf-direct-video {min-height:250px;}}

/* Fullstory footer shares the description column and native DLE form. */
.lf-full-modern > .urur__player-bottom,
.lf-full-modern > .lf-comments-layout {width:calc(100% - 18px);max-width:1042px;margin:24px auto 0;padding:20px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.04);color:#111;}
.lf-full-modern > .lf-comments-layout {display:block;}
.lf-comments-layout > .urur__cols-left {padding:0;}
.lf-comments-layout .urur__comments {padding:0;}
.lf-comments-layout .oliima__title {font-size:18px;line-height:1.3;font-weight:500;color:#111;margin:0 0 8px;}
.lf-comments-layout .urur__comments-info {margin:0 0 18px;line-height:1.5;color:#777;}
.lf-comments-layout .urur__ac {margin:0;}
.lf-comments-layout .ac-form__header {display:flex;gap:12px;margin-bottom:12px;}
.lf-comments-layout .ac-form__input {min-width:0;height:42px;background:#fff;color:#111;border:1px solid #ddd;box-shadow:none;border-radius:5px;font-size:15px;padding:0 12px;}
.lf-comments-layout .ac-form__editor {margin-bottom:12px;}
.lf-comments-layout .ac-form__editor .bb-editor textarea {display:block;width:100%;height:130px;min-height:100px;resize:vertical;padding:12px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#111;line-height:1.5;font-size:15px;box-shadow:none;}
.lf-comments-layout .ac-form__bottom {gap:12px;}
.lf-comments-layout .ac-form__btn {height:42px;padding:0 28px;font-weight:700;border-radius:5px;}
.lf-comments-layout .urur__comments-list:not(.urur__comments-list--not-comments) {margin-top:24px;}
.lf-share-title {text-align:center;font-size:16px;line-height:1.3;font-weight:800;text-transform:uppercase;color:#111;margin:0 0 16px;}
.lf-share-title::after {content:'';display:block;width:56px;height:3px;margin:9px auto 0;border-radius:3px;background:#79c142;}
.lf-full-modern .ya-share2 {display:flex;justify-content:center;align-items:center;}
.lf-full-modern .ya-share2__list {display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;}
.lf-full-modern .ya-share2__item {margin:0!important;}
.lf-full-modern .ya-share2__badge {display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;border-radius:8px!important;box-shadow:none;}
.lf-full-modern .ya-share2__icon {width:26px!important;height:26px!important;background-size:contain!important;}
.lf-full-modern .ya-share2__link:focus-visible {outline:2px solid #57a928;outline-offset:3px;border-radius:8px;}
@media(max-width:760px){
    .lf-full-modern > .urur__player-bottom,.lf-full-modern > .lf-comments-layout {width:calc(100% - 12px);margin-top:18px;padding:14px;}
    .lf-comments-layout .ac-form__header {flex-direction:column;gap:10px;}
    .lf-comments-layout .ac-form__input {flex:none;width:100%;}
    .lf-comments-layout .ac-form__editor .bb-editor textarea {height:110px;}
    .lf-comments-layout .ac-form__btn {width:100%;}
    .lf-full-modern .ya-share2__list {gap:4px;}
    .lf-full-modern .ya-share2__badge {width:38px!important;height:38px!important;}
}


/* Shared horizontal rhythm across the site, increased by 30%. */
:root {--indent:13px;--indent-negative:-13px;}
.glv:has(.lf-full-modern) {--indent:6.5px;--indent-negative:-6.5px;padding-left:6.5px;padding-right:6.5px;}
.lf-full-modern {--lf-section-inset:max(5.85px,calc(32.5% - 340.925px));--lf-panel-padding:20px;}
.lf-full-modern .lf-detail-wrap {width:100%;max-width:none;padding-left:var(--lf-section-inset);padding-right:var(--lf-section-inset);}
.lf-full-modern > .urur__player-bottom,
.lf-full-modern > .lf-comments-layout {width:calc(100% - 2 * var(--lf-section-inset));max-width:none;padding-left:var(--lf-panel-padding);padding-right:var(--lf-panel-padding);}
.lf-full-modern .lf-description-box {padding-left:var(--lf-panel-padding);padding-right:var(--lf-panel-padding);}
.lf-full-modern > .urur__related {width:auto;margin-left:var(--indent-negative);margin-right:var(--indent-negative);padding-left:calc(var(--lf-section-inset) + var(--indent));padding-right:calc(var(--lf-section-inset) + var(--indent));}
.mobile-menu__header,.mobile-menu__content {padding-left:13px;padding-right:13px;}
.mobile-menu__content ul.zert__menu-hidden {width:calc(100% + 26px);margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px;}
/* The share panel retains full-size service buttons at 70% of its old height. */
.lf-full-modern > .urur__player-bottom {height:94.36px;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding-top:0;padding-bottom:0;}
.lf-full-modern .lf-share-title {margin:0;text-align:center;flex:0 0 auto;}
.lf-full-modern .ya-share2 {flex:0 0 auto;}
/* Platform colors extend across each native rating badge. */
.lf-full-modern .lf-kp-mini {background:linear-gradient(135deg,#ff6a00,#ff943d);border-color:#f06a0a;color:#17100a;}
.lf-full-modern .lf-imdb-mini {background:linear-gradient(135deg,#f4c400,#ffe17a);border-color:#d9b115;color:#111;}
.lf-full-modern .lf-kp-mini::before {background:rgba(255,255,255,.16);color:#fff;}
.lf-full-modern .lf-imdb-mini::before {background:transparent;color:#111;}
@media (min-width:761px) {
    .lf-full-modern .lf-watch-title {width:100%;max-width:none;margin:15.4px 0 0!important;padding-top:10.5px;padding-bottom:10.5px;}
    .lf-full-modern .lf-player-stack {margin-top:28px;}
}
@media (max-width:760px) {
    .lf-full-modern {--lf-section-inset:13.5px;--lf-panel-padding:14px;}
    .lf-full-modern > .urur__player-bottom {height:85.96px;gap:4px;}
}
/* Desktop player width and the previously approved 10% height reduction. */
@media (min-width:1024px) {
    .lf-full-modern .lf-player-stack {width:100%;margin-left:auto;margin-right:auto;}
    .lf-full-modern .lf-direct-video {aspect-ratio:160/81;}
}

/* One compact native complaint/share toolbar under the players. */
.lf-full-modern > .lf-player-actions {height:auto;min-height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-top:0;padding:12px 20px;border:0;border-radius:0;box-shadow:none;background:#fff;}
.lf-complaint-action {flex:0 0 auto;}
.lf-complaint-action > a {display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 10px;border:0;border-radius:6.4px;background:#202020;color:#fff;font-size:13px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;}
.lf-complaint-action > a:hover {background:#333;color:#fff;}
.lf-complaint-action > a:focus-visible {outline:2px solid #57a928;outline-offset:3px;}
.lf-complaint-action .fal {font-size:14px;}
.lf-share-actions {display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;min-width:0;}
.lf-player-actions .lf-share-title {margin:0;color:#666;font-size:13px;font-weight:600;line-height:1.2;text-transform:none;}
.lf-player-actions .lf-share-title::after {display:none;}
.lf-full-modern .ya-share2__list {gap:8px;}
.lf-full-modern .ya-share2__link {display:flex;align-items:center;justify-content:center;}
.lf-full-modern .ya-share2__badge {width:32px!important;height:32px!important;border-radius:6.4px!important;}
.lf-full-modern .ya-share2__icon {width:20.8px!important;height:20.8px!important;}
@media(max-width:760px) {
    .lf-full-modern > .lf-player-actions {min-height:46.4px;padding:8px 14px;gap:6px;flex-wrap:wrap;}
    .lf-player-actions .lf-share-title {display:none;}
    .lf-complaint-action > a {height:30.4px;padding:0 8px;gap:5px;font-size:12px;}
    .lf-complaint-action .fal {font-size:12px;}
    .lf-share-actions {gap:0;}
    .lf-full-modern .ya-share2__list {gap:4px;}
    .lf-full-modern .ya-share2__badge {width:30.4px!important;height:30.4px!important;}
}

@media(max-width:760px){
    .lf-full-modern .lf-player-stack {width:calc(100% + 2 * var(--indent));max-width:none;margin-left:calc(-1 * var(--indent));margin-right:calc(-1 * var(--indent));border-radius:0;}
    .lf-full-modern > .lf-player-actions {width:100%;padding-left:13px;padding-right:13px;}
}

/* One stable premiere row, before scripts and images finish loading. */
.lf-premieres-section {position:relative;}
.lf-premieres {position:relative;display:flex;flex-wrap:nowrap;gap:20px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.lf-premieres::-webkit-scrollbar {display:none;}
.lf-premieres > .bedrek {flex:0 0 calc((100% - 100px)/6);min-width:0;scroll-snap-align:start;}
.lf-premieres:focus-visible {outline:2px solid #79c142;outline-offset:3px;}
.lf-premieres.is-dragging {scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing;user-select:none;}
.lf-premieres.is-dragging a {cursor:grabbing;}
.lf-premiere-controls {position:absolute;right:0;top:0;display:flex;gap:5px;}
.lf-premiere-controls[hidden] {display:none;}
.lf-premiere-controls button {display:grid;place-items:center;width:30px;height:30px;padding:4px;background:transparent;color:#fff;border:0;border-radius:4px;box-shadow:none;cursor:pointer;}
.lf-premiere-controls button:hover {color:#79c142;}
.lf-premiere-controls button:focus-visible {outline:2px solid #79c142;outline-offset:2px;}
.lf-premiere-controls svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:1219px){.lf-premieres > .bedrek {flex-basis:calc((100% - 80px)/5);}}
@media(max-width:949px){.lf-premieres > .bedrek {flex-basis:calc((100% - 60px)/4);}}
@media(max-width:759px){.lf-premieres > .bedrek {flex-basis:calc((100% - 40px)/3);}}
@media(max-width:469px){.lf-premieres > .bedrek {flex-basis:calc((100% - 20px)/2);}}
/* The description label shares the first line instead of reserving a heading row. */
.lf-description-label {font-weight:500;text-transform:none;}
.lf-description-text > p:first-of-type {display:inline;margin-top:0;}
